This page is part of the Using CQL with FHIR Implementation Guide (v1.0.0-snapshot: STU1 Draft) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Home
Official URL: http://hl7.org/fhir/uv/cql/ImplementationGuide/hl7.fhir.uv.cql
Version:
1.0.0-snapshot
Draft
as of 2023-10-23
Computable Name: CQL
Other Identifiers: OID:2.16.840.1.113883.4.642.40.37
Clinical Quality Language (CQL) is a clinically-focused query language that can be used to express logic in a broad range of healthcare use cases, including clinical decision and cognitive support, public health and quality reporting, computable clinical guidelines, research trial eligibility, and many others. Several implementation guides have been published that include conformance criteria related to the use of CQL in these contexts. This implementation guide is the result of extracting common aspects of that support to a universal realm, broadly applicable implementation guide that supports the use of CQL with Fast Healthcare Interoperability Resources (FHIR). Future versions of those implementation guides should consider referencing the conformance and guidance established here.
Some of the conformance language and requirements described in this implementation guide, particularly around the use of terminology, may be applicable more broadly. We propose the inclusion of appropriate conformance requirements and guidance in a future version of the CQL specification.
Scope of Use
The intent of this implementation guide is to support the use of CQL with FHIR in general. It is a universal realm specification and is intended to be broadly applicable to any use case that involves libraries or expressions of CQL evaluating against FHIR resources, including:
Library profiles to support packaging of CQL (and compiled CQL, or ELM) as FHIR Library resources
Evaluation support profiles to facilitate the representation of structured information about a logic library, as well as the result of evaluating a logic library
CQL Evaluation Service capability statement
ModelInfo-related profiles to facilitate configuration of ModelInfo for FHIR implementation guides
How to read this Guide
Target Audiences
This implementation guide is targeted at two main audiences:
Authors: Persons involved in the development of CQL-based FHIR Knowledge Artifacts that are authoring CQL, either directly or with tooling assistance
Integrators: Persons involved in the development of systems that support authoring, publishing, distributing, and implementing CQL-based FHIR Knowledge Artifacts
This Guide is divided into several pages which are listed at the top of each
page in the menu bar:
Home: Summary and background information on Using CQL with FHIR.
Authoring:
Using CQL: Conformance requirements for using Clinical Quality Language as part of authoring FHIR Knowledge Artifacts.
Patterns: Patterns and guidance for using Clinical Quality Language as part of authoring FHIR Knowledge Artifacts.
Integrating:
Conformance: Conformance requirements for integrating Clinical Quality Language as part of systems that support authoring, publishing, distribution, and implementing FHIR Knowledge Artifacts.
Using ELM: Conformance requirements for the use of Expression Logical Model (ELM) artifacts.
Using ModelInfo: Conformance requirements for the use of Model Info.
Artifacts:
Profiles: List of profiles defined for use by knowledge artifacts.
Extensions: List of extensions defined and used by knowledge artifacts.
Operations: List of operations and operation pattern profiles.
Capabilities: Definitions of services and operations in support of authoring, publishing, and distributing canonical resources and knowledge artifacts.
Health Level Seven. Clinical Quality Language. [Online]. Available from: http://cql.hl7.org [Accessed October 2023].
Health Level Seven. FHIR Clinical Guidelines. [Online]. Available from: http://hl7.org/fhir/uv/cpg [Accessed October 2023].
Health Level Seven. Canonical Resource Management Infrastructure (Ballot). [Online]. Available from: http://hl7.org/fhir/uv/crmi/2023Sep [Accessed October 2023].
Health Level Seven. Quality Measure Implementation Guide. [Online]. Available from: http://hl7.org/fhir/us/cqfmeasures [Accessed October 2023].
This is an R4 IG. None of the features it uses are changed in R4B, so it can be used as is with R4B systems. Packages for both R4 (hl7.fhir.uv.cql.r4) and R4B (hl7.fhir.uv.cql.r4b) are available.
Global Profiles
There are no Global profiles defined
IP Statements
This publication includes IP covered under the following statements.
Copyright HL7. Licensed under creative commons public domain
The UCUM codes, UCUM table (regardless of format), and UCUM Specification are copyright 1999-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures (UCUM) Organization. All rights reserved. https://ucum.org/trac/wiki/TermsOfUse