Stream: implementers
Topic: Get patient data (AllergyIntolerance) on eClinicalWorks
Leonard Barbu (Jun 26 2020 at 13:29):
Hello,
I am trying to retrieve patient data from eClinicalWorks.
I can get the Bearer access token successfully after 2 factor authentication, but when I made the actual request for every scope (Allergy, Procedure, etc.), I am getting 500 internal error.
Someone else faced this?
GET https://fhir.healow.com/FHIRServer/fhir/BJFCBD/AllergyIntolerance?patient=2548efa3-7a1d-2c71-c1b1-315a48167fbf HTTP/1.1
User-Agent: .NET FhirClient for FHIR 1.0.2
Authorization: Bearer bg9K44yOK4KU_s1m5ruVynZ(....)
Accept: application/json+fhir
Content-Type: application/json+fhir; charset=utf-8
Host: fhir.healow.com
Request-Id: |7117e5fa212c8d48b935649c6057e81c.895750d13439264a.
traceparent: 00-7117e5fa212c8d48b935649c6057e81c-895750d13439264a-00
HTTP/1.1 500
X-Powered-By: HAPI FHIR 2.5 REST Server (FHIR Server; FHIR 3.0.1/DSTU3)
Content-Type: application/json+fhir;charset=UTF-8
Transfer-Encoding: chunked
Vary: Accept-Encoding
Date: Fri, 26 Jun 2020 13:22:17 GMT
Set-Cookie: FHIR-Healow=FHIR-Healow-App16; Path=/; Secure
Connection: Keep-alive
Via: 1.1 ID-0314217224164676 uproxy-12
a3
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "processing",
"diagnostics": "Internal Error"
}
]
}
0
Nathan Hall (Jun 26 2020 at 14:39):
I wouldn't recommend putting your authorization token in the chat. I haven't used eClinical but it's a 500 error, suggesting you aren't doing anything wrong. The only thing II can perhaps suggest is make your accept
and content-type
headers "application/fhir+json" . The response header says they use STU3 and no dstu2.
Last updated: Apr 12 2022 at 19:14 UTC