CDC National Healthcare Safety Network (NHSN) Digital Quality Measures (dQM) Content Package IG
1.0.0 - Release 1

CDC National Healthcare Safety Network (NHSN) Digital Quality Measures (dQM) Content Package IG - Downloaded Version 1.0.0 See the Directory of published versions

## : NHSN dQM Acute Care Hospital Daily Initial Population Measure - XML Representation

Page standards status: Trial-use | Maturity Level: 1

Raw xml | Download

    <Measure xmlns="http://hl7.org/fhir">
      <id value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cohort-measure-cqfm"/>
        <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">NHSNAcuteCareHospitalDailyInitialPopulation</td>
    </tr>

    <tr>

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

    <td class="content-container">NHSN Acute Care Hospital Daily Initial Population</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">false</td>
    </tr>

    <tr>

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

    <td class="content-container"><div><p>All encounters with an inpatient, observation, or short stay status for patients of any age during the measurement period.</p>
    </div></td>
    </tr>

    <tr>

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

    <td class="content-container">CDC National Healthcare Safety Network (NHSN)</td>
    </tr>

    <tr>

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

    <td class="content-container">CDC National Healthcare Safety Network (NHSN): <a href="http://www.cdc.gov/nhsn">http://www.cdc.gov/nhsn</a>,<a href="mailto:nhsn@cdc.gov">nhsn@cdc.gov</a></td>
    </tr>

    <tr>

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

    <td class="content-container"><div><p>Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets.</p>
    </div></td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: https://www.cdc.gov/nhsn/index.html [placeholder for link to protocol on CDC website]

        <br/>

        <em>Content URL</em>: <a href="https://www.cdc.gov/nhsn/index.html">https://www.cdc.gov/nhsn/index.html</a>

        <br/>

        <em>Document</em>: null @ https://www.cdc.gov/nhsn/index.html

      </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">Measure Type</th>

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

    <tr>

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

    <td class="content-container"><div><p>The NHSN Acute Care Hospital (ACH) Daily module enables the measurement of facility and unit-specific incidence and prevalence of Coronavirus 2019 (COVID-19), Influenza, and Respiratory Syncytial Virus (RSV) disease among patients admitted to the hospital (inpatient, observation, or short stay status), and specific associated patient outcomes.  The ACH Daily Daily module supports an electronic health record (EHR)-/vendor-neutral standard for reporting patient-level data on hospitalized patients with a respiratory illness due to one or more of the pathogens under surveillance. Data collected via the ACH Daily module may be used by facilities for quality improvement and patient care planning purposes, as well as by local, state, and federal public health agencies in coordination and response to public health outbreaks. The ACH Daily module offers a mechanism for ongoing monitoring of infectious respiratory viral illness among hospitalized patients with minimal human resource expenditure via 100% electronically automated data capture. This initial version of the module is based on electronic data capture and upload of demographic, administrative, and clinical data from the facility’s electronic source systems such as the electronic health record (EHR), patient registration system (admission, discharge, and transfer [ADT] data), laboratory information system, and pharmacy electronic medication administration system. Facilities will have access to their data via the analysis functions of NHSN.</p>
    </div></td>
    </tr>

    <tr>

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

    <td class="content-container">Encounter</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>: initial-population
            <br/>

              <em>Description</em>:
              <p style="white-space: pre-line" class="tab-one">The Acute Care Hospital Daily Initial Population includes all encounters with an inpatient, observation, or short stay status for patients of any age during the measurement period.</p>

                <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-initial-population">Initial Population</a>

          </td>
        </tr>

      <tr>

    <th colspan="2" scope="row" class="row-header">Supplemental Data Elements</th>

    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-minimal-patient

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Minimal Patient

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-minimal-patient">SDE Minimal Patient</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-location

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Location

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-location">SDE Location</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-encounter-discharge-disposition

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Encounter Discharge Dispositions

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-encounter-discharge-dispositions">SDE Encounter Discharge Dispositions</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ach-daily-observation

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE ACH Daily Observation

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-observation">SDE ACH Daily Observation</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-rsv-pre-admission-observation

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE RSV PRE Admission Observation

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-pre-admission-observation">SDE RSV PRE Admission Observation</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-and-influenza-pre-admission-observation

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE COVID And Influenza PRE Admission Observation

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-pre-admission-observation">SDE COVID And Influenza PRE Admission Observation</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ach-daily-specimen

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE ACH Daily Specimen

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-specimen">SDE ACH Daily Specimen</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-rsv-specimen

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE RSV Specimen

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-specimen">SDE RSV Specimen</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-and-influenza-specimen

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE COVID And Influenza Specimen

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-specimen">SDE COVID And Influenza Specimen</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ach-daily-diagnosticreport

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE ACH Daily DiagnosticReport

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-diagnosticreport">SDE ACH Daily DiagnosticReport</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-rsv-diagnosticreport

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE RSV DiagnosticReport

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-diagnosticreport">SDE RSV DiagnosticReport</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-and-influenza-diagnosticreport

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE COVID And Influenza DiagnosticReport

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-diagnosticreport">SDE COVID And Influenza DiagnosticReport</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ach-daily-diagnosticreport-result-from-lab

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE ACH Daily DiagnosticReport Result from Lab

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-diagnosticreport-result-from-lab">SDE ACH Daily DiagnosticReport Result from Lab</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-and-influenza-diagnosticreport-result-from-lab

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE COVID and Influenza DiagnosticReport Result from Lab

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-diagnosticreport-result-from-lab">SDE COVID and Influenza DiagnosticReport Result from Lab</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-rsv-diagnosticreport-result-from-lab

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE RSV DiagnosticReport Result from Lab

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-diagnosticreport-result-from-lab">SDE RSV DiagnosticReport Result from Lab</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ach-daily-servicerequest

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE ACH Daily ServiceRequest

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-servicerequest">SDE ACH Daily ServiceRequest</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-isolation-precautions-implemented

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Isolation Precautions Implemented

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-isolation-precautions-implemented">SDE Isolation Precautions Implemented</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-or-influenza-medication-administered

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Covid or Influenza Medication Administered

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-or-influenza-medication-administered">SDE Covid or Influenza Medication Administered</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-covid-or-influenza-medication-ordered

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Covid or Influenza Medication Ordered

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-covid-or-influenza-medication-ordered">SDE Covid or Influenza Medication Ordered</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-medication

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Medication

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-medication">SDE Medication</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-all-observations

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE All Observations

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-all-observations">SDE All Observations</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-all-servicerequests

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE All ServiceRequests

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-all-servicerequests">SDE All ServiceRequests</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-all-procedures

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE All Procedures

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-all-procedures">SDE All Procedures</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-encounter

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE Encounter

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-encounter">SDE Encounter</a>

      </td>
    </tr>

    <tr>

    <th scope="row" class="row-header">Supplemental Data Element</th>

      <td class="content-container">

          <em>ID</em>: sde-ip-encounters

          <br/>

              <em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>

            <br/>

          <em>Description</em>: SDE IP Encounters

            <br/>

            <em>Logic Definition</em>: <a href="#nhsnacutecarehospitaldailyinitialpopulation-sde-ip-encounters">SDE IP Encounters</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-NHSNAcuteCareHospitalDailyInitialPopulation.html">NHSNAcuteCareHospitalDailyInitialPopulation</a></td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Library FHIRHelpers

        <br/>

        <em>Resource</em>: <code>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/FHIRHelpers|4.0.2</code>
        <br/>
        <em>Canonical URL</em>: <tt>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/FHIRHelpers|4.0.2</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Library NHSNHelpers

        <br/>

        <em>Resource</em>: <code>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/NHSNHelpers|0.0.002</code>
        <br/>
        <em>Canonical URL</em>: <tt>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/NHSNHelpers|0.0.002</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Library SharedResource

        <br/>

        <em>Resource</em>: <code>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/SharedResourceCreation|0.1.010</code>
        <br/>
        <em>Canonical URL</em>: <tt>http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/SharedResourceCreation|0.1.010</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Code system ActCode

        <br/>

        <em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html">ActCodeversion: null9.0.0)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode|9.0.0</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Code system Observation Category

        <br/>

        <em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-observation-category.html">Observation Category Codesversion: null1.0.1)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category|1.0.1</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Encounter Inpatient

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.666.5.307/expansion">Encounter Inpatient</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set NHSN Inpatient Encounter Class Codes

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1046.274/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Observation Services

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1111.143/expansion">Observation Services</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Inpatient, Emergency, and Observation Locations

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1046.265/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion">COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set COVID_19 (Tests for SARS_CoV_2 Antigen)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion">COVID_19 (Tests for SARS_CoV_2 Antigen)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Influenza (Tests for influenza A or B virus Nucleic Acid)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion">Influenza (Tests for influenza A or B virus Nucleic Acid)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Influenza (Tests for influenza A or B virus Antigen)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion">Influenza (Tests for influenza A or B virus Antigen)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set RSV (Tests for RSV Nucleic Acid)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set RSV (Tests for RSV Antigen)

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Discharge Disposition

        <br/>

        <em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/ValueSet-encounter-discharge-disposition.html">Discharge dispositionversion: null1.0.1)</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://terminology.hl7.org/ValueSet/encounter-discharge-disposition|1.0.1</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Anakinra

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2054/expansion">Anakinra</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2054</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Baloxavir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1190.85/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.85</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.85</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Bamlanivimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2099/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2099</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2099</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Baricitinib

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2046/expansion">Baricitinib</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2046</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Bebtelovimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2105/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2105</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2105</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Casirivimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2097/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2097</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2097</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Casirivimab / Imdevimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2103/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2103</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2103</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set COVID19 RxNorm Value Set for Tocilizumab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2087/expansion">COVID19 RxNorm Value Set for Tocilizumab</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2087</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Etesevimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2100/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2100</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2100</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Imdevimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2098/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2098</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2098</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Molnupiravir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2119/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2119</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2119</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Nirmatrelvir / Ritonavir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2104/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2104</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2104</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Oseltamivir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2078/expansion">Oseltamivir</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2078</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Peramivir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1190.86/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.86</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.86</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Remdesivir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2081/expansion">Remdesivir</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2081</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Sarilumab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2084/expansion">Sarilumab</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2084</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Sotrovimab

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2101/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2101</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2101</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Tofacitinib

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.3616.200.110.102.2102/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2102</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2102</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Zanamivir

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1190.87/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.87</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.87</tt>

      </td>
    </tr>

    <tr>

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

      <td class="content-container">

        <em>Description</em>: Value set Transmission Based Precaution Types

        <br/>

        <em>Resource</em>: <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.10.20.22.5.300/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300</a>
        <br/>
        <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300</tt>

      </td>
    </tr>

      <tr>
        <th scope="row" class="row-header">Direct Reference Code</th>
        <td class="content-container">

            <em>Display</em>: observation encounter
            <br/>

          <em>Code</em>: OBSENC
          <br/>
          <em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
        </td>
      </tr>

      <tr>
        <th scope="row" class="row-header">Direct Reference Code</th>
        <td class="content-container">

            <em>Display</em>: Laboratory
            <br/>

          <em>Code</em>: laboratory
          <br/>
          <em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category</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>: SDE Encounter
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Encounter
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE ACH Daily ServiceRequest
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: ServiceRequest
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE RSV Specimen
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Specimen
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE ACH Daily Specimen
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Specimen
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE ACH Daily DiagnosticReport
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE RSV DiagnosticReport
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE ACH Daily Observation
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Observation
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: Initial Population
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Encounter
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE All Procedures
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Procedure
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Encounter Discharge Dispositions
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Encounter
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Covid or Influenza Medication Ordered
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: MedicationRequest
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Minimal Patient
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: 1
        <br/>
        <em>Type</em>: Patient
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE All Observations
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Observation
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Medication
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Medication
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Covid or Influenza Medication Administered
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: MedicationAdministration
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE RSV DiagnosticReport Result from Lab
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE IP Encounters
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Encounter
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE RSV PRE Admission Observation
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Observation
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Isolation Precautions Implemented
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Procedure
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE COVID And Influenza Specimen
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Specimen
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE All ServiceRequests
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: ServiceRequest
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE COVID And Influenza DiagnosticReport
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE COVID And Influenza PRE Admission Observation
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Observation
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE ACH Daily DiagnosticReport Result from Lab
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE COVID and Influenza DiagnosticReport Result from Lab
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: DiagnosticReport
      </td>
    </tr>

      <tr>

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

      <td class="content-container">
        <em>Name</em>: SDE Location
        <br/>
        <em>Use</em>: Out
        <br/>
        <em>Min Cardinality</em>: 0
        <br/>
        <em>Max Cardinality</em>: *
        <br/>
        <em>Type</em>: Location
      </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/>

        <em>Must Support Elements</em>: type, status, period, id, extension, identifier, statusHistory, class, classHistory, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf, hospitalization.dischargeDisposition
        <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.666.5.307/expansion">Encounter Inpatient</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>: class, status, period, id, extension, identifier, statusHistory, classHistory, type, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf, hospitalization.dischargeDisposition
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: class</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1046.274/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274</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, status, period, id, extension, identifier, statusHistory, class, classHistory, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf, hospitalization.dischargeDisposition
        <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.113762.1.4.1111.143/expansion">Observation Services</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>: class, status, period, id, extension, identifier, statusHistory, classHistory, type, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf, hospitalization.dischargeDisposition
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: class</span>
        <br/>

        <span class="tab-one"><em>Code</em>: </span>
        <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>: status, period, id, extension, identifier, statusHistory, class, classHistory, type, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf, hospitalization.dischargeDisposition
        <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/>

        <em>Must Support Elements</em>: id, extension, status, operationalStatus, name, alias, description, mode, type, telecom, address, physicalType, position, managingOrganization, partOf, hoursOfOperation, availabilityExceptions, endpoint
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion">COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion">COVID_19 (Tests for SARS_CoV_2 Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion">Influenza (Tests for influenza A or B virus Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion">Influenza (Tests for influenza A or B virus Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: code, id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: ServiceRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/servicerequest.html">ServiceRequest</a>
        <br/>

        <em>Must Support Elements</em>: id, extension, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, intent, category, priority, doNotPerform, code, orderDetail, quantity, subject, encounter, occurrence, asNeeded, authoredOn, requester, performerType, performer, locationCode, locationReference, reasonCode, reasonReference, insurance, supportingInfo, specimen, bodySite, note, patientInstruction, relevantHistory
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion">Influenza (Tests for influenza A or B virus Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion">Influenza (Tests for influenza A or B virus Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion">COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: code, category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion">COVID_19 (Tests for SARS_CoV_2 Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Observation
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/observation.html">Observation</a>
        <br/>

        <em>Must Support Elements</em>: category, status, effective, specimen, specimen.collection, specimen.collection.collected, id, extension, basedOn, partOf, code, subject, focus, encounter, issued, performer, value, dataAbsentReason, interpretation, note, bodySite, method, device, referenceRange, hasMember, derivedFrom, component
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Specimen
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/specimen.html">Specimen</a>
        <br/>

        <em>Must Support Elements</em>: id, extension, identifier, accessionIdentifier, status, type, subject, receivedTime, parent, request, collection, processing, container, condition, note
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1142/expansion">COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1158/expansion">COVID_19 (Tests for SARS_CoV_2 Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.336/expansion">Influenza (Tests for influenza A or B virus Nucleic Acid)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.337/expansion">Influenza (Tests for influenza A or B virus Antigen)</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1312/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: code, status, id, extension, basedOn, category, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1146.1311/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: DiagnosticReport
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/diagnosticreport.html">DiagnosticReport</a>
        <br/>

        <em>Must Support Elements</em>: status, id, extension, basedOn, category, code, subject, encounter, effective, issued, performer, resultsInterpreter, specimen, result, conclusion, conclusionCode
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Procedure
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>
        <br/>

        <em>Must Support Elements</em>: id, extension, instantiatesCanonical, instantiatesUri, basedOn, partOf, status, statusReason, category, code, subject, encounter, performed, recorder, asserter, performer, location, reasonCode, reasonReference, bodySite, outcome, report, complication, complicationDetail, followUp, note, focalDevice, usedReference, usedCode
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Procedure
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/procedure.html">Procedure</a>
        <br/>

        <em>Must Support Elements</em>: code, performed, id, extension, instantiatesCanonical, instantiatesUri, basedOn, partOf, status, statusReason, category, subject, encounter, recorder, asserter, performer, location, reasonCode, reasonReference, bodySite, outcome, report, complication, complicationDetail, followUp, note, focalDevice, usedReference, usedCode
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: code</span>
        <br/>

        <span class="tab-one"><em>ValueSet</em>:</span> <a href="https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.10.20.22.5.300/expansion">http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300</a>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Medication
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/medication.html">Medication</a>
        <br/>

        <em>Must Support Elements</em>: id, extension, code, status, manufacturer, form, amount, ingredient, batch
        <br/>

        <em>Code Filter(s)</em>:
        <br/>

        <span class="tab-one"><em>Path</em>: id</span>
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: Patient
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/patient.html">Patient</a>
        <br/>

        <em>Must Support Elements</em>: id, identifier, active, name, telecom, gender, birthDate, deceased, address, maritalStatus, multipleBirth, photo, contact, communication, generalPractitioner, managingOrganization, link
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: MedicationRequest
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a>
        <br/>

        <em>Must Support Elements</em>: medication, authoredOn, id, extension, status, statusReason, intent, category, priority, doNotPerform, reported, subject, encounter, requester, recorder, reasonCode, reasonReference, instantiatesCanonical, instantiatesUri, courseOfTherapyType, dosageInstruction
        <br/>

      </td>
    </tr>

    <tr>
      <th scope="row" class="row-header">Data Requirement</th>
      <td class="content-container">
        <em>Type</em>: MedicationAdministration
        <br/>

        <em>Profile(s)</em>:

        <a href="http://hl7.org/fhir/R4/medicationadministration.html">MedicationAdministration</a>
        <br/>

        <em>Must Support Elements</em>: medication, status, effective, id, extension, instantiates, partOf, statusReason, category, subject, context, supportingInformation, performer, reasonCode, reasonReference, request, device, note, dosage, eventHistory
        <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="nhsnacutecarehospitaldailyinitialpopulation-encounters"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

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

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-encounterinpatient"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;EncounterInpatient&quot;:   ([Encounter: &quot;Encounter Inpatient&quot;]     union [Encounter: class in &quot;NHSN Inpatient Encounter Class Codes&quot;]) Encounters   where Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}     and Encounters.period overlaps &quot;Measurement Period&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-encounterobservation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;EncounterObservation&quot;:   ([Encounter: &quot;Observation Services&quot;]     union [Encounter: class in {&quot;observation encounter&quot;}]) Encounters   where Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}     and Encounters.period overlaps &quot;Measurement Period&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-encounters-with-patient-hospital-locations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Encounters with Patient Hospital Locations&quot;:   [Encounter] Encounters   where exists(     Encounters.location EncounterLocation     let types: NHSNHelpers.GetLocation(EncounterLocation.location).type     where exists(       types type       where type in &quot;Inpatient, Emergency, and Observation Locations&quot;     )     and EncounterLocation.period overlaps Encounters.period     and Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error' }     and Encounters.period overlaps &quot;Measurement Period&quot;   )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-initial-population"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//---------------------------------- // Initial Population //---------------------------------- define &quot;Initial Population&quot;:   EncounterInpatient   union EncounterObservation   union &quot;Encounters with Patient Hospital Locations&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-encounter"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Encounter&quot;:    &quot;Encounters&quot; Encounters   where not CheckIP(Encounters)   and exists(     &quot;Initial Population&quot; IP     where Encounters.period overlaps IP.period)   return SharedResource.EncounterResource(Encounters,   {FHIR.canonical{value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-servicerequest"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE ACH Daily ServiceRequest&quot;:   ([ServiceRequest: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]    union  [ServiceRequest: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]    union  [ServiceRequest: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]   union  [ServiceRequest: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   union  [ServiceRequest: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]   union  [ServiceRequest: &quot;RSV (Tests for RSV Antigen)&quot;]   ) ServiceRequests     where ServiceRequests.intent ~ 'order'       and ServiceRequests.status ~ 'completed'       and exists(&quot;Initial Population&quot;)   return SharedResource.ServiceRequestResource(ServiceRequests,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-servicerequest'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RSV Observation&quot;:   ([Observation: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]   union [Observation: &quot;RSV (Tests for RSV Antigen)&quot;]      ) Observations     where exists(Observations.category Category where Category ~ &quot;laboratory&quot;)       and Observations.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-pre-admission-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//further constrain RSV observation for 8 day lookback define &quot;RSV PRE Admission Observation&quot;:   &quot;RSV Observation&quot; O    where exists(EncounterInpatient E      where (       NHSNHelpers.&quot;Normalize Interval&quot;(O.effective) 8 days or less on or before start of E.period       or NHSNHelpers.&quot;Normalize Interval&quot;(GetSpecimen(O.specimen).collection.collected) 8 days or less on or before start of E.period       )       and start of E.period during &quot;Measurement Period&quot;     )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-specimen"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the Specimen related to the RSV Observation Pre Admission define &quot;SDE RSV Specimen&quot;:   &quot;RSV PRE Admission Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-covid-and-influenza-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//----------------------------------------------- // Logic related to Laboratory //----------------------------------------------- //Lab Observations define &quot;COVID And Influenza Observation&quot;:   ([Observation: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]    union [Observation: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   union [Observation: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]   union [Observation: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]   ) Observations     where exists(Observations.category Category where Category ~ &quot;laboratory&quot;)       and Observations.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-ach-daily-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;ACH Daily Observation&quot;:   &quot;RSV Observation&quot;   union &quot;COVID And Influenza Observation&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-specimen"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the Specimen related to the Observation during the Measurement Period define &quot;SDE ACH Daily Specimen&quot;:   &quot;ACH Daily Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-covid-and-influenza-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//Lab DiagnosticReport define &quot;COVID And Influenza DiagnosticReport&quot;:   ([DiagnosticReport: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]     union [DiagnosticReport: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   ) Reports     where exists(&quot;Initial Population&quot;)       and Reports.status in {'final','registered','preliminary','partial'}</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RSV DiagnosticReport&quot;:   ([DiagnosticReport: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;RSV (Tests for RSV Antigen)&quot;]   ) Reports     where exists(&quot;Initial Population&quot;)       and Reports.status in {'final','registered','preliminary','partial'}</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-ach-daily-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;ACH Daily DiagnosticReport&quot;:   &quot;COVID And Influenza DiagnosticReport&quot;     union &quot;RSV DiagnosticReport&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the DiagnosticReport during the Measurement Period define &quot;SDE ACH Daily DiagnosticReport&quot;:   &quot;ACH Daily DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the RSV DiagnosticReport pre admission define &quot;SDE RSV DiagnosticReport&quot;:   &quot;RSV DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the Observation during the Measurement Period define &quot;SDE ACH Daily Observation&quot;:   &quot;ACH Daily Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-all-procedures"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//To catch all isolation precautions define &quot;SDE All Procedures&quot;:   [Procedure] P   where exists(&quot;Initial Population&quot;)   return SharedResource.ProcedureResource(P,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-procedure'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-encounter-discharge-dispositions"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Encounter Discharge Dispositions&quot;:  &quot;Initial Population&quot; DischargeDispositions    where DischargeDispositions.hospitalization.dischargeDisposition in &quot;Discharge Disposition&quot;   return SharedResource.EncounterResource(DischargeDispositions,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-encounter'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-or-influenza-medication-ordered"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Covid or Influenza Medication Ordered&quot;:   [MedicationRequest] RPSMedRequest     let Meds: GetMedicationCode(RPSMedRequest.medication)     where (Meds in &quot;Anakinra&quot;             or Meds in &quot;Baloxavir&quot;             or Meds in &quot;Bamlanivimab&quot;             or Meds in &quot;Baricitinib&quot;             or Meds in &quot;Bebtelovimab&quot;             or Meds in &quot;Casirivimab&quot;             or Meds in &quot;Casirivimab / Imdevimab&quot;             or Meds in &quot;COVID19 RxNorm Value Set for Tocilizumab&quot;             or Meds in &quot;Etesevimab&quot;             or Meds in &quot;Imdevimab&quot;             or Meds in &quot;Molnupiravir&quot;             or Meds in &quot;Nirmatrelvir / Ritonavir&quot;             or Meds in &quot;Oseltamivir&quot;             or Meds in &quot;Peramivir&quot;             or Meds in &quot;Remdesivir&quot;             or Meds in &quot;Sarilumab&quot;             or Meds in &quot;Sotrovimab&quot;                 or Meds in &quot;Tofacitinib&quot;             or Meds in &quot;Zanamivir&quot;)       and exists(&quot;Initial Population&quot;)       and NHSNHelpers.&quot;Normalize Interval&quot;(RPSMedRequest.authoredOn) during &quot;Measurement Period&quot;     return SharedResource.MedicationRequestResource(RPSMedRequest,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medicationrequest'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-minimal-patient"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Minimal Patient&quot;:   Patient p   where exists(&quot;Initial Population&quot;)   return SharedResource.PatientResource(p,    {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/cross-measure-patient'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-observations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

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

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-all-observations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//To catch all isolation precautions define &quot;SDE All Observations&quot;:   &quot;Observations&quot; O   where exists(&quot;Initial Population&quot;)   return SharedResource.ObservationLabResource(O,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-or-influenza-medication-administered"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Covid or Influenza Medication Administered&quot;:   [MedicationAdministration] RPSMedAdmin     let Meds: GetMedicationCode(RPSMedAdmin.medication)    where (Meds in &quot;Anakinra&quot;             or Meds in &quot;Bamlanivimab&quot;             or Meds in &quot;Baloxavir&quot;             or Meds in &quot;Baricitinib&quot;             or Meds in &quot;Bebtelovimab&quot;             or Meds in &quot;Casirivimab&quot;             or Meds in &quot;Casirivimab / Imdevimab&quot;             or Meds in &quot;COVID19 RxNorm Value Set for Tocilizumab&quot;             or Meds in &quot;Etesevimab&quot;             or Meds in &quot;Imdevimab&quot;             or Meds in &quot;Molnupiravir&quot;             or Meds in &quot;Nirmatrelvir / Ritonavir&quot;             or Meds in &quot;Oseltamivir&quot;             or Meds in &quot;Peramivir&quot;             or Meds in &quot;Remdesivir&quot;             or Meds in &quot;Sarilumab&quot;             or Meds in &quot;Sotrovimab&quot;                 or Meds in &quot;Tofacitinib&quot;             or Meds in &quot;Zanamivir&quot;)       and RPSMedAdmin.status ~ 'completed'       and exists(&quot;Initial Population&quot;)       and NHSNHelpers.&quot;Normalize Interval&quot;(RPSMedAdmin.effective) during &quot;Measurement Period&quot;     return SharedResource.MedicationAdministrationResource(RPSMedAdmin,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medicationadministration'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-medication"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Medication&quot;:   (&quot;SDE Covid or Influenza Medication Ordered&quot;   union &quot;SDE Covid or Influenza Medication Administered&quot;) MedReqOrAdmin   where MedReqOrAdmin.medication is FHIR.Reference   return SharedResource.MedicationResource(GetMedicationFrom(MedReqOrAdmin.medication),   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medication'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-diagnosticreports"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

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

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-observations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RSV Observations&quot;:   &quot;Observations&quot; Observations   where Observations.code in &quot;RSV (Tests for RSV Nucleic Acid)&quot;     or Observations.code in &quot;RSV (Tests for RSV Antigen)&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-diagnosticreport-observations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RSV DiagnosticReport Observations&quot;:   &quot;DiagnosticReports&quot; Reports   where exists(     &quot;RSV Observations&quot; Observations     where Reports.result.references(Observations)   )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-rsv-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;RSV DiagnosticReport Result from Lab&quot;:   [DiagnosticReport] Reports     where exists(&quot;RSV DiagnosticReport Observations&quot;)       and Reports.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the RSV DiagnosticReport based on the result pre admission define &quot;SDE RSV DiagnosticReport Result from Lab&quot;:   &quot;RSV DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ip-encounters"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//---------------------------------- // SDE //---------------------------------- define &quot;SDE IP Encounters&quot;:   &quot;Initial Population&quot; IP   return SharedResource.EncounterResource(IP,    {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-encounter'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-rsv-pre-admission-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the RSV Observation Pre Admission     define &quot;SDE RSV PRE Admission Observation&quot;:   &quot;RSV PRE Admission Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,      {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-isolation-precautions-implemented"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Isolation Precautions Implemented&quot;:   [Procedure: &quot;Transmission Based Precaution Types&quot;] IsolationPrecautions     where NHSNHelpers.&quot;Normalize Interval&quot;(IsolationPrecautions.performed) during &quot;Measurement Period&quot;     and exists(&quot;Initial Population&quot;)   return SharedResource.ProcedureResource(IsolationPrecautions,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-procedure'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-covid-and-influenza-pre-admission-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//further constrain COVID-19 and Influenza Observations for 14 day lookback define &quot;COVID And Influenza PRE Admission Observation&quot;:   &quot;COVID And Influenza Observation&quot; O     where exists( EncounterInpatient E      where (       NHSNHelpers.&quot;Normalize Interval&quot;(O.effective) 14 days or less on or before start of E.period       or NHSNHelpers.&quot;Normalize Interval&quot;(GetSpecimen(O.specimen).collection.collected) 14 days or less on or before start of E.period       )       and start of E.period during &quot;Measurement Period&quot;     )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-specimen"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the Specimen related to the COVID-19 And Influenza Observation Pre Admission define &quot;SDE COVID And Influenza Specimen&quot;:   &quot;COVID And Influenza PRE Admission Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-all-servicerequests"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//To catch all isolation precautions define &quot;SDE All ServiceRequests&quot;:   [ServiceRequest] SR   where exists(&quot;Initial Population&quot;)   return SharedResource.ServiceRequestResource(SR,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-servicerequest'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-diagnosticreport"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the COVID-19 And Influenza DiagnosticReport pre admission define &quot;SDE COVID And Influenza DiagnosticReport&quot;:   &quot;COVID And Influenza DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-pre-admission-observation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the COVID-19 and Influenza Observation Pre Admission define &quot;SDE COVID And Influenza PRE Admission Observation&quot;:   &quot;COVID And Influenza PRE Admission Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-covid-and-influenza-diagnosticreport-observations"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;COVID and Influenza DiagnosticReport Observations&quot;:   &quot;Observations&quot; Observations   where Observations.code in &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;     or Observations.code in &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;     or Observations.code in &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;     or Observations.code in &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-covid-and-influenza-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;COVID and Influenza DiagnosticReport Result from Lab&quot;:   &quot;DiagnosticReports&quot; Reports     where exists(       &quot;COVID and Influenza DiagnosticReport Observations&quot; Observations       where Reports.result.references(Observations)     )     and Reports.status in {'final','registered','preliminary','partial'}     and exists(&quot;Initial Population&quot;)</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-ach-daily-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;ACH Daily DiagnosticReport Result from Lab&quot;:   &quot;COVID and Influenza DiagnosticReport Result from Lab&quot;     union &quot;RSV DiagnosticReport Result from Lab&quot;</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-ach-daily-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the DiagnosticReport based on the result during the Measurement Period     define &quot;SDE ACH Daily DiagnosticReport Result from Lab&quot;:   &quot;ACH Daily DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-covid-and-influenza-diagnosticreport-result-from-lab"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//return the COVID-19 and Influenza DiagnosticReport based on the result pre admission define &quot;SDE COVID and Influenza DiagnosticReport Result from Lab&quot;:   &quot;COVID and Influenza DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-sde-location"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;SDE Location&quot;:   [Location] Locations   where exists(&quot;Initial Population&quot;)   return SharedResource.LocationResource(Locations,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-location'}})</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-checkip"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">//----------------------------------------------------- //functions //----------------------------------------------------- define function &quot;CheckIP&quot;(encounter Encounter):   exists(&quot;Initial Population&quot; IP   where encounter.id = IP.id)</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value EncounterStatus): value.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;.value is null then             Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]         else              if time from period.&quot;start&quot;.value is null and time from period.&quot;end&quot;.value is not null then                 Interval[                     DateTime(year from period.&quot;start&quot;.value, month from period.&quot;start&quot;.value, day from period.&quot;start&quot;.value,                         0, 0, 0, 0, timezoneoffset from period.&quot;end&quot;.value),                      period.&quot;end&quot;.value                 ]         else              if time from period.&quot;end&quot;.value is null and time from period.&quot;start&quot;.value is not null then                 Interval[                     period.&quot;start&quot;.value,                      DateTime(year from period.&quot;end&quot;.value, month from period.&quot;end&quot;.value, day from period.&quot;end&quot;.value,                         23, 59, 59, 999, timezoneoffset from period.&quot;start&quot;.value)                 ]         else Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnhelpers-getlocation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetLocation&quot;(reference Reference ):   singleton from (  [Location] Locations   where Locations.id = GetId(reference.reference)   )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value string): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnhelpers-getid"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetId&quot;(uri String ):   Last(Split(uri, '/'))</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="sharedresourcecreation-encounterresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterResource(encounter Encounter, profileURLs List&lt;FHIR.canonical&gt;):   encounter e   return Encounter{     id: FHIR.id{value: 'LCR-' + e.id},     meta: MetaElement(e, profileURLs),     extension: e.extension,     identifier: EncounterIdentifier(e.identifier),     status: e.status,     statusHistory: EncounterStatusHistory(e.statusHistory),     class: e.class,     classHistory: EncounterClassHistory(e.classHistory),     type: e.type,     serviceType: e.serviceType,     priority: e.priority,     subject: e.subject,     period: e.period,     length: e.length,     reasonCode: e.reasonCode,     reasonReference: e.reasonReference,     diagnosis: EncounterDiagnosis(e.diagnosis),     account: e.account,     hospitalization: EncounterHospitalization(e.hospitalization),     location: EncounterLocation(e.location),     partOf: e.partOf   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-metaelement"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;MetaElement&quot;(resource Resource, profileURLs List&lt;FHIR.canonical&gt;):   resource r   return FHIR.Meta{     extension: r.meta.extension,     versionId: r.meta.versionId,     lastUpdated: r.meta.lastUpdated,     profile: profileURLs,     security: r.meta.security,     tag: r.meta.tag   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounteridentifier"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterIdentifier(identifier List&lt;FHIR.Identifier&gt;):   identifier i   return FHIR.Identifier{     use: i.use,     type: i.type,     system: i.system,     value: i.value,     period: i.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounterstatushistory"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterStatusHistory(statusHistory List&lt;FHIR.Encounter.StatusHistory&gt;):   statusHistory sH   return FHIR.Encounter.StatusHistory{     status: sH.status,     period: sH.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounterclasshistory"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterClassHistory(classHistory List&lt;FHIR.Encounter.ClassHistory&gt;):   classHistory cH   return FHIR.Encounter.ClassHistory{     class: cH.class,     period: cH.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounterdiagnosis"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*No longer needed but saving for potential future use define function EncounterParticipant(participant List&lt;FHIR.Encounter.Participant&gt;):   participant p   return FHIR.Encounter.Participant{     type: p.type,     period: p.period,     individual: p.individual   }*/  define function EncounterDiagnosis(diagnosis List&lt;FHIR.Encounter.Diagnosis&gt;):   diagnosis d   return FHIR.Encounter.Diagnosis{     condition: d.condition,     use: d.use,     rank: d.rank   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounterhospitalization"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterHospitalization(hospitalization FHIR.Encounter.Hospitalization):   hospitalization h   return FHIR.Encounter.Hospitalization{     preAdmissionIdentifier: h.preAdmissionIdentifier,     origin: h.origin,     admitSource: h.admitSource,     reAdmission: h.reAdmission,     dietPreference: h.dietPreference,     specialCourtesy: h.specialCourtesy,     specialArrangement: h.specialArrangement,     destination: h.destination,     dischargeDisposition: h.dischargeDisposition   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-encounterlocation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function EncounterLocation(location List&lt;FHIR.Encounter.Location&gt;):   location l   return FHIR.Encounter.Location{     location: l.location,     status: l.status,     physicalType: l.physicalType,     period: l.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value ServiceRequestIntent): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value ServiceRequestStatus): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-servicerequestresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ServiceRequestResource(serviceRequest ServiceRequest, profileURLs List&lt;FHIR.canonical&gt;):   serviceRequest sR   return ServiceRequest{     id: FHIR.id {value: 'LCR-' + sR.id},     meta: MetaElement(sR, profileURLs),     extension: sR.extension,     instantiatesCanonical: sR.instantiatesCanonical,     instantiatesUri: sR.instantiatesUri,     basedOn: sR.basedOn,     replaces: sR.replaces,     requisition: sR.requisition,     status: sR.status,     intent: sR.intent,     category: sR.category,     priority: sR.priority,     doNotPerform: sR.doNotPerform,     code: sR.code,     orderDetail: sR.orderDetail,     quantity: sR.quantity,     subject: sR.subject,     encounter: sR.encounter,     occurrence: sR.occurrence,     asNeeded: sR.asNeeded,     authoredOn: sR.authoredOn,     requester: sR.requester,     performerType: sR.performerType,     performer: sR.performer,     locationCode: sR.locationCode,     locationReference: sR.locationReference,     reasonCode: sR.reasonCode,     reasonReference: sR.reasonReference,     insurance: sR.insurance,     supportingInfo: sR.supportingInfo,     specimen: sR.specimen,     bodySite: sR.bodySite,     note: sR.note,     patientInstruction: sR.patientInstruction,     relevantHistory: sR.relevantHistory   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value ObservationStatus): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-getspecimen"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetSpecimen&quot;(reference FHIR.Reference):   singleton from (     [Specimen] Specimens     where Specimens.id = NHSNHelpers.GetId(reference.reference)   )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-specimenresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function SpecimenResource(specimen Specimen, profileURLs List&lt;FHIR.canonical&gt;):   specimen s   return Specimen{     id: FHIR.id {value: 'LCR-' + s.id},     meta: MetaElement(s, profileURLs),     extension: s.extension,     identifier: s.identifier,     accessionIdentifier: s.accessionIdentifier,     status: s.status,     type: s.type,     subject: s.subject,     receivedTime: s.receivedTime,     parent: s.parent,     request: s.request,     collection: SpecimenCollection(s.collection),     processing: SpecimenProcessing(s.processing),     container: SpecimenContainer(s.container),     condition: s.condition,     note: s.note   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-specimencollection"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function SpecimenCollection(collection FHIR.Specimen.Collection):   collection c   return FHIR.Specimen.Collection{     collector: c.collector,     collected: c.collected,     &quot;duration&quot;: c.&quot;duration&quot;,     quantity: c.quantity,     method: c.method,     bodySite: c.bodySite,     fastingStatus: c.fastingStatus   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-specimenprocessing"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function SpecimenProcessing(processing List&lt;FHIR.Specimen.Processing&gt;):   processing p   return FHIR.Specimen.Processing{     description: p.description,     procedure: p.procedure,     additive: p.additive,     time: p.time   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-specimencontainer"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function SpecimenContainer(container List&lt;FHIR.Specimen.Container&gt;):   container c   return FHIR.Specimen.Container{     description: c.description,     type: c.type,     capacity: c.capacity,     specimenQuantity: c.specimenQuantity,     additive: c.additive   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value DiagnosticReportStatus): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-diagnosticreportlabresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function DiagnosticReportLabResource(diagnosticReport DiagnosticReport, profileURLs List&lt;FHIR.canonical&gt;):   diagnosticReport d   return DiagnosticReport{     id: FHIR.id{value: 'LCR-' + d.id},     meta: MetaElement(d, profileURLs),     extension: d.extension,     basedOn: d.basedOn,     status: d.status,     category: DiagnosticReportCategory(d.category),     code: d.code,     subject: d.subject,     encounter: d.encounter,     effective: d.effective,     issued: d.issued,     performer: d.performer,     resultsInterpreter: d.resultsInterpreter,     specimen: d.specimen,     result: d.result,     conclusion: d.conclusion,     conclusionCode: d.conclusionCode   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-diagnosticreportcategory"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function DiagnosticReportCategory(category List&lt;CodeableConcept&gt;):   category c   return CodeableConcept{     coding: DiagnosticReportCoding(c.coding)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-diagnosticreportcoding"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function DiagnosticReportCoding(coding List&lt;Coding&gt;):   coding c   return Coding{     system: c.system,     version: c.version,     code: c.code,     display: c.display,     userSelected: c.userSelected   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-observationlabresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ObservationLabResource(observation Observation, profileURLs List&lt;FHIR.canonical&gt;):   observation o   return Observation{     id: FHIR.id {value: 'LCR-' + o.id},     meta: MetaElement(o, profileURLs),     extension: o.extension,     basedOn: o.basedOn,     partOf: o.partOf,     status: o.status,     category: ObservationLabCategory(o.category),     code: o.code,     subject: o.subject,     focus: o.focus,     encounter: o.encounter,     effective: o.effective,     issued: o.issued,     performer: o.performer,     value: o.value,     dataAbsentReason: o.dataAbsentReason,     interpretation: o.interpretation,     note: o.note,     bodySite: o.bodySite,     method: o.method,     specimen: o.specimen,     device: o.device,     referenceRange: ObservationReferenceRange(o.referenceRange),     hasMember: o.hasMember,     derivedFrom: o.derivedFrom,     component: ObservationComponent(o.component)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-observationlabcategory"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ObservationLabCategory(category List&lt;CodeableConcept&gt;):   category c   return CodeableConcept{     coding: ObservationLabCoding(c.coding),     text: c.text   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-observationlabcoding"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ObservationLabCoding(coding List&lt;Coding&gt;):   coding c   return Coding{     id: c.id,     extension: c.extension,     system: c.system,     version: c.version,     code: c.code,     display: c.display,     userSelected: c.userSelected   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-observationreferencerange"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ObservationReferenceRange(referenceRange List&lt;FHIR.Observation.ReferenceRange&gt;):   referenceRange rR   return FHIR.Observation.ReferenceRange{     low: rR.low,     high: rR.high,     type: rR.type,     appliesTo: rR.appliesTo,     age: rR.age,     text: rR.text   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-observationcomponent"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ObservationComponent(component List&lt;FHIR.Observation.Component&gt;):   component c   return FHIR.Observation.Component{     code: c.code,     value: c.value,     dataAbsentReason: c.dataAbsentReason,     interpretation: c.interpretation,     referenceRange: c.referenceRange   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-procedureresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ProcedureResource(procedure Procedure, profileURLs List&lt;FHIR.canonical&gt;):   procedure p   return Procedure{     id: FHIR.id {value: 'LCR-' + p.id},     meta: MetaElement(p, profileURLs),     extension: p.extension,     instantiatesCanonical: p.instantiatesCanonical,     instantiatesUri: p.instantiatesUri,     basedOn: p.basedOn,     partOf: p.partOf,     status: p.status,     statusReason: p.statusReason,     category: p.category,     code: p.code,     subject: p.subject,     encounter: p.encounter,     performed: p.performed,     recorder: p.recorder,     asserter: p.asserter,     performer: ProcedurePerformer(p.performer),     location: p.location,     reasonCode: p.reasonCode,     reasonReference: p.reasonReference,     bodySite: p.bodySite,     outcome: p.outcome,     report: p.report,     complication: p.complication,     complicationDetail: p.complicationDetail,     followUp: p.followUp,     note: p.note,     focalDevice: ProcedureFocalDevice(p.focalDevice),     usedReference: p.usedReference,     usedCode: p.usedCode   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-procedureperformer"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ProcedurePerformer(performer List&lt;FHIR.Procedure.Performer&gt;):   performer p   return FHIR.Procedure.Performer{     function: p.function,     actor: p.actor,     onBehalfOf: p.onBehalfOf   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-procedurefocaldevice"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ProcedureFocalDevice(device List&lt;FHIR.Procedure.FocalDevice&gt;):   device d   return FHIR.Procedure.FocalDevice{     action: d.action,     manipulated: d.manipulated   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-getmedicationcode"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetMedicationCode&quot;(choice Choice&lt;FHIR.CodeableConcept, FHIR.Reference&gt;):   case     when choice is FHIR.CodeableConcept then       choice as FHIR.CodeableConcept     when choice is FHIR.Reference then       GetMedication(choice as FHIR.Reference).code     else       null as FHIR.CodeableConcept   end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-getmedication"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetMedication&quot;(reference Reference ):   singleton from (     [Medication: id in {NHSNHelpers.GetId(reference.reference)}]   )</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnhelpers-normalize-interval"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;Normalize Interval&quot;(choice Choice&lt;FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range&gt;):   case    when choice is FHIR.dateTime then      Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]   when choice is FHIR.Period then     FHIRHelpers.ToInterval(choice as FHIR.Period)   when choice is FHIR.instant then    Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]   when choice is FHIR.Age then     Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),      FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)   when choice is FHIR.Range then     Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),      FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)   when choice is FHIR.Timing then     Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')     when choice is FHIR.string then       Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute an interval from a String value')   else    null as Interval&lt;DateTime&gt;  end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-todatetime"> </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 ToDateTime(value dateTime): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-todatetime"> </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 ToDateTime(value instant): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-todate"> </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 ToDate(value date): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-toquantity"> </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 ToQuantity(quantity FHIR.Quantity):     case         when quantity is null then null         when quantity.value is null then null         when quantity.comparator is not null then             Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')         when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'               or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then             System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }         else             Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' &amp; quantity.unit.value &amp; ' (' &amp; quantity.system.value &amp; '|' &amp; quantity.code.value &amp; ')')     end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tocalendarunit"> </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 ToCalendarUnit(unit System.String):     case unit         when 'ms' then 'millisecond'         when 's' then 'second'         when 'min' then 'minute'         when 'h' then 'hour'         when 'd' then 'day'         when 'wk' then 'week'         when 'mo' then 'month'         when 'a' then 'year'         else unit     end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationrequestresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationRequestResource(medicationRequest MedicationRequest, profileURLs List&lt;FHIR.canonical&gt;):   medicationRequest m   return MedicationRequest{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(medicationRequest, profileURLs),     extension: m.extension,     status: m.status,     statusReason: m.statusReason,     intent: m.intent,     category: m.category,     priority: m.priority,     doNotPerform: m.doNotPerform,     reported: m.reported,     medication: m.medication,     subject: m.subject,     encounter: m.encounter,     authoredOn: m.authoredOn,     requester: m.requester,     recorder: m.recorder,     reasonCode: m.reasonCode,     reasonReference: m.reasonReference,     instantiatesCanonical: m.instantiatesCanonical,     instantiatesUri: m.instantiatesUri,     courseOfTherapyType: m.courseOfTherapyType,     dosageInstruction: MedicationRequestDosageInstruction(m.dosageInstruction)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationrequestdosageinstruction"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationRequestDosageInstruction(dosageInstruction List&lt;FHIR.Dosage&gt;):   dosageInstruction dI   return FHIR.Dosage{     text: dI.text,     patientInstruction: dI.patientInstruction,     timing: dI.timing,     asNeeded: dI.asNeeded,     site: dI.site,     route: dI.route,     method: dI.method,     doseAndRate: MedicationRequestDoseAndRate(dI.doseAndRate)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationrequestdoseandrate"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationRequestDoseAndRate(doseAndRate List&lt;FHIR.Dosage.DoseAndRate&gt;):   doseAndRate dR   return FHIR.Dosage.DoseAndRate{     type: dR.type,     dose: dR.dose,     rate: dR.rate   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientResource(patient Patient, profileURLs List&lt;FHIR.canonical&gt;):   patient p   return Patient{     id: FHIR.id{value: 'LCR-' + p.id},     meta: MetaElement(p, profileURLs),     extension: GetPatientExtensions(p) union GetIdExtensions(p),     identifier: p.identifier,     active: p.active,     name: PatientName(p.name),     telecom: PatientTelecom(p.telecom),     gender: p.gender,     birthDate: p.birthDate,     deceased: p.deceased,     address: PatientAddress(p.address),     maritalStatus: p.maritalStatus,     multipleBirth: p.multipleBirth,     photo: p.photo,     contact: PatientContact(p.contact),     communication: PatientCommunication(p.communication),     generalPractitioner: p.generalPractitioner,     managingOrganization: p.managingOrganization,     link: PatientLink(p.link)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-getpatientextensions"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetPatientExtensions&quot;(domainResource DomainResource):   domainResource.extension E   where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'     or E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'     or E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex'     or E.url.value = 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-resource-id-extension'   return E</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-getidextensions"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetIdExtensions&quot;(domainResource DomainResource):   domainResource.extension E   where E.url.value = 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-resource-id-extension'   return E</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientname"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/* No longer needed but saving in case it's useful later define function PatientIdentifier(identifier List&lt;FHIR.Identifier&gt;):   identifier i   return FHIR.Identifier{     id: i.id,     extension: i.extension,     use: i.use,     type: i.type,     system: i.system,     value: i.value,     period: i.period,     assigner: i.assigner   }*/  define function PatientName(name List&lt;FHIR.HumanName&gt;):   name n   return FHIR.HumanName{     id: n.id,     extension: n.extension,     use: n.use,     text: n.text,     family: n.family,     given: n.given,     prefix: n.prefix,     suffix: n.suffix,     period: n.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patienttelecom"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientTelecom(telecom List&lt;FHIR.ContactPoint&gt;):   telecom t   return FHIR.ContactPoint{     system: t.system,     value: t.value,     use: t.use,     rank: t.rank,     period: t.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientaddress"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientAddress(address List&lt;FHIR.Address&gt;):   address a   return FHIR.Address{     id: a.id,     extension: a.extension,     use: a.use,     type: a.type,     text: a.text,     line: a.line,     city: a.city,     district: a.district,     state: a.state,     postalCode: a.postalCode,     country: a.country,     period: a.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientcontact"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientContact(contact List&lt;FHIR.Patient.Contact&gt;):   contact c   return FHIR.Patient.Contact{     id: c.id,     extension: c.extension,     relationship: c.relationship,     name: c.name,     telecom: c.telecom,     address: c.address,     gender: c.gender,     organization: c.organization,     period: c.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientcommunication"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientCommunication(communication List&lt;FHIR.Patient.Communication&gt;):   communication c   return FHIR.Patient.Communication{     id: c.id,     extension: c.extension,     language: c.language,     preferred: c.preferred   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-patientlink"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function PatientLink(link List&lt;FHIR.Patient.Link&gt;):   link l   return FHIR.Patient.Link{     id: l.id,     extension: l.extension,     modifierExtension: l.modifierExtension,     other: l.other,     type: l.type   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="fhirhelpers-tostring"> </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 ToString(value MedicationAdministrationStatus): value.value</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationadministrationresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationAdministrationResource(medicationAdministration MedicationAdministration, profileURLs List&lt;FHIR.canonical&gt;):   medicationAdministration m   return MedicationAdministration{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(m, profileURLs),     extension: m.extension,     instantiates: m.instantiates,     partOf: m.partOf,     status: m.status,     statusReason: m.statusReason,     category: m.category,     medication: m.medication,     subject: m.subject,     context: m.context,     supportingInformation: m.supportingInformation,     effective: m.effective,     performer: MedicationAdministrationPerformer(m.performer),     reasonCode: m.reasonCode,     reasonReference: m.reasonReference,     request: m.request,     device: m.device,     note: m.note,     dosage: MedicationAdministrationDosage(m.dosage),     eventHistory: m.eventHistory   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationadministrationperformer"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationAdministrationPerformer(performer List&lt;FHIR.MedicationAdministration.Performer&gt;):   performer p   return FHIR.MedicationAdministration.Performer{     function: p.function,     actor: p.actor   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationadministrationdosage"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationAdministrationDosage(dosage FHIR.MedicationAdministration.Dosage):   dosage d   return FHIR.MedicationAdministration.Dosage{     text: d.text,     site: d.site,     route: d.route,     method: d.method,     dose: d.dose,     rate: d.rate   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationResource(medication Medication, profileURLs List&lt;FHIR.canonical&gt;):   medication m   return Medication{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(m, profileURLs),     extension: m.extension,     code: m.code,     status: m.status,     manufacturer: m.manufacturer,     form: m.form,     amount: m.amount,     ingredient: MedicationIngredient(m.ingredient),     batch: MedicationBatch(m.batch)   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationingredient"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationIngredient(ingredient List&lt;FHIR.Medication.Ingredient&gt;):   ingredient i   return FHIR.Medication.Ingredient{     item: i.item,     strength: i.strength   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-medicationbatch"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function MedicationBatch(batch FHIR.Medication.Batch):   batch b   return FHIR.Medication.Batch{     lotNumber: b.lotNumber,     expirationDate: b.expirationDate   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-getmedicationfrom"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function &quot;GetMedicationFrom&quot;(choice Choice&lt;FHIR.CodeableConcept, FHIR.Reference&gt;):   case     when choice is FHIR.Reference then       GetMedication(choice as FHIR.Reference)     else       null   end</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-references"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function references(references List&lt;FHIR.Reference&gt;, resource FHIR.Resource):   exists(references R where R.references(resource))</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="nhsnacutecarehospitaldailyinitialpopulation-references"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define fluent function references(reference FHIR.Reference, resource FHIR.Resource):   resource.id = Last(Split(reference.reference, '/'))</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-locationresource"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function LocationResource(location Location, profileURLs List&lt;FHIR.canonical&gt;):   location l   return Location{     id: FHIR.id {value: 'LCR-' + l.id},     meta: MetaElement(l, profileURLs),     extension: l.extension,     status: l.status,     operationalStatus: l.operationalStatus,     name: l.name,     alias: l.alias,     description: l.description,     mode: l.mode,     type: l.type,     telecom: l.telecom,     address: LocationAddress(l.address),     physicalType: l.physicalType,     position: LocationPosition(l.position),     managingOrganization: l.managingOrganization,     partOf: l.partOf,     hoursOfOperation: LocationHoursOfOperation(l.hoursOfOperation),     availabilityExceptions: l.availabilityExceptions,     endpoint: l.endpoint   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-locationaddress"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function LocationAddress(address FHIR.Address):   address a   return FHIR.Address{     use: a.use,     type: a.type,     text: a.text,     line: a.line,     city: a.city,     district: a.district,     state: a.state,     postalCode: a.postalCode,     country: a.country,     period: a.period   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-locationposition"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function LocationPosition(position FHIR.Location.Position):   position p   return FHIR.Location.Position{     longitude: p.longitude,     latitude: p.latitude,     altitude: p.altitude   }</code></pre>
      </td>

    </tr>

    <tr>
      <th scope="row" rowspan="2" class="row-header">

          <a name="sharedresourcecreation-locationhoursofoperation"> </a>

        Logic Definition
      </th>

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

    </tr>
    <tr>

      <td>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function LocationHoursOfOperation(hoursOfOperation List&lt;FHIR.Location.HoursOfOperation&gt;):   hoursOfOperation hOO   return FHIR.Location.HoursOfOperation{     daysOfWeek: hOO.daysOfWeek,     allDay: hOO.allDay,     openingTime: hOO.openingTime,     closingTime: hOO.closingTime   }</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/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
            <valueCoding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
              <code value="OBSENC"/>
              <display value="observation encounter"/>
            </valueCoding>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
            <valueCoding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/observation-category"/>
              <code value="laboratory"/>
              <display value="Laboratory"/>
            </valueCoding>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="Encounters"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//Common Retrievals define &quot;Encounters&quot;:   [Encounter]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="0"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterInpatient"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;EncounterInpatient&quot;:   ([Encounter: &quot;Encounter Inpatient&quot;]     union [Encounter: class in &quot;NHSN Inpatient Encounter Class Codes&quot;]) Encounters   where Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}     and Encounters.period overlaps &quot;Measurement Period&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterObservation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;EncounterObservation&quot;:   ([Encounter: &quot;Observation Services&quot;]     union [Encounter: class in {&quot;observation encounter&quot;}]) Encounters   where Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}     and Encounters.period overlaps &quot;Measurement Period&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="2"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="Encounters with Patient Hospital Locations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Encounters with Patient Hospital Locations&quot;:   [Encounter] Encounters   where exists(     Encounters.location EncounterLocation     let types: NHSNHelpers.GetLocation(EncounterLocation.location).type     where exists(       types type       where type in &quot;Inpatient, Emergency, and Observation Locations&quot;     )     and EncounterLocation.period overlaps Encounters.period     and Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error' }     and Encounters.period overlaps &quot;Measurement Period&quot;   )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="3"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="Initial Population"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//---------------------------------- // Initial Population //---------------------------------- define &quot;Initial Population&quot;:   EncounterInpatient   union EncounterObservation   union &quot;Encounters with Patient Hospital Locations&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="4"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Encounter"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Encounter&quot;:    &quot;Encounters&quot; Encounters   where not CheckIP(Encounters)   and exists(     &quot;Initial Population&quot; IP     where Encounters.period overlaps IP.period)   return SharedResource.EncounterResource(Encounters,   {FHIR.canonical{value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="5"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE ACH Daily ServiceRequest"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE ACH Daily ServiceRequest&quot;:   ([ServiceRequest: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]    union  [ServiceRequest: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]    union  [ServiceRequest: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]   union  [ServiceRequest: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   union  [ServiceRequest: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]   union  [ServiceRequest: &quot;RSV (Tests for RSV Antigen)&quot;]   ) ServiceRequests     where ServiceRequests.intent ~ 'order'       and ServiceRequests.status ~ 'completed'       and exists(&quot;Initial Population&quot;)   return SharedResource.ServiceRequestResource(ServiceRequests,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-servicerequest'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="6"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RSV Observation&quot;:   ([Observation: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]   union [Observation: &quot;RSV (Tests for RSV Antigen)&quot;]      ) Observations     where exists(Observations.category Category where Category ~ &quot;laboratory&quot;)       and Observations.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="7"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV PRE Admission Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//further constrain RSV observation for 8 day lookback define &quot;RSV PRE Admission Observation&quot;:   &quot;RSV Observation&quot; O    where exists(EncounterInpatient E      where (       NHSNHelpers.&quot;Normalize Interval&quot;(O.effective) 8 days or less on or before start of E.period       or NHSNHelpers.&quot;Normalize Interval&quot;(GetSpecimen(O.specimen).collection.collected) 8 days or less on or before start of E.period       )       and start of E.period during &quot;Measurement Period&quot;     )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="8"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE RSV Specimen"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the Specimen related to the RSV Observation Pre Admission define &quot;SDE RSV Specimen&quot;:   &quot;RSV PRE Admission Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="9"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="COVID And Influenza Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//----------------------------------------------- // Logic related to Laboratory //----------------------------------------------- //Lab Observations define &quot;COVID And Influenza Observation&quot;:   ([Observation: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]    union [Observation: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   union [Observation: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]   union [Observation: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]   ) Observations     where exists(Observations.category Category where Category ~ &quot;laboratory&quot;)       and Observations.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="10"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="ACH Daily Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;ACH Daily Observation&quot;:   &quot;RSV Observation&quot;   union &quot;COVID And Influenza Observation&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="11"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE ACH Daily Specimen"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the Specimen related to the Observation during the Measurement Period define &quot;SDE ACH Daily Specimen&quot;:   &quot;ACH Daily Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="12"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="COVID And Influenza DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//Lab DiagnosticReport define &quot;COVID And Influenza DiagnosticReport&quot;:   ([DiagnosticReport: &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;]     union [DiagnosticReport: &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;]   ) Reports     where exists(&quot;Initial Population&quot;)       and Reports.status in {'final','registered','preliminary','partial'}"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="13"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RSV DiagnosticReport&quot;:   ([DiagnosticReport: &quot;RSV (Tests for RSV Nucleic Acid)&quot;]     union [DiagnosticReport: &quot;RSV (Tests for RSV Antigen)&quot;]   ) Reports     where exists(&quot;Initial Population&quot;)       and Reports.status in {'final','registered','preliminary','partial'}"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="14"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="ACH Daily DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;ACH Daily DiagnosticReport&quot;:   &quot;COVID And Influenza DiagnosticReport&quot;     union &quot;RSV DiagnosticReport&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="15"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE ACH Daily DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the DiagnosticReport during the Measurement Period define &quot;SDE ACH Daily DiagnosticReport&quot;:   &quot;ACH Daily DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="16"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE RSV DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the RSV DiagnosticReport pre admission define &quot;SDE RSV DiagnosticReport&quot;:   &quot;RSV DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="17"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE ACH Daily Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the Observation during the Measurement Period define &quot;SDE ACH Daily Observation&quot;:   &quot;ACH Daily Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="18"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE All Procedures"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//To catch all isolation precautions define &quot;SDE All Procedures&quot;:   [Procedure] P   where exists(&quot;Initial Population&quot;)   return SharedResource.ProcedureResource(P,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-procedure'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="19"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Encounter Discharge Dispositions"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Encounter Discharge Dispositions&quot;:  &quot;Initial Population&quot; DischargeDispositions    where DischargeDispositions.hospitalization.dischargeDisposition in &quot;Discharge Disposition&quot;   return SharedResource.EncounterResource(DischargeDispositions,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-encounter'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="20"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Covid or Influenza Medication Ordered"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Covid or Influenza Medication Ordered&quot;:   [MedicationRequest] RPSMedRequest     let Meds: GetMedicationCode(RPSMedRequest.medication)     where (Meds in &quot;Anakinra&quot;             or Meds in &quot;Baloxavir&quot;             or Meds in &quot;Bamlanivimab&quot;             or Meds in &quot;Baricitinib&quot;             or Meds in &quot;Bebtelovimab&quot;             or Meds in &quot;Casirivimab&quot;             or Meds in &quot;Casirivimab / Imdevimab&quot;             or Meds in &quot;COVID19 RxNorm Value Set for Tocilizumab&quot;             or Meds in &quot;Etesevimab&quot;             or Meds in &quot;Imdevimab&quot;             or Meds in &quot;Molnupiravir&quot;             or Meds in &quot;Nirmatrelvir / Ritonavir&quot;             or Meds in &quot;Oseltamivir&quot;             or Meds in &quot;Peramivir&quot;             or Meds in &quot;Remdesivir&quot;             or Meds in &quot;Sarilumab&quot;             or Meds in &quot;Sotrovimab&quot;                 or Meds in &quot;Tofacitinib&quot;             or Meds in &quot;Zanamivir&quot;)       and exists(&quot;Initial Population&quot;)       and NHSNHelpers.&quot;Normalize Interval&quot;(RPSMedRequest.authoredOn) during &quot;Measurement Period&quot;     return SharedResource.MedicationRequestResource(RPSMedRequest,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medicationrequest'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="21"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Minimal Patient"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Minimal Patient&quot;:   Patient p   where exists(&quot;Initial Population&quot;)   return SharedResource.PatientResource(p,    {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/cross-measure-patient'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="22"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="Observations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;Observations&quot;:   [Observation]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="23"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE All Observations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//To catch all isolation precautions define &quot;SDE All Observations&quot;:   &quot;Observations&quot; O   where exists(&quot;Initial Population&quot;)   return SharedResource.ObservationLabResource(O,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="24"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="SDE Covid or Influenza Medication Administered"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Covid or Influenza Medication Administered&quot;:   [MedicationAdministration] RPSMedAdmin     let Meds: GetMedicationCode(RPSMedAdmin.medication)    where (Meds in &quot;Anakinra&quot;             or Meds in &quot;Bamlanivimab&quot;             or Meds in &quot;Baloxavir&quot;             or Meds in &quot;Baricitinib&quot;             or Meds in &quot;Bebtelovimab&quot;             or Meds in &quot;Casirivimab&quot;             or Meds in &quot;Casirivimab / Imdevimab&quot;             or Meds in &quot;COVID19 RxNorm Value Set for Tocilizumab&quot;             or Meds in &quot;Etesevimab&quot;             or Meds in &quot;Imdevimab&quot;             or Meds in &quot;Molnupiravir&quot;             or Meds in &quot;Nirmatrelvir / Ritonavir&quot;             or Meds in &quot;Oseltamivir&quot;             or Meds in &quot;Peramivir&quot;             or Meds in &quot;Remdesivir&quot;             or Meds in &quot;Sarilumab&quot;             or Meds in &quot;Sotrovimab&quot;                 or Meds in &quot;Tofacitinib&quot;             or Meds in &quot;Zanamivir&quot;)       and RPSMedAdmin.status ~ 'completed'       and exists(&quot;Initial Population&quot;)       and NHSNHelpers.&quot;Normalize Interval&quot;(RPSMedAdmin.effective) during &quot;Measurement Period&quot;     return SharedResource.MedicationAdministrationResource(RPSMedAdmin,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medicationadministration'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="25"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Medication"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Medication&quot;:   (&quot;SDE Covid or Influenza Medication Ordered&quot;   union &quot;SDE Covid or Influenza Medication Administered&quot;) MedReqOrAdmin   where MedReqOrAdmin.medication is FHIR.Reference   return SharedResource.MedicationResource(GetMedicationFrom(MedReqOrAdmin.medication),   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-medication'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="26"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="DiagnosticReports"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;DiagnosticReports&quot;:   [DiagnosticReport]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="27"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV Observations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RSV Observations&quot;:   &quot;Observations&quot; Observations   where Observations.code in &quot;RSV (Tests for RSV Nucleic Acid)&quot;     or Observations.code in &quot;RSV (Tests for RSV Antigen)&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="28"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV DiagnosticReport Observations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RSV DiagnosticReport Observations&quot;:   &quot;DiagnosticReports&quot; Reports   where exists(     &quot;RSV Observations&quot; Observations     where Reports.result.references(Observations)   )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="29"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="RSV DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;RSV DiagnosticReport Result from Lab&quot;:   [DiagnosticReport] Reports     where exists(&quot;RSV DiagnosticReport Observations&quot;)       and Reports.status in {'final','registered','preliminary','partial'}       and exists(&quot;Initial Population&quot;)"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="30"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE RSV DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the RSV DiagnosticReport based on the result pre admission define &quot;SDE RSV DiagnosticReport Result from Lab&quot;:   &quot;RSV DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="31"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE IP Encounters"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//---------------------------------- // SDE //---------------------------------- define &quot;SDE IP Encounters&quot;:   &quot;Initial Population&quot; IP   return SharedResource.EncounterResource(IP,    {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-encounter'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="32"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE RSV PRE Admission Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the RSV Observation Pre Admission     define &quot;SDE RSV PRE Admission Observation&quot;:   &quot;RSV PRE Admission Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,      {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="33"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Isolation Precautions Implemented"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Isolation Precautions Implemented&quot;:   [Procedure: &quot;Transmission Based Precaution Types&quot;] IsolationPrecautions     where NHSNHelpers.&quot;Normalize Interval&quot;(IsolationPrecautions.performed) during &quot;Measurement Period&quot;     and exists(&quot;Initial Population&quot;)   return SharedResource.ProcedureResource(IsolationPrecautions,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-procedure'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="34"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="COVID And Influenza PRE Admission Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//further constrain COVID-19 and Influenza Observations for 14 day lookback define &quot;COVID And Influenza PRE Admission Observation&quot;:   &quot;COVID And Influenza Observation&quot; O     where exists( EncounterInpatient E      where (       NHSNHelpers.&quot;Normalize Interval&quot;(O.effective) 14 days or less on or before start of E.period       or NHSNHelpers.&quot;Normalize Interval&quot;(GetSpecimen(O.specimen).collection.collected) 14 days or less on or before start of E.period       )       and start of E.period during &quot;Measurement Period&quot;     )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="35"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE COVID And Influenza Specimen"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the Specimen related to the COVID-19 And Influenza Observation Pre Admission define &quot;SDE COVID And Influenza Specimen&quot;:   &quot;COVID And Influenza PRE Admission Observation&quot; ObservationWithSpecimen     let Specimen: GetSpecimen(ObservationWithSpecimen.specimen)     return SharedResource.SpecimenResource(Specimen,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-specimen'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="36"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE All ServiceRequests"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//To catch all isolation precautions define &quot;SDE All ServiceRequests&quot;:   [ServiceRequest] SR   where exists(&quot;Initial Population&quot;)   return SharedResource.ServiceRequestResource(SR,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-servicerequest'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="37"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE COVID And Influenza DiagnosticReport"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the COVID-19 And Influenza DiagnosticReport pre admission define &quot;SDE COVID And Influenza DiagnosticReport&quot;:   &quot;COVID And Influenza DiagnosticReport&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="38"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="SDE COVID And Influenza PRE Admission Observation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the COVID-19 and Influenza Observation Pre Admission define &quot;SDE COVID And Influenza PRE Admission Observation&quot;:   &quot;COVID And Influenza PRE Admission Observation&quot; Observations     return SharedResource.ObservationLabResource(Observations,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-observation-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="39"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="COVID and Influenza DiagnosticReport Observations"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;COVID and Influenza DiagnosticReport Observations&quot;:   &quot;Observations&quot; Observations   where Observations.code in &quot;COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)&quot;     or Observations.code in &quot;COVID_19 (Tests for SARS_CoV_2 Antigen)&quot;     or Observations.code in &quot;Influenza (Tests for influenza A or B virus Nucleic Acid)&quot;     or Observations.code in &quot;Influenza (Tests for influenza A or B virus Antigen)&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="40"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="COVID and Influenza DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;COVID and Influenza DiagnosticReport Result from Lab&quot;:   &quot;DiagnosticReports&quot; Reports     where exists(       &quot;COVID and Influenza DiagnosticReport Observations&quot; Observations       where Reports.result.references(Observations)     )     and Reports.status in {'final','registered','preliminary','partial'}     and exists(&quot;Initial Population&quot;)"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="41"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="ACH Daily DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;ACH Daily DiagnosticReport Result from Lab&quot;:   &quot;COVID and Influenza DiagnosticReport Result from Lab&quot;     union &quot;RSV DiagnosticReport Result from Lab&quot;"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="42"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="SDE ACH Daily DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the DiagnosticReport based on the result during the Measurement Period     define &quot;SDE ACH Daily DiagnosticReport Result from Lab&quot;:   &quot;ACH Daily DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="43"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString
                           value="SDE COVID and Influenza DiagnosticReport Result from Lab"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//return the COVID-19 and Influenza DiagnosticReport based on the result pre admission define &quot;SDE COVID and Influenza DiagnosticReport Result from Lab&quot;:   &quot;COVID and Influenza DiagnosticReport Result from Lab&quot; Reports     return SharedResource.DiagnosticReportLabResource(Reports,     {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-diagnosticreport-lab'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="44"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="SDE Location"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define &quot;SDE Location&quot;:   [Location] Locations   where exists(&quot;Initial Population&quot;)   return SharedResource.LocationResource(Locations,   {FHIR.canonical{value: 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/ach-daily-location'}})"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="45"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="CheckIP"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="//----------------------------------------------------- //functions //----------------------------------------------------- define function &quot;CheckIP&quot;(encounter Encounter):   exists(&quot;Initial Population&quot; IP   where encounter.id = IP.id)"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="46"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value EncounterStatus): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="47"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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;.value is null then             Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]         else              if time from period.&quot;start&quot;.value is null and time from period.&quot;end&quot;.value is not null then                 Interval[                     DateTime(year from period.&quot;start&quot;.value, month from period.&quot;start&quot;.value, day from period.&quot;start&quot;.value,                         0, 0, 0, 0, timezoneoffset from period.&quot;end&quot;.value),                      period.&quot;end&quot;.value                 ]         else              if time from period.&quot;end&quot;.value is null and time from period.&quot;start&quot;.value is not null then                 Interval[                     period.&quot;start&quot;.value,                      DateTime(year from period.&quot;end&quot;.value, month from period.&quot;end&quot;.value, day from period.&quot;end&quot;.value,                         23, 59, 59, 999, timezoneoffset from period.&quot;start&quot;.value)                 ]         else Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="48"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="GetLocation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetLocation&quot;(reference Reference ):   singleton from (  [Location] Locations   where Locations.id = GetId(reference.reference)   )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="49"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value string): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="50"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="GetId"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetId&quot;(uri String ):   Last(Split(uri, '/'))"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="51"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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="52"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-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="53"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterResource(encounter Encounter, profileURLs List&lt;FHIR.canonical&gt;):   encounter e   return Encounter{     id: FHIR.id{value: 'LCR-' + e.id},     meta: MetaElement(e, profileURLs),     extension: e.extension,     identifier: EncounterIdentifier(e.identifier),     status: e.status,     statusHistory: EncounterStatusHistory(e.statusHistory),     class: e.class,     classHistory: EncounterClassHistory(e.classHistory),     type: e.type,     serviceType: e.serviceType,     priority: e.priority,     subject: e.subject,     period: e.period,     length: e.length,     reasonCode: e.reasonCode,     reasonReference: e.reasonReference,     diagnosis: EncounterDiagnosis(e.diagnosis),     account: e.account,     hospitalization: EncounterHospitalization(e.hospitalization),     location: EncounterLocation(e.location),     partOf: e.partOf   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="54"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MetaElement"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;MetaElement&quot;(resource Resource, profileURLs List&lt;FHIR.canonical&gt;):   resource r   return FHIR.Meta{     extension: r.meta.extension,     versionId: r.meta.versionId,     lastUpdated: r.meta.lastUpdated,     profile: profileURLs,     security: r.meta.security,     tag: r.meta.tag   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="55"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterIdentifier"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterIdentifier(identifier List&lt;FHIR.Identifier&gt;):   identifier i   return FHIR.Identifier{     use: i.use,     type: i.type,     system: i.system,     value: i.value,     period: i.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="56"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterStatusHistory"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterStatusHistory(statusHistory List&lt;FHIR.Encounter.StatusHistory&gt;):   statusHistory sH   return FHIR.Encounter.StatusHistory{     status: sH.status,     period: sH.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="57"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterClassHistory"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterClassHistory(classHistory List&lt;FHIR.Encounter.ClassHistory&gt;):   classHistory cH   return FHIR.Encounter.ClassHistory{     class: cH.class,     period: cH.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="58"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterDiagnosis"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="/*No longer needed but saving for potential future use define function EncounterParticipant(participant List&lt;FHIR.Encounter.Participant&gt;):   participant p   return FHIR.Encounter.Participant{     type: p.type,     period: p.period,     individual: p.individual   }*/  define function EncounterDiagnosis(diagnosis List&lt;FHIR.Encounter.Diagnosis&gt;):   diagnosis d   return FHIR.Encounter.Diagnosis{     condition: d.condition,     use: d.use,     rank: d.rank   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="59"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterHospitalization"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterHospitalization(hospitalization FHIR.Encounter.Hospitalization):   hospitalization h   return FHIR.Encounter.Hospitalization{     preAdmissionIdentifier: h.preAdmissionIdentifier,     origin: h.origin,     admitSource: h.admitSource,     reAdmission: h.reAdmission,     dietPreference: h.dietPreference,     specialCourtesy: h.specialCourtesy,     specialArrangement: h.specialArrangement,     destination: h.destination,     dischargeDisposition: h.dischargeDisposition   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="60"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="EncounterLocation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function EncounterLocation(location List&lt;FHIR.Encounter.Location&gt;):   location l   return FHIR.Encounter.Location{     location: l.location,     status: l.status,     physicalType: l.physicalType,     period: l.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="61"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value ServiceRequestIntent): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="62"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value ServiceRequestStatus): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="63"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ServiceRequestResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ServiceRequestResource(serviceRequest ServiceRequest, profileURLs List&lt;FHIR.canonical&gt;):   serviceRequest sR   return ServiceRequest{     id: FHIR.id {value: 'LCR-' + sR.id},     meta: MetaElement(sR, profileURLs),     extension: sR.extension,     instantiatesCanonical: sR.instantiatesCanonical,     instantiatesUri: sR.instantiatesUri,     basedOn: sR.basedOn,     replaces: sR.replaces,     requisition: sR.requisition,     status: sR.status,     intent: sR.intent,     category: sR.category,     priority: sR.priority,     doNotPerform: sR.doNotPerform,     code: sR.code,     orderDetail: sR.orderDetail,     quantity: sR.quantity,     subject: sR.subject,     encounter: sR.encounter,     occurrence: sR.occurrence,     asNeeded: sR.asNeeded,     authoredOn: sR.authoredOn,     requester: sR.requester,     performerType: sR.performerType,     performer: sR.performer,     locationCode: sR.locationCode,     locationReference: sR.locationReference,     reasonCode: sR.reasonCode,     reasonReference: sR.reasonReference,     insurance: sR.insurance,     supportingInfo: sR.supportingInfo,     specimen: sR.specimen,     bodySite: sR.bodySite,     note: sR.note,     patientInstruction: sR.patientInstruction,     relevantHistory: sR.relevantHistory   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="64"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value ObservationStatus): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="65"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="GetSpecimen"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetSpecimen&quot;(reference FHIR.Reference):   singleton from (     [Specimen] Specimens     where Specimens.id = NHSNHelpers.GetId(reference.reference)   )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="66"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="SpecimenResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function SpecimenResource(specimen Specimen, profileURLs List&lt;FHIR.canonical&gt;):   specimen s   return Specimen{     id: FHIR.id {value: 'LCR-' + s.id},     meta: MetaElement(s, profileURLs),     extension: s.extension,     identifier: s.identifier,     accessionIdentifier: s.accessionIdentifier,     status: s.status,     type: s.type,     subject: s.subject,     receivedTime: s.receivedTime,     parent: s.parent,     request: s.request,     collection: SpecimenCollection(s.collection),     processing: SpecimenProcessing(s.processing),     container: SpecimenContainer(s.container),     condition: s.condition,     note: s.note   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="67"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="SpecimenCollection"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function SpecimenCollection(collection FHIR.Specimen.Collection):   collection c   return FHIR.Specimen.Collection{     collector: c.collector,     collected: c.collected,     &quot;duration&quot;: c.&quot;duration&quot;,     quantity: c.quantity,     method: c.method,     bodySite: c.bodySite,     fastingStatus: c.fastingStatus   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="68"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="SpecimenProcessing"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function SpecimenProcessing(processing List&lt;FHIR.Specimen.Processing&gt;):   processing p   return FHIR.Specimen.Processing{     description: p.description,     procedure: p.procedure,     additive: p.additive,     time: p.time   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="69"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="SpecimenContainer"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function SpecimenContainer(container List&lt;FHIR.Specimen.Container&gt;):   container c   return FHIR.Specimen.Container{     description: c.description,     type: c.type,     capacity: c.capacity,     specimenQuantity: c.specimenQuantity,     additive: c.additive   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="70"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value DiagnosticReportStatus): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="71"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="DiagnosticReportLabResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function DiagnosticReportLabResource(diagnosticReport DiagnosticReport, profileURLs List&lt;FHIR.canonical&gt;):   diagnosticReport d   return DiagnosticReport{     id: FHIR.id{value: 'LCR-' + d.id},     meta: MetaElement(d, profileURLs),     extension: d.extension,     basedOn: d.basedOn,     status: d.status,     category: DiagnosticReportCategory(d.category),     code: d.code,     subject: d.subject,     encounter: d.encounter,     effective: d.effective,     issued: d.issued,     performer: d.performer,     resultsInterpreter: d.resultsInterpreter,     specimen: d.specimen,     result: d.result,     conclusion: d.conclusion,     conclusionCode: d.conclusionCode   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="72"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="DiagnosticReportCategory"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function DiagnosticReportCategory(category List&lt;CodeableConcept&gt;):   category c   return CodeableConcept{     coding: DiagnosticReportCoding(c.coding)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="73"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="DiagnosticReportCoding"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function DiagnosticReportCoding(coding List&lt;Coding&gt;):   coding c   return Coding{     system: c.system,     version: c.version,     code: c.code,     display: c.display,     userSelected: c.userSelected   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="74"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ObservationLabResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ObservationLabResource(observation Observation, profileURLs List&lt;FHIR.canonical&gt;):   observation o   return Observation{     id: FHIR.id {value: 'LCR-' + o.id},     meta: MetaElement(o, profileURLs),     extension: o.extension,     basedOn: o.basedOn,     partOf: o.partOf,     status: o.status,     category: ObservationLabCategory(o.category),     code: o.code,     subject: o.subject,     focus: o.focus,     encounter: o.encounter,     effective: o.effective,     issued: o.issued,     performer: o.performer,     value: o.value,     dataAbsentReason: o.dataAbsentReason,     interpretation: o.interpretation,     note: o.note,     bodySite: o.bodySite,     method: o.method,     specimen: o.specimen,     device: o.device,     referenceRange: ObservationReferenceRange(o.referenceRange),     hasMember: o.hasMember,     derivedFrom: o.derivedFrom,     component: ObservationComponent(o.component)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="75"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ObservationLabCategory"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ObservationLabCategory(category List&lt;CodeableConcept&gt;):   category c   return CodeableConcept{     coding: ObservationLabCoding(c.coding),     text: c.text   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="76"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ObservationLabCoding"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ObservationLabCoding(coding List&lt;Coding&gt;):   coding c   return Coding{     id: c.id,     extension: c.extension,     system: c.system,     version: c.version,     code: c.code,     display: c.display,     userSelected: c.userSelected   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="77"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ObservationReferenceRange"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ObservationReferenceRange(referenceRange List&lt;FHIR.Observation.ReferenceRange&gt;):   referenceRange rR   return FHIR.Observation.ReferenceRange{     low: rR.low,     high: rR.high,     type: rR.type,     appliesTo: rR.appliesTo,     age: rR.age,     text: rR.text   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="78"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ObservationComponent"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ObservationComponent(component List&lt;FHIR.Observation.Component&gt;):   component c   return FHIR.Observation.Component{     code: c.code,     value: c.value,     dataAbsentReason: c.dataAbsentReason,     interpretation: c.interpretation,     referenceRange: c.referenceRange   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="79"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ProcedureResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ProcedureResource(procedure Procedure, profileURLs List&lt;FHIR.canonical&gt;):   procedure p   return Procedure{     id: FHIR.id {value: 'LCR-' + p.id},     meta: MetaElement(p, profileURLs),     extension: p.extension,     instantiatesCanonical: p.instantiatesCanonical,     instantiatesUri: p.instantiatesUri,     basedOn: p.basedOn,     partOf: p.partOf,     status: p.status,     statusReason: p.statusReason,     category: p.category,     code: p.code,     subject: p.subject,     encounter: p.encounter,     performed: p.performed,     recorder: p.recorder,     asserter: p.asserter,     performer: ProcedurePerformer(p.performer),     location: p.location,     reasonCode: p.reasonCode,     reasonReference: p.reasonReference,     bodySite: p.bodySite,     outcome: p.outcome,     report: p.report,     complication: p.complication,     complicationDetail: p.complicationDetail,     followUp: p.followUp,     note: p.note,     focalDevice: ProcedureFocalDevice(p.focalDevice),     usedReference: p.usedReference,     usedCode: p.usedCode   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="80"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ProcedurePerformer"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ProcedurePerformer(performer List&lt;FHIR.Procedure.Performer&gt;):   performer p   return FHIR.Procedure.Performer{     function: p.function,     actor: p.actor,     onBehalfOf: p.onBehalfOf   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="81"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="ProcedureFocalDevice"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ProcedureFocalDevice(device List&lt;FHIR.Procedure.FocalDevice&gt;):   device d   return FHIR.Procedure.FocalDevice{     action: d.action,     manipulated: d.manipulated   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="82"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="GetMedicationCode"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetMedicationCode&quot;(choice Choice&lt;FHIR.CodeableConcept, FHIR.Reference&gt;):   case     when choice is FHIR.CodeableConcept then       choice as FHIR.CodeableConcept     when choice is FHIR.Reference then       GetMedication(choice as FHIR.Reference).code     else       null as FHIR.CodeableConcept   end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="83"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="GetMedication"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetMedication&quot;(reference Reference ):   singleton from (     [Medication: id in {NHSNHelpers.GetId(reference.reference)}]   )"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="84"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="Normalize Interval"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;Normalize Interval&quot;(choice Choice&lt;FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range&gt;):   case    when choice is FHIR.dateTime then      Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]   when choice is FHIR.Period then     FHIRHelpers.ToInterval(choice as FHIR.Period)   when choice is FHIR.instant then    Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]   when choice is FHIR.Age then     Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),      FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)   when choice is FHIR.Range then     Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),      FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)   when choice is FHIR.Timing then     Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')     when choice is FHIR.string then       Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute an interval from a String value')   else    null as Interval&lt;DateTime&gt;  end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="85"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToDateTime"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToDateTime(value dateTime): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="86"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToDateTime"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToDateTime(value instant): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="87"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToDate"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToDate(value date): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="88"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToQuantity"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToQuantity(quantity FHIR.Quantity):     case         when quantity is null then null         when quantity.value is null then null         when quantity.comparator is not null then             Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')         when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'               or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then             System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }         else             Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' &amp; quantity.unit.value &amp; ' (' &amp; quantity.system.value &amp; '|' &amp; quantity.code.value &amp; ')')     end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="89"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToCalendarUnit"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToCalendarUnit(unit System.String):     case unit         when 'ms' then 'millisecond'         when 's' then 'second'         when 'min' then 'minute'         when 'h' then 'hour'         when 'd' then 'day'         when 'wk' then 'week'         when 'mo' then 'month'         when 'a' then 'year'         else unit     end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="90"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationRequestResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationRequestResource(medicationRequest MedicationRequest, profileURLs List&lt;FHIR.canonical&gt;):   medicationRequest m   return MedicationRequest{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(medicationRequest, profileURLs),     extension: m.extension,     status: m.status,     statusReason: m.statusReason,     intent: m.intent,     category: m.category,     priority: m.priority,     doNotPerform: m.doNotPerform,     reported: m.reported,     medication: m.medication,     subject: m.subject,     encounter: m.encounter,     authoredOn: m.authoredOn,     requester: m.requester,     recorder: m.recorder,     reasonCode: m.reasonCode,     reasonReference: m.reasonReference,     instantiatesCanonical: m.instantiatesCanonical,     instantiatesUri: m.instantiatesUri,     courseOfTherapyType: m.courseOfTherapyType,     dosageInstruction: MedicationRequestDosageInstruction(m.dosageInstruction)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="91"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationRequestDosageInstruction"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationRequestDosageInstruction(dosageInstruction List&lt;FHIR.Dosage&gt;):   dosageInstruction dI   return FHIR.Dosage{     text: dI.text,     patientInstruction: dI.patientInstruction,     timing: dI.timing,     asNeeded: dI.asNeeded,     site: dI.site,     route: dI.route,     method: dI.method,     doseAndRate: MedicationRequestDoseAndRate(dI.doseAndRate)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="92"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationRequestDoseAndRate"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationRequestDoseAndRate(doseAndRate List&lt;FHIR.Dosage.DoseAndRate&gt;):   doseAndRate dR   return FHIR.Dosage.DoseAndRate{     type: dR.type,     dose: dR.dose,     rate: dR.rate   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="93"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientResource(patient Patient, profileURLs List&lt;FHIR.canonical&gt;):   patient p   return Patient{     id: FHIR.id{value: 'LCR-' + p.id},     meta: MetaElement(p, profileURLs),     extension: GetPatientExtensions(p) union GetIdExtensions(p),     identifier: p.identifier,     active: p.active,     name: PatientName(p.name),     telecom: PatientTelecom(p.telecom),     gender: p.gender,     birthDate: p.birthDate,     deceased: p.deceased,     address: PatientAddress(p.address),     maritalStatus: p.maritalStatus,     multipleBirth: p.multipleBirth,     photo: p.photo,     contact: PatientContact(p.contact),     communication: PatientCommunication(p.communication),     generalPractitioner: p.generalPractitioner,     managingOrganization: p.managingOrganization,     link: PatientLink(p.link)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="94"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="GetPatientExtensions"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetPatientExtensions&quot;(domainResource DomainResource):   domainResource.extension E   where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'     or E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'     or E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex'     or E.url.value = 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-resource-id-extension'   return E"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="95"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="GetIdExtensions"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetIdExtensions&quot;(domainResource DomainResource):   domainResource.extension E   where E.url.value = 'http://www.cdc.gov/nhsn/fhirportal/dqm/ig/StructureDefinition/link-original-resource-id-extension'   return E"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="96"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientName"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="/* No longer needed but saving in case it's useful later define function PatientIdentifier(identifier List&lt;FHIR.Identifier&gt;):   identifier i   return FHIR.Identifier{     id: i.id,     extension: i.extension,     use: i.use,     type: i.type,     system: i.system,     value: i.value,     period: i.period,     assigner: i.assigner   }*/  define function PatientName(name List&lt;FHIR.HumanName&gt;):   name n   return FHIR.HumanName{     id: n.id,     extension: n.extension,     use: n.use,     text: n.text,     family: n.family,     given: n.given,     prefix: n.prefix,     suffix: n.suffix,     period: n.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="97"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientTelecom"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientTelecom(telecom List&lt;FHIR.ContactPoint&gt;):   telecom t   return FHIR.ContactPoint{     system: t.system,     value: t.value,     use: t.use,     rank: t.rank,     period: t.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="98"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientAddress"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientAddress(address List&lt;FHIR.Address&gt;):   address a   return FHIR.Address{     id: a.id,     extension: a.extension,     use: a.use,     type: a.type,     text: a.text,     line: a.line,     city: a.city,     district: a.district,     state: a.state,     postalCode: a.postalCode,     country: a.country,     period: a.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="99"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientContact"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientContact(contact List&lt;FHIR.Patient.Contact&gt;):   contact c   return FHIR.Patient.Contact{     id: c.id,     extension: c.extension,     relationship: c.relationship,     name: c.name,     telecom: c.telecom,     address: c.address,     gender: c.gender,     organization: c.organization,     period: c.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="100"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientCommunication"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientCommunication(communication List&lt;FHIR.Patient.Communication&gt;):   communication c   return FHIR.Patient.Communication{     id: c.id,     extension: c.extension,     language: c.language,     preferred: c.preferred   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="101"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="PatientLink"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function PatientLink(link List&lt;FHIR.Patient.Link&gt;):   link l   return FHIR.Patient.Link{     id: l.id,     extension: l.extension,     modifierExtension: l.modifierExtension,     other: l.other,     type: l.type   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="102"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="FHIRHelpers"/>
            </extension>
            <extension url="name">
              <valueString value="ToString"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function ToString(value MedicationAdministrationStatus): value.value"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="103"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationAdministrationResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationAdministrationResource(medicationAdministration MedicationAdministration, profileURLs List&lt;FHIR.canonical&gt;):   medicationAdministration m   return MedicationAdministration{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(m, profileURLs),     extension: m.extension,     instantiates: m.instantiates,     partOf: m.partOf,     status: m.status,     statusReason: m.statusReason,     category: m.category,     medication: m.medication,     subject: m.subject,     context: m.context,     supportingInformation: m.supportingInformation,     effective: m.effective,     performer: MedicationAdministrationPerformer(m.performer),     reasonCode: m.reasonCode,     reasonReference: m.reasonReference,     request: m.request,     device: m.device,     note: m.note,     dosage: MedicationAdministrationDosage(m.dosage),     eventHistory: m.eventHistory   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="104"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationAdministrationPerformer"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationAdministrationPerformer(performer List&lt;FHIR.MedicationAdministration.Performer&gt;):   performer p   return FHIR.MedicationAdministration.Performer{     function: p.function,     actor: p.actor   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="105"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationAdministrationDosage"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationAdministrationDosage(dosage FHIR.MedicationAdministration.Dosage):   dosage d   return FHIR.MedicationAdministration.Dosage{     text: d.text,     site: d.site,     route: d.route,     method: d.method,     dose: d.dose,     rate: d.rate   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="106"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationResource(medication Medication, profileURLs List&lt;FHIR.canonical&gt;):   medication m   return Medication{     id: FHIR.id {value: 'LCR-' + m.id},     meta: MetaElement(m, profileURLs),     extension: m.extension,     code: m.code,     status: m.status,     manufacturer: m.manufacturer,     form: m.form,     amount: m.amount,     ingredient: MedicationIngredient(m.ingredient),     batch: MedicationBatch(m.batch)   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="107"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationIngredient"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationIngredient(ingredient List&lt;FHIR.Medication.Ingredient&gt;):   ingredient i   return FHIR.Medication.Ingredient{     item: i.item,     strength: i.strength   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="108"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="MedicationBatch"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function MedicationBatch(batch FHIR.Medication.Batch):   batch b   return FHIR.Medication.Batch{     lotNumber: b.lotNumber,     expirationDate: b.expirationDate   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="109"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="GetMedicationFrom"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function &quot;GetMedicationFrom&quot;(choice Choice&lt;FHIR.CodeableConcept, FHIR.Reference&gt;):   case     when choice is FHIR.Reference then       GetMedication(choice as FHIR.Reference)     else       null   end"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="110"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="references"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define fluent function references(references List&lt;FHIR.Reference&gt;, resource FHIR.Resource):   exists(references R where R.references(resource))"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="111"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
            </extension>
            <extension url="name">
              <valueString value="references"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define fluent function references(reference FHIR.Reference, resource FHIR.Resource):   resource.id = Last(Split(reference.reference, '/'))"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="112"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="LocationResource"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function LocationResource(location Location, profileURLs List&lt;FHIR.canonical&gt;):   location l   return Location{     id: FHIR.id {value: 'LCR-' + l.id},     meta: MetaElement(l, profileURLs),     extension: l.extension,     status: l.status,     operationalStatus: l.operationalStatus,     name: l.name,     alias: l.alias,     description: l.description,     mode: l.mode,     type: l.type,     telecom: l.telecom,     address: LocationAddress(l.address),     physicalType: l.physicalType,     position: LocationPosition(l.position),     managingOrganization: l.managingOrganization,     partOf: l.partOf,     hoursOfOperation: LocationHoursOfOperation(l.hoursOfOperation),     availabilityExceptions: l.availabilityExceptions,     endpoint: l.endpoint   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="113"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="LocationAddress"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function LocationAddress(address FHIR.Address):   address a   return FHIR.Address{     use: a.use,     type: a.type,     text: a.text,     line: a.line,     city: a.city,     district: a.district,     state: a.state,     postalCode: a.postalCode,     country: a.country,     period: a.period   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="114"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="LocationPosition"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function LocationPosition(position FHIR.Location.Position):   position p   return FHIR.Location.Position{     longitude: p.longitude,     latitude: p.latitude,     altitude: p.altitude   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="115"/>
            </extension>
          </extension>
          <extension
                     url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
            <extension url="libraryName">
              <valueString value="SharedResourceCreation"/>
            </extension>
            <extension url="name">
              <valueString value="LocationHoursOfOperation"/>
            </extension>
            <extension url="statement">
              <valueString
                           value="define function LocationHoursOfOperation(hoursOfOperation List&lt;FHIR.Location.HoursOfOperation&gt;):   hoursOfOperation hOO   return FHIR.Location.HoursOfOperation{     daysOfWeek: hOO.daysOfWeek,     allDay: hOO.allDay,     openingTime: hOO.openingTime,     closingTime: hOO.closingTime   }"/>
            </extension>
            <extension url="displaySequence">
              <valueInteger value="116"/>
            </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="Library FHIRHelpers"/>
            <resource
                      value="http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/FHIRHelpers|4.0.2"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Library NHSNHelpers"/>
            <resource
                      value="http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/NHSNHelpers|0.0.002"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Library SharedResource"/>
            <resource
                      value="http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/SharedResourceCreation|0.1.010"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Code system ActCode"/>
            <resource
                      value="http://terminology.hl7.org/CodeSystem/v3-ActCode|9.0.0"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Code system Observation Category"/>
            <resource
                      value="http://terminology.hl7.org/CodeSystem/observation-category|1.0.1"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Encounter Inpatient"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set NHSN Inpatient Encounter Class Codes"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Observation Services"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display
                     value="Value set Inpatient, Emergency, and Observation Locations"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display
                     value="Value set COVID_19 (Tests for SARS_CoV_2 Nucleic Acid)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set COVID_19 (Tests for SARS_CoV_2 Antigen)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display
                     value="Value set Influenza (Tests for influenza A or B virus Nucleic Acid)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display
                     value="Value set Influenza (Tests for influenza A or B virus Antigen)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set RSV (Tests for RSV Nucleic Acid)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set RSV (Tests for RSV Antigen)"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Discharge Disposition"/>
            <resource
                      value="http://terminology.hl7.org/ValueSet/encounter-discharge-disposition|1.0.1"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Anakinra"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2054"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Baloxavir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.85"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Bamlanivimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2099"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Baricitinib"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2046"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Bebtelovimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2105"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Casirivimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2097"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Casirivimab / Imdevimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2103"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set COVID19 RxNorm Value Set for Tocilizumab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2087"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Etesevimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2100"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Imdevimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2098"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Molnupiravir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2119"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Nirmatrelvir / Ritonavir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2104"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Oseltamivir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2078"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Peramivir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.86"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Remdesivir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2081"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Sarilumab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2084"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Sotrovimab"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2101"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Tofacitinib"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.3616.200.110.102.2102"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Zanamivir"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1190.87"/>
          </relatedArtifact>
          <relatedArtifact>
            <type value="depends-on"/>
            <display value="Value set Transmission Based Precaution Types"/>
            <resource
                      value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300"/>
          </relatedArtifact>
          <parameter>
            <name value="Measurement Period"/>
            <use value="in"/>
            <min value="0"/>
            <max value="1"/>
            <type value="Period"/>
          </parameter>
          <parameter>
            <name value="SDE Encounter"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Encounter"/>
          </parameter>
          <parameter>
            <name value="SDE ACH Daily ServiceRequest"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="ServiceRequest"/>
          </parameter>
          <parameter>
            <name value="SDE RSV Specimen"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Specimen"/>
          </parameter>
          <parameter>
            <name value="SDE ACH Daily Specimen"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Specimen"/>
          </parameter>
          <parameter>
            <name value="SDE ACH Daily DiagnosticReport"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name value="SDE RSV DiagnosticReport"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name value="SDE ACH Daily Observation"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Observation"/>
          </parameter>
          <parameter>
            <name value="Initial Population"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Encounter"/>
          </parameter>
          <parameter>
            <name value="SDE All Procedures"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Procedure"/>
          </parameter>
          <parameter>
            <name value="SDE Encounter Discharge Dispositions"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Encounter"/>
          </parameter>
          <parameter>
            <name value="SDE Covid or Influenza Medication Ordered"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="MedicationRequest"/>
          </parameter>
          <parameter>
            <name value="SDE Minimal Patient"/>
            <use value="out"/>
            <min value="0"/>
            <max value="1"/>
            <type value="Patient"/>
          </parameter>
          <parameter>
            <name value="SDE All Observations"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Observation"/>
          </parameter>
          <parameter>
            <name value="SDE Medication"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Medication"/>
          </parameter>
          <parameter>
            <name value="SDE Covid or Influenza Medication Administered"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="MedicationAdministration"/>
          </parameter>
          <parameter>
            <name value="SDE RSV DiagnosticReport Result from Lab"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name value="SDE IP Encounters"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Encounter"/>
          </parameter>
          <parameter>
            <name value="SDE RSV PRE Admission Observation"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Observation"/>
          </parameter>
          <parameter>
            <name value="SDE Isolation Precautions Implemented"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Procedure"/>
          </parameter>
          <parameter>
            <name value="SDE COVID And Influenza Specimen"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Specimen"/>
          </parameter>
          <parameter>
            <name value="SDE All ServiceRequests"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="ServiceRequest"/>
          </parameter>
          <parameter>
            <name value="SDE COVID And Influenza DiagnosticReport"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name value="SDE COVID And Influenza PRE Admission Observation"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Observation"/>
          </parameter>
          <parameter>
            <name value="SDE ACH Daily DiagnosticReport Result from Lab"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name
                  value="SDE COVID and Influenza DiagnosticReport Result from Lab"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="DiagnosticReport"/>
          </parameter>
          <parameter>
            <name value="SDE Location"/>
            <use value="out"/>
            <min value="0"/>
            <max value="*"/>
            <type value="Location"/>
          </parameter>
          <dataRequirement>
            <type value="Encounter"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            <mustSupport value="type"/>
            <mustSupport value="status"/>
            <mustSupport value="period"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="statusHistory"/>
            <mustSupport value="class"/>
            <mustSupport value="classHistory"/>
            <mustSupport value="serviceType"/>
            <mustSupport value="priority"/>
            <mustSupport value="subject"/>
            <mustSupport value="length"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="diagnosis"/>
            <mustSupport value="account"/>
            <mustSupport value="hospitalization"/>
            <mustSupport value="location"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hospitalization.dischargeDisposition"/>
            <codeFilter>
              <path value="type"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Encounter"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            <mustSupport value="class"/>
            <mustSupport value="status"/>
            <mustSupport value="period"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="statusHistory"/>
            <mustSupport value="classHistory"/>
            <mustSupport value="type"/>
            <mustSupport value="serviceType"/>
            <mustSupport value="priority"/>
            <mustSupport value="subject"/>
            <mustSupport value="length"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="diagnosis"/>
            <mustSupport value="account"/>
            <mustSupport value="hospitalization"/>
            <mustSupport value="location"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hospitalization.dischargeDisposition"/>
            <codeFilter>
              <path value="class"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.274"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Encounter"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            <mustSupport value="type"/>
            <mustSupport value="status"/>
            <mustSupport value="period"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="statusHistory"/>
            <mustSupport value="class"/>
            <mustSupport value="classHistory"/>
            <mustSupport value="serviceType"/>
            <mustSupport value="priority"/>
            <mustSupport value="subject"/>
            <mustSupport value="length"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="diagnosis"/>
            <mustSupport value="account"/>
            <mustSupport value="hospitalization"/>
            <mustSupport value="location"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hospitalization.dischargeDisposition"/>
            <codeFilter>
              <path value="type"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Encounter"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            <mustSupport value="class"/>
            <mustSupport value="status"/>
            <mustSupport value="period"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="statusHistory"/>
            <mustSupport value="classHistory"/>
            <mustSupport value="type"/>
            <mustSupport value="serviceType"/>
            <mustSupport value="priority"/>
            <mustSupport value="subject"/>
            <mustSupport value="length"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="diagnosis"/>
            <mustSupport value="account"/>
            <mustSupport value="hospitalization"/>
            <mustSupport value="location"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hospitalization.dischargeDisposition"/>
            <codeFilter>
              <path value="class"/>
              <code>
                <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
                <code value="OBSENC"/>
                <display value="observation encounter"/>
              </code>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Encounter"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
            <mustSupport value="status"/>
            <mustSupport value="period"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="statusHistory"/>
            <mustSupport value="class"/>
            <mustSupport value="classHistory"/>
            <mustSupport value="type"/>
            <mustSupport value="serviceType"/>
            <mustSupport value="priority"/>
            <mustSupport value="subject"/>
            <mustSupport value="length"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="diagnosis"/>
            <mustSupport value="account"/>
            <mustSupport value="hospitalization"/>
            <mustSupport value="location"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hospitalization.dischargeDisposition"/>
          </dataRequirement>
          <dataRequirement>
            <type value="Location"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Location"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="status"/>
            <mustSupport value="operationalStatus"/>
            <mustSupport value="name"/>
            <mustSupport value="alias"/>
            <mustSupport value="description"/>
            <mustSupport value="mode"/>
            <mustSupport value="type"/>
            <mustSupport value="telecom"/>
            <mustSupport value="address"/>
            <mustSupport value="physicalType"/>
            <mustSupport value="position"/>
            <mustSupport value="managingOrganization"/>
            <mustSupport value="partOf"/>
            <mustSupport value="hoursOfOperation"/>
            <mustSupport value="availabilityExceptions"/>
            <mustSupport value="endpoint"/>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="code"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="ServiceRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="replaces"/>
            <mustSupport value="requisition"/>
            <mustSupport value="status"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="code"/>
            <mustSupport value="orderDetail"/>
            <mustSupport value="quantity"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="occurrence"/>
            <mustSupport value="asNeeded"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="requester"/>
            <mustSupport value="performerType"/>
            <mustSupport value="performer"/>
            <mustSupport value="locationCode"/>
            <mustSupport value="locationReference"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="insurance"/>
            <mustSupport value="supportingInfo"/>
            <mustSupport value="specimen"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="note"/>
            <mustSupport value="patientInstruction"/>
            <mustSupport value="relevantHistory"/>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="code"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Observation"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            <mustSupport value="category"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="specimen"/>
            <mustSupport value="specimen.collection"/>
            <mustSupport value="specimen.collection.collected"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="code"/>
            <mustSupport value="subject"/>
            <mustSupport value="focus"/>
            <mustSupport value="encounter"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="value"/>
            <mustSupport value="dataAbsentReason"/>
            <mustSupport value="interpretation"/>
            <mustSupport value="note"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="method"/>
            <mustSupport value="device"/>
            <mustSupport value="referenceRange"/>
            <mustSupport value="hasMember"/>
            <mustSupport value="derivedFrom"/>
            <mustSupport value="component"/>
          </dataRequirement>
          <dataRequirement>
            <type value="Specimen"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="identifier"/>
            <mustSupport value="accessionIdentifier"/>
            <mustSupport value="status"/>
            <mustSupport value="type"/>
            <mustSupport value="subject"/>
            <mustSupport value="receivedTime"/>
            <mustSupport value="parent"/>
            <mustSupport value="request"/>
            <mustSupport value="collection"/>
            <mustSupport value="processing"/>
            <mustSupport value="container"/>
            <mustSupport value="condition"/>
            <mustSupport value="note"/>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1142"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1158"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.336"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.337"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1312"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1146.1311"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="DiagnosticReport"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            <mustSupport value="status"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="category"/>
            <mustSupport value="code"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="effective"/>
            <mustSupport value="issued"/>
            <mustSupport value="performer"/>
            <mustSupport value="resultsInterpreter"/>
            <mustSupport value="specimen"/>
            <mustSupport value="result"/>
            <mustSupport value="conclusion"/>
            <mustSupport value="conclusionCode"/>
          </dataRequirement>
          <dataRequirement>
            <type value="Procedure"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="status"/>
            <mustSupport value="statusReason"/>
            <mustSupport value="category"/>
            <mustSupport value="code"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="performed"/>
            <mustSupport value="recorder"/>
            <mustSupport value="asserter"/>
            <mustSupport value="performer"/>
            <mustSupport value="location"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="outcome"/>
            <mustSupport value="report"/>
            <mustSupport value="complication"/>
            <mustSupport value="complicationDetail"/>
            <mustSupport value="followUp"/>
            <mustSupport value="note"/>
            <mustSupport value="focalDevice"/>
            <mustSupport value="usedReference"/>
            <mustSupport value="usedCode"/>
          </dataRequirement>
          <dataRequirement>
            <type value="Procedure"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
            <mustSupport value="code"/>
            <mustSupport value="performed"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="basedOn"/>
            <mustSupport value="partOf"/>
            <mustSupport value="status"/>
            <mustSupport value="statusReason"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="recorder"/>
            <mustSupport value="asserter"/>
            <mustSupport value="performer"/>
            <mustSupport value="location"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="bodySite"/>
            <mustSupport value="outcome"/>
            <mustSupport value="report"/>
            <mustSupport value="complication"/>
            <mustSupport value="complicationDetail"/>
            <mustSupport value="followUp"/>
            <mustSupport value="note"/>
            <mustSupport value="focalDevice"/>
            <mustSupport value="usedReference"/>
            <mustSupport value="usedCode"/>
            <codeFilter>
              <path value="code"/>
              <valueSet
                        value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.10.20.22.5.300"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Medication"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="code"/>
            <mustSupport value="status"/>
            <mustSupport value="manufacturer"/>
            <mustSupport value="form"/>
            <mustSupport value="amount"/>
            <mustSupport value="ingredient"/>
            <mustSupport value="batch"/>
            <codeFilter>
              <path value="id"/>
            </codeFilter>
          </dataRequirement>
          <dataRequirement>
            <type value="Patient"/>
            <profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
            <mustSupport value="id"/>
            <mustSupport value="identifier"/>
            <mustSupport value="active"/>
            <mustSupport value="name"/>
            <mustSupport value="telecom"/>
            <mustSupport value="gender"/>
            <mustSupport value="birthDate"/>
            <mustSupport value="deceased"/>
            <mustSupport value="address"/>
            <mustSupport value="maritalStatus"/>
            <mustSupport value="multipleBirth"/>
            <mustSupport value="photo"/>
            <mustSupport value="contact"/>
            <mustSupport value="communication"/>
            <mustSupport value="generalPractitioner"/>
            <mustSupport value="managingOrganization"/>
            <mustSupport value="link"/>
          </dataRequirement>
          <dataRequirement>
            <type value="MedicationRequest"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
            <mustSupport value="medication"/>
            <mustSupport value="authoredOn"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="status"/>
            <mustSupport value="statusReason"/>
            <mustSupport value="intent"/>
            <mustSupport value="category"/>
            <mustSupport value="priority"/>
            <mustSupport value="doNotPerform"/>
            <mustSupport value="reported"/>
            <mustSupport value="subject"/>
            <mustSupport value="encounter"/>
            <mustSupport value="requester"/>
            <mustSupport value="recorder"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="instantiatesCanonical"/>
            <mustSupport value="instantiatesUri"/>
            <mustSupport value="courseOfTherapyType"/>
            <mustSupport value="dosageInstruction"/>
          </dataRequirement>
          <dataRequirement>
            <type value="MedicationAdministration"/>
            <profile
                     value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
            <mustSupport value="medication"/>
            <mustSupport value="status"/>
            <mustSupport value="effective"/>
            <mustSupport value="id"/>
            <mustSupport value="extension"/>
            <mustSupport value="instantiates"/>
            <mustSupport value="partOf"/>
            <mustSupport value="statusReason"/>
            <mustSupport value="category"/>
            <mustSupport value="subject"/>
            <mustSupport value="context"/>
            <mustSupport value="supportingInformation"/>
            <mustSupport value="performer"/>
            <mustSupport value="reasonCode"/>
            <mustSupport value="reasonReference"/>
            <mustSupport value="request"/>
            <mustSupport value="device"/>
            <mustSupport value="note"/>
            <mustSupport value="dosage"/>
            <mustSupport value="eventHistory"/>
          </dataRequirement>
        </Library>
      </contained>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
        <valueCode value="Encounter"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem">
        <valueReference>🔗
          <reference value="Device/cqf-tooling"/>
        </valueReference>
      </extension>
      <extension
                 url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements" id="effective-data-requirements">
        <valueReference>
          <reference value="#effective-data-requirements"/>
        </valueReference>
      </extension>
      <url
           value="http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Measure/NHSNAcuteCareHospitalDailyInitialPopulation"/>
      <identifier>
        <system value="https://nhsnlink.org"/>
        <value value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
      </identifier>
      <version value="1.0.0"/>
      <name value="NHSNAcuteCareHospitalDailyInitialPopulation"/>
      <title value="NHSN Acute Care Hospital Daily Initial Population"/>
      <status value="draft"/>
      <experimental value="false"/>
      <date value="2025-09-15T10:04:08-05:00"/>
      <publisher value="CDC National Healthcare Safety Network (NHSN)"/>
      <contact>
        <name value="CDC National Healthcare Safety Network (NHSN)"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.cdc.gov/nhsn"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="nhsn@cdc.gov"/>
        </telecom>
      </contact>
      <description
                   value="All encounters with an inpatient, observation, or short stay status for patients of any age during the measurement period. "/>
      <jurisdiction>
        <coding>
          <system value="urn:iso:std:iso:3166"/>
          <code value="US"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets."/>
      <relatedArtifact>
        <type value="documentation"/>
        <display
                 value="https://www.cdc.gov/nhsn/index.html [placeholder for link to protocol on CDC website]"/>
        <url value="https://www.cdc.gov/nhsn/index.html"/>
        <document>
          <url value="https://www.cdc.gov/nhsn/index.html"/>
        </document>
      </relatedArtifact>
      <library
               value="http://www.cdc.gov/nhsn/fhirportal/dqm/ig/Library/NHSNAcuteCareHospitalDailyInitialPopulation"/>
      <disclaimer
                  value="This performance measure is not a clinical guideline, does not establish a standard of medical care and has not been tested for all potential applications.        THE MEASURES AND SPECIFICATIONS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND.        This measure and specifications are subject to further revisions."/>
      <scoring>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
          <code value="cohort"/>
          <display value="Cohort"/>
        </coding>
      </scoring>
      <type>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
          <code value="outcome"/>
          <display value="Outcome"/>
        </coding>
      </type>
      <rationale
                 value="The NHSN Acute Care Hospital (ACH) Daily module enables the measurement of facility and unit-specific incidence and prevalence of Coronavirus 2019 (COVID-19), Influenza, and Respiratory Syncytial Virus (RSV) disease among patients admitted to the hospital (inpatient, observation, or short stay status), and specific associated patient outcomes.  The ACH Daily Daily module supports an electronic health record (EHR)-/vendor-neutral standard for reporting patient-level data on hospitalized patients with a respiratory illness due to one or more of the pathogens under surveillance. Data collected via the ACH Daily module may be used by facilities for quality improvement and patient care planning purposes, as well as by local, state, and federal public health agencies in coordination and response to public health outbreaks. The ACH Daily module offers a mechanism for ongoing monitoring of infectious respiratory viral illness among hospitalized patients with minimal human resource expenditure via 100% electronically automated data capture. This initial version of the module is based on electronic data capture and upload of demographic, administrative, and clinical data from the facility’s electronic source systems such as the electronic health record (EHR), patient registration system (admission, discharge, and transfer [ADT] data), laboratory information system, and pharmacy electronic medication administration system. Facilities will have access to their data via the analysis functions of NHSN. "/>
      <group>
        <population id="initial-population">
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="initial-population"/>
              <display value="Initial Population"/>
            </coding>
          </code>
          <description
                       value="The Acute Care Hospital Daily Initial Population includes all encounters with an inpatient, observation, or short stay status for patients of any age during the measurement period."/>
          <criteria>
            <language value="text/cql-identifier"/>
            <expression value="Initial Population"/>
          </criteria>
        </population>
      </group>
      <supplementalData id="sde-minimal-patient">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Minimal Patient"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Minimal Patient"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-location">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Location"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Location"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-encounter-discharge-disposition">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Encounter Discharge Dispositions"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Encounter Discharge Dispositions"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ach-daily-observation">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE ACH Daily Observation"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE ACH Daily Observation"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-rsv-pre-admission-observation">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE RSV PRE Admission Observation"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE RSV PRE Admission Observation"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-covid-and-influenza-pre-admission-observation">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE COVID And Influenza PRE Admission Observation"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE COVID And Influenza PRE Admission Observation"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ach-daily-specimen">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE ACH Daily Specimen"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE ACH Daily Specimen"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-rsv-specimen">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE RSV Specimen"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE RSV Specimen"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-covid-and-influenza-specimen">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE COVID And Influenza Specimen"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE COVID And Influenza Specimen"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ach-daily-diagnosticreport">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE ACH Daily DiagnosticReport"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE ACH Daily DiagnosticReport"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-rsv-diagnosticreport">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE RSV DiagnosticReport"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE RSV DiagnosticReport"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-covid-and-influenza-diagnosticreport">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE COVID And Influenza DiagnosticReport"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE COVID And Influenza DiagnosticReport"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ach-daily-diagnosticreport-result-from-lab">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE ACH Daily DiagnosticReport Result from Lab"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE ACH Daily DiagnosticReport Result from Lab"/>
        </criteria>
      </supplementalData>
      <supplementalData
                        id="sde-covid-and-influenza-diagnosticreport-result-from-lab">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description
                     value="SDE COVID and Influenza DiagnosticReport Result from Lab"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression
                      value="SDE COVID and Influenza DiagnosticReport Result from Lab"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-rsv-diagnosticreport-result-from-lab">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE RSV DiagnosticReport Result from Lab"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE RSV DiagnosticReport Result from Lab"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ach-daily-servicerequest">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE ACH Daily ServiceRequest"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE ACH Daily ServiceRequest"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-isolation-precautions-implemented">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Isolation Precautions Implemented"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Isolation Precautions Implemented"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-covid-or-influenza-medication-administered">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Covid or Influenza Medication Administered"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Covid or Influenza Medication Administered"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-covid-or-influenza-medication-ordered">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Covid or Influenza Medication Ordered"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Covid or Influenza Medication Ordered"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-medication">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Medication"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Medication"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-all-observations">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE All Observations"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE All Observations"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-all-servicerequests">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE All ServiceRequests"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE All ServiceRequests"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-all-procedures">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE All Procedures"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE All Procedures"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-encounter">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE Encounter"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE Encounter"/>
        </criteria>
      </supplementalData>
      <supplementalData id="sde-ip-encounters">
        <usage>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
            <code value="supplemental-data"/>
          </coding>
        </usage>
        <description value="SDE IP Encounters"/>
        <criteria>
          <language value="text/cql-identifier"/>
          <expression value="SDE IP Encounters"/>
        </criteria>
      </supplementalData>
    </Measure>