---
title: "Get an allergy"
method: GET
path: "/api/2026-01-01/medical-record/allergies/{allergy_id}"
tags: ["Allergies"]
---

# Get an allergy

`GET /api/2026-01-01/medical-record/allergies/{allergy_id}`

## Request

- Base URL: `https://jdpdocsdemo.jane.qa`
- URL: `https://jdpdocsdemo.jane.qa/api/2026-01-01/medical-record/allergies/{allergy_id}`
- Auth: OAuth 2
  - Authorization code: `https://login.id.janeapp.com/realms/jane_partner_sandbox/protocol/openid-connect/auth?response_type=code&resource=https://jdpdocsdemo.jane.qa&prompt=consent`
  - Token URL: `https://login.id.janeapp.com/realms/jane_partner_sandbox/protocol/openid-connect/token` scopes: `allergies:read`

Get an allergy by its ID

## Path parameters

- `allergy_id` string, required

## Response `200`

The allergy

- Allergy
  - `id` string, uuid, required: Public ID of the allergy
  - `patient_id` string, uuid, required: Reference to the patient
  - `practitioner_id` string, uuid, nullable: Reference to the staff member who recorded the allergy
  - `allergen_name` string, required: Free-text name of the allergen
  - `allergen_type` 'medication' | 'food' | 'environmental' | 'other' | 'null', nullable: The classification of the allergen
  - `reaction` string, nullable: Free-text description of the reaction
  - `reaction_type` string, nullable: The classification of the reaction
  - `severity` 'severe' | 'moderate' | 'mild', required: Severity of the allergy
  - `onset_date` string, date, nullable: Date the allergy was first observed
  - `status` 'active' | 'inactive', required: Whether the allergy is currently active
  - `source` string, required: Origin of the allergy record (e.g. clinic_practitioner, patient_reported). Set server-side; not accepted from the request body.
  - `created_at` string, date-time, required: When the allergy record was created
  - `updated_at` string, date-time, required: When the allergy record was last updated

## Other responses

- `401`: Unauthorized
- `403`: Forbidden - insufficient permissions
- `404`: The allergy was not found

## Changes

- **2026-11-03** `01798f613a5e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jane/apis/jdp-api/changes/api/2026-01-01/medical-record/allergies/:allergy_id/get.md)

---

[API](https://skmtc.dev/jane/apis/jdp-api.md) - [All operations](https://skmtc.dev/jane/apis/jdp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jane/apis/jdp-api/revisions/01798f613a5e?raw)
