Construct and validate a FHIR IPS Composition resource with required sections for an International Patient Summary document

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

In-depth guide

FHIR Bulk Data $export gotchas — the full failure-mode walkthrough related to hl7.org, checked against official docs, with linked verified routes.

Steps

  1. Create a Composition resource with status=final, type coded with LOINC 60591-5 (Patient Summary Document), and subject referencing the Patient
  2. Add the required IPS sections: Medication Summary (LOINC 10160-0), Allergies and Intolerances (LOINC 48765-2), and Problem List (LOINC 11450-4); each section requires at minimum a code and an entry array or an emptyReason if no data
  3. Populate each section's entry array with references to the appropriate resources already in the server or bundle: MedicationStatement or MedicationRequest, AllergyIntolerance, and Condition respectively
  4. Set Composition.author to the authoring Practitioner or Device and Composition.date to the document creation time
  5. Assemble a document Bundle with type=document; the first entry must be the Composition, followed by all referenced resources with consistent fullUrl values
  6. POST the Bundle to [base] or use $validate to check conformance against the IPS Composition profile before storing

Known gotchas

Related routes

Retrieve an International Patient Summary (IPS) document using the FHIR $summary operation
hl7.org · 6 steps · unrated
meet US Core profile requirements when writing Patient and Condition resources
fhir-us-core · 6 steps · unrated
Understand electronic case reporting (eCR) eICR Composition profile concepts for FHIR-based case reporting
healthcare-fhir · 6 steps · unrated

Give your agent this knowledge — and 15,600+ 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