This page is part of the National Healthcare Safety Network (NHSN) Digital Quality Measure (dQM) Reporting Implementation Guide (v1.0.0-ballot: STU 1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions
Page standards status: Informative |
<Measure xmlns="http://hl7.org/fhir">
<id value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
<meta>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cohort-measure-cqfm"/>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Measure NHSNdQMAcuteCareHospitalInitialPopulation</b></p><a name="NHSNdQMAcuteCareHospitalInitialPopulation"> </a><a name="hcNHSNdQMAcuteCareHospitalInitialPopulation"> </a><a name="NHSNdQMAcuteCareHospitalInitialPopulation-en-US"> </a><p><b>url</b>: <a href="Measure-NHSNdQMAcuteCareHospitalInitialPopulation.html">Measure NHSN dQM Acute Care Hospital Initial Population</a></p><p><b>identifier</b>: <a href="http://terminology.hl7.org/5.5.0/NamingSystem-uri.html" title="As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt
This oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid:
Note that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.
This OID may also be used in CD.codeSystem.">Uniform Resource Identifier (URI)</a>/urn:oid:2.25.316204395913842452684237438142819890580.29.2</p><p><b>version</b>: 1.0.0-ballot</p><p><b>name</b>: NHSNdQMAcuteCareHospitalInitialPopulation</p><p><b>title</b>: NHSN dQM Acute Care Hospital Initial Population</p><p><b>status</b>: Draft</p><p><b>experimental</b>: false</p><p><b>date</b>: 2024-02-29 17:44:38-0500</p><p><b>publisher</b>: HL7 International / Public Health</p><p><b>contact</b>: HL7 International / Public Health: <a href="http://www.hl7.org/Special/committees/pher">http://www.hl7.org/Special/committees/pher</a></p><p><b>description</b>: </p><div><p>The Acute Care Hospital Initial Population includes all encounters for patients of any age in an ED, observation, or inpatient location or all encounters for patients of any age with an ED, observation, inpatient, or short stay status during the measurement period.</p>
</div><p><b>jurisdiction</b>: <span title="Codes:{urn:iso:std:iso:3166 US}">United States of America</span></p><p><b>copyright</b>: </p><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><blockquote><p><b>relatedArtifact</b></p></blockquote><p><b>library</b>: <a href="Library-NHSNdQMAcuteCareHospitalInitialPopulationLibrary.html">NHSNdQMAcuteCareHospitalInitialPopulation</a></p><p><b>disclaimer</b>: </p><div><p>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.</p>
</div><p><b>scoring</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring cohort}">Cohort</span></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-type outcome}">Outcome</span></p><p><b>rationale</b>: </p><div><p>The NHSN Acute Care Hospital dQM allows for facilities to report line level patient data electronically to NHSN for the following modules that are reported monthly: Glycemic Control, Hypoglycemia; Healthcare facility-onset, antibiotic-Treated Clostridioides difficile (C. difficile) Infection (HT-CDI); Hospital-Onset Bacteremia & Fungemia (HOB); Venous Thromboembolism (VTE); Late Onset Sepsis / Meningitis. *Please see <a href="https://www.cdc.gov/nhsn/acute-care-hospital/index.html">Acute Care / Critical Access Hospitals (ACH) | NHSN | CDC</a> for the individual measure protocols.</p>
</div><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>initial-population</blockquote><p><b>code</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-population initial-population}">Initial Population</span></p><p><b>description</b>: All encounters for patients of any age in an ED, observation, or inpatient location or all encounters for patients of any age with an ED, observation, inpatient, or short stay status during the measurement period.</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>Initial Population</td></tr></table></blockquote></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-condition</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Condition</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Condition</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-device</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Device</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Device</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-diagnosticreport-lab</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE DiagnosticReport Lab</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE DiagnosticReport Lab</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-diagnosticreport-note</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE DiagnosticReport Note</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE DiagnosticReport Note</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-diagnosticreport-others</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE DiagnosticReport Others</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE DiagnosticReport Others</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-encounter</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Encounter</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Encounter</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-location</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Location</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Location</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-medication-administration</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Medication Administration</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Medication Administration</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-medication-request</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Medication Request</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Medication Request</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-medication</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Medication</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Medication</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-observation-lab-category</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Observation Lab Category</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Observation Lab Category</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-observation-vital-signs-category</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Observation Vital Signs Category</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Observation Vital Signs Category</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-observation-category</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Observation Category</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Observation Category</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-coverage</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Coverage</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Coverage</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-procedure</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Procedure</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Procedure</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-specimen</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Specimen</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Specimen</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-service-request</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Service Request</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Service Request</td></tr></table></blockquote><blockquote><p><b>supplementalData</b></p><blockquote><p><b>id</b></p>sde-minimal-patient</blockquote><p><b>usage</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span></p><p><b>description</b>: SDE Minimal Patient</p><h3>Criteria</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style="display: none">*</td><td>text/cql-identifier</td><td>SDE Minimal Patient</td></tr></table></blockquote></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="EMER"/>
<display value="emergency"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="ACUTE"/>
<display value="inpatient acute"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="IMP"/>
<display value="inpatient encounter"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="NONAC"/>
<display value="inpatient non-acute"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="SS"/>
<display value="short stay"/>
</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-directReferenceCode">
<valueCoding>
<system
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="vital-signs"/>
<display value="Vital Signs"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP29684-5"/>
<display value="Radiology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP7839-6"/>
<display value="Pathology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP29708-2"/>
<display value="Cardiology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0074"/>
<code value="LAB"/>
<display value="Laboratory"/>
</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="social-history"/>
<display value="Social History"/>
</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="survey"/>
<display value="Survey"/>
</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="imaging"/>
<display value="Imaging"/>
</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="procedure"/>
<display value="Procedure"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="Encounters"/>
</extension>
<extension url="statement">
<valueString value="define "Encounters":
[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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString
value="Qualifying Encounters During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Qualifying Encounters During Measurement Period":
( [Encounter: "Encounter Inpatient"]
union [Encounter: "Emergency Department Visit"]
union [Encounter: "Observation Services"]
union [Encounter: class in {"emergency", "inpatient acute", "inpatient encounter", "inpatient non-acute", "short stay"}]) QualifyingEncounters
where QualifyingEncounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}
and QualifyingEncounters.period overlaps "Measurement Period""/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="Encounters with Patient Hospital Locations"/>
</extension>
<extension url="statement">
<valueString
value="//potentially an issue as this may pull ALL EXISTING ENCOUNTERS (no period to look against)
define "Encounters with Patient Hospital Locations":
"Encounters" Encounters
where exists(
Encounters.location EncounterLocation
where Global.GetLocation(EncounterLocation.location).type in "Inpatient, Emergency, and Observation Locations"
and EncounterLocation.period overlaps Encounters.period
)
and Encounters.status in {'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error'}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="// and Encounters.period overlaps "Measurement Period" (?)
define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations""/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Encounter"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Encounter":
"Encounters" Encounters
where exists(
"Initial Population" IP
where Encounters.period overlaps IP.period)
return SharedResource.EncounterResource(Encounters,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-encounter'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Request"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Request":
[MedicationRequest] MedicationRequests
where exists(
"Initial Population" IP
where MedicationRequests.authoredOn during IP.period)
return SharedResource.MedicationRequestResource(MedicationRequests,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-medicationrequest'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Coverage"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Coverage":
[Coverage] Coverages
where exists(
"Initial Population" IP
where Coverages.period overlaps IP.period)
return SharedResource.CoverageResource(Coverages,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-coverage'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Procedure"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Procedure":
[Procedure] Procedures
where exists(
"Initial Population" IP
where Global."Normalize Interval"(Procedures.performed) overlaps IP.period)
return SharedResource.ProcedureResource(Procedures,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-procedure'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Device"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Device":
[Device] Devices
where exists("Initial Population")
return DeviceResource(Devices,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-device'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="Observations"/>
</extension>
<extension url="statement">
<valueString
value="define "Observations":
[Observation]"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Lab Category"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Observation Lab Category":
"Observations" Observations
where (exists(Observations.category Category where Category ~ "laboratory"))
and exists(
"Initial Population" IP
where Global."Normalize Interval"(Observations.effective) overlaps IP.period)
return SharedResource.ObservationLabResource(Observations,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-observation-lab'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Vital Signs Category"/>
</extension>
<extension url="statement">
<valueString
value="//Vital Signs Observation has its own profile in FHIR Base
define "SDE Observation Vital Signs Category":
"Observations" Observations
where (exists(Observations.category Category where Category ~ "vital-signs"))
and exists(
"Initial Population" IP
where Global."Normalize Interval"(Observations.effective) overlaps IP.period)
return ObservationVitalSignsResource(Observations,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-observation-vitals'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Others"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE DiagnosticReport Others":
[DiagnosticReport] DiagnosticReports
where not ((exists(DiagnosticReports.category Category where Category ~ "Radiology"))
or exists((DiagnosticReports.category Category where Category ~ "Pathology"))
or exists((DiagnosticReports.category Category where Category ~ "Cardiology"))
or exists(DiagnosticReports.category Category where Category ~ "LAB"))
and exists("Initial Population" IP
where Global."Normalize Interval"(DiagnosticReports.effective) overlaps IP.period)
return DiagnosticReportResource(DiagnosticReports,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-diagnosticreport'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Administration":
[MedicationAdministration] MedicationAdministrations
where exists(
"Initial Population" IP
where Global."Normalize Interval"(MedicationAdministrations.effective) overlaps IP.period)
return SharedResource.MedicationAdministrationResource(MedicationAdministrations,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-medicationadministration'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Category"/>
</extension>
<extension url="statement">
<valueString
value="//Defaulting to base FHIR profile as there are no individual profiles in US Core 3.1.1 that cover these Observation categories
define "SDE Observation Category":
"Observations" Observations
where ((exists(Observations.category Category where Category ~ "social-history"))
or (exists(Observations.category Category where Category ~ "survey"))
or (exists(Observations.category Category where Category ~ "imaging"))
or (exists(Observations.category Category where Category ~ "procedure")))
and exists(
"Initial Population" IP
where Global."Normalize Interval"(Observations.effective) overlaps IP.period)
return ObservationResource(Observations,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-observation'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Condition"/>
</extension>
<extension url="statement">
<valueString
value="//============================================================================
//Supplemental Data Element
//When FHIR.canonical value is present, US Core 3.1.1 profiles are used
//When FHIR.canonical value is not present, FHIR Base profiles are used
//============================================================================
define "SDE Condition":
[Condition] Conditions
where exists("Initial Population")
return SharedResource.ConditionResource(Conditions,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DiagnosticReports"/>
</extension>
<extension url="statement">
<valueString
value="define "DiagnosticReports":
[DiagnosticReport]"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Lab"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE DiagnosticReport Lab":
"DiagnosticReports" DiagnosticReports
where (exists(DiagnosticReports.category Category where Category ~ "LAB")
and exists(
"Initial Population" IP
where Global."Normalize Interval"(DiagnosticReports.effective) overlaps IP.period))
return SharedResource.DiagnosticReportLabResource(DiagnosticReports,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="IP Encounters Overlap Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="//Double checking for IP's period during MP as IP is created out of qualifying encounters, which checks for it,
//and encounter's locations, which doesn't
define "IP Encounters Overlap Measurement Period":
"Initial Population" IP
where IP.period overlaps "Measurement Period""/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString
value="Get Locations from IP Encounters in Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Get Locations from IP Encounters in Measurement Period":
flatten("IP Encounters Overlap Measurement Period" Encounters
let locationElements: Encounters.location
return
locationElements LE
let locationReference: LE.location
return Global.GetLocation(locationReference))"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Location"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Location":
"Get Locations from IP Encounters in Measurement Period" Locations
where exists("Initial Population")
and Locations is not null
return SharedResource.LocationResource(Locations,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-location'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Service Request"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Service Request":
[ServiceRequest] ServiceRequests
where exists("Initial Population" IP
where ServiceRequests.authoredOn during IP.period)
return SharedResource.ServiceRequestResource(ServiceRequests,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-servicerequest'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Note"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE DiagnosticReport Note":
"DiagnosticReports" DiagnosticReports
where ((exists(DiagnosticReports.category Category where Category ~ "Radiology"))
or exists((DiagnosticReports.category Category where Category ~ "Pathology"))
or exists((DiagnosticReports.category Category where Category ~ "Cardiology")))
and exists(
"Initial Population" IP
where Global."Normalize Interval"(DiagnosticReports.effective) overlaps IP.period)
return DiagnosticReportResource(DiagnosticReports,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-diagnosticreport-note'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Minimal Patient"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Minimal Patient":
Patient p
return SharedResource.PatientResource(p,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/cross-measure-patient'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Medication"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication":
("SDE Medication Request"
union "SDE Medication Administration") MedReqOrAdmin
where MedReqOrAdmin.medication is FHIR.Reference
and exists("Initial Population") //No longer need to check for timing here because it's checked in SDE Medication Request/Administriation
return SharedResource.MedicationResource(GetMedicationFrom(MedReqOrAdmin.medication),
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-medication'}})"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="SDE Specimen"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Specimen":
[Specimen] Specimens
where exists(
"Initial Population" IP
where Global."Normalize Interval"(Specimens.collection.collected) overlaps IP.period
)
return SharedResource.SpecimenResource(Specimens,
{FHIR.canonical{value: 'http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/ach-specimen'}})"/>
</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="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="26"/>
</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."start" is null then
Interval(period."start".value, period."end".value]
else
Interval[period."start".value, period."end".value]"/>
</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="MATGlobalCommonFunctionsFHIR4"/>
</extension>
<extension url="name">
<valueString value="GetLocation"/>
</extension>
<extension url="statement">
<valueString
value="// Returns the location for the given location reference
/*Returns the Location resource specified by the given reference*/
define function "GetLocation"(reference Reference ):
singleton from (
[Location] Locations
where Locations.id = GetId(reference.reference)
)"/>
</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="MATGlobalCommonFunctionsFHIR4"/>
</extension>
<extension url="name">
<valueString value="GetId"/>
</extension>
<extension url="statement">
<valueString
value="/*Returns the tail of the given uri (i.e. everything after the last slash in the URI).*/
define function "GetId"(uri String ):
Last(Split(uri, '/'))"/>
</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="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="30"/>
</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<FHIR.canonical>):
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,
participant: EncounterParticipant(e.participant),
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="31"/>
</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 "MetaElement"(resource Resource, profileURLs List<FHIR.canonical>):
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="32"/>
</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<FHIR.Identifier>):
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="33"/>
</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<FHIR.Encounter.StatusHistory>):
statusHistory sH
return FHIR.Encounter.StatusHistory{
status: sH.status,
period: sH.period
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="EncounterClassHistory"/>
</extension>
<extension url="statement">
<valueString
value="define function EncounterClassHistory(classHistory List<FHIR.Encounter.ClassHistory>):
classHistory cH
return FHIR.Encounter.ClassHistory{
class: cH.class,
period: cH.period
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="EncounterParticipant"/>
</extension>
<extension url="statement">
<valueString
value="define function EncounterParticipant(participant List<FHIR.Encounter.Participant>):
participant p
return FHIR.Encounter.Participant{
type: p.type,
period: p.period,
individual: p.individual
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="EncounterDiagnosis"/>
</extension>
<extension url="statement">
<valueString
value="define function EncounterDiagnosis(diagnosis List<FHIR.Encounter.Diagnosis>):
diagnosis d
return FHIR.Encounter.Diagnosis{
condition: d.condition,
use: d.use,
rank: d.rank
}"/>
</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="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="38"/>
</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<FHIR.Encounter.Location>):
location l
return FHIR.Encounter.Location{
location: l.location,
status: l.status,
physicalType: l.physicalType,
period: l.period
}"/>
</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="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="40"/>
</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<FHIR.canonical>):
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="41"/>
</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<FHIR.Dosage>):
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="42"/>
</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<FHIR.Dosage.DoseAndRate>):
doseAndRate dR
return FHIR.Dosage.DoseAndRate{
type: dR.type,
dose: dR.dose,
rate: dR.rate
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="CoverageResource"/>
</extension>
<extension url="statement">
<valueString
value="define function CoverageResource(coverage Coverage, profileURLs List<FHIR.canonical>):
coverage c
return Coverage{
id: FHIR.id{value: 'LCR-' + c.id},
meta: MetaElement(c, profileURLs),
extension: c.extension,
status: c.status,
type: c.type,
policyHolder: c.policyHolder,
subscriber: c.subscriber,
subscriberId: c.subscriberId,
beneficiary: c.beneficiary,
dependent: c.dependent,
relationship: c.relationship,
period: c.period,
payor: c.payor,
class: CoverageClass(c.class),
order: c.order,
network: c.network,
subrogation: c.subrogation,
contract: c.contract
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="CoverageClass"/>
</extension>
<extension url="statement">
<valueString
value="define function CoverageClass(class List<FHIR.Coverage.Class>):
class c
return FHIR.Coverage.Class{
value: c.value,
name: c.name
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="ProcedureResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ProcedureResource(procedure Procedure, profileURLs List<FHIR.canonical>):
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="46"/>
</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<FHIR.Procedure.Performer>):
performer p
return FHIR.Procedure.Performer{
function: p.function,
actor: p.actor,
onBehalfOf: p.onBehalfOf
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="ProcedureFocalDevice"/>
</extension>
<extension url="statement">
<valueString
value="define function ProcedureFocalDevice(device List<FHIR.Procedure.FocalDevice>):
device d
return FHIR.Procedure.FocalDevice{
action: d.action,
manipulated: d.manipulated
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceResource"/>
</extension>
<extension url="statement">
<valueString
value="define function DeviceResource(device Device, profileURLs List<FHIR.canonical>):
device d
return Device{
id: FHIR.id{value: 'LCR-' + d.id},
meta: SharedResource.MetaElement(d, profileURLs),
extension: d.extension,
definition: d.definition,
udiCarrier: DeviceUdiCarrier(d.udiCarrier),
status: d.status,
statusReason: d.statusReason,
distinctIdentifier: d.distinctIdentifier,
manufacturer: d.manufacturer,
manufactureDate: d.manufactureDate,
expirationDate: d.expirationDate,
lotNumber: d.lotNumber,
serialNumber: d.serialNumber,
deviceName: DeviceDeviceName(d.deviceName),
modelNumber: d.modelNumber,
partNumber: d.partNumber,
type: d.type,
specialization: DeviceSpecialization(d.specialization),
version: DeviceVersion(d.version),
property: DeviceProperty(d.property),
patient: d.patient,
owner: d.owner,
contact: d.contact,
location: d.location,
url: d.url,
note: d.note,
safety: d.safety,
parent: d.parent
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceUdiCarrier"/>
</extension>
<extension url="statement">
<valueString
value="//
//Measure Specific Resource Creation Functions
//
define function DeviceUdiCarrier(udiCarrier List<FHIR.Device.UdiCarrier>):
udiCarrier u
return FHIR.Device.UdiCarrier{
deviceIdentifier: u.deviceIdentifier,
issuer: u.issuer,
jurisdiction: u.jurisdiction,
carrierAIDC: u.carrierAIDC,
carrierHRF: u.carrierHRF,
entryType: u.entryType
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceDeviceName"/>
</extension>
<extension url="statement">
<valueString
value="define function DeviceDeviceName(deviceName List<FHIR.Device.DeviceName>):
deviceName d
return FHIR.Device.DeviceName{
name: d.name,
type: d.type
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceSpecialization"/>
</extension>
<extension url="statement">
<valueString
value="define function DeviceSpecialization(specialization List<FHIR.Device.Specialization>):
specialization s
return FHIR.Device.Specialization{
systemType: s.systemType,
version: s.version
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceVersion"/>
</extension>
<extension url="statement">
<valueString
value="define function DeviceVersion(version List<FHIR.Device.Version>):
version v
return FHIR.Device.Version{
type: v.type,
component: v.component,
value: v.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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DeviceProperty"/>
</extension>
<extension url="statement">
<valueString
value="define function DeviceProperty(deviceProperty List<FHIR.Device.Property>):
deviceProperty d
return FHIR.Device.Property{
id: d.id,
type: d.type,
valueQuantity: d.valueQuantity,
valueCode: d.valueCode
}"/>
</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="ObservationLabResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationLabResource(observation Observation, profileURLs List<FHIR.canonical>):
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="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="ObservationLabCategory"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationLabCategory(category List<CodeableConcept>):
category c
return CodeableConcept{
coding: ObservationLabCoding(c.coding),
text: c.text
}"/>
</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="ObservationLabCoding"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationLabCoding(coding List<Coding>):
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="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="ObservationReferenceRange"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationReferenceRange(referenceRange List<FHIR.Observation.ReferenceRange>):
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="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="ObservationComponent"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationComponent(component List<FHIR.Observation.Component>):
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="59"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="ObservationVitalSignsResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationVitalSignsResource(observation Observation, profileURLs List<FHIR.canonical>):
observation o
return Observation{
id: FHIR.id {value: 'LCR-' + o.id},
meta: SharedResource.MetaElement(o, profileURLs),
extension: o.extension,
partOf: o.partOf,
status: o.status,
category: ObservationVitalSignsCategory(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: SharedResource.ObservationReferenceRange(o.referenceRange),
hasMember: o.hasMember,
derivedFrom: o.derivedFrom,
component: ObservationVitalSignsComponent(o.component)
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="ObservationVitalSignsCategory"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationVitalSignsCategory(category List<CodeableConcept>):
category c
return CodeableConcept{
coding: ObservationVitalSignsCoding(c.coding),
text: c.text
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="ObservationVitalSignsCoding"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationVitalSignsCoding(coding List<Coding>):
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="62"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="ObservationVitalSignsComponent"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationVitalSignsComponent(component List<FHIR.Observation.Component>):
component c
return FHIR.Observation.Component{
code: c.code,
value: c.value,
dataAbsentReason: c.dataAbsentReason,
interpretation: c.interpretation,
referenceRange: SharedResource.ObservationReferenceRange(c.referenceRange)
}"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="DiagnosticReportResource"/>
</extension>
<extension url="statement">
<valueString
value="define function DiagnosticReportResource(diagnosticReport DiagnosticReport, profileURLs List<FHIR.canonical>):
diagnosticReport d
return DiagnosticReport{
id: FHIR.id{value: 'LCR-' + d.id},
meta: SharedResource.MetaElement(d, profileURLs),
extension: d.extension,
basedOn: d.basedOn,
status: d.status,
category: 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="64"/>
</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<FHIR.canonical>):
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="65"/>
</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<FHIR.MedicationAdministration.Performer>):
performer p
return FHIR.MedicationAdministration.Performer{
function: p.function,
actor: p.actor
}"/>
</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="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="67"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="ObservationResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ObservationResource(observation Observation, profileURLs List<FHIR.canonical>):
observation o
return Observation{
id: FHIR.id {value: 'LCR-' + o.id},
meta: SharedResource.MetaElement(o, profileURLs),
extension: o.extension,
partOf: o.partOf,
status: o.status,
category: 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: SharedResource.ObservationReferenceRange(o.referenceRange),
hasMember: o.hasMember,
derivedFrom: o.derivedFrom,
component: SharedResource.ObservationComponent(o.component)
}"/>
</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="ConditionResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ConditionResource(condition Condition, profileURLs List<FHIR.canonical>):
condition c
return Condition{
id: FHIR.id {value: 'LCR-' + c.id},
meta: MetaElement(c, profileURLs),
extension: c.extension,
clinicalStatus: c.clinicalStatus,
verificationStatus: c.verificationStatus,
category: c.category,
severity: c.severity,
code: c.code,
bodySite: c.bodySite,
subject: c.subject,
encounter: c.encounter,
onset: c.onset,
abatement: c.abatement,
recordedDate: c.recordedDate,
stage: ConditionStage(c.stage),
evidence: ConditionEvidence(c.evidence),
note: c.note
}"/>
</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="ConditionStage"/>
</extension>
<extension url="statement">
<valueString
value="define function ConditionStage(stage List<FHIR.Condition.Stage>):
stage s
return FHIR.Condition.Stage{
summary: s.summary,
assessment: s.assessment,
type: s.type
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="ConditionEvidence"/>
</extension>
<extension url="statement">
<valueString
value="define function ConditionEvidence(evidence List<FHIR.Condition.Evidence>):
evidence e
return FHIR.Condition.Evidence{
code: e.code,
detail: e.detail
}"/>
</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<FHIR.canonical>):
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<CodeableConcept>):
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<Coding>):
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="LocationResource"/>
</extension>
<extension url="statement">
<valueString
value="define function LocationResource(location Location, profileURLs List<FHIR.canonical>):
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="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="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="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="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="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="LocationHoursOfOperation"/>
</extension>
<extension url="statement">
<valueString
value="define function LocationHoursOfOperation(hoursOfOperation List<FHIR.Location.HoursOfOperation>):
hoursOfOperation hOO
return FHIR.Location.HoursOfOperation{
daysOfWeek: hOO.daysOfWeek,
allDay: hOO.allDay,
openingTime: hOO.openingTime,
closingTime: hOO.closingTime
}"/>
</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="ServiceRequestResource"/>
</extension>
<extension url="statement">
<valueString
value="define function ServiceRequestResource(serviceRequest ServiceRequest, profileURLs List<FHIR.canonical>):
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="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="PatientResource"/>
</extension>
<extension url="statement">
<valueString
value="define function PatientResource(patient Patient, profileURLs List<FHIR.canonical>):
patient p
return Patient{
id: FHIR.id{value: 'LCR-' + p.id},
meta: MetaElement(p, profileURLs),
extension: GetPatientExtensions(p) union GetIdExtensions(p),
identifier: PatientIdentifier(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="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="GetPatientExtensions"/>
</extension>
<extension url="statement">
<valueString
value="define function "GetPatientExtensions"(domainResource DomainResource):
domainResource.extension E
where E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'
or E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'
or E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex'
or E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity'
or E.url = 'http://hl7.org/fhir/StructureDefinition/patient-genderIdentity'
return E"/>
</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="GetIdExtensions"/>
</extension>
<extension url="statement">
<valueString
value="define function "GetIdExtensions"(domainResource DomainResource):
domainResource.extension E
return E"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="PatientIdentifier"/>
</extension>
<extension url="statement">
<valueString
value="define function PatientIdentifier(identifier List<FHIR.Identifier>):
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
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="PatientName"/>
</extension>
<extension url="statement">
<valueString
value="define function PatientName(name List<FHIR.HumanName>):
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="84"/>
</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<FHIR.ContactPoint>):
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="85"/>
</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<FHIR.Address>):
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="86"/>
</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<FHIR.Patient.Contact>):
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="87"/>
</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<FHIR.Patient.Communication>):
communication c
return FHIR.Patient.Communication{
id: c.id,
extension: c.extension,
language: c.language,
preferred: c.preferred
}"/>
</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="SharedResourceCreation"/>
</extension>
<extension url="name">
<valueString value="PatientLink"/>
</extension>
<extension url="statement">
<valueString
value="define function PatientLink(link List<FHIR.Patient.Link>):
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="89"/>
</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<FHIR.canonical>):
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="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="MedicationIngredient"/>
</extension>
<extension url="statement">
<valueString
value="define function MedicationIngredient(ingredient List<FHIR.Medication.Ingredient>):
ingredient i
return FHIR.Medication.Ingredient{
item: i.item,
strength: i.strength
}"/>
</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="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="92"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition">
<extension url="libraryName">
<valueString value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="GetMedicationFrom"/>
</extension>
<extension url="statement">
<valueString
value="//
//Functions
//
define function "GetMedicationFrom"(choice Choice<FHIR.CodeableConcept, FHIR.Reference>):
case
when choice is FHIR.Reference then
GetMedication(choice as FHIR.Reference)
else
null
end"/>
</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="NHSNdQMAcuteCareHospitalInitialPopulation"/>
</extension>
<extension url="name">
<valueString value="GetMedication"/>
</extension>
<extension url="statement">
<valueString
value="define function "GetMedication"(reference Reference ):
singleton from (
[Medication] Medications
where Medications.id = Global.GetId(reference.reference)
)"/>
</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="SpecimenResource"/>
</extension>
<extension url="statement">
<valueString
value="define function SpecimenResource(specimen Specimen, profileURLs List<FHIR.canonical>):
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="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="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,
//duration: c.duration, Does not parse for some reason? Need to bring up with SmileCDR
quantity: c.quantity,
method: c.method,
bodySite: c.bodySite,
fastingStatus: c.fastingStatus
}"/>
</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="SpecimenProcessing"/>
</extension>
<extension url="statement">
<valueString
value="define function SpecimenProcessing(processing List<FHIR.Specimen.Processing>):
processing p
return FHIR.Specimen.Processing{
description: p.description,
procedure: p.procedure,
additive: p.additive,
time: p.time
}"/>
</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="SpecimenContainer"/>
</extension>
<extension url="statement">
<valueString
value="define function SpecimenContainer(container List<FHIR.Specimen.Container>):
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="98"/>
</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://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Global"/>
<resource
value="http://hl7.org/fhir/us/cqfmeasures/Library/MATGlobalCommonFunctions"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system ActCode"/>
<resource value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system Observation Category"/>
<resource
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system LOINC"/>
<resource value="http://loinc.org"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system V2-0074"/>
<resource value="http://terminology.hl7.org/CodeSystem/v2-0074"/>
</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 Emergency Department Visit"/>
<resource
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
</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>
<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 Medication Request"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="MedicationRequest"/>
</parameter>
<parameter>
<name value="SDE Coverage"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Coverage"/>
</parameter>
<parameter>
<name value="SDE Procedure"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Procedure"/>
</parameter>
<parameter>
<name value="SDE Device"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Device"/>
</parameter>
<parameter>
<name value="SDE Observation Lab Category"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Observation"/>
</parameter>
<parameter>
<name value="SDE Observation Vital Signs Category"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Observation"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport Others"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="DiagnosticReport"/>
</parameter>
<parameter>
<name value="SDE Medication Administration"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="MedicationAdministration"/>
</parameter>
<parameter>
<name value="SDE Observation Category"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Observation"/>
</parameter>
<parameter>
<name value="SDE Condition"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Condition"/>
</parameter>
<parameter>
<name value="Initial Population"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Encounter"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport 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>
<parameter>
<name value="SDE Service Request"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="ServiceRequest"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport Note"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="DiagnosticReport"/>
</parameter>
<parameter>
<name value="SDE Minimal Patient"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Patient"/>
</parameter>
<parameter>
<name value="SDE Medication"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Medication"/>
</parameter>
<parameter>
<name value="SDE Specimen"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Specimen"/>
</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="participant"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
<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="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="participant"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
<codeFilter>
<path value="type"/>
<valueSet
value="http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Encounter"/>
<mustSupport value="type"/>
<mustSupport value="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="participant"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
<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="participant"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
<codeFilter>
<path value="class"/>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="EMER"/>
<display value="emergency"/>
</code>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="ACUTE"/>
<display value="inpatient acute"/>
</code>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="IMP"/>
<display value="inpatient encounter"/>
</code>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="NONAC"/>
<display value="inpatient non-acute"/>
</code>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="SS"/>
<display value="short stay"/>
</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="participant"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
</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="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
<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="medication"/>
<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="Coverage"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Coverage"/>
<mustSupport value="period"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="status"/>
<mustSupport value="type"/>
<mustSupport value="policyHolder"/>
<mustSupport value="subscriber"/>
<mustSupport value="subscriberId"/>
<mustSupport value="beneficiary"/>
<mustSupport value="dependent"/>
<mustSupport value="relationship"/>
<mustSupport value="payor"/>
<mustSupport value="class"/>
<mustSupport value="order"/>
<mustSupport value="network"/>
<mustSupport value="subrogation"/>
<mustSupport value="contract"/>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
<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="code"/>
<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"/>
</dataRequirement>
<dataRequirement>
<type value="Device"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Device"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="definition"/>
<mustSupport value="udiCarrier"/>
<mustSupport value="status"/>
<mustSupport value="statusReason"/>
<mustSupport value="distinctIdentifier"/>
<mustSupport value="manufacturer"/>
<mustSupport value="manufactureDate"/>
<mustSupport value="expirationDate"/>
<mustSupport value="lotNumber"/>
<mustSupport value="serialNumber"/>
<mustSupport value="deviceName"/>
<mustSupport value="modelNumber"/>
<mustSupport value="partNumber"/>
<mustSupport value="type"/>
<mustSupport value="specialization"/>
<mustSupport value="version"/>
<mustSupport value="property"/>
<mustSupport value="patient"/>
<mustSupport value="owner"/>
<mustSupport value="contact"/>
<mustSupport value="location"/>
<mustSupport value="url"/>
<mustSupport value="note"/>
<mustSupport value="safety"/>
<mustSupport value="parent"/>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="basedOn"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="category"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="focus"/>
<mustSupport value="encounter"/>
<mustSupport value="effective"/>
<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="specimen"/>
<mustSupport value="device"/>
<mustSupport value="referenceRange"/>
<mustSupport value="hasMember"/>
<mustSupport value="derivedFrom"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="DiagnosticReport"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
<mustSupport value="category"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="basedOn"/>
<mustSupport value="status"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<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="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="instantiates"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="statusReason"/>
<mustSupport value="category"/>
<mustSupport value="medication"/>
<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>
<dataRequirement>
<type value="Condition"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Condition"/>
<mustSupport value="id"/>
<mustSupport value="extension"/>
<mustSupport value="clinicalStatus"/>
<mustSupport value="verificationStatus"/>
<mustSupport value="category"/>
<mustSupport value="severity"/>
<mustSupport value="code"/>
<mustSupport value="bodySite"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="onset"/>
<mustSupport value="abatement"/>
<mustSupport value="recordedDate"/>
<mustSupport value="stage"/>
<mustSupport value="evidence"/>
<mustSupport value="note"/>
</dataRequirement>
<dataRequirement>
<type value="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
<mustSupport value="authoredOn"/>
<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="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="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="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"/>
</dataRequirement>
<dataRequirement>
<type value="Specimen"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
<mustSupport value="collection"/>
<mustSupport value="collection.collected"/>
<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="processing"/>
<mustSupport value="container"/>
<mustSupport value="condition"/>
<mustSupport value="note"/>
</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-effectiveDataRequirements" id="effective-data-requirements">
<valueReference>
<reference value="#effective-data-requirements"/>
</valueReference>
</extension>
<url
value="http://hl7.org/fhir/us/nhsn-dqm/Measure/NHSNdQMAcuteCareHospitalInitialPopulation"/>
<identifier>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:oid:2.25.316204395913842452684237438142819890580.29.2"/>
</identifier>
<version value="1.0.0-ballot"/>
<name value="NHSNdQMAcuteCareHospitalInitialPopulation"/>
<title value="NHSN dQM Acute Care Hospital Initial Population"/>
<status value="draft"/>
<experimental value="false"/>
<date value="2024-02-29T17:44:38-05:00"/>
<publisher value="HL7 International / Public Health"/>
<contact>
<name value="HL7 International / Public Health"/>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/pher"/>
</telecom>
</contact>
<description
value="The Acute Care Hospital Initial Population includes all encounters for patients of any age in an ED, observation, or inpatient location or all encounters for patients of any age with an ED, observation, inpatient, or short stay status during the measurement period."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
<display value="United States of America"/>
</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://hl7.org/fhir/us/nhsn-dqm/Library/NHSNdQMAcuteCareHospitalInitialPopulationLibrary"/>
<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 dQM allows for facilities to report line level patient data electronically to NHSN for the following modules that are reported monthly: Glycemic Control, Hypoglycemia; Healthcare facility-onset, antibiotic-Treated Clostridioides difficile (C. difficile) Infection (HT-CDI); Hospital-Onset Bacteremia & Fungemia (HOB); Venous Thromboembolism (VTE); Late Onset Sepsis / Meningitis. *Please see [Acute Care / Critical Access Hospitals (ACH) | NHSN | CDC](https://www.cdc.gov/nhsn/acute-care-hospital/index.html) for the individual measure protocols."/>
<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="All encounters for patients of any age in an ED, observation, or inpatient location or all encounters for patients of any age with an ED, observation, inpatient, or short stay status during the measurement period."/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
</group>
<supplementalData id="sde-condition">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Condition"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Condition"/>
</criteria>
</supplementalData>
<supplementalData id="sde-device">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Device"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Device"/>
</criteria>
</supplementalData>
<supplementalData id="sde-diagnosticreport-lab">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE DiagnosticReport Lab"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE DiagnosticReport Lab"/>
</criteria>
</supplementalData>
<supplementalData id="sde-diagnosticreport-note">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE DiagnosticReport Note"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE DiagnosticReport Note"/>
</criteria>
</supplementalData>
<supplementalData id="sde-diagnosticreport-others">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE DiagnosticReport Others"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE DiagnosticReport Others"/>
</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-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-medication-administration">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Administration"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Administration"/>
</criteria>
</supplementalData>
<supplementalData id="sde-medication-request">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Request"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Request"/>
</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-observation-lab-category">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Observation Lab Category"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Observation Lab Category"/>
</criteria>
</supplementalData>
<supplementalData id="sde-observation-vital-signs-category">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Observation Vital Signs Category"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Observation Vital Signs Category"/>
</criteria>
</supplementalData>
<supplementalData id="sde-observation-category">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Observation Category"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Observation Category"/>
</criteria>
</supplementalData>
<supplementalData id="sde-coverage">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Coverage"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Coverage"/>
</criteria>
</supplementalData>
<supplementalData id="sde-procedure">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Procedure"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Procedure"/>
</criteria>
</supplementalData>
<supplementalData id="sde-specimen">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Specimen"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Specimen"/>
</criteria>
</supplementalData>
<supplementalData id="sde-service-request">
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Service Request"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Service Request"/>
</criteria>
</supplementalData>
<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>
</Measure>