Workflow or API calls:
I am following this documentation to get Binary data, however when I use GET request for this URL
https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XR-197198634
I am getting the following response:
{
"resourceType":"OperationOutcome",
"issue":[
{
"severity":"fatal",
"code":"exception",
"details":{
"text":"Internal service error from resource store"
}
}]
}
Here is the header I am passing through:
{
'Authorization': "Bearer " + access_token,
'Accept': "application/pdf"
}
I have passed the following scopes as well when generating my access token:
system/Observation.read system/Patient.read system/Binary.read system/DocumentReference.read system/DiagnosticReport.read system/Communication.read
X-Request-Id = 410e0670-8212-428c-bce8-f55c5f980088+TodH_5Z9N
Could you please look into the issue, and also I wanted to know if are there more API from which I can get PDF documents?