Your User Friendly Name for MyContentIG Here
0.5.3 - CI Build

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.3 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

## Library: HRExampleProportionMeasureCQLLibrary

Official URL: http://somewhere.org/fhir/uv/mycontentig/Library/HRExampleProportionMeasureCQLLibrary | Version: 0.5.3
Draft as of 2025-12-10 | Computable Name: HRExampleProportionMeasureCQLLibrary

Metadata
Version | 0.5.3
Status | Draft
Jurisdiction | 001 from http://unstats.un.org/unsd/methods/m49/m49.htm
Steward (Publisher) | HL7 International - [Some] Work Group
Type | logic-library from http://terminology.hl7.org/CodeSystem/library-type
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`
Dependency | Description: Library CQMCommon Resource: CQMCommonExample Canonical URL: `http://somewhere.org/fhir/uv/mycontentig/Library/CQMCommonExample`
Dependency | Description: Library QICoreCommon Resource: QICoreCommonExample Canonical URL: `http://somewhere.org/fhir/uv/mycontentig/Library/QICoreCommonExample`
Dependency | Description: Library SDE Resource: SupplementalDataElementsExample Canonical URL: `http://somewhere.org/fhir/uv/mycontentig/Library/SupplementalDataElementsExample`
Data Requirement | Type: Patient Profile(s): QICore Patient
Parameters
Name | Use | Card. | Type | Documentation
Measurement Period | In | 0..1 | Period |
Patient | Out | 0..1 | Resource |
SDE Ethnicity | Out | 0..1 | Resource |
SDE Payer | Out | 0..* | Resource |
SDE Race | Out | 0..1 | Resource |
SDE Sex | Out | 0..1 | Coding |
Initial Population | Out | 0..1 | boolean |
Denominator | Out | 0..1 | boolean |
Denominator Exclusions | Out | 0..1 | boolean |
Numerator | Out | 0..1 | boolean |
Numerator Exclusion | Out | 0..1 | boolean |
Denominator Exception | Out | 0..1 | boolean |
Patient Age 18 Years or Older at Start of Measurement Period | Out | 0..1 | boolean |
Patient Age Less than 18 Years Start of Measurement Period | Out | 0..1 | boolean |
RAV Patient Too Young at Start of Measurement Period | Out | 0..1 | boolean |
RAV Patient Too Old at Start of Measurement Period | Out | 0..1 | boolean |
Initial Population2 | Out | 0..1 | boolean |
Denominator2 | Out | 0..1 | boolean |
Denominator Exclusions2 | Out | 0..1 | boolean |
Numerator2 | Out | 0..1 | boolean |
Numerator Exclusion2 | Out | 0..1 | boolean |
Denominator Exception2 | Out | 0..1 | boolean |
Library Content
CQL Content |
    library HRExampleProportionMeasureCQLLibrary version '0.5.3-cibuild'

    using QICore version '4.1.1'

    include FHIRHelpers version '4.0.1' called FHIRHelpers
    include CQMCommonExample called CQMCommon
    include QICoreCommonExample called QICoreCommon
    include SupplementalDataElementsExample called SDE

    parameter "Measurement Period" Interval<DateTime>

    context Patient

    define "SDE Ethnicity":
      SDE."SDE Ethnicity"

    define "SDE Payer":
      SDE."SDE Payer"

    define "SDE Race":
      SDE."SDE Race"

    define "SDE Sex":
      SDE."SDE Sex"

    define "Initial Population":
      AgeInYearsAt(date from
        end of "Measurement Period"
      ) in Interval[18, 75]

    define "Denominator":
      "Initial Population"

    define "Denominator Exclusions":
      "Initial Population"

    define "Numerator":
      "Initial Population"

    define "Numerator Exclusion":
      "Initial Population"

    define "Denominator Exception":
      "Initial Population"

    define "Patient Age 18 Years or Older at Start of Measurement Period":
      AgeInYearsAt(date from start of "Measurement Period") >= 18

    define "Patient Age Less than 18 Years Start of Measurement Period":
      AgeInYearsAt(date from start of "Measurement Period") < 18

    define "RAV Patient Too Young at Start of Measurement Period":
      AgeInYearsAt(date from start of "Measurement Period") < 5

    define "RAV Patient Too Old at Start of Measurement Period":
      AgeInYearsAt(date from start of "Measurement Period") > 80

    define "Initial Population2":
      AgeInYearsAt(date from
        end of "Measurement Period"
      ) in Interval[19, 76]

    define "Denominator2":
      "Initial Population2"

    define "Denominator Exclusions2":
      "Initial Population2"

    define "Numerator2":
      "Initial Population2"

    define "Numerator Exclusion2":
      "Initial Population2"

    define "Denominator Exception2":
      "Initial Population2"
ELM XML Content |
    Encoded data
ELM JSON Content |
    Encoded data
Generated using version 0.5.3 of the sample-content-ig Liquid templates