Back to top
Top
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

CQL - Clinical Quality Language

CQL­ is a Health Level Seven International® (HL7®) authoring language standard that is intended to be human readable. It is part of the harmonization effort to align specification development for quality measures, including electronic clinical quality measures (eCQMs) and clinical decision support (CDS) artifacts. CQL provides the ability to express human-readable logic structured sufficiently for processing a query electronically. CQL is the expression logic used in Health Quality Measure Format (HQMF). Measure authors with access to the Measure Authoring Development Integrated Envirnoment (MADiE) can use the tool to author measures using CQL­. Visit the MADiE webpage for more information.  

CQL allows for a more modular, flexible, and robust expression of the logic. It allows sharing of logic between measures and clinical decision support.

Find the CQL Standards

The CQL standards are located on the HL7 Website: CQL Specification. The latest version of CQL is v1.5.2: Current Official Published Version - Normative Release 1 (mixed Normative/Trial-use content + 1 technical errata), based on Fast Healthcare Interoperability Resources® R4.

Find the CQL­-based QDM Reference

Find the QDM versions for use with Clinical Quality Language (CQL­) on the QDM page.

Explore these resources to get an overview of CQL­ and learn how to implement CQL from experts.

CQL Tools for Implementers

Access these tools to support your use of CQL.

CQL Resources for Authors

View these resources to learn about CQL formatting, usage, and standards.
  • CQL Formatting and Usage Wiki - Visit this wiki, which serves as a collaborative workspace for the development of CQL formatting conventions and usage patterns for the representation of logic within quality measures. A selection of resources found on the wiki are
  • Visit the HL7 Website to access the CQL Specification.
  • CQL Style Guide (v8) provides guidance to measure developers for authoring measure expressions and using functions, libraries, and definitions for calendar year 2025 reporting. Modifications to the CQL Style Guide include references to the HL7 CQL standard, the HL7 CQL-based Health Quality Measure Format (HQMF) Implementation Guide, and input from standards owners and measure developers to refine CQL expression. The purpose of the CQL Style Guide is to standardize the expression of measure concepts across eCQMs and define a uniform “look and feel” to eCQM logic using CQL. The CQL Style Guide focuses on a set of common best practices implemented across CQL-based eCQMs in CMS quality reporting programs. The CQL Style Guide also promotes the use of consistent language within the framework of CQL, including libraries, aliases, definitions, functions, and guidance on other conventions, such as operator precedence. Measure stewards and measure developers who are developing or specifying eCQMs for future inclusion in CMS programs should align with these best practices.

CQL Archived Resources

  • CQL Style Guide (v7) aligns with the CQL expression style of eCQMs using CQL for calendar year 2024 reporting.
  • CQL Style Guide (v6) aligns with the CQL expression style of eCQMs using CQL for calendar year 2023 reporting.
  • CQL Style Guide (v5) aligns with the CQL expression style of eCQMs using CQL for calendar year 2022 reporting.
  • CQL Style Guide (v4) aligns with the CQL expression style of eCQMs using CQL for calendar year 2021 reporting.
  • CQL Style Guide (v3) aligns with the CQL expression style of eCQMs using CQL for calendar year 2020 reporting.
  • CQL Style Guide (v2) aligns with the CQL expression style of eCQMs using CQL for calendar year 2019 reporting.

Teach Me CQL Video Series (Video shorts can be viewed in any order)

  • Day of versus Date From - YouTube Video Short - August 2024
  • Fluent Functions - YouTube Video Short - July 2024
  • Hospitalization with Observation - YouTube Video Short - July 2024
  • AND OR Precedence - YouTube Video Short - July 2023
  • Open and Closed Parentheses - YouTube Video Short - July 2023
  • Choice Types - YouTube Video Short - June 2023
  • Birth Date - YouTube Video Short - June 2023
  • Latest, LatestOf, Earliest, EarliestOf, HasStart, HasEnd - YouTube Video Short - August 2022
  • Coalesce - YouTube Video Short - August 2022
  • Normalize Interval - YouTube Video Short - July 2022
  • Time Zone Considerations - YouTube Video Short - July 2022
  • CQL 1.5 and Quality Data Model (QDM) v5.6 Overview Slides - September 2, 2021

Cooking with CQL Sessions

Visit the CQL FAQs page to review common questions and answers.

Get Connected

Last Updated: Nov 11, 2024