Workflow or API calls:
Using Oracle Cerner FHIR sandbox for testing out FHIR R4 millenium APIs. Was trying to create observation resource after creating related Patient and Practitioner resources. But getting 422 response code with response saying Unprocessable entity.
X-Request-Id :- /5D85A10BF5728D25E116BD891C0755F0+SfCg_WyvO
opc-request-id:- /5D85A10BF5728D25E116BD891C0755F0/3005F274245F0EC7F61B9CD7B4EE28FE
Request Body :-
{
"resourceType": "Observation",
"meta": {
"profile": [
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation"
]
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "Vital Signs"
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8310-5",
"display": "Body temperature"
}
]
},
"subject": {
"reference": "Patient/12964640"
},
"effectiveDateTime": "2024-05-27T16:15:32Z",
"performer": [
{
"reference": "Practitioner/12965140"
}
],
"valueQuantity": {
"value": 38.38,
"code": "Cel",
"system": "http://unitsofmeasure.org",
"unit": "degC"
}
}
Response Body :-
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Unprocessable entity"
}
}
]
}