US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide
1.0.0 - STU 1

US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide - Downloaded Version 1.0.0 See the Directory of published versions

## Example Bundle: Bundle - US SAFR Measure Bundle Example

Profile: US SAFR Measure Bundle

Bundle USSAFRMeasureBundleExample of type collection

Entry 1 - fullUrl = http://hl7.org/fhir/us/safr/Measure/BedCapacityMeasureExample

Resource Measure:

> Knowledge Artifact Metadata
> Name (machine-readable) | BedCapacityMeasureExample
> Title (human-readable) | Bed Capacity Measure Example
> Status | Draft
> Experimental | true
> Description | Bed Capacity Measure Example includes counts of specific bed types within the context of a given healthcare context or setting.
> Measure Steward | HL7 International / Public Health
> Measure Metadata
> Version Number | 1.0.0
> Measure Scoring | Cohort
> Population Basis | boolean
> Measure Population Criteria
> Initial Population | ID: d2e4301 Description: No description provided Logic Definition: All Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4378 Description: No description provided Logic Definition: All Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4455 Description: No description provided Logic Definition: Adult Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4533 Description: No description provided Logic Definition: Adult Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4610 Description: No description provided Logic Definition: Adult ICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4687 Description: No description provided Logic Definition: Adult ICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4764 Description: No description provided Logic Definition: Adult ICULOC Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4918 Description: No description provided Logic Definition: Adult NonICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e4996 Description: No description provided Logic Definition: Adult NonICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5073 Description: No description provided Logic Definition: Adult PCU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5150 Description: No description provided Logic Definition: Adult PCU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5227 Description: No description provided Logic Definition: Adult MTMS Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5304 Description: No description provided Logic Definition: Adult MTMS Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5381 Description: No description provided Logic Definition: Adult Obs Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5459 Description: No description provided Logic Definition: Adult Obs Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5536 Description: No description provided Logic Definition: Peds Total Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5613 Description: No description provided Logic Definition: Peds Total Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5690 Description: No description provided Logic Definition: Peds ICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5767 Description: No description provided Logic Definition: Peds ICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5844 Description: No description provided Logic Definition: Peds ICULOC Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e5999 Description: No description provided Logic Definition: Peds NonICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6076 Description: No description provided Logic Definition: Peds NonICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6153 Description: No description provided Logic Definition: Peds PCU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6230 Description: No description provided Logic Definition: Peds PCU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6307 Description: No description provided Logic Definition: Peds MTMS Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6385 Description: No description provided Logic Definition: Peds MTMS Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6462 Description: No description provided Logic Definition: Peds Obs Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6539 Description: No description provided Logic Definition: Peds Obs Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6616 Description: No description provided Logic Definition: Specialty Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6693 Description: No description provided Logic Definition: Specialty Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6770 Description: No description provided Logic Definition: Specialty NonCrib Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6848 Description: No description provided Logic Definition: Specialty NonCrib Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e6925 Description: No description provided Logic Definition: OB Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7002 Description: No description provided Logic Definition: OB Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7079 Description: No description provided Logic Definition: NICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7156 Description: No description provided Logic Definition: NICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7233 Description: No description provided Logic Definition: NICU4 Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7311 Description: No description provided Logic Definition: NICU4 Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7388 Description: No description provided Logic Definition: NICU3Plus Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7465 Description: No description provided Logic Definition: NICU3Plus Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7542 Description: No description provided Logic Definition: NICU3 Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7619 Description: No description provided Logic Definition: NICU3 Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7696 Description: No description provided Logic Definition: NICU2 Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7774 Description: No description provided Logic Definition: NICU2 Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7851 Description: No description provided Logic Definition: NICU1 Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e7928 Description: No description provided Logic Definition: NICU1 Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8005 Description: No description provided Logic Definition: Nursery Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8082 Description: No description provided Logic Definition: Nursery Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8159 Description: No description provided Logic Definition: Adult Psych Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8237 Description: No description provided Logic Definition: Adult Psych Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8314 Description: No description provided Logic Definition: Peds Psych Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8391 Description: No description provided Logic Definition: Peds Psych Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8468 Description: No description provided Logic Definition: Rehab Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8545 Description: No description provided Logic Definition: Rehab Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8622 Description: No description provided Logic Definition: Surge Active Total Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8700 Description: No description provided Logic Definition: Surge Active Total Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8854 Description: No description provided Logic Definition: Surge Inactive Total Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e8931 Description: No description provided Logic Definition: Surge Active ICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9008 Description: No description provided Logic Definition: Surge Active ICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9163 Description: No description provided Logic Definition: Surge Inactive ICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9240 Description: No description provided Logic Definition: Surge Active NonICU Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9317 Description: No description provided Logic Definition: Surge Active NonICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9471 Description: No description provided Logic Definition: Surge Inactive NonICU Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9548 Description: No description provided Logic Definition: Burn Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9626 Description: No description provided Logic Definition: Burn Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9703 Description: No description provided Logic Definition: Negative Pressure Beds Occupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9780 Description: No description provided Logic Definition: Negative Pressure Beds Unoccupied Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9857 Description: No description provided Logic Definition: Adult ED Census Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e9934 Description: No description provided Logic Definition: Adult ED Admitted Census Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e10011 Description: No description provided Logic Definition: Peds ED Total Census Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e10089 Description: No description provided Logic Definition: Peds ED Admitted Census Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e10166 Description: No description provided Logic Definition: Total ED Census Initial Population
> Measure Population Criteria
> Initial Population | ID: d2e10243 Description: No description provided Logic Definition: Total ED Admitted Census Initial Population
> Measure Logic
> Primary Library | BedCapacityMeasure
> Dependency | Description: Library FHIRHelpers Resource: http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1 Canonical URL: `http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1`
> Dependency | Description: Code system LocationPhysicalType Resource: Location typeversion: null2.0.1) Canonical URL: `http://terminology.hl7.org/CodeSystem/location-physical-type|2.0.1`
> Dependency | Description: Code system HealthcareCapacity Resource: Healthcare Bed Capacity Reporting Code System Canonical URL: `http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes`
> Dependency | Description: Value set Emergency Department Visit Resource: Emergency Department Visit Canonical URL: `http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292`
> Direct Reference Code | Display: Bed Code: bd System: `http://terminology.hl7.org/CodeSystem/location-physical-type`
> Direct Reference Code | Display: Children's or Pediatric Code: CHLD System: `http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes`
> Direct Reference Code | Display: Inpatient Psychiatric Code: IPF System: `http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes`
> 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`
> Direct Reference Code | Display: Hospital Code: HOSP System: `http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes`
> Direct Reference Code | Display: Inpatient Rehabilitation Code: IRF System: `http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes`
> Parameter | Name: Measurement Period Use: In Min Cardinality: 0 Max Cardinality: 1 Type: Period
> Parameter | Name: Peds Total Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: All Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult PCU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds ICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Negative Pressure Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult PCU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds PCU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: OB Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Inactive NonICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU3 Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds ED Total Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds ICULOC Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds NonICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds MTMS Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds NonICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds Psych Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Inactive Total Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Specialty Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active ICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult NonICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Specialty NonCrib Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds Psych Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Rehab Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult MTMS Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU3 Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Burn Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds ICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU1 Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Negative Pressure Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult ICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU4 Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Obs Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult NonICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds Obs Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Nursery Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Psych Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult ED Admitted Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU3Plus Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active NonICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Rehab Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active Total Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Specialty NonCrib Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult ED Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: OB Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds PCU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds MTMS Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Total ED Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Burn Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult ICULOC Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Specialty Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU3Plus Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU1 Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Psych Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult Obs Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active Total Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active NonICU Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult ICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Adult MTMS Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds Total Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Total ED Admitted Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Nursery Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU4 Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: All Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds Obs Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Active ICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Surge Inactive ICU Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU2 Beds Unoccupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: NICU2 Beds Occupied Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Parameter | Name: Peds ED Admitted Census Initial Population Use: Out Min Cardinality: 0 Max Cardinality: 1 Type: boolean
> Measure Logic Data Requirements
> Data Requirement | Type: Encounter Profile(s): Encounter
> Data Requirement | Type: Location Profile(s): Location
> Data Requirement | Type: Encounter Profile(s): Encounter Must Support Elements: type, period Code Filter(s): Path: type ValueSet: Emergency Department Visit
> Data Requirement | Type: Encounter Profile(s): Encounter Must Support Elements: type, period, status Code Filter(s): Path: type ValueSet: Emergency Department Visit
> Data Requirement | Type: Encounter Profile(s): Encounter Must Support Elements: period
> Measure Logic Definitions
> Logic Definition | Library Name: BedCapacityMeasure
>     define "IsBedLocation":
>       Location.physicalType ~ "Bed"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Encounters":
>       [Encounter]
> Logic Definition | Library Name: BedCapacityMeasure
>     define EncounterCheck:
>       exists("Encounters" Encounters
>       where Encounters.period overlaps "Measurement Period")
> Logic Definition | Library Name: BedCapacityMeasure
>     define "LocationIsCHLD":
>       exists(
>         Location.type types
>         where types ~ "CHLD"
>       )
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Total Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define NoEncounterCheck:
>       not EncounterCheck
> Logic Definition | Library Name: BedCapacityMeasure
>     define "All Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
> Logic Definition | Library Name: BedCapacityMeasure
>     define "LocationIsIPF":
>       exists(
>         Location.type types
>         where types ~ "IPF"
>       )
> Logic Definition | Library Name: BedCapacityMeasure
>     define "LocationIsOTH":
>       exists(
>         Location.type types
>         where types ~ "OTH"
>       )
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult PCU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsIPF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "LocationIsHOSP":
>       exists(
>         Location.type types
>         where types ~ "HOSP"
>       )
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds ICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Negative Pressure Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult PCU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsIPF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds PCU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "LocationIsIRF":
>       exists(
>         Location.type types
>         where types ~ "IRF"
>       )
> Logic Definition | Library Name: BedCapacityMeasure
>     define "OB Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Inactive NonICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU3 Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds ED Total Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>       )
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds ICULOC Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds NonICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsIPF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds MTMS Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds NonICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsIPF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Psych Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIPF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Inactive Total Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Specialty Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active ICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult NonICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Specialty NonCrib Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Psych Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIPF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Rehab Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsIRF"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult MTMS Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU3 Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsIPF"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Burn Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds ICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU1 Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Negative Pressure Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult ICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU4 Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Obs Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult NonICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Obs Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Nursery Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Psych Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIPF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult ED Admitted Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>           and EDVisit.status in {'arrived', 'triaged', 'in-progress'}
>       )
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU3Plus Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active NonICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Rehab Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsIRF"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active Total Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Specialty NonCrib Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult ED Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>       )
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "OB Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds PCU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds MTMS Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Total ED Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>       )
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Burn Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult ICULOC Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIPF"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and LocationIsHOSP
>       and "LocationIsIRF"
>       and "LocationIsIPF"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Specialty Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU3Plus Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU1 Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Psych Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIPF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult Obs Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active Total Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active NonICU Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult ICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Adult MTMS Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Total Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Total ED Admitted Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>           and EDVisit.status in {'arrived', 'triaged', 'in-progress'}
>       )
>       and "LocationIsHOSP"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Nursery Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU4 Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "All Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds Obs Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Active ICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Surge Inactive ICU Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsOTH"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU2 Beds Unoccupied Initial Population":
>       IsBedLocation
>       and NoEncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "NICU2 Beds Occupied Initial Population":
>       IsBedLocation
>       and EncounterCheck
>       and "LocationIsHOSP"
>       and "LocationIsIRF"
>       and "LocationIsCHLD"
> Logic Definition | Library Name: BedCapacityMeasure
>     define "Peds ED Admitted Census Initial Population":
>       IsBedLocation
>       and exists(
>         [Encounter: "Emergency Department Visit"] EDVisit
>         where EDVisit.period overlaps "Measurement Period"
>           and EDVisit.status in {'arrived', 'triaged', 'in-progress'}
>       )
>       and "LocationIsCHLD"
> Logic Definition | Library Name: FHIRHelpers
>     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
>             }
> Logic Definition | Library Name: FHIRHelpers
>     define function ToCode(coding FHIR.Coding):
>         if coding is null then
>             null
>         else
>             System.Code {
>               code: coding.code.value,
>               system: coding.system.value,
>               version: coding.version.value,
>               display: coding.display.value
>             }
> Logic Definition | Library Name: FHIRHelpers
>     define function ToInterval(period FHIR.Period):
>         if period is null then
>             null
>         else
>             if period."start" is null then
>                 Interval(period."start".value, period."end".value]
>             else
>                 Interval[period."start".value, period."end".value]
> Logic Definition | Library Name: FHIRHelpers
>     define function ToString(value EncounterStatus): value.value
> Generated using version 0.4.6 of the sample-content-ig Liquid templates

Entry 2 - fullUrl = http://hl7.org/fhir/us/safr/Device/cqf-tooling

Resource Device:

> Profile: CRMI Software System Deviceversion: null1.0.0)

> manufacturer: CQFramework

> type: Tooling

> ### Versions

> - | Value
> * | 3.1.0-SNAPSHOT