Clinical Quality Language Specification
1.5.3 - Release 1 Errata 2

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

Examples

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.

Chlamydia Screening Examples

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.

Independent Artifacts

Chlamydia Screening Quality Measure
Chlamydia Screening Decision Support

ELM Artifacts with Annotations Included:

ELM Artifacts with Debug Information Included:

Shared Logic

Common Library
Chlamydia Screening Quality Measure Using Common Library
Chlamydia Screening Decision Support Using Common Library

Example Quality Measures

These examples illustrate various quality measures expressed in CQL.

CMS26v2

CMS55v1

Using QUICK:

Using QDM:

CMS135

CMS146v2

Using QUICK:

Using QDM:

CMS154v1

CMS179v2

Using QUICK:

Using QDM:

Mother Infant Measure

This example illustrates the use of related-context retrieves to access the mother's record from a measure focused on an infant.