Create Allergy with reaction thows 500 internal server error

51 views
Skip to first unread message

Shankar Ganesh Jayaraman

unread,
Jan 16, 2020, 12:55:41 PM1/16/20
to Cerner FHIR Developers
x-request-id →6122388691536469656925ddc0ef183d

Request Payload:
{
  "resourceType": "AllergyIntolerance",
  "clinicalStatus": {
    "coding": [
      {
        "code": "active"
      }
    ]
  },
  "verificationStatus": {
    "coding": [
      {
        "code": "confirmed"
      }
    ]
  },
  "type": "allergy",
  "category": [
    "medication"
  ],
  "criticality": "high",
  "code": {
    "coding": [
      {
        "code": "723"
      }
    ],
    "text": "amoxicillin"
  },
  "patient": {
    "reference": "Patient/5938008"
  },
  "encounter": {
    "reference": "Encounter/4749909"
  },
  "onsetDateTime": "2020-01-11T05:00:00.000Z",
  "note": [
    {
      "authorReference": {
        "reference": "Practitioner/2578010"
      },
      "text": "Updated with additional details provided by patient."
    }
  ],
  "reaction": [
    {
      "manifestation": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "271757001"
            }
          ],
          "text": "Papular eruption"
        }
      ],
      "severity": "severe"
    }
  ]
}


Joshua Fisk (Cerner)

unread,
Jan 16, 2020, 3:05:50 PM1/16/20
to Cerner FHIR Developers
Hello Ganesh,

It looks like something has changed in our configuration for reaction severity. We will work to get that re-enabled. In the meantime, by removing just the severity field you would be able to create a successful allergy.

However, something else is going on here too. This patient already has this allergy code (https://fhir-open.sandboxcerner.com/r4/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/AllergyIntolerance/8339739). So if you were to try to post this body as is after removing severity, but without changing the allergy code then it would result in a 409 Conflict error. By supplying a new code this will work.

Shankar Ganesh Jayaraman

unread,
Feb 25, 2020, 2:52:58 AM2/25/20
to Cerner FHIR Developers
Hi Joshua,

Is there a timeline for enabling the reaction.severity field to create Allergy?

Joshua Fisk (Cerner)

unread,
Feb 26, 2020, 1:54:15 PM2/26/20
to Cerner FHIR Developers
We are currently looking into what it will take to get this enabled in our sandbox. Unfortunately we do not comment on timelines in this group.
Reply all
Reply to author
Forward
0 new messages