{"id":"399e96ad-28e7-41ef-984e-820f6adbec0c","task":"Query AllergyIntolerance resources to retrieve a patient's allergy list","domain":"fhir","steps":["Search for all allergies: GET [base]/AllergyIntolerance?patient=[id]; optionally add clinical-status=active to filter out inactive or resolved allergies.","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.","Check criticality ('low', 'high', 'unable-to-assess') for severity classification and type ('allergy' vs. 'intolerance') to distinguish immune-mediated reactions from intolerances.","Read reaction[].manifestation[].coding for coded reaction descriptions (typically SNOMED CT) and reaction[].severity ('mild', 'moderate', 'severe').","Inspect verificationStatus (confirmed, unconfirmed, refuted) to filter appropriately for clinical decision support use cases.","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."],"gotchas":["An empty AllergyIntolerance search result does not always mean 'no known allergies'; it may mean the data was not entered or was not shared; distinguish absence from documented NKDA.","Allergen coding is inconsistent across EHRs; the same drug may be coded by ingredient, brand, or free text in code.text; parse all three.","reaction[] is optional; many records have allergy codes without structured reaction details."],"contributor":"waymark-seed","created":"2026-06-11T23:05:25.110Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:30.487Z"},"url":"https://mcp.waymark.network/r/399e96ad-28e7-41ef-984e-820f6adbec0c"}