Id: BedCapacityMeasure Version: 1.0.0 Url: BedCapacityMeasure urn:oid:2.16.840.1.113883.4.642.40.53.28.4 Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-04-01 02:56:48+1100 Publisher: HL7 International / Public Health Jurisdiction: US Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1 Location typeversion: null2.0.1) Healthcare Bed Capacity Reporting Code System Emergency Department Visit Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Location Location 0 1 Out IsBedLocation boolean 0 1 Out Encounters Encounter 0 * Out EncounterCheck boolean 0 1 Out All Beds Occupied Initial Population boolean 0 1 Out NoEncounterCheck boolean 0 1 Out All Beds Unoccupied Initial Population boolean 0 1 Out LocationIsHOSP boolean 0 1 Out LocationIsIRF boolean 0 1 Out LocationIsIPF boolean 0 1 Out Adult Beds Occupied Initial Population boolean 0 1 Out Adult Beds Unoccupied Initial Population boolean 0 1 Out Adult ICU Beds Occupied Initial Population boolean 0 1 Out Adult ICU Beds Unoccupied Initial Population boolean 0 1 Out Adult ICULOC Beds Occupied Initial Population boolean 0 1 Out Adult ICULOC Beds Unoccupied Initial Population boolean 0 1 Out LocationIsOTH boolean 0 1 Out Adult NonICU Beds Occupied Initial Population boolean 0 1 Out Adult NonICU Beds Unoccupied Initial Population boolean 0 1 Out Adult PCU Beds Occupied Initial Population boolean 0 1 Out Adult PCU Beds Unoccupied Initial Population boolean 0 1 Out Adult MTMS Beds Occupied Initial Population boolean 0 1 Out Adult MTMS Beds Unoccupied Initial Population boolean 0 1 Out Adult Obs Beds Occupied Initial Population boolean 0 1 Out Adult Obs Beds Unoccupied Initial Population boolean 0 1 Out LocationIsCHLD boolean 0 1 Out Peds Total Beds Occupied Initial Population boolean 0 1 Out Peds Total Beds Unoccupied Initial Population boolean 0 1 Out Peds ICU Beds Occupied Initial Population boolean 0 1 Out Peds ICU Beds Unoccupied Initial Population boolean 0 1 Out Peds ICULOC Beds Occupied Initial Population boolean 0 1 Out Peds ICULOC Beds Unoccupied Initial Population boolean 0 1 Out Peds NonICU Beds Occupied Initial Population boolean 0 1 Out Peds NonICU Beds Unoccupied Initial Population boolean 0 1 Out Peds PCU Beds Occupied Initial Population boolean 0 1 Out Peds PCU Beds Unoccupied Initial Population boolean 0 1 Out Peds MTMS Beds Occupied Initial Population boolean 0 1 Out Peds MTMS Beds Unoccupied Initial Population boolean 0 1 Out Peds Obs Beds Occupied Initial Population boolean 0 1 Out Peds Obs Beds Unoccupied Initial Population boolean 0 1 Out Specialty Beds Occupied Initial Population boolean 0 1 Out Specialty Beds Unoccupied Initial Population boolean 0 1 Out Specialty NonCrib Beds Occupied Initial Population boolean 0 1 Out Specialty NonCrib Beds Unoccupied Initial Population boolean 0 1 Out OB Beds Occupied Initial Population boolean 0 1 Out OB Beds Unoccupied Initial Population boolean 0 1 Out NICU Beds Occupied Initial Population boolean 0 1 Out NICU Beds Unoccupied Initial Population boolean 0 1 Out NICU4 Beds Occupied Initial Population boolean 0 1 Out NICU4 Beds Unoccupied Initial Population boolean 0 1 Out NICU3Plus Beds Occupied Initial Population boolean 0 1 Out NICU3Plus Beds Unoccupied Initial Population boolean 0 1 Out NICU3 Beds Occupied Initial Population boolean 0 1 Out NICU3 Beds Unoccupied Initial Population boolean 0 1 Out NICU2 Beds Occupied Initial Population boolean 0 1 Out NICU2 Beds Unoccupied Initial Population boolean 0 1 Out NICU1 Beds Occupied Initial Population boolean 0 1 Out NICU1 Beds Unoccupied Initial Population boolean 0 1 Out Nursery Beds Occupied Initial Population boolean 0 1 Out Nursery Beds Unoccupied Initial Population boolean 0 1 Out Adult Psych Beds Occupied Initial Population boolean 0 1 Out Adult Psych Beds Unoccupied Initial Population boolean 0 1 Out Peds Psych Beds Occupied Initial Population boolean 0 1 Out Peds Psych Beds Unoccupied Initial Population boolean 0 1 Out Rehab Beds Occupied Initial Population boolean 0 1 Out Rehab Beds Unoccupied Initial Population boolean 0 1 Out Surge Active Total Beds Occupied Initial Population boolean 0 1 Out Surge Active Total Beds Unoccupied Initial Population boolean 0 1 Out Surge Inactive Total Beds Unoccupied Initial Population boolean 0 1 Out Surge Active ICU Beds Occupied Initial Population boolean 0 1 Out Surge Active ICU Beds Unoccupied Initial Population boolean 0 1 Out Surge Inactive ICU Beds Occupied Initial Population boolean 0 1 Out Surge Inactive ICU Beds Unoccupied Initial Population boolean 0 1 Out Surge Active NonICU Beds Occupied Initial Population boolean 0 1 Out Surge Active NonICU Beds Unoccupied Initial Population boolean 0 1 Out Surge Inactive NonICU Beds Unoccupied Initial Population boolean 0 1 Out Burn Beds Occupied Initial Population boolean 0 1 Out Burn Beds Unoccupied Initial Population boolean 0 1 Out Negative Pressure Beds Occupied Initial Population boolean 0 1 Out Negative Pressure Beds Unoccupied Initial Population boolean 0 1 Out Adult ED Census Initial Population boolean 0 1 Out Adult ED Admitted Census Initial Population boolean 0 1 Out Peds ED Total Census Initial Population boolean 0 1 Out Peds ED Admitted Census Initial Population boolean 0 1 Out Total ED Census Initial Population boolean 0 1 Out Total ED Admitted Census Initial Population boolean 0 1 Out Data Requirements: Type Profile MS Code Filter Location http://hl7.org/fhir/StructureDefinition/Location Encounter http://hl7.org/fhir/StructureDefinition/Encounter Encounter http://hl7.org/fhir/StructureDefinition/Encounter ; Encounter http://hl7.org/fhir/StructureDefinition/Encounter ; Location http://hl7.org/fhir/StructureDefinition/Location Location http://hl7.org/fhir/StructureDefinition/Location Location http://hl7.org/fhir/StructureDefinition/Location Location http://hl7.org/fhir/StructureDefinition/Location Location http://hl7.org/fhir/StructureDefinition/Location Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Encounter http://hl7.org/fhir/StructureDefinition/Encounter ;;; code filter: path: type value set: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292 Content: text/cql library BedCapacityMeasure version '1.0.0'#xD; #xD; using FHIR version '4.0.1'#xD; #xD; include FHIRHelpers version '4.0.1' called FHIRHelpers#xD; #xD; codesystem "LocationPhysicalType": 'http://terminology.hl7.org/CodeSystem/location-physical-type'#xD; codesystem "HealthcareCapacity": 'http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes'#xD; #xD; valueset "Emergency Department Visit": 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'#xD; #xD; code "Bed": 'bd' from "LocationPhysicalType" display 'Bed'#xD; code "HOSP": 'HOSP' from "HealthcareCapacity" display 'Hospital'#xD; code "IRF": 'IRF' from "HealthcareCapacity" display 'Inpatient Rehabilitation'#xD; code "IPF": 'IPF' from "HealthcareCapacity" display 'Inpatient Psychiatric'#xD; code "CHLD": 'CHLD' from "HealthcareCapacity" display 'Children\'s or Pediatric'#xD; code "OTH": 'OTH' from "HealthcareCapacity" display 'Other facility-within-facility or subunit'#xD; #xD; #xD; parameter "Measurement Period" Interval<DateTime>#xD; default Interval[@2022-01-01T00:00:00.0, @2022-02-01T00:00:00.0)#xD; #xD; context Location#xD; #xD; define "IsBedLocation":#xD; Location.physicalType ~ "Bed"#xD; #xD; define "All Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; #xD; define "All Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; #xD; define "Adult Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and LocationIsHOSP#xD; and "LocationIsIRF"#xD; and "LocationIsIPF"#xD; #xD; define "Adult Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsIPF"#xD; #xD; define "Adult ICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; #xD; define "Adult ICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; #xD; define "Adult ICULOC Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; #xD; #xD; define "Adult ICULOC Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; #xD; #xD; define "Adult NonICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Adult NonICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Adult PCU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsIPF"#xD; and "LocationIsOTH"#xD; #xD; define "Adult PCU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsIPF"#xD; and "LocationIsOTH"#xD; #xD; define "Adult MTMS Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "Adult MTMS Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "Adult Obs Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsOTH"#xD; #xD; define "Adult Obs Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsOTH"#xD; #xD; define "Peds Total Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsCHLD"#xD; #xD; define "Peds Total Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsCHLD"#xD; #xD; define "Peds ICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; #xD; define "Peds ICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; #xD; define "Peds ICULOC Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds ICULOC Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds NonICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsIPF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds NonICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsIPF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds PCU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds PCU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds MTMS Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds MTMS Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds Obs Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds Obs Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Specialty Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsOTH"#xD; #xD; define "Specialty Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsOTH"#xD; #xD; define "Specialty NonCrib Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "Specialty NonCrib Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "OB Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "OB Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "NICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "NICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "NICU4 Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "NICU4 Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsOTH"#xD; #xD; define "NICU3Plus Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU3Plus Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU3 Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU3 Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU2 Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU2 Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "NICU1 Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "NICU1 Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Nursery Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "Nursery Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsIRF"#xD; and "LocationIsCHLD"#xD; #xD; define "Adult Psych Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; and "LocationIsOTH"#xD; #xD; define "Adult Psych Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; and "LocationIsOTH"#xD; #xD; define "Peds Psych Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Peds Psych Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsIPF"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Rehab Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsIRF"#xD; #xD; define "Rehab Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsIRF"#xD; #xD; define "Surge Active Total Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Active Total Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Inactive Total Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Active ICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Active ICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Inactive ICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Inactive ICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Surge Active NonICU Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; #xD; define "Surge Active NonICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; #xD; define "Surge Inactive NonICU Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; #xD; define "Burn Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Burn Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Negative Pressure Beds Occupied Initial Population":#xD; IsBedLocation#xD; and EncounterCheck#xD; and "LocationIsHOSP"#xD; #xD; define "Negative Pressure Beds Unoccupied Initial Population":#xD; IsBedLocation#xD; and NoEncounterCheck#xD; and "LocationIsHOSP"#xD; #xD; define "Adult ED Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; )#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Adult ED Admitted Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; and EDVisit.status in {'arrived', 'triaged', 'in-progress'}#xD; )#xD; and "LocationIsHOSP"#xD; and "LocationIsOTH"#xD; #xD; define "Peds ED Total Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; )#xD; and "LocationIsCHLD"#xD; #xD; define "Peds ED Admitted Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; and EDVisit.status in {'arrived', 'triaged', 'in-progress'}#xD; )#xD; and "LocationIsCHLD"#xD; #xD; define "Total ED Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; )#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Total ED Admitted Census Initial Population":#xD; IsBedLocation#xD; and exists(#xD; [Encounter: "Emergency Department Visit"] EDVisit#xD; where EDVisit.period overlaps "Measurement Period"#xD; and EDVisit.status in {'arrived', 'triaged', 'in-progress'}#xD; )#xD; and "LocationIsHOSP"#xD; and "LocationIsCHLD"#xD; and "LocationIsOTH"#xD; #xD; define "Encounters":#xD; [Encounter]#xD; #xD; define "LocationIsHOSP":#xD; exists(#xD; Location.type types#xD; where types ~ "HOSP"#xD; )#xD; #xD; define "LocationIsIPF":#xD; exists(#xD; Location.type types#xD; where types ~ "IPF"#xD; )#xD; #xD; define "LocationIsIRF":#xD; exists(#xD; Location.type types#xD; where types ~ "IRF"#xD; )#xD; #xD; define "LocationIsCHLD":#xD; exists(#xD; Location.type types#xD; where types ~ "CHLD"#xD; )#xD; #xD; define "LocationIsOTH":#xD; exists(#xD; Location.type types#xD; where types ~ "OTH"#xD; )#xD; #xD; define EncounterCheck:#xD; exists("Encounters" Encounters#xD; where Encounters.period overlaps "Measurement Period")#xD; #xD; define NoEncounterCheck:#xD; not EncounterCheck Content: application/elm+json Encoded data (693164 characters)
Adult Beds Unoccupied Initial Population
Adult ICU Beds Occupied Initial Population
Adult ICU Beds Unoccupied Initial Population
Adult ICULOC Beds Occupied Initial Population
Adult ICULOC Beds Unoccupied Initial Population
Adult NonICU Beds Occupied Initial Population
Adult NonICU Beds Unoccupied Initial Population
Adult PCU Beds Occupied Initial Population
Adult PCU Beds Unoccupied Initial Population
Adult MTMS Beds Occupied Initial Population
Adult MTMS Beds Unoccupied Initial Population
Adult Obs Beds Occupied Initial Population
Adult Obs Beds Unoccupied Initial Population
Peds Total Beds Occupied Initial Population
Peds Total Beds Unoccupied Initial Population
Peds ICU Beds Occupied Initial Population
Peds ICU Beds Unoccupied Initial Population
Peds ICULOC Beds Occupied Initial Population
Peds ICULOC Beds Unoccupied Initial Population
Peds NonICU Beds Occupied Initial Population
Peds NonICU Beds Unoccupied Initial Population
Peds PCU Beds Occupied Initial Population
Peds PCU Beds Unoccupied Initial Population
Peds MTMS Beds Occupied Initial Population
Peds MTMS Beds Unoccupied Initial Population
Peds Obs Beds Occupied Initial Population
Peds Obs Beds Unoccupied Initial Population
Specialty Beds Occupied Initial Population
Specialty Beds Unoccupied Initial Population
Specialty NonCrib Beds Occupied Initial Population
Specialty NonCrib Beds Unoccupied Initial Population
NICU4 Beds Unoccupied Initial Population
NICU3Plus Beds Occupied Initial Population
NICU3Plus Beds Unoccupied Initial Population
NICU3 Beds Unoccupied Initial Population
NICU2 Beds Unoccupied Initial Population
NICU1 Beds Unoccupied Initial Population
Nursery Beds Occupied Initial Population
Nursery Beds Unoccupied Initial Population
Adult Psych Beds Occupied Initial Population
Adult Psych Beds Unoccupied Initial Population
Peds Psych Beds Occupied Initial Population
Peds Psych Beds Unoccupied Initial Population
Rehab Beds Unoccupied Initial Population
Surge Active Total Beds Occupied Initial Population
Surge Active Total Beds Unoccupied Initial Population
Surge Inactive Total Beds Unoccupied Initial Population
Surge Active ICU Beds Occupied Initial Population
Surge Active ICU Beds Unoccupied Initial Population
Surge Inactive ICU Beds Occupied Initial Population
Surge Inactive ICU Beds Unoccupied Initial Population
Surge Active NonICU Beds Occupied Initial Population
Surge Active NonICU Beds Unoccupied Initial Population
Surge Inactive NonICU Beds Unoccupied Initial Population
Negative Pressure Beds Occupied Initial Population
Negative Pressure Beds Unoccupied Initial Population
Adult ED Admitted Census Initial Population
Peds ED Admitted Census Initial Population
Total ED Admitted Census Initial Population