Workflow or API calls:
Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.
I am getting invalid request error while trying to create an Encounter using public sandbox with my client credentials. I am passing the following payload
{"resourceType":"Encounter","status":"in-progress","subject":{"reference":"Patient/12998304"},"participant":[{"individual":{"reference":"Practitioner/12999400"},"type":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"ATND"}]}]}],"period":{"start":"2024-09-24T12:30:00Z"},"priority":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActPriority","code":"A"}]},"type":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0004","code":"O"}]}]}
This I am trying with keeping minimal properties in my payload and after passing such payload, I am getting this error.
I created my own patient and practitioner
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"Invalid request"}}]}
Please help me identify what am I doing wrong in 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? Yes
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: 4df2494c-7066-4723-ba9e-c538cc054ea0
Expected Result:
Actual Result:
X-Request-Id: 54534c53-76c6-4c57-9bec-770934e0f2be