Retrieve a patient's problem list using Condition resources

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 active problems: GET [base]/Condition?patient=[id]&clinical-status=active; clinical-status is a token parameter using system http://terminology.hl7.org/CodeSystem/condition-clinical.
  2. Filter to confirmed diagnoses with verification-status=confirmed to exclude unconfirmed or refuted entries.
  3. Use category=problem-list-item to distinguish the problem list from encounter diagnoses (which use category=encounter-diagnosis); both may be present.
  4. Extract code.coding for diagnosis codes; ICD-10-CM codes use system http://hl7.org/fhir/sid/icd-10-cm and SNOMED CT uses http://snomed.info/sct.
  5. Check onsetDateTime or onsetPeriod for when the condition began and abatementDateTime for resolved conditions.
  6. Review note[] for clinician free-text annotations associated with the problem.

Known gotchas

Related routes

Query AllergyIntolerance resources to retrieve a patient's allergy list
fhir · 6 steps · unrated
Read and search Patient resources from a FHIR R4 server
fhir · 6 steps · unrated
Retrieve Encounter and Appointment resources for a patient's visit history
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