---
title: "POST /api/allergies"
method: POST
path: "/api/allergies"
tags: ["Clinical"]
---

# POST /api/allergies

`POST /api/allergies`

## Request

- Base URL: `https://app.drchrono.com`
- URL: `https://app.drchrono.com/api/allergies`
- Auth: OAuth 2
  - Authorization code: `https://app.drchrono.com/o/authorize/`
  - Token URL: `https://app.drchrono.com/o/token/` scopes: `clinical:read`, `clinical:write`

Create patient allergy

## Query parameters

- `patient` integer
- `doctor` integer

## Response `201`

Created

- PatientAllergy
  - `status` 'active' | 'inactive': One of `"active"`, `"inactive"`. If absent in `POST`, default to `"active"`
  - `reaction` string: Short description of the patient's allergic reaction, such as `"Hives"`
  - `patient` integer, required
  - `description` string: Description of the allergy, such as `"Cat hair"`
  - `doctor` integer, required: Id of the doctor who diagnosed the allergy
  - `snomed_reaction` '' | '14669001' | '4448006' | '39579001' | '57676002' | '43724002' | '49727002' | '386661006' | '25064002' | '247472004' | '271795006' | '68962001' | '68235000' | '422587007' | '95388000' | '271807003' | '271825005' | '64531003' | '267036007' | '162397003' | '65124004': SNOMED code for the reaction. For possible SnoMED codes, please see [this link from PHIN VADS](https://phinvads.cdc.gov/vads/ViewValueSet.action?id=896AABB4-5ACD-DE11-913D-0015173D1785)
  - `notes` string: Any additional notes from the provider
  - `verification_status` 'confirmed' | 'unconfirmed' | 'refuted' | 'entered-in-error': One of `"confirmed"`, `"unconfirmed"`, `"refuted" or `"entered-in-error"`
  - `snomed_code` string: SNOMED code for the allergy
  - `rxnorm` string: If the allergy is a drug allergy, this is the RxNorm code of the drug
  - `id` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Permission Denied
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/drchrono/apis/drchrono-api.md) - [All operations](https://skmtc.dev/drchrono/apis/drchrono-api/llms.txt) - [OpenAPI document](https://skmtc.dev/drchrono/apis/drchrono-api/revisions/98cabe79d150?raw)
