WHO Immunization Implementation Guide
1.0.0 - release
WHO Immunization Implementation Guide, published by WHO. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-immunizations/tree/132/merge and changes regularly. See the Directory of published versions
| Draft as of 2025-06-11 |
<Measure xmlns="http://hl7.org/fhir">
<id value="IMMZIND36"/>
<meta>
<profile
value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/proportion-measure-cqfm"/>
</meta>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<table class="narrative-table">
<tbody>
<tr>
<th colspan="2" scope="row" class="row-header">Knowledge Artifact Metadata</th>
</tr>
<tr>
<th scope="row" class="row-header">Name (machine-readable)</th>
<td class="content-container">IMMZIND36</td>
</tr>
<tr>
<th scope="row" class="row-header">Title (human-readable)</th>
<td class="content-container">IMMZIND36</td>
</tr>
<tr>
<th scope="row" class="row-header">Status</th>
<td class="content-container">Draft</td>
</tr>
<tr>
<th scope="row" class="row-header">Experimental</th>
<td class="content-container">false</td>
</tr>
<tr>
<th scope="row" class="row-header">Description</th>
<td class="content-container"><div><p>IMMZ.IND.36 Drop-out rate of BCG to measles and rubella-containing vaccine 1st dose</p>
</div></td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Steward</th>
<td class="content-container">WHO</td>
</tr>
<tr>
<th scope="row" class="row-header">Steward Contact Details</th>
<td class="content-container">WHO: <a href="http://who.int">http://who.int</a></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Metadata</th>
</tr>
<tr>
<th scope="row" class="row-header">Version Number</th>
<td class="content-container">1.0.0</td>
</tr>
<tr>
<th scope="row" class="row-header">Measure Scoring</th>
<td class="content-container"><span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-scoring proportion}">Proportion</span></td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Population Criteria</th>
</tr>
<tr>
<th scope="row" class="row-header">Initial Population</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.IP
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Initial Population</p>
<em>Logic Definition</em>: <a href="#immzind36logic-initial-population">Initial Population</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Denominator</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.D
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Denominator</p>
<em>Logic Definition</em>: <a href="#immzind36logic-denominator">Denominator</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Numerator</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.N
<br/>
<em>Description</em>:
<p style="white-space: pre-line" class="tab-one">Numerator</p>
<em>Logic Definition</em>: <a href="#immzind36logic-numerator">Numerator</a>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Stratifier</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.S1
<br/>
<em>Code</em>: By-Administrative Area
</td>
</tr>
<tr>
<th scope="row" class="row-header">Stratifier</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.S2
<br/>
<em>Code</em>: By-Sex
</td>
</tr>
<tr>
<th scope="row" class="row-header">Stratifier</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.S3
<br/>
<em>Code</em>: By-Age group
</td>
</tr>
<tr>
<th scope="row" class="row-header">Stratifier</th>
<td class="content-container">
<em>ID</em>: IMMZ.IND.36.S4
<br/>
<em>Code</em>: By-Age group
</td>
</tr>
<tr>
<th scope="row" class="row-header">Population Basis</th>
<td class="content-container">boolean</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Logic</th>
</tr>
<tr>
<th scope="row" class="row-header">Primary Library</th>
<td class="content-container"><a href="Library-IMMZIND36Logic.html">IMMZIND36Logic</a></td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: FHIR model information
<br/>
<em>Resource</em>: <a href="http://fhir.org/guides/cqf/common/4.0.1/4.0.1/Library-FHIR-ModelInfo.html">http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</a>
<br/>
<em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library BCG
<br/>
<em>Resource</em>: <a href="Library-IMMZD2DTBCGElements.html">IMMZD2DTBCGElements</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZD2DTBCGElements</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library Elements
<br/>
<em>Resource</em>: <a href="Library-IMMZElements.html">IMMZElements</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZElements</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library FHIRHelpers
<br/>
<em>Resource</em>: <a href="http://fhir.org/guides/cqf/common/4.0.1/4.0.1/Library-FHIRHelpers.html">http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</a>
<br/>
<em>Canonical URL</em>: <tt>http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library Concepts
<br/>
<em>Resource</em>: <a href="Library-IMMZConcepts.html">IMMZConcepts</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZConcepts</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library Common
<br/>
<em>Resource</em>: <a href="Library-IMMZCommon.html">IMMZCommon</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZCommon</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library Elements
<br/>
<em>Resource</em>: <code>http://smart.who.int/immunizations/Library/IMMZIndicatorElements</code>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZIndicatorElements</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library WC
<br/>
<em>Resource</em>: <a href="Library-WHOCommon.html">WHOCommon</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/WHOCommon</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Library Age
<br/>
<em>Resource</em>: <a href="Library-IMMZAgeConcepts.html">IMMZAgeConcepts</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZAgeConcepts</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Code system ISO-8601-Derived Periods
<br/>
<em>Resource</em>: <code>http://ohie.org/CodeSystem/iso-8601-derived-periods</code>
<br/>
<em>Canonical URL</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Code system Administrative Gender Codes
<br/>
<em>Resource</em>: <a href="http://hl7.org/fhir/R4/codesystem-administrative-gender.html">AdministrativeGender</a>
<br/>
<em>Canonical URL</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set BCG vaccines
<br/>
<em>Resource</em>: <a href="ValueSet-IMMZ.Z.DE1.html">IMMZ.Z.DE1 ValueSet for BCG vaccines</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE1</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Dependency</th>
<td class="content-container">
<em>Description</em>: Value set Measles and rubella-containing vaccines
<br/>
<em>Resource</em>: <a href="ValueSet-IMMZ.Z.DE32.html">IMMZ.Z.DE32 ValueSet for Measles and rubella-containing vaccines</a>
<br/>
<em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE32</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: < 1 year
<br/>
<em>Code</em>: P0Y--P1Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: >= 1 year
<br/>
<em>Code</em>: P1Y--P9999Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 1 year
<br/>
<em>Code</em>: P1Y--P2Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 2 years
<br/>
<em>Code</em>: P2Y--P3Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 3 years
<br/>
<em>Code</em>: P3Y--P4Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 4 years
<br/>
<em>Code</em>: P4Y--P5Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 5 years
<br/>
<em>Code</em>: P5Y--P6Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 6 years
<br/>
<em>Code</em>: P6Y--P7Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 7 years
<br/>
<em>Code</em>: P7Y--P8Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 8 years
<br/>
<em>Code</em>: P8Y--P9Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 9 years
<br/>
<em>Code</em>: P9Y--P10Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 10 years
<br/>
<em>Code</em>: P10Y--P11Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 11 years
<br/>
<em>Code</em>: P11Y--P12Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 12 years
<br/>
<em>Code</em>: P12Y--P13Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 13 years
<br/>
<em>Code</em>: P13Y--P14Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 14 years
<br/>
<em>Code</em>: P14Y--P15Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 15 years
<br/>
<em>Code</em>: P15Y--P16Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 16 years
<br/>
<em>Code</em>: P16Y--P17Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 17 years
<br/>
<em>Code</em>: P17Y--P18Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 18 years
<br/>
<em>Code</em>: P18Y--P19Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 19 years
<br/>
<em>Code</em>: P19Y--P20Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 20 years
<br/>
<em>Code</em>: P20Y--P21Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 21 years
<br/>
<em>Code</em>: P21Y--P22Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 22 years
<br/>
<em>Code</em>: P22Y--P23Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 23 years
<br/>
<em>Code</em>: P23Y--P24Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 24 years
<br/>
<em>Code</em>: P24Y--P25Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 25 years
<br/>
<em>Code</em>: P25Y--P26Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 26 years
<br/>
<em>Code</em>: P26Y--P27Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 27 years
<br/>
<em>Code</em>: P27Y--P28Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 28 years
<br/>
<em>Code</em>: P28Y--P29Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 29 years
<br/>
<em>Code</em>: P29Y--P30Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 30 years
<br/>
<em>Code</em>: P30Y--P31Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 31 years
<br/>
<em>Code</em>: P31Y--P32Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 32 years
<br/>
<em>Code</em>: P32Y--P33Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 33 years
<br/>
<em>Code</em>: P33Y--P34Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 34 years
<br/>
<em>Code</em>: P34Y--P35Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 35 years
<br/>
<em>Code</em>: P35Y--P36Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 36 years
<br/>
<em>Code</em>: P36Y--P37Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 37 years
<br/>
<em>Code</em>: P37Y--P38Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 38 years
<br/>
<em>Code</em>: P38Y--P39Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 39 years
<br/>
<em>Code</em>: P39Y--P40Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 40 years
<br/>
<em>Code</em>: P40Y--P41Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 41 years
<br/>
<em>Code</em>: P41Y--P42Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 42 years
<br/>
<em>Code</em>: P42Y--P43Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 43 years
<br/>
<em>Code</em>: P43Y--P44Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 44 years
<br/>
<em>Code</em>: P44Y--P45Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 45 years
<br/>
<em>Code</em>: P45Y--P46Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 46 years
<br/>
<em>Code</em>: P46Y--P47Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 47 years
<br/>
<em>Code</em>: P47Y--P48Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 48 years
<br/>
<em>Code</em>: P48Y--P49Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 49 years
<br/>
<em>Code</em>: P49Y--P50Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 50 years
<br/>
<em>Code</em>: P50Y--P51Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 51 years
<br/>
<em>Code</em>: P51Y--P52Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 52 years
<br/>
<em>Code</em>: P52Y--P53Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 53 years
<br/>
<em>Code</em>: P53Y--P54Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 54 years
<br/>
<em>Code</em>: P54Y--P55Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 55 years
<br/>
<em>Code</em>: P55Y--P56Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 56 years
<br/>
<em>Code</em>: P56Y--P57Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 57 years
<br/>
<em>Code</em>: P57Y--P58Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 58 years
<br/>
<em>Code</em>: P58Y--P59Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 59 years
<br/>
<em>Code</em>: P59Y--P60Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 60 years
<br/>
<em>Code</em>: P60Y--P61Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 61 years
<br/>
<em>Code</em>: P61Y--P62Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 62 years
<br/>
<em>Code</em>: P62Y--P63Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 63 years
<br/>
<em>Code</em>: P63Y--P64Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 64 years
<br/>
<em>Code</em>: P64Y--P65Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 65 years
<br/>
<em>Code</em>: P65Y--P66Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 66 years
<br/>
<em>Code</em>: P66Y--P67Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 67 years
<br/>
<em>Code</em>: P67Y--P68Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 68 years
<br/>
<em>Code</em>: P68Y--P69Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 69 years
<br/>
<em>Code</em>: P69Y--P70Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 70 years
<br/>
<em>Code</em>: P70Y--P71Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 71 years
<br/>
<em>Code</em>: P71Y--P72Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 72 years
<br/>
<em>Code</em>: P72Y--P73Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 73 years
<br/>
<em>Code</em>: P73Y--P74Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 74 years
<br/>
<em>Code</em>: P74Y--P75Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 75 years
<br/>
<em>Code</em>: P75Y--P76Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 76 years
<br/>
<em>Code</em>: P76Y--P77Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 77 years
<br/>
<em>Code</em>: P77Y--P78Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 78 years
<br/>
<em>Code</em>: P78Y--P79Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 79 years
<br/>
<em>Code</em>: P79Y--P80Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 80 years
<br/>
<em>Code</em>: P80Y--P81Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 81 years
<br/>
<em>Code</em>: P81Y--P82Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 82 years
<br/>
<em>Code</em>: P82Y--P83Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 83 years
<br/>
<em>Code</em>: P83Y--P84Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 84 years
<br/>
<em>Code</em>: P84Y--P85Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 85 years
<br/>
<em>Code</em>: P85Y--P86Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 86 years
<br/>
<em>Code</em>: P86Y--P87Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 87 years
<br/>
<em>Code</em>: P87Y--P88Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 88 years
<br/>
<em>Code</em>: P88Y--P89Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 89 years
<br/>
<em>Code</em>: P89Y--P90Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 90 years
<br/>
<em>Code</em>: P90Y--P91Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 91 years
<br/>
<em>Code</em>: P91Y--P92Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 92 years
<br/>
<em>Code</em>: P92Y--P93Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 93 years
<br/>
<em>Code</em>: P93Y--P94Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 94 years
<br/>
<em>Code</em>: P94Y--P95Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 95 years
<br/>
<em>Code</em>: P95Y--P96Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 96 years
<br/>
<em>Code</em>: P96Y--P97Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 97 years
<br/>
<em>Code</em>: P97Y--P98Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 98 years
<br/>
<em>Code</em>: P98Y--P99Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: 99 years
<br/>
<em>Code</em>: P99Y--P100Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: >= 100 years
<br/>
<em>Code</em>: P100Y--P9999Y
<br/>
<em>System</em>: <tt>http://ohie.org/CodeSystem/iso-8601-derived-periods</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Males
<br/>
<em>Code</em>: male
<br/>
<em>System</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Females
<br/>
<em>Code</em>: female
<br/>
<em>System</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Direct Reference Code</th>
<td class="content-container">
<em>Display</em>: Other/NA
<br/>
<em>Code</em>: other
<br/>
<em>System</em>: <tt>http://hl7.org/fhir/administrative-gender</tt>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Measurement Period
<br/>
<em>Use</em>: In
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Period
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Numerator
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: boolean
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Stratification 4
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Coding
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Stratification 3
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Coding
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Stratification 2
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: Coding
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Stratification 1
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: string
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Denominator
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: boolean
</td>
</tr>
<tr>
<th scope="row" class="row-header">Parameter</th>
<td class="content-container">
<em>Name</em>: Initial Population
<br/>
<em>Use</em>: Out
<br/>
<em>Min Cardinality</em>: 0
<br/>
<em>Max Cardinality</em>: 1
<br/>
<em>Type</em>: boolean
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="section-header"><a name="effective-data-requirements"> </a>Measure Logic Data Requirements</th>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Immunization
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/immunization.html">Immunization</a>
<br/>
<em>Must Support Elements</em>: status, isSubpotent, protocolApplied
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: status</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Immunization
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/immunization.html">Immunization</a>
<br/>
<em>Must Support Elements</em>: status, isSubpotent, vaccineCode, protocolApplied
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: status</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
<span class="tab-one"><em>Path</em>: vaccineCode</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="ValueSet-IMMZ.Z.DE1.html">IMMZ.Z.DE1 ValueSet for BCG vaccines</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Immunization
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/immunization.html">Immunization</a>
<br/>
<em>Must Support Elements</em>: status, isSubpotent, vaccineCode, protocolApplied, occurrence
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: status</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
<span class="tab-one"><em>Path</em>: vaccineCode</span>
<br/>
<span class="tab-one"><em>ValueSet</em>:</span> <a href="ValueSet-IMMZ.Z.DE32.html">IMMZ.Z.DE32 ValueSet for Measles and rubella-containing vaccines</a>
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Patient
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/patient.html">Patient</a>
<br/>
<em>Must Support Elements</em>: birthDate, gender
<br/>
</td>
</tr>
<tr>
<th scope="row" class="row-header">Data Requirement</th>
<td class="content-container">
<em>Type</em>: Patient
<br/>
<em>Profile(s)</em>:
<a href="http://hl7.org/fhir/R4/patient.html">Patient</a>
<br/>
<em>Must Support Elements</em>: use
<br/>
<em>Code Filter(s)</em>:
<br/>
<span class="tab-one"><em>Path</em>: use</span>
<br/>
<span class="tab-one"><em>Code</em>: </span>
<br/>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Measure Logic Definitions</th>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzelements-doses-administered-to-patient"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/**
* @dataElement All Doses Administered to Patient
*/
define "Doses Administered to Patient":
[Immunization] I
where I.status = 'completed'
and I.isSubpotent is not true</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzd2dtbcgelements-bcg-doses-administered-to-patient"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZD2DTBCGElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@internal: BCG containing Doses Administered to Patient
*/
define "BCG Doses Administered to Patient":
Elements."Doses Administered to Patient" I
where
I.vaccineCode in Concepts."BCG vaccines"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-denominator"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@denominator: Number of clients in the target population who received BCG vaccine during the reporting period
@pseudocode: COUNT clients with an immunization event WHERE "Vaccine type" = "BCG vaccines" AND "Date and time of vaccination" is during the reporting period
@note: Only including those who are eligible for first dose of Measles/rubella at 9 months and who have
received the BCG dose. This is for high incidence of Measles/rubella. For low incidence this should be 12 months.
*/
define "Denominator":
exists( BCG."BCG Doses Administered to Patient" I )
and Patient.birthDate + 9 months during "Measurement Period"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-measles-and-rubella-doses-administered-to-patient"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Measles and Rubella Doses Administered to Patient":
Elements."Doses Administered to Patient" I
where I.vaccineCode in Concepts."Measles and rubella-containing vaccines"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-measles-and-rubella-doses-administered-to-patient-during-measurement-period"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Measles and Rubella Doses Administered to Patient During Measurement Period":
"Measles and Rubella Doses Administered to Patient" I
where I.occurrence.toInterval() starts during "Measurement Period"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-numerator"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@numerator: Number of clients who received BCG vaccine during the reporting period who should have received 1st dose of measles and rubella-containing vaccine during the reporting period but did not receive it
@pseudocode: (COUNT of clients with an immunization event WHERE "Vaccine type"" = "BCG vaccines" AND "Date and time of vaccination" is during the reporting period) - (COUNT of clients with an immunization event WHERE "Vaccine type" = "Measles and rubella-containing vaccines" for the 1st dose in the primary series AND "Date and time of vaccination" is during the reporting period)
@note: Only include those from the denominator that did not receive a measles/rubella 1st dose during the measurement period.
Those where the 1st dose due date is during the period but have not received the 1st dose.
*/
define "Numerator":
"Denominator"
and not exists( Elements."Measles and Rubella Doses Administered to Patient During Measurement Period".getDose('1') )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-infant-by-age-stratifier"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@stratifier: Infant disaggregations by age
*/
define "Infant By Age Stratifier":
case
when AgeInYearsAt(end of "Measurement Period") < 1 then Age."P0Y--P1Y"
when AgeInYearsAt(end of "Measurement Period") >= 1 then Age."P1Y--P9999Y"
else null
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-stratification-4"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Stratification 4":
Elements."Infant By Age Stratifier"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-age-stratifier"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@stratifier: Age in Years
*/
define "Age Stratifier":
case
when AgeInYearsAt(end of "Measurement Period") < 1 then Age."P0Y--P1Y"
when AgeInYearsAt(end of "Measurement Period") < 2 then Age."P1Y--P2Y"
when AgeInYearsAt(end of "Measurement Period") < 3 then Age."P2Y--P3Y"
when AgeInYearsAt(end of "Measurement Period") < 4 then Age."P3Y--P4Y"
when AgeInYearsAt(end of "Measurement Period") < 5 then Age."P4Y--P5Y"
when AgeInYearsAt(end of "Measurement Period") < 6 then Age."P5Y--P6Y"
when AgeInYearsAt(end of "Measurement Period") < 7 then Age."P6Y--P7Y"
when AgeInYearsAt(end of "Measurement Period") < 8 then Age."P7Y--P8Y"
when AgeInYearsAt(end of "Measurement Period") < 9 then Age."P8Y--P9Y"
when AgeInYearsAt(end of "Measurement Period") < 10 then Age."P9Y--P10Y"
when AgeInYearsAt(end of "Measurement Period") < 11 then Age."P10Y--P11Y"
when AgeInYearsAt(end of "Measurement Period") < 12 then Age."P11Y--P12Y"
when AgeInYearsAt(end of "Measurement Period") < 13 then Age."P12Y--P13Y"
when AgeInYearsAt(end of "Measurement Period") < 14 then Age."P13Y--P14Y"
when AgeInYearsAt(end of "Measurement Period") < 15 then Age."P14Y--P15Y"
when AgeInYearsAt(end of "Measurement Period") < 16 then Age."P15Y--P16Y"
when AgeInYearsAt(end of "Measurement Period") < 17 then Age."P16Y--P17Y"
when AgeInYearsAt(end of "Measurement Period") < 18 then Age."P17Y--P18Y"
when AgeInYearsAt(end of "Measurement Period") < 19 then Age."P18Y--P19Y"
when AgeInYearsAt(end of "Measurement Period") < 20 then Age."P19Y--P20Y"
when AgeInYearsAt(end of "Measurement Period") < 21 then Age."P20Y--P21Y"
when AgeInYearsAt(end of "Measurement Period") < 22 then Age."P21Y--P22Y"
when AgeInYearsAt(end of "Measurement Period") < 23 then Age."P22Y--P23Y"
when AgeInYearsAt(end of "Measurement Period") < 24 then Age."P23Y--P24Y"
when AgeInYearsAt(end of "Measurement Period") < 25 then Age."P24Y--P25Y"
when AgeInYearsAt(end of "Measurement Period") < 26 then Age."P25Y--P26Y"
when AgeInYearsAt(end of "Measurement Period") < 27 then Age."P26Y--P27Y"
when AgeInYearsAt(end of "Measurement Period") < 28 then Age."P27Y--P28Y"
when AgeInYearsAt(end of "Measurement Period") < 29 then Age."P28Y--P29Y"
when AgeInYearsAt(end of "Measurement Period") < 30 then Age."P29Y--P30Y"
when AgeInYearsAt(end of "Measurement Period") < 31 then Age."P30Y--P31Y"
when AgeInYearsAt(end of "Measurement Period") < 32 then Age."P31Y--P32Y"
when AgeInYearsAt(end of "Measurement Period") < 33 then Age."P32Y--P33Y"
when AgeInYearsAt(end of "Measurement Period") < 34 then Age."P33Y--P34Y"
when AgeInYearsAt(end of "Measurement Period") < 35 then Age."P34Y--P35Y"
when AgeInYearsAt(end of "Measurement Period") < 36 then Age."P35Y--P36Y"
when AgeInYearsAt(end of "Measurement Period") < 37 then Age."P36Y--P37Y"
when AgeInYearsAt(end of "Measurement Period") < 38 then Age."P37Y--P38Y"
when AgeInYearsAt(end of "Measurement Period") < 39 then Age."P38Y--P39Y"
when AgeInYearsAt(end of "Measurement Period") < 40 then Age."P39Y--P40Y"
when AgeInYearsAt(end of "Measurement Period") < 41 then Age."P40Y--P41Y"
when AgeInYearsAt(end of "Measurement Period") < 42 then Age."P41Y--P42Y"
when AgeInYearsAt(end of "Measurement Period") < 43 then Age."P42Y--P43Y"
when AgeInYearsAt(end of "Measurement Period") < 44 then Age."P43Y--P44Y"
when AgeInYearsAt(end of "Measurement Period") < 45 then Age."P44Y--P45Y"
when AgeInYearsAt(end of "Measurement Period") < 46 then Age."P45Y--P46Y"
when AgeInYearsAt(end of "Measurement Period") < 47 then Age."P46Y--P47Y"
when AgeInYearsAt(end of "Measurement Period") < 48 then Age."P47Y--P48Y"
when AgeInYearsAt(end of "Measurement Period") < 49 then Age."P48Y--P49Y"
when AgeInYearsAt(end of "Measurement Period") < 50 then Age."P49Y--P50Y"
when AgeInYearsAt(end of "Measurement Period") < 51 then Age."P50Y--P51Y"
when AgeInYearsAt(end of "Measurement Period") < 52 then Age."P51Y--P52Y"
when AgeInYearsAt(end of "Measurement Period") < 53 then Age."P52Y--P53Y"
when AgeInYearsAt(end of "Measurement Period") < 54 then Age."P53Y--P54Y"
when AgeInYearsAt(end of "Measurement Period") < 55 then Age."P54Y--P55Y"
when AgeInYearsAt(end of "Measurement Period") < 56 then Age."P55Y--P56Y"
when AgeInYearsAt(end of "Measurement Period") < 57 then Age."P56Y--P57Y"
when AgeInYearsAt(end of "Measurement Period") < 58 then Age."P57Y--P58Y"
when AgeInYearsAt(end of "Measurement Period") < 59 then Age."P58Y--P59Y"
when AgeInYearsAt(end of "Measurement Period") < 60 then Age."P59Y--P60Y"
when AgeInYearsAt(end of "Measurement Period") < 61 then Age."P60Y--P61Y"
when AgeInYearsAt(end of "Measurement Period") < 62 then Age."P61Y--P62Y"
when AgeInYearsAt(end of "Measurement Period") < 63 then Age."P62Y--P63Y"
when AgeInYearsAt(end of "Measurement Period") < 64 then Age."P63Y--P64Y"
when AgeInYearsAt(end of "Measurement Period") < 65 then Age."P64Y--P65Y"
when AgeInYearsAt(end of "Measurement Period") < 66 then Age."P65Y--P66Y"
when AgeInYearsAt(end of "Measurement Period") < 67 then Age."P66Y--P67Y"
when AgeInYearsAt(end of "Measurement Period") < 68 then Age."P67Y--P68Y"
when AgeInYearsAt(end of "Measurement Period") < 69 then Age."P68Y--P69Y"
when AgeInYearsAt(end of "Measurement Period") < 70 then Age."P69Y--P70Y"
when AgeInYearsAt(end of "Measurement Period") < 71 then Age."P70Y--P71Y"
when AgeInYearsAt(end of "Measurement Period") < 72 then Age."P71Y--P72Y"
when AgeInYearsAt(end of "Measurement Period") < 73 then Age."P72Y--P73Y"
when AgeInYearsAt(end of "Measurement Period") < 74 then Age."P73Y--P74Y"
when AgeInYearsAt(end of "Measurement Period") < 75 then Age."P74Y--P75Y"
when AgeInYearsAt(end of "Measurement Period") < 76 then Age."P75Y--P76Y"
when AgeInYearsAt(end of "Measurement Period") < 77 then Age."P76Y--P77Y"
when AgeInYearsAt(end of "Measurement Period") < 78 then Age."P77Y--P78Y"
when AgeInYearsAt(end of "Measurement Period") < 79 then Age."P78Y--P79Y"
when AgeInYearsAt(end of "Measurement Period") < 80 then Age."P79Y--P80Y"
when AgeInYearsAt(end of "Measurement Period") < 81 then Age."P80Y--P81Y"
when AgeInYearsAt(end of "Measurement Period") < 82 then Age."P81Y--P82Y"
when AgeInYearsAt(end of "Measurement Period") < 83 then Age."P82Y--P83Y"
when AgeInYearsAt(end of "Measurement Period") < 84 then Age."P83Y--P84Y"
when AgeInYearsAt(end of "Measurement Period") < 85 then Age."P84Y--P85Y"
when AgeInYearsAt(end of "Measurement Period") < 86 then Age."P85Y--P86Y"
when AgeInYearsAt(end of "Measurement Period") < 87 then Age."P86Y--P87Y"
when AgeInYearsAt(end of "Measurement Period") < 88 then Age."P87Y--P88Y"
when AgeInYearsAt(end of "Measurement Period") < 89 then Age."P88Y--P89Y"
when AgeInYearsAt(end of "Measurement Period") < 90 then Age."P89Y--P90Y"
when AgeInYearsAt(end of "Measurement Period") < 91 then Age."P90Y--P91Y"
when AgeInYearsAt(end of "Measurement Period") < 92 then Age."P91Y--P92Y"
when AgeInYearsAt(end of "Measurement Period") < 93 then Age."P92Y--P93Y"
when AgeInYearsAt(end of "Measurement Period") < 94 then Age."P93Y--P94Y"
when AgeInYearsAt(end of "Measurement Period") < 95 then Age."P94Y--P95Y"
when AgeInYearsAt(end of "Measurement Period") < 96 then Age."P95Y--P96Y"
when AgeInYearsAt(end of "Measurement Period") < 97 then Age."P96Y--P97Y"
when AgeInYearsAt(end of "Measurement Period") < 98 then Age."P97Y--P98Y"
when AgeInYearsAt(end of "Measurement Period") < 99 then Age."P98Y--P99Y"
when AgeInYearsAt(end of "Measurement Period") < 100 then Age."P99Y--P100Y"
when AgeInYearsAt(end of "Measurement Period") >= 100 then Age."P100Y--P9999Y"
else null
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-stratification-3"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Stratification 3":
Elements."Age Stratifier"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-by-administrative-gender-stratifier"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@stratifier: By Administrative Gender of Patient Stratifier
*/
define "By Administrative Gender Stratifier":
case
when Patient.gender = 'male' then "Males"
when Patient.gender = 'female' then "Females"
else "Other"
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-stratification-2"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define "Stratification 2":
Elements."By Administrative Gender Stratifier"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzindicatorelements-by-geographic-region-stratifier"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIndicatorElements</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@stratifier: By Geographic Region of Patient Stratifier
*/
define "By Geographic Region Stratifier":
First(Patient.address A where A.use in { 'home' }).state</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-stratification-1"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@disaggregation: Administrative area
Sex
Age in years
Age group (depending on schedule)
*/
define "Stratification 1":
Elements."By Geographic Region Stratifier"</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzind36logic-initial-population"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZIND36Logic</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
* As defined by Member State
*/
define "Initial Population":
true</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tostring"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value ImmunizationStatus): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-toboolean"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToBoolean(value boolean): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-toconcept"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToConcept(concept FHIR.CodeableConcept):
if concept is null then
null
else
System.Concept {
codes: concept.coding C return ToCode(C),
display: concept.text.value
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tocode"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToCode(coding FHIR.Coding):
if coding is null then
null
else
System.Code {
code: coding.code.value,
system: coding.system.value,
version: coding.version.value,
display: coding.display.value
}</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-todate"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDate(value date): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="immzcommon-getdose"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> IMMZCommon</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/**
* @description: Gets a given immunization from a list that matches the dose number
*/
define fluent function getDose(immunizations List<Immunization>, doseNumber String):
immunizations I where
exists( I.protocolApplied pa where pa.doseNumber = doseNumber )</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tostring"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value string): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="whocommon-tointerval"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> WHOCommon</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
From FHIRCommon 4.1.0:
*/
/*
@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval
@comment: Normalizes a choice type of FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instance, FHIR.string, FHIR.Age, or FHIR.Range 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 FHIR, allowing this function to be used across any resource.
The input can be provided as a dateTime, Period, Timing, instant, string, Age, or Range.
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 Period, the result is a DateTime Interval.
If the input is a Timing, an error is raised indicating a single interval cannot be computed from a Timing.
If the input is an instant, the result is a DateTime Interval beginning and ending on that instant.
If the input is a string, an error is raised indicating a single interval cannot be computed from a string.
If the input is an Age, the result is a DateTime Interval beginning when the patient was the given Age,
and ending immediately prior to when the patient was the given Age plus one year.
If the input is a Range, the result is a DateTime Interval beginning when the patient was the Age given
by the low end of the Range, and ending immediately prior to when the patient was the Age given by the
high end of the Range plus one year.
NOTE: Due to the
complexity of determining a single interval from a Timing or String type, this function will throw a run-time exception if it is used
with a Timing or String.
*/
define fluent function toInterval(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>):
case
when choice is FHIR.dateTime then
Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]
when choice is FHIR.Period then
FHIRHelpers.ToInterval(choice as FHIR.Period)
when choice is FHIR.instant then
Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]
when choice is FHIR.Age then
Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),
FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)
when choice is FHIR.Range then
Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),
FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)
when choice is FHIR.Timing then
Message(null as Interval<DateTime>, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported')
when choice is FHIR.string then
Message(null as Interval<DateTime>, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a String value is not supported')
else
null as Interval<DateTime>
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-todatetime"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDateTime(value dateTime): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tointerval"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToInterval(period FHIR.Period):
if period is null then
null
else
if period."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">
<a name="fhirhelpers-todatetime"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDateTime(value instant): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-toquantity"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToQuantity(quantity FHIR.Quantity):
case
when quantity is null then null
when quantity.value is null then null
when quantity.comparator is not null then
Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')
when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'
or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then
System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }
else
Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tocalendarunit"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToCalendarUnit(unit System.String):
case unit
when 'ms' then 'millisecond'
when 's' then 'second'
when 'min' then 'minute'
when 'h' then 'hour'
when 'd' then 'day'
when 'wk' then 'week'
when 'mo' then 'month'
when 'a' then 'year'
else unit
end</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tostring"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value AdministrativeGender): value.value</code></pre>
</td>
</tr>
<tr>
<th scope="row" rowspan="2" class="row-header">
<a name="fhirhelpers-tostring"> </a>
Logic Definition
</th>
<td class="content-container"><em>Library Name:</em> FHIRHelpers</td>
</tr>
<tr>
<td>
<pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToString(value AddressUse): value.value</code></pre>
</td>
</tr>
<tr>
<th colspan="2" scope="row" class="row-header">Generated using version 0.4.6 of the sample-content-ig Liquid templates</th>
</tr>
</tbody>
</table>
</div>
</text>
<contained>
<Library>
<id value="effective-data-requirements"/>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P0Y--P1Y"/>
<display value="< 1 year"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P1Y--P9999Y"/>
<display value=">= 1 year"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P1Y--P2Y"/>
<display value="1 year"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P2Y--P3Y"/>
<display value="2 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P3Y--P4Y"/>
<display value="3 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P4Y--P5Y"/>
<display value="4 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P5Y--P6Y"/>
<display value="5 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P6Y--P7Y"/>
<display value="6 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P7Y--P8Y"/>
<display value="7 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P8Y--P9Y"/>
<display value="8 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P9Y--P10Y"/>
<display value="9 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P10Y--P11Y"/>
<display value="10 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P11Y--P12Y"/>
<display value="11 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P12Y--P13Y"/>
<display value="12 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P13Y--P14Y"/>
<display value="13 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P14Y--P15Y"/>
<display value="14 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P15Y--P16Y"/>
<display value="15 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P16Y--P17Y"/>
<display value="16 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P17Y--P18Y"/>
<display value="17 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P18Y--P19Y"/>
<display value="18 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P19Y--P20Y"/>
<display value="19 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P20Y--P21Y"/>
<display value="20 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P21Y--P22Y"/>
<display value="21 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P22Y--P23Y"/>
<display value="22 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P23Y--P24Y"/>
<display value="23 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P24Y--P25Y"/>
<display value="24 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P25Y--P26Y"/>
<display value="25 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P26Y--P27Y"/>
<display value="26 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P27Y--P28Y"/>
<display value="27 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P28Y--P29Y"/>
<display value="28 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P29Y--P30Y"/>
<display value="29 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P30Y--P31Y"/>
<display value="30 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P31Y--P32Y"/>
<display value="31 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P32Y--P33Y"/>
<display value="32 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P33Y--P34Y"/>
<display value="33 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P34Y--P35Y"/>
<display value="34 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P35Y--P36Y"/>
<display value="35 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P36Y--P37Y"/>
<display value="36 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P37Y--P38Y"/>
<display value="37 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P38Y--P39Y"/>
<display value="38 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P39Y--P40Y"/>
<display value="39 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P40Y--P41Y"/>
<display value="40 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P41Y--P42Y"/>
<display value="41 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P42Y--P43Y"/>
<display value="42 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P43Y--P44Y"/>
<display value="43 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P44Y--P45Y"/>
<display value="44 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P45Y--P46Y"/>
<display value="45 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P46Y--P47Y"/>
<display value="46 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P47Y--P48Y"/>
<display value="47 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P48Y--P49Y"/>
<display value="48 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P49Y--P50Y"/>
<display value="49 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P50Y--P51Y"/>
<display value="50 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P51Y--P52Y"/>
<display value="51 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P52Y--P53Y"/>
<display value="52 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P53Y--P54Y"/>
<display value="53 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P54Y--P55Y"/>
<display value="54 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P55Y--P56Y"/>
<display value="55 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P56Y--P57Y"/>
<display value="56 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P57Y--P58Y"/>
<display value="57 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P58Y--P59Y"/>
<display value="58 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P59Y--P60Y"/>
<display value="59 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P60Y--P61Y"/>
<display value="60 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P61Y--P62Y"/>
<display value="61 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P62Y--P63Y"/>
<display value="62 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P63Y--P64Y"/>
<display value="63 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P64Y--P65Y"/>
<display value="64 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P65Y--P66Y"/>
<display value="65 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P66Y--P67Y"/>
<display value="66 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P67Y--P68Y"/>
<display value="67 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P68Y--P69Y"/>
<display value="68 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P69Y--P70Y"/>
<display value="69 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P70Y--P71Y"/>
<display value="70 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P71Y--P72Y"/>
<display value="71 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P72Y--P73Y"/>
<display value="72 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P73Y--P74Y"/>
<display value="73 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P74Y--P75Y"/>
<display value="74 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P75Y--P76Y"/>
<display value="75 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P76Y--P77Y"/>
<display value="76 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P77Y--P78Y"/>
<display value="77 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P78Y--P79Y"/>
<display value="78 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P79Y--P80Y"/>
<display value="79 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P80Y--P81Y"/>
<display value="80 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P81Y--P82Y"/>
<display value="81 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P82Y--P83Y"/>
<display value="82 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P83Y--P84Y"/>
<display value="83 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P84Y--P85Y"/>
<display value="84 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P85Y--P86Y"/>
<display value="85 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P86Y--P87Y"/>
<display value="86 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P87Y--P88Y"/>
<display value="87 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P88Y--P89Y"/>
<display value="88 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P89Y--P90Y"/>
<display value="89 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P90Y--P91Y"/>
<display value="90 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P91Y--P92Y"/>
<display value="91 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P92Y--P93Y"/>
<display value="92 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P93Y--P94Y"/>
<display value="93 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P94Y--P95Y"/>
<display value="94 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P95Y--P96Y"/>
<display value="95 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P96Y--P97Y"/>
<display value="96 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P97Y--P98Y"/>
<display value="97 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P98Y--P99Y"/>
<display value="98 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P99Y--P100Y"/>
<display value="99 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
<code value="P100Y--P9999Y"/>
<display value=">= 100 years"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="male"/>
<display value="Males"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="female"/>
<display value="Females"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode">
<valueCoding>
<system value="http://hl7.org/fhir/administrative-gender"/>
<code value="other"/>
<display value="Other/NA"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZElements"/>
</extension>
<extension url="name">
<valueString value="Doses Administered to Patient"/>
</extension>
<extension url="statement">
<valueString
value="/**
* @dataElement All Doses Administered to Patient
*/
define "Doses Administered to Patient":
[Immunization] I
where I.status = 'completed'
and I.isSubpotent is not true"/>
</extension>
<extension url="displaySequence">
<valueInteger value="0"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZD2DTBCGElements"/>
</extension>
<extension url="name">
<valueString value="BCG Doses Administered to Patient"/>
</extension>
<extension url="statement">
<valueString
value="/*
@internal: BCG containing Doses Administered to Patient
*/
define "BCG Doses Administered to Patient":
Elements."Doses Administered to Patient" I
where
I.vaccineCode in Concepts."BCG vaccines""/>
</extension>
<extension url="displaySequence">
<valueInteger value="1"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Denominator"/>
</extension>
<extension url="statement">
<valueString
value="/*
@denominator: Number of clients in the target population who received BCG vaccine during the reporting period
@pseudocode: COUNT clients with an immunization event WHERE "Vaccine type" = "BCG vaccines" AND "Date and time of vaccination" is during the reporting period
@note: Only including those who are eligible for first dose of Measles/rubella at 9 months and who have
received the BCG dose. This is for high incidence of Measles/rubella. For low incidence this should be 12 months.
*/
define "Denominator":
exists( BCG."BCG Doses Administered to Patient" I )
and Patient.birthDate + 9 months during "Measurement Period""/>
</extension>
<extension url="displaySequence">
<valueInteger value="2"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString
value="Measles and Rubella Doses Administered to Patient"/>
</extension>
<extension url="statement">
<valueString
value="define "Measles and Rubella Doses Administered to Patient":
Elements."Doses Administered to Patient" I
where I.vaccineCode in Concepts."Measles and rubella-containing vaccines""/>
</extension>
<extension url="displaySequence">
<valueInteger value="3"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString
value="Measles and Rubella Doses Administered to Patient During Measurement Period"/>
</extension>
<extension url="statement">
<valueString
value="define "Measles and Rubella Doses Administered to Patient During Measurement Period":
"Measles and Rubella Doses Administered to Patient" I
where I.occurrence.toInterval() starts during "Measurement Period""/>
</extension>
<extension url="displaySequence">
<valueInteger value="4"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Numerator"/>
</extension>
<extension url="statement">
<valueString
value="/*
@numerator: Number of clients who received BCG vaccine during the reporting period who should have received 1st dose of measles and rubella-containing vaccine during the reporting period but did not receive it
@pseudocode: (COUNT of clients with an immunization event WHERE "Vaccine type"" = "BCG vaccines" AND "Date and time of vaccination" is during the reporting period) - (COUNT of clients with an immunization event WHERE "Vaccine type" = "Measles and rubella-containing vaccines" for the 1st dose in the primary series AND "Date and time of vaccination" is during the reporting period)
@note: Only include those from the denominator that did not receive a measles/rubella 1st dose during the measurement period.
Those where the 1st dose due date is during the period but have not received the 1st dose.
*/
define "Numerator":
"Denominator"
and not exists( Elements."Measles and Rubella Doses Administered to Patient During Measurement Period".getDose('1') )"/>
</extension>
<extension url="displaySequence">
<valueInteger value="5"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString value="Infant By Age Stratifier"/>
</extension>
<extension url="statement">
<valueString
value="/*
@stratifier: Infant disaggregations by age
*/
define "Infant By Age Stratifier":
case
when AgeInYearsAt(end of "Measurement Period") < 1 then Age."P0Y--P1Y"
when AgeInYearsAt(end of "Measurement Period") >= 1 then Age."P1Y--P9999Y"
else null
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="6"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Stratification 4"/>
</extension>
<extension url="statement">
<valueString
value="define "Stratification 4":
Elements."Infant By Age Stratifier""/>
</extension>
<extension url="displaySequence">
<valueInteger value="7"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString value="Age Stratifier"/>
</extension>
<extension url="statement">
<valueString
value="/*
@stratifier: Age in Years
*/
define "Age Stratifier":
case
when AgeInYearsAt(end of "Measurement Period") < 1 then Age."P0Y--P1Y"
when AgeInYearsAt(end of "Measurement Period") < 2 then Age."P1Y--P2Y"
when AgeInYearsAt(end of "Measurement Period") < 3 then Age."P2Y--P3Y"
when AgeInYearsAt(end of "Measurement Period") < 4 then Age."P3Y--P4Y"
when AgeInYearsAt(end of "Measurement Period") < 5 then Age."P4Y--P5Y"
when AgeInYearsAt(end of "Measurement Period") < 6 then Age."P5Y--P6Y"
when AgeInYearsAt(end of "Measurement Period") < 7 then Age."P6Y--P7Y"
when AgeInYearsAt(end of "Measurement Period") < 8 then Age."P7Y--P8Y"
when AgeInYearsAt(end of "Measurement Period") < 9 then Age."P8Y--P9Y"
when AgeInYearsAt(end of "Measurement Period") < 10 then Age."P9Y--P10Y"
when AgeInYearsAt(end of "Measurement Period") < 11 then Age."P10Y--P11Y"
when AgeInYearsAt(end of "Measurement Period") < 12 then Age."P11Y--P12Y"
when AgeInYearsAt(end of "Measurement Period") < 13 then Age."P12Y--P13Y"
when AgeInYearsAt(end of "Measurement Period") < 14 then Age."P13Y--P14Y"
when AgeInYearsAt(end of "Measurement Period") < 15 then Age."P14Y--P15Y"
when AgeInYearsAt(end of "Measurement Period") < 16 then Age."P15Y--P16Y"
when AgeInYearsAt(end of "Measurement Period") < 17 then Age."P16Y--P17Y"
when AgeInYearsAt(end of "Measurement Period") < 18 then Age."P17Y--P18Y"
when AgeInYearsAt(end of "Measurement Period") < 19 then Age."P18Y--P19Y"
when AgeInYearsAt(end of "Measurement Period") < 20 then Age."P19Y--P20Y"
when AgeInYearsAt(end of "Measurement Period") < 21 then Age."P20Y--P21Y"
when AgeInYearsAt(end of "Measurement Period") < 22 then Age."P21Y--P22Y"
when AgeInYearsAt(end of "Measurement Period") < 23 then Age."P22Y--P23Y"
when AgeInYearsAt(end of "Measurement Period") < 24 then Age."P23Y--P24Y"
when AgeInYearsAt(end of "Measurement Period") < 25 then Age."P24Y--P25Y"
when AgeInYearsAt(end of "Measurement Period") < 26 then Age."P25Y--P26Y"
when AgeInYearsAt(end of "Measurement Period") < 27 then Age."P26Y--P27Y"
when AgeInYearsAt(end of "Measurement Period") < 28 then Age."P27Y--P28Y"
when AgeInYearsAt(end of "Measurement Period") < 29 then Age."P28Y--P29Y"
when AgeInYearsAt(end of "Measurement Period") < 30 then Age."P29Y--P30Y"
when AgeInYearsAt(end of "Measurement Period") < 31 then Age."P30Y--P31Y"
when AgeInYearsAt(end of "Measurement Period") < 32 then Age."P31Y--P32Y"
when AgeInYearsAt(end of "Measurement Period") < 33 then Age."P32Y--P33Y"
when AgeInYearsAt(end of "Measurement Period") < 34 then Age."P33Y--P34Y"
when AgeInYearsAt(end of "Measurement Period") < 35 then Age."P34Y--P35Y"
when AgeInYearsAt(end of "Measurement Period") < 36 then Age."P35Y--P36Y"
when AgeInYearsAt(end of "Measurement Period") < 37 then Age."P36Y--P37Y"
when AgeInYearsAt(end of "Measurement Period") < 38 then Age."P37Y--P38Y"
when AgeInYearsAt(end of "Measurement Period") < 39 then Age."P38Y--P39Y"
when AgeInYearsAt(end of "Measurement Period") < 40 then Age."P39Y--P40Y"
when AgeInYearsAt(end of "Measurement Period") < 41 then Age."P40Y--P41Y"
when AgeInYearsAt(end of "Measurement Period") < 42 then Age."P41Y--P42Y"
when AgeInYearsAt(end of "Measurement Period") < 43 then Age."P42Y--P43Y"
when AgeInYearsAt(end of "Measurement Period") < 44 then Age."P43Y--P44Y"
when AgeInYearsAt(end of "Measurement Period") < 45 then Age."P44Y--P45Y"
when AgeInYearsAt(end of "Measurement Period") < 46 then Age."P45Y--P46Y"
when AgeInYearsAt(end of "Measurement Period") < 47 then Age."P46Y--P47Y"
when AgeInYearsAt(end of "Measurement Period") < 48 then Age."P47Y--P48Y"
when AgeInYearsAt(end of "Measurement Period") < 49 then Age."P48Y--P49Y"
when AgeInYearsAt(end of "Measurement Period") < 50 then Age."P49Y--P50Y"
when AgeInYearsAt(end of "Measurement Period") < 51 then Age."P50Y--P51Y"
when AgeInYearsAt(end of "Measurement Period") < 52 then Age."P51Y--P52Y"
when AgeInYearsAt(end of "Measurement Period") < 53 then Age."P52Y--P53Y"
when AgeInYearsAt(end of "Measurement Period") < 54 then Age."P53Y--P54Y"
when AgeInYearsAt(end of "Measurement Period") < 55 then Age."P54Y--P55Y"
when AgeInYearsAt(end of "Measurement Period") < 56 then Age."P55Y--P56Y"
when AgeInYearsAt(end of "Measurement Period") < 57 then Age."P56Y--P57Y"
when AgeInYearsAt(end of "Measurement Period") < 58 then Age."P57Y--P58Y"
when AgeInYearsAt(end of "Measurement Period") < 59 then Age."P58Y--P59Y"
when AgeInYearsAt(end of "Measurement Period") < 60 then Age."P59Y--P60Y"
when AgeInYearsAt(end of "Measurement Period") < 61 then Age."P60Y--P61Y"
when AgeInYearsAt(end of "Measurement Period") < 62 then Age."P61Y--P62Y"
when AgeInYearsAt(end of "Measurement Period") < 63 then Age."P62Y--P63Y"
when AgeInYearsAt(end of "Measurement Period") < 64 then Age."P63Y--P64Y"
when AgeInYearsAt(end of "Measurement Period") < 65 then Age."P64Y--P65Y"
when AgeInYearsAt(end of "Measurement Period") < 66 then Age."P65Y--P66Y"
when AgeInYearsAt(end of "Measurement Period") < 67 then Age."P66Y--P67Y"
when AgeInYearsAt(end of "Measurement Period") < 68 then Age."P67Y--P68Y"
when AgeInYearsAt(end of "Measurement Period") < 69 then Age."P68Y--P69Y"
when AgeInYearsAt(end of "Measurement Period") < 70 then Age."P69Y--P70Y"
when AgeInYearsAt(end of "Measurement Period") < 71 then Age."P70Y--P71Y"
when AgeInYearsAt(end of "Measurement Period") < 72 then Age."P71Y--P72Y"
when AgeInYearsAt(end of "Measurement Period") < 73 then Age."P72Y--P73Y"
when AgeInYearsAt(end of "Measurement Period") < 74 then Age."P73Y--P74Y"
when AgeInYearsAt(end of "Measurement Period") < 75 then Age."P74Y--P75Y"
when AgeInYearsAt(end of "Measurement Period") < 76 then Age."P75Y--P76Y"
when AgeInYearsAt(end of "Measurement Period") < 77 then Age."P76Y--P77Y"
when AgeInYearsAt(end of "Measurement Period") < 78 then Age."P77Y--P78Y"
when AgeInYearsAt(end of "Measurement Period") < 79 then Age."P78Y--P79Y"
when AgeInYearsAt(end of "Measurement Period") < 80 then Age."P79Y--P80Y"
when AgeInYearsAt(end of "Measurement Period") < 81 then Age."P80Y--P81Y"
when AgeInYearsAt(end of "Measurement Period") < 82 then Age."P81Y--P82Y"
when AgeInYearsAt(end of "Measurement Period") < 83 then Age."P82Y--P83Y"
when AgeInYearsAt(end of "Measurement Period") < 84 then Age."P83Y--P84Y"
when AgeInYearsAt(end of "Measurement Period") < 85 then Age."P84Y--P85Y"
when AgeInYearsAt(end of "Measurement Period") < 86 then Age."P85Y--P86Y"
when AgeInYearsAt(end of "Measurement Period") < 87 then Age."P86Y--P87Y"
when AgeInYearsAt(end of "Measurement Period") < 88 then Age."P87Y--P88Y"
when AgeInYearsAt(end of "Measurement Period") < 89 then Age."P88Y--P89Y"
when AgeInYearsAt(end of "Measurement Period") < 90 then Age."P89Y--P90Y"
when AgeInYearsAt(end of "Measurement Period") < 91 then Age."P90Y--P91Y"
when AgeInYearsAt(end of "Measurement Period") < 92 then Age."P91Y--P92Y"
when AgeInYearsAt(end of "Measurement Period") < 93 then Age."P92Y--P93Y"
when AgeInYearsAt(end of "Measurement Period") < 94 then Age."P93Y--P94Y"
when AgeInYearsAt(end of "Measurement Period") < 95 then Age."P94Y--P95Y"
when AgeInYearsAt(end of "Measurement Period") < 96 then Age."P95Y--P96Y"
when AgeInYearsAt(end of "Measurement Period") < 97 then Age."P96Y--P97Y"
when AgeInYearsAt(end of "Measurement Period") < 98 then Age."P97Y--P98Y"
when AgeInYearsAt(end of "Measurement Period") < 99 then Age."P98Y--P99Y"
when AgeInYearsAt(end of "Measurement Period") < 100 then Age."P99Y--P100Y"
when AgeInYearsAt(end of "Measurement Period") >= 100 then Age."P100Y--P9999Y"
else null
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="8"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Stratification 3"/>
</extension>
<extension url="statement">
<valueString
value="define "Stratification 3":
Elements."Age Stratifier""/>
</extension>
<extension url="displaySequence">
<valueInteger value="9"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString value="By Administrative Gender Stratifier"/>
</extension>
<extension url="statement">
<valueString
value="/*
@stratifier: By Administrative Gender of Patient Stratifier
*/
define "By Administrative Gender Stratifier":
case
when Patient.gender = 'male' then "Males"
when Patient.gender = 'female' then "Females"
else "Other"
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="10"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Stratification 2"/>
</extension>
<extension url="statement">
<valueString
value="define "Stratification 2":
Elements."By Administrative Gender Stratifier""/>
</extension>
<extension url="displaySequence">
<valueInteger value="11"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIndicatorElements"/>
</extension>
<extension url="name">
<valueString value="By Geographic Region Stratifier"/>
</extension>
<extension url="statement">
<valueString
value="/*
@stratifier: By Geographic Region of Patient Stratifier
*/
define "By Geographic Region Stratifier":
First(Patient.address A where A.use in { 'home' }).state"/>
</extension>
<extension url="displaySequence">
<valueInteger value="12"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Stratification 1"/>
</extension>
<extension url="statement">
<valueString
value="/*
@disaggregation: Administrative area
Sex
Age in years
Age group (depending on schedule)
*/
define "Stratification 1":
Elements."By Geographic Region Stratifier""/>
</extension>
<extension url="displaySequence">
<valueInteger value="13"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZIND36Logic"/>
</extension>
<extension url="name">
<valueString value="Initial Population"/>
</extension>
<extension url="statement">
<valueString
value="/*
* As defined by Member State
*/
define "Initial Population":
true"/>
</extension>
<extension url="displaySequence">
<valueInteger value="14"/>
</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 ImmunizationStatus): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="15"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToBoolean"/>
</extension>
<extension url="statement">
<valueString
value="define function ToBoolean(value boolean): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="16"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToConcept"/>
</extension>
<extension url="statement">
<valueString
value="define function ToConcept(concept FHIR.CodeableConcept):
if concept is null then
null
else
System.Concept {
codes: concept.coding C return ToCode(C),
display: concept.text.value
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="17"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToCode"/>
</extension>
<extension url="statement">
<valueString
value="define function ToCode(coding FHIR.Coding):
if coding is null then
null
else
System.Code {
code: coding.code.value,
system: coding.system.value,
version: coding.version.value,
display: coding.display.value
}"/>
</extension>
<extension url="displaySequence">
<valueInteger value="18"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToDate"/>
</extension>
<extension url="statement">
<valueString
value="define function ToDate(value date): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="19"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="IMMZCommon"/>
</extension>
<extension url="name">
<valueString value="getDose"/>
</extension>
<extension url="statement">
<valueString
value="/**
* @description: Gets a given immunization from a list that matches the dose number
*/
define fluent function getDose(immunizations List<Immunization>, doseNumber String):
immunizations I where
exists( I.protocolApplied pa where pa.doseNumber = doseNumber )"/>
</extension>
<extension url="displaySequence">
<valueInteger value="20"/>
</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 string): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="21"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="WHOCommon"/>
</extension>
<extension url="name">
<valueString value="toInterval"/>
</extension>
<extension url="statement">
<valueString
value="/*
From FHIRCommon 4.1.0:
*/
/*
@description: Normalizes a value that is a choice of timing-valued types to an equivalent interval
@comment: Normalizes a choice type of FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instance, FHIR.string, FHIR.Age, or FHIR.Range 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 FHIR, allowing this function to be used across any resource.
The input can be provided as a dateTime, Period, Timing, instant, string, Age, or Range.
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 Period, the result is a DateTime Interval.
If the input is a Timing, an error is raised indicating a single interval cannot be computed from a Timing.
If the input is an instant, the result is a DateTime Interval beginning and ending on that instant.
If the input is a string, an error is raised indicating a single interval cannot be computed from a string.
If the input is an Age, the result is a DateTime Interval beginning when the patient was the given Age,
and ending immediately prior to when the patient was the given Age plus one year.
If the input is a Range, the result is a DateTime Interval beginning when the patient was the Age given
by the low end of the Range, and ending immediately prior to when the patient was the Age given by the
high end of the Range plus one year.
NOTE: Due to the
complexity of determining a single interval from a Timing or String type, this function will throw a run-time exception if it is used
with a Timing or String.
*/
define fluent function toInterval(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>):
case
when choice is FHIR.dateTime then
Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]
when choice is FHIR.Period then
FHIRHelpers.ToInterval(choice as FHIR.Period)
when choice is FHIR.instant then
Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]
when choice is FHIR.Age then
Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),
FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)
when choice is FHIR.Range then
Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),
FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)
when choice is FHIR.Timing then
Message(null as Interval<DateTime>, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported')
when choice is FHIR.string then
Message(null as Interval<DateTime>, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a String value is not supported')
else
null as Interval<DateTime>
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="22"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToDateTime"/>
</extension>
<extension url="statement">
<valueString
value="define function ToDateTime(value dateTime): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="23"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToInterval"/>
</extension>
<extension url="statement">
<valueString
value="define function ToInterval(period FHIR.Period):
if period is null then
null
else
if period."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="24"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToDateTime"/>
</extension>
<extension url="statement">
<valueString
value="define function ToDateTime(value instant): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="25"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToQuantity"/>
</extension>
<extension url="statement">
<valueString
value="define function ToQuantity(quantity FHIR.Quantity):
case
when quantity is null then null
when quantity.value is null then null
when quantity.comparator is not null then
Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')
when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'
or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then
System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }
else
Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="26"/>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
<extension url="libraryName">
<valueString value="FHIRHelpers"/>
</extension>
<extension url="name">
<valueString value="ToCalendarUnit"/>
</extension>
<extension url="statement">
<valueString
value="define function ToCalendarUnit(unit System.String):
case unit
when 'ms' then 'millisecond'
when 's' then 'second'
when 'min' then 'minute'
when 'h' then 'hour'
when 'd' then 'day'
when 'wk' then 'week'
when 'mo' then 'month'
when 'a' then 'year'
else unit
end"/>
</extension>
<extension url="displaySequence">
<valueInteger value="27"/>
</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 AdministrativeGender): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="28"/>
</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 AddressUse): value.value"/>
</extension>
<extension url="displaySequence">
<valueInteger value="29"/>
</extension>
</extension>
<name value="EffectiveDataRequirements"/>
<status value="active"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/library-type"/>
<code value="module-definition"/>
</coding>
</type>
<relatedArtifact>
<type value="depends-on"/>
<display value="FHIR model information"/>
<resource
value="http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library BCG"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZD2DTBCGElements"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Elements"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZElements"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library FHIRHelpers"/>
<resource
value="http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Concepts"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZConcepts"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Common"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZCommon"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Elements"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZIndicatorElements"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library WC"/>
<resource
value="http://smart.who.int/immunizations/Library/WHOCommon"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Library Age"/>
<resource
value="http://smart.who.int/immunizations/Library/IMMZAgeConcepts"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system ISO-8601-Derived Periods"/>
<resource
value="http://ohie.org/CodeSystem/iso-8601-derived-periods"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Code system Administrative Gender Codes"/>
<resource value="http://hl7.org/fhir/administrative-gender"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set BCG vaccines"/>
<resource
value="http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE1"/>
</relatedArtifact>
<relatedArtifact>
<type value="depends-on"/>
<display value="Value set Measles and rubella-containing vaccines"/>
<resource
value="http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE32"/>
</relatedArtifact>
<parameter>
<name value="Measurement Period"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<type value="Period"/>
</parameter>
<parameter>
<name value="Numerator"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="Stratification 4"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Stratification 3"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Stratification 2"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="Coding"/>
</parameter>
<parameter>
<name value="Stratification 1"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="string"/>
</parameter>
<parameter>
<name value="Denominator"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<parameter>
<name value="Initial Population"/>
<use value="out"/>
<min value="0"/>
<max value="1"/>
<type value="boolean"/>
</parameter>
<dataRequirement>
<type value="Immunization"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
<mustSupport value="status"/>
<mustSupport value="isSubpotent"/>
<mustSupport value="protocolApplied"/>
<codeFilter>
<path value="status"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Immunization"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
<mustSupport value="status"/>
<mustSupport value="isSubpotent"/>
<mustSupport value="vaccineCode"/>
<mustSupport value="protocolApplied"/>
<codeFilter>
<path value="status"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
<codeFilter>
<path value="vaccineCode"/>
<valueSet
value="http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE1"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Immunization"/>
<profile
value="http://hl7.org/fhir/StructureDefinition/Immunization"/>
<mustSupport value="status"/>
<mustSupport value="isSubpotent"/>
<mustSupport value="vaccineCode"/>
<mustSupport value="protocolApplied"/>
<mustSupport value="occurrence"/>
<codeFilter>
<path value="status"/>
<code>
<code value="completed"/>
</code>
</codeFilter>
<codeFilter>
<path value="vaccineCode"/>
<valueSet
value="http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE32"/>
</codeFilter>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<mustSupport value="birthDate"/>
<mustSupport value="gender"/>
</dataRequirement>
<dataRequirement>
<type value="Patient"/>
<profile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
<mustSupport value="use"/>
<codeFilter>
<path value="use"/>
<code>
<code value="home"/>
</code>
</codeFilter>
</dataRequirement>
</Library>
</contained>
<extension
url="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements">
<valueCanonical value="#effective-data-requirements"/>
</extension>
<url value="http://smart.who.int/immunizations/Measure/IMMZIND36"/>
<version value="1.0.0"/>
<name value="IMMZIND36"/>
<title value="IMMZIND36"/>
<status value="draft"/>
<experimental value="false"/>
<date value="2025-06-11"/>
<publisher value="WHO"/>
<contact>
<name value="WHO"/>
<telecom>
<system value="url"/>
<value value="http://who.int"/>
</telecom>
</contact>
<description
value="IMMZ.IND.36 Drop-out rate of BCG to measles and rubella-containing vaccine 1st dose"/>
<library value="http://smart.who.int/immunizations/Library/IMMZIND36Logic"/>
<scoring>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/measure-scoring"/>
<code value="proportion"/>
<display value="Proportion"/>
</coding>
</scoring>
<group>
<extension
url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis">
<valueCode value="boolean"/>
</extension>
<population id="IMMZ.IND.36.IP">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="initial-population"/>
<display value="Initial Population"/>
</coding>
</code>
<description value="Initial Population"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Initial Population"/>
</criteria>
</population>
<population id="IMMZ.IND.36.D">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="denominator"/>
<display value="Denominator"/>
</coding>
</code>
<description value="Denominator"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Denominator"/>
</criteria>
</population>
<population id="IMMZ.IND.36.N">
<code>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/measure-population"/>
<code value="numerator"/>
<display value="Numerator"/>
</coding>
</code>
<description value="Numerator"/>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Numerator"/>
</criteria>
</population>
<stratifier id="IMMZ.IND.36.S1">
<code>
<coding>
<system
value="http://smart.who.int/immunizations/CodeSystem/IMMZ.I"/>
<code value="DE32"/>
<display value="By-Administrative Area"/>
</coding>
</code>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Stratification 1"/>
</criteria>
</stratifier>
<stratifier id="IMMZ.IND.36.S2">
<code>
<coding>
<system
value="http://smart.who.int/immunizations/CodeSystem/IMMZ.I"/>
<code value="DE31"/>
<display value="By-Sex"/>
</coding>
</code>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Stratification 2"/>
</criteria>
</stratifier>
<stratifier id="IMMZ.IND.36.S3">
<code>
<coding>
<system
value="http://smart.who.int/immunizations/CodeSystem/IMMZ.I"/>
<code value="DE33"/>
<display value="By-Age group"/>
</coding>
</code>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Stratification 3"/>
</criteria>
</stratifier>
<stratifier id="IMMZ.IND.36.S4">
<code>
<coding>
<system
value="http://smart.who.int/immunizations/CodeSystem/IMMZ.I"/>
<code value="DE33"/>
<display value="By-Age group"/>
</coding>
</code>
<criteria>
<language value="text/cql-identifier"/>
<expression value="Stratification 4"/>
</criteria>
</stratifier>
</group>
</Measure>