Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot International flag

Quality Measure Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cqm/ and changes regularly. See the Directory of published versions

Measure: Supporting Evidence Example Measure (Experimental)

Official URL: http://hl7.org/fhir/uv/cqm/Measure/SupportingEvidenceExample Version: 2.0.0-ballot
Standards status: Informative Draft as of 2025-08-13 Computable Name: SupportingEvidenceExample
Other Identifiers: OID:2.16.840.1.113883.4.642.40.61.29.28

Example measure illustrating the use of supporting evidence as a way to exchange additional information about particular populations within a measure.

Metadata
Title Supporting Evidence Example
Version 2.0.0-ballot
Identifier urn:oid:2.16.840.1.113883.4.642.40.61.29.28
Status Draft
Experimental true
Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Topic Health Quality Measure Document
Steward (Publisher) HL7 International / Clinical Quality Information
Description

Example measure illustrating the use of supporting evidence as a way to exchange additional information about particular populations within a measure.

Measure Scoring ratio from http://terminology.hl7.org/CodeSystem/measure-scoring
Measure Group (Rate) (ID: group-1)
Basis boolean
Measure Logic
Primary Library Supporting Evidence Example
Contents Population Criteria
Logic Definitions
Terminology
Dependencies
Data Requirements
Parameters
Population Criteria
Measure Group (Rate) (ID: group-1)
Logic Definitions
Logic Definition Library Name: SupportingEvidenceExample
// main criteria logic

define "All Encounters":
     [Encounter] E
Logic Definition Library Name: SupportingEvidenceExample
// boolean population results
// has matching encounter

define "Initial Population Boolean":
  exists "All Encounters"
Logic Definition Library Name: SupportingEvidenceExample
define "Denominator Boolean":
    "Initial Population Boolean"
Logic Definition Library Name: SupportingEvidenceExample
define "Encounter Arrived":
    [Encounter] E
       where E.status = 'arrived'
Logic Definition Library Name: SupportingEvidenceExample
define "Numerator Exclusion Boolean":
  exists "Encounter Arrived"
Logic Definition Library Name: SupportingEvidenceExample
define "Encounters in Period":
     [Encounter] E
       where E.period during "Measurement Period" and E.status='finished'
Logic Definition Library Name: SupportingEvidenceExample
define "Numerator Boolean":
  exists "Encounters in Period"
Logic Definition Library Name: SupportingEvidenceExample
define "Encounter Cancelled":
    [Encounter] E
       where E.status = 'cancelled'
Logic Definition Library Name: SupportingEvidenceExample
define "Denominator Exclusion Boolean":
  exists "Encounter Cancelled"
Logic Definition Library Name: FHIRHelpers
define function ToString(value EncounterStatus): value.value
Logic Definition Library Name: FHIRHelpers
/*
@description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)
value to a CQL DateTime Interval
@comment: If the start value of the given period is unspecified, the starting
boundary of the resulting interval will be open (meaning the start of the interval
is unknown, as opposed to interpreted as the beginning of time).
*/
define function ToInterval(period FHIR.Period):
    if period is null then
        null
    else
        if period."start" is null then
            Interval(period."start".value, period."end".value]
        else
            Interval[period."start".value, period."end".value]
Terminology
Terminology None
Dependencies
Dependency Description: FHIR model information
Resource: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1
Dependency Description: Library FHIRHelpers
Resource: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
Canonical URL: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
Data Requirements
Data Requirement Type: Encounter
Profile(s): Encounter
Must Support Elements: status, period
Parameters
Name Use Card. Type Documentation
Measurement Period In 0..1 Period
Denominator Boolean Out 0..1 boolean
Numerator Exclusion Boolean Out 0..1 boolean
Initial Population Boolean Out 0..1 boolean
Numerator Boolean Out 0..1 boolean
Denominator Exclusion Boolean Out 0..1 boolean
Generated using version 0.5.4 of the sample-content-ig Liquid templates