> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Allergy Intolerance

> Schema documentation for the Allergy Intolerance table in the Metriport data model

An allergy/intolerance record represents a patient's allergy or intolerance to a substance. This includes details about the allergy/intolerance, its clinical status, and any reactions that have occurred.

**Reference Table:**

The `allergy_intolerance_references` table contains normalized references from the allergy/intolerance to other entities. It supports the following reference properties:

* **patient** (required): links to the [patient](/medical-api/handling-data/schema-v000/patient) who has the allergy/intolerance
* **encounter**: links to the [encounter](/medical-api/handling-data/schema-v000/encounter) where the allergy/intolerance was recorded
* **recorder**: links to the [practitioner](/medical-api/handling-data/schema-v000/practitioner) who recorded the allergy/intolerance
* **asserter**: links to the [practitioner](/medical-api/handling-data/schema-v000/practitioner) or [patient](/medical-api/handling-data/schema-v000/patient) who asserted the allergy/intolerance

For detailed information about reference table structure and indexing, see the [Reference Tables documentation](/medical-api/handling-data/schema-v000/reference-tables).

**Allergy Intolerance Table:**

**Primary Keys:**

* allergy\_intolerance\_id

**Foreign Keys:**

* patient\_id

| Column | Data Type | Description |
| - | - | - |
| allergy\_intolerance\_id | varchar | Unique identifier for the allergy/intolerance |
| patient\_id | varchar | Unique identifier for the patient |
| clinical\_status\_hl7\_code | varchar | HL7 clinical status code |
| clinical\_status\_hl7\_display | varchar | Human-readable description of clinical status |
| source\_clinical\_status\_code | varchar | Original clinical status code from source system |
| source\_clinical\_status\_display | varchar | Original clinical status display from source system |
| source\_clinical\_status\_system | varchar | Original clinical status system from source system |
| snomed\_code | varchar | SNOMED CT code for the allergy/intolerance |
| snomed\_display | varchar | Human-readable description of SNOMED CT code |
| source\_code\_code | varchar | Original coding code from source system |
| source\_code\_display | varchar | Original coding display from source system |
| source\_code\_system | varchar | Original coding system from source system |
| onset\_date | date | Date when the allergy/intolerance began |
| meta\_source | varchar | Source document filename from FHIR meta.source |
| data\_source\_ext | varchar | Integration source of the data, derived from FHIR extension |

**Related Tables:**

* [Allergy Intolerance Reaction](/medical-api/handling-data/schema-v000/allergy-intolerance/reaction) - Records of reactions to the allergy/intolerance
* [Allergy Intolerance Reaction Manifestation](/medical-api/handling-data/schema-v000/allergy-intolerance/reaction-manifestation) - Records of specific manifestations of reactions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.