Implement FHIR Measure and MeasureReport resources to compute a quality measure (e.g., proportion of diabetic patients with HbA1c tested) and report results programmatically

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

Steps

  1. Retrieve the canonical Measure resource for the quality measure from a terminology server or define a Measure with scoring=proportion, population criteria references, and improvement notation
  2. POST to /Measure/{id}/\$evaluate-measure with subject=Patient/{id} and period parameters to compute the measure for a single patient
  3. Parse the returned MeasureReport resource: check group[0].population entries for initial-population, denominator, numerator, and exclusion counts
  4. For a population-level report, use subject=Group/{id} to compute across a cohort and parse the aggregated MeasureReport with type=summary
  5. Store or transmit the MeasureReport to a reporting repository using a transaction Bundle

Known gotchas

Related routes

Implement CMS digital quality measure (dQM) reporting using FHIR-based data extraction as the next evolution beyond QRDA submission
ecqi.healthit.gov · 6 steps · unrated
Use FHIR $evaluate-measure with a data-collection MeasureReport to decouple data submission from measure scoring in a distributed DEQM reporting workflow
hl7.org · 5 steps · unrated
Retrieve and interpret HEDIS-aligned quality measure data from a health plan's FHIR-based Quality Measure reporting endpoint
hl7.org · 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