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?