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

: IMMZIND26 - XML Representation

Draft as of 2025-06-11

Raw xml | Download


<Measure xmlns="http://hl7.org/fhir">
  <id value="IMMZIND26"/>
  <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">IMMZIND26</td>
</tr>


<tr>

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

<td class="content-container">IMMZIND26</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.26 Immunization coverage for yellow fever vaccine</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.26.IP
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Initial Population</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#immzind26logic-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.26.D
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Denominator</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#immzind26logic-denominator">Denominator</a> 
          
        
      </td>
    </tr>
  

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

      
      <td class="content-container">
        
        <em>ID</em>: IMMZ.IND.26.N
        <br/>
        
        
          <em>Description</em>:
          <p style="white-space: pre-line" class="tab-one">Numerator</p>
        
        
          
            
            <em>Logic Definition</em>: <a href="#immzind26logic-numerator">Numerator</a> 
          
        
      </td>
    </tr>
  

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

  <td class="content-container">
    
      <em>ID</em>: IMMZ.IND.26.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.26.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.26.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.26.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-IMMZIND26Logic.html">IMMZIND26Logic</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 Yellowfever
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="Library-IMMZD2DTYellowfeverElements.html">IMMZD2DTYellowfeverElements</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/Library/IMMZD2DTYellowfeverElements</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 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 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 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 Yellow fever vaccines
    
    <br/>
    
    
    
    
    
    
    <em>Resource</em>: <a href="ValueSet-IMMZ.Z.DE23.html">IMMZ.Z.DE23 ValueSet for Yellow fever vaccines</a>
    <br/>
    <em>Canonical URL</em>: <tt>http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE23</tt>
    
  </td>
</tr>


  
  <tr>
    <th scope="row" class="row-header">Direct Reference Code</th>
    <td class="content-container">
      
        <em>Display</em>: &lt; 18 years
        <br/>
      
      <em>Code</em>: P0Y--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 - 29 years
        <br/>
      
      <em>Code</em>: P18Y--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 - 49 years
        <br/>
      
      <em>Code</em>: P30Y--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 - 69 years
        <br/>
      
      <em>Code</em>: P50Y--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>: &gt;= 70 years
        <br/>
      
      <em>Code</em>: P70Y--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>: &lt; 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--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>: &gt;= 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
    <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, 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.DE23.html">IMMZ.Z.DE23 ValueSet for Yellow fever 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 &quot;Doses Administered to Patient&quot;:
  [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="immzd2dtyellowfeverelements-yellow-fever-doses-administered-to-patient"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@internal: Yellow fever containing Doses Administered to Patient
*/
define &quot;Yellow fever Doses Administered to Patient&quot;:
  Elements.&quot;Doses Administered to Patient&quot; I
  where
    I.vaccineCode in Concepts.&quot;Yellow fever vaccines&quot;</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@numerator: Number of yellow fever vaccine doses administered through routine services during the reporting period
@pseudocode: COUNT of immunization events WHERE &quot;Vaccine type&quot; = &quot;Yellow fever vaccines&quot; AND &quot;Date and time of vaccination&quot; is during the reporting period
*/
define &quot;Numerator&quot;:
    exists( Yellowfever.&quot;Yellow fever Doses Administered to Patient&quot; I
      where I.occurrence.toInterval() starts during &quot;Measurement Period&quot; )</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="immzindicatorelements-by-age-group-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 Group Stratifier
*/
define &quot;By Age Group Stratifier&quot;:
  case 
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 18 then Age.&quot;P0Y--P18Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 30 then Age.&quot;P18Y--P30Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 50 then Age.&quot;P30Y--P50Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 70 then Age.&quot;P50Y--P70Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &gt;= 70 then Age.&quot;P70Y--P9999Y&quot;
    else null
  end</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="immzind26logic-stratification-4"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Stratification 4&quot;:
	Elements.&quot;By Age Group Stratifier&quot;</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 &quot;Age Stratifier&quot;:
  case
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 1 then Age.&quot;P0Y--P1Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 2 then Age.&quot;P1Y--P2Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 3 then Age.&quot;P2Y--P3Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 4 then Age.&quot;P3Y--P4Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 5 then Age.&quot;P4Y--P5Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 6 then Age.&quot;P5Y--P6Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 7 then Age.&quot;P6Y--P7Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 8 then Age.&quot;P7Y--P8Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 9 then Age.&quot;P8Y--P9Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 10 then Age.&quot;P9Y--P10Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 11 then Age.&quot;P10Y--P11Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 12 then Age.&quot;P11Y--P12Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 13 then Age.&quot;P12Y--P13Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 14 then Age.&quot;P13Y--P14Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 15 then Age.&quot;P14Y--P15Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 16 then Age.&quot;P15Y--P16Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 17 then Age.&quot;P16Y--P17Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 18 then Age.&quot;P17Y--P18Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 19 then Age.&quot;P18Y--P19Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 20 then Age.&quot;P19Y--P20Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 21 then Age.&quot;P20Y--P21Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 22 then Age.&quot;P21Y--P22Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 23 then Age.&quot;P22Y--P23Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 24 then Age.&quot;P23Y--P24Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 25 then Age.&quot;P24Y--P25Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 26 then Age.&quot;P25Y--P26Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 27 then Age.&quot;P26Y--P27Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 28 then Age.&quot;P27Y--P28Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 29 then Age.&quot;P28Y--P29Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 30 then Age.&quot;P29Y--P30Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 31 then Age.&quot;P30Y--P31Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 32 then Age.&quot;P31Y--P32Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 33 then Age.&quot;P32Y--P33Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 34 then Age.&quot;P33Y--P34Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 35 then Age.&quot;P34Y--P35Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 36 then Age.&quot;P35Y--P36Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 37 then Age.&quot;P36Y--P37Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 38 then Age.&quot;P37Y--P38Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 39 then Age.&quot;P38Y--P39Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 40 then Age.&quot;P39Y--P40Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 41 then Age.&quot;P40Y--P41Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 42 then Age.&quot;P41Y--P42Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 43 then Age.&quot;P42Y--P43Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 44 then Age.&quot;P43Y--P44Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 45 then Age.&quot;P44Y--P45Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 46 then Age.&quot;P45Y--P46Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 47 then Age.&quot;P46Y--P47Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 48 then Age.&quot;P47Y--P48Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 49 then Age.&quot;P48Y--P49Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 50 then Age.&quot;P49Y--P50Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 51 then Age.&quot;P50Y--P51Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 52 then Age.&quot;P51Y--P52Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 53 then Age.&quot;P52Y--P53Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 54 then Age.&quot;P53Y--P54Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 55 then Age.&quot;P54Y--P55Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 56 then Age.&quot;P55Y--P56Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 57 then Age.&quot;P56Y--P57Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 58 then Age.&quot;P57Y--P58Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 59 then Age.&quot;P58Y--P59Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 60 then Age.&quot;P59Y--P60Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 61 then Age.&quot;P60Y--P61Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 62 then Age.&quot;P61Y--P62Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 63 then Age.&quot;P62Y--P63Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 64 then Age.&quot;P63Y--P64Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 65 then Age.&quot;P64Y--P65Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 66 then Age.&quot;P65Y--P66Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 67 then Age.&quot;P66Y--P67Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 68 then Age.&quot;P67Y--P68Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 69 then Age.&quot;P68Y--P69Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 70 then Age.&quot;P69Y--P70Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 71 then Age.&quot;P70Y--P71Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 72 then Age.&quot;P71Y--P72Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 73 then Age.&quot;P72Y--P73Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 74 then Age.&quot;P73Y--P74Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 75 then Age.&quot;P74Y--P75Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 76 then Age.&quot;P75Y--P76Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 77 then Age.&quot;P76Y--P77Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 78 then Age.&quot;P77Y--P78Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 79 then Age.&quot;P78Y--P79Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 80 then Age.&quot;P79Y--P80Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 81 then Age.&quot;P80Y--P81Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 82 then Age.&quot;P81Y--P82Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 83 then Age.&quot;P82Y--P83Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 84 then Age.&quot;P83Y--P84Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 85 then Age.&quot;P84Y--P85Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 86 then Age.&quot;P85Y--P86Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 87 then Age.&quot;P86Y--P87Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 88 then Age.&quot;P87Y--P88Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 89 then Age.&quot;P88Y--P89Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 90 then Age.&quot;P89Y--P90Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 91 then Age.&quot;P90Y--P91Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 92 then Age.&quot;P91Y--P92Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 93 then Age.&quot;P92Y--P93Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 94 then Age.&quot;P93Y--P94Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 95 then Age.&quot;P94Y--P95Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 96 then Age.&quot;P95Y--P96Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 97 then Age.&quot;P96Y--P97Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 98 then Age.&quot;P97Y--P98Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 99 then Age.&quot;P98Y--P99Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 100 then Age.&quot;P99Y--P100Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &gt;= 100 then Age.&quot;P100Y--P9999Y&quot;
    else null
  end</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="immzind26logic-stratification-3"> </a>
    
    Logic Definition
  </th>

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Stratification 3&quot;:
	Elements.&quot;Age Stratifier&quot;</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 &quot;By Administrative Gender Stratifier&quot;:
    case 
        when Patient.gender = 'male' then &quot;Males&quot;
        when Patient.gender = 'female' then &quot;Females&quot;
        else &quot;Other&quot;
    end</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define &quot;Stratification 2&quot;:
	Elements.&quot;By Administrative Gender Stratifier&quot;</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 &quot;By Geographic Region Stratifier&quot;:
    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="immzind26logic-stratification-1"> </a>
    
    Logic Definition
  </th>

  <td class="content-container"><em>Library Name:</em> IMMZIND26Logic</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 &quot;Stratification 1&quot;:
	Elements.&quot;By Geographic Region Stratifier&quot;</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
@denominator: Number in target group
@pseudocode: As defined by the Member States
*/
define &quot;Denominator&quot;:
  true</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">/*
 * As defined by Member State
 */
define &quot;Initial Population&quot;:
  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="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&lt;FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range&gt;):
  case
    when choice is FHIR.dateTime then
      Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]
    when choice is FHIR.Period then
      FHIRHelpers.ToInterval(choice as FHIR.Period)
    when choice is FHIR.instant then
      Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]
    when choice is FHIR.Age then
      Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),
        FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)
    when choice is FHIR.Range then
      Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),
        FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)
    when choice is FHIR.Timing then
      Message(null as Interval&lt;DateTime&gt;, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported')
    when choice is FHIR.string then
      Message(null as Interval&lt;DateTime&gt;, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a String value is not supported')
    else
      null as Interval&lt;DateTime&gt;
  end</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDateTime(value dateTime): value.value</code></pre>
  </td>

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

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

</tr>
<tr>

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

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDateTime(value instant): value.value</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToDate(value date): value.value</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToQuantity(quantity FHIR.Quantity):
    case
        when quantity is null then null
        when quantity.value is null then null
        when quantity.comparator is not null then
            Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')
        when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'
              or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then
            System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }
        else
            Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' &amp; quantity.unit.value &amp; ' (' &amp; quantity.system.value &amp; '|' &amp; quantity.code.value &amp; ')')
    end</code></pre>
  </td>

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

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

</tr>
<tr>

  <td>
    <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">define function ToCalendarUnit(unit System.String):
    case unit
        when 'ms' then 'millisecond'
        when 's' then 'second'
        when 'min' then 'minute'
        when 'h' then 'hour'
        when 'd' then 'day'
        when 'wk' then 'week'
        when 'mo' then 'month'
        when 'a' then 'year'
        else unit
    end</code></pre>
  </td>

</tr>
        
<tr>
  <th scope="row" rowspan="2" class="row-header">
    
      
      <a name="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--P18Y"/>
          <display value="&lt; 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="P18Y--P30Y"/>
          <display value="18 - 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--P50Y"/>
          <display value="30 - 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--P70Y"/>
          <display value="50 - 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--P9999Y"/>
          <display value="&gt;= 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="P0Y--P1Y"/>
          <display value="&lt; 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="&gt;= 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 &quot;Doses Administered to Patient&quot;:
  [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="IMMZD2DTYellowfeverElements"/>
        </extension>
        <extension url="name">
          <valueString value="Yellow fever Doses Administered to Patient"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@internal: Yellow fever containing Doses Administered to Patient
*/
define &quot;Yellow fever Doses Administered to Patient&quot;:
  Elements.&quot;Doses Administered to Patient&quot; I
  where
    I.vaccineCode in Concepts.&quot;Yellow fever vaccines&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Numerator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@numerator: Number of yellow fever vaccine doses administered through routine services during the reporting period
@pseudocode: COUNT of immunization events WHERE &quot;Vaccine type&quot; = &quot;Yellow fever vaccines&quot; AND &quot;Date and time of vaccination&quot; is during the reporting period
*/
define &quot;Numerator&quot;:
    exists( Yellowfever.&quot;Yellow fever Doses Administered to Patient&quot; I
      where I.occurrence.toInterval() starts during &quot;Measurement Period&quot; )"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="2"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIndicatorElements"/>
        </extension>
        <extension url="name">
          <valueString value="By Age Group Stratifier"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@stratifier: Age Group Stratifier
*/
define &quot;By Age Group Stratifier&quot;:
  case 
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 18 then Age.&quot;P0Y--P18Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 30 then Age.&quot;P18Y--P30Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 50 then Age.&quot;P30Y--P50Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 70 then Age.&quot;P50Y--P70Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &gt;= 70 then Age.&quot;P70Y--P9999Y&quot;
    else null
  end"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="3"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Stratification 4"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Stratification 4&quot;:
	Elements.&quot;By Age Group Stratifier&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="4"/>
        </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 &quot;Age Stratifier&quot;:
  case
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 1 then Age.&quot;P0Y--P1Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 2 then Age.&quot;P1Y--P2Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 3 then Age.&quot;P2Y--P3Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 4 then Age.&quot;P3Y--P4Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 5 then Age.&quot;P4Y--P5Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 6 then Age.&quot;P5Y--P6Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 7 then Age.&quot;P6Y--P7Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 8 then Age.&quot;P7Y--P8Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 9 then Age.&quot;P8Y--P9Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 10 then Age.&quot;P9Y--P10Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 11 then Age.&quot;P10Y--P11Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 12 then Age.&quot;P11Y--P12Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 13 then Age.&quot;P12Y--P13Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 14 then Age.&quot;P13Y--P14Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 15 then Age.&quot;P14Y--P15Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 16 then Age.&quot;P15Y--P16Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 17 then Age.&quot;P16Y--P17Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 18 then Age.&quot;P17Y--P18Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 19 then Age.&quot;P18Y--P19Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 20 then Age.&quot;P19Y--P20Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 21 then Age.&quot;P20Y--P21Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 22 then Age.&quot;P21Y--P22Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 23 then Age.&quot;P22Y--P23Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 24 then Age.&quot;P23Y--P24Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 25 then Age.&quot;P24Y--P25Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 26 then Age.&quot;P25Y--P26Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 27 then Age.&quot;P26Y--P27Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 28 then Age.&quot;P27Y--P28Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 29 then Age.&quot;P28Y--P29Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 30 then Age.&quot;P29Y--P30Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 31 then Age.&quot;P30Y--P31Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 32 then Age.&quot;P31Y--P32Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 33 then Age.&quot;P32Y--P33Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 34 then Age.&quot;P33Y--P34Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 35 then Age.&quot;P34Y--P35Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 36 then Age.&quot;P35Y--P36Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 37 then Age.&quot;P36Y--P37Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 38 then Age.&quot;P37Y--P38Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 39 then Age.&quot;P38Y--P39Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 40 then Age.&quot;P39Y--P40Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 41 then Age.&quot;P40Y--P41Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 42 then Age.&quot;P41Y--P42Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 43 then Age.&quot;P42Y--P43Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 44 then Age.&quot;P43Y--P44Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 45 then Age.&quot;P44Y--P45Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 46 then Age.&quot;P45Y--P46Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 47 then Age.&quot;P46Y--P47Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 48 then Age.&quot;P47Y--P48Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 49 then Age.&quot;P48Y--P49Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 50 then Age.&quot;P49Y--P50Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 51 then Age.&quot;P50Y--P51Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 52 then Age.&quot;P51Y--P52Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 53 then Age.&quot;P52Y--P53Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 54 then Age.&quot;P53Y--P54Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 55 then Age.&quot;P54Y--P55Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 56 then Age.&quot;P55Y--P56Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 57 then Age.&quot;P56Y--P57Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 58 then Age.&quot;P57Y--P58Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 59 then Age.&quot;P58Y--P59Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 60 then Age.&quot;P59Y--P60Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 61 then Age.&quot;P60Y--P61Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 62 then Age.&quot;P61Y--P62Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 63 then Age.&quot;P62Y--P63Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 64 then Age.&quot;P63Y--P64Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 65 then Age.&quot;P64Y--P65Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 66 then Age.&quot;P65Y--P66Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 67 then Age.&quot;P66Y--P67Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 68 then Age.&quot;P67Y--P68Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 69 then Age.&quot;P68Y--P69Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 70 then Age.&quot;P69Y--P70Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 71 then Age.&quot;P70Y--P71Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 72 then Age.&quot;P71Y--P72Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 73 then Age.&quot;P72Y--P73Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 74 then Age.&quot;P73Y--P74Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 75 then Age.&quot;P74Y--P75Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 76 then Age.&quot;P75Y--P76Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 77 then Age.&quot;P76Y--P77Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 78 then Age.&quot;P77Y--P78Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 79 then Age.&quot;P78Y--P79Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 80 then Age.&quot;P79Y--P80Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 81 then Age.&quot;P80Y--P81Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 82 then Age.&quot;P81Y--P82Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 83 then Age.&quot;P82Y--P83Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 84 then Age.&quot;P83Y--P84Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 85 then Age.&quot;P84Y--P85Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 86 then Age.&quot;P85Y--P86Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 87 then Age.&quot;P86Y--P87Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 88 then Age.&quot;P87Y--P88Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 89 then Age.&quot;P88Y--P89Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 90 then Age.&quot;P89Y--P90Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 91 then Age.&quot;P90Y--P91Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 92 then Age.&quot;P91Y--P92Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 93 then Age.&quot;P92Y--P93Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 94 then Age.&quot;P93Y--P94Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 95 then Age.&quot;P94Y--P95Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 96 then Age.&quot;P95Y--P96Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 97 then Age.&quot;P96Y--P97Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 98 then Age.&quot;P97Y--P98Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 99 then Age.&quot;P98Y--P99Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &lt; 100 then Age.&quot;P99Y--P100Y&quot;
    when AgeInYearsAt(end of &quot;Measurement Period&quot;) &gt;= 100 then Age.&quot;P100Y--P9999Y&quot;
    else null
  end"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="5"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Stratification 3"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Stratification 3&quot;:
	Elements.&quot;Age Stratifier&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="6"/>
        </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 &quot;By Administrative Gender Stratifier&quot;:
    case 
        when Patient.gender = 'male' then &quot;Males&quot;
        when Patient.gender = 'female' then &quot;Females&quot;
        else &quot;Other&quot;
    end"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="7"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Stratification 2"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define &quot;Stratification 2&quot;:
	Elements.&quot;By Administrative Gender Stratifier&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="8"/>
        </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 &quot;By Geographic Region Stratifier&quot;:
    First(Patient.address A where A.use in { 'home' }).state"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="9"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </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 &quot;Stratification 1&quot;:
	Elements.&quot;By Geographic Region Stratifier&quot;"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="10"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Denominator"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
@denominator: Number in target group
@pseudocode: As defined by the Member States
*/
define &quot;Denominator&quot;:
  true"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="11"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition">
        <extension url="libraryName">
          <valueString value="IMMZIND26Logic"/>
        </extension>
        <extension url="name">
          <valueString value="Initial Population"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="/*
 * As defined by Member State
 */
define &quot;Initial Population&quot;:
  true"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="12"/>
        </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="13"/>
        </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="14"/>
        </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="15"/>
        </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="16"/>
        </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&lt;FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range&gt;):
  case
    when choice is FHIR.dateTime then
      Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]
    when choice is FHIR.Period then
      FHIRHelpers.ToInterval(choice as FHIR.Period)
    when choice is FHIR.instant then
      Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]
    when choice is FHIR.Age then
      Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),
        FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)
    when choice is FHIR.Range then
      Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),
        FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)
    when choice is FHIR.Timing then
      Message(null as Interval&lt;DateTime&gt;, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a Timing value is not supported')
    when choice is FHIR.string then
      Message(null as Interval&lt;DateTime&gt;, true, 'NOT_IMPLEMENTED', 'Error', 'Calculation of an interval from a String value is not supported')
    else
      null as Interval&lt;DateTime&gt;
  end"/>
        </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="ToDateTime"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToDateTime(value dateTime): value.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="ToInterval"/>
        </extension>
        <extension url="statement">
          <valueString
                       value="define function ToInterval(period FHIR.Period):
    if period is null then
        null
    else
        if period.&quot;start&quot; is null then
            Interval(period.&quot;start&quot;.value, period.&quot;end&quot;.value]
        else
            Interval[period.&quot;start&quot;.value, period.&quot;end&quot;.value]"/>
        </extension>
        <extension url="displaySequence">
          <valueInteger value="19"/>
        </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="20"/>
        </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="21"/>
        </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: ' &amp; quantity.unit.value &amp; ' (' &amp; quantity.system.value &amp; '|' &amp; quantity.code.value &amp; ')')
    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="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="23"/>
        </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="24"/>
        </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="25"/>
        </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 Yellowfever"/>
        <resource
                  value="http://smart.who.int/immunizations/Library/IMMZD2DTYellowfeverElements"/>
      </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 WC"/>
        <resource
                  value="http://smart.who.int/immunizations/Library/WHOCommon"/>
      </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 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 Yellow fever vaccines"/>
        <resource
                  value="http://smart.who.int/immunizations/ValueSet/IMMZ.Z.DE23"/>
      </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"/>
        <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="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.DE23"/>
        </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/IMMZIND26"/>
  <version value="1.0.0"/>
  <name value="IMMZIND26"/>
  <title value="IMMZIND26"/>
  <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.26 Immunization coverage for yellow fever vaccine"/>
  <library value="http://smart.who.int/immunizations/Library/IMMZIND26Logic"/>
  <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.26.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.26.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.26.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.26.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.26.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.26.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.26.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>