This resource contains recorded details about a patient’s allergy or intolerance to medication, food, materials, or other substances.
AllergyIntolerance provides a holistic view of a documented allergy so that you know whether the allergy is ongoing or how severely the patient reacts. A documented allergy may be active or resolved, and the patient’s reaction may be anywhere from moderate to severe.
You can review or retrieve allergy information.
_search
Query for a patient's allergy details from one organization. Review tips for allergy searches.
cURL request example
Request Body Schema
- clinical-statusArray of string
active | inactive | resolved
- patientArray of string
Who the sensitivity is for
- patient.identifierArray of string
One or more external identifiers for the patient
- resourceTyperequired, string
Identifies the type of the resource
Value:Bundle
- typerequired, string
Identifies this bundle as a response to a search
Value:searchset
- totalrequired, number
The total number of matches
- entryArray of AllergyIntolerance or Other
A resource matching the search criteria or related to a matching resource
- resourcerequired, object
A matching AllergyIntolerance resource that corresponds to the search parameters
- resourceTyperequired, string
Identifies the type of the resource
Value:AllergyIntolerance
- coderequired, object
Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., "Latex"), an allergy or intolerance condition (e.g., "Latex allergy"), or a negated/excluded code for a specific substance or class (e.g., "No latex allergy") or a general or categorical negated statement (e.g., "No known allergy", "No known drug allergies"). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- patientrequired, object
The patient who has the allergy or intolerance.
Must be a resource of type
Patient
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- idstring
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
- clinicalStatusstring
The clinical status of the allergy or intolerance.
Possible Values:active
,inactive
,resolved
- typestring
Identification of the underlying physiological mechanism for the reaction risk.
Possible Values:allergy
,intolerance
- _typeobject
This element contains extensions for
type
. Depending on the extensions present it could be used in place oftype
or contain additional information abouttype
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- categoryArray of string
Category of the identified substance.
Possible Values:food
,medication
,environment
,biologic
- criticalitystring
Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.
Possible Values:low
,high
,unable-to-assess
- encounterobject
The encounter when the allergy or intolerance was asserted.
Must be a resource of type
Encounter
.- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- asserterobject
The source of the information about the allergy that is recorded.
Must reference one of the following types of resources:
RelatedPerson
PractitionerRole
Practitioner
Patient
- referencestring
A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with
#
and refers to a contained resource.
- noteArray of object
Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.
- textrequired, string
The text of the annotation in markdown format.
- reactionArray of object
Details about each adverse reaction event linked to exposure to the identified substance.
- manifestationrequired, Array of object
Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.
- codingArray of object
A reference to a code defined by a terminology system.
- systemstring
The identification of the code system that defines the meaning of the symbol in the code.
- codestring
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
- textstring
A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
- descriptionstring
Text description about the reaction as a whole, including details of the manifestation if required.
- severitystring
Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.
Possible Values:mild
,moderate
,severe (of event as a whole)
- _severityobject
This element contains extensions for
severity
. Depending on the extensions present it could be used in place ofseverity
or contain additional information aboutseverity
. See theextension
element for more details on the possible extensions being sent.- extensionArray of OriginalText or Other
May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
- urlrequired, string
Source of the definition for the extension code - a logical name or a URL.
Value:http://hl7.org/fhir/StructureDefinition/originalText
- valueStringrequired, string
The original text
A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user.
See http://hl7.org/fhir/StructureDefinition/originalText for more information
- onsetDateTimestring
Estimated or actual date, date-time, or age when allergy or intolerance was identified.
- searchrequired, object
Information about the search process that lead to the creation of this entry.
- moderequired, string
Identifies the AllergyIntolerance as matching the search parameters
Value:match
Response to a AllergyIntolerance search operation