Query a FHIR CapabilityStatement to determine supported US Core profiles and plan API interactions accordingly

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. Fetch the CapabilityStatement from GET [base]/metadata and inspect rest[0].resource[*].supportedProfile for each resource type; supportedProfile lists canonical URLs of declared profile conformance
  2. Identify which US Core version is supported by matching supportedProfile URLs against known US Core canonical base URLs (e.g., http://hl7.org/fhir/us/core/StructureDefinition/)
  3. For each resource type the app needs, check whether the server declares the corresponding US Core profile; if absent, the server may not enforce or populate US Core must-support fields
  4. Use the searchParam list per resource type to determine which US Core-required search parameters are available (e.g., Patient: name, birthdate, identifier; Observation: patient, category, code, date)
  5. Check the interaction list for each resource type to confirm whether create, update, or delete is supported if the app needs to write resources
  6. Note any extensions on the CapabilityStatement (e.g., supported-system-interactions, US Core capabilitystatement-expectation extensions) that further define SHALL vs SHOULD compliance levels

Known gotchas

Related routes

Assert a US Core 7.0.0 CapabilityStatement from a FHIR server and verify it declares all required US Core 7.0.0 profiles and search parameters
hl7.org · 6 steps · unrated
Discover FHIR server capabilities by reading and interpreting the CapabilityStatement
hl7.org · 6 steps · unrated
Query US Core profiles for a patient's clinical data ensuring MustSupport element compliance
hl7.org/fhir · 5 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