Back to top

What is a CQL library?

CQL library is a text document (.cql, .xml, and .json) that contains CQL expressions, definitions, functions, and other declarations that can be used across eCQMs. Each eCQM contains a primary library that defines the criteria used by the populations of the eCQM. The Health Quality Measure Format document references this library and defines the populations by identifying which expressions in the CQL library define each population (e.g., Inpatient Encounter, terminologies). eCQMs may include references to a shared library, which can be either referenced throughout a single eCQM or across different eCQMs (and even Clinical Decision Support rules) to share definitions and functions like "Hospitalization." Library sharing minimizes efforts with eCQM development and implementation.

For more information on libraries, refer to the Using Libraries to Shared Logic section of the CQL Implementation Guide.

Last Updated: Sep 13, 2023