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 Cohort Empty (Measure Name in Details Tab of MADiE UI) (Experimental)

Official URL: http://somewhere.org/fhir/uv/mycontentig/Measure/HRExampleCohortEmptyMeasure Version: 0.5.4-cibuild
Draft as of 2025-09-30 Computable Name: HRExampleCohortEmptyMeasure
Metadata
Title HR Example Cohort 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)
Basis boolean
Scoring Cohort
Initial Population ID: InitialPopulation_1
Description: No description provided Criteria: Initial Population
Measure Logic
Primary Library HRExampleCohortEmptyMeasureCQLLibrary
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
Logic Definitions
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: SupplementalDataElementsExample
define "SDE Race":
  Patient.race R
    return Tuple {
      codes: R.ombCategory union R.detailed,
      display: R.text
    }
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "SDE Sex":
  SDE."SDE Sex"
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "RAV Patient Too Old at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") > 80
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "RAV Patient Too Young at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") < 5
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "Patient Age Less than 18 Years Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") < 18
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "SDE Payer":
  SDE."SDE Payer"
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "Initial Population":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[18, 75]
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "SDE Ethnicity":
  SDE."SDE Ethnicity"
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "Patient Age 18 Years or Older at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") >= 18
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "Initial Population2":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[19, 76]
Logic Definition Library Name: HRExampleCohortEmptyMeasureCQLLibrary
define "SDE Race":
  SDE."SDE Race"
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]
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
        }
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
SDE Sex Out 0..1 Coding
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
Patient Age Less than 18 Years Start of Measurement Period Out 0..1 boolean
SDE Payer Out 0..* Resource
Initial Population Out 0..1 boolean
SDE Ethnicity Out 0..1 Resource
Patient Age 18 Years or Older at Start of Measurement Period Out 0..1 boolean
Initial Population2 Out 0..1 boolean
SDE Race Out 0..1 Resource
Generated using version 0.5.4-cibuild of the sample-content-ig Liquid templates