Clinical Quality Language Release 1

This page is part of the Clinical Quality Language Specification (v1.5.2: Normative - Normative) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: Informative


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.

1. 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.

1.1. Independent Artifacts

1.1.1. Chlamydia Screening Quality Measure

1.1.2. Chlamydia Screening Decision Support

ELM Artifacts with Annotations Included:

ELM Artifacts with Debug Information Included:

1.2. Shared Logic

1.2.1. Common Library

1.2.2. Chlamydia Screening Quality Measure Using Common Library

1.2.3. Chlamydia Screening Decision Support Using Common Library

2. Example Quality Measures

These examples illustrate various quality measures expressed in CQL.

2.1. CMS26v2

2.2. CMS55v1

Using QUICK:

Using QDM:

2.3. CMS135

2.4. CMS146v2

Using QUICK:

Using QDM:

2.5. CMS154v1

2.6. CMS179v2

Using QUICK:

Using QDM:

2.7. 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.