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.

422 Unprocessable Entity when POSTing to ChargeItem/$create in the secure sandbox

user-03vymSep 6 2023 — edited Sep 7 2023

Workflow or API calls:

Reminder: If this is a client domain—not the public sandbox—do not include API request data.

I'm using the secure sandbox: https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d

and I'm trying to create a ChargeItem following the example from here: http://fhir.cerner.com/millennium/r4/financial/general/charge-item/#operation-charge-item-create

My fhir+json message that nearly verbatim to the example, here's output of a diff:

125c125
<     "occurrenceDateTime": "2021-08-02T21:53:34Z",
---
>     "occurrenceDateTime": "2021-08-02T21:53:34-06:00",

But I'm running into a validation error:

422 Unprocessable Entity: {"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"business-rule","details":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/operation-outcome","code":"MSG_PARAM_INVALID","display":"Parameter 'Parameters.parameter[0].resource.extension(https://fhir-ehr.cerner.com/r4/StructureDefinition/revenue-code).extension(code)' content is invalid"}],"text":"The value for Parameters.parameter[0].resource.extension(https://fhir-ehr.cerner.com/r4/StructureDefinition/revenue-code).extension(code) is not supported."},"diagnostics":"Parameters.parameter[0].resource.extension(https://fhir-ehr.cerner.com/r4/StructureDefinition/revenue-code).extension(code): cannot be blank","expression":["Parameters.parameter[0].resource.extension(https://fhir-ehr.cerner.com/r4/StructureDefinition/revenue-code).extension(code)"]}]}

This is claiming that the Parameters.parameter[0].resource.extension(https://fhir-ehr.cerner.com/r4/StructureDefinition/revenue-code).extension(code) is blank, but it is not. I've attached the entire request for verification.

chargeitem.log

Expected Result:

201 Created with the charge item url in the location header

Actual Result:

422 Unprocessable Entity

X-Request-Id / Cerner-Correlation-Id: 18222bab-c17d-4847-adc8-51399eb9d25f+RjSY_XnnJ

Has anyone else run into this issue?

Comments
Post Details
Added on Sep 6 2023
3 comments
487 views