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

Official URL: http://somewhere.org/fhir/uv/mycontentig/Measure/HRExampleCVEmptyMeasure Version: 0.5.4-cibuild
Draft as of 2025-09-30 Computable Name: HRExampleCVEmptyMeasure
Metadata
Title HR Example CV 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 Continuous Variable
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
Measure Population ID: MeasurePopulation_1
Description:

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

Criteria: Measure Population
Measure Observation ID: MeasureObservation_1
Description:

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

Criteria: Measure Observation 1
Input Population: MeasurePopulation_1 AggregateMethod: Sum
Measure Logic
Primary Library HRExampleCVEmptyMeasureCQLLibrary
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
Measure Population
define "Measure Population":
  "Initial Population"
Definition
Measure Observation
define function "Measure Observation 1"():
  if AgeInYearsAt(date from start of "Measurement Period") >= 18 then 1 
    else 0
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: HRExampleCVEmptyMeasureCQLLibrary
define "SDE Sex":
  SDE."SDE Sex"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "RAV Patient Too Young at Start of Measurement Period":
  AgeInYearsAt(date from start of "Measurement Period") < 5
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "Initial Population":
  AgeInYearsAt(date from 
    end of "Measurement Period"
  ) in Interval[18, 75]
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "Measure Population Exclusions":
  "Initial Population"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "SDE Payer":
  SDE."SDE Payer"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "SDE Ethnicity":
  SDE."SDE Ethnicity"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "SDE Race":
  SDE."SDE Race"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define "Measure Population":
  "Initial Population"
Logic Definition Library Name: HRExampleCVEmptyMeasureCQLLibrary
define function "Measure Observation 1"():
  if AgeInYearsAt(date from start of "Measurement Period") >= 18 then 1 
    else 0
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 Young at Start of Measurement Period Out 0..1 boolean
Measure Population Exclusions Out 0..1 boolean
SDE Payer Out 0..* Resource
Initial Population Out 0..1 boolean
SDE Ethnicity Out 0..1 Resource
SDE Race Out 0..1 Resource
Measure Population Out 0..1 boolean
Generated using version 0.5.4-cibuild of the sample-content-ig Liquid templates