Skip to Main Content

SMART Authorization

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.

API calls to create condition fail with 403

Leopold SpielerApr 8 2025

Workflow or API calls:

We are trying to create conditions for patients in a SMART app.

Background Information:

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? No
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: LifeBridg Health

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

Application ID

0151c58b-0005-4fe3-843d-187f58d5c746

Client ID

497fd045-84a1-4340-b103-d5493ba4d82c

Expected Result:

We expect to receive a successful response from the api. There are no syntax/format issues as we tried making the call when launched through this testing launcher.

The scopes we pass are:
launch user/*.cruds patient/*.cruds openid profile fhirUser patient/*.* user/*.* offline_access launch/patient launch/encounter

Actual Result:
           
POST https://fhir-ehr.sandboxcerner.com/r4/dacc6494-e336-45ad-8729-b789ff8663c6/Condition 403 (Forbidden)

index-Ca0tsZeM.js:121 Error writing diagnoses to Cerner encounter: HttpError: 403 Forbidden
URL: https://fhir-ehr.sandboxcerner.com/r4/dacc6494-e336-45ad-8729-b789ff8663c6/Condition
{
   "code": 403,
   "message": "code=\"urn:cerner:error:oauth2:resource-access:insufficient-scopes\", error=\"insufficient_scope\", subcode=\"no_scope_for_resource_path\""
}
   at a8 (index-Ca0tsZeM.js:87:5018)
   at async P (index-Ca0tsZeM.js:121:12855)
This post has been answered by Alex Duhanov-Oracle on Apr 8 2025
Jump to Answer
Comments