<?xml version='1.0' encoding='UTF-8'?>
<Library xmlns="http://hl7.org/fhir" xmlns:html="http://www.w3.org/1999/xhtml">
  <id value="IMMZElements" />
  <meta>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary" />
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary" />
    <profile value="http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library" />
    <profile value="http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module" />
  </meta>
  <text>
    <status value="extensions" /><html:div>
<html:div>
    <html:table class="grid dict">
        
        
        <html:tr>
            <html:th scope="row"><html:b>Title: </html:b></html:th>
            <html:td style="padding-left: 4px;">IMMZElements</html:td>
        </html:tr>
        

        
        
        <html:tr>
            <html:th scope="row"><html:b>Id: </html:b></html:th>
            <html:td style="padding-left: 4px;">IMMZElements</html:td>
        </html:tr>
        

        
        
        <html:tr>
            <html:th scope="row"><html:b>Version: </html:b></html:th>
            <html:td style="padding-left: 4px;">0.2.0</html:td>
        </html:tr>
        

        
        <html:tr>
            <html:th scope="row"><html:b>Url: </html:b></html:th>
            <html:td style="padding-left: 4px;"><html:a href="Library-IMMZElements.html">IMMZElements</html:a></html:td>
        </html:tr>
        

        

        

        
        <html:tr>
            <html:th scope="row"><html:b>Status: </html:b></html:th>
            <html:td style="padding-left: 4px;">draft</html:td>
        </html:tr>
        

        

        
        <html:tr>
            <html:th scope="row"><html:b>Type: </html:b></html:th>
            <html:td style="padding-left: 4px;">
                
                    
                        
                        <html:p style="margin-bottom: 5px;">
                            <html:b>system: </html:b> <html:span><html:a href="http://terminology.hl7.org/7.1.0/CodeSystem-library-type.html">http://terminology.hl7.org/CodeSystem/library-type</html:a></html:span>
                        </html:p>
                        
                        
                        <html:p style="margin-bottom: 5px;">
                            <html:b>code: </html:b> <html:span>logic-library</html:span>
                        </html:p>
                        
                        
                    
                
                
            </html:td>
        </html:tr>
        

        

        
        <html:tr>
            <html:th scope="row"><html:b>Date: </html:b></html:th>
            <html:td style="padding-left: 4px;">2026-03-25 23:30:34+0000</html:td>
        </html:tr>
        

        
        <html:tr>
            <html:th scope="row"><html:b>Publisher: </html:b></html:th>
            <html:td style="padding-left: 4px;">WHO</html:td>
        </html:tr>
        

        
        <html:tr>
            <html:th scope="row"><html:b>Description: </html:b></html:th>
            <html:td style="padding-left: 4px;"><html:div><html:p>This library defines context-independent elements used throughout the Immunization CPG</html:p>
</html:div></html:td>
        </html:tr>
        

        

        

        

        

        

        

        

        

        

        

        
        <html:tr>
            <html:th scope="row"><html:b>Related Artifacts: </html:b></html:th>
            <html:td style="padding-left: 4px;">
                
                
                
                <html:p><html:b>Dependencies</html:b></html:p>
                <html:ul>
                  
                    <html:li><html:a href="Library-WHOConcepts.html">WHOConcepts</html:a></html:li>
                  
                    <html:li><html:a href="Library-WHOCommon.html">WHOCommon</html:a></html:li>
                  
                    <html:li><html:a href="Library-WHOElements.html">WHOElements</html:a></html:li>
                  
                    <html:li><html:a href="Library-IMMZConcepts.html">IMMZConcepts</html:a></html:li>
                  
                    <html:li><html:a href="Library-IMMZCommon.html">IMMZCommon</html:a></html:li>
                  
                </html:ul>
                
                
                
                
                
            </html:td>
        </html:tr>
        

        
        <html:tr>
          <html:th scope="row"><html:b>Parameters: </html:b></html:th>
          <html:td style="padding-left: 4px;">
            <html:table class="grid-dict">
              <html:tr><html:th><html:b>Name</html:b></html:th><html:th><html:b>Type</html:b></html:th><html:th><html:b>Min</html:b></html:th><html:th><html:b>Max</html:b></html:th><html:th><html:b>In/Out</html:b></html:th></html:tr>
              
                <html:tr><html:th>Patient</html:th><html:th>Patient</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Doses Administered to Patient</html:th><html:th>Immunization</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Draft Medication Request for Patient</html:th><html:th>MedicationRequest</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Live Attenuated Vaccines</html:th><html:th>Immunization</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Date of Latest Live Attenuated Vaccine</html:th><html:th>date</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Current Patient Age In Years</html:th><html:th>integer</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Current Patient Age In Months</html:th><html:th>integer</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Current Patient Age In Weeks</html:th><html:th>integer</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Current Patient Age In Days</html:th><html:th>integer</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>No live vaccine was administered</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Live vaccine was administered in the last 4 weeks</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>No live vaccine was administered in the last 4 weeks</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Potential contraindications</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Currently pregnant Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Currently pregnant Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is pregnant</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI History of anaphylactic reactions Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI History of anaphylactic reactions Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has history of anaphylactic reactions</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severe allergic reactions Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severe allergic reactions Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has history of severe allergic reactions</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severely immunocompromised Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severely immunocompromised Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is severely immunocompromised</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severely immunosuppressed Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severely immunosuppressed Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is severely immunosuppressed</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Symptomatic HIV infection Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Symptomatic HIV infection Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has a symptomatic HIV infection</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Immunodeficiency syndromes Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Immunodeficiency syndromes Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has immunodeficiency syndromes</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Exposed to immunosuppressive treatment Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Exposed to immunosuppressive treatment Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is exposed to immunosuppressive treatment</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severe acute illness Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Severe acute illness Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client currently has a severe acute illness</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Prior history of intussusception Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Prior history of intussusception Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has prior history of intussusception</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Altered immunocompetence Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Altered immunocompetence Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has altered immunocompetence</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Spina bifida Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Spina bifida Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has spina bifida</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Bladder exstrophy Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Bladder exstrophy Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has bladder exstrophy</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Immunocompromised Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is immunocompromised</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Immunocompromised Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Immunocompromised Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is immunocompromised</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Planning to get pregnant in the next month Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Planning to get pregnant in the next month Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is planning to get pregnant in next month</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Receiving blood products Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Receiving blood products Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is receiving blood products</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI TB disease Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI TB disease Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has TB disease</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Breastfeeding Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Breastfeeding Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is lactating</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Acute gastroenteritis Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Acute gastroenteritis Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has acute gastroenteritis</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Moderate to severe fever Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Moderate to severe fever Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has moderate to severe fever</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Hypersensitivity to vaccine components Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Hypersensitivity to vaccine components Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has hypersensitivity to any component of the vaccine</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Taking antibiotics Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Taking antibiotics Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client is currently taking antibiotics</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Chronic gastrointestinal disease Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>CI Chronic gastrointestinal disease Condition</html:th><html:th>Condition</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>The client has chronic gastrointestinal disease</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>HIV status Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's HIV status is positive</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's HIV status is negative or unknown</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Currently on ART Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is currently receiving antiretroviral therapy</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is currently not receiving antiretroviral therapy</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Immunologically stable Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is immunologically stable</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is not immunologically stable</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>TB infection test result Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's TB infection test result is negative</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's TB infection test result is positive</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's TB infection test result is unknown (test not done or no result yet)</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Clinically well Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is not clinically well</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is clinically well</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is not immunocompromised</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Birth weight in grams Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Birth weight in grams Value</html:th><html:th>Quantity</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Birth weight in grams</html:th><html:th>decimal</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's weight at birth was over 2000 g</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client's weight at birth was below 2000 g</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Preterm birth Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client was a premature infant at birth</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client was not a premature infant at birth</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Completed the primary vaccination series Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>At high risk for pneumococcal infection Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is at high risk for pneumococcal infection</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Client is not at high risk for pneumococcal infection</html:th><html:th>boolean</html:th><html:th>0</html:th><html:th>1</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Date when primary vaccination series was completed Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
                <html:tr><html:th>Completed the booster series Observation</html:th><html:th>Observation</html:th><html:th>0</html:th><html:th>*</html:th><html:th>Out</html:th></html:tr>
              
            </html:table>
          </html:td>
        </html:tr>
        

        
        <html:tr>
          <html:th scope="row"><html:b>Data Requirements:</html:b></html:th>
          <html:td style="padding-left: 4px;">
            <html:table class="grid-dict">
              <html:tr><html:th><html:b>Type</html:b></html:th><html:th><html:b>Profile</html:b></html:th><html:th><html:b>MS</html:b></html:th><html:th><html:b>Code Filter</html:b></html:th></html:tr>
              
                <html:tr>
                  <html:th>Immunization</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Immunization</html:th>
                  <html:th />
                  <html:th>
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>MedicationRequest</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/MedicationRequest</html:th>
                  <html:th />
                  <html:th>
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE161</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Potential contraindications</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE162</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Currently pregnant</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE166</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>History of anaphylactic reactions</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE167</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Severe allergic reactions</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE200</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Severely immunocompromised</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE165</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Severely immunosuppressed</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE168</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Symptomatic HIV infection</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE187</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Immunodeficiency syndromes</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE164</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Exposed to immunosuppressive treatment</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE188</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Severe acute illness</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE196</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Prior history of intussusception</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE197</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Altered immunocompetence</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE192</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Spina bifida</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE193</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Bladder exstrophy</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE209</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Immunocompromised</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE163</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Immunocompromised</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE169</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Planning to get pregnant in the next month</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE170</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Receiving blood products</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE190</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>TB disease</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE191</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Breastfeeding</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE194</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Acute gastroenteritis</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE195</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Moderate to severe fever</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE198</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Hypersensitivity to vaccine components</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE199</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Taking antibiotics</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Condition</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Condition</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DEXXX</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Chronic gastrointestinal disease</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE204</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>HIV status</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE210</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Currently on ART</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE249</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Immunologically stable</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE246</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>TB infection test result</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE250</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Clinically well</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE211</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Birth weight in grams</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE208</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Preterm birth</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE203</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Completed the primary vaccination series</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE251</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>At high risk for pneumococcal infection</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE221</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Date when primary vaccination series was completed</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
                <html:tr>
                  <html:th>Observation</html:th>
                  <html:th>http://hl7.org/fhir/StructureDefinition/Observation</html:th>
                  <html:th />
                  <html:th>
                    
                      <html:b>code filter: </html:b>
                      
                      <html:br />
                      
                      
                      <html:span style="padding-left: 4px;">
                          <html:b>path: </html:b><html:span>code</html:span>
                      </html:span>
                      
                      <html:br />
                      
                      
                      
                      
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>system: </html:b> <html:span><html:a href="CodeSystem-IMMZ.D.html">http://smart.who.int/immunizations/CodeSystem/IMMZ.D</html:a></html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>code: </html:b> <html:span>DE257</html:span>
                          </html:p>
                          
                          
                          <html:p style="margin-bottom: 5px;">
                              <html:b>display: </html:b> <html:span>Completed the booster series</html:span>
                          </html:p>
                          
                      
                    
                  </html:th>
                </html:tr>
              
            </html:table>
          </html:td>
        </html:tr>
        

        
        
        <html:tr>
          <html:td colspan="2">
            <html:table>
              <html:tr><html:th><html:a id="cql-content"><html:b>Content: </html:b></html:a> text/cql</html:th></html:tr>
              <html:tr><html:td><html:pre><html:code class="language-cql">library IMMZElements

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

include WHOConcepts
include WHOCommon called WC
include WHOElements called WE

include IMMZConcepts called Concepts
include IMMZCommon called Common

context Patient

/**
 * @dataElement All Doses Administered to Patient
 */
define "Doses Administered to Patient":
  [Immunization] I
    where I.status = 'completed'
    and I.isSubpotent is not true

/*
@dataElement: Draft Medication Request for Patient
*/
define "Draft Medication Request for Patient":
	[MedicationRequest] MR where MR.status = 'draft' and MR.intent = 'proposal'
	sort by date from (authoredOn as FHIR.dateTime) desc

/*
  @dataElement: Live attenuated vaccines
*/
define "Live Attenuated Vaccines":
  "Doses Administered to Patient" I 
    where I.vaccineCode in Concepts."Live Attenuated"

/*
  @dataElement: Date and time of last live attenuated vaccine
*/
define "Date of Latest Live Attenuated Vaccine":
  date from start of "Live Attenuated Vaccines".mostRecent().occurrence.toInterval()

/** 
 * @dataElement Patient age in years
 */
define "Current Patient Age In Years":
  AgeInYearsAt(Today())

/** 
 * @dataElement Patient age in months
 */
define "Current Patient Age In Months":
  AgeInMonthsAt(Today())

/** 
 * @dataElement Patient age in weeks
 */
define "Current Patient Age In Weeks":
  AgeInWeeksAt(Today())

/** 
 * @dataElement Patient age in days
 */
define "Current Patient Age In Days":
  AgeInDaysAt(Today())

/*
@input: No live vaccine was administered
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) IS NULL
*/
define "No live vaccine was administered":
  not exists("Live Attenuated Vaccines")

/*
@input: Live vaccine was administered in the last 4 weeks
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) &lt; 4 weeks
*/
define "Live vaccine was administered in the last 4 weeks":
	"Date of Latest Live Attenuated Vaccine" is not null 
    and duration in weeks between "Date of Latest Live Attenuated Vaccine" and Now() &lt; 4

/*
@input: No live vaccine was administered in the last 4 weeks
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) ≥ 4 weeks
*/
define "No live vaccine was administered in the last 4 weeks":
  not("Live vaccine was administered in the last 4 weeks")

/*
@internal: Potential contraindications observations
*/
define "Potential contraindications":
  ([Observation: Concepts."Potential contraindications"]).complete()

/*
@input: The client is pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
*/
define "The client is pregnant":
  exists "CI Currently pregnant Observation"
  or exists "CI Currently pregnant Condition"
  or exists WE."Pregnant Observation"

/*
@internal: Observation for currently pregnant
*/
define "CI Currently pregnant Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Currently pregnant"

/*
@internal: Condition for currently pregnant
*/
define "CI Currently pregnant Condition":
  [Condition: Concepts."CI-Currently pregnant"]

/*
@input: The client has history of anaphylactic reactions
@pseudocode: "Potential contraindications" = "History of anaphylactic reactions"
*/
define "The client has history of anaphylactic reactions":
  exists "CI History of anaphylactic reactions Observation"
    or exists "CI History of anaphylactic reactions Condition"

/*
@internal: Observation for History of anaphylactic reactions
*/
define "CI History of anaphylactic reactions Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-History of anaphylactic reactions"

/*
@internal: Condition for History of anaphylactic reactions
*/
define "CI History of anaphylactic reactions Condition":
  [Condition: Concepts."CI-History of anaphylactic reactions"]


/*
@input: The client has history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
*/
define "The client has history of severe allergic reactions":
  exists "CI Severe allergic reactions Observation"
    or exists "CI Severe allergic reactions Condition"
    
/*
@internal: Observation for Severe allergic reactions
*/
define "CI Severe allergic reactions Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Severe allergic reactions"

/*
@internal: Condition for Severe allergic reactions
*/
define "CI Severe allergic reactions Condition":
  [Condition: Concepts."CI-Severe allergic reactions"]

/*
@input: The client is severely immunocompromised
@pseudocode: "Potential contraindications" = "Severely immunocompromised"
*/
define "The client is severely immunocompromised":
  exists "CI Severely immunocompromised Observation"
    or exists "CI Severely immunocompromised Condition"
    
/*
@internal: Observation for Severely immunocompromised
*/
define "CI Severely immunocompromised Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Severely immunocompromised"

/*
@internal: Condition for Severely immunocompromised
*/
define "CI Severely immunocompromised Condition":
  [Condition: Concepts."CI-Severely immunocompromised"]

/*
@input: The client is severely immunosuppressed
@pseudocode: "Potential contraindications" = "Severely immunosuppressed"
*/
define "The client is severely immunosuppressed":
  exists "CI Severely immunosuppressed Observation"
    or exists "CI Severely immunosuppressed Condition"
    
/*
@internal: Observation for Severely immunosuppressed
*/
define "CI Severely immunosuppressed Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Severely immunosuppressed"

/*
@internal: Condition for Severely immunosuppressed
*/
define "CI Severely immunosuppressed Condition":
  [Condition: Concepts."CI-Severely immunosuppressed"]

/*
@input: The client has a symptomatic HIV infection
@pseudocode: "Potential contraindications" = "Symptomatic HIV infection"
*/
define "The client has a symptomatic HIV infection":
  exists "CI Symptomatic HIV infection Observation"
    or exists "CI Symptomatic HIV infection Condition"
    
/*
@internal: Observation for Symptomatic HIV infection
*/
define "CI Symptomatic HIV infection Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Symptomatic HIV infection"

/*
@internal: Condition for Symptomatic HIV infection
*/
define "CI Symptomatic HIV infection Condition":
  [Condition: Concepts."CI-Symptomatic HIV infection"]

/*
@input: The client has immunodeficiency syndromes
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
*/
define "The client has immunodeficiency syndromes":
  exists "CI Immunodeficiency syndromes Observation"
    or exists "CI Immunodeficiency syndromes Condition"
    
/*
@internal: Observation for Immunodeficiency syndromes
*/
define "CI Immunodeficiency syndromes Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Immunodeficiency syndromes"

/*
@internal: Condition for Immunodeficiency syndromes
*/
define "CI Immunodeficiency syndromes Condition":
  [Condition: Concepts."CI-Immunodeficiency syndromes"]

/*
@input: The client is exposed to immunosuppressive treatment
@pseudocode: "Potential contraindications" = "Exposed to immunosuppressive treatment"
*/
define "The client is exposed to immunosuppressive treatment":
  exists "CI Exposed to immunosuppressive treatment Observation"
    or exists "CI Exposed to immunosuppressive treatment Condition"
    
/*
@internal: Observation for Exposed to immunosuppressive treatment
*/
define "CI Exposed to immunosuppressive treatment Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Exposed to immunosuppressive treatment"

/*
@internal: Condition for Exposed to immunosuppressive treatment
*/
define "CI Exposed to immunosuppressive treatment Condition":
  [Condition: Concepts."CI-Exposed to immunosuppressive treatment"]

/*
@input: The client currently has a severe acute illness
@pseudocode: "Potential contraindications" = "Severe acute illness"
*/
define "The client currently has a severe acute illness":
  exists "CI Severe acute illness Observation"
    or exists "CI Severe acute illness Condition"
    
/*
@internal: Observation for Severe acute illness
*/
define "CI Severe acute illness Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Severe acute illness"

/*
@internal: Condition for Severe acute illness
*/
define "CI Severe acute illness Condition":
  [Condition: Concepts."CI-Severe acute illness"]

/*
@input: The client has prior history of intussusception
@pseudocode: "Potential contraindications" = "Prior history of intussusception"
*/
define "The client has prior history of intussusception":
  exists "CI Prior history of intussusception Observation"
    or exists "CI Prior history of intussusception Condition"
    
/*
@internal: Observation for Prior history of intussusception
*/
define "CI Prior history of intussusception Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Prior history of intussusception"

/*
@internal: Condition for Prior history of intussusception
*/
define "CI Prior history of intussusception Condition":
  [Condition: Concepts."CI-Prior history of intussusception"]

/*
@input: The client has altered immunocompetence
@pseudocode: "Potential contraindications" = "Altered immunocompetence"
*/
define "The client has altered immunocompetence":
  exists "CI Altered immunocompetence Observation"
    or exists "CI Altered immunocompetence Condition"
    
/*
@internal: Observation for Altered immunocompetence
*/
define "CI Altered immunocompetence Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Altered immunocompetence"

/*
@internal: Condition for Altered immunocompetence
*/
define "CI Altered immunocompetence Condition":
  [Condition: Concepts."CI-Altered immunocompetence"]

/*
@input: The client has spina bifida
@pseudocode: "Potential contraindications" = "Spina bifida"
*/
define "The client has spina bifida":
  exists "CI Spina bifida Observation"
    or exists "CI Spina bifida Condition"
    
/*
@internal: Observation for Spina bifida
*/
define "CI Spina bifida Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Spina bifida"

/*
@internal: Condition for Spina bifida
*/
define "CI Spina bifida Condition":
  [Condition: Concepts."CI-Spina bifida"]

/*
@input: The client has bladder exstrophy
@pseudocode: "Potential contraindications" = "Bladder exstrophy"
*/
define "The client has bladder exstrophy":
  exists "CI Bladder exstrophy Observation"
    or exists "CI Bladder exstrophy Condition"
    
/*
@internal: Observation for Bladder exstrophy
*/
define "CI Bladder exstrophy Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Bladder exstrophy"

/*
@internal: Condition for Bladder exstrophy
*/
define "CI Bladder exstrophy Condition":
  [Condition: Concepts."CI-Bladder exstrophy"]

/*
@input: The client is immunocompromised
@pseudocode: "Potential contraindications" = "Immunocompromised"
*/
define "The client is immunocompromised":
  "Client is immunocompromised"
    or exists "CI Immunocompromised Observation"
    or exists "CI Immunocompromised Condition"

/*
@internal: Observation for Immunocompromised
*/
define "CI Immunocompromised Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Immunocompromised"

/*
@internal: Condition for Immunocompromised
*/
define "CI Immunocompromised Condition":
  [Condition: Concepts."CI-Immunocompromised"]


/*
@input: The client is planning to get pregnant in next month
@pseudocode: "Potential contraindications" = "Planning to get pregnant in the next month"
*/
define "The client is planning to get pregnant in next month":
  exists "CI Planning to get pregnant in the next month Observation"
    or exists "CI Planning to get pregnant in the next month Condition"

/*
@internal: Observation for Planning to get pregnant in the next month
*/
define "CI Planning to get pregnant in the next month Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Planning to get pregnant in the next month"

/*
@internal: Condition for Planning to get pregnant in the next month
*/
define "CI Planning to get pregnant in the next month Condition":
  [Condition: Concepts."CI-Planning to get pregnant in the next month"]


/*
@input: The client is receiving blood products
@pseudocode: "Potential contraindications" = "Receiving blood products"
*/
define "The client is receiving blood products":
  exists "CI Receiving blood products Observation"
    or exists "CI Receiving blood products Condition"

/*
@internal: Observation for Receiving blood products
*/
define "CI Receiving blood products Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Receiving blood products"

/*
@internal: Condition for Receiving blood products
*/
define "CI Receiving blood products Condition":
  [Condition: Concepts."CI-Receiving blood products"]


/*
@input: The client has TB disease
@pseudocode: "Potential contraindications" = "TB disease"
*/
define "The client has TB disease":
  exists "CI TB disease Observation"
    or exists "CI TB disease Condition"

/*
@internal: Observation for TB disease
*/
define "CI TB disease Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-TB disease"

/*
@internal: Condition for TB disease
*/
define "CI TB disease Condition":
  [Condition: Concepts."CI-TB disease"]


/*
@input: The client is lactating
@pseudocode: "Potential contraindications" = "Breastfeeding"
*/
define "The client is lactating":
  exists "CI Breastfeeding Observation"
    or exists "CI Breastfeeding Condition"

/*
@internal: Observation for Breastfeeding
*/
define "CI Breastfeeding Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Breastfeeding"

/*
@internal: Condition for Breastfeeding
*/
define "CI Breastfeeding Condition":
  [Condition: Concepts."CI-Breastfeeding"]


/*
@input: The client has acute gastroenteritis
@pseudocode: "Potential contraindications" = "Acute gastroenteritis"
*/
define "The client has acute gastroenteritis":
  exists "CI Acute gastroenteritis Observation"
    or exists "CI Acute gastroenteritis Condition"

/*
@internal: Observation for Acute gastroenteritis
*/
define "CI Acute gastroenteritis Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Acute gastroenteritis"

/*
@internal: Condition for Acute gastroenteritis
*/
define "CI Acute gastroenteritis Condition":
  [Condition: Concepts."CI-Acute gastroenteritis"]


/*
@input: The client has moderate to severe fever
@pseudocode: "Potential contraindications" = "Moderate to severe fever"
*/
define "The client has moderate to severe fever":
  exists "CI Moderate to severe fever Observation"
    or exists "CI Moderate to severe fever Condition"

/*
@internal: Observation for Moderate to severe fever
*/
define "CI Moderate to severe fever Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Moderate to severe fever"

/*
@internal: Condition for Moderate to severe fever
*/
define "CI Moderate to severe fever Condition":
  [Condition: Concepts."CI-Moderate to severe fever"]


/*
@input: The client has hypersensitivity to any component of the vaccine
@pseudocode: "Potential contraindications" = "Hypersensitivity to vaccine components"
*/
define "The client has hypersensitivity to any component of the vaccine":
  exists "CI Hypersensitivity to vaccine components Observation"
    or exists "CI Hypersensitivity to vaccine components Condition"

/*
@internal: Observation for Hypersensitivity to vaccine components
*/
define "CI Hypersensitivity to vaccine components Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Hypersensitivity to vaccine components"

/*
@internal: Condition for Hypersensitivity to vaccine components
*/
define "CI Hypersensitivity to vaccine components Condition":
  [Condition: Concepts."CI-Hypersensitivity to vaccine components"]


/*
@input: The client is currently taking antibiotics
@pseudocode: "Potential contraindications" = "Taking antibiotics"
*/
define "The client is currently taking antibiotics":
  exists "CI Taking antibiotics Observation"
    or exists "CI Taking antibiotics Condition"

/*
@internal: Observation for Taking antibiotics
*/
define "CI Taking antibiotics Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Taking antibiotics"

/*
@internal: Condition for Taking antibiotics
*/
define "CI Taking antibiotics Condition":
  [Condition: Concepts."CI-Taking antibiotics"]

/*
@input: The client has chronic gastrointestinal disease
@pseudocode: "Potential contraindications" = "Chronic gastrointestinal disease"
*/
define "The client has chronic gastrointestinal disease":
  exists "CI Chronic gastrointestinal disease Observation"
    or exists "CI Chronic gastrointestinal disease Condition"

/*
@internal: Observation for Chronic gastrointestinal disease
*/
define "CI Chronic gastrointestinal disease Observation":
  "Potential contraindications" O
    where O.value ~ Concepts."CI-Chronic gastrointestinal disease"

/*
@internal: Condition for Chronic gastrointestinal disease
*/
define "CI Chronic gastrointestinal disease Condition":
  [Condition: Concepts."CI-Chronic gastrointestinal disease"]



/*
@internal: HIV Status Observation
*/
define "HIV status Observation":
  ([Observation: Concepts."HIV status"]).complete()

/*
@input: Client's HIV status is negative or unknown
@pseudocode: "HIV status" ≠ "HIV-positive"
*/
define "Client's HIV status is negative or unknown":
  not "Client's HIV status is positive"

/*
@input: Client's HIV status is positive
@pseudocode: "HIV status" = "HIV-positive"
*/
define "Client's HIV status is positive":
  exists( "HIV status Observation" O
    where O.value ~ Concepts."HIV-positive" )

/*
@internal: Currently on ART Observation
*/
define "Currently on ART Observation":
  ([Observation: Concepts."Currently on ART"] O
    sort by end of effective.toInterval() desc).complete()

/*
@input: Client is currently receiving antiretroviral therapy
@pseudocode: "Currently on ART" = TRUE
*/
define "Client is currently receiving antiretroviral therapy":
  exists("Currently on ART Observation")
  and First("Currently on ART Observation").value = true

/*
@input: Client is currently not receiving antiretroviral therapy
@pseudocode: "Currently on ART" = FALSE
*/
define "Client is currently not receiving antiretroviral therapy":
  not exists("Currently on ART Observation")
  or First("Currently on ART Observation").value = false

/*
@internal: Immunologically stable Observation
*/
define "Immunologically stable Observation":
  ([Observation: Concepts."Immunologically stable"] O
    sort by end of effective.toInterval() desc).complete()

/*
@input: Client is immunologically stable
@pseudocode: "Immunologically stable" = TRUE
*/
define "Client is immunologically stable":
  exists("Immunologically stable Observation")
  and First("Immunologically stable Observation").value = true

/*
@input: Client is not immunologically stable
@pseudocode: "Immunologically stable" = FALSE
*/
define "Client is not immunologically stable":
  exists("Immunologically stable Observation")
  and First("Immunologically stable Observation").value = false

/*
@internal: TB infection test result Observation
*/
define "TB infection test result Observation":
  ([Observation: Concepts."TB infection test result"] O
    sort by end of effective.toInterval() desc).complete()

/*
@input: Client's TB infection test result is negative
@pseudocode: "TB infection test result" = "Negative"
*/
define "Client's TB infection test result is negative":
  exists("TB infection test result Observation")
  and First( "TB infection test result Observation" ).value ~ Concepts."TB-Negative"
/*
@input: Client's TB infection test result is unknown (test not done or no result yet)
@pseudocode: "TB infection test result" IS NULL
*/
define "Client's TB infection test result is unknown (test not done or no result yet)":
  not exists( "TB infection test result Observation" ) or (
    not ("Client's TB infection test result is negative") and not ("Client's TB infection test result is positive")
  )
/*
@input: Client's TB infection test result is positive
@pseudocode: "TB infection test result" = "Positive"
*/
define "Client's TB infection test result is positive":
  exists("TB infection test result Observation")
  and First( "TB infection test result Observation" ).value ~ Concepts."TB-Positive"

/*
@internal: Clinically well Observation
*/
define "Clinically well Observation":
  ([Observation: Concepts."Clinically well"] O
    sort by end of effective.toInterval() desc).complete()

/*
@input: Client is not clinically well
@pseudocode: "Clinically well" = FALSE
*/
define "Client is not clinically well":
  exists("Clinically well Observation")
  and First( "Clinically well Observation" ).value = false 

/*
@input: Client is clinically well
@pseudocode: "Clinically well" = TRUE
*/
define "Client is clinically well":
  exists("Clinically well Observation")
  and First( "Clinically well Observation" ).value = true 

/*
@internal: Immunocompromised Observation
*/
define "Immunocompromised Observation":
  ([Observation: Concepts."Immunocompromised"] O
    sort by end of effective.toInterval() desc).complete()

/*
@input: Client is immunocompromised
@pseudocode: "Immunocompromised" = TRUE
*/
define "Client is immunocompromised":
  exists( "Immunocompromised Observation" ) and
  First( "Immunocompromised Observation" ).value = true 

/*
@input: Client is not immunocompromised
@pseudocode: "Immunocompromised" ≠ TRUE
*/
define "Client is not immunocompromised":
  not "Client is immunocompromised"

/*
@internal: Birth weight in grams Observation
*/
define "Birth weight in grams Observation":
  ([Observation: Concepts."Birth weight in grams"] O
    sort by end of effective.toInterval() desc).complete()

define "Birth weight in grams Value":
  First("Birth weight in grams Observation").value as FHIR.Quantity

define "Birth weight in grams":
  "Birth weight in grams Value".value as FHIR.decimal

/*
@input: Client's weight at birth was over 2000 g
@pseudocode: "Birth weight in grams"  ≥ 2000
*/
define "Client's weight at birth was over 2000 g":
  "Birth weight in grams" &gt;= 2000

/*
@input: Client's weight at birth was below 2000 g
@pseudocode: "Birth weight in grams" &lt; 2000
*/
define "Client's weight at birth was below 2000 g":
  "Birth weight in grams" &lt; 2000

/*
@internal: Preterm birth Observation
*/
define "Preterm birth Observation":
  ([Observation: Concepts."Preterm birth"]).complete()

/*
@input: Client was not a premature infant at birth
@pseudocode: "Preterm birth" ≠  TRUE
*/
define "Client was not a premature infant at birth":
  not "Client was a premature infant at birth"

/*
@input: Client was a premature infant at birth
@pseudocode: "Preterm birth" =  TRUE
*/
define "Client was a premature infant at birth":
  exists( "Preterm birth Observation" O where O.value = true )

/*
@internal: Completed the primary vaccination series Observation
*/
define "Completed the primary vaccination series Observation":
  ([Observation: Concepts."Completed the primary vaccination series"]).complete()

/*
@internal: At high risk for pneumococcal infection Observation
*/
define "At high risk for pneumococcal infection Observation":
  ([Observation: Concepts."At high risk for pneumococcal infection"]).complete()

/*
@input: Client is at high risk for pneumococcal infection
@pseudocode: "At high risk for pneumococcal infection" = TRUE
*/
define "Client is at high risk for pneumococcal infection":
  exists( "At high risk for pneumococcal infection Observation" O where O.value = true )

/*
@input: Client is not at high risk for pneumococcal infection
@pseudocode: "At high risk for pneumococcal infection" = FALSE
*/
define "Client is not at high risk for pneumococcal infection":
  exists( "At high risk for pneumococcal infection Observation" O where O.value = false )

/*
@internal: Date when primary vaccination series was completed Observation
*/
define "Date when primary vaccination series was completed Observation":
  ([Observation: Concepts."Date when primary vaccination series was completed"] O
    sort by end of effective.toInterval() desc).complete()

/*
@internal: Completed the booster series Observation
*/
define "Completed the booster series Observation":
  ([Observation: Concepts."Completed the booster series"]).complete()</html:code></html:pre></html:td></html:tr>
            </html:table>
          </html:td>
        </html:tr>
        
        
        
        
        
        <html:tr>
          <html:td colspan="2">
            <html:table>
              <html:tr><html:th><html:b>Content: </html:b> application/elm+xml</html:th></html:tr>
              <html:tr><html:td><html:pre><html:code>Encoded data (373596 characters)</html:code></html:pre></html:td></html:tr>
            </html:table>
          </html:td>
        </html:tr>
        
        
    </html:table>
</html:div>
</html:div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability">
    <valueCode value="computable" />
  </extension>
  <url value="http://smart.who.int/immunizations/Library/IMMZElements" />
  <version value="0.2.0" />
  <name value="IMMZElements" />
  <title value="IMMZElements" />
  <status value="draft" />
  <experimental value="false" />
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/library-type" />
      <code value="logic-library" />
    </coding>
  </type>
  <date value="2026-03-25T23:30:34+00:00" />
  <publisher value="WHO" />
  <contact>
    <name value="WHO" />
    <telecom>
      <system value="url" />
      <value value="http://who.int" />
    </telecom>
  </contact>
  <description value="This library defines context-independent elements used throughout the Immunization CPG" />
  <relatedArtifact>
    <type value="depends-on" />
    <display value="Library WHOConcepts" />
    <resource value="http://smart.who.int/immunizations/Library/WHOConcepts" />
  </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 WE" />
    <resource value="http://smart.who.int/immunizations/Library/WHOElements" />
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on" />
    <display value="Library Concepts" />
    <resource value="http://smart.who.int/immunizations/Library/IMMZConcepts" />
  </relatedArtifact>
  <relatedArtifact>
    <type value="depends-on" />
    <display value="Library Common" />
    <resource value="http://smart.who.int/immunizations/Library/IMMZCommon" />
  </relatedArtifact>
  <parameter>
    <name value="Patient" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="Patient" />
  </parameter>
  <parameter>
    <name value="Doses Administered to Patient" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Immunization" />
  </parameter>
  <parameter>
    <name value="Draft Medication Request for Patient" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="MedicationRequest" />
  </parameter>
  <parameter>
    <name value="Live Attenuated Vaccines" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Immunization" />
  </parameter>
  <parameter>
    <name value="Date of Latest Live Attenuated Vaccine" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="date" />
  </parameter>
  <parameter>
    <name value="Current Patient Age In Years" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="integer" />
  </parameter>
  <parameter>
    <name value="Current Patient Age In Months" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="integer" />
  </parameter>
  <parameter>
    <name value="Current Patient Age In Weeks" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="integer" />
  </parameter>
  <parameter>
    <name value="Current Patient Age In Days" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="integer" />
  </parameter>
  <parameter>
    <name value="No live vaccine was administered" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Live vaccine was administered in the last 4 weeks" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="No live vaccine was administered in the last 4 weeks" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Potential contraindications" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Currently pregnant Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Currently pregnant Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is pregnant" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI History of anaphylactic reactions Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI History of anaphylactic reactions Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has history of anaphylactic reactions" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Severe allergic reactions Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Severe allergic reactions Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has history of severe allergic reactions" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Severely immunocompromised Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Severely immunocompromised Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is severely immunocompromised" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Severely immunosuppressed Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Severely immunosuppressed Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is severely immunosuppressed" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Symptomatic HIV infection Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Symptomatic HIV infection Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has a symptomatic HIV infection" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Immunodeficiency syndromes Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Immunodeficiency syndromes Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has immunodeficiency syndromes" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Exposed to immunosuppressive treatment Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Exposed to immunosuppressive treatment Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is exposed to immunosuppressive treatment" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Severe acute illness Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Severe acute illness Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client currently has a severe acute illness" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Prior history of intussusception Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Prior history of intussusception Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has prior history of intussusception" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Altered immunocompetence Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Altered immunocompetence Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has altered immunocompetence" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Spina bifida Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Spina bifida Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has spina bifida" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Bladder exstrophy Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Bladder exstrophy Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has bladder exstrophy" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Immunocompromised Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client is immunocompromised" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Immunocompromised Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Immunocompromised Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is immunocompromised" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Planning to get pregnant in the next month Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Planning to get pregnant in the next month Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is planning to get pregnant in next month" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Receiving blood products Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Receiving blood products Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is receiving blood products" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI TB disease Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI TB disease Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has TB disease" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Breastfeeding Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Breastfeeding Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is lactating" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Acute gastroenteritis Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Acute gastroenteritis Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has acute gastroenteritis" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Moderate to severe fever Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Moderate to severe fever Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has moderate to severe fever" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Hypersensitivity to vaccine components Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Hypersensitivity to vaccine components Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has hypersensitivity to any component of the vaccine" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Taking antibiotics Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Taking antibiotics Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client is currently taking antibiotics" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="CI Chronic gastrointestinal disease Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="CI Chronic gastrointestinal disease Condition" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Condition" />
  </parameter>
  <parameter>
    <name value="The client has chronic gastrointestinal disease" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="HIV status Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client's HIV status is positive" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client's HIV status is negative or unknown" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Currently on ART Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client is currently receiving antiretroviral therapy" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client is currently not receiving antiretroviral therapy" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Immunologically stable Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client is immunologically stable" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client is not immunologically stable" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="TB infection test result Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client's TB infection test result is negative" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client's TB infection test result is positive" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client's TB infection test result is unknown (test not done or no result yet)" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Clinically well Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client is not clinically well" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client is clinically well" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client is not immunocompromised" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Birth weight in grams Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Birth weight in grams Value" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="Quantity" />
  </parameter>
  <parameter>
    <name value="Birth weight in grams" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="decimal" />
  </parameter>
  <parameter>
    <name value="Client's weight at birth was over 2000 g" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client's weight at birth was below 2000 g" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Preterm birth Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client was a premature infant at birth" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client was not a premature infant at birth" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Completed the primary vaccination series Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="At high risk for pneumococcal infection Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Client is at high risk for pneumococcal infection" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Client is not at high risk for pneumococcal infection" />
    <use value="out" />
    <min value="0" />
    <max value="1" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="Date when primary vaccination series was completed Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <parameter>
    <name value="Completed the booster series Observation" />
    <use value="out" />
    <min value="0" />
    <max value="*" />
    <type value="Observation" />
  </parameter>
  <dataRequirement>
    <type value="Immunization" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Immunization" />
  </dataRequirement>
  <dataRequirement>
    <type value="MedicationRequest" />
    <profile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest" />
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE161" />
        <display value="Potential contraindications" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE162" />
        <display value="Currently pregnant" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE166" />
        <display value="History of anaphylactic reactions" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE167" />
        <display value="Severe allergic reactions" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE200" />
        <display value="Severely immunocompromised" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE165" />
        <display value="Severely immunosuppressed" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE168" />
        <display value="Symptomatic HIV infection" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE187" />
        <display value="Immunodeficiency syndromes" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE164" />
        <display value="Exposed to immunosuppressive treatment" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE188" />
        <display value="Severe acute illness" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE196" />
        <display value="Prior history of intussusception" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE197" />
        <display value="Altered immunocompetence" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE192" />
        <display value="Spina bifida" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE193" />
        <display value="Bladder exstrophy" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE209" />
        <display value="Immunocompromised" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE163" />
        <display value="Immunocompromised" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE169" />
        <display value="Planning to get pregnant in the next month" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE170" />
        <display value="Receiving blood products" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE190" />
        <display value="TB disease" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE191" />
        <display value="Breastfeeding" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE194" />
        <display value="Acute gastroenteritis" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE195" />
        <display value="Moderate to severe fever" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE198" />
        <display value="Hypersensitivity to vaccine components" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE199" />
        <display value="Taking antibiotics" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Condition" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Condition" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DEXXX" />
        <display value="Chronic gastrointestinal disease" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE204" />
        <display value="HIV status" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE210" />
        <display value="Currently on ART" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE249" />
        <display value="Immunologically stable" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE246" />
        <display value="TB infection test result" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE250" />
        <display value="Clinically well" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE211" />
        <display value="Birth weight in grams" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE208" />
        <display value="Preterm birth" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE203" />
        <display value="Completed the primary vaccination series" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE251" />
        <display value="At high risk for pneumococcal infection" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE221" />
        <display value="Date when primary vaccination series was completed" />
      </code>
    </codeFilter>
  </dataRequirement>
  <dataRequirement>
    <type value="Observation" />
    <profile value="http://hl7.org/fhir/StructureDefinition/Observation" />
    <codeFilter>
      <path value="code" />
      <code>
        <system value="http://smart.who.int/immunizations/CodeSystem/IMMZ.D" />
        <code value="DE257" />
        <display value="Completed the booster series" />
      </code>
    </codeFilter>
  </dataRequirement>
  <content>
    <contentType value="text/cql" />
    <url value="Library-IMMZElements.cql" /></content>
  <content>
    <contentType value="application/elm+xml" />
    <url value="Library-IMMZElements.elm.xml" /></content>
</Library>