Issue in AllergyIntolerance POST API

20 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

mksen...@gmail.com

unread,
Jan 18, 2022, 3:30:55 AM1/18/22
to Cerner FHIR Developers
Hi,

I am try to post AllergyIntolerance with the following request.
{
    "resourceType": "AllergyIntolerance",
    "recordedDate": "2017-02-28T15:03:00-06:00",
    "patient": {
        "reference": "Patient/25628860"
    },
    "substance": {
        "text": "test"
    },
    "status": "active",
    "criticality": "CRITH",
    "type": "allergy",
    "category": "medication",
    "note": {
        "text": "sample note"
    }
}

But I am getting 422 Unprocessable entity.

My X-Request-Id
7da93899-19f3-4eff-8798-747240b2db8f
Please let me know if I am missing anything.

Thanks,
Senthil

Fenil Desani (Cerner)

unread,
Jan 18, 2022, 11:41:15 AM1/18/22
to Cerner FHIR Developers
Hello,

The criticality provided is incorrect.

Thanks,
Fenil

Reply all
Reply to author
Forward
0 new messages