Observations POST , "Unprocessable entity" for Blood glucose

75 views
Skip to first unread message
Assigned to esmeralda...@gmail.com by me

Simun Romic

unread,
Nov 9, 2021, 8:12:33 AM11/9/21
to Cerner FHIR Developers
Could you help me out with this request - Blood glucose observation.

I tried to send a blood glucose with a code proposed for BG - 2339-0  but getting the Unprocessed entity response back - I'm trying in the sandbox env.

Here is a payload I'm trying with:

{
    "category":
    [
        {
            "coding":
            [
                {
                    "code": "vital-signs",
                    "display": "Vital Signs",
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category"
                }
            ],
            "text": "Vital Signs"
        }
    ],
    "code":
    {
        "coding":
        [
            {
                "code": "2339-0",
                "display": "Glucose [Mass/volume] in Blood",
                "system": "http://loinc.org"
            }
        ]
    },
    "effectiveDateTime": "2021-04-15T19:22:00.000Z",
    "issued": "2021-04-15T19:22:40.000Z",

    "resourceType": "Observation",
    "status": "final",
    "subject":
    {
        "reference": "Patient/
12724065"
    },
    "valueQuantity":
    {
        "code": "mg/dl",
        "system": "http://unitsofmeasure.org",
        "unit": "mg/dl",
        "value": 215
    }
}


Request id is: 8e351ed4-598a-4640-ad3d-eb4118e6b1b6

Thanks,
Simun

Esmeralda Bolanos (Cerner)

unread,
Nov 17, 2021, 2:38:27 PM11/17/21
to Cerner FHIR Developers
Greetings,

The LOINC code used in the request, 2339-0, falls under Observation Laboratory instead of Vital Signs. You would need to replace the category in the request to be Laboratory.

Thank you,
   Esme (Cerner)

Simun Romic

unread,
Nov 18, 2021, 7:26:17 AM11/18/21
to Cerner FHIR Developers
Hey Esme,

Thanks!

Yes, already figured that out.

Thanks and kind regards,
Simun
Reply all
Reply to author
Forward
0 new messages