Skip to Main Content

R4 APIs (Millennium)

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

403ing GET /Binary despite correct scope

user-d5sxcMay 18 2023

Hi, I can't seem to get around a 403 when making a request in the sandbox to a binary URL that's pulled from an /Encounter endpoint response. More specifically, I get the Encounter response, look at the Encounter resource, and pull off the URL from resource.content[0].attachment.url and make a request to it

However, no matter what I try I always get the error

HttpError: 403 Forbidden
URL: https://fhir-ehr-code.cerner.com/r4/{id}/Binary/R-198702576

{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "forbidden",
"diagnostics": "Bearer realm=\"fhir-ehr-code.cerner.com\", error=\"insufficient_scope\"",
"expression": [
"http.Authorization"
]
}
]
}

My scope includes user/Binary.read (we're a provider-app) but also fails even when I include patient/Binary.read or system/Binary.read

All other requests work.

Any tips?

Comments
Post Details
Added on May 18 2023
2 comments
489 views