Skip to content

Uploading QRDA Cat I

Michael O'Keefe edited this page Jun 17, 2014 · 2 revisions

popHealth allows for the upload of QRDA Category I files through a HTTP POST. The endpoint for this request is at /api/patients. It expects the QRDA Category I document to be the POST body. The endpoint is protected by HTTP Basic Authentication.

As an example, here is how you could upload a QRDA Category I file using cURL:

curl -X POST -u USERNAME:PASSWORD -H "Content-Type: text/xml" -d @QRDA_FILE.xml http://localhost:3000/api/patients

In this example, replace USERNAME and PASSWORD with the username and password you have created in your instance of popHealth. QRDA_FILE should be replaced with the path to the QRDA Category I file that you want to upload. You may also change the host name and port in the URL provided if you are uploading to a host that is different from the machine you are using.

Clone this wiki locally