US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide
1.0.0 - STU 1 ballot United States of America flag

US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide, published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/us-safr/ and changes regularly. See the Directory of published versions

: BedCapacityMeasure - JSON Representation

Page standards status: Trial-use Maturity Level: 1

Raw json | Download

{
  "resourceType" : "Library",
  "id" : "BedCapacityMeasure",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">BedCapacityMeasure</td>\n        </tr>\n        \n\n        \n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">1.0.0</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"Library-BedCapacityMeasure.html\">BedCapacityMeasure</a></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">draft</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-library-type.html\">http://terminology.hl7.org/CodeSystem/library-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>logic-library</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2025-12-23 19:38:58+0000</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">HL7 International / Public Health</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Jurisdiction: </b></th>\n            <td style=\"padding-left: 4px;\">US</td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Related Artifacts: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                \n                \n                <p><b>Dependencies</b></p>\n                <ul>\n                  \n                    <li><a href=\"http://fhir.org/guides/cqf/common/4.0.1/4.0.1/Library-FHIR-ModelInfo.html\">http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</a></li>\n                  \n                    <li><a href=\"http://fhir.org/guides/cqf/common/4.0.1/4.0.1/Library-FHIRHelpers.html\">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a></li>\n                  \n                    <li><a href=\"http://terminology.hl7.org/7.0.1/CodeSystem-location-physical-type.html\">Location type</a></li>\n                  \n                    <li><a href=\"CodeSystem-us-safr-bed-capacity-example-codes.html\">Healthcare Bed Capacity Reporting Code System</a></li>\n                  \n                    <li><a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion\">Emergency Department Visit</a></li>\n                  \n                </ul>\n                \n                \n                \n                \n                \n            </td>\n        </tr>\n        \n\n        \n        <tr>\n          <th scope=\"row\"><b>Parameters: </b></th>\n          <td style=\"padding-left: 4px;\">\n            <table class=\"grid-dict\">\n              <tr><th><b>Name</b></th><th><b>Type</b></th><th><b>Min</b></th><th><b>Max</b></th><th><b>In/Out</b></th></tr>\n              \n                <tr><th>Measurement Period</th><th>Period</th><th>0</th><th>1</th><th>In</th></tr>\n              \n                <tr><th>Location</th><th>Location</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>IsBedLocation</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Encounters</th><th>Encounter</th><th>0</th><th>*</th><th>Out</th></tr>\n              \n                <tr><th>EncounterCheck</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>All Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NoEncounterCheck</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>All Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>LocationIsHOSP</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>LocationIsIRF</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>LocationIsIPF</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ICULOC Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ICULOC Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>LocationIsOTH</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult NonICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult NonICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult PCU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult PCU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult MTMS Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult MTMS Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Obs Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Obs Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>LocationIsCHLD</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Total Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Total Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ICULOC Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ICULOC Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds NonICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds NonICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds PCU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds PCU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds MTMS Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds MTMS Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Obs Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Obs Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Specialty Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Specialty Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Specialty NonCrib Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Specialty NonCrib Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>OB Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>OB Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU4 Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU4 Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU3Plus Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU3Plus Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU3 Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU3 Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU2 Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU2 Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU1 Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>NICU1 Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Nursery Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Nursery Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Psych Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult Psych Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Psych Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds Psych Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Rehab Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Rehab Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active Total Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active Total Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive Total Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive Total Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active ICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active ICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive ICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive ICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active NonICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Active NonICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive NonICU Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Surge Inactive NonICU Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Burn Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Burn Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Negative Pressure Beds Occupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Negative Pressure Beds Unoccupied Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ED Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Adult ED Admitted Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ED Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Peds ED Admitted Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Total ED Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n                <tr><th>Total ED Admitted Census Initial Population</th><th>boolean</th><th>0</th><th>1</th><th>Out</th></tr>\n              \n            </table>\n          </td>\n        </tr>\n        \n\n        \n        <tr>\n          <th scope=\"row\"><b>Data Requirements:</b></th>\n          <td style=\"padding-left: 4px;\">\n            <table class=\"grid-dict\">\n              <tr><th><b>Type</b></th><th><b>Profile</b></th><th><b>MS</b></th><th><b>Code Filter</b></th></tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;</th>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Location</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Location</th>\n                  <th/>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;;;</th>\n                  <th>\n                    \n                      <b>code filter: </b>\n                      \n                      <br/>\n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>path: </b><span>type</span>\n                      </span>\n                      \n                      <br/>\n                      \n                      \n                      \n                      <span style=\"padding-left: 4px;\">\n                          <b>value set: </b><span>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</span>\n                      </span>\n                      \n                      \n                    \n                  </th>\n                </tr>\n              \n                <tr>\n                  <th>Encounter</th>\n                  <th>http://hl7.org/fhir/StructureDefinition/Encounter</th>\n                  <th>;</th>\n                  <th>\n                    \n                  </th>\n                </tr>\n              \n            </table>\n          </td>\n        </tr>\n        \n\n        \n        \n        <tr>\n          <td colspan=\"2\">\n            <table>\n              <tr><th><a id=\"cql-content\"><b>Content: </b></a> text/cql</th></tr>\n              <tr><td><pre><code class=\"language-cql\">library BedCapacityMeasure version '1.0.0'\r\n\r\nusing FHIR version '4.0.1'\r\n\r\ninclude FHIRHelpers version '4.0.1' called FHIRHelpers\r\n\r\ncodesystem &quot;LocationPhysicalType&quot;: 'http://terminology.hl7.org/CodeSystem/location-physical-type'\r\ncodesystem &quot;HealthcareCapacity&quot;: 'http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes'\r\n\r\nvalueset &quot;Emergency Department Visit&quot;: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292'\r\n\r\ncode &quot;Bed&quot;: 'bd' from &quot;LocationPhysicalType&quot; display 'Bed'\r\ncode &quot;HOSP&quot;: 'HOSP' from &quot;HealthcareCapacity&quot; display 'Hospital'\r\ncode &quot;IRF&quot;: 'IRF' from &quot;HealthcareCapacity&quot; display 'Inpatient Rehabilitation'\r\ncode &quot;IPF&quot;: 'IPF' from &quot;HealthcareCapacity&quot; display 'Inpatient Psychiatric'\r\ncode &quot;CHLD&quot;: 'CHLD' from &quot;HealthcareCapacity&quot; display 'Children\\'s or Pediatric'\r\ncode &quot;OTH&quot;: 'OTH' from &quot;HealthcareCapacity&quot; display 'Other facility-within-facility or subunit'\r\n\r\n\r\nparameter &quot;Measurement Period&quot; Interval&lt;DateTime&gt;\r\n    default Interval[@2022-01-01T00:00:00.0, @2022-02-01T00:00:00.0)\r\n\r\ncontext Location\r\n\r\ndefine &quot;IsBedLocation&quot;:\r\n  Location.physicalType ~ &quot;Bed&quot;\r\n\r\ndefine &quot;All Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n\r\ndefine &quot;All Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n\r\ndefine &quot;Adult Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and LocationIsHOSP\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n\r\ndefine &quot;Adult Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n\r\ndefine &quot;Adult ICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n\r\ndefine &quot;Adult ICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n\r\ndefine &quot;Adult ICULOC Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  \r\n\r\ndefine &quot;Adult ICULOC Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  \r\n\r\ndefine &quot;Adult NonICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Adult NonICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Adult PCU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Adult PCU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Adult MTMS Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Adult MTMS Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Adult Obs Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Adult Obs Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds Total Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;Peds Total Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Peds ICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;Peds ICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Peds ICULOC Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds ICULOC Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds NonICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds NonICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds PCU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds PCU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds MTMS Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds MTMS Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds Obs Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Peds Obs Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Specialty Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Specialty Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Specialty NonCrib Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Specialty NonCrib Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;OB Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;OB Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;NICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;NICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;NICU4 Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;NICU4 Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;NICU3Plus Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;NICU3Plus Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;NICU3 Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;NICU3 Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;NICU2 Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;NICU2 Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;NICU1 Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;NICU1 Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Nursery Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  \r\ndefine &quot;Nursery Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Adult Psych Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n  \r\ndefine &quot;Adult Psych Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds Psych Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds Psych Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsIPF&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Rehab Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n\r\ndefine &quot;Rehab Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsIRF&quot;\r\n\r\ndefine &quot;Surge Active Total Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Active Total Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Inactive Total Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Inactive Total Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Active ICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Active ICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Inactive ICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Inactive ICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Surge Active NonICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Surge Active NonICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Surge Inactive NonICU Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Surge Inactive NonICU Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Burn Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Burn Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Negative Pressure Beds Occupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and EncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n\r\ndefine &quot;Negative Pressure Beds Unoccupied Initial Population&quot;:\r\n  IsBedLocation\r\n  and NoEncounterCheck\r\n  and &quot;LocationIsHOSP&quot;\r\n\r\ndefine &quot;Adult ED Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n  )\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Adult ED Admitted Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n      and EDVisit.status in {'arrived', 'triaged', 'in-progress'}\r\n  )\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Peds ED Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n  )\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Peds ED Admitted Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n      and EDVisit.status in {'arrived', 'triaged', 'in-progress'}\r\n  )\r\n  and &quot;LocationIsCHLD&quot;\r\n\r\ndefine &quot;Total ED Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n  )\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Total ED Admitted Census Initial Population&quot;:\r\n  IsBedLocation\r\n  and exists(\r\n    [Encounter: &quot;Emergency Department Visit&quot;] EDVisit\r\n    where EDVisit.period overlaps &quot;Measurement Period&quot;\r\n      and EDVisit.status in {'arrived', 'triaged', 'in-progress'}\r\n  )\r\n  and &quot;LocationIsHOSP&quot;\r\n  and &quot;LocationIsCHLD&quot;\r\n  and &quot;LocationIsOTH&quot;\r\n\r\ndefine &quot;Encounters&quot;:\r\n  [Encounter]\r\n\r\ndefine &quot;LocationIsHOSP&quot;:\r\n  exists(\r\n    Location.type types\r\n    where types ~ &quot;HOSP&quot;\r\n  )\r\n\r\ndefine &quot;LocationIsIPF&quot;:\r\n  exists(\r\n    Location.type types\r\n    where types ~ &quot;IPF&quot;\r\n  )\r\n\r\ndefine &quot;LocationIsIRF&quot;:\r\n  exists(\r\n    Location.type types\r\n    where types ~ &quot;IRF&quot;\r\n  )\r\n\r\ndefine &quot;LocationIsCHLD&quot;:\r\n  exists(\r\n    Location.type types\r\n    where types ~ &quot;CHLD&quot;\r\n  )\r\n\r\ndefine &quot;LocationIsOTH&quot;:\r\n  exists(\r\n    Location.type types\r\n    where types ~ &quot;OTH&quot;\r\n  )\r\n\r\ndefine EncounterCheck:\r\n  exists(&quot;Encounters&quot; Encounters\r\n  where Encounters.period overlaps &quot;Measurement Period&quot;)\r\n\r\ndefine NoEncounterCheck:\r\n  not EncounterCheck</code></pre></td></tr>\n            </table>\n          </td>\n        </tr>\n        \n        \n        \n    </table>\n</div>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Parameters",
      "id" : "options",
      "parameter" : [
        {
          "name" : "translatorVersion",
          "valueString" : "3.11.0"
        },
        {
          "name" : "option",
          "valueString" : "EnableAnnotations"
        },
        {
          "name" : "option",
          "valueString" : "EnableLocators"
        },
        {
          "name" : "option",
          "valueString" : "DisableListDemotion"
        },
        {
          "name" : "option",
          "valueString" : "DisableListPromotion"
        },
        {
          "name" : "format",
          "valueString" : "XML"
        },
        {
          "name" : "analyzeDataRequirements",
          "valueBoolean" : false
        },
        {
          "name" : "collapseDataRequirements",
          "valueBoolean" : false
        },
        {
          "name" : "compatibilityLevel",
          "valueString" : "1.5"
        },
        {
          "name" : "enableCqlOnly",
          "valueBoolean" : false
        },
        {
          "name" : "errorLevel",
          "valueString" : "Info"
        },
        {
          "name" : "signatureLevel",
          "valueString" : "None"
        },
        {
          "name" : "validateUnits",
          "valueBoolean" : true
        },
        {
          "name" : "verifyOnly",
          "valueBoolean" : false
        }
      ]
    }
  ],
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions",
      "valueReference" : {
        "reference" : "#options"
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "pher"
    }
  ],
  "url" : "http://hl7.org/fhir/us/safr/Library/BedCapacityMeasure",
  "version" : "1.0.0",
  "name" : "BedCapacityMeasure",
  "status" : "draft",
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/library-type",
        "code" : "logic-library"
      }
    ]
  },
  "date" : "2025-12-23T19:38:58+00:00",
  "publisher" : "HL7 International / Public Health",
  "contact" : [
    {
      "name" : "HL7 International / Public Health",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/pher"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "US",
          "display" : "United States of America"
        }
      ]
    }
  ],
  "relatedArtifact" : [
    {
      "type" : "depends-on",
      "display" : "FHIR model information",
      "resource" : "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
    },
    {
      "type" : "depends-on",
      "display" : "Code system LocationPhysicalType",
      "resource" : "http://terminology.hl7.org/CodeSystem/location-physical-type"
    },
    {
      "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" : "Value set Emergency Department Visit",
      "resource" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
    }
  ],
  "parameter" : [
    {
      "name" : "Measurement Period",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Period"
    },
    {
      "name" : "Location",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Location"
    },
    {
      "name" : "IsBedLocation",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Encounters",
      "use" : "out",
      "min" : 0,
      "max" : "*",
      "type" : "Encounter"
    },
    {
      "name" : "EncounterCheck",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "All Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NoEncounterCheck",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "All Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "LocationIsHOSP",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "LocationIsIRF",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "LocationIsIPF",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICULOC Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ICULOC Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "LocationIsOTH",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult NonICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult NonICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult PCU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult PCU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult MTMS Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult MTMS Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Obs Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Obs Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "LocationIsCHLD",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Total Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Total Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ICULOC Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ICULOC Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds NonICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds NonICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds PCU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds PCU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds MTMS Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds MTMS Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Obs Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Obs Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Specialty Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Specialty Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Specialty NonCrib Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Specialty NonCrib Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "OB Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "OB Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU4 Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU4 Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU3Plus Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU3Plus Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU3 Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU3 Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU2 Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU2 Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU1 Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "NICU1 Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Nursery Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Nursery Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Psych Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult Psych Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Psych Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds Psych Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Rehab Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Rehab Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active Total Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active Total Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive Total Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive Total Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active ICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active ICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive ICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive ICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active NonICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Active NonICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive NonICU Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Surge Inactive NonICU Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Burn Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Burn Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Negative Pressure Beds Occupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Negative Pressure Beds Unoccupied Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ED Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Adult ED Admitted Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ED Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Peds ED Admitted Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Total ED Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "Total ED Admitted Census Initial Population",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    }
  ],
  "dataRequirement" : [
    {
      "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" : "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" : "Location",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Location"
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period",
        "status"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period",
        "status"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "type",
        "period",
        "status"
      ],
      "codeFilter" : [
        {
          "path" : "type",
          "valueSet" : "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"
        }
      ]
    },
    {
      "type" : "Encounter",
      "profile" : [
        🔗 "http://hl7.org/fhir/StructureDefinition/Encounter"
      ],
      "mustSupport" : [
        "period"
      ]
    }
  ],
  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