dQM CMS Content Implementation Guide
2026.1.0 - CI Build

dQM CMS Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2026.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/dqm-content-cms-2026/ and changes regularly. See the Directory of published versions

## Measure:

Official URL: https://madie.cms.gov/Measure/StratificationPatientExample | Version: 2026.1.0
Draft as of 2026-06-16 | Computable Name:

Metadata
Version | 2026.1.0
Status | Draft
Measure Scoring | proportion from http://hl7.org/fhir/measure-scoring
Measure Group (Rate) (ID: group-1)
Basis | boolean
Initial Population | ID: initial-population Description: No description provided Criteria: Initial Population
Denominator | ID: denominator Description: No description provided Criteria: Denominator
Numerator | ID: numerator Description: No description provided Criteria: Numerator
Stratifier | Code: Criteria-based Age Range Stratifier, 0 to 20 years
Stratifier | Code: Criteria-based Age Range Stratifier, 21 to 40 years
Stratifier | Code: Criteria-based Age Range Stratifier, 41+ years
Stratifier | Code: Value-based Gender and Age Range Stratifier
Measure Logic
Primary Library | Stratification Patient Example
Contents | Population Criteria Logic Definitions Terminology Dependencies Data Requirements
Population Criteria
Measure Group (Rate) (ID: group-1)
Initial Population
    define "Initial Population":
      true
Definition
Denominator
    define "Denominator":
      Patient.active is true
Definition
Numerator
    define "Numerator":
      exists ("Well-Visit Encounter")
Definition
Stratifier
    /* Criteria-based Stratifiers */

    define "Stratifier P0Y--P21Y":
      Patient.ageInYearsAt(end of "Measurement Period") between 0 and 20
Definition
Stratifier
    define "Stratifier P21Y--P41Y":
      Patient.ageInYearsAt(end of "Measurement Period") between 21 and 40
Definition
Stratifier
    define "Stratifier P41Y--P9999Y":
      Patient.ageInYearsAt(end of "Measurement Period") >= 41
Definition
Logic Definitions
Logic Definition | Library Name: StratificationPatientExample
    define "Well-Visit Encounter":
      [Encounter] E
        where E.status = 'finished'
          and E.period ends during day of "Measurement Period"
Logic Definition | Library Name: StratificationPatientExample
    define "Numerator":
      exists ("Well-Visit Encounter")
Logic Definition | Library Name: StratificationPatientExample
    define "Stratifier P21Y--P41Y":
      Patient.ageInYearsAt(end of "Measurement Period") between 21 and 40
Logic Definition | Library Name: StratificationPatientExample
    define "Denominator":
      Patient.active is true
Logic Definition | Library Name: StratificationPatientExample
    /* Criteria-based Stratifiers */

    define "Stratifier P0Y--P21Y":
      Patient.ageInYearsAt(end of "Measurement Period") between 0 and 20
Logic Definition | Library Name: StratificationPatientExample
    define "Initial Population":
      true
Logic Definition | Library Name: StratificationPatientExample
    define "Stratifier P41Y--P9999Y":
      Patient.ageInYearsAt(end of "Measurement Period") >= 41
Logic Definition | Library Name: PatientCommon
    /*
    @description: Returns the age in years of the patient, as of the given date
    @comment: This function returns the number of whole calendar years between the patient birth
    date and the given date. Regardless of whether the patient has a birthTime, the calculation is
    performed using only the birth date. If the given date has a time component, it is ignored, on
    the grounds that birth time is almost universally not considered when determining age in years.
    */
    define fluent function ageInYearsAt(patient Patient, asOf DateTime):
      CalculateAgeInYearsAt(Patient.birthDate, date from asOf)
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]
Logic Definition | Library Name: FHIRHelpers
    define function ToDate(value date): value.value
Logic Definition | Library Name: FHIRHelpers
    define function ToBoolean(value boolean): value.value
Terminology
Terminology | None
Dependencies
Dependency | None
Data Requirements
Data Requirement | Type: Encounter Profile(s): Encounter Must Support Elements: status, period
Data Requirement | Type: Patient Profile(s): Patient
Generated using version 0.5.0 of the sample-content-ig Liquid templates