Iam going to fetch the patients who are all having appointments for the selected date using authentication cerner sandbox.
After successfull authentication i can able to fetch the appointments for the selected dates by using the below URL with auth token,
https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Appointment .
After getting the patient Ids from the appointment iam going to fetch the patient information like Temperature,Weight, height, systolic BP,Glucose Fasting,RBC,WBC Intra Ocular Pressure left and right, Visual acuity left & right and glaucoma by using the below following Condition & Observation resources with authe token,
For Observation with AuthToken, https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Observation?patient=7586007
For Condition with AuthToken, https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Condition?patient=7586007
But i got error for both Condition & Observation resources,
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Observation?patient=758600'
Observation resource: X-Request-Id: ea7db0f2-679f-4acd-82f3-8452cb714477
Condition resource: X-Request-Id: ffe48675-7cef-4511-83fb-646d2f270bc5
Can anybody please help what am i doing wrong.
Also please provide some practitioner IDs for testing the appointment schedule in cerner secure sandbox.
Thanks,
Thiyagu.
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/ede39703-0b46-4a39-8dc8-0785f60f9059o%40googlegroups.com.
Hi Max, Thanks for the reply. Actually i can able to get the auth token successfully. After that iam requesting appointments for selected dates by using below URL and get successfull responses. https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Appointment With that response i take the patientID and request for patient basic information using the below URL. I got successful response https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/ After that i request for observation resource for getting patient blood pressure,.. etc using below URL https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Observation?patient=" + PatientID with auth token but i got error as like below NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Observation?patient=758600' I tried in many ways but i could not able to move a bit. I will try with method 'OPTIONS' and let you know. Iam authenticating using FHIR.oauth2.authorize({}) and getting the auth token using FHIR.oauth2.ready(function(smart) { }); After that iam requesting the appointments, patients, condition, Observation using ajax method as like below, $.ajax({ type: "GET", headers: { Accept: "application/json+fhir", "Content-Type": "application/json+fhir", "Authorization":"Bearer " + authToken }, url: "https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Observation?patient=" + PatientID, dataType: "json", async: false, success: function (response) { } }); I will try method OPTIONS and let you know. Please suggest me what am i wrong. Thanks, Thiyagu.
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/41fd2972-81e4-4b3c-8c72-8b2285b95693o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/e478fd16-d44b-41fb-b65d-b4f8ca593fd6o%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/47e3d3be-97f5-4478-aec4-319bf866c262o%40googlegroups.com.