# HRDMeasureExample - US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **HRDMeasureExample**

## Measure: HRDMeasureExample (Experimental) 

| | |
| :--- | :--- |
| *Official URL*:http://hl7.org/fhir/us/safr/Measure/HRDMeasureExample | *Version*:1.0.0 |
| * Standards status: *[Informative](http://hl7.org/fhir/R4/versions.html#std-process) | *Computable Name*:HRDMeasureExample |
| *Other Identifiers:*OID:2.16.840.1.113883.4.642.40.53.29.6 | |

 
Hospital Respiratory Data Measure Example 

* Knowledge Artifact Metadata: Name (machine-readable)
  * ?: HRDMeasureExample
* Knowledge Artifact Metadata: Title (human-readable)
  * ?: HRD Measure
* Knowledge Artifact Metadata: Status
  * ?: Draft
* Knowledge Artifact Metadata: Experimental
  * ?: true
* Knowledge Artifact Metadata: Description
  * ?: Hospital Respiratory Data Measure Example
* Knowledge Artifact Metadata: Measure Steward
  * ?: HL7 International / Public Health
* Knowledge Artifact Metadata: Steward Contact Details
  * ?: HL7 International / Public Health:[http://www.hl7.org/Special/committees/pher](http://www.hl7.org/Special/committees/pher)
* Knowledge Artifact Metadata: Measure Metadata
* Knowledge Artifact Metadata: Version Number
  * ?: 1.0.0
* Knowledge Artifact Metadata: Measure Scoring
  * ?: Cohort
* Knowledge Artifact Metadata: Population Basis
  * ?: boolean
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301**Description**: No description provided**Logic Definition**:[Inpatient Beds Initial Population](#hrdmeasure-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: unknownC19**Code**:Number new confirmed Covid-19 age unknown
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: unknownFlu**Code**:Number new confirmed Flu age unknown
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: unknownRsv**Code**:Number new confirmed RSV age unknown
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: n95-3day**Code**:3-day supply of N95 masks
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: n95Mask**Code**:Days supply of N95 masks
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: or-surgical-mask-3day**Code**:3-day supply of surgical masks
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: orSurgMask**Code**:or surgical masks
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: face-shield-3-day**Code**:3-day supply of face shields
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: faceShield**Code**:Days supply of face shields
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: gown-3-day**Code**:3-day supply of gowns
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: gown**Code**:Days supply of gowns
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: glove-3-day**Code**:3-day supply of gloves
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: glove**Code**:Days supply of gloves
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied**Description**: No description provided**Logic Definition**:[Occupied Inpatient Beds Initial Population](#hrdmeasure-occupied-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-adult-inpatient**Description**: No description provided**Logic Definition**:[Adult Inpatient Beds Initial Population](#hrdmeasure-adult-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultInpC19**Code**:Number confirmed Covid-19 adult hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultInpFlu**Code**:Number confirmed Flu adult hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultInpRsv**Code**:Number confirmed RSV adult hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult18to49C19**Code**:Number new confirmed Covid-19 adult ages 18 to 49
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult50to64C19**Code**:Number new confirmed Covid-19 adult ages 50 to 64
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult65to74C19**Code**:Number new confirmed Covid-19 adult ages 65 to 74
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult75andUpC19**Code**:Number new confirmed Covid-19 adult ages 75 plus
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult18to49Flu**Code**:Number new confirmed Flu adult ages 18 to 49
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult50to64Flu**Code**:Number new confirmed Flu adult ages 50 to 64
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult65to74Flu**Code**:Number new confirmed Flu adult ages 65 to 74
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult75andUpFlu**Code**:Number new confirmed Flu adult ages 75 plus
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult18to49Rsv**Code**:Number new confirmed RSV adult ages 18 to 49
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult50to64Rsv**Code**:Number new confirmed RSV adult ages 50 to 64
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult65to74Rsv**Code**:Number new confirmed RSV adult ages 65 to 74
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adult75andUpRsv**Code**:Number new confirmed RSV adult ages 75 plus
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied-adult-inpatient**Description**: No description provided**Logic Definition**:[Occupied Adult Inpatient Beds Initial Population](#hrdmeasure-occupied-adult-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-ped-inpatient**Description**: No description provided**Logic Definition**:[Pediatric Inpatient Beds Initial Population](#hrdmeasure-pediatric-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedInpC19**Code**:Number confirmed Covid-19 pediatric hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedInpFlu**Code**:Number confirmed Flu pediatric hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedInpRsv**Code**:Number confirmed RSV pediatric hospital patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped0to4C19**Code**:Number new confirmed Covid-19 pediatric ages 0 to 4
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped5to17C19**Code**:Number new confirmed Covid-19 pediatric ages 5 to 17
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped0to4Flu**Code**:Number new confirmed Flu pediatric ages 0 to 4
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped5to17Flu**Code**:Number new confirmed Flu pediatric ages 5 to 17
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped0to4Rsv**Code**:Number new confirmed RSV pediatric ages 0 to 4
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: ped5to17Rsv**Code**:Number new confirmed RSV pediatric ages 5 to 17
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied-ped-inpatient**Description**: No description provided**Logic Definition**:[Occupied Pediatric Inpatient Beds Initial Population](#hrdmeasure-occupied-pediatric-inpatient-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-icu**Description**: No description provided**Logic Definition**:[ICU Beds Initial Population](#hrdmeasure-icu-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied-icu**Description**: No description provided**Logic Definition**:[Occupied ICU Beds Initial Population](#hrdmeasure-occupied-icu-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-adult-icu**Description**: No description provided**Logic Definition**:[Adult ICU Beds Initial Population](#hrdmeasure-adult-icu-beds-initial-population)
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultIcuC19**Code**:Number confirmed Covid-19 adult ICU patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultIcuFlu**Code**:Number confirmed Flu adult ICU patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: adultIcuRsv**Code**:Number confirmed RSV adult ICU patients
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied-adult-icu**Description**: No description provided**Logic Definition**:[Occupied Adult ICU Beds Initial Population](#hrdmeasure-occupied-adult-icu-beds-initial-population)
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-ped-icu**Description**: No description provided**Logic Definition**:[Pediatric ICU Beds Initial Population](#hrdmeasure-pediatric-icu-beds-initial-population)
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedIcuC19**Code**:Number confirmed Covid-19 pediatric ICU patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedIcuFlu**Code**:Number confirmed Flu pediatric ICU patients
* Knowledge Artifact Metadata: Stratifier
  * ?: **ID**: pedIcuRsv**Code**:Number confirmed RSV pediatric ICU patients
* Knowledge Artifact Metadata: Measure Population Criteria
* Knowledge Artifact Metadata: Initial Population
  * ?: **ID**: d2e4301-occupied-ped-icu**Description**: No description provided**Logic Definition**:[Occupied Pediatric ICU Beds Initial Population](#hrdmeasure-occupied-pediatric-icu-beds-initial-population)
* Knowledge Artifact Metadata: Measure Logic
* Knowledge Artifact Metadata: Primary Library
  * ?: [HRDMeasure](Library-HRDMeasure.md)
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Library FHIRHelpers**Resource**:[http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1](http://fhir.org/guides/cqf/common/4.0.1/4.0.1/Library-FHIRHelpers.html)**Canonical URL**:http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Code system Time Period Ranges**Resource**:[Time Period Ranges](http://terminology.hl7.org/7.1.0/CodeSystem-time-period-ranges.html)**Canonical URL**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Code system SNOMEDCT**Resource**:[SNOMED CT (all versions)](http://hl7.org/fhir/R4/codesystem-snomedct.html)**Canonical URL**:http://snomed.info/sct
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Code system LocationPhysicalType**Resource**:[Location typeversion: null2.0.1)](http://terminology.hl7.org/7.1.0/CodeSystem-location-physical-type.html)**Canonical URL**:http://terminology.hl7.org/CodeSystem/location-physical-type|2.0.1
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Code system HealthcareCapacity**Resource**:[Healthcare Bed Capacity Reporting Code System](CodeSystem-us-safr-bed-capacity-example-codes.md)**Canonical URL**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Code system Observation Category**Resource**:[Observation Category Codesversion: null2.0.0)](http://terminology.hl7.org/7.1.0/CodeSystem-observation-category.html)**Canonical URL**:http://terminology.hl7.org/CodeSystem/observation-category|2.0.0
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)**Resource**:[COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142|20250218
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set COVID_19 (Tests for SARS_CoV_2 Antigen)**Resource**:[COVID_19 (Tests for SARS_CoV_2 Antigen)version: null20240123)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158|20240123
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set Influenza (Tests for influenza A or B virus Nucleic Acid)**Resource**:[Influenza (Tests for influenza A or B virus Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336|20250218
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set Influenza (Tests for influenza A or B virus Antigen)**Resource**:[Influenza (Tests for influenza A or B virus Antigen)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set RSV (Tests for RSV Antigen)**Resource**:[RSV (Tests for RSV Antigen)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311
* Knowledge Artifact Metadata: Dependency
  * ?: **Description**: Value set RSV (Tests for RSV Nucleic Acid)**Resource**:[RSV (Tests for RSV Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion)**Canonical URL**:http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312|20250218
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 0 DAYS**Code**: P0D--0D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 1-3 DAYS**Code**: P1D--3D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 4-6 DAYS**Code**: P4D--6D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 7-14 DAYS**Code**: P7D--14D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 15-30 DAYS**Code**: P15D--30D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: 0 DAYS**Code**: P30D--9999D**System**:http://terminology.hl7.org/CodeSystem/time-period-ranges
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Surgical face mask (physical object)**Code**: 409528009**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Bed**Code**: bd**System**:http://terminology.hl7.org/CodeSystem/location-physical-type
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Children's or Pediatric**Code**: CHLD**System**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Hospital**Code**: HOSP**System**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Other facility-within-facility or subunit**Code**: OTH**System**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Patient gown (physical object)**Code**: 1141676007**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Laboratory**Code**: laboratory**System**:http://terminology.hl7.org/CodeSystem/observation-category
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Detected**Code**: 260373001**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Nitrile surgical glove, powdered (physical object)**Code**: 462245005**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Face shield (physical object)**Code**: 706724001**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Inpatient Psychiatric**Code**: IPF**System**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Inpatient Rehabilitation**Code**: IRF**System**:http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
* Knowledge Artifact Metadata: Direct Reference Code
  * ?: **Display**: Air-purifying respirator (physical object)**Code**: 409533008**System**:http://snomed.info/sct
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Measurement Period**Use**: In**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Period
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: OR Surgical Mask Supply in Days Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Coding
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied Pediatric ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Gown 3 Day Supply Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: string
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult ICU COVID_19 Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Glove Supply in Days Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Coding
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Face Shield 3 Day Supply Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: string
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric Inpatient Influenza Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric ICU RSV Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult Inpatient COVID_19 Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Face Shield Supply in Days Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Coding
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New RSV Patients with Unknown Age Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric ICU COVID_19 Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Gown Supply in Days Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Coding
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult RSV Patients Between 65 to 74 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult ICU Influenza Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Glove 3 Day Supply Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: string
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult COVID_19 Patients Between 50 to 64 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied Adult ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult Inpatient Influenza Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric COVID_19 Patients Between 0 to 4 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric Inpatient RSV Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric RSV Patients Between 0 to 4 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: N95 Mask Supply in Days Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: Coding
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric COVID_19 Patients Between 5 to 17 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult RSV Patients Between 50 to 64 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult COVID_19 Patients Between 65 to 74 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric Influenza Patients Between 5 to 17 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult ICU RSV Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult Influenza Patients Between 18 to 49 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult RSV Patients 75 and Above Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult Influenza Patients Between 50 to 64 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric Influenza Patients Between 0 to 4 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: N95 Mask 3 Day Supply Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: string
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult Inpatient RSV Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult RSV Patients Between 18 to 49 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied Adult Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult COVID_19 Patients Between 18 to 49 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: OR Surgical Mask 3 Day Supply Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: string
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Adult Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied ICU Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Influenza Patients with Unknown Age Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric ICU Influenza Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult Influenza Patients Between 65 to 74 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Pediatric RSV Patients Between 5 to 17 Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Pediatric Inpatient COVID_19 Patients Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Occupied Pediatric Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: Inpatient Beds Initial Population**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: boolean
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult COVID_19 Patients 75 and Above Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New COVID_19 Patients with Unknown Age Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata: Parameter
  * ?: **Name**: New Adult Influenza Patients 75 and Above Stratifier**Use**: Out**Min Cardinality**: 0**Max Cardinality**: 1**Type**: integer
* Knowledge Artifact Metadata:  Measure Logic Data Requirements
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Device**Profile(s)**:[Device](http://hl7.org/fhir/R4/device.html)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[COVID_19 (Tests for SARS_CoV_2 Antigen)version: null20240123)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Location**Profile(s)**:[Location](http://hl7.org/fhir/R4/location.html)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[Influenza (Tests for influenza A or B virus Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[Influenza (Tests for influenza A or B virus Antigen)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[RSV (Tests for RSV Antigen)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Observation**Profile(s)**:[Observation](http://hl7.org/fhir/R4/observation.html)**Must Support Elements**: code**Code Filter(s)**:**Path**: code**ValueSet**:[RSV (Tests for RSV Nucleic Acid)version: null20250218)](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Patient**Profile(s)**:[Patient](http://hl7.org/fhir/R4/patient.html)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Patient**Profile(s)**:[Patient](http://hl7.org/fhir/R4/patient.html)**Must Support Elements**: id, birthDate
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Device**Profile(s)**:[Device](http://hl7.org/fhir/R4/device.html)**Must Support Elements**: type
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Patient**Profile(s)**:[Patient](http://hl7.org/fhir/R4/patient.html)**Must Support Elements**: birthDate, id
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Encounter**Profile(s)**:[Encounter](http://hl7.org/fhir/R4/encounter.html)
* Knowledge Artifact Metadata: Data Requirement
  * ?: **Type**: Encounter**Profile(s)**:[Encounter](http://hl7.org/fhir/R4/encounter.html)**Must Support Elements**: status
* Knowledge Artifact Metadata: Measure Logic Definitions
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Devices": [Device]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "OR Surgical Mask Supply in Days": Floor( Count( "Devices" Devices where Devices.type ~ "Surgical mask" ) / 10 )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "OR Surgical Mask Supply in Days Stratifier": GetDayCode( "OR Surgical Mask Supply in Days" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "IsBedLocation": Location.physicalType ~ "Bed"````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "LocationIsCHLD": exists( Location.type types where types ~ "CHLD" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "LocationIsHOSP": exists( Location.type types where types ~ "HOSP" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "LocationIsOTH": exists( Location.type types where types ~ "OTH" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric ICU Beds Initial Population": IsBedLocation and LocationIsCHLD and ( LocationIsHOSP or LocationIsOTH )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Encounters": [Encounter]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "EncounterCheck": exists("Encounters" Encounters where Encounters.period overlaps "Measurement Period")````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied Pediatric ICU Beds Initial Population": "Pediatric ICU Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult ICU Beds Initial Population": IsBedLocation and ( LocationIsHOSP or LocationIsOTH ) and not LocationIsCHLD````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Gown Supply in Days": Floor( Count( "Devices" Devices where Devices.type ~ "Patient gown" ) / 5 )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Gown 3 Day Supply Stratifier": if "Gown Supply in Days" > 3 then 'y' else 'n'````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult ICU Beds Initial Population": IsBedLocation and ( LocationIsHOSP or LocationIsOTH ) and not LocationIsCHLD````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Functions and Helpers define "COVID_19 Observations": [Observation: "COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)"] union [Observation: "COVID_19 (Tests for SARS_CoV_2 Antigen)"]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Count Confirmed COVID_19 Patients in Bed Location": Count( "Get Confirmed Patient IDs"( "Encounters", "COVID_19 Observations" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult ICU COVID_19 Patients Stratifier": if "Adult ICU Beds Initial Population" then "Count Confirmed COVID_19 Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Glove Supply in Days": Floor( Count( "Devices" Devices where Devices.type ~ "Surgical glove" ) / 15 )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Glove Supply in Days Stratifier": GetDayCode( "Glove Supply in Days" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Face Shield Supply in Days": Floor( Count( "Devices" Devices where Devices.type ~ "Face shield" ) / 10 )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Face Shield 3 Day Supply Stratifier": if "Face Shield Supply in Days" > 3 then 'y' else 'n'````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "LocationIsIPF": exists( Location.type types where types ~ "IPF" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "LocationIsIRF": exists( Location.type types where types ~ "IRF" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and LocationIsCHLD and not ( LocationIsIPF or LocationIsIRF )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Influenza Observations": [Observation: "Influenza (Tests for influenza A or B virus Nucleic Acid)"] union [Observation: "Influenza (Tests for influenza A or B virus Antigen)"]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Count Confirmed Influenza Patients in Bed Location": Count( "Get Confirmed Patient IDs"( "Encounters", "Influenza Observations" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric Inpatient Influenza Patients Stratifier": if "Pediatric Inpatient Beds Initial Population" then "Count Confirmed Influenza Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "RSV Observations": [Observation: "RSV (Tests for RSV Antigen)"] union [Observation: "RSV (Tests for RSV Nucleic Acid)"]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Count Confirmed RSV Patients in Bed Location": Count( "Get Confirmed Patient IDs"( "Encounters", "RSV Observations" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric ICU RSV Patients Stratifier": if "Pediatric ICU Beds Initial Population" then "Count Confirmed RSV Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and ( LocationIsIPF or LocationIsIRF ) and not LocationIsCHLD````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Stratifiers //COVID_19 define "Adult Inpatient COVID_19 Patients Stratifier": if "Adult Inpatient Beds Initial Population" then "Count Confirmed COVID_19 Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Face Shield Supply in Days Stratifier": GetDayCode( "Face Shield Supply in Days" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Patients": [Patient]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Newly Admitted Encounters": "Encounters" Encounters where Encounters.status in { 'in-progress', 'arrived', 'triaged' }````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Newly Admitted RSV Patient IDs": "Get Confirmed Patient IDs"( "Newly Admitted Encounters", "RSV Observations" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New RSV Patients with Unknown Age Stratifier": Count( "Get Confirmed Patient IDs in Bed Location and Unknown Age"( "Newly Admitted RSV Patient IDs" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Initial Populations define "Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and ( LocationIsIPF or LocationIsIRF or LocationIsCHLD )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied Inpatient Beds Initial Population": "Inpatient Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric ICU COVID_19 Patients Stratifier": if "Pediatric ICU Beds Initial Population" then "Count Confirmed COVID_19 Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Gown Supply in Days Stratifier": GetDayCode( "Gown Supply in Days" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult RSV Patients Between 65 to 74 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted RSV Patient IDs", 65, 74 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult ICU Influenza Patients Stratifier": if "Adult ICU Beds Initial Population" then "Count Confirmed Influenza Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Glove 3 Day Supply Stratifier": if "Glove Supply in Days" > 3 then 'y' else 'n'````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Newly Admitted COVID_19 Patient IDs": "Get Confirmed Patient IDs"( "Newly Admitted Encounters", "COVID_19 Observations" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult COVID_19 Patients Between 50 to 64 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted COVID_19 Patient IDs", 50, 64 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied Adult ICU Beds Initial Population": "Adult ICU Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Influenza define "Adult Inpatient Influenza Patients Stratifier": if "Adult Inpatient Beds Initial Population" then "Count Confirmed Influenza Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric COVID_19 Patients Between 0 to 4 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted COVID_19 Patient IDs" , 0, 4 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric Inpatient RSV Patients Stratifier": if "Pediatric Inpatient Beds Initial Population" then "Count Confirmed RSV Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric RSV Patients Between 0 to 4 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted RSV Patient IDs" , 0, 4 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "N95 Mask Supply in Days": Floor( Count( "Devices" Devices where Devices.type ~ "N95 mask" ) / 10 )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Devices (Supply is divided by average used per day (estimated)) define "N95 Mask Supply in Days Stratifier": GetDayCode( "N95 Mask Supply in Days" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric COVID_19 Patients Between 5 to 17 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted COVID_19 Patient IDs", 5, 17 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult RSV Patients Between 50 to 64 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted RSV Patient IDs", 50, 64 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult COVID_19 Patients Between 65 to 74 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted COVID_19 Patient IDs", 65, 74 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Newly Admitted Influenza Patient IDs": "Get Confirmed Patient IDs"( "Newly Admitted Encounters", "Influenza Observations" )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric Influenza Patients Between 5 to 17 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted Influenza Patient IDs", 5, 17 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "ICU Beds Initial Population": IsBedLocation and ( LocationIsHOSP or LocationIsOTH )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult ICU RSV Patients Stratifier": if "Adult ICU Beds Initial Population" then "Count Confirmed RSV Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult Influenza Patients Between 18 to 49 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted Influenza Patient IDs", 18, 49 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult RSV Patients 75 and Above Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Above Specified Age"( "Newly Admitted RSV Patient IDs", 75 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and LocationIsCHLD and not ( LocationIsIPF or LocationIsIRF )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult Influenza Patients Between 50 to 64 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted Influenza Patient IDs", 50, 64 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric Influenza Patients Between 0 to 4 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted Influenza Patient IDs" , 0, 4 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "N95 Mask 3 Day Supply Stratifier": if "N95 Mask Supply in Days" > 3 then 'y' else 'n'````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//RSV define "Adult Inpatient RSV Patients Stratifier": if "Adult Inpatient Beds Initial Population" then "Count Confirmed RSV Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric ICU Beds Initial Population": IsBedLocation and LocationIsCHLD and ( LocationIsHOSP or LocationIsOTH )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult RSV Patients Between 18 to 49 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted RSV Patient IDs", 18, 49 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied Adult Inpatient Beds Initial Population": "Adult Inpatient Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult COVID_19 Patients Between 18 to 49 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted COVID_19 Patient IDs", 18, 49 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "OR Surgical Mask 3 Day Supply Stratifier": if "OR Surgical Mask Supply in Days" > 3 then 'y' else 'n'````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Adult Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and ( LocationIsIPF or LocationIsIRF ) and not LocationIsCHLD````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "ICU Beds Initial Population": IsBedLocation and ( LocationIsHOSP or LocationIsOTH )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied ICU Beds Initial Population": "ICU Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Influenza Patients with Unknown Age Stratifier": Count( "Get Confirmed Patient IDs in Bed Location and Unknown Age"( "Newly Admitted Influenza Patient IDs" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric ICU Influenza Patients Stratifier": if "Pediatric ICU Beds Initial Population" then "Count Confirmed Influenza Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult Influenza Patients Between 65 to 74 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted Influenza Patient IDs", 65, 74 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Pediatric RSV Patients Between 5 to 17 Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( "Newly Admitted RSV Patient IDs", 5, 17 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Pediatric Inpatient COVID_19 Patients Stratifier": if "Pediatric Inpatient Beds Initial Population" then "Count Confirmed COVID_19 Patients in Bed Location" else 0````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "Occupied Pediatric Inpatient Beds Initial Population": "Pediatric Inpatient Beds Initial Population" and EncounterCheck````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````//Initial Populations define "Inpatient Beds Initial Population": IsBedLocation and LocationIsHOSP and ( LocationIsIPF or LocationIsIRF or LocationIsCHLD )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult COVID_19 Patients 75 and Above Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Above Specified Age"( "Newly Admitted COVID_19 Patient IDs", 75 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New COVID_19 Patients with Unknown Age Stratifier": Count( "Get Confirmed Patient IDs in Bed Location and Unknown Age"( "Newly Admitted COVID_19 Patient IDs" ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define "New Adult Influenza Patients 75 and Above Stratifier": Count( "Get Confirmed Patient IDs in Bed Location Above Specified Age"( "Newly Admitted Influenza Patient IDs", 75 ) )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function GetDayCode(count Integer): case when count = 0 then "0 Days" when count >= 1 and count <= 3 then "1-3 Days" when count >= 4 and count <= 6 then "4-6 Days" when count >= 7 and count <= 14 then "7-14 Days" when count >= 15 and count <= 30 then "15-30 Days" when count > 30 then ">30 Days" else null end````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToConcept(concept FHIR.CodeableConcept): if concept is null then null else System.Concept { codes: concept.coding C return ToCode(C), display: concept.text.value }````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````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 }````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````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]````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "Get Confirmed Patient IDs"( Encounters List<FHIR.Encounter>, Observations List<FHIR.Observation> ): Distinct( Encounters Encounter where exists( Observations Labs where exists( Labs.category category where category ~ "laboratory" ) and Encounter.subject = Labs.subject and Labs.value ~ "detected" and "Normalize Interval"( Labs.effective ) overlaps Encounter.period ) return Encounter.subject )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "Normalize Interval"( choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant> ): case when choice is FHIR.dateTime then Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)] when choice is FHIR.Period then FHIRHelpers.ToInterval(choice as FHIR.Period) when choice is FHIR.instant then Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)] when choice is FHIR.Timing then Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type') else null as Interval<DateTime> end````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToDateTime(value dateTime): value.value````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToDateTime(value instant): value.value````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "Get Confirmed Patient IDs in Bed Location and Unknown Age"( PatientIDs List<FHIR.Reference> ): PatientIDs PatientID where exists( "Patients" Patients where Patients.id = GetId( PatientID.reference ) and Patients.birthDate = null )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToString(value string): value.value````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "GetId"( uri String ): Last(Split(uri, '/'))````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToString(value EncounterStatus): value.value````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "Get Confirmed Patient IDs in Bed Location Between Specified Ages"( PatientIDs List<FHIR.Reference>, low System.Integer, high System.Integer ): PatientIDs PatientID where exists( "Patients" Patients let PatientAge: CalculateAgeInYearsAt( Patients.birthDate, start of "Measurement Period" ) where Patients.id = GetId( PatientID.reference ) and PatientAge >= low and PatientAge <= high )````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**FHIRHelpers
* Knowledge Artifact Metadata: ````define function ToDate(value date): value.value````
* Knowledge Artifact Metadata:  Logic Definition
  * ?: **Library Name:**HRDMeasure
* Knowledge Artifact Metadata: ````define function "Get Confirmed Patient IDs in Bed Location Above Specified Age"( PatientIDs List<FHIR.Reference>, age System.Integer ): PatientIDs PatientID where exists( "Patients" Patients let PatientAge: CalculateAgeInYearsAt( Patients.birthDate, start of "Measurement Period" ) where Patients.id = GetId( PatientID.reference ) and PatientAge >= age )````
* Knowledge Artifact Metadata: Generated using version 0.4.6 of the sample-content-ig Liquid templates



## Resource Content

```json
{
  "resourceType" : "Measure",
  "id" : "HRDMeasureExample",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"]
  },
  "contained" : [{
    "resourceType" : "Library",
    "id" : "effective-data-requirements",
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P0D--0D",
        "display" : "0 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P1D--3D",
        "display" : "1-3 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P4D--6D",
        "display" : "4-6 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P7D--14D",
        "display" : "7-14 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P15D--30D",
        "display" : "15-30 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/time-period-ranges",
        "code" : "P30D--9999D",
        "display" : "0 DAYS"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "409528009",
        "display" : "Surgical face mask (physical object)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code" : "bd",
        "display" : "Bed"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes",
        "code" : "CHLD",
        "display" : "Children's or Pediatric"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes",
        "code" : "HOSP",
        "display" : "Hospital"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes",
        "code" : "OTH",
        "display" : "Other facility-within-facility or subunit"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "1141676007",
        "display" : "Patient gown (physical object)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "laboratory",
        "display" : "Laboratory"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "260373001",
        "display" : "Detected"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "462245005",
        "display" : "Nitrile surgical glove, powdered (physical object)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "706724001",
        "display" : "Face shield (physical object)"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes",
        "code" : "IPF",
        "display" : "Inpatient Psychiatric"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes",
        "code" : "IRF",
        "display" : "Inpatient Rehabilitation"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding" : {
        "system" : "http://snomed.info/sct",
        "code" : "409533008",
        "display" : "Air-purifying respirator (physical object)"
      }
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Devices"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Devices\":   [Device]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 0
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "OR Surgical Mask Supply in Days"
      },
      {
        "url" : "statement",
        "valueString" : "define \"OR Surgical Mask Supply in Days\":   Floor( Count(     \"Devices\" Devices     where Devices.type ~ \"Surgical mask\"   ) / 10 )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "OR Surgical Mask Supply in Days Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"OR Surgical Mask Supply in Days Stratifier\":   GetDayCode( \"OR Surgical Mask Supply in Days\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 2
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "IsBedLocation"
      },
      {
        "url" : "statement",
        "valueString" : "define \"IsBedLocation\":   Location.physicalType ~ \"Bed\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 3
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "LocationIsCHLD"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LocationIsCHLD\":   exists(     Location.type types     where types ~ \"CHLD\"   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 4
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "LocationIsHOSP"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LocationIsHOSP\":   exists(     Location.type types     where types ~ \"HOSP\"   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 5
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "LocationIsOTH"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LocationIsOTH\":   exists(     Location.type types     where types ~ \"OTH\"   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 6
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric ICU Beds Initial Population\":   IsBedLocation   and LocationIsCHLD   and (     LocationIsHOSP     or LocationIsOTH   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 7
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Encounters"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Encounters\":   [Encounter]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 8
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "EncounterCheck"
      },
      {
        "url" : "statement",
        "valueString" : "define \"EncounterCheck\":   exists(\"Encounters\" Encounters   where Encounters.period overlaps \"Measurement Period\")"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 9
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied Pediatric ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied Pediatric ICU Beds Initial Population\":   \"Pediatric ICU Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 10
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult ICU Beds Initial Population\":   IsBedLocation   and (     LocationIsHOSP     or LocationIsOTH   )   and not LocationIsCHLD"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 11
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Gown Supply in Days"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Gown Supply in Days\":   Floor( Count(     \"Devices\" Devices     where Devices.type ~ \"Patient gown\"   ) / 5 )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 12
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Gown 3 Day Supply Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Gown 3 Day Supply Stratifier\":   if \"Gown Supply in Days\" > 3 then 'y'   else 'n'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 13
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult ICU Beds Initial Population\":   IsBedLocation   and (     LocationIsHOSP     or LocationIsOTH   )   and not LocationIsCHLD"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 14
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "COVID_19 Observations"
      },
      {
        "url" : "statement",
        "valueString" : "//Functions and Helpers define \"COVID_19 Observations\":   [Observation: \"COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)\"]      union [Observation: \"COVID_19 (Tests for SARS_CoV_2 Antigen)\"]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 15
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Count Confirmed COVID_19 Patients in Bed Location"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Count Confirmed COVID_19 Patients in Bed Location\":   Count(     \"Get Confirmed Patient IDs\"( \"Encounters\", \"COVID_19 Observations\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 16
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult ICU COVID_19 Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult ICU COVID_19 Patients Stratifier\":   if \"Adult ICU Beds Initial Population\" then     \"Count Confirmed COVID_19 Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 17
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Glove Supply in Days"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Glove Supply in Days\":   Floor( Count(     \"Devices\" Devices     where Devices.type ~ \"Surgical glove\"   ) / 15 )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 18
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Glove Supply in Days Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Glove Supply in Days Stratifier\":   GetDayCode( \"Glove Supply in Days\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 19
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Face Shield Supply in Days"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Face Shield Supply in Days\":   Floor( Count(     \"Devices\" Devices     where Devices.type ~ \"Face shield\"   ) / 10 )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 20
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Face Shield 3 Day Supply Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Face Shield 3 Day Supply Stratifier\":   if \"Face Shield Supply in Days\" > 3 then 'y'   else 'n'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 21
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "LocationIsIPF"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LocationIsIPF\":   exists(     Location.type types     where types ~ \"IPF\"   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 22
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "LocationIsIRF"
      },
      {
        "url" : "statement",
        "valueString" : "define \"LocationIsIRF\":   exists(     Location.type types     where types ~ \"IRF\"   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 23
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and LocationIsCHLD   and not (     LocationIsIPF     or LocationIsIRF   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 24
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Influenza Observations"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Influenza Observations\":   [Observation: \"Influenza (Tests for influenza A or B virus Nucleic Acid)\"]      union [Observation: \"Influenza (Tests for influenza A or B virus Antigen)\"]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 25
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Count Confirmed Influenza Patients in Bed Location"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Count Confirmed Influenza Patients in Bed Location\":   Count(     \"Get Confirmed Patient IDs\"( \"Encounters\", \"Influenza Observations\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 26
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric Inpatient Influenza Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric Inpatient Influenza Patients Stratifier\":   if \"Pediatric Inpatient Beds Initial Population\" then     \"Count Confirmed Influenza Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 27
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "RSV Observations"
      },
      {
        "url" : "statement",
        "valueString" : "define \"RSV Observations\":   [Observation: \"RSV (Tests for RSV Antigen)\"]      union [Observation: \"RSV (Tests for RSV Nucleic Acid)\"]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 28
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Count Confirmed RSV Patients in Bed Location"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Count Confirmed RSV Patients in Bed Location\":   Count(     \"Get Confirmed Patient IDs\"( \"Encounters\", \"RSV Observations\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 29
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric ICU RSV Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric ICU RSV Patients Stratifier\":   if \"Pediatric ICU Beds Initial Population\" then     \"Count Confirmed RSV Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 30
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and (     LocationIsIPF     or LocationIsIRF   )   and not LocationIsCHLD"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 31
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult Inpatient COVID_19 Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "//Stratifiers //COVID_19 define \"Adult Inpatient COVID_19 Patients Stratifier\":   if \"Adult Inpatient Beds Initial Population\" then     \"Count Confirmed COVID_19 Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 32
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Face Shield Supply in Days Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Face Shield Supply in Days Stratifier\":   GetDayCode( \"Face Shield Supply in Days\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 33
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Patients"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Patients\":   [Patient]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 34
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Newly Admitted Encounters"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Newly Admitted Encounters\":   \"Encounters\" Encounters   where Encounters.status in { 'in-progress', 'arrived', 'triaged' }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 35
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Newly Admitted RSV Patient IDs"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Newly Admitted RSV Patient IDs\":   \"Get Confirmed Patient IDs\"( \"Newly Admitted Encounters\", \"RSV Observations\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 36
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New RSV Patients with Unknown Age Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New RSV Patients with Unknown Age Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location and Unknown Age\"( \"Newly Admitted RSV Patient IDs\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 37
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "//Initial Populations define \"Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and (     LocationIsIPF     or LocationIsIRF     or LocationIsCHLD   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 38
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied Inpatient Beds Initial Population\":   \"Inpatient Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 39
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric ICU COVID_19 Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric ICU COVID_19 Patients Stratifier\":   if \"Pediatric ICU Beds Initial Population\" then     \"Count Confirmed COVID_19 Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 40
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Gown Supply in Days Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Gown Supply in Days Stratifier\":   GetDayCode( \"Gown Supply in Days\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 41
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult RSV Patients Between 65 to 74 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult RSV Patients Between 65 to 74 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted RSV Patient IDs\", 65, 74 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 42
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult ICU Influenza Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult ICU Influenza Patients Stratifier\":   if \"Adult ICU Beds Initial Population\" then     \"Count Confirmed Influenza Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 43
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Glove 3 Day Supply Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Glove 3 Day Supply Stratifier\":   if \"Glove Supply in Days\" > 3 then 'y'   else 'n'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 44
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Newly Admitted COVID_19 Patient IDs"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Newly Admitted COVID_19 Patient IDs\":   \"Get Confirmed Patient IDs\"( \"Newly Admitted Encounters\", \"COVID_19 Observations\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 45
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult COVID_19 Patients Between 50 to 64 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult COVID_19 Patients Between 50 to 64 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted COVID_19 Patient IDs\", 50, 64 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 46
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied Adult ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied Adult ICU Beds Initial Population\":   \"Adult ICU Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 47
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult Inpatient Influenza Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "//Influenza define \"Adult Inpatient Influenza Patients Stratifier\":   if \"Adult Inpatient Beds Initial Population\" then     \"Count Confirmed Influenza Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 48
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric COVID_19 Patients Between 0 to 4 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric COVID_19 Patients Between 0 to 4 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted COVID_19 Patient IDs\" , 0, 4 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 49
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric Inpatient RSV Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric Inpatient RSV Patients Stratifier\":   if \"Pediatric Inpatient Beds Initial Population\" then     \"Count Confirmed RSV Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 50
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric RSV Patients Between 0 to 4 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric RSV Patients Between 0 to 4 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted RSV Patient IDs\" , 0, 4 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 51
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "N95 Mask Supply in Days"
      },
      {
        "url" : "statement",
        "valueString" : "define \"N95 Mask Supply in Days\":   Floor( Count(     \"Devices\" Devices     where Devices.type ~ \"N95 mask\"   ) / 10 )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 52
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "N95 Mask Supply in Days Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "//Devices (Supply is divided by average used per day (estimated)) define \"N95 Mask Supply in Days Stratifier\":   GetDayCode( \"N95 Mask Supply in Days\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 53
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric COVID_19 Patients Between 5 to 17 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric COVID_19 Patients Between 5 to 17 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted COVID_19 Patient IDs\", 5, 17 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 54
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult RSV Patients Between 50 to 64 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult RSV Patients Between 50 to 64 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted RSV Patient IDs\", 50, 64 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 55
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult COVID_19 Patients Between 65 to 74 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult COVID_19 Patients Between 65 to 74 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted COVID_19 Patient IDs\", 65, 74 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 56
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Newly Admitted Influenza Patient IDs"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Newly Admitted Influenza Patient IDs\":   \"Get Confirmed Patient IDs\"( \"Newly Admitted Encounters\", \"Influenza Observations\" )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 57
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric Influenza Patients Between 5 to 17 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric Influenza Patients Between 5 to 17 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted Influenza Patient IDs\", 5, 17 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 58
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"ICU Beds Initial Population\":   IsBedLocation   and (     LocationIsHOSP     or LocationIsOTH   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 59
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult ICU RSV Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult ICU RSV Patients Stratifier\":   if \"Adult ICU Beds Initial Population\" then     \"Count Confirmed RSV Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 60
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult Influenza Patients Between 18 to 49 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult Influenza Patients Between 18 to 49 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted Influenza Patient IDs\", 18, 49 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 61
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult RSV Patients 75 and Above Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult RSV Patients 75 and Above Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Above Specified Age\"( \"Newly Admitted RSV Patient IDs\", 75 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 62
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and LocationIsCHLD   and not (     LocationIsIPF     or LocationIsIRF   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 63
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult Influenza Patients Between 50 to 64 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult Influenza Patients Between 50 to 64 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted Influenza Patient IDs\", 50, 64 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 64
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric Influenza Patients Between 0 to 4 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric Influenza Patients Between 0 to 4 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted Influenza Patient IDs\" , 0, 4 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 65
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "N95 Mask 3 Day Supply Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"N95 Mask 3 Day Supply Stratifier\":   if \"N95 Mask Supply in Days\" > 3 then 'y'   else 'n'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 66
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult Inpatient RSV Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "//RSV define \"Adult Inpatient RSV Patients Stratifier\":   if \"Adult Inpatient Beds Initial Population\" then     \"Count Confirmed RSV Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 67
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric ICU Beds Initial Population\":   IsBedLocation   and LocationIsCHLD   and (     LocationIsHOSP     or LocationIsOTH   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 68
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult RSV Patients Between 18 to 49 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult RSV Patients Between 18 to 49 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted RSV Patient IDs\", 18, 49 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 69
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied Adult Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied Adult Inpatient Beds Initial Population\":   \"Adult Inpatient Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 70
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult COVID_19 Patients Between 18 to 49 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult COVID_19 Patients Between 18 to 49 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted COVID_19 Patient IDs\", 18, 49 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 71
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "OR Surgical Mask 3 Day Supply Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"OR Surgical Mask 3 Day Supply Stratifier\":   if \"OR Surgical Mask Supply in Days\" > 3 then 'y'   else 'n'"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 72
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Adult Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Adult Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and (     LocationIsIPF     or LocationIsIRF   )   and not LocationIsCHLD"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 73
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"ICU Beds Initial Population\":   IsBedLocation   and (     LocationIsHOSP     or LocationIsOTH   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 74
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied ICU Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied ICU Beds Initial Population\":   \"ICU Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 75
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Influenza Patients with Unknown Age Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Influenza Patients with Unknown Age Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location and Unknown Age\"( \"Newly Admitted Influenza Patient IDs\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 76
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric ICU Influenza Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric ICU Influenza Patients Stratifier\":   if \"Pediatric ICU Beds Initial Population\" then     \"Count Confirmed Influenza Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 77
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult Influenza Patients Between 65 to 74 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult Influenza Patients Between 65 to 74 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted Influenza Patient IDs\", 65, 74 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 78
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Pediatric RSV Patients Between 5 to 17 Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Pediatric RSV Patients Between 5 to 17 Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( \"Newly Admitted RSV Patient IDs\", 5, 17 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 79
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Pediatric Inpatient COVID_19 Patients Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Pediatric Inpatient COVID_19 Patients Stratifier\":   if \"Pediatric Inpatient Beds Initial Population\" then     \"Count Confirmed COVID_19 Patients in Bed Location\"   else 0"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 80
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Occupied Pediatric Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "define \"Occupied Pediatric Inpatient Beds Initial Population\":   \"Pediatric Inpatient Beds Initial Population\"   and EncounterCheck"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 81
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Inpatient Beds Initial Population"
      },
      {
        "url" : "statement",
        "valueString" : "//Initial Populations define \"Inpatient Beds Initial Population\":   IsBedLocation   and LocationIsHOSP   and (     LocationIsIPF     or LocationIsIRF     or LocationIsCHLD   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 82
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult COVID_19 Patients 75 and Above Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult COVID_19 Patients 75 and Above Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Above Specified Age\"( \"Newly Admitted COVID_19 Patient IDs\", 75 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 83
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New COVID_19 Patients with Unknown Age Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New COVID_19 Patients with Unknown Age Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location and Unknown Age\"( \"Newly Admitted COVID_19 Patient IDs\" )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 84
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "New Adult Influenza Patients 75 and Above Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "define \"New Adult Influenza Patients 75 and Above Stratifier\":   Count(     \"Get Confirmed Patient IDs in Bed Location Above Specified Age\"( \"Newly Admitted Influenza Patient IDs\", 75 )   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 85
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "GetDayCode"
      },
      {
        "url" : "statement",
        "valueString" : "define function GetDayCode(count Integer):   case     when count = 0 then \"0 Days\"     when count >= 1 and count <= 3 then \"1-3 Days\"     when count >= 4 and count <= 6 then \"4-6 Days\"     when count >= 7 and count <= 14 then \"7-14 Days\"     when count >= 15 and count <= 30 then \"15-30 Days\"     when count > 30 then \">30 Days\"     else null   end"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 86
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToConcept"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 87
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToCode"
      },
      {
        "url" : "statement",
        "valueString" : "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         }"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 88
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToInterval"
      },
      {
        "url" : "statement",
        "valueString" : "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]"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 89
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Get Confirmed Patient IDs"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"Get Confirmed Patient IDs\"( Encounters List<FHIR.Encounter>, Observations List<FHIR.Observation> ):   Distinct(     Encounters Encounter     where exists(       Observations Labs       where exists(         Labs.category category         where category ~ \"laboratory\"       )       and Encounter.subject = Labs.subject       and Labs.value ~ \"detected\"       and \"Normalize Interval\"( Labs.effective ) overlaps Encounter.period     )     return Encounter.subject   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 90
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Normalize Interval"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"Normalize Interval\"( choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant> ):   case    when choice is FHIR.dateTime then      Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]   when choice is FHIR.Period then     FHIRHelpers.ToInterval(choice as FHIR.Period)   when choice is FHIR.instant then    Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]   when choice is FHIR.Timing then     Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')   else    null as Interval<DateTime>  end"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 91
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToDateTime"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToDateTime(value dateTime): value.value"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 92
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToDateTime"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToDateTime(value instant): value.value"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 93
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Get Confirmed Patient IDs in Bed Location and Unknown Age"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"Get Confirmed Patient IDs in Bed Location and Unknown Age\"( PatientIDs List<FHIR.Reference> ):   PatientIDs PatientID   where exists(     \"Patients\" Patients     where Patients.id = GetId( PatientID.reference )     and Patients.birthDate = null   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 94
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToString"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToString(value string): value.value"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 95
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "GetId"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"GetId\"( uri String ):   Last(Split(uri, '/'))"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 96
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToString"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToString(value EncounterStatus): value.value"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 97
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Get Confirmed Patient IDs in Bed Location Between Specified Ages"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"Get Confirmed Patient IDs in Bed Location Between Specified Ages\"( PatientIDs List<FHIR.Reference>, low System.Integer, high System.Integer ):   PatientIDs PatientID   where exists(     \"Patients\" Patients     let PatientAge: CalculateAgeInYearsAt( Patients.birthDate, start of \"Measurement Period\" )     where Patients.id = GetId( PatientID.reference )     and PatientAge >= low     and PatientAge <= high   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 98
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "FHIRHelpers"
      },
      {
        "url" : "name",
        "valueString" : "ToDate"
      },
      {
        "url" : "statement",
        "valueString" : "define function ToDate(value date): value.value"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 99
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "HRDMeasure"
      },
      {
        "url" : "name",
        "valueString" : "Get Confirmed Patient IDs in Bed Location Above Specified Age"
      },
      {
        "url" : "statement",
        "valueString" : "define function \"Get Confirmed Patient IDs in Bed Location Above Specified Age\"( PatientIDs List<FHIR.Reference>, age System.Integer ):   PatientIDs PatientID   where exists(     \"Patients\" Patients     let PatientAge: CalculateAgeInYearsAt( Patients.birthDate, start of \"Measurement Period\" )     where Patients.id = GetId( PatientID.reference )     and PatientAge >= age   )"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 100
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    }],
    "name" : "EffectiveDataRequirements",
    "status" : "active",
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/library-type",
        "code" : "module-definition"
      }]
    },
    "relatedArtifact" : [{
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
    },
    {
      "type" : "depends-on",
      "display" : "Code system Time Period Ranges",
      "resource" : "http://terminology.hl7.org/CodeSystem/time-period-ranges"
    },
    {
      "type" : "depends-on",
      "display" : "Code system SNOMEDCT",
      "resource" : "http://snomed.info/sct"
    },
    {
      "type" : "depends-on",
      "display" : "Code system LocationPhysicalType",
      "resource" : "http://terminology.hl7.org/CodeSystem/location-physical-type|2.0.1"
    },
    {
      "type" : "depends-on",
      "display" : "Code system HealthcareCapacity",
      "resource" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"
    },
    {
      "type" : "depends-on",
      "display" : "Code system Observation Category",
      "resource" : "http://terminology.hl7.org/CodeSystem/observation-category|2.0.0"
    },
    {
      "type" : "depends-on",
      "display" : "Value set COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142|20250218"
    },
    {
      "type" : "depends-on",
      "display" : "Value set COVID_19 (Tests for SARS_CoV_2 Antigen)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158|20240123"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Influenza (Tests for influenza A or B virus Nucleic Acid)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336|20250218"
    },
    {
      "type" : "depends-on",
      "display" : "Value set Influenza (Tests for influenza A or B virus Antigen)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"
    },
    {
      "type" : "depends-on",
      "display" : "Value set RSV (Tests for RSV Antigen)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"
    },
    {
      "type" : "depends-on",
      "display" : "Value set RSV (Tests for RSV Nucleic Acid)",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312|20250218"
    }],
    "parameter" : [{
      "name" : "Measurement Period",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Period"
    },
    {
      "name" : "OR Surgical Mask Supply in Days Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "Occupied Pediatric ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Gown 3 Day Supply Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "Adult ICU COVID_19 Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Glove Supply in Days Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "Face Shield 3 Day Supply Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "Pediatric Inpatient Influenza Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric ICU RSV Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Adult Inpatient COVID_19 Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Face Shield Supply in Days Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "New RSV Patients with Unknown Age Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Occupied Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Pediatric ICU COVID_19 Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Gown Supply in Days Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "New Adult RSV Patients Between 65 to 74 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Adult ICU Influenza Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Glove 3 Day Supply Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "New Adult COVID_19 Patients Between 50 to 64 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Occupied Adult ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Inpatient Influenza Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Pediatric COVID_19 Patients Between 0 to 4 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric Inpatient RSV Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Pediatric RSV Patients Between 0 to 4 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "N95 Mask Supply in Days Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "New Pediatric COVID_19 Patients Between 5 to 17 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult RSV Patients Between 50 to 64 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult COVID_19 Patients Between 65 to 74 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Pediatric Influenza Patients Between 5 to 17 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICU RSV Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult Influenza Patients Between 18 to 49 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult RSV Patients 75 and Above Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "New Adult Influenza Patients Between 50 to 64 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Pediatric Influenza Patients Between 0 to 4 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "N95 Mask 3 Day Supply Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "Adult Inpatient RSV Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "New Adult RSV Patients Between 18 to 49 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Occupied Adult Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "New Adult COVID_19 Patients Between 18 to 49 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "OR Surgical Mask 3 Day Supply Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "Adult Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Occupied ICU Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "New Influenza Patients with Unknown Age Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric ICU Influenza Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult Influenza Patients Between 65 to 74 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Pediatric RSV Patients Between 5 to 17 Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Pediatric Inpatient COVID_19 Patients Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "Occupied Pediatric Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Inpatient Beds Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "New Adult COVID_19 Patients 75 and Above Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New COVID_19 Patients with Unknown Age Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    },
    {
      "name" : "New Adult Influenza Patients 75 and Above Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "integer"
    }],
    "dataRequirement" : [{
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"]
    },
    {
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"],
      "mustSupport" : ["type"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"],
      "mustSupport" : ["period"]
    },
    {
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"],
      "mustSupport" : ["type"]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142|20250218"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158|20240123"
      }]
    },
    {
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"],
      "mustSupport" : ["type"]
    },
    {
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"],
      "mustSupport" : ["type"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Location",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336|20250218"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"
      }]
    },
    {
      "type" : "Observation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Observation"],
      "mustSupport" : ["code"],
      "codeFilter" : [{
        "path" : "code",
        "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312|20250218"
      }]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Patient"],
      "mustSupport" : ["id", "birthDate"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"],
      "mustSupport" : ["status"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Patient"],
      "mustSupport" : ["birthDate", "id"]
    },
    {
      "type" : "Device",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Device"],
      "mustSupport" : ["type"]
    },
    {
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Patient"],
      "mustSupport" : ["birthDate", "id"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"],
      "mustSupport" : ["status"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"],
      "mustSupport" : ["status"]
    },
    {
      "type" : "Encounter",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"],
      "mustSupport" : ["status"]
    }]
  }],
  "extension" : [{
    "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis",
    "valueCode" : "boolean"
  },
  {
    "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
    "valueReference" : {
      "reference" : "Device/cqf-tooling"
    }
  },
  {
    "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
    "valueCanonical" : "#effective-data-requirements"
  }],
  "url" : "http://hl7.org/fhir/us/safr/Measure/HRDMeasureExample",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.53.29.6"
  }],
  "version" : "1.0.0",
  "name" : "HRDMeasureExample",
  "title" : "HRD Measure",
  "status" : "draft",
  "experimental" : true,
  "date" : "2026-03-24T16:44:43-04:00",
  "publisher" : "HL7 International / Public Health",
  "contact" : [{
    "name" : "HL7 International / Public Health",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pher"
    }]
  }],
  "description" : "Hospital Respiratory Data Measure Example",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US",
      "display" : "United States of America"
    }]
  }],
  "library" : ["http://hl7.org/fhir/us/safr/Library/HRDMeasure"],
  "scoring" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
      "code" : "cohort",
      "display" : "Cohort"
    }]
  },
  "group" : [{
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBeds"
      }]
    },
    "population" : [{
      "id" : "d2e4301",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Inpatient Beds Initial Population"
      }
    }],
    "stratifier" : [{
      "id" : "unknownC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmUnk"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New COVID_19 Patients with Unknown Age Stratifier"
      }
    },
    {
      "id" : "unknownFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmUnk"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Influenza Patients with Unknown Age Stratifier"
      }
    },
    {
      "id" : "unknownRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmUnk"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New RSV Patients with Unknown Age Stratifier"
      }
    },
    {
      "id" : "n95-3day",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "N95Mask3DaySupply"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "N95 Mask 3 Day Supply Stratifier"
      }
    },
    {
      "id" : "n95Mask",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "N95MaskSupplyDays"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "N95 Mask Supply in Days Stratifier"
      }
    },
    {
      "id" : "or-surgical-mask-3day",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "surgMask3DaySupply"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "OR Surgical Mask 3 Day Supply Stratifier"
      }
    },
    {
      "id" : "orSurgMask",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "surgMaskSupplyDays"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "OR Surgical Mask Supply in Days Stratifier"
      }
    },
    {
      "id" : "face-shield-3-day",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "shield3DaySupply"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Face Shield 3 Day Supply Stratifier"
      }
    },
    {
      "id" : "faceShield",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "shieldSupplyDays"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Face Shield Supply in Days Stratifier"
      }
    },
    {
      "id" : "gown-3-day",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "gown3DaySupply"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Gown 3 Day Supply Stratifier"
      }
    },
    {
      "id" : "gown",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "gownSupplyDays"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Gown Supply in Days Stratifier"
      }
    },
    {
      "id" : "glove-3-day",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "glove3DaySupply"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Glove 3 Day Supply Stratifier"
      }
    },
    {
      "id" : "glove",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "gloveSupplyDays"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Glove Supply in Days Stratifier"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBedsOcc"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied Inpatient Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBedsAdult"
      }]
    },
    "population" : [{
      "id" : "d2e4301-adult-inpatient",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult Inpatient Beds Initial Population"
      }
    }],
    "stratifier" : [{
      "id" : "adultInpC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19HospPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult Inpatient COVID_19 Patients Stratifier"
      }
    },
    {
      "id" : "adultInpFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluHospPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult Inpatient Influenza Patients Stratifier"
      }
    },
    {
      "id" : "adultInpRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVHospPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult Inpatient RSV Patients Stratifier"
      }
    },
    {
      "id" : "adult18to49C19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmAdult18to49"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult COVID_19 Patients Between 18 to 49 Stratifier"
      }
    },
    {
      "id" : "adult50to64C19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmAdult50to64"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult COVID_19 Patients Between 50 to 64 Stratifier"
      }
    },
    {
      "id" : "adult65to74C19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmAdult65to74"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult COVID_19 Patients Between 65 to 74 Stratifier"
      }
    },
    {
      "id" : "adult75andUpC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmAdult75plus"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult COVID_19 Patients 75 and Above Stratifier"
      }
    },
    {
      "id" : "adult18to49Flu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmAdult18to49"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult Influenza Patients Between 18 to 49 Stratifier"
      }
    },
    {
      "id" : "adult50to64Flu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmAdult50to64"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult Influenza Patients Between 50 to 64 Stratifier"
      }
    },
    {
      "id" : "adult65to74Flu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmAdult65to74"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult Influenza Patients Between 65 to 74 Stratifier"
      }
    },
    {
      "id" : "adult75andUpFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmAdult75plus"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult Influenza Patients 75 and Above Stratifier"
      }
    },
    {
      "id" : "adult18to49Rsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmAdult18to49"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult RSV Patients Between 18 to 49 Stratifier"
      }
    },
    {
      "id" : "adult50to64Rsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmAdult50to64"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult RSV Patients Between 50 to 64 Stratifier"
      }
    },
    {
      "id" : "adult65to74Rsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmAdult65to74"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult RSV Patients Between 65 to 74 Stratifier"
      }
    },
    {
      "id" : "adult75andUpRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmAdult75plus"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Adult RSV Patients 75 and Above Stratifier"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBedsOccAdult"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied-adult-inpatient",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied Adult Inpatient Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBedsPed"
      }]
    },
    "population" : [{
      "id" : "d2e4301-ped-inpatient",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric Inpatient Beds Initial Population"
      }
    }],
    "stratifier" : [{
      "id" : "pedInpC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19HospPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric Inpatient COVID_19 Patients Stratifier"
      }
    },
    {
      "id" : "pedInpFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluHospPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric Inpatient Influenza Patients Stratifier"
      }
    },
    {
      "id" : "pedInpRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVHospPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric Inpatient RSV Patients Stratifier"
      }
    },
    {
      "id" : "ped0to4C19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmPed0to4"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric COVID_19 Patients Between 0 to 4 Stratifier"
      }
    },
    {
      "id" : "ped5to17C19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19NewAdmPed5to17"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric COVID_19 Patients Between 5 to 17 Stratifier"
      }
    },
    {
      "id" : "ped0to4Flu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmPed0to4"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric Influenza Patients Between 0 to 4 Stratifier"
      }
    },
    {
      "id" : "ped5to17Flu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluNewAdmPed5to17"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric Influenza Patients Between 5 to 17 Stratifier"
      }
    },
    {
      "id" : "ped0to4Rsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmPed0to4"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric RSV Patients Between 0 to 4 Stratifier"
      }
    },
    {
      "id" : "ped5to17Rsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVNewAdmPed5to17"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "New Pediatric RSV Patients Between 5 to 17 Stratifier"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numInPtBedsOccPed"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied-ped-inpatient",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied Pediatric Inpatient Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBeds"
      }]
    },
    "population" : [{
      "id" : "d2e4301-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "ICU Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBedsOcc"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied ICU Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBedsAdult"
      }]
    },
    "population" : [{
      "id" : "d2e4301-adult-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult ICU Beds Initial Population"
      }
    }],
    "stratifier" : [{
      "id" : "adultIcuC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19ICUPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult ICU COVID_19 Patients Stratifier"
      }
    },
    {
      "id" : "adultIcuFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluICUPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult ICU Influenza Patients Stratifier"
      }
    },
    {
      "id" : "adultIcuRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVICUPatsAdult"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Adult ICU RSV Patients Stratifier"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBedsOccAdult"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied-adult-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied Adult ICU Beds Initial Population"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBedsPed"
      }]
    },
    "population" : [{
      "id" : "d2e4301-ped-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric ICU Beds Initial Population"
      }
    }],
    "stratifier" : [{
      "id" : "pedIcuC19",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfC19ICUPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric ICU COVID_19 Patients Stratifier"
      }
    },
    {
      "id" : "pedIcuFlu",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfFluICUPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric ICU Influenza Patients Stratifier"
      }
    },
    {
      "id" : "pedIcuRsv",
      "code" : {
        "coding" : [{
          "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
          "code" : "numConfRSVICUPatsPed"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Pediatric ICU RSV Patients Stratifier"
      }
    }]
  },
  {
    "code" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/safr/CodeSystem/us-safr-hrd-example-codes",
        "code" : "numICUBedsOccPed"
      }]
    },
    "population" : [{
      "id" : "d2e4301-occupied-ped-icu",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population",
          "display" : "Initial Population"
        }]
      },
      "criteria" : {
        "language" : "text/cql-identifier",
        "expression" : "Occupied Pediatric ICU Beds Initial Population"
      }
    }]
  }]
}

```
