Hi,
I am an Australian Cerner client developer and am having some issues with reading MedicationRequest, DocumentReference, and AllergyIntolerance (and possibly others). Note that I can post successfully, but reading causes these errors.
None of these documents, medications, or allergies were created via FHIR, all are existing records against the patient created on the powerchart frontend.
I am wondering if there is some issue with the mapping of status codes/fields to FHIR resources for my site's domain, as the existing records do have status codes. Are you please able to help.
Workflow or API calls:
GET https://fhir-ehr.au.cerner.com/r4/[tenant-id]/MedicationRequest?patient=[patient-id]
Headers
- Authorization: Bearer [token]
- Accept: application/fhir+json
Expected Result:
A resource bundle is returned.
Actual Result:
MedicationRequest
x-request-id: bbe8af3a-c51c-48b0-5d34-acbcc4096b06+jq5N_OuI5
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "fatal",
"code": "required",
"details": {
"text": "MedicationRequest 2098736593 is missing required fields. [MedicationRequest.status]"
},
"expression": [
"MedicationRequest.status"
]
}
]
}
DocumentReference
x-request-id: 4dc3f6aa-a896-bea5-2bf4-8dc5efb2915a+121S_TFvs
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "fatal",
"code": "required",
"details": {
"text": "DocumentReference 1713749917 is missing required fields. [DocumentReference.status]"
},
"expression": [
"DocumentReference.status"
]
}
]
}
AllergyIntolerance
x-request-id: f596cff0-5653-e718-a427-ae1546c0cfdb+vQI8_OBmN
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "fatal",
"code": "invariant",
"details": {
"text": "AllergyIntolerance 9154068 fails to meet constraint."
},
"diagnostics": "ait-1: verificationStatus='entered-in-error' or clinicalStatus.exists()",
"expression": [
"AllergyIntolerance.verificationStatus",
"AllergyIntolerance.clinicalStatus"
]
}
]
}