---
updatedAt: 2025-06-11T23:23:13.000Z
agentTools:
  projectIndex: https://developer.healthgorilla.com/llms.txt
---

# AllergyIntolerance

The FHIR STU3 `AllergyIntolerance` resource defines clinical information about a patient's allergic response to a substance, including information about the substance that elicited the response, as well as when the reaction occurred, the severity, and the type of reaction noted.

FHIR Resource: AllergyIntolerance <<https://www.hl7.org/fhir/allergyintolerance.html>>

# Supported Attributes

| Name                 | Comment                |
| :------------------- | :--------------------- |
| verificationStatus   |                        |
| criticality          |                        |
| type                 |                        |
| category             |                        |
| clinicalStatus       |                        |
| code                 |                        |
| patient              |                        |
| recorder             |                        |
| onset                |                        |
| assertedDate         | Documentation Date     |
| lastOccurrence       | Completion Date        |
| reaction             | reaction.manifestation |
| reaction.severity    |                        |
| reaction.substance   |                        |
| reaction.description |                        |

```http Endpoint URI
https://api.healthgorilla.com/fhir/AllergyIntolerance
```

# FHIR Operations

The following operations are currently supported:

## 1. Read

| HTTP Request               | Method | Action                          |
| :------------------------- | :----- | :------------------------------ |
| /AllergyIntolerance/`{ID}` | GET    | Retrieve allergy resource by ID |

## 2. Search

| HTTP Request                               | Method | Action                                              |
| :----------------------------------------- | :----- | :-------------------------------------------------- |
| /AllergyIntolerance?\[parameter=`{value}`] | GET    | Retrieve allergies by the specified search criteria |

Search Parameters:

| Key           | Type      | Description        |
| :------------ | :-------- | :----------------- |
| patient       | Reference | Patient Identifier |
| \_lastUpdated | Date      |                    |
| \_offset      | Number    |                    |
| \_count       | Number    |                    |

### Examples

#### 2.1 Retrieve allergies by patient

```http HTTP GET
https://api.healthgorilla.com/fhir/AllergyIntolerance?patient=8063965523692105bfc35def
```

#### 2.2 Search records updated since March 2019

```http HTTP GET
https://api.healthgorilla.com/fhir/AllergyIntolerance?_lastUpdated=gt2019-03&_offset=0&_count=5
```

#### 2.3 Retrieve allergies for the given patient updated in 2018

```http HTTP GET
https://api.healthgorilla.com/fhir/AllergyIntolerance?patient=8063965523692105bfc35def&_lastUpdated=2018
```

## 3. Create

| HTTP Request        | Method | Action                   |
| :------------------ | :----- | :----------------------- |
| /AllergyIntolerance | POST   | Creates allergy resource |

The following attributes are required:

| Name     | Details |
| :------- | :------ |
| type     |         |
| category |         |
| code     |         |
| patient  |         |

## 4. Update

| HTTP Request               | Method | Action                                      |
| :------------------------- | :----- | :------------------------------------------ |
| /AllergyIntolerance/`{ID}` | PUT    | Updates allergy resource or creates new one |

The following attributes are immutable:

| Name     | Details |
| :------- | :------ |
| type     |         |
| category |         |
| patient  |         |
| code     |         |
| recorder |         |

## 5. Delete

| HTTP Request               | Method | Action                   |
| :------------------------- | :----- | :----------------------- |
| /AllergyIntolerance/`{ID}` | DELETE | Deletes allergy resource |