BedCapacityMeasure
type: Library
node role: treeRoot
id:
  v: BedCapacityMeasure
text:
  status:
    v: extensions
  div:
    v: Id: BedCapacityMeasure Version: 1.0.0 Url: BedCapacityMeasure Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-12-23 19:38:58+0000 Publisher: HL7 International / Public Health Jurisdiction: US Related Artifacts: Dependencies http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1 Location type 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…
contained: Parameters
  id:
    v: options
  parameter:
    name:
      v: translatorVersion
    value: String
      v: 3.11.0
  parameter:
    name:
      v: option
    value: String
      v: EnableAnnotations
  parameter:
    name:
      v: option
    value: String
      v: EnableLocators
  parameter:
    name:
      v: option
    value: String
      v: DisableListDemotion
  parameter:
    name:
      v: option
    value: String
      v: DisableListPromotion
  parameter:
    name:
      v: format
    value: String
      v: XML
  parameter:
    name:
      v: analyzeDataRequirements
    value: Boolean
      v: false
  parameter:
    name:
      v: collapseDataRequirements
    value: Boolean
      v: false
  parameter:
    name:
      v: compatibilityLevel
    value: String
      v: 1.5
  parameter:
    name:
      v: enableCqlOnly
    value: Boolean
      v: false
  parameter:
    name:
      v: errorLevel
    value: String
      v: Info
  parameter:
    name:
      v: signatureLevel
    value: String
      v: None
  parameter:
    name:
      v: validateUnits
    value: Boolean
      v: true
  parameter:
    name:
      v: verifyOnly
    value: Boolean
      v: false
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions
    l: cqf-cqlOptions
  value: Reference
    l: options
    reference:
      v: #options
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: pher
url:
  v: http://hl7.org/fhir/us/safr/Library/BedCapacityMeasure
  l: BedCapacityMeasure
version:
  v: 1.0.0
name:
  v: BedCapacityMeasure
status:
  v: draft
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2025-12-23T19:38:58+00:00
publisher:
  v: HL7 International / Public Health
contact:
  name:
    v: HL7 International / Public Health
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/pher
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
    display:
      v: United States of America
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    l: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1
    l: http://fhir.org/guides/cqf/common/Library/FHIRHelpers
related artifact:
  type:
    v: depends-on
  display:
    v: Code system LocationPhysicalType
  resource:
    v: http://terminology.hl7.org/CodeSystem/location-physical-type
    l: location-physical-type
related artifact:
  type:
    v: depends-on
  display:
    v: Code system HealthcareCapacity
  resource:
    v: http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes
    l: us-safr-bed-capacity-example-codes
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Emergency Department Visit
  resource:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Location
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Location
parameter:
  name:
    v: IsBedLocation
  use:
    v: out
  min:
    v: 0

v: 1

v: boolean

name:
  v: Encounters
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: Encounter

name:
  v: EncounterCheck
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: All Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NoEncounterCheck
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: All Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: LocationIsHOSP
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: LocationIsIRF
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: LocationIsIPF
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ICULOC Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ICULOC Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: LocationIsOTH
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult NonICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult NonICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult PCU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult PCU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult MTMS Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult MTMS Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Obs Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Obs Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: LocationIsCHLD
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Total Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Total Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ICULOC Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ICULOC Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds NonICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds NonICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds PCU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds PCU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds MTMS Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds MTMS Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Obs Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Obs Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Specialty Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Specialty Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Specialty NonCrib Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Specialty NonCrib Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: OB Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: OB Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU4 Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU4 Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU3Plus Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU3Plus Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU3 Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU3 Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU2 Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU2 Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU1 Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: NICU1 Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Nursery Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Nursery Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Psych Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult Psych Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Psych Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds Psych Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Rehab Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Rehab Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active Total Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active Total Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive Total Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive Total Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active ICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active ICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive ICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive ICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active NonICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Active NonICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive NonICU Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Surge Inactive NonICU Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Burn Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Burn Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Negative Pressure Beds Occupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Negative Pressure Beds Unoccupied Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ED Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Adult ED Admitted Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ED Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Peds ED Admitted Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Total ED Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Total ED Admitted Census Initial Population
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: period

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Location
profile:
  v: http://hl7.org/fhir/StructureDefinition/Location
  l: Location

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: type
must support:
  v: period
must support:
  v: status
code filter:
  path:
    v: type
  value set:
    v: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292
    l: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292

type:
  v: Encounter
profile:
  v: http://hl7.org/fhir/StructureDefinition/Encounter
  l: Encounter
must support:
  v: period

content type:
  v: text/cql