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.

Document Reference and Binary - 403 error

Ebad MobalighAug 29 2025 — edited 5 days ago

Workflow or API calls:

The scope registered in the App is the same Application scope

We are able to get the JSON response through the Document reference API

however, if we tried to access the attachment through the Binary Resource - DocumentReference.content.attachment.url

content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://fhir-myrecord.cerner.com/r4/XXXXX /Binary/XR-1783364702",
"title": "Preprocedure Checklist Short Form",
"creation": "2025-06-19T16:43:00.000Z"

"url": "https://fhir-myrecord.cerner.com/r4/XXXXXX/Binary/XR-1783542608",

We get a 403 error when we access the URL for the document

Please let us know if we are are using the right approach to get the document or if it is scope issue how do we resolve this ?

Background Information:

Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:

Are you an OPN Member? No
Have you signed up to be in the Healthcare Developer Track? No
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? No

Are you developing on behalf of an Oracle Health client?
If so, which client:

Application's Client ID and App ID, if relevant:

Expected Result:

Expected to get the content of the document

Actual Result:

X-Request-Id / Cerner-Correlation-Id / opc-request-id:
Date/time of the example:

We get a 403 error when we access the URL for the document

Date: Fri, 29 Aug 2025 15:07:29 GMT
opc-request-id: /8E3E782E84A5E931BE04F57ACF0F9932/681E367A73D3EDF7557D512BC71E2101

Response Body:
{"code":403,"message":"code=\"urn:cerner:error:oauth2:resource-access:insufficient-scopes\", error=\"insufficient_scope\", subcode=\"no_scope_for_resource_path\""}

Comments
Post Details
Added on Aug 29 2025
1 comment
22 views