CQL - Clinical Quality Language
Clinical Quality Language (CQL) is a Health Level Seven International (HL7) authoring language standard that’s intended to be human readable. It is part of the effort to harmonize standards used for electronic clinical quality measures (eCQMs) and clinical decision support (CDS). CQL provides the ability to express logic that is human readable yet structured enough for processing a query electronically. CQL is the expression logic used in Health Quality Measure Format (HQMF) beginning with the eCQMs implemented in calendar year 2019. CQL replaces the logic expressions previously defined in the Quality Data Model (QDM). Beginning with v5.3, QDM includes only the conceptual model for defining the data elements (the data model). Measure authors with access to the Measure Authoring Tool (MAT) can use the tool to author measures using CQL. Visit the MAT webpage for more information.
CQL allows for a more modular, flexible, and robust expression of the logic. It allows logic to be shared between measures and with clinical decision support. Learn more about the advantages of CQL from the Benefits of CQL presentation.
Find the CQL Standards
The CQL standards are located on the HL7 Website: CQL Specification.
Find the CQL-based QDM Reference
QDM versions for use with Clinical Quality Language (CQL) are found on the QDM page.
CQL Overview Resources
Explore these resources to get an overview of CQL and learn how to implement CQL from experts.
- Learn more about the fundamentals of CQL and why it’s important for you on the CQL Educational Resources page. You will also find past presentations and webinars for the various audiences who might use CQL.
- Watch this tutorial to see CQL in action.
- Attend an upcoming Cooking with CQL, QDM, and FHIR® webinar. The sessions feature open discussion from subject matter experts on the Measure Authoring Tool (MAT), show how to express measures using CQL, and review questions. Visit the eCQI Events page to find registration information.
- Visit the CQL FAQs page to review common questions and answers to help you get started with CQL.
- Visit the Connect page to find out how to connect to various CQL resources and register for upcoming CQL sessions.
CQL Tools for Implementers
Access these tools to support your use of CQL.
- GitHub Tools Repository - Find tools in support of CQL, such as the CQL-to-ELM Translator used by implementation vendors.
- Explore the eCQI Tools & Key Resources Library for a complete list of tools and resources used with eCQMs and eCQI.
- CQL-to-ELM Translator Reference Implementation - The HL7 CQL specification defines both a high-level, author friendly syntax for expressing clinical knowledge, as well as a machine friendly, syntax-independent canonical representation of clinical knowledge called Expression Logical Model (ELM). The high-level syntax is designed to support measure and decision support authors, while the canonical representation is designed to support point-to-point sharing and machine processing applications.
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
- CQL Standard - Visit the HL7 Website to access the CQL Specification.
- CQL Style Guide (v4) provides guidance to measure developers for authoring measure expressions and using functions, libraries and definitions for calendar year 2021 reporting. Modifications to the style guide include reference to changes in the Quality Data Model (QDM) used in eCQMs for 2021 reporting (QDM version 5.5), changes in the HL7 CQL standard and the HL7 CQL-based HQMF implementation guide (v3), and input from standards owners and measure developers to refine CQL expression. The purpose of the style guide is to standardize expression of measure concepts across eCQMs and define a uniform “look and feel” to eCQM logic using CQL. The guide focuses on a set of common best practices that have been implemented across CQL-based eCQMs in CMS quality reporting programs. The style guide also promotes the use of consistent language within the framework of CQL, including libraries, aliases, definitions, and functions, as well as guidance on other conventions, such as operator precedence. Measure stewards or developers who are developing or specifying eCQMs for future inclusion in CMS programs should align with these best practices.
CQL Archived Resources
Introduction to CQL
- Pioneers in Quality Video Short - eCQM Basics Series 1 - January 7, 2021
- Getting Started with CQL - January 2020 CMS Connectathon
- Pioneers in Quality Expert to Expert Series: Technical Implementation of Clinical Quality Language (CQL) - July 23, 2019
- Electronic Clinical Quality Measure (eCQM) Calculation Architecture - Updated January 15, 2018
Cooking with CQL Sessions
- Cooking with CQL, QDM, and FHIR® Webinar
- Supplemental Slides
Visit the CQL FAQs page to review common questions and answers to help you get started with CQL.
Visit the Cooking with CQL Examples GitHub page to review questions and answers from the most recent Cooking with CQL sessions.
Visit the Cooking with CQL Q&A All Categories GitHub page to review all the questions and answers from the past Cooking with CQL sessions.
Visit the CQL Formatting and Usage Wiki. The Wiki serves as a collaborative workspace for the development of CQL formatting conventions and usage patterns for the representation of logic within clinical quality measures. All users have edit rights to be able to submit edits, add comments and concerns. Items on the Wiki are a work in progress and subject to change.
Join the CQL Technical Chat Discussion.
Participate in an upcoming Health Level Seven International® (HL7) CDS Workgroup call. This Work Group discusses CQL in the HL7 Clinical Quality Framework-on-Fast Healthcare Interoperability Resources® (CQF-on-FHIR).
Submit feedback on CQL issues, comments, and questions to the ONC Jira CQL Issue Tracker.