dQM Measure Content (Using QICore 6.0.0, based on FHIR R4 v4.0.1)
These draft FHIR-based measures and shared libraries are translated from the QDM-based versions of eCQMs that were published in May 2025 for the 2026 reporting year, exported from MADiE after final review and updates, in preparation for public comment review.
This repository has 3 branches:
- imported - This branch is the direct MADiE exported content (no re-processing of Library and Measure resources), so the narrative is what MADiE produced
- imported-with-test-cases - This branch is the direct MADiE export plus the test case exports in the tests directory
- master - This branch is the same content, but has been refreshed with the latest CQF Tooling and has narratives built using the latest Liquid templates
Commits to this repository will automatically trigger a build of the continuous integration build, available here:
https://build.fhir.org/ig/cqframework/dqm-content-qicore-2025
This repository is setup like any HL7 FHIR IG project but also includes the CQL files and test data which means the file structure will be as follows:
|-- _genonce.bat
|-- _genonce.sh
|-- _refresh.bat
|-- _refresh.sh
|-- _updatePublisher.bat
|-- _updatePublisher.sh
|-- _updateCQFTooling.bat
|-- _updateCQFTooling.sh
|-- ig.ini
|-- bundles
|-- mat
|-- <bundle files>
|-- measure
|-- <bundles>
|-- input
|-- dqm-content-qicore-2025.xml
|-- cql
|-- <library name>.cql
|-- pagecontent
|-- resources
|-- library
|-- <library name>.json
|-- measure
|-- <measure name>.json
|-- tests
|-- measure
|-- <measure name>
|-- <test case patient id>
|-- <test case resource files>
|-- ...
|-- vocabulary
|-- valueset
|-- external
CQF Tooling provides support for extracting a MAT exported package into the
directories of this repository so that the measure is included in the published
implementation guide. To do this, place the MAT export files (unzipped) in a
directory in the bundles\mat directory, and then run the following tooling
command:
[tooling-jar] -ExtractMatBundle bundles\mat\[bundle-directory]\[bundle-file]
For example:
input-cache\tooling-cli-3.9.1.jar -ExtractMATBundle bundles\mat\CLONE124_v6_03-Artifacts\measure-json-bundle.json
CQF Tooling provides a "refresh" operation that performs the following functions:
- Translates and validates all CQL source files
- Encodes CQL and ELM content in the corresponding FHIR Library resources
- Refreshes generated content for each knowledge artifact (Library, Measure, PlanDefinition, ActivityDefinition) including parameters, dependencies, and effective data requirements
Whenever changes are made to the CQL, Library, or Measure resources, run the _refresh command to refresh the implementation guide content with the new content, and then run _genonce to run the publication tooling on the implementation guide (the same process that the continuous integration build uses to publish the implementation guide when commits are made to this repository).
- Download Measure Zip folder to
bundles\matdirectory. - Unzip the folder, then unzip the MeasureExport and TestCaseExport folders within it.
- Run
_updateCQFTooling.shscript to ensure CQF tooling jar is present. - Update
_extractMATBundle.shso thatmat_bundlepoints to the JSON file within the MeasureExport directory. - Run
_extractMATBundle.shto load Measure Resources. - Create a directory under
input\tests\measurewith the Measure ID. - Copy all files from the TestCaseExport directory to this newly created directory.
- Update
_extractBundleResources.shso thatmat_bundlepoints to this newly created directory. - Run
_extractBundleResources.shto populate test case resources. - Run
_refresh.shto refresh IG content.