This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot2: STU5 (v5.0.0) Ballot 2) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.0.0. For a full list of available versions, see the Directory of published versions
Measure developers should review the Using CQL with FHIR IG for specific guidance on CQL use. Please note the following exceptions that guidance listed below:
For information on libraries, please reference section 2.1 in the Using CQL with FHIR IG.
This IG recommends an approach to versioning libraries used in section 2.2 of the Using CQL with FHIR IG.
For guidance on library namespaces, refer to section 2.1.3 of the Using CQL with FHIR IG.
CQL can be used with any data model. In the context of a Measure, any referenced CQL library must identify the same data model. Additional information can be found in the Using CQL with FHIR IG.
Please reference the Using CQL with FHIR IG Section 2.3.
For information on value sets, reference section 2.4 of the Using CQL with FHIR IG.
Information on value set versioning can be found in the Using CQL with FHIR IG.
For information on value set expansion, reference the Using CQL with FHIR IG section 2.4.2.
The representation of valueset declarations in a Library is discussed in the Measure Conformance Chapter of this IG.
Please reference section 2.4.4 of the Using CQL with FHIR IG.
Please reference section 2.5 of the Using CQL with FHIR IG.
Please reference section 2.5.1 of the Using CQL with FHIR IG.
The representation of code declarations in a Library is discussed in Measure Conformance Chapter of this IG.
Please reference section 2.6 of the Using CQL with FHIR IG.
Please reference section 2.7 of the Using CQL with FHIR IG
Please reference section 2.8 of the Using CQL with FHIR IG.
Please reference section 2.9 of the Using CQL with FHIR IG.
For information on Missing information and how to model that using CQL, please reference section 2.10 of the Using CQL with FHIR IG.
For information on the various uses of negation in FHIR, please review section 2.11 of the Using CQL with FHIR IG.
All attributes referenced in the CQL follow Conformance Requirement 4.15.
Conformance Requirement 4-15 (Attribute Names):
Examples of attributes conforming to Conformance Requirement 4.15 are given below. For a full list of valid of attributes, refer to an appropriate data model specification such as QI-Core.
period
authoredOn
result
Please reference section 2.13 of the Using CQL with FHIR IG.
Please reference the Using CQL with FHIR IG section 2.14.1.
In addition, please consider the following conformance statement:
Conformance Requirement 4.17 (Library Resources):
Please refer to section 2.14.2 of the Using CQL with FHIR IG.
Please reference section 2.14.3 of the Using CQL with FHIR IG
Please reference section 2.14.4 of the Using CQL with FHIR IG.
Please reference section 2.14.5 of the Using CQL with FHIR IG.
Please reference section 2.15 of the Using CQL with FHIR IG
Please reference section 2.16 of the Using CQL with FHIR IG.
Please reference section 2.17 of the Using CQL with FHIR IG.
This implementation guide references the cqlOptions extension to support defining the expected translator options used with a given Library, or set of Libraries. When this extension is not used, the recommended options above, including SignatureLevel, SHOULD be used. When this extension is present on a CQLLibrary, it SHALL be used to provide options to the translator when translating CQL for that library. When this extension is present on a CRMIManifestLibrary, it SHALL be used to provide options to the translator unless the options are provided directly by the library.
Conformance Requirement 4.22 (Translator Options):
Please refer to section 2.17.2 of the Using CQL with FHIR IG.