Workflow or API calls:
Have setup a SMART on FHIR app on the developer console. Launched this with one of the test users. Auth flow is successful, retrieving an access token and other launch data including patient id, clinician id and encounter id.
I can successfully get Patient data using the Patient/{id}, but when I attempt to get the encounter information using the Encounter/{id} endpoint I receive 403 error.
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:
Not yet
Expected Result:
Retrieve the Encounter associated with the patient that triggered the SMART on FHIR app launch.
Actual Result:
"{"code":403,"message":"code="urn:cerner:error:oauth2:resource-access:insufficient-scopes", error="insufficient_scope", subcode="no_scope_for_resource_path""}"