AllergyIntolerance

Work with FHIR R4 4.0.1 AllergyIntolerance resources.

Choose an operation for this resource:

The diagram summarizes AllergyIntolerance requests and responses. See Supported FHIR REST Interactions for the shared interaction model.


A FHIR client sends requests to the DDFS R4 AllergyIntolerance API. Search returns a Bundle; create, read and update return a resource; vread returns one historical version; delete returns HTTP 204 without a body. Custom operations and FHIR-formatted errors can return OperationOutcome.

FHIR R4 definition: https://hl7.org/fhir/R4/allergyintolerance.html. See interaction response codes and common error responses.

Use /api/fhir/r4/AllergyIntolerance for FHIR R4 4.0.1 allergy and intolerance records. FHIR R6 AllergyIntolerance is not supported.

Interactions

AllergyIntolerance capabilitySupport or requirement
Conditional createNot supported.
Conditional updateNot supported.
Transaction bundlesNot supported.

Create example

{
  "resourceType": "AllergyIntolerance",
  "clinicalStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "active"}]},
  "verificationStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", "code": "confirmed"}]},
  "category": ["medication"],
  "code": {"coding": [{"system": "http://snomed.info/sct", "code": "91936005"}]},
  "patient": {"reference": "Patient/patient-438"}
}

Validation and permissions

For shared validation-error responses, see OperationOutcome errors.

AllergyIntolerance detailRequirement or behavior
Required contentSupply a Patient reference and valid R4 content.
clinicalStatusclinicalStatus must be present unless verificationStatus is entered-in-error, in which case clinicalStatus must be absent.
Choice elementsRequired status bindings and the single onset choice apply.
reactionEach reaction requires at least one manifestation.

Limitations

AllergyIntolerance detailRequirement or behavior
LimitationsConditional create, conditional update, and transactions are not supported.
Resource ruleThis resource does not establish US Core certification.