Your User Friendly Name for MyContentIG Here
0.5.4-cibuild - CI Build International flag

Your User Friendly Name for MyContentIG Here, published by HL7 International - [Some] Work Group. This guide is not an authorized publication; it is the continuous build for version 0.5.4-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/sample-content-ig/ and changes regularly. See the Directory of published versions

Measure: HR Example Proportion Empty (Measure Name in Details Tab of MADiE UI) (Experimental)

Official URL: http://somewhere.org/fhir/uv/mycontentig/Measure/HRExampleProportionEmptyMeasure Version: 0.5.4-cibuild
Draft as of 2025-09-30 Computable Name: HRExampleProportionEmptyMeasure
Metadata
Title HR Example Proportion Empty (Measure Name in Details Tab of MADiE UI)
Version 0.5.4-cibuild
Status Draft
Experimental true
Jurisdiction 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Steward (Publisher) HL7 International - [Some] Work Group
Measure Group (Rate) (ID: Group_1)
Summary **Population Criteria 1 Description on Population Criteria Tab of MADiE UI** * Free text. * Character limit not determined. **QDM Equivalent: N/A** **Populates Summary Field in FHIR human readable** | Additional MADiE Page Notes: | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | * Measure type selectable from drop down, multi select; for this example selected all options. | | * Population Basis selectable from drop down, single select; for this example, boolean is only one that didn't generate an error. | | * Scoring selectable from dropdown, single select (Cohort, Continuous Variable, Proportion and Ratio). *Note to self, changing scoring deletes all population information.* | | * Aggregate Function selectable from dropdown. | | * Scoring Unit free text entry. | | * Scoring Precision selectable integers. |
Basis boolean
Scoring Proportion
Improvement Notation Increased score indicates improvement
Initial Population ID: InitialPopulation_1
Description:

**Initial Population Description Field in Population Criteria Tab of MADiE UI** * Free text. * Character limit not determined. * Initial Population required field selected by dropdown (Defines from CQL Editor Tab). **QDM Equivalent: Initial Population**

Criteria: Initial Population
Denominator ID: Denominator_1
Description:

**Denominator Description Field in Population Criteria Tab of MADiE UI** * Free text. * Character limit not determined. * Denominator required field selected by dropdown (Defines from CQL Editor Tab). **QDM Equivalent: Denominator**

Criteria: Denominator
Numerator ID: Numerator_1
Description:

**Numerator Description Field in Population Criteria Tab of MADiE UI** * Free text. * Character limit not determined. * Numerator required field selected by dropdown (Defines from CQL Editor Tab). **QDM Equivalent: Numerator**

Criteria: Numerator
Measure Logic
Primary Library HRExampleProportionEmptyMeasureCQLLibrary
Contents Population Criteria
Logic Definitions
Terminology
Dependencies
Data Requirements
Parameters
Population Criteria
Measure Group (Rate) (ID: Group_1)
Initial Population
define "Initial Population":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[18, 75]
Definition
Denominator
define "Denominator":
  "Initial Population"
Definition
Numerator
define "Numerator":
  "Initial Population"
Definition
Logic Definitions
Logic Definition Library Name: SupplementalDataElementsExample
define "SDE Race":
  Patient.race R
    return Tuple {
      codes: R.ombCategory union R.detailed,
      display: R.text
    }
Logic Definition Library Name: SupplementalDataElementsExample
define "SDE Sex":
  case
      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }
      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }
      else null
    end
Logic Definition Library Name: SupplementalDataElementsExample
define "SDE Payer":
  [Coverage: type in "Payer Type"] Payer
    return {
      code: Payer.type,
      period: Payer.period
    }
Logic Definition Library Name: SupplementalDataElementsExample
define "SDE Ethnicity":
  Patient.ethnicity E
    return Tuple {
      codes: { E.ombCategory } union E.detailed,
      display: E.text
    }
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "RAV Patient Too Old at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") > 80
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "RAV Patient Too Young at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") < 5
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Initial Population":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[18, 75]
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator Exception":
  "Initial Population"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Initial Population2":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[19, 76]
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator Exclusions2":
  "Initial Population2"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "SDE Race":
  SDE."SDE Race"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Numerator Exclusion":
  "Initial Population"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "SDE Sex":
  SDE."SDE Sex"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Numerator":
  "Initial Population"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Numerator Exclusion2":
  "Initial Population2"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Patient Age Less than 18 Years Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") < 18
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator":
  "Initial Population"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "SDE Payer":
  SDE."SDE Payer"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "SDE Ethnicity":
  SDE."SDE Ethnicity"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator2":
  "Initial Population2"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator Exclusions":
  "Initial Population"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Patient Age 18 Years or Older at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") >= 18
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Numerator2":
  "Initial Population2"
Logic Definition Library Name: HRExampleProportionEmptyMeasureCQLLibrary
define "Denominator Exception2":
  "Initial Population2"
Logic Definition Library Name: FHIRHelpers
define function ToString(value uri): value.value
Logic Definition Library Name: FHIRHelpers
define function ToCode(coding FHIR.Coding):
    if coding is null then
        null
    else
        System.Code {
          code: coding.code.value,
          system: coding.system.value,
          version: coding.version.value,
          display: coding.display.value
        }
Logic Definition Library Name: FHIRHelpers
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
Value Set Description: Value set Payer Type
Resource: Payer
Canonical URL: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591
Dependencies
Dependency Description: Library SDE
Resource: SupplementalDataElementsExample
Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/SupplementalDataElementsExample
Dependency Description: Library FHIRHelpers
Resource: http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1
Canonical URL: http://somewhere.org/fhir/uv/mycontentig/Library/FHIRHelpers|4.0.1
Data Requirements
Data Requirement Type: Patient
Profile(s): QICore Patient
Must Support Elements: url, extension
Data Requirement Type: Coverage
Profile(s): QICore Coverage
Must Support Elements: type, period
Code Filter(s):
Path: type
ValueSet: Payer
Parameters
Name Use Card. Type Documentation
Measurement Period In 0..1 Period
RAV Patient Too Old at Start of Measurement Period Out 0..1 boolean
RAV Patient Too Young at Start of Measurement Period Out 0..1 boolean
Denominator Exception Out 0..1 boolean
Denominator Exclusions2 Out 0..1 boolean
SDE Race Out 0..1 Resource
Numerator Exclusion Out 0..1 boolean
SDE Sex Out 0..1 Coding
Numerator Out 0..1 boolean
Numerator Exclusion2 Out 0..1 boolean
Patient Age Less than 18 Years Start of Measurement Period Out 0..1 boolean
Denominator Out 0..1 boolean
SDE Payer Out 0..* Resource
Initial Population Out 0..1 boolean
SDE Ethnicity Out 0..1 Resource
Denominator2 Out 0..1 boolean
Denominator Exclusions Out 0..1 boolean
Patient Age 18 Years or Older at Start of Measurement Period Out 0..1 boolean
Initial Population2 Out 0..1 boolean
Numerator2 Out 0..1 boolean
Denominator Exception2 Out 0..1 boolean
Generated using version 0.5.4-cibuild of the sample-content-ig Liquid templates