Query AllergyIntolerance resources to retrieve a patient's allergy list

domain: fhir · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified 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
Retrieve Encounter and Appointment resources for a patient's visit history
fhir · 6 steps · unrated
search patient resources on a FHIR R4 server using search parameters, _include, and bundle pagination
fhir · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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