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

: Bed Capacity - XML Representation

Page standards status: Informative

Raw xml | Download


<Measure xmlns="http://hl7.org/fhir">
  <id value="BedCapacityMeasure"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
  </meta>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
  <table class="narrative-table">
    <tbody>
<tr>

<th colspan="2" scope="row" class="row-header">Knowledge Artifact Metadata</th>

</tr>

<tr>

<th scope="row" class="row-header">Name (machine-readable)</th>

<td class="content-container">BedCapacityMeasure</td>
</tr>


<tr>

<th scope="row" class="row-header">Title (human-readable)</th>

<td class="content-container">Bed Capacity</td>
</tr>



<tr>

<th scope="row" class="row-header">Status</th>

<td class="content-container">Draft</td>
</tr>


<tr>

<th scope="row" class="row-header">Experimental</th>

<td class="content-container">true</td>
</tr>


<tr>

<th scope="row" class="row-header">Description</th>

<td class="content-container"><div><p>Bed Capacity Measure includes counts of specific bed types within the context of a given healthcare context or setting.</p>
</div></td>
</tr>












<tr>

<th scope="row" class="row-header">Measure Steward</th>

<td class="content-container">HL7 International / Public Health</td>
</tr>


<tr>

<th scope="row" class="row-header">Steward Contact Details</th>

<td class="content-container">HL7 International / Public Health: <a href="http://www.hl7.org/Special/committees/pher">http://www.hl7.org/Special/committees/pher</a></td>
</tr>











<tr>

<th colspan="2" scope="row" class="row-header">Measure Metadata</th>

</tr>






<tr>

<th scope="row" class="row-header">Version Number</th>

<td class="content-container">1.0.0</td>
</tr>


<tr>

<th scope="row" class="row-header">Measure Scoring</th>

<td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring cohort}">Cohort</span></td>
</tr>












  
<tr>

<th scope="row" class="row-header">Population Basis</th>

<td class="content-container">boolean</td>
</tr>





  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4301-bed-cap
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-bed-capacity-initial-population">Bed Capacity Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4301-all-beds
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-all-beds-initial-population">All Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4455
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-beds-initial-population">Adult Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4610
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-icu-beds-initial-population">Adult ICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4764
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-iculoc-beds-initial-population">Adult ICULOC Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e4918
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-nonicu-beds-initial-population">Adult NonICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5073
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-pcu-beds-initial-population">Adult PCU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5227
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-mtms-beds-initial-population">Adult MTMS Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5381
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-obs-beds-initial-population">Adult Obs Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5536
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-total-beds-initial-population">Peds Total Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5690
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-icu-beds-initial-population">Peds ICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5844
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-iculoc-beds-initial-population">Peds ICULOC Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e5999
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-nonicu-beds-initial-population">Peds NonICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6153
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-pcu-beds-initial-population">Peds PCU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6307
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-mtms-beds-initial-population">Peds MTMS Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6462
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-obs-beds-initial-population">Peds Obs Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6616
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-specialty-beds-initial-population">Specialty Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6770
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-specialty-noncrib-beds-initial-population">Specialty NonCrib Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e6925
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-ob-beds-initial-population">OB Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7079
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu-beds-initial-population">NICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7233
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu4-beds-initial-population">NICU4 Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7388
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu3plus-beds-initial-population">NICU3Plus Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7542
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu3-beds-initial-population">NICU3 Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7696
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu2-beds-initial-population">NICU2 Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e7851
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nicu1-beds-initial-population">NICU1 Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8005
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-nursery-beds-initial-population">Nursery Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8159
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-psych-beds-initial-population">Adult Psych Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8314
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-psych-beds-initial-population">Peds Psych Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8468
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-rehab-beds-initial-population">Rehab Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8622
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-active-total-beds-initial-population">Surge Active Total Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8777
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-inactive-total-beds-initial-population">Surge Inactive Total Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8931-surge-active
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-active-icu-beds-initial-population">Surge Active ICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e8931-surge-inactive
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-inactive-icu-beds-initial-population">Surge Inactive ICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e9240
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-active-nonicu-beds-initial-population">Surge Active NonICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e9394
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-surge-inactive-nonicu-beds-initial-population">Surge Inactive NonICU Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e9548
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-burn-beds-initial-population">Burn Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e9703
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-negative-pressure-beds-initial-population">Negative Pressure Beds Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e9857
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-adult-ed-initial-population">Adult ED Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e10011
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-peds-ed-initial-population">Peds ED Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  










  
    <tr>

<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>

</tr>
  
  
  
  
    <tr>
      
        
<th scope="row" class="row-header">Initial Population</th>

      
      <td class="content-container">
        
        <em>ID</em>: d2e10166
        <br/>
        
        
          <em>Description</em>: No description provided
        
        
          
            
            <em>Logic Definition</em>: <a href="#bedcapacitymeasure-total-ed-initial-population">Total ED Initial Population</a> 
          
        
      </td>
    </tr>
  

  
  













<tr>

<th colspan="2" scope="row" class="row-header">Measure Logic</th>

</tr>

<tr>

<th scope="row" class="row-header">Primary Library</th>

<td class="content-container"><a href="Library-BedCapacityMeasure.html">BedCapacityMeasure</a></td>
</tr>




  
  

<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>

  
  <td class="content-container">
    
    <em>Description</em>: FHIR model information
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <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>
    <br/>
    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</tt>
    
  </td>
</tr>

<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>

  
  <td class="content-container">
    
    <em>Description</em>: Library FHIRHelpers
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <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>
    <br/>
    <em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</tt>
    
  </td>
</tr>

<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>

  
  <td class="content-container">
    
    <em>Description</em>: Code system LocationPhysicalType
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="http://terminology.hl7.org/7.0.1/CodeSystem-location-physical-type.html">Location type</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/location-physical-type</tt>
    
  </td>
</tr>

<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>

  
  <td class="content-container">
    
    <em>Description</em>: Code system HealthcareCapacity
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="CodeSystem-us-safr-bed-capacity-example-codes.html">Healthcare Bed Capacity Reporting Code System</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    
  </td>
</tr>

<tr>
  
  
  
  
  
<th scope="row" class="row-header">Dependency</th>

  
  <td class="content-container">
    
    <em>Description</em>: Value set Emergency Department Visit
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion">Emergency Department Visit</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</tt>
    
  </td>
</tr>


  
  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Bed
        <br/>
      
      <em>Code</em>: bd
      <br/>
      <em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/location-physical-type</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Hospital
        <br/>
      
      <em>Code</em>: HOSP
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Other facility-within-facility or subunit
        <br/>
      
      <em>Code</em>: OTH
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Inpatient Rehabilitation
        <br/>
      
      <em>Code</em>: IRF
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Inpatient Psychiatric
        <br/>
      
      <em>Code</em>: IPF
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Children's or Pediatric
        <br/>
      
      <em>Code</em>: CHLD
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: Pediatric
        <br/>
      
      <em>Code</em>: PEDS
      <br/>
      <em>System</em>: <tt>http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes</tt>
    </td>
  </tr>

  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Measurement Period
    <br/>
    <em>Use</em>: In
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: Period
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Burn Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Active ICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds Psych Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Specialty Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Active Total Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds ED Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult ICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult MTMS Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU4 Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Rehab Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult NonICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Inactive ICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult Obs Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Inactive NonICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds Total Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds MTMS Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult ED Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Inactive Total Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Negative Pressure Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds Obs Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Bed Capacity Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU1 Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds ICULOC Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Total ED Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: All Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU2 Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Nursery Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult PCU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds PCU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds ICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult Psych Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Specialty NonCrib Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Adult ICULOC Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU3Plus Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Peds NonICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: Surge Active NonICU Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: OB Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  <tr>
  
<th scope="row" class="row-header">Parameter</th>

  <td class="content-container">
    <em>Name</em>: NICU3 Beds Initial Population
    <br/>
    <em>Use</em>: Out
    <br/>
    <em>Min Cardinality</em>: 0
    <br/>
    <em>Max Cardinality</em>: 1
    <br/>
    <em>Type</em>: boolean
  </td>
</tr>
  
  
  <tr>
    <th colspan="2" scope="row" class="section-header"><a name="effective-data-requirements"> </a>Measure Logic Data Requirements</th>
  </tr>
  
  
<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>
    <br/>        
  
   
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: period
    <br/>
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Location
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/location.html">Location</a>
    <br/>        
  
   
   
   
  </td>
</tr>

<tr>
  <th scope="row" class="row-header">Data Requirement</th>
  <td class="content-container">
    <em>Type</em>: Encounter
    <br/>
  
    <em>Profile(s)</em>: 
  
    <a href="http://hl7.org/fhir/R4/encounter.html">Encounter</a>
    <br/>        
  
   
   
    <em>Must Support Elements</em>: type, period
    <br/>
   
  
    <em>Code Filter(s)</em>: 
    <br/>
  
  
    <span class="tab-one"><em>Path</em>: type</span>
    <br/>
  
  
  
    <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.117.1.7.1.292/expansion">Emergency Department Visit</a>
    <br/> 
  
  
  
   
  </td>
</tr>

  
  <tr>

<th colspan="2" scope="row" class="row-header">Measure Logic Definitions</th>

</tr>
  
          
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-isbedlocation"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;IsBedLocation&quot;:   Location.physicalType ~ &quot;Bed&quot;</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-encounters"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounters&quot;:   [Encounter]</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-encountercheck"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;EncounterCheck&quot;:   exists(&quot;Encounters&quot; Encounters   where Encounters.period overlaps &quot;Measurement Period&quot;)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationishosp"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsHOSP&quot;:   exists(     Location.type types     where types ~ &quot;HOSP&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationisoth"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsOTH&quot;:   exists(     Location.type types     where types ~ &quot;OTH&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-burn-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Burn Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationisirf"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsIRF&quot;:   exists(     Location.type types     where types ~ &quot;IRF&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-active-icu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Active ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationisipf"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsIPF&quot;:   exists(     Location.type types     where types ~ &quot;IPF&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationischld"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsCHLD&quot;:   exists(     Location.type types     where types ~ &quot;CHLD&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-locationispeds"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;LocationIsPEDS&quot;:   exists(     Location.type types     where types ~ &quot;PEDS&quot;   )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-psych-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds Psych Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-specialty-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Specialty Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-active-total-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Active Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-ed-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-icu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-mtms-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult MTMS Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu4-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU4 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-rehab-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Rehab Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-nonicu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-inactive-icu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Inactive ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-obs-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult Obs Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-inactive-nonicu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Inactive NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-total-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-mtms-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds MTMS Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-ed-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and LocationIsHOSP   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-inactive-total-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Inactive Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-negative-pressure-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Negative Pressure Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-obs-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds Obs Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-bed-capacity-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Bed Capacity Initial Population&quot;:   IsBedLocation</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu1-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU1 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-iculoc-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds ICULOC Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-total-ed-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Total ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-all-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;All Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsIPF</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu2-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU2 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nursery-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Nursery Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-pcu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult PCU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIPF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-pcu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds PCU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-icu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-psych-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult Psych Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-specialty-noncrib-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Specialty NonCrib Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-adult-iculoc-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Adult ICULOC Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu3plus-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU3Plus Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-peds-nonicu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Peds NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIPF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-surge-active-nonicu-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Surge Active NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-ob-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;OB Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="bedcapacitymeasure-nicu3-beds-initial-population"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> BedCapacityMeasure</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;NICU3 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-toconcept"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-tocode"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToCode(coding FHIR.Coding):     if coding is null then         null     else         System.Code {           code: coding.code.value,           system: coding.system.value,           version: coding.version.value,           display: coding.display.value         }</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="fhirhelpers-tointerval"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> FHIRHelpers</td>

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToInterval(period FHIR.Period):     if period is null then         null     else         if period.&quot;start&quot; is null then             Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]         else             Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]</code></pre>
  </td>

</tr>

  

<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>
</tr>
    </tbody>
  </table>
</div>
  </text>
  <contained>
    <Library>
      <id value="effective-data-requirements"/>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
          <code value="bd"/>
          <display value="Bed"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="HOSP"/>
          <display value="Hospital"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="OTH"/>
          <display value="Other facility-within-facility or subunit"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="IRF"/>
          <display value="Inpatient Rehabilitation"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="IPF"/>
          <display value="Inpatient Psychiatric"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="CHLD"/>
          <display value="Children's or Pediatric"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
        <valueCoding>
          <system
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
          <code value="PEDS"/>
          <display value="Pediatric"/>
        </valueCoding>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="IsBedLocation"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;IsBedLocation&quot;:   Location.physicalType ~ &quot;Bed&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Encounters"/>
        </extension>
        <extension url="statement">
          <valueString value="define &quot;Encounters&quot;:   [Encounter]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="EncounterCheck"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;EncounterCheck&quot;:   exists(&quot;Encounters&quot; Encounters   where Encounters.period overlaps &quot;Measurement Period&quot;)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="2"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsHOSP"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsHOSP&quot;:   exists(     Location.type types     where types ~ &quot;HOSP&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="3"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsOTH"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsOTH&quot;:   exists(     Location.type types     where types ~ &quot;OTH&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="4"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Burn Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Burn Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="5"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsIRF"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsIRF&quot;:   exists(     Location.type types     where types ~ &quot;IRF&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="6"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="7"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Active ICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Active ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="8"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsIPF"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsIPF&quot;:   exists(     Location.type types     where types ~ &quot;IPF&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="9"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsCHLD"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsCHLD&quot;:   exists(     Location.type types     where types ~ &quot;CHLD&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="10"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="LocationIsPEDS"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;LocationIsPEDS&quot;:   exists(     Location.type types     where types ~ &quot;PEDS&quot;   )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="11"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds Psych Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds Psych Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="12"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Specialty Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Specialty Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="13"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Active Total Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Active Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="14"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds ED Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="15"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult ICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="16"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult MTMS Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult MTMS Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="17"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU4 Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU4 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="18"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Rehab Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Rehab Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="19"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult NonICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="20"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Inactive ICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Inactive ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="21"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult Obs Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult Obs Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="22"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Inactive NonICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Inactive NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="23"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds Total Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="24"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds MTMS Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds MTMS Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="25"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult ED Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and LocationIsHOSP   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="26"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Inactive Total Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Inactive Total Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="27"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Negative Pressure Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Negative Pressure Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="28"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds Obs Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds Obs Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="29"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Bed Capacity Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Bed Capacity Initial Population&quot;:   IsBedLocation"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="30"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU1 Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU1 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="31"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds ICULOC Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds ICULOC Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="32"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Total ED Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Total ED Initial Population&quot;:   IsBedLocation   and exists(     [Encounter: &quot;Emergency Department Visit&quot;] EDVisit     where EDVisit.period overlaps &quot;Measurement Period&quot;   )   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="33"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="All Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;All Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="34"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsIPF"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="35"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU2 Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU2 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="36"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Nursery Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Nursery Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="37"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult PCU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult PCU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIPF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="38"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds PCU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds PCU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="39"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds ICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds ICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="40"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult Psych Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult Psych Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="41"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Specialty NonCrib Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Specialty NonCrib Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="42"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Adult ICULOC Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Adult ICULOC Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIPF"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="43"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU3Plus Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU3Plus Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="44"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Peds NonICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Peds NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIPF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="45"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="Surge Active NonICU Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Surge Active NonICU Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="46"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="OB Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;OB Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)   and LocationIsOTH"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="47"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="BedCapacityMeasure"/>
        </extension>
        <extension url="name">
          <valueString value="NICU3 Beds Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;NICU3 Beds Initial Population&quot;:   IsBedLocation   and EncounterCheck   and LocationIsHOSP   and LocationIsIRF   and (LocationIsCHLD or LocationIsPEDS)"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="48"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToConcept"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="49"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToCode"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToCode(coding FHIR.Coding):     if coding is null then         null     else         System.Code {           code: coding.code.value,           system: coding.system.value,           version: coding.version.value,           display: coding.display.value         }"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="50"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="FHIRHelpers"/>
        </extension>
        <extension url="name">
          <valueString value="ToInterval"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToInterval(period FHIR.Period):     if period is null then         null     else         if period.&quot;start&quot; is null then             Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]         else             Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="51"/>
        </extension>
      </extension>
      <name value="EffectiveDataRequirements"/>
      <status value="active"/>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
          <code value="module-definition"/>
        </coding>
      </type>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="FHIR model information"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Library FHIRHelpers"/>
        <resource
                  value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system LocationPhysicalType"/>
        <resource
                  value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Code system HealthcareCapacity"/>
        <resource
                  value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
      </relatedArtifact>
      <relatedArtifact>
        <type value="depends-on"/>
        <display value="Value set Emergency Department Visit"/>
        <resource
                  value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
      </relatedArtifact>
      <parameter>
        <name value="Measurement Period"/>
        <use value="in"/>
        <min value="0"/>
        <max value="1"/>
        <type value="Period"/>
      </parameter>
      <parameter>
        <name value="Burn Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Active ICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds Psych Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Specialty Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Active Total Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds ED Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult ICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult MTMS Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU4 Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Rehab Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult NonICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Inactive ICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult Obs Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Inactive NonICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds Total Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds MTMS Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult ED Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Inactive Total Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Negative Pressure Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds Obs Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Bed Capacity Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU1 Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds ICULOC Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Total ED Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="All Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU2 Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Nursery Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult PCU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds PCU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds ICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult Psych Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Specialty NonCrib Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Adult ICULOC Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU3Plus Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Peds NonICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="Surge Active NonICU Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="OB Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <parameter>
        <name value="NICU3 Beds Initial Population"/>
        <use value="out"/>
        <min value="0"/>
        <max value="1"/>
        <type value="boolean"/>
      </parameter>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="period"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Location"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
      <dataRequirement>
        <type value="Encounter"/>
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
        <mustSupport value="type"/>
        <mustSupport value="period"/>
        <codeFilter>
          <path value="type"/>
          <valueSet
                    value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
        </codeFilter>
      </dataRequirement>
    </Library>
  </contained>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem">
    <valueReference>🔗 
      <reference value="Device/cqf-tooling"/>
    </valueReference>
  </extension>
  <extension
             url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
    <valueCode value="boolean"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
    <valueCanonical value="#effective-data-requirements"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pher"/>
  </extension>
  <url value="http://hl7.org/fhir/us/safr/Measure/BedCapacityMeasure"/>
  <version value="1.0.0"/>
  <name value="BedCapacityMeasure"/>
  <title value="Bed Capacity"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2025-11-18T16:07:30-04:00"/>
  <publisher value="HL7 International / Public Health"/>
  <contact>
    <name value="HL7 International / Public Health"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/pher"/>
    </telecom>
  </contact>
  <description
               value="Bed Capacity Measure includes counts of specific bed types within the context of a given healthcare context or setting."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <library value="http://hl7.org/fhir/us/safr/Library/BedCapacityMeasure"/>
  <scoring>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
      <code value="cohort"/>
      <display value="Cohort"/>
    </coding>
  </scoring>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-example-codes"/>
        <code value="BedCapacityReporting"/>
      </coding>
    </code>
    <population id="d2e4301-bed-cap">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Bed Capacity Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AllBeds"/>
      </coding>
    </code>
    <population id="d2e4301-all-beds">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="All Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultTotal"/>
      </coding>
    </code>
    <population id="d2e4455">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultICU"/>
      </coding>
    </code>
    <population id="d2e4610">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult ICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultICULOC"/>
      </coding>
    </code>
    <population id="d2e4764">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult ICULOC Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultNonICU"/>
      </coding>
    </code>
    <population id="d2e4918">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult NonICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultPCU"/>
      </coding>
    </code>
    <population id="d2e5073">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult PCU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultMTMS"/>
      </coding>
    </code>
    <population id="d2e5227">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult MTMS Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultObs"/>
      </coding>
    </code>
    <population id="d2e5381">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult Obs Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsTotal"/>
      </coding>
    </code>
    <population id="d2e5536">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds Total Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsICU"/>
      </coding>
    </code>
    <population id="d2e5690">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds ICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsICULOC"/>
      </coding>
    </code>
    <population id="d2e5844">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds ICULOC Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsNonICU"/>
      </coding>
    </code>
    <population id="d2e5999">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds NonICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsPCU"/>
      </coding>
    </code>
    <population id="d2e6153">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds PCU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsMTMS"/>
      </coding>
    </code>
    <population id="d2e6307">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds MTMS Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsObs"/>
      </coding>
    </code>
    <population id="d2e6462">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds Obs Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SpecialtyTotal"/>
      </coding>
    </code>
    <population id="d2e6616">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Specialty Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SpecialtyNonCrib"/>
      </coding>
    </code>
    <population id="d2e6770">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Specialty NonCrib Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="OB"/>
      </coding>
    </code>
    <population id="d2e6925">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="OB Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU"/>
      </coding>
    </code>
    <population id="d2e7079">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU4"/>
      </coding>
    </code>
    <population id="d2e7233">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU4 Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU3Plus"/>
      </coding>
    </code>
    <population id="d2e7388">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU3Plus Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU3"/>
      </coding>
    </code>
    <population id="d2e7542">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU3 Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU2"/>
      </coding>
    </code>
    <population id="d2e7696">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU2 Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NICU1"/>
      </coding>
    </code>
    <population id="d2e7851">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="NICU1 Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="Nursery"/>
      </coding>
    </code>
    <population id="d2e8005">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Nursery Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultPsych"/>
      </coding>
    </code>
    <population id="d2e8159">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult Psych Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsPsych"/>
      </coding>
    </code>
    <population id="d2e8314">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds Psych Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="Rehab"/>
      </coding>
    </code>
    <population id="d2e8468">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Rehab Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeActiveTotal"/>
      </coding>
    </code>
    <population id="d2e8622">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Active Total Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeInactiveTotal"/>
      </coding>
    </code>
    <population id="d2e8777">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Inactive Total Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeActiveICU"/>
      </coding>
    </code>
    <population id="d2e8931-surge-active">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Active ICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeInactiveICU"/>
      </coding>
    </code>
    <population id="d2e8931-surge-inactive">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Inactive ICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeActiveNonICU"/>
      </coding>
    </code>
    <population id="d2e9240">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Active NonICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="SurgeInactiveNonICU"/>
      </coding>
    </code>
    <population id="d2e9394">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Surge Inactive NonICU Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="Burn"/>
      </coding>
    </code>
    <population id="d2e9548">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Burn Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="NegativePressure"/>
      </coding>
    </code>
    <population id="d2e9703">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Negative Pressure Beds Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="AdultED"/>
      </coding>
    </code>
    <population id="d2e9857">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Adult ED Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="PedsED"/>
      </coding>
    </code>
    <population id="d2e10011">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Peds ED Initial Population"/>
      </criteria>
    </population>
  </group>
  <group>
    <code>
      <coding>
        <system
                value="http://hl7.org/fhir/us/safr/CodeSystem/us-safr-bed-capacity-group-example-codes"/>
        <code value="TotalED"/>
      </coding>
    </code>
    <population id="d2e10166">
      <code>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-population"/>
          <code value="initial-population"/>
          <display value="Initial Population"/>
        </coding>
      </code>
      <criteria>
        <language value="text/cql-identifier"/>
        <expression value="Total ED Initial Population"/>
      </criteria>
    </population>
  </group>
</Measure>