Query AllergyIntolerance resources to retrieve a patient's allergy list

domain: fhir · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Search for all allergies: GET [base]/AllergyIntolerance?patient=[id]; optionally add clinical-status=active to filter out inactive or resolved allergies.
  2. Extract code.coding for the allergen; drug allergies commonly use RxNorm (http://www.nlm.nih.gov/research/umls/rxnorm) or NDF-RT; food and environmental allergies may use SNOMED CT.
  3. Check criticality ('low', 'high', 'unable-to-assess') for severity classification and type ('allergy' vs. 'intolerance') to distinguish immune-mediated reactions from intolerances.
  4. Read reaction[].manifestation[].coding for coded reaction descriptions (typically SNOMED CT) and reaction[].severity ('mild', 'moderate', 'severe').
  5. Inspect verificationStatus (confirmed, unconfirmed, refuted) to filter appropriately for clinical decision support use cases.
  6. Handle the 'No Known Allergies' sentinel value: some servers return a single AllergyIntolerance resource with code mapped to a 'no known allergy' SNOMED concept rather than an empty list.

Known gotchas

Related routes

Retrieve a patient's problem list using Condition resources
fhir · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans