Clinical Quality Language Specification, published by Clinical Decision Support WG. This guide is not an authorized publication; it is the continuous build for version 1.5.3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cql/ and changes regularly. See the Directory of published versions
Page standards status: Informative | Maturity Level: N/A |
The examples provided here illustrate the use of Clinical Quality Language to express the logic involved in decision support and quality measurement artifacts. The examples are intended for educational and demonstration purposes only and should not be considered endorsed or production ready.
These examples illustrate the logic for coordinated decision support and quality measurement artifacts expressed in CQL, as developed in the Author's Guide. The first set illustrates independent logic, and the second set illustrates the same artifacts using a common library to share logic.
ELM Artifacts with Annotations Included:
ELM Artifacts with Debug Information Included:
These examples illustrate various quality measures expressed in CQL.
Using QUICK:
Using QDM:
Using QUICK:
Using QDM:
Using QUICK:
Using QDM:
This example illustrates the use of related-context retrieves to access the mother's record from a measure focused on an infant.