dQM QICore Content Implementation Guide
2025.0.0 - CI Build
dQM QICore Content Implementation Guide, published by cqframework. This guide is not an authorized publication; it is the continuous build for version 2025.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cqframework/dqm-content-qicore-2025/ and changes regularly. See the Directory of published versions
| Draft as of 2026-01-16 |
<Measure xmlns="http://hl7.org/fhir">
<id value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
<meta>
<profile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablemeasure"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/publishable-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/executable-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cql-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/elm-measure-cqfm"/>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cohort-measure-cqfm"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<table class="narrative-table">
<tbody>
<tr>
<th colspan="2" scope="row" class="row-header">Metadata</th>
</tr>
<tr>
<th scope="row" class="row-header">Title</th>
<td class="content-container">NHSN Acute Care Hospital Monthly Initial Population 1
</td>
</tr>
<tr>
<th scope="row" class="row-header">Version</th>
<td class="content-container">Draft based on 0.0.000</td>
</tr>
<tr>
<th scope="row" class="row-header">Short Name</th>
<td class="content-container">NHSNACHMonthly1</td>
</tr>
<tr>
<th scope="row" class="row-header">GUID (Version Independent)</th>
<td class="content-container">urn:uuid:1a6d58a6-1063-421b-8231-b8700d8009c9</td>
</tr>
<tr>
<th scope="row" class="row-header">GUID (Version Specific)</th>
<td class="content-container">urn:uuid:6156503c-1e85-4137-891c-1ee73c0c01d0</td>
</tr>
<tr>
<th scope="row" class="row-header">Effective Period</th>
<td class="content-container">2025-01-01 through 2025-01-31</td>
</tr>
<tr>
<th scope="row" class="row-header">Status</th>
<td class="content-container">Draft</td>
</tr>
<tr>
<th scope="row" class="row-header">Experimental</th>
<td class="content-container">true</td>
</tr>
<tr>
<th scope="row" class="row-header">Steward (Publisher)</th>
<td class="content-container">Centers for Disease Control and Prevention (CDC)</td>
</tr>
<tr>
<th scope="row" class="row-header">Developer</th>
<td class="content-container">Lantana Consulting Group</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container"><div><p>Patients of all ages with inpatient (Inpt), emergency department (ED), observation (OBS), or short stay (SS) encounter type or with Inpt, ED, OBS, SS encounter class or with an Inpt, ED, OBS, SS location during the measurement period.</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Copyright</th>
<td class="content-container"><div><p>UNKNOWN</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Disclaimer</th>
<td class="content-container"><div><p>UNKNOWN</p>
</div></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>
</tr>
<tr>
<th scope="row" class="row-header">Basis</th>
<td class="content-container">Encounter</td>
</tr>
<tr>
<th scope="row" class="row-header">Scoring</th>
<td class="content-container">
Cohort
</td>
</tr>
<tr>
<th scope="row" class="row-header">Type</th>
<td class="content-container">
Outcome
</td>
</tr>
<tr>
<th scope="row" class="row-header">Initial Population</th>
<td class="content-container">
<em>ID</em>: InitialPopulation_1
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">All inpatient encounters, as well as ED and OBS encounters that end within 1 hour of the start of the inpatient encounter, for patients of all ages where at least one diabetes medication was ordered or administered during the encounter that is during the measurement period.
</p>
<em>Criteria</em>: <a href="#Group_1-InitialPopulation_1">Initial Population</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Guidance Guidance</th>
<td class="content-container"><p>SDE</p></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Supplemental Data Elements</th>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-condition-problems-healthconcerns
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Condition Problems HealthConcerns
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-condition-problems-healthconcerns">SDE Condition Problems HealthConcerns</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-condition-diagnosis
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Condition Diagnosis
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-condition-diagnosis">SDE Condition Diagnosis</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-coverage
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Coverage
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-coverage">SDE Coverage</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-device
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Device
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-device">SDE Device</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-diagnosticreport-lab
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE DiagnosticReport Lab
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-lab">SDE DiagnosticReport Lab</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-diagnosticreport-note
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE DiagnosticReport Note
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-note">SDE DiagnosticReport Note</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-diagnosticreport-others
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE DiagnosticReport Others
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-others">SDE DiagnosticReport Others</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-encounter
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Encounter
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-encounter">SDE Encounter</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-ip-encounters
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE IP Encounters
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-ip-encounters">SDE IP Encounters</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-location
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Location
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-location">SDE Location</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-administration
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Administration
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration">SDE Medication Administration</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-administration-base
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Administration Base
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-base">SDE Medication Administration Base</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-administration-not-done
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Administration Not Done
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-not-done">SDE Medication Administration Not Done</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-request-base
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Request Base
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-request-base">SDE Medication Request Base</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-not-requested
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Not Requested
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-not-requested">SDE Medication Not Requested</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication-request
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication Request
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-request">SDE Medication Request</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-medication
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Medication
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication">SDE Medication</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-observation-lab-category
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Observation Lab Category
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-lab-category">SDE Observation Lab Category</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-observation-simple
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Observation Simple
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-simple">SDE Observation Simple</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-observation-survey
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Observation Survey
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-survey">SDE Observation Survey</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-observation-vital-signs-category
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Observation Vital Signs Category
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-vital-signs-category">SDE Observation Vital Signs Category</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-procedure
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Procedure
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-procedure">SDE Procedure</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-service-request-base
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Service Request Base
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-request-base">SDE Service Request Base</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-service-not-requested
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Service Not Requested
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-not-requested">SDE Service Not Requested</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-service-request
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Service Request
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-request">SDE Service Request</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-minimal-patient
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Minimal Patient
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-minimal-patient">SDE Minimal Patient</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Supplemental Data Element</th>
<td class="content-container">
<em>ID</em>: sde-specimens
<br/>
<em>Usage Code</em>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}">Supplemental Data</span>
<br/>
<em>Description</em>: SDE Specimens
<br/>
<em>Logic Definition</em>: <a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-sde-specimens">SDE Specimens</a>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Logic</th>
</tr>
<tr>
<th scope="row" class="row-header">Primary Library</th>
<td class="content-container"><a href="Library-NHSNAcuteCareHospitalMonthlyInitialPopulation1.html">NHSNAcuteCareHospitalMonthlyInitialPopulation1</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Contents</th>
<td class="content-container">
<em><a href="#population-criteria">Population Criteria</a></em>
<br/>
<em><a href="#definitions">Logic Definitions</a></em>
<br/>
<em><a href="#terminology">Terminology</a></em>
<br/>
<em><a href="#dependencies">Dependencies</a></em>
<br/>
<em><a href="#data-requirements">Data Requirements</a></em>
<br/>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header"><a name="population-criteria"> </a>Population Criteria</th>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Group (Rate) (ID: Group_1)</th>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Initial Population
</th>
</tr>
<tr>
<td>
<a name="Group_1-InitialPopulation_1"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations"</code></pre>
<a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-initial-population"><em>Definition</em></a>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Initial Population
</th>
</tr>
<tr>
<td>
<a name="Group_1-InitialPopulation_1"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations"</code></pre>
<a href="#nhsnacutecarehospitalmonthlyinitialpopulation1-initial-population"><em>Definition</em></a>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header"><a name="definitions"> </a>Logic Definitions</th>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> CQMCommon</td>
</tr>
<tr>
<td>
<a name="cqmcommon-getlocation"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns the Location resource specified by the given reference.
*/
define fluent function getLocation(reference Reference):
singleton from (
[Location] L where reference.references(L)
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<a name="fhirhelpers-tointerval"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)
value to a CQL DateTime Interval
@comment: If the start value of the given period is unspecified, the starting
boundary of the resulting interval will be open (meaning the start of the interval
is unknown, as opposed to interpreted as the beginning of time).
*/
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]</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<a name="fhirhelpers-toconcept"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.
*/
define function ToConcept(concept FHIR.CodeableConcept):
if concept is null then
null
else
System.Concept {
codes: concept.coding C return ToCode(C),
display: concept.text.value
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<a name="fhirhelpers-tocode"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.
*/
define function ToCode(coding FHIR.Coding):
if coding is null then
null
else
System.Code {
code: coding.code.value,
system: coding.system.value,
version: coding.version.value,
display: coding.display.value
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<a name="fhirhelpers-tostring"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value uri): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-encounters-with-nhsn-inpatient-class"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ----------------------------------------------------------------------
// Core encounter logic
// ----------------------------------------------------------------------
// Encounters with NHSN class codes (IMP, ACUTE, NONAC, SS)
define "Encounters with NHSN Inpatient Class":
[Encounter] Enc
where Enc.class ~ QICoreCommon."inpatient encounter"
or Enc.class ~ QICoreCommon."inpatient acute"
or Enc.class ~ QICoreCommon."inpatient non-acute"
or Enc.class ~ QICoreCommon."short stay"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-qualifying-encounters-during-measurement-period"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Qualifying Encounters During Measurement Period":
( [Encounter: "Encounter Inpatient"]
union [Encounter: "Emergency Department Visit"]
union [Encounter: "Observation Services"]
union "Encounters with NHSN Inpatient Class"
union [Encounter: class ~ "emergency"]
union [Encounter: class ~ "observation encounter"] ) QualifyingEncounters
where QualifyingEncounters.status in { 'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error' }
and QualifyingEncounters.period overlaps "Measurement Period"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-encounters"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Encounters":
[Encounter]</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-encounters-with-patient-hospital-locations"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Encounters with Patient Hospital Locations":
"Encounters" Ens
where exists ( Ens.location EncounterLocation
where EncounterLocation.period overlaps Ens.period
and EncounterLocation.location.getLocation ( ).type in "Inpatient, Emergency, and Observation Locations"
)
and Ens.status in { 'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error' }
and Ens.period overlaps "Measurement Period"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-initial-population"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-coverage"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Coverage SDE – tuples of Coverage data
define "SDE Coverage":
[Coverage] Coverages
where exists ( "Initial Population" IP
where Coverages.period overlaps IP.period
)
return {
id: Coverages.id,
meta: Coverages.meta,
status: Coverages.status,
type: Coverages.type,
policyHolder: Coverages.policyHolder,
subscriber: Coverages.subscriber,
subscriberId: Coverages.subscriberId,
beneficiary: Coverages.beneficiary,
dependent: Coverages.dependent,
relationship: Coverages.relationship,
period: Coverages.period,
payor: Coverages.payor,
class: Coverages.class,
order: Coverages.order,
network: Coverages.network,
subrogation: Coverages.subrogation,
contract: Coverages.contract
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-encounter"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Encounter SDEs
define "SDE Encounter":
"Encounters" Ens
where not "CheckIP"(Ens)
and exists ( "Initial Population" IP
where Ens.period overlaps IP.period
)
return {
id: Ens.id,
meta: Ens.meta,
identifier: Ens.identifier,
status: Ens.status,
statusHistory: Ens.statusHistory,
class: Ens.class,
classHistory: Ens.classHistory,
type: Ens.type,
serviceType: Ens.serviceType,
priority: Ens.priority,
subject: Ens.subject,
period: Ens.period,
length: Ens.length,
reasonCode: Ens.reasonCode,
reasonReference: Ens.reasonReference,
diagnosis: Ens.diagnosis,
account: Ens.account,
hospitalization: Ens.hospitalization,
location: Ens.location,
partOf: Ens.partOf
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-procedure"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Procedure SDE
define "SDE Procedure":
[Procedure] Procedures
where exists ( "Initial Population" IP
where "Normalize Interval"(Procedures.performed) overlaps IP.period
)
return {
id: Procedures.id,
meta: Procedures.meta,
extension: Procedures.extension,
basedOn: Procedures.basedOn,
partOf: Procedures.partOf,
status: Procedures.status,
category: Procedures.category,
code: Procedures.code,
subject: Procedures.subject,
encounter: Procedures.encounter,
performed: Procedures.performed,
location: Procedures.location,
reasonCode: Procedures.reasonCode,
reasonReference: Procedures.reasonReference,
bodySite: Procedures.bodySite
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-device"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Device SDE – tuples of Device data
define "SDE Device":
[Device] Devices
where exists ( "Initial Population" )
return {
id: Devices.id,
meta: Devices.meta,
extension: Devices.extension,
status: Devices.status,
expirationDate: Devices.expirationDate,
lotNumber: Devices.lotNumber,
serialNumber: Devices.serialNumber,
modelNumber: Devices.modelNumber,
partNumber: Devices.partNumber,
type: Devices.type,
patient: Devices.patient,
parent: Devices.parent
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-vital-signs-category"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Observation Vital Signs Category":
[USCoreVitalSignsProfile] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-others"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE DiagnosticReport Others":
[DiagnosticReportNote] dr
where not ( exists ( dr.category Category
where Category ~ "Radiology"
)
or exists ( dr.category Category
where Category ~ "Pathology"
)
or exists ( dr.category Category
where Category ~ "Cardiology"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)
return {
id: dr.id,
meta: dr.meta,
extension: dr.extension,
basedOn: dr.basedOn,
status: dr.status,
category: dr.category,
code: dr.code,
subject: dr.subject,
encounter: dr.encounter,
effective: dr.effective,
issued: dr.issued,
specimen: dr.specimen,
result: dr.result,
conclusion: dr.conclusion,
conclusionCode: dr.conclusionCode
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-specimens"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Specimens":
[USCoreSpecimenProfile] sp
where exists ( "Initial Population" IP
where "Normalize Interval"(sp.collection.collected) overlaps IP.period
)
return {
id: sp.id,
type: sp.type
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-not-done"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Medication Administration Not Done":
[MedicationAdministrationNotDone] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-not-requested"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// SDE Medication Not Requested - negation requests (doNotPerform is true)
define "SDE Medication Not Requested":
[MedicationNotRequested] MedNotRequests
where exists ( "Initial Population" IP
where MedNotRequests.authoredOn during IP.period
)
return {
id: MedNotRequests.id,
meta: MedNotRequests.meta,
status: MedNotRequests.status,
statusReason: MedNotRequests.statusReason,
intent: MedNotRequests.intent,
category: MedNotRequests.category,
priority: MedNotRequests.priority,
doNotPerform: MedNotRequests.doNotPerform,
reported: MedNotRequests.reported,
medication: MedNotRequests.medication,
subject: MedNotRequests.subject,
encounter: MedNotRequests.encounter,
authoredOn: MedNotRequests.authoredOn,
requester: MedNotRequests.requester,
recorder: MedNotRequests.recorder,
reasonCode: MedNotRequests.reasonCode,
reasonReference: MedNotRequests.reasonReference,
instantiatesCanonical: MedNotRequests.instantiatesCanonical,
instantiatesUri: MedNotRequests.instantiatesUri,
courseOfTherapyType: MedNotRequests.courseOfTherapyType,
dosageInstruction: MedNotRequests.dosageInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-initial-population"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-request-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ServiceRequest SDE - regular requests (doNotPerform is false or absent)
define "SDE Service Request Base":
[ServiceRequest] ServiceRequests
where exists ( "Initial Population" IP
where ServiceRequests.authoredOn during IP.period
)
return {
id: ServiceRequests.id,
meta: ServiceRequests.meta,
instantiatesCanonical: ServiceRequests.instantiatesCanonical,
instantiatesUri: ServiceRequests.instantiatesUri,
basedOn: ServiceRequests.basedOn,
replaces: ServiceRequests.replaces,
requisition: ServiceRequests.requisition,
status: ServiceRequests.status,
intent: ServiceRequests.intent,
category: ServiceRequests.category,
priority: ServiceRequests.priority,
//doNotPerform: ServiceRequests.doNotPerform,
code: ServiceRequests.code,
orderDetail: ServiceRequests.orderDetail,
quantity: ServiceRequests.quantity,
subject: ServiceRequests.subject,
encounter: ServiceRequests.encounter,
occurrence: ServiceRequests.occurrence,
asNeeded: ServiceRequests.asNeeded,
authoredOn: ServiceRequests.authoredOn,
requester: ServiceRequests.requester,
performerType: ServiceRequests.performerType,
performer: ServiceRequests.performer,
locationCode: ServiceRequests.locationCode,
reasonCode: ServiceRequests.reasonCode,
reasonReference: ServiceRequests.reasonReference,
insurance: ServiceRequests.insurance,
bodySite: ServiceRequests.bodySite,
note: ServiceRequests.note,
patientInstruction: ServiceRequests.patientInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-not-requested"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ServiceNotRequested SDE - negation requests (doNotPerform is true)
define "SDE Service Not Requested":
[ServiceNotRequested] ServiceNotReqs
where exists ( "Initial Population" IP
where ServiceNotReqs.authoredOn during IP.period
)
return {
id: ServiceNotReqs.id,
meta: ServiceNotReqs.meta,
instantiatesCanonical: ServiceNotReqs.instantiatesCanonical,
instantiatesUri: ServiceNotReqs.instantiatesUri,
basedOn: ServiceNotReqs.basedOn,
replaces: ServiceNotReqs.replaces,
requisition: ServiceNotReqs.requisition,
status: ServiceNotReqs.status,
intent: ServiceNotReqs.intent,
category: ServiceNotReqs.category,
priority: ServiceNotReqs.priority,
doNotPerform: ServiceNotReqs.doNotPerform,
code: ServiceNotReqs.code,
orderDetail: ServiceNotReqs.orderDetail,
quantity: ServiceNotReqs.quantity,
subject: ServiceNotReqs.subject,
encounter: ServiceNotReqs.encounter,
occurrence: ServiceNotReqs.occurrence,
asNeeded: ServiceNotReqs.asNeeded,
authoredOn: ServiceNotReqs.authoredOn,
requester: ServiceNotReqs.requester,
performerType: ServiceNotReqs.performerType,
performer: ServiceNotReqs.performer,
locationCode: ServiceNotReqs.locationCode,
reasonCode: ServiceNotReqs.reasonCode,
reasonReference: ServiceNotReqs.reasonReference,
insurance: ServiceNotReqs.insurance,
bodySite: ServiceNotReqs.bodySite,
note: ServiceNotReqs.note,
patientInstruction: ServiceNotReqs.patientInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-request"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Combined SDE for all Service Requests (both regular and negation)
define "SDE Service Request":
"SDE Service Request Base"
union "SDE Service Not Requested"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-survey"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Survey is fixed category code in ObservationScreeningAssessment profile in QI-Core
define "SDE Observation Survey":
[ObservationScreeningAssessment] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-minimal-patient"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Minimal patient SDE
define "SDE Minimal Patient":
[Patient] MinPt
where exists ( "Initial Population" )
return {
id: MinPt.id,
meta: MinPt.meta,
extension: MinPt.extension,
identifier: MinPt.identifier,
active: MinPt.active,
name: MinPt.name,
telecom: MinPt.telecom,
gender: MinPt.gender,
birthDate: MinPt.birthDate,
deceased: MinPt.deceased,
address: MinPt.address,
maritalStatus: MinPt.maritalStatus,
multipleBirth: MinPt.multipleBirth,
photo: MinPt.photo,
contact: MinPt.contact,
communication: MinPt.communication,
generalPractitioner: MinPt.generalPractitioner,
managingOrganization: MinPt.managingOrganization,
link: MinPt.link
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Medication":
( [MedicationRequest]
union [MedicationAdministration] ) MedReqOrAdmin
let medication: GetMedication(MedReqOrAdmin.medication as Reference)
where medication is not null
and exists ( "Initial Population" IP
where Coalesce("Normalize Interval"(MedReqOrAdmin.effective), MedReqOrAdmin.authoredOn.toInterval()) overlaps IP.period
)
return {
id: medication.id,
meta: medication.meta,
code: medication.code,
status: medication.status,
manufacturer: medication.manufacturer,
form: medication.form,
amount: medication.amount,
ingredient: medication.ingredient,
batch: medication.batch
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-request-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// SDE Medication Request - regular requests (doNotPerform is false or absent)
define "SDE Medication Request Base":
[MedicationRequest] MedRequests
where exists ( "Initial Population" IP
where MedRequests.authoredOn during IP.period
)
return {
id: MedRequests.id,
meta: MedRequests.meta,
status: MedRequests.status,
statusReason: MedRequests.statusReason,
intent: MedRequests.intent,
category: MedRequests.category,
priority: MedRequests.priority,
//doNotPerform: MedRequests.doNotPerform,
reported: MedRequests.reported,
medication: MedRequests.medication,
subject: MedRequests.subject,
encounter: MedRequests.encounter,
authoredOn: MedRequests.authoredOn,
requester: MedRequests.requester,
recorder: MedRequests.recorder,
reasonCode: MedRequests.reasonCode,
reasonReference: MedRequests.reasonReference,
instantiatesCanonical: MedRequests.instantiatesCanonical,
instantiatesUri: MedRequests.instantiatesUri,
courseOfTherapyType: MedRequests.courseOfTherapyType,
dosageInstruction: MedRequests.dosageInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-not-requested"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// SDE Medication Not Requested - negation requests (doNotPerform is true)
define "SDE Medication Not Requested":
[MedicationNotRequested] MedNotRequests
where exists ( "Initial Population" IP
where MedNotRequests.authoredOn during IP.period
)
return {
id: MedNotRequests.id,
meta: MedNotRequests.meta,
status: MedNotRequests.status,
statusReason: MedNotRequests.statusReason,
intent: MedNotRequests.intent,
category: MedNotRequests.category,
priority: MedNotRequests.priority,
doNotPerform: MedNotRequests.doNotPerform,
reported: MedNotRequests.reported,
medication: MedNotRequests.medication,
subject: MedNotRequests.subject,
encounter: MedNotRequests.encounter,
authoredOn: MedNotRequests.authoredOn,
requester: MedNotRequests.requester,
recorder: MedNotRequests.recorder,
reasonCode: MedNotRequests.reasonCode,
reasonReference: MedNotRequests.reasonReference,
instantiatesCanonical: MedNotRequests.instantiatesCanonical,
instantiatesUri: MedNotRequests.instantiatesUri,
courseOfTherapyType: MedNotRequests.courseOfTherapyType,
dosageInstruction: MedNotRequests.dosageInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-request"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Combined SDE for all Medication Requests (both regular and negation)
define "SDE Medication Request":
"SDE Medication Request Base"
union "SDE Medication Not Requested"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-ip-encounters"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE IP Encounters":
"Initial Population" IP
return {
id: IP.id,
meta: IP.meta,
identifier: IP.identifier,
status: IP.status,
statusHistory: IP.statusHistory,
class: IP.class,
classHistory: IP.classHistory,
type: IP.type,
serviceType: IP.serviceType,
priority: IP.priority,
subject: IP.subject,
period: IP.period,
length: IP.length,
reasonCode: IP.reasonCode,
reasonReference: IP.reasonReference,
diagnosis: IP.diagnosis,
account: IP.account,
hospitalization: IP.hospitalization,
location: IP.location,
partOf: IP.partOf
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-simple"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Observation Simple":
[SimpleObservation] Obs
where ( exists ( Obs.category Category
where Category ~ "social-history"
)
or exists ( Obs.category Category
where Category ~ "imaging"
)
or exists ( Obs.category Category
where Category ~ "procedure"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-observation-lab-category"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Observation SDEs
define "SDE Observation Lab Category":
[LaboratoryResultObservation] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-not-requested"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ServiceNotRequested SDE - negation requests (doNotPerform is true)
define "SDE Service Not Requested":
[ServiceNotRequested] ServiceNotReqs
where exists ( "Initial Population" IP
where ServiceNotReqs.authoredOn during IP.period
)
return {
id: ServiceNotReqs.id,
meta: ServiceNotReqs.meta,
instantiatesCanonical: ServiceNotReqs.instantiatesCanonical,
instantiatesUri: ServiceNotReqs.instantiatesUri,
basedOn: ServiceNotReqs.basedOn,
replaces: ServiceNotReqs.replaces,
requisition: ServiceNotReqs.requisition,
status: ServiceNotReqs.status,
intent: ServiceNotReqs.intent,
category: ServiceNotReqs.category,
priority: ServiceNotReqs.priority,
doNotPerform: ServiceNotReqs.doNotPerform,
code: ServiceNotReqs.code,
orderDetail: ServiceNotReqs.orderDetail,
quantity: ServiceNotReqs.quantity,
subject: ServiceNotReqs.subject,
encounter: ServiceNotReqs.encounter,
occurrence: ServiceNotReqs.occurrence,
asNeeded: ServiceNotReqs.asNeeded,
authoredOn: ServiceNotReqs.authoredOn,
requester: ServiceNotReqs.requester,
performerType: ServiceNotReqs.performerType,
performer: ServiceNotReqs.performer,
locationCode: ServiceNotReqs.locationCode,
reasonCode: ServiceNotReqs.reasonCode,
reasonReference: ServiceNotReqs.reasonReference,
insurance: ServiceNotReqs.insurance,
bodySite: ServiceNotReqs.bodySite,
note: ServiceNotReqs.note,
patientInstruction: ServiceNotReqs.patientInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Medication Administration Base":
[MedicationAdministration] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-not-done"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Medication Administration Not Done":
[MedicationAdministrationNotDone] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Medication SDEs
define "SDE Medication Administration":
"SDE Medication Administration Base"
union "SDE Medication Administration Not Done"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-administration-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Medication Administration Base":
[MedicationAdministration] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-lab"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// DiagnosticReport SDEs
define "SDE DiagnosticReport Lab":
[DiagnosticReportLab] dr
where exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-get-locations-from-ip-encounters-in-measurement-period"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ----------------------------------------------------------------------
// Core retrieves
// ----------------------------------------------------------------------
// Locations from IP encounters
define "Get Locations from IP Encounters in Measurement Period":
flatten ( "Initial Population" IP
let locationElements: IP.location
return locationElements LE
let locationReference: LE.location
return locationReference.getLocation ( )
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-location"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Location SDE
define "SDE Location":
"Get Locations from IP Encounters in Measurement Period" Locations
where exists ( "Initial Population" )
and Locations is not null
return {
id: Locations.id,
meta: Locations.meta,
extension: Locations.extension,
status: Locations.status,
operationalStatus: Locations.operationalStatus,
name: Locations.name,
alias: Locations.alias,
description: Locations.description,
mode: Locations.mode,
type: Locations.type,
telecom: Locations.telecom,
address: Locations.address,
physicalType: Locations.physicalType,
position: Locations.position,
managingOrganization: Locations.managingOrganization,
partOf: Locations.partOf,
hoursOfOperation: Locations.hoursOfOperation,
availabilityExceptions: Locations.availabilityExceptions,
endpoint: Locations.endpoint
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-diagnosticreport-note"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE DiagnosticReport Note":
[DiagnosticReportNote] dr
where ( exists ( dr.category Category
where Category ~ "Radiology"
)
or exists ( dr.category Category
where Category ~ "Pathology"
)
or exists ( dr.category Category
where Category ~ "Cardiology"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)
return {
id: dr.id,
meta: dr.meta,
extension: dr.extension,
basedOn: dr.basedOn,
status: dr.status,
category: dr.category,
code: dr.code,
subject: dr.subject,
encounter: dr.encounter,
effective: dr.effective,
issued: dr.issued,
specimen: dr.specimen,
result: dr.result,
conclusion: dr.conclusion,
conclusionCode: dr.conclusionCode
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-medication-request-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// SDE Medication Request - regular requests (doNotPerform is false or absent)
define "SDE Medication Request Base":
[MedicationRequest] MedRequests
where exists ( "Initial Population" IP
where MedRequests.authoredOn during IP.period
)
return {
id: MedRequests.id,
meta: MedRequests.meta,
status: MedRequests.status,
statusReason: MedRequests.statusReason,
intent: MedRequests.intent,
category: MedRequests.category,
priority: MedRequests.priority,
//doNotPerform: MedRequests.doNotPerform,
reported: MedRequests.reported,
medication: MedRequests.medication,
subject: MedRequests.subject,
encounter: MedRequests.encounter,
authoredOn: MedRequests.authoredOn,
requester: MedRequests.requester,
recorder: MedRequests.recorder,
reasonCode: MedRequests.reasonCode,
reasonReference: MedRequests.reasonReference,
instantiatesCanonical: MedRequests.instantiatesCanonical,
instantiatesUri: MedRequests.instantiatesUri,
courseOfTherapyType: MedRequests.courseOfTherapyType,
dosageInstruction: MedRequests.dosageInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-condition-problems-healthconcerns"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ----------------------------------------------------------------------
// SDEs
// ----------------------------------------------------------------------
define "SDE Condition Problems HealthConcerns":
[ConditionProblemsHealthConcerns] Diagnosis
where exists ( "Initial Population" IP
where Diagnosis.prevalenceInterval ( ) overlaps day of IP.period
)
return {
id: Diagnosis.id,
meta: Diagnosis.meta,
status: Diagnosis.clinicalStatus,
verificationStatus: Diagnosis.verificationStatus,
category: Diagnosis.category,
severity: Diagnosis.severity,
code: Diagnosis.code,
bodySite: Diagnosis.bodySite,
subject: Diagnosis.subject,
encounterReferenceId: Diagnosis.encounter.reference.getId ( ),
onset: Diagnosis.onset,
stage: Diagnosis.stage,
evidence: Diagnosis.evidence,
note: Diagnosis.note
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-condition-diagnosis"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "SDE Condition Diagnosis":
[ConditionEncounterDiagnosis] Diagnosis
where exists ( "Initial Population" IP
where Diagnosis.prevalenceInterval ( ) overlaps day of IP.period
)
return {
id: Diagnosis.id,
meta: Diagnosis.meta,
status: Diagnosis.clinicalStatus,
verificationStatus: Diagnosis.verificationStatus,
category: Diagnosis.category,
severity: Diagnosis.severity,
code: Diagnosis.code,
bodySite: Diagnosis.bodySite,
subject: Diagnosis.subject,
encounterReferenceId: Diagnosis.encounter.reference.getId ( ),
onset: Diagnosis.onset,
stage: Diagnosis.stage,
evidence: Diagnosis.evidence,
note: Diagnosis.note
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-sde-service-request-base"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ServiceRequest SDE - regular requests (doNotPerform is false or absent)
define "SDE Service Request Base":
[ServiceRequest] ServiceRequests
where exists ( "Initial Population" IP
where ServiceRequests.authoredOn during IP.period
)
return {
id: ServiceRequests.id,
meta: ServiceRequests.meta,
instantiatesCanonical: ServiceRequests.instantiatesCanonical,
instantiatesUri: ServiceRequests.instantiatesUri,
basedOn: ServiceRequests.basedOn,
replaces: ServiceRequests.replaces,
requisition: ServiceRequests.requisition,
status: ServiceRequests.status,
intent: ServiceRequests.intent,
category: ServiceRequests.category,
priority: ServiceRequests.priority,
//doNotPerform: ServiceRequests.doNotPerform,
code: ServiceRequests.code,
orderDetail: ServiceRequests.orderDetail,
quantity: ServiceRequests.quantity,
subject: ServiceRequests.subject,
encounter: ServiceRequests.encounter,
occurrence: ServiceRequests.occurrence,
asNeeded: ServiceRequests.asNeeded,
authoredOn: ServiceRequests.authoredOn,
requester: ServiceRequests.requester,
performerType: ServiceRequests.performerType,
performer: ServiceRequests.performer,
locationCode: ServiceRequests.locationCode,
reasonCode: ServiceRequests.reasonCode,
reasonReference: ServiceRequests.reasonReference,
insurance: ServiceRequests.insurance,
bodySite: ServiceRequests.bodySite,
note: ServiceRequests.note,
patientInstruction: ServiceRequests.patientInstruction
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-checkip"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// ----------------------------------------------------------------------
// Helper functions
// ----------------------------------------------------------------------
define function "CheckIP"(encounter Encounter):
exists ( "Initial Population" IP
where encounter.id = IP.id
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-normalize-interval"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">// Former NHSNHelpers functions, adapted for QI Core
define function "Normalize Interval"(choice Choice<DateTime, Interval<DateTime>>):
case
when choice is DateTime then Interval[choice as DateTime, choice as DateTime]
when choice is Interval<DateTime>then choice as Interval<DateTime>
else null as Interval<DateTime>end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> NHSNAcuteCareHospitalMonthlyInitialPopulation1</td>
</tr>
<tr>
<td>
<a name="nhsnacutecarehospitalmonthlyinitialpopulation1-getmedication"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function "GetMedication"(reference Reference):
singleton from ( [Medication] Medication
where reference.references ( Medication )
)</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> QICoreCommon</td>
</tr>
<tr>
<td>
<a name="qicorecommon-references"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns true if the given reference is to the given resource
@comment: Returns true if the `id` element of the given resource exactly equals the tail of the given reference.
NOTE: This function assumes resources from the same source server.
*/
define fluent function references(reference Reference, resource Resource):
resource.id = Last(Split(reference.reference, '/'))</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> QICoreCommon</td>
</tr>
<tr>
<td>
<a name="qicorecommon-tointerval"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval
@comment: Normalizes a choice type of DateTime, Quanitty, Interval<DateTime>, or Interval<Quantity> types
to an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible
representations for timing-valued elements in QICore, allowing this function to be used across any resource.
The input can be provided as a DateTime, Quantity, Interval<DateTime> or Interval<Quantity>.
The intent of this function is to provide a clear and concise mechanism to treat single
elements that have multiple possible representations as intervals so that logic doesn't have to account
for the variability. More complex calculations (such as medication request period or dispense period
calculation) need specific guidance and consideration. That guidance may make use of this function, but
the focus of this function is on single element calculations where the semantics are unambiguous.
If the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.
If the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,
and the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.
If the input is a DateTime Interval, the result is the input.
If the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result
is a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending
immediately before one year later than the date the patient turned the age given as the end of the quantity interval.
If the input is a Timing, an error will be thrown indicating that Timing calculations are not implemented. Any other input will reslt in a null DateTime Interval
*/
define fluent function toInterval(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>, Timing>):
case
when choice is DateTime then
Interval[choice as DateTime, choice as DateTime]
when choice is Interval<DateTime> then
choice as Interval<DateTime>
when choice is Quantity then
Interval[Patient.birthDate + (choice as Quantity),
Patient.birthDate + (choice as Quantity) + 1 year)
when choice is Interval<Quantity> then
Interval[Patient.birthDate + (choice.low as Quantity),
Patient.birthDate + (choice.high as Quantity) + 1 year)
when choice is Timing then
Message(null, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported') as Interval<DateTime>
else
null as Interval<DateTime>
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> QICoreCommon</td>
</tr>
<tr>
<td>
<a name="qicorecommon-prevalenceinterval"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns an interval representing the normalized prevalence period of a given Condition.
@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from
onset to abatement as specified in the given Condition. If the condition is active, or has an abatement date the resulting
interval will have a closed ending boundary. Otherwise, the resulting interval will have an open ending boundary.
*/
define fluent function prevalenceInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
if condition.clinicalStatus ~ "active"
or condition.clinicalStatus ~ "recurrence"
or condition.clinicalStatus ~ "relapse" then
Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]
else
(end of condition.abatementInterval()) abatementDate
return if abatementDate is null then
Interval[start of condition.onset.toInterval(), abatementDate)
else
Interval[start of condition.onset.toInterval(), abatementDate]</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> QICoreCommon</td>
</tr>
<tr>
<td>
<a name="qicorecommon-abatementinterval"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns an interval representing the normalized abatement of a given Condition.
@comment: If the abatement element of the Condition is represented as a DateTime, the result
is an interval beginning and ending on that DateTime.
If the abatement is represented as a Quantity, the quantity is expected to be a calendar-duration and is interpreted as the age of the patient. The
result is an interval from the date the patient turned that age to immediately before one year later.
If the abatement is represented as a Quantity Interval, the quantities are expected to be calendar-durations and are interpreted as an age range during
which the abatement occurred. The result is an interval from the date the patient turned the starting age of the quantity interval, and ending immediately
before one year later than the date the patient turned the ending age of the quantity interval.
*/
define fluent function abatementInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
if condition.abatement is DateTime then
Interval[condition.abatement as DateTime, condition.abatement as DateTime]
else if condition.abatement is Quantity then
Interval[Patient.birthDate + (condition.abatement as Quantity),
Patient.birthDate + (condition.abatement as Quantity) + 1 year)
else if condition.abatement is Interval<Quantity> then
Interval[Patient.birthDate + (condition.abatement.low as Quantity),
Patient.birthDate + (condition.abatement.high as Quantity) + 1 year)
else if condition.abatement is Interval<DateTime> then
Interval[condition.abatement.low, condition.abatement.high)
else null as Interval<DateTime></code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> QICoreCommon</td>
</tr>
<tr>
<td>
<a name="qicorecommon-getid"> </a>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@description: Returns the tail of the given uri (i.e. everything after the last slash in the URI).
@comment: This function can be used to determine the logical id of a given resource. It can be used in
a single-server environment to trace references. However, this function does not attempt to resolve
or distinguish the base of the given url, and so cannot be used safely in multi-server environments.
*/
define fluent function getId(uri String):
Last(Split(uri, '/'))</code></pre>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header"><a name="terminology"> </a>Terminology</th>
</tr>
<tr>
<th scope="row" class="row-header">Code System</th>
<td class="content-container">
<em>Description</em>: Code system ActCode
<br/>
<em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html">ActCode</a>
<br/>
<em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Code System</th>
<td class="content-container">
<em>Description</em>: Code system ActCode
<br/>
<em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html">ActCode</a>
<br/>
<em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Code System</th>
<td class="content-container">
<em>Description</em>: Code system LOINC
<br/>
<em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-loinc.html">Logical Observation Identifiers, Names and Codes (LOINC)</a>
<br/>
<em>Canonical URL</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Code System</th>
<td class="content-container">
<em>Description</em>: Code system Observation Category
<br/>
<em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-observation-category.html">Observation Category Codes</a>
<br/>
<em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Code System</th>
<td class="content-container">
<em>Description</em>: Code system ConditionClinicalStatusCodes
<br/>
<em>Resource</em>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>
<br/>
<em>Canonical URL</em>: <tt>http://terminology.hl7.org/CodeSystem/condition-clinical</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Value Set</th>
<td class="content-container">
<em>Description</em>: Value set Encounter Inpatient
<br/>
<em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</code>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Value Set</th>
<td class="content-container">
<em>Description</em>: Value set Emergency Department Visit
<br/>
<em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</code>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.292</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Value Set</th>
<td class="content-container">
<em>Description</em>: Value set Observation Services
<br/>
<em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</code>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1111.143</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Value Set</th>
<td class="content-container">
<em>Description</em>: Value set Inpatient, Emergency, and Observation Locations
<br/>
<em>Resource</em>: <code>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265</code>
<br/>
<em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1046.265</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: inpatient encounter
<br/>
<em>Code</em>: IMP
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: inpatient acute
<br/>
<em>Code</em>: ACUTE
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: inpatient non-acute
<br/>
<em>Code</em>: NONAC
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: short stay
<br/>
<em>Code</em>: SS
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: emergency
<br/>
<em>Code</em>: EMER
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: observation encounter
<br/>
<em>Code</em>: OBSENC
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/v3-ActCode</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Radiology
<br/>
<em>Code</em>: LP29684-5
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Pathology
<br/>
<em>Code</em>: LP7839-6
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Cardiology
<br/>
<em>Code</em>: LP29708-2
<br/>
<em>System</em>: <tt>http://loinc.org</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Social History
<br/>
<em>Code</em>: social-history
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Imaging
<br/>
<em>Code</em>: imaging
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Procedure
<br/>
<em>Code</em>: procedure
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/observation-category</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Active
<br/>
<em>Code</em>: active
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/condition-clinical</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Recurrence
<br/>
<em>Code</em>: recurrence
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/condition-clinical</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Relapse
<br/>
<em>Code</em>: relapse
<br/>
<em>System</em>: <tt>http://terminology.hl7.org/CodeSystem/condition-clinical</tt>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header"><a name="dependencies"> </a>Dependencies</th>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">None</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header"><a name="data-requirements"> </a>Data Requirements</th>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Resource
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/resource.html">Resource</a>
<br/>
<em>Must Support Elements</em>: id
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Resource
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/resource.html">Resource</a>
<br/>
<em>Must Support Elements</em>: id.value
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Location
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Coverage
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage</code>
<br/>
<em>Must Support Elements</em>: period, id, id.value, meta, status, status.value, type, policyHolder, subscriber, subscriberId, subscriberId.value, beneficiary, dependent, dependent.value, relationship, payor, class, order, order.value, network, network.value, subrogation, subrogation.value, contract
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
<br/>
<em>Must Support Elements</em>: location, period, status, status.value
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
<br/>
<em>Must Support Elements</em>: id
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
<br/>
<em>Must Support Elements</em>: id.value
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Encounter
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter</code>
<br/>
<em>Must Support Elements</em>: period, id, id.value, meta, identifier, status, status.value, statusHistory, class, classHistory, type, serviceType, priority, subject, length, reasonCode, reasonReference, diagnosis, account, hospitalization, location, partOf
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Procedure
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure</code>
<br/>
<em>Must Support Elements</em>: performed, id, id.value, meta, extension, basedOn, partOf, status, status.value, category, code, subject, encounter, location, reasonCode, reasonReference, bodySite
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Device
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device</code>
<br/>
<em>Must Support Elements</em>: id, id.value, meta, extension, status, status.value, expirationDate, expirationDate.value, lotNumber, lotNumber.value, serialNumber, serialNumber.value, modelNumber, modelNumber.value, partNumber, partNumber.value, type, patient, parent
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Observation
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs</code>
<br/>
<em>Must Support Elements</em>: effective, id, id.value, meta, extension, partOf, status, status.value, category, code, subject, encounter, issued, issued.value, value, dataAbsentReason, interpretation, bodySite, method, specimen, referenceRange, hasMember, derivedFrom, component
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Specimen
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen</code>
<br/>
<em>Must Support Elements</em>: collection, collection.collected, id, id.value, type
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Observation
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-screening-assessment</code>
<br/>
<em>Must Support Elements</em>: effective, id, id.value, meta, extension, partOf, status, status.value, category, code, subject, encounter, issued, issued.value, value, dataAbsentReason, interpretation, bodySite, method, specimen, referenceRange, hasMember, derivedFrom, component
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Medication
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Patient
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationRequest
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationAdministration
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration</code>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationRequest
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationnotrequested</code>
<br/>
<em>Must Support Elements</em>: authoredOn, authoredOn.value, id, id.value, meta, status, status.value, statusReason, intent, intent.value, category, priority, priority.value, doNotPerform, doNotPerform.value, reported, medication, medication.extension, subject, encounter, requester, recorder, reasonCode, reasonReference, instantiatesCanonical, instantiatesUri, courseOfTherapyType, dosageInstruction
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Observation
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation</code>
<br/>
<em>Must Support Elements</em>: category, effective, id, id.value, meta, extension, partOf, status, status.value, code, subject, encounter, issued, issued.value, value, dataAbsentReason, interpretation, bodySite, method, specimen, referenceRange, hasMember, derivedFrom, component
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Observation
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab</code>
<br/>
<em>Must Support Elements</em>: effective, id, id.value, meta, extension, partOf, status, status.value, category, code, subject, encounter, issued, issued.value, value, dataAbsentReason, interpretation, bodySite, method, specimen, referenceRange, hasMember, derivedFrom, component
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: ServiceRequest
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested</code>
<br/>
<em>Must Support Elements</em>: authoredOn, authoredOn.value, id, id.value, meta, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, status.value, intent, intent.value, category, priority, priority.value, doNotPerform, doNotPerform.value, code, code.extension, orderDetail, quantity, subject, encounter, occurrence, asNeeded, requester, performerType, performer, locationCode, reasonCode, reasonReference, insurance, bodySite, note, patientInstruction, patientInstruction.value
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationAdministration
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministrationnotdone</code>
<br/>
<em>Must Support Elements</em>: effective, id, id.value, meta, instantiates, partOf, status, status.value, statusReason, category, medication, medication.extension, subject, context, supportingInformation, performer, reasonCode, reasonReference, request, device, note, dosage
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationAdministration
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration</code>
<br/>
<em>Must Support Elements</em>: effective, id, id.value, meta, instantiates, partOf, status, status.value, statusReason, category, medication, subject, context, supportingInformation, performer, reasonCode, reasonReference, request, device, note, dosage
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: DiagnosticReport
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-lab</code>
<br/>
<em>Must Support Elements</em>: effective
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: DiagnosticReport
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note</code>
<br/>
<em>Must Support Elements</em>: category, effective, id, id.value, meta, extension, basedOn, status, status.value, code, subject, encounter, issued, issued.value, specimen, result, conclusion, conclusion.value, conclusionCode
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: MedicationRequest
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest</code>
<br/>
<em>Must Support Elements</em>: authoredOn, authoredOn.value, id, id.value, meta, status, status.value, statusReason, intent, intent.value, category, priority, priority.value, reported, medication, subject, encounter, requester, recorder, reasonCode, reasonReference, instantiatesCanonical, instantiatesUri, courseOfTherapyType, dosageInstruction
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Patient
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
<br/>
<em>Must Support Elements</em>: birthDate
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Patient
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code>
<br/>
<em>Must Support Elements</em>: birthDate.value
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Condition
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns</code>
<br/>
<em>Must Support Elements</em>: id, id.value, meta, clinicalStatus, verificationStatus, category, severity, code, bodySite, subject, encounter, encounter.reference, encounter.reference.value, onset, stage, evidence, note
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Condition
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis</code>
<br/>
<em>Must Support Elements</em>: id, id.value, meta, clinicalStatus, verificationStatus, category, severity, code, bodySite, subject, encounter, encounter.reference, encounter.reference.value, onset, stage, evidence, note
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: ServiceRequest
<br/>
<em>Profile(s)</em>:
<code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest</code>
<br/>
<em>Must Support Elements</em>: authoredOn, authoredOn.value, id, id.value, meta, instantiatesCanonical, instantiatesUri, basedOn, replaces, requisition, status, status.value, intent, intent.value, category, priority, priority.value, code, orderDetail, quantity, subject, encounter, occurrence, asNeeded, requester, performerType, performer, locationCode, reasonCode, reasonReference, insurance, bodySite, note, patientInstruction, patientInstruction.value
<br/>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Generated using version 0.5.0 of the sample-content-ig Liquid templates</th>
</tr>
</tbody>
</table>
</div>
</text>
<contained>
<Library>
<id value="effective-data-requirements"/>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="IMP"/>
<display value="inpatient encounter"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-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/StructureDefinition/cqf-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/StructureDefinition/cqf-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/StructureDefinition/cqf-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/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="OBSENC"/>
<display value="observation encounter"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP29684-5"/>
<display value="Radiology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP7839-6"/>
<display value="Pathology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://loinc.org"/>
<code value="LP29708-2"/>
<display value="Cardiology"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-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/StructureDefinition/cqf-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/StructureDefinition/cqf-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/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
<display value="Active"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="recurrence"/>
<display value="Recurrence"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="relapse"/>
<display value="Relapse"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Encounters with NHSN Inpatient Class"/>
</extension>
<extension url="statement">
<valueString
value="// ----------------------------------------------------------------------
// Core encounter logic
// ----------------------------------------------------------------------
// Encounters with NHSN class codes (IMP, ACUTE, NONAC, SS)
define "Encounters with NHSN Inpatient Class":
[Encounter] Enc
where Enc.class ~ QICoreCommon."inpatient encounter"
or Enc.class ~ QICoreCommon."inpatient acute"
or Enc.class ~ QICoreCommon."inpatient non-acute"
or Enc.class ~ QICoreCommon."short stay""/>
</extension>
<extension url="displaySequence">
<valueInteger value="0"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</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 "Encounters with NHSN Inpatient Class"
union [Encounter: class ~ "emergency"]
union [Encounter: class ~ "observation encounter"] ) 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/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Encounters"/>
</extension>
<extension url="statement">
<valueString value="define "Encounters":
[Encounter]"/>
</extension>
<extension url="displaySequence">
<valueInteger value="2"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Encounters with Patient Hospital Locations"/>
</extension>
<extension url="statement">
<valueString
value="define "Encounters with Patient Hospital Locations":
"Encounters" Ens
where exists ( Ens.location EncounterLocation
where EncounterLocation.period overlaps Ens.period
and EncounterLocation.location.getLocation ( ).type in "Inpatient, Emergency, and Observation Locations"
)
and Ens.status in { 'in-progress', 'finished', 'triaged', 'onleave', 'entered-in-error' }
and Ens.period overlaps "Measurement Period""/>
</extension>
<extension url="displaySequence">
<valueInteger value="3"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations""/>
</extension>
<extension url="displaySequence">
<valueInteger value="4"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Coverage"/>
</extension>
<extension url="statement">
<valueString
value="// Coverage SDE – tuples of Coverage data
define "SDE Coverage":
[Coverage] Coverages
where exists ( "Initial Population" IP
where Coverages.period overlaps IP.period
)
return {
id: Coverages.id,
meta: Coverages.meta,
status: Coverages.status,
type: Coverages.type,
policyHolder: Coverages.policyHolder,
subscriber: Coverages.subscriber,
subscriberId: Coverages.subscriberId,
beneficiary: Coverages.beneficiary,
dependent: Coverages.dependent,
relationship: Coverages.relationship,
period: Coverages.period,
payor: Coverages.payor,
class: Coverages.class,
order: Coverages.order,
network: Coverages.network,
subrogation: Coverages.subrogation,
contract: Coverages.contract
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="5"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Encounter"/>
</extension>
<extension url="statement">
<valueString
value="// Encounter SDEs
define "SDE Encounter":
"Encounters" Ens
where not "CheckIP"(Ens)
and exists ( "Initial Population" IP
where Ens.period overlaps IP.period
)
return {
id: Ens.id,
meta: Ens.meta,
identifier: Ens.identifier,
status: Ens.status,
statusHistory: Ens.statusHistory,
class: Ens.class,
classHistory: Ens.classHistory,
type: Ens.type,
serviceType: Ens.serviceType,
priority: Ens.priority,
subject: Ens.subject,
period: Ens.period,
length: Ens.length,
reasonCode: Ens.reasonCode,
reasonReference: Ens.reasonReference,
diagnosis: Ens.diagnosis,
account: Ens.account,
hospitalization: Ens.hospitalization,
location: Ens.location,
partOf: Ens.partOf
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="6"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Procedure"/>
</extension>
<extension url="statement">
<valueString
value="// Procedure SDE
define "SDE Procedure":
[Procedure] Procedures
where exists ( "Initial Population" IP
where "Normalize Interval"(Procedures.performed) overlaps IP.period
)
return {
id: Procedures.id,
meta: Procedures.meta,
extension: Procedures.extension,
basedOn: Procedures.basedOn,
partOf: Procedures.partOf,
status: Procedures.status,
category: Procedures.category,
code: Procedures.code,
subject: Procedures.subject,
encounter: Procedures.encounter,
performed: Procedures.performed,
location: Procedures.location,
reasonCode: Procedures.reasonCode,
reasonReference: Procedures.reasonReference,
bodySite: Procedures.bodySite
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="7"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Device"/>
</extension>
<extension url="statement">
<valueString
value="// Device SDE – tuples of Device data
define "SDE Device":
[Device] Devices
where exists ( "Initial Population" )
return {
id: Devices.id,
meta: Devices.meta,
extension: Devices.extension,
status: Devices.status,
expirationDate: Devices.expirationDate,
lotNumber: Devices.lotNumber,
serialNumber: Devices.serialNumber,
modelNumber: Devices.modelNumber,
partNumber: Devices.partNumber,
type: Devices.type,
patient: Devices.patient,
parent: Devices.parent
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="8"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Vital Signs Category"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Observation Vital Signs Category":
[USCoreVitalSignsProfile] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="9"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Others"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE DiagnosticReport Others":
[DiagnosticReportNote] dr
where not ( exists ( dr.category Category
where Category ~ "Radiology"
)
or exists ( dr.category Category
where Category ~ "Pathology"
)
or exists ( dr.category Category
where Category ~ "Cardiology"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)
return {
id: dr.id,
meta: dr.meta,
extension: dr.extension,
basedOn: dr.basedOn,
status: dr.status,
category: dr.category,
code: dr.code,
subject: dr.subject,
encounter: dr.encounter,
effective: dr.effective,
issued: dr.issued,
specimen: dr.specimen,
result: dr.result,
conclusion: dr.conclusion,
conclusionCode: dr.conclusionCode
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="10"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Specimens"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Specimens":
[USCoreSpecimenProfile] sp
where exists ( "Initial Population" IP
where "Normalize Interval"(sp.collection.collected) overlaps IP.period
)
return {
id: sp.id,
type: sp.type
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="11"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration Not Done"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Administration Not Done":
[MedicationAdministrationNotDone] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="12"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Not Requested"/>
</extension>
<extension url="statement">
<valueString
value="// SDE Medication Not Requested - negation requests (doNotPerform is true)
define "SDE Medication Not Requested":
[MedicationNotRequested] MedNotRequests
where exists ( "Initial Population" IP
where MedNotRequests.authoredOn during IP.period
)
return {
id: MedNotRequests.id,
meta: MedNotRequests.meta,
status: MedNotRequests.status,
statusReason: MedNotRequests.statusReason,
intent: MedNotRequests.intent,
category: MedNotRequests.category,
priority: MedNotRequests.priority,
doNotPerform: MedNotRequests.doNotPerform,
reported: MedNotRequests.reported,
medication: MedNotRequests.medication,
subject: MedNotRequests.subject,
encounter: MedNotRequests.encounter,
authoredOn: MedNotRequests.authoredOn,
requester: MedNotRequests.requester,
recorder: MedNotRequests.recorder,
reasonCode: MedNotRequests.reasonCode,
reasonReference: MedNotRequests.reasonReference,
instantiatesCanonical: MedNotRequests.instantiatesCanonical,
instantiatesUri: MedNotRequests.instantiatesUri,
courseOfTherapyType: MedNotRequests.courseOfTherapyType,
dosageInstruction: MedNotRequests.dosageInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="13"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="define "Initial Population":
"Qualifying Encounters During Measurement Period"
union "Encounters with Patient Hospital Locations""/>
</extension>
<extension url="displaySequence">
<valueInteger value="14"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Service Request Base"/>
</extension>
<extension url="statement">
<valueString
value="// ServiceRequest SDE - regular requests (doNotPerform is false or absent)
define "SDE Service Request Base":
[ServiceRequest] ServiceRequests
where exists ( "Initial Population" IP
where ServiceRequests.authoredOn during IP.period
)
return {
id: ServiceRequests.id,
meta: ServiceRequests.meta,
instantiatesCanonical: ServiceRequests.instantiatesCanonical,
instantiatesUri: ServiceRequests.instantiatesUri,
basedOn: ServiceRequests.basedOn,
replaces: ServiceRequests.replaces,
requisition: ServiceRequests.requisition,
status: ServiceRequests.status,
intent: ServiceRequests.intent,
category: ServiceRequests.category,
priority: ServiceRequests.priority,
//doNotPerform: ServiceRequests.doNotPerform,
code: ServiceRequests.code,
orderDetail: ServiceRequests.orderDetail,
quantity: ServiceRequests.quantity,
subject: ServiceRequests.subject,
encounter: ServiceRequests.encounter,
occurrence: ServiceRequests.occurrence,
asNeeded: ServiceRequests.asNeeded,
authoredOn: ServiceRequests.authoredOn,
requester: ServiceRequests.requester,
performerType: ServiceRequests.performerType,
performer: ServiceRequests.performer,
locationCode: ServiceRequests.locationCode,
reasonCode: ServiceRequests.reasonCode,
reasonReference: ServiceRequests.reasonReference,
insurance: ServiceRequests.insurance,
bodySite: ServiceRequests.bodySite,
note: ServiceRequests.note,
patientInstruction: ServiceRequests.patientInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="15"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Service Not Requested"/>
</extension>
<extension url="statement">
<valueString
value="// ServiceNotRequested SDE - negation requests (doNotPerform is true)
define "SDE Service Not Requested":
[ServiceNotRequested] ServiceNotReqs
where exists ( "Initial Population" IP
where ServiceNotReqs.authoredOn during IP.period
)
return {
id: ServiceNotReqs.id,
meta: ServiceNotReqs.meta,
instantiatesCanonical: ServiceNotReqs.instantiatesCanonical,
instantiatesUri: ServiceNotReqs.instantiatesUri,
basedOn: ServiceNotReqs.basedOn,
replaces: ServiceNotReqs.replaces,
requisition: ServiceNotReqs.requisition,
status: ServiceNotReqs.status,
intent: ServiceNotReqs.intent,
category: ServiceNotReqs.category,
priority: ServiceNotReqs.priority,
doNotPerform: ServiceNotReqs.doNotPerform,
code: ServiceNotReqs.code,
orderDetail: ServiceNotReqs.orderDetail,
quantity: ServiceNotReqs.quantity,
subject: ServiceNotReqs.subject,
encounter: ServiceNotReqs.encounter,
occurrence: ServiceNotReqs.occurrence,
asNeeded: ServiceNotReqs.asNeeded,
authoredOn: ServiceNotReqs.authoredOn,
requester: ServiceNotReqs.requester,
performerType: ServiceNotReqs.performerType,
performer: ServiceNotReqs.performer,
locationCode: ServiceNotReqs.locationCode,
reasonCode: ServiceNotReqs.reasonCode,
reasonReference: ServiceNotReqs.reasonReference,
insurance: ServiceNotReqs.insurance,
bodySite: ServiceNotReqs.bodySite,
note: ServiceNotReqs.note,
patientInstruction: ServiceNotReqs.patientInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="16"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Service Request"/>
</extension>
<extension url="statement">
<valueString
value="// Combined SDE for all Service Requests (both regular and negation)
define "SDE Service Request":
"SDE Service Request Base"
union "SDE Service Not Requested""/>
</extension>
<extension url="displaySequence">
<valueInteger value="17"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Survey"/>
</extension>
<extension url="statement">
<valueString
value="// Survey is fixed category code in ObservationScreeningAssessment profile in QI-Core
define "SDE Observation Survey":
[ObservationScreeningAssessment] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="18"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Minimal Patient"/>
</extension>
<extension url="statement">
<valueString
value="// Minimal patient SDE
define "SDE Minimal Patient":
[Patient] MinPt
where exists ( "Initial Population" )
return {
id: MinPt.id,
meta: MinPt.meta,
extension: MinPt.extension,
identifier: MinPt.identifier,
active: MinPt.active,
name: MinPt.name,
telecom: MinPt.telecom,
gender: MinPt.gender,
birthDate: MinPt.birthDate,
deceased: MinPt.deceased,
address: MinPt.address,
maritalStatus: MinPt.maritalStatus,
multipleBirth: MinPt.multipleBirth,
photo: MinPt.photo,
contact: MinPt.contact,
communication: MinPt.communication,
generalPractitioner: MinPt.generalPractitioner,
managingOrganization: MinPt.managingOrganization,
link: MinPt.link
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="19"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication":
( [MedicationRequest]
union [MedicationAdministration] ) MedReqOrAdmin
let medication: GetMedication(MedReqOrAdmin.medication as Reference)
where medication is not null
and exists ( "Initial Population" IP
where Coalesce("Normalize Interval"(MedReqOrAdmin.effective), MedReqOrAdmin.authoredOn.toInterval()) overlaps IP.period
)
return {
id: medication.id,
meta: medication.meta,
code: medication.code,
status: medication.status,
manufacturer: medication.manufacturer,
form: medication.form,
amount: medication.amount,
ingredient: medication.ingredient,
batch: medication.batch
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="20"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Request Base"/>
</extension>
<extension url="statement">
<valueString
value="// SDE Medication Request - regular requests (doNotPerform is false or absent)
define "SDE Medication Request Base":
[MedicationRequest] MedRequests
where exists ( "Initial Population" IP
where MedRequests.authoredOn during IP.period
)
return {
id: MedRequests.id,
meta: MedRequests.meta,
status: MedRequests.status,
statusReason: MedRequests.statusReason,
intent: MedRequests.intent,
category: MedRequests.category,
priority: MedRequests.priority,
//doNotPerform: MedRequests.doNotPerform,
reported: MedRequests.reported,
medication: MedRequests.medication,
subject: MedRequests.subject,
encounter: MedRequests.encounter,
authoredOn: MedRequests.authoredOn,
requester: MedRequests.requester,
recorder: MedRequests.recorder,
reasonCode: MedRequests.reasonCode,
reasonReference: MedRequests.reasonReference,
instantiatesCanonical: MedRequests.instantiatesCanonical,
instantiatesUri: MedRequests.instantiatesUri,
courseOfTherapyType: MedRequests.courseOfTherapyType,
dosageInstruction: MedRequests.dosageInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="21"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Not Requested"/>
</extension>
<extension url="statement">
<valueString
value="// SDE Medication Not Requested - negation requests (doNotPerform is true)
define "SDE Medication Not Requested":
[MedicationNotRequested] MedNotRequests
where exists ( "Initial Population" IP
where MedNotRequests.authoredOn during IP.period
)
return {
id: MedNotRequests.id,
meta: MedNotRequests.meta,
status: MedNotRequests.status,
statusReason: MedNotRequests.statusReason,
intent: MedNotRequests.intent,
category: MedNotRequests.category,
priority: MedNotRequests.priority,
doNotPerform: MedNotRequests.doNotPerform,
reported: MedNotRequests.reported,
medication: MedNotRequests.medication,
subject: MedNotRequests.subject,
encounter: MedNotRequests.encounter,
authoredOn: MedNotRequests.authoredOn,
requester: MedNotRequests.requester,
recorder: MedNotRequests.recorder,
reasonCode: MedNotRequests.reasonCode,
reasonReference: MedNotRequests.reasonReference,
instantiatesCanonical: MedNotRequests.instantiatesCanonical,
instantiatesUri: MedNotRequests.instantiatesUri,
courseOfTherapyType: MedNotRequests.courseOfTherapyType,
dosageInstruction: MedNotRequests.dosageInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="22"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Request"/>
</extension>
<extension url="statement">
<valueString
value="// Combined SDE for all Medication Requests (both regular and negation)
define "SDE Medication Request":
"SDE Medication Request Base"
union "SDE Medication Not Requested""/>
</extension>
<extension url="displaySequence">
<valueInteger value="23"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE IP Encounters"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE IP Encounters":
"Initial Population" IP
return {
id: IP.id,
meta: IP.meta,
identifier: IP.identifier,
status: IP.status,
statusHistory: IP.statusHistory,
class: IP.class,
classHistory: IP.classHistory,
type: IP.type,
serviceType: IP.serviceType,
priority: IP.priority,
subject: IP.subject,
period: IP.period,
length: IP.length,
reasonCode: IP.reasonCode,
reasonReference: IP.reasonReference,
diagnosis: IP.diagnosis,
account: IP.account,
hospitalization: IP.hospitalization,
location: IP.location,
partOf: IP.partOf
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="24"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Simple"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Observation Simple":
[SimpleObservation] Obs
where ( exists ( Obs.category Category
where Category ~ "social-history"
)
or exists ( Obs.category Category
where Category ~ "imaging"
)
or exists ( Obs.category Category
where Category ~ "procedure"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="25"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Observation Lab Category"/>
</extension>
<extension url="statement">
<valueString
value="// Observation SDEs
define "SDE Observation Lab Category":
[LaboratoryResultObservation] Obs
where exists ( "Initial Population" IP
where "Normalize Interval"(Obs.effective) overlaps IP.period
)
return {
id: Obs.id,
meta: Obs.meta,
extension: Obs.extension,
partOf: Obs.partOf,
status: Obs.status,
category: Obs.category,
code: Obs.code,
subject: Obs.subject,
encounter: Obs.encounter,
effective: Obs.effective,
issued: Obs.issued,
value: Obs.value,
dataAbsentReason: Obs.dataAbsentReason,
interpretation: Obs.interpretation,
bodySite: Obs.bodySite,
method: Obs.method,
specimen: Obs.specimen,
referenceRange: Obs.referenceRange,
hasMember: Obs.hasMember,
derivedFrom: Obs.derivedFrom,
component: Obs.component
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="26"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Service Not Requested"/>
</extension>
<extension url="statement">
<valueString
value="// ServiceNotRequested SDE - negation requests (doNotPerform is true)
define "SDE Service Not Requested":
[ServiceNotRequested] ServiceNotReqs
where exists ( "Initial Population" IP
where ServiceNotReqs.authoredOn during IP.period
)
return {
id: ServiceNotReqs.id,
meta: ServiceNotReqs.meta,
instantiatesCanonical: ServiceNotReqs.instantiatesCanonical,
instantiatesUri: ServiceNotReqs.instantiatesUri,
basedOn: ServiceNotReqs.basedOn,
replaces: ServiceNotReqs.replaces,
requisition: ServiceNotReqs.requisition,
status: ServiceNotReqs.status,
intent: ServiceNotReqs.intent,
category: ServiceNotReqs.category,
priority: ServiceNotReqs.priority,
doNotPerform: ServiceNotReqs.doNotPerform,
code: ServiceNotReqs.code,
orderDetail: ServiceNotReqs.orderDetail,
quantity: ServiceNotReqs.quantity,
subject: ServiceNotReqs.subject,
encounter: ServiceNotReqs.encounter,
occurrence: ServiceNotReqs.occurrence,
asNeeded: ServiceNotReqs.asNeeded,
authoredOn: ServiceNotReqs.authoredOn,
requester: ServiceNotReqs.requester,
performerType: ServiceNotReqs.performerType,
performer: ServiceNotReqs.performer,
locationCode: ServiceNotReqs.locationCode,
reasonCode: ServiceNotReqs.reasonCode,
reasonReference: ServiceNotReqs.reasonReference,
insurance: ServiceNotReqs.insurance,
bodySite: ServiceNotReqs.bodySite,
note: ServiceNotReqs.note,
patientInstruction: ServiceNotReqs.patientInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="27"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration Base"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Administration Base":
[MedicationAdministration] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="28"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration Not Done"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Administration Not Done":
[MedicationAdministrationNotDone] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="29"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration"/>
</extension>
<extension url="statement">
<valueString
value="// Medication SDEs
define "SDE Medication Administration":
"SDE Medication Administration Base"
union "SDE Medication Administration Not Done""/>
</extension>
<extension url="displaySequence">
<valueInteger value="30"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Administration Base"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Medication Administration Base":
[MedicationAdministration] MedAdministrations
where exists ( "Initial Population" IP
where "Normalize Interval"(MedAdministrations.effective) overlaps IP.period
)
return {
id: MedAdministrations.id,
meta: MedAdministrations.meta,
instantiates: MedAdministrations.instantiates,
partOf: MedAdministrations.partOf,
status: MedAdministrations.status,
statusReason: MedAdministrations.statusReason,
category: MedAdministrations.category,
medication: MedAdministrations.medication,
subject: MedAdministrations.subject,
context: MedAdministrations.context,
supportingInformation: MedAdministrations.supportingInformation,
effective: MedAdministrations.effective,
performer: MedAdministrations.performer,
reasonCode: MedAdministrations.reasonCode,
reasonReference: MedAdministrations.reasonReference,
request: MedAdministrations.request,
device: MedAdministrations.device,
note: MedAdministrations.note,
dosage: MedAdministrations.dosage
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="31"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Lab"/>
</extension>
<extension url="statement">
<valueString
value="// DiagnosticReport SDEs
define "SDE DiagnosticReport Lab":
[DiagnosticReportLab] dr
where exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="32"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString
value="Get Locations from IP Encounters in Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="// ----------------------------------------------------------------------
// Core retrieves
// ----------------------------------------------------------------------
// Locations from IP encounters
define "Get Locations from IP Encounters in Measurement Period":
flatten ( "Initial Population" IP
let locationElements: IP.location
return locationElements LE
let locationReference: LE.location
return locationReference.getLocation ( )
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="33"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Location"/>
</extension>
<extension url="statement">
<valueString
value="// Location SDE
define "SDE Location":
"Get Locations from IP Encounters in Measurement Period" Locations
where exists ( "Initial Population" )
and Locations is not null
return {
id: Locations.id,
meta: Locations.meta,
extension: Locations.extension,
status: Locations.status,
operationalStatus: Locations.operationalStatus,
name: Locations.name,
alias: Locations.alias,
description: Locations.description,
mode: Locations.mode,
type: Locations.type,
telecom: Locations.telecom,
address: Locations.address,
physicalType: Locations.physicalType,
position: Locations.position,
managingOrganization: Locations.managingOrganization,
partOf: Locations.partOf,
hoursOfOperation: Locations.hoursOfOperation,
availabilityExceptions: Locations.availabilityExceptions,
endpoint: Locations.endpoint
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="34"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE DiagnosticReport Note"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE DiagnosticReport Note":
[DiagnosticReportNote] dr
where ( exists ( dr.category Category
where Category ~ "Radiology"
)
or exists ( dr.category Category
where Category ~ "Pathology"
)
or exists ( dr.category Category
where Category ~ "Cardiology"
)
)
and exists ( "Initial Population" IP
where "Normalize Interval"(dr.effective) overlaps IP.period
)
return {
id: dr.id,
meta: dr.meta,
extension: dr.extension,
basedOn: dr.basedOn,
status: dr.status,
category: dr.category,
code: dr.code,
subject: dr.subject,
encounter: dr.encounter,
effective: dr.effective,
issued: dr.issued,
specimen: dr.specimen,
result: dr.result,
conclusion: dr.conclusion,
conclusionCode: dr.conclusionCode
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="35"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Medication Request Base"/>
</extension>
<extension url="statement">
<valueString
value="// SDE Medication Request - regular requests (doNotPerform is false or absent)
define "SDE Medication Request Base":
[MedicationRequest] MedRequests
where exists ( "Initial Population" IP
where MedRequests.authoredOn during IP.period
)
return {
id: MedRequests.id,
meta: MedRequests.meta,
status: MedRequests.status,
statusReason: MedRequests.statusReason,
intent: MedRequests.intent,
category: MedRequests.category,
priority: MedRequests.priority,
//doNotPerform: MedRequests.doNotPerform,
reported: MedRequests.reported,
medication: MedRequests.medication,
subject: MedRequests.subject,
encounter: MedRequests.encounter,
authoredOn: MedRequests.authoredOn,
requester: MedRequests.requester,
recorder: MedRequests.recorder,
reasonCode: MedRequests.reasonCode,
reasonReference: MedRequests.reasonReference,
instantiatesCanonical: MedRequests.instantiatesCanonical,
instantiatesUri: MedRequests.instantiatesUri,
courseOfTherapyType: MedRequests.courseOfTherapyType,
dosageInstruction: MedRequests.dosageInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="36"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Condition Problems HealthConcerns"/>
</extension>
<extension url="statement">
<valueString
value="// ----------------------------------------------------------------------
// SDEs
// ----------------------------------------------------------------------
define "SDE Condition Problems HealthConcerns":
[ConditionProblemsHealthConcerns] Diagnosis
where exists ( "Initial Population" IP
where Diagnosis.prevalenceInterval ( ) overlaps day of IP.period
)
return {
id: Diagnosis.id,
meta: Diagnosis.meta,
status: Diagnosis.clinicalStatus,
verificationStatus: Diagnosis.verificationStatus,
category: Diagnosis.category,
severity: Diagnosis.severity,
code: Diagnosis.code,
bodySite: Diagnosis.bodySite,
subject: Diagnosis.subject,
encounterReferenceId: Diagnosis.encounter.reference.getId ( ),
onset: Diagnosis.onset,
stage: Diagnosis.stage,
evidence: Diagnosis.evidence,
note: Diagnosis.note
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="37"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Condition Diagnosis"/>
</extension>
<extension url="statement">
<valueString
value="define "SDE Condition Diagnosis":
[ConditionEncounterDiagnosis] Diagnosis
where exists ( "Initial Population" IP
where Diagnosis.prevalenceInterval ( ) overlaps day of IP.period
)
return {
id: Diagnosis.id,
meta: Diagnosis.meta,
status: Diagnosis.clinicalStatus,
verificationStatus: Diagnosis.verificationStatus,
category: Diagnosis.category,
severity: Diagnosis.severity,
code: Diagnosis.code,
bodySite: Diagnosis.bodySite,
subject: Diagnosis.subject,
encounterReferenceId: Diagnosis.encounter.reference.getId ( ),
onset: Diagnosis.onset,
stage: Diagnosis.stage,
evidence: Diagnosis.evidence,
note: Diagnosis.note
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="38"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="SDE Service Request Base"/>
</extension>
<extension url="statement">
<valueString
value="// ServiceRequest SDE - regular requests (doNotPerform is false or absent)
define "SDE Service Request Base":
[ServiceRequest] ServiceRequests
where exists ( "Initial Population" IP
where ServiceRequests.authoredOn during IP.period
)
return {
id: ServiceRequests.id,
meta: ServiceRequests.meta,
instantiatesCanonical: ServiceRequests.instantiatesCanonical,
instantiatesUri: ServiceRequests.instantiatesUri,
basedOn: ServiceRequests.basedOn,
replaces: ServiceRequests.replaces,
requisition: ServiceRequests.requisition,
status: ServiceRequests.status,
intent: ServiceRequests.intent,
category: ServiceRequests.category,
priority: ServiceRequests.priority,
//doNotPerform: ServiceRequests.doNotPerform,
code: ServiceRequests.code,
orderDetail: ServiceRequests.orderDetail,
quantity: ServiceRequests.quantity,
subject: ServiceRequests.subject,
encounter: ServiceRequests.encounter,
occurrence: ServiceRequests.occurrence,
asNeeded: ServiceRequests.asNeeded,
authoredOn: ServiceRequests.authoredOn,
requester: ServiceRequests.requester,
performerType: ServiceRequests.performerType,
performer: ServiceRequests.performer,
locationCode: ServiceRequests.locationCode,
reasonCode: ServiceRequests.reasonCode,
reasonReference: ServiceRequests.reasonReference,
insurance: ServiceRequests.insurance,
bodySite: ServiceRequests.bodySite,
note: ServiceRequests.note,
patientInstruction: ServiceRequests.patientInstruction
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="39"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToInterval"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)
value to a CQL DateTime Interval
@comment: If the start value of the given period is unspecified, the starting
boundary of the resulting interval will be open (meaning the start of the interval
is unknown, as opposed to interpreted as the beginning of time).
*/
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="40"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="CQMCommon"/>
</extension>
<extension url="name">
<valueString value="getLocation"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns the Location resource specified by the given reference.
*/
define fluent function getLocation(reference Reference):
singleton from (
[Location] L where reference.references(L)
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="41"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="QICoreCommon"/>
</extension>
<extension url="name">
<valueString value="references"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns true if the given reference is to the given resource
@comment: Returns true if the `id` element of the given resource exactly equals the tail of the given reference.
NOTE: This function assumes resources from the same source server.
*/
define fluent function references(reference Reference, resource Resource):
resource.id = Last(Split(reference.reference, '/'))"/>
</extension>
<extension url="displaySequence">
<valueInteger value="42"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToConcept"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.
*/
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="43"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToCode"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.
*/
define function ToCode(coding FHIR.Coding):
if coding is null then
null
else
System.Code {
code: coding.code.value,
system: coding.system.value,
version: coding.version.value,
display: coding.display.value
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="44"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="CheckIP"/>
</extension>
<extension url="statement">
<valueString
value="// ----------------------------------------------------------------------
// Helper functions
// ----------------------------------------------------------------------
define function "CheckIP"(encounter Encounter):
exists ( "Initial Population" IP
where encounter.id = IP.id
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="45"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="Normalize Interval"/>
</extension>
<extension url="statement">
<valueString
value="// Former NHSNHelpers functions, adapted for QI Core
define function "Normalize Interval"(choice Choice<DateTime, Interval<DateTime>>):
case
when choice is DateTime then Interval[choice as DateTime, choice as DateTime]
when choice is Interval<DateTime>then choice as Interval<DateTime>
else null as Interval<DateTime>end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="46"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToString"/>
</extension>
<extension url="statement">
<valueString
value="define function ToString(value uri): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="47"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString
value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
</extension>
<extension url="name">
<valueString value="GetMedication"/>
</extension>
<extension url="statement">
<valueString
value="define function "GetMedication"(reference Reference):
singleton from ( [Medication] Medication
where reference.references ( Medication )
)"/>
</extension>
<extension url="displaySequence">
<valueInteger value="48"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="QICoreCommon"/>
</extension>
<extension url="name">
<valueString value="toInterval"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval
@comment: Normalizes a choice type of DateTime, Quanitty, Interval<DateTime>, or Interval<Quantity> types
to an equivalent interval. This selection of choice types is a superset of the majority of choice types that are used as possible
representations for timing-valued elements in QICore, allowing this function to be used across any resource.
The input can be provided as a DateTime, Quantity, Interval<DateTime> or Interval<Quantity>.
The intent of this function is to provide a clear and concise mechanism to treat single
elements that have multiple possible representations as intervals so that logic doesn't have to account
for the variability. More complex calculations (such as medication request period or dispense period
calculation) need specific guidance and consideration. That guidance may make use of this function, but
the focus of this function is on single element calculations where the semantics are unambiguous.
If the input is a DateTime, the result a DateTime Interval beginning and ending on that DateTime.
If the input is a Quantity, the quantity is expected to be a calendar-duration interpreted as an Age,
and the result is a DateTime Interval beginning on the Date the patient turned that age and ending immediately before one year later.
If the input is a DateTime Interval, the result is the input.
If the input is a Quantity Interval, the quantities are expected to be calendar-durations interpreted as an Age, and the result
is a DateTime Interval beginning on the date the patient turned the age given as the start of the quantity interval, and ending
immediately before one year later than the date the patient turned the age given as the end of the quantity interval.
If the input is a Timing, an error will be thrown indicating that Timing calculations are not implemented. Any other input will reslt in a null DateTime Interval
*/
define fluent function toInterval(choice Choice<DateTime, Quantity, Interval<DateTime>, Interval<Quantity>, Timing>):
case
when choice is DateTime then
Interval[choice as DateTime, choice as DateTime]
when choice is Interval<DateTime> then
choice as Interval<DateTime>
when choice is Quantity then
Interval[Patient.birthDate + (choice as Quantity),
Patient.birthDate + (choice as Quantity) + 1 year)
when choice is Interval<Quantity> then
Interval[Patient.birthDate + (choice.low as Quantity),
Patient.birthDate + (choice.high as Quantity) + 1 year)
when choice is Timing then
Message(null, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported') as Interval<DateTime>
else
null as Interval<DateTime>
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="49"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="QICoreCommon"/>
</extension>
<extension url="name">
<valueString value="prevalenceInterval"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns an interval representing the normalized prevalence period of a given Condition.
@comment: Uses the ToInterval and ToAbatementInterval functions to determine the widest potential interval from
onset to abatement as specified in the given Condition. If the condition is active, or has an abatement date the resulting
interval will have a closed ending boundary. Otherwise, the resulting interval will have an open ending boundary.
*/
define fluent function prevalenceInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
if condition.clinicalStatus ~ "active"
or condition.clinicalStatus ~ "recurrence"
or condition.clinicalStatus ~ "relapse" then
Interval[start of condition.onset.toInterval(), end of condition.abatementInterval()]
else
(end of condition.abatementInterval()) abatementDate
return if abatementDate is null then
Interval[start of condition.onset.toInterval(), abatementDate)
else
Interval[start of condition.onset.toInterval(), abatementDate]"/>
</extension>
<extension url="displaySequence">
<valueInteger value="50"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="QICoreCommon"/>
</extension>
<extension url="name">
<valueString value="abatementInterval"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns an interval representing the normalized abatement of a given Condition.
@comment: If the abatement element of the Condition is represented as a DateTime, the result
is an interval beginning and ending on that DateTime.
If the abatement is represented as a Quantity, the quantity is expected to be a calendar-duration and is interpreted as the age of the patient. The
result is an interval from the date the patient turned that age to immediately before one year later.
If the abatement is represented as a Quantity Interval, the quantities are expected to be calendar-durations and are interpreted as an age range during
which the abatement occurred. The result is an interval from the date the patient turned the starting age of the quantity interval, and ending immediately
before one year later than the date the patient turned the ending age of the quantity interval.
*/
define fluent function abatementInterval(condition Choice<"ConditionEncounterDiagnosis", "ConditionProblemsHealthConcerns">):
if condition.abatement is DateTime then
Interval[condition.abatement as DateTime, condition.abatement as DateTime]
else if condition.abatement is Quantity then
Interval[Patient.birthDate + (condition.abatement as Quantity),
Patient.birthDate + (condition.abatement as Quantity) + 1 year)
else if condition.abatement is Interval<Quantity> then
Interval[Patient.birthDate + (condition.abatement.low as Quantity),
Patient.birthDate + (condition.abatement.high as Quantity) + 1 year)
else if condition.abatement is Interval<DateTime> then
Interval[condition.abatement.low, condition.abatement.high)
else null as Interval<DateTime>"/>
</extension>
<extension url="displaySequence">
<valueInteger value="51"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="QICoreCommon"/>
</extension>
<extension url="name">
<valueString value="getId"/>
</extension>
<extension url="statement">
<valueString
value="/*
@description: Returns the tail of the given uri (i.e. everything after the last slash in the URI).
@comment: This function can be used to determine the logical id of a given resource. It can be used in
a single-server environment to trace references. However, this function does not attempt to resolve
or distinguish the base of the given url, and so cannot be used safely in multi-server environments.
*/
define fluent function getId(uri String):
Last(Split(uri, '/'))"/>
</extension>
<extension url="displaySequence">
<valueInteger value="52"/>
</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="https://madie.cms.gov/Library/FHIRHelpers|4.4.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library QICoreCommon"/>
<resource value="https://madie.cms.gov/Library/QICoreCommon|4.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library CQMCommon"/>
<resource value="https://madie.cms.gov/Library/CQMCommon|4.1.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library QICoreCommon"/>
<resource value="https://madie.cms.gov/Library/QICoreCommon|4.0.000"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library FHIRHelpers"/>
<resource value="https://madie.cms.gov/Library/FHIRHelpers|4.4.000"/>
</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 ActCode"/>
<resource value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
</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 Observation Category"/>
<resource
value="http://terminology.hl7.org/CodeSystem/observation-category"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system ConditionClinicalStatusCodes"/>
<resource
value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
</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 Coverage"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Encounter"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Procedure"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Device"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Observation Vital Signs Category"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport Others"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Specimens"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Administration Not Done"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Not Requested"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="Initial Population"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Service Request"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Observation Survey"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Minimal Patient"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Request"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE IP Encounters"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Observation Simple"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Observation Lab Category"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Service Not Requested"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Administration"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Administration Base"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport Lab"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Location"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE DiagnosticReport Note"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Medication Request Base"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Condition Problems HealthConcerns"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Condition Diagnosis"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<parameter>
<name value="SDE Service Request Base"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<type value="Resource"/>
</parameter>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="class"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="type"/>
<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/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="type"/>
<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/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="type"/>
<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/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="class"/>
<codeFilter>
<path value="class"/>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="EMER"/>
<display value="emergency"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="class"/>
<codeFilter>
<path value="class"/>
<code>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="OBSENC"/>
<display value="observation encounter"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="class"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
</dataRequirement>
<dataRequirement>
<type value="Resource"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
<mustSupport value="id"/>
</dataRequirement>
<dataRequirement>
<type value="Resource"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
<mustSupport value="id.value"/>
</dataRequirement>
<dataRequirement>
<type value="Location"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="location"/>
<mustSupport value="period"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
</dataRequirement>
<dataRequirement>
<type value="Coverage"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage"/>
<mustSupport value="period"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="type"/>
<mustSupport value="policyHolder"/>
<mustSupport value="subscriber"/>
<mustSupport value="subscriberId"/>
<mustSupport value="subscriberId.value"/>
<mustSupport value="beneficiary"/>
<mustSupport value="dependent"/>
<mustSupport value="dependent.value"/>
<mustSupport value="relationship"/>
<mustSupport value="payor"/>
<mustSupport value="class"/>
<mustSupport value="order"/>
<mustSupport value="order.value"/>
<mustSupport value="network"/>
<mustSupport value="network.value"/>
<mustSupport value="subrogation"/>
<mustSupport value="subrogation.value"/>
<mustSupport value="contract"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="location"/>
<mustSupport value="period"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="id"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="id.value"/>
</dataRequirement>
<dataRequirement>
<type value="Encounter"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"/>
<mustSupport value="period"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="identifier"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusHistory"/>
<mustSupport value="class"/>
<mustSupport value="classHistory"/>
<mustSupport value="type"/>
<mustSupport value="serviceType"/>
<mustSupport value="priority"/>
<mustSupport value="subject"/>
<mustSupport value="length"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="diagnosis"/>
<mustSupport value="account"/>
<mustSupport value="hospitalization"/>
<mustSupport value="location"/>
<mustSupport value="partOf"/>
</dataRequirement>
<dataRequirement>
<type value="Procedure"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure"/>
<mustSupport value="performed"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="basedOn"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="category"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="location"/>
<mustSupport value="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="bodySite"/>
</dataRequirement>
<dataRequirement>
<type value="Device"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="expirationDate"/>
<mustSupport value="expirationDate.value"/>
<mustSupport value="lotNumber"/>
<mustSupport value="lotNumber.value"/>
<mustSupport value="serialNumber"/>
<mustSupport value="serialNumber.value"/>
<mustSupport value="modelNumber"/>
<mustSupport value="modelNumber.value"/>
<mustSupport value="partNumber"/>
<mustSupport value="partNumber.value"/>
<mustSupport value="type"/>
<mustSupport value="patient"/>
<mustSupport value="parent"/>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="category"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="value"/>
<mustSupport value="dataAbsentReason"/>
<mustSupport value="interpretation"/>
<mustSupport value="bodySite"/>
<mustSupport value="method"/>
<mustSupport value="specimen"/>
<mustSupport value="referenceRange"/>
<mustSupport value="hasMember"/>
<mustSupport value="derivedFrom"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="DiagnosticReport"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note"/>
<mustSupport value="category"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="basedOn"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="specimen"/>
<mustSupport value="result"/>
<mustSupport value="conclusion"/>
<mustSupport value="conclusion.value"/>
<mustSupport value="conclusionCode"/>
</dataRequirement>
<dataRequirement>
<type value="Specimen"/>
<profile
value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen"/>
<mustSupport value="collection"/>
<mustSupport value="collection.collected"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="type"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministrationnotdone"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiates"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="category"/>
<mustSupport value="medication"/>
<mustSupport value="medication.extension"/>
<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"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationnotrequested"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<mustSupport value="doNotPerform"/>
<mustSupport value="doNotPerform.value"/>
<mustSupport value="reported"/>
<mustSupport value="medication"/>
<mustSupport value="medication.extension"/>
<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="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiatesCanonical"/>
<mustSupport value="instantiatesUri"/>
<mustSupport value="basedOn"/>
<mustSupport value="replaces"/>
<mustSupport value="requisition"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<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="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="insurance"/>
<mustSupport value="bodySite"/>
<mustSupport value="note"/>
<mustSupport value="patientInstruction"/>
<mustSupport value="patientInstruction.value"/>
</dataRequirement>
<dataRequirement>
<type value="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiatesCanonical"/>
<mustSupport value="instantiatesUri"/>
<mustSupport value="basedOn"/>
<mustSupport value="replaces"/>
<mustSupport value="requisition"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<mustSupport value="doNotPerform"/>
<mustSupport value="doNotPerform.value"/>
<mustSupport value="code"/>
<mustSupport value="code.extension"/>
<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="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="insurance"/>
<mustSupport value="bodySite"/>
<mustSupport value="note"/>
<mustSupport value="patientInstruction"/>
<mustSupport value="patientInstruction.value"/>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-screening-assessment"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="category"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="value"/>
<mustSupport value="dataAbsentReason"/>
<mustSupport value="interpretation"/>
<mustSupport value="bodySite"/>
<mustSupport value="method"/>
<mustSupport value="specimen"/>
<mustSupport value="referenceRange"/>
<mustSupport value="hasMember"/>
<mustSupport value="derivedFrom"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="identifier"/>
<mustSupport value="active"/>
<mustSupport value="active.value"/>
<mustSupport value="name"/>
<mustSupport value="telecom"/>
<mustSupport value="gender"/>
<mustSupport value="gender.value"/>
<mustSupport value="birthDate"/>
<mustSupport value="birthDate.value"/>
<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/us/qicore/StructureDefinition/qicore-medication"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<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="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationnotrequested"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<mustSupport value="doNotPerform"/>
<mustSupport value="doNotPerform.value"/>
<mustSupport value="reported"/>
<mustSupport value="medication"/>
<mustSupport value="medication.extension"/>
<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="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"/>
<mustSupport value="category"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="value"/>
<mustSupport value="dataAbsentReason"/>
<mustSupport value="interpretation"/>
<mustSupport value="bodySite"/>
<mustSupport value="method"/>
<mustSupport value="specimen"/>
<mustSupport value="referenceRange"/>
<mustSupport value="hasMember"/>
<mustSupport value="derivedFrom"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="Observation"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation-lab"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="category"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="value"/>
<mustSupport value="dataAbsentReason"/>
<mustSupport value="interpretation"/>
<mustSupport value="bodySite"/>
<mustSupport value="method"/>
<mustSupport value="specimen"/>
<mustSupport value="referenceRange"/>
<mustSupport value="hasMember"/>
<mustSupport value="derivedFrom"/>
<mustSupport value="component"/>
</dataRequirement>
<dataRequirement>
<type value="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiatesCanonical"/>
<mustSupport value="instantiatesUri"/>
<mustSupport value="basedOn"/>
<mustSupport value="replaces"/>
<mustSupport value="requisition"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<mustSupport value="doNotPerform"/>
<mustSupport value="doNotPerform.value"/>
<mustSupport value="code"/>
<mustSupport value="code.extension"/>
<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="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="insurance"/>
<mustSupport value="bodySite"/>
<mustSupport value="note"/>
<mustSupport value="patientInstruction"/>
<mustSupport value="patientInstruction.value"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiates"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<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"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministrationnotdone"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiates"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="category"/>
<mustSupport value="medication"/>
<mustSupport value="medication.extension"/>
<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"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationAdministration"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiates"/>
<mustSupport value="partOf"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<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"/>
</dataRequirement>
<dataRequirement>
<type value="DiagnosticReport"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-lab"/>
<mustSupport value="effective"/>
</dataRequirement>
<dataRequirement>
<type value="DiagnosticReport"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note"/>
<mustSupport value="category"/>
<mustSupport value="effective"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="extension"/>
<mustSupport value="basedOn"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="code"/>
<mustSupport value="subject"/>
<mustSupport value="encounter"/>
<mustSupport value="issued"/>
<mustSupport value="issued.value"/>
<mustSupport value="specimen"/>
<mustSupport value="result"/>
<mustSupport value="conclusion"/>
<mustSupport value="conclusion.value"/>
<mustSupport value="conclusionCode"/>
</dataRequirement>
<dataRequirement>
<type value="MedicationRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="statusReason"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<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="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
<mustSupport value="birthDate.value"/>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-problems-health-concerns"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<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="encounter.reference"/>
<mustSupport value="encounter.reference.value"/>
<mustSupport value="onset"/>
<mustSupport value="stage"/>
<mustSupport value="evidence"/>
<mustSupport value="note"/>
</dataRequirement>
<dataRequirement>
<type value="Condition"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition-encounter-diagnosis"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<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="encounter.reference"/>
<mustSupport value="encounter.reference.value"/>
<mustSupport value="onset"/>
<mustSupport value="stage"/>
<mustSupport value="evidence"/>
<mustSupport value="note"/>
</dataRequirement>
<dataRequirement>
<type value="ServiceRequest"/>
<profile
value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest"/>
<mustSupport value="authoredOn"/>
<mustSupport value="authoredOn.value"/>
<mustSupport value="id"/>
<mustSupport value="id.value"/>
<mustSupport value="meta"/>
<mustSupport value="instantiatesCanonical"/>
<mustSupport value="instantiatesUri"/>
<mustSupport value="basedOn"/>
<mustSupport value="replaces"/>
<mustSupport value="requisition"/>
<mustSupport value="status"/>
<mustSupport value="status.value"/>
<mustSupport value="intent"/>
<mustSupport value="intent.value"/>
<mustSupport value="category"/>
<mustSupport value="priority"/>
<mustSupport value="priority.value"/>
<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="reasonCode"/>
<mustSupport value="reasonReference"/>
<mustSupport value="insurance"/>
<mustSupport value="bodySite"/>
<mustSupport value="note"/>
<mustSupport value="patientInstruction"/>
<mustSupport value="patientInstruction.value"/>
</dataRequirement>
</Library>
</contained>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance" id="supplementalDataGuidance">
<extension url="guidance">
<valueString value="<p>SDE</p>"/>
</extension>
<extension url="usage">
<valueCodeableConcept>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
<display value="Supplemental Data"/>
</coding>
<text value="Supplemental Data Guidance"/>
</valueCodeableConcept>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
<valueCanonical value="#effective-data-requirements"/>
</extension>
<url
value="https://madie.cms.gov/Measure/NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
<identifier>
<use value="usual"/>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
<code value="short-name"/>
<display value="Short Name"/>
</coding>
</type>
<system value="https://madie.cms.gov/measure/shortName"/>
<value value="NHSNACHMonthly1"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
<code value="version-independent"/>
<display value="Version Independent"/>
</coding>
</type>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:1a6d58a6-1063-421b-8231-b8700d8009c9"/>
</identifier>
<identifier>
<use value="official"/>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/artifact-identifier-type"/>
<code value="version-specific"/>
<display value="Version Specific"/>
</coding>
</type>
<system value="urn:ietf:rfc:3986"/>
<value value="urn:uuid:6156503c-1e85-4137-891c-1ee73c0c01d0"/>
</identifier>
<version value="Draft based on 0.0.000"/>
<name value="NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
<title value="NHSN Acute Care Hospital Monthly Initial Population 1
"/>
<status value="draft"/>
<experimental value="true"/>
<date value="2026-01-16T18:18:14+00:00"/>
<publisher value="Centers for Disease Control and Prevention (CDC)"/>
<contact>
<telecom>
<system value="url"/>
<value value="www.cdc.gov/hiv/"/>
</telecom>
</contact>
<description
value="Patients of all ages with inpatient (Inpt), emergency department (ED), observation (OBS), or short stay (SS) encounter type or with Inpt, ED, OBS, SS encounter class or with an Inpt, ED, OBS, SS location during the measurement period.
"/>
<copyright value="UNKNOWN
"/>
<effectivePeriod>
<start value="2025-01-01"/>
<end value="2025-01-31"/>
</effectivePeriod>
<author>
<name value="Lantana Consulting Group"/>
<telecom>
<system value="url"/>
<value value="https://www.lantanagroup.com/"/>
</telecom>
</author>
<library
value="https://madie.cms.gov/Library/NHSNAcuteCareHospitalMonthlyInitialPopulation1"/>
<disclaimer value="UNKNOWN
"/>
<group id="Group_1">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring">
<valueCodeableConcept>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
<code value="cohort"/>
<display value="Cohort"/>
</coding>
</valueCodeableConcept>
</extension>
<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-type">
<valueCodeableConcept>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-type"/>
<code value="outcome"/>
<display value="Outcome"/>
</coding>
</valueCodeableConcept>
</extension>
<population id="InitialPopulation_1">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="initial-population"/>
<display value="Initial Population"/>
</coding>
</code>
<description
value="All inpatient encounters, as well as ED and OBS encounters that end within 1 hour of the start of the inpatient encounter, for patients of all ages where at least one diabetes medication was ordered or administered during the encounter that is during the measurement period.
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
</group>
<supplementalData id="sde-condition-problems-healthconcerns">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Condition Problems HealthConcerns
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Condition Problems HealthConcerns"/>
</criteria>
</supplementalData>
<supplementalData id="sde-condition-diagnosis">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Condition Diagnosis
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Condition Diagnosis"/>
</criteria>
</supplementalData>
<supplementalData id="sde-coverage">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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-device">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Encounter
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Encounter"/>
</criteria>
</supplementalData>
<supplementalData id="sde-ip-encounters">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE IP Encounters
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE IP Encounters"/>
</criteria>
</supplementalData>
<supplementalData id="sde-location">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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-administration-base">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Administration Base
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Administration Base"/>
</criteria>
</supplementalData>
<supplementalData id="sde-medication-administration-not-done">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Administration Not Done
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Administration Not Done"/>
</criteria>
</supplementalData>
<supplementalData id="sde-medication-request-base">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Request Base
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Request Base"/>
</criteria>
</supplementalData>
<supplementalData id="sde-medication-not-requested">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Medication Not Requested
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Medication Not Requested"/>
</criteria>
</supplementalData>
<supplementalData id="sde-medication-request">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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-simple">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Observation Simple
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Observation Simple"/>
</criteria>
</supplementalData>
<supplementalData id="sde-observation-survey">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Observation Survey
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Observation Survey"/>
</criteria>
</supplementalData>
<supplementalData id="sde-observation-vital-signs-category">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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-procedure">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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-service-request-base">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Service Request Base
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Service Request Base"/>
</criteria>
</supplementalData>
<supplementalData id="sde-service-not-requested">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Service Not Requested
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Service Not Requested"/>
</criteria>
</supplementalData>
<supplementalData id="sde-service-request">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<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">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Minimal Patient
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Minimal Patient"/>
</criteria>
</supplementalData>
<supplementalData id="sde-specimens">
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="individual"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="subject-list"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="summary"/>
</extension>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-includeInReportType">
<valueCode value="data-collection"/>
</extension>
<usage>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-data-usage"/>
<code value="supplemental-data"/>
</coding>
</usage>
<description value="SDE Specimens
"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="SDE Specimens"/>
</criteria>
</supplementalData>
</Measure>