CCDA R2 validator -CORS issue

106 views
Skip to first unread message

Radhika Thota

unread,
Dec 8, 2022, 12:20:16 AM12/8/22
to Edge Test Tool (ETT)
Hello, 
 
 we are using validator tool in our ASP.NET web application (ajax call), since 2017 awith below request URL and payload

 $.ajax({
                url: 'https://ett.healthit.gov/ett/api/ccdar2/?validationObjective=C-CDA_IG_Plus_Vocab&referenceFileName=Readme.txt',
                type: 'POST',
                data: formData,
                contentType: false,
                processData: false,
                async: true,
                success: function (result) {
                    fnPassValuesToAPI_success(result);
                },
                error: function (msg) {
                    alert("Faild please try upload again" + msg.responseText); 
                }
            });


From past few months , we are unable to get validation data and getting error when tried to hit the url. As per our investigation , found CORS policy issue
 
 'Access to XMLHttpRequest at 'https://ett.healthit.gov/ett/api/ccdar3/?validationObjective=C-CDA_IG_Plus_Vocab&referenceFileName=Readme.txt' from origin 'http://server' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
 
 and from IE , receiving 'Access denied' issue
 
 please guide to use validator tool in our application as part of our EHR.
 Any help in this regard is very much appreciated.

RADHIKA THOTA

Dan Brown SITE

unread,
Dec 8, 2022, 1:27:26 PM12/8/22
to Edge Test Tool (ETT)
We have a created a ticket and will look into this.

Have you tried the SITE API? That is what ETT calls, so it's a bit more direct.
https://ccda.healthit.gov/referenceccdaservice/

*form-data*
ccdaFile: <file>
referenceFileName: readme.txt
validationObjective: C-CDA_IG_Plus_Vocab

If you want to use the cures update, add:
curesUpdate: true

Or if you want SVAP 2022, add:
svap2022: true

Thanks,
Dan

Radhika Thota

unread,
Dec 10, 2022, 1:15:02 AM12/10/22
to Edge Test Tool (ETT)
still facing  issue even with API:

*form-data*
ccdaFile: <file>
referenceFileName: readme.txt
validationObjective: C-CDA_IG_Plus_Vocab

  Access to XMLHttpRequest at 'https://ccda.healthit.gov/referenceccdaservice/' from origin 'https://servername' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Dan Brown SITE

unread,
Dec 12, 2022, 2:54:21 PM12/12/22
to Edge Test Tool (ETT)
The API is publically accessible. We have tested it from multiple locations and applications w/o issue.
Have you tried testing it in postman, directly?

Mat Davis

unread,
Oct 3, 2023, 9:24:17 PM10/3/23
to Edge Test Tool (ETT)
Thank you very much for your reply regarding the Body type (form-data) and other custom key/value pairs for testing with the referenceccdaservice endpoint

Is there any other source of documentation I can reference by chance?

If not, then that's fine. What you have provided has allowed me to achieve success.

Thanks - Mat

Dan Brown SITE

unread,
Oct 5, 2023, 12:24:21 PM10/5/23
to Edge Test Tool (ETT)
You're welcome.

We have API documentation via swagger here:

And general documentation here in the readme:

Mat Davis

unread,
Oct 7, 2023, 10:15:44 PM10/7/23
to Edge Test Tool (ETT)
This is super helpful and impressive Dan. Much appreciated. 

Thanks - Mat 

Radhika Thota

unread,
Jan 3, 2025, 5:06:04 AM1/3/25
to Edge Test Tool (ETT)
We are facing issue like :The remote server returned an error: (500) Internal Server Error. When we try to hit the url, which previously it was working 

Radhika Thota

unread,
Jan 3, 2025, 5:20:31 AM1/3/25
to Edge Test Tool (ETT)

Kim Poletti

unread,
Jan 3, 2025, 2:29:07 PM1/3/25
to Edge Test Tool (ETT)
Hello Radhika,

Please open a new issue in Google Groups for this error, as this issue was closed in 2023.

Thank you,
Kim

Reply all
Reply to author
Forward
0 new messages