<?xml version="1.0" encoding="UTF-8"?>
<library xmlns="urn:hl7-org:elm:r1" xmlns:t="urn:hl7-org:elm-types:r1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:fhir="http://hl7.org/fhir" xmlns:qdm43="urn:healthit-gov:qdm:v4_3" xmlns:qdm53="urn:healthit-gov:qdm:v5_3" xmlns:a="urn:hl7-org:cql-annotations:r1" localId="0">
   <annotation translatorOptions="EnableAnnotations,EnableLocators,DisableListDemotion,DisableListPromotion" signatureLevel="Overloads" xsi:type="a:CqlToElmInfo"/>
   <annotation message="An operand identifier reference is hiding another identifier of the same name." errorType="semantic" errorSeverity="warning" xsi:type="a:CqlToElmError"/>
   <annotation message="An operand identifier reference is hiding another identifier of the same name." errorType="semantic" errorSeverity="warning" xsi:type="a:CqlToElmError"/>
   <annotation message="An operand identifier reference is hiding another identifier of the same name." errorType="semantic" errorSeverity="warning" xsi:type="a:CqlToElmError"/>
   <annotation xsi:type="a:Annotation">
      <a:s r="754">
         <a:s>/*
  * Library: IMMZD2DTPolioEncounterElements
  */
library IMMZD2DTPolioEncounterElements</a:s>
      </a:s>
   </annotation>
   <identifier id="IMMZD2DTPolioEncounterElements" system="http://smart.who.int/immunizations"/>
   <schemaIdentifier id="urn:hl7-org:elm" version="r1"/>
   <usings>
      <def localId="1" localIdentifier="System" uri="urn:hl7-org:elm-types:r1" version="1.0.0"/>
      <def localId="206" locator="7:1-7:26" localIdentifier="FHIR" uri="http://hl7.org/fhir" version="4.0.1">
         <annotation xsi:type="a:Annotation">
            <a:s r="206">
               <a:s>using </a:s>
               <a:s>
                  <a:s>FHIR</a:s>
               </a:s>
               <a:s> version '4.0.1'</a:s>
            </a:s>
         </annotation>
      </def>
   </usings>
   <includes>
      <def localId="208" locator="8:1-8:35" localIdentifier="FHIRHelpers" path="http://hl7.org/fhir/FHIRHelpers" version="4.0.1">
         <annotation xsi:type="a:Annotation">
            <a:s r="208">
               <a:s>include </a:s>
               <a:s>
                  <a:s>FHIRHelpers</a:s>
               </a:s>
               <a:s> version '4.0.1'</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="210" locator="10:1-10:19" localIdentifier="WHOConcepts" path="http://smart.who.int/immunizations/WHOConcepts">
         <annotation xsi:type="a:Annotation">
            <a:s r="210">
               <a:s>include </a:s>
               <a:s>
                  <a:s>WHOConcepts</a:s>
               </a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="212" locator="11:1-11:27" localIdentifier="WC" path="http://smart.who.int/immunizations/WHOCommon">
         <annotation xsi:type="a:Annotation">
            <a:s r="212">
               <a:s>include </a:s>
               <a:s>
                  <a:s>WHOCommon</a:s>
               </a:s>
               <a:s> called WC</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="214" locator="12:1-12:29" localIdentifier="WE" path="http://smart.who.int/immunizations/WHOElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="214">
               <a:s>include </a:s>
               <a:s>
                  <a:s>WHOElements</a:s>
               </a:s>
               <a:s> called WE</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="216" locator="14:1-14:32" localIdentifier="Common" path="http://smart.who.int/immunizations/IMMZCommon">
         <annotation xsi:type="a:Annotation">
            <a:s r="216">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZCommon</a:s>
               </a:s>
               <a:s> called Common</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="218" locator="15:1-15:36" localIdentifier="Concepts" path="http://smart.who.int/immunizations/IMMZConcepts">
         <annotation xsi:type="a:Annotation">
            <a:s r="218">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZConcepts</a:s>
               </a:s>
               <a:s> called Concepts</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="220" locator="16:1-16:46" localIdentifier="Encounter" path="http://smart.who.int/immunizations/IMMZEncounterElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="220">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZEncounterElements</a:s>
               </a:s>
               <a:s> called Encounter</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="222" locator="18:1-18:50" localIdentifier="PolioElements" path="http://smart.who.int/immunizations/IMMZD2DTPolioElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="222">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZD2DTPolioElements</a:s>
               </a:s>
               <a:s> called PolioElements</a:s>
            </a:s>
         </annotation>
      </def>
   </includes>
   <parameters>
      <def localId="224" locator="20:1-20:36" name="Today" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:s r="224">
               <a:s>parameter Today </a:s>
               <a:s r="228">
                  <a:s>Date</a:s>
               </a:s>
               <a:s> default </a:s>
               <a:s r="227">
                  <a:s>Today()</a:s>
               </a:s>
            </a:s>
         </annotation>
         <default localId="227" locator="20:30-20:36" xsi:type="Today"/>
         <parameterTypeSpecifier localId="228" locator="20:17-20:20" name="t:Date" xsi:type="NamedTypeSpecifier"/>
      </def>
      <def localId="230" locator="21:1-21:28" name="EncounterId" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:s r="230">
               <a:s>parameter EncounterId </a:s>
               <a:s r="231">
                  <a:s>String</a:s>
               </a:s>
            </a:s>
         </annotation>
         <parameterTypeSpecifier localId="231" locator="21:23-21:28" name="t:String" xsi:type="NamedTypeSpecifier"/>
      </def>
   </parameters>
   <contexts>
      <def localId="236" locator="23:1-23:15" name="Patient"/>
   </contexts>
   <statements>
      <def localId="234" locator="23:1-23:15" name="Patient" context="Patient">
         <expression localId="235" xsi:type="SingletonFrom">
            <operand localId="233" locator="23:1-23:15" dataType="fhir:Patient" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/>
         </expression>
      </def>
      <def localId="239" locator="28:1-29:71" name="Polio Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio containing Doses Administered to Patient"/>
            <a:s r="239">
               <a:s>/*
@internal: Polio containing Doses Administered to Patient
*/
define &quot;Polio Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="243">
                  <a:s r="241">
                     <a:s r="240">
                        <a:s>PolioElements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="241">
                        <a:s>&quot;Polio Doses Administered to Patient&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="243">
                     <a:s>onOrBefore(</a:s>
                     <a:s r="242">
                        <a:s>Today</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="243" locator="29:3-29:71" name="onOrBefore" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="241" locator="29:3-29:53" name="Polio Doses Administered to Patient" libraryName="PolioElements" xsi:type="ExpressionRef"/>
            <operand localId="242" locator="29:66-29:70" name="Today" xsi:type="ParameterRef"/>
         </expression>
      </def>
      <def localId="246" locator="34:1-35:86" name="Polio Primary Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio containing Doses Administered to Patient that are in the Primary series"/>
            <a:s r="246">
               <a:s>/*
@internal: Polio containing Doses Administered to Patient that are in the Primary series
*/
define &quot;Polio Primary Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="250">
                  <a:s r="248">
                     <a:s r="247">
                        <a:s>PolioElements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="248">
                        <a:s>&quot;Polio Primary Series Doses Administered to Patient&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="250">
                     <a:s>onOrBefore(</a:s>
                     <a:s r="249">
                        <a:s>Today</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="250" locator="35:3-35:86" name="onOrBefore" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="248" locator="35:3-35:68" name="Polio Primary Series Doses Administered to Patient" libraryName="PolioElements" xsi:type="ExpressionRef"/>
            <operand localId="249" locator="35:81-35:85" name="Today" xsi:type="ParameterRef"/>
         </expression>
      </def>
      <def localId="253" locator="40:1-41:61" name="Number of Polio Primary Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Polio Primary Series doses"/>
            <a:s r="253">
               <a:s>/*
@internal: Number of Polio Primary Series doses
*/
define &quot;Number of Polio Primary Series Doses Administered&quot;:
  </a:s>
               <a:s r="257">
                  <a:s>Count(</a:s>
                  <a:s r="254">
                     <a:s>&quot;Polio Primary Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="257" locator="41:3-41:61" xsi:type="Count">
            <source localId="254" locator="41:9-41:60" name="Polio Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="267" locator="465:1-466:78" name="Polio Dose 0 Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio Dose 0 Doses Administered to Patient"/>
            <a:s r="267">
               <a:s>/*
@internal: Polio Dose 0 Doses Administered to Patient
*/
define &quot;Polio Dose 0 Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="271">
                  <a:s r="269">
                     <a:s r="268">
                        <a:s>PolioElements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="269">
                        <a:s>&quot;Polio Dose 0 Doses Administered to Patient&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="271">
                     <a:s>onOrBefore(</a:s>
                     <a:s r="270">
                        <a:s>Today</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="271" locator="466:3-466:78" name="onOrBefore" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="269" locator="466:3-466:60" name="Polio Dose 0 Doses Administered to Patient" libraryName="PolioElements" xsi:type="ExpressionRef"/>
            <operand localId="270" locator="466:73-466:77" name="Today" xsi:type="ParameterRef"/>
         </expression>
      </def>
      <def localId="264" locator="471:1-472:53" name="Number of Polio Dose 0 Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Polio Dose 0 Doses Administered"/>
            <a:s r="264">
               <a:s>/*
@internal: Number of Polio Dose 0 Doses Administered
*/
define &quot;Number of Polio Dose 0 Doses Administered&quot;:
  </a:s>
               <a:s r="275">
                  <a:s>Count(</a:s>
                  <a:s r="272">
                     <a:s>&quot;Polio Dose 0 Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="275" locator="472:3-472:53" xsi:type="Count">
            <source localId="272" locator="472:9-472:52" name="Polio Dose 0 Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="260" locator="49:1-50:49" name="bOPV birth dose (a zero dose) was not administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="bOPV birth dose (a zero dose) was not administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Dose 0&quot; AND &quot;Birth dose&quot; = TRUE) = 0"/>
            <a:t name="code" value="bOPV birth dose (a zero dose) was not administered-146"/>
            <a:t name="decision" value="&quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)"/>
            <a:s r="260">
               <a:s>/*
@input: bOPV birth dose (a zero dose) was not administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Dose 0&quot; AND &quot;Birth dose&quot; = TRUE) = 0
@code: bOPV birth dose (a zero dose) was not administered-146
@decision: IMMZ.D2.DT.Polio.Birth dose: Birth dose administration as part of &quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)
*/
define &quot;bOPV birth dose (a zero dose) was not administered&quot;:
  </a:s>
               <a:s r="261">
                  <a:s r="276">
                     <a:s>&quot;Number of Polio Dose 0 Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="277"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="261" locator="50:3-50:49" xsi:type="Equal">
            <signature localId="278" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="279" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="276" locator="50:3-50:45" name="Number of Polio Dose 0 Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="277" locator="50:49" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="282" locator="58:1-59:46" name="Client's age is less than 1 week" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 1 week"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 1 week"/>
            <a:t name="code" value="Client's age is less than 1 week-39"/>
            <a:t name="decision" value="&quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)"/>
            <a:s r="282">
               <a:s>/*
@input: Client's age is less than 1 week
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 1 week
@code: Client's age is less than 1 week-39
@decision: IMMZ.D2.DT.Polio.Birth dose: Birth dose administration as part of &quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)
*/
define &quot;Client's age is less than 1 week&quot;:
  </a:s>
               <a:s r="283">
                  <a:s r="285">
                     <a:s r="284">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="285">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="286"> &lt; 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="283" locator="59:3-59:46" xsi:type="Less">
            <signature localId="287" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="288" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="285" locator="59:3-59:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="286" locator="59:46" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="291" locator="67:1-68:47" name="Client's age is more than or equal to 1 week" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 1 week"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 1 week"/>
            <a:t name="code" value="Client's age is more than or equal to 1 week-39"/>
            <a:t name="decision" value="&quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)"/>
            <a:s r="291">
               <a:s>/*
@input: Client's age is more than or equal to 1 week
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 1 week
@code: Client's age is more than or equal to 1 week-39
@decision: IMMZ.D2.DT.Polio.Birth dose: Birth dose administration as part of &quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)
*/
define &quot;Client's age is more than or equal to 1 week&quot;:
  </a:s>
               <a:s r="292">
                  <a:s r="294">
                     <a:s r="293">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="294">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="295"> >= 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="292" locator="68:3-68:47" xsi:type="GreaterOrEqual">
            <signature localId="296" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="297" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="294" locator="68:3-68:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="295" locator="68:47" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="300" locator="76:1-77:49" name="bOPV birth dose (a zero dose) was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="bOPV birth dose (a zero dose) was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Dose 0&quot; AND &quot;Birth dose&quot; = TRUE) = 1"/>
            <a:t name="code" value="bOPV birth dose (a zero dose) was administered-146"/>
            <a:t name="decision" value="&quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)"/>
            <a:s r="300">
               <a:s>/*
@input: bOPV birth dose (a zero dose) was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Dose 0&quot; AND &quot;Birth dose&quot; = TRUE) = 1
@code: bOPV birth dose (a zero dose) was administered-146
@decision: IMMZ.D2.DT.Polio.Birth dose: Birth dose administration as part of &quot;bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (in countries that are poliomyelitis (polio)-endemic countries or at high risk of importation and subsequent spread of polio that follow the combined bOPV–IPV schedule)
*/
define &quot;bOPV birth dose (a zero dose) was administered&quot;:
  </a:s>
               <a:s r="301">
                  <a:s r="302">
                     <a:s>&quot;Number of Polio Dose 0 Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="303"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="301" locator="77:3-77:49" xsi:type="Equal">
            <signature localId="304" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="305" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="302" locator="77:3-77:45" name="Number of Polio Dose 0 Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="303" locator="77:49" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="308" locator="86:1-87:46" name="Client's age is less than 6 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 6 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 6 weeks"/>
            <a:t name="code" value="Client's age is less than 6 weeks-40"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="308">
               <a:s>/*
@input: Client's age is less than 6 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 6 weeks
@code: Client's age is less than 6 weeks-40
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Client's age is less than 6 weeks&quot;:
  </a:s>
               <a:s r="309">
                  <a:s r="311">
                     <a:s r="310">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="311">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="312"> &lt; 6</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="309" locator="87:3-87:46" xsi:type="Less">
            <signature localId="313" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="314" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="311" locator="87:3-87:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="312" locator="87:46" valueType="t:Integer" value="6" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="317" locator="97:1-98:57" name="No poliovirus primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="No poliovirus primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0"/>
            <a:t name="code" value="No poliovirus primary series doses were administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="317">
               <a:s>/*
@input: No poliovirus primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0
@code: No poliovirus primary series doses were administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;No poliovirus primary series doses were administered&quot;:
  </a:s>
               <a:s r="318">
                  <a:s r="319">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="320"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="318" locator="98:3-98:57" xsi:type="Equal">
            <signature localId="321" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="322" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="319" locator="98:3-98:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="320" locator="98:57" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="325" locator="106:1-108:52" name="Client's age is between 6 weeks and 3 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is between 6 weeks and 3 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≤ 3 months"/>
            <a:t name="code" value="Client's age is between 6 weeks and 3 months-51"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="325">
               <a:s>/*
@input: Client's age is between 6 weeks and 3 months
@pseudocode: 6 weeks ≤ Today's date − &quot;Date of birth&quot; ≤ 3 months
@code: Client's age is between 6 weeks and 3 months-51
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Client's age is between 6 weeks and 3 months&quot;:
  </a:s>
               <a:s r="326">
                  <a:s r="327">
                     <a:s r="328">6 &lt;= </a:s>
                     <a:s r="330">
                        <a:s r="329">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="330">
                           <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="333">
                     <a:s r="335">
                        <a:s r="334">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="335">
                           <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="336"> &lt;= 3</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="326" locator="107:3-108:52" xsi:type="And">
            <operand localId="327" locator="107:3-107:47" xsi:type="LessOrEqual">
               <signature localId="331" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="332" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="328" locator="107:3" valueType="t:Integer" value="6" xsi:type="Literal"/>
               <operand localId="330" locator="107:8-107:47" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="333" locator="108:7-108:52" xsi:type="LessOrEqual">
               <signature localId="337" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="338" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="335" locator="108:7-108:47" name="Current Patient Age In Months" libraryName="Encounter" xsi:type="ExpressionRef"/>
               <operand localId="336" locator="108:52" valueType="t:Integer" value="3" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="341" locator="116:1-117:47" name="Client's age is more than 3 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than 3 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; > 3 months"/>
            <a:t name="code" value="Client's age is more than 3 months-41"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="341">
               <a:s>/*
@input: Client's age is more than 3 months
@pseudocode: Today's date − &quot;Date of birth&quot; > 3 months
@code: Client's age is more than 3 months-41
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Client's age is more than 3 months&quot;:
  </a:s>
               <a:s r="342">
                  <a:s r="344">
                     <a:s r="343">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="344">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="345"> > 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="342" locator="117:3-117:47" xsi:type="Greater">
            <signature localId="346" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="347" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="344" locator="117:3-117:43" name="Current Patient Age In Months" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="345" locator="117:47" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="350" locator="127:1-128:57" name="One poliovirus primary series dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="One poliovirus primary series dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="code" value="One poliovirus primary series dose was administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="350">
               <a:s>/*
@input: One poliovirus primary series dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@code: One poliovirus primary series dose was administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;One poliovirus primary series dose was administered&quot;:
  </a:s>
               <a:s r="351">
                  <a:s r="352">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="353"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="351" locator="128:3-128:57" xsi:type="Equal">
            <signature localId="354" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="355" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="352" locator="128:3-128:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="353" locator="128:57" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="358" locator="136:1-138:51" name="Client's age is between 6 weeks and 14 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is between 6 weeks and 14 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 14 weeks"/>
            <a:t name="code" value="Client's age is between 6 weeks and 14 weeks-51"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="358">
               <a:s>/*
@input: Client's age is between 6 weeks and 14 weeks
@pseudocode: 6 weeks ≤ Today's date − &quot;Date of birth&quot; &lt; 14 weeks
@code: Client's age is between 6 weeks and 14 weeks-51
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Client's age is between 6 weeks and 14 weeks&quot;:
  </a:s>
               <a:s r="359">
                  <a:s r="360">
                     <a:s r="361">6 &lt;= </a:s>
                     <a:s r="363">
                        <a:s r="362">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="363">
                           <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="366">
                     <a:s r="368">
                        <a:s r="367">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="368">
                           <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="369"> &lt; 14</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="359" locator="137:3-138:51" xsi:type="And">
            <operand localId="360" locator="137:3-137:47" xsi:type="LessOrEqual">
               <signature localId="364" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="365" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="361" locator="137:3" valueType="t:Integer" value="6" xsi:type="Literal"/>
               <operand localId="363" locator="137:8-137:47" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="366" locator="138:7-138:51" xsi:type="Less">
               <signature localId="370" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="371" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="368" locator="138:7-138:46" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
               <operand localId="369" locator="138:50-138:51" valueType="t:Integer" value="14" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="383" locator="433:1-435:40" name="bOPV Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="bOPV Doses Administered to Patient"/>
            <a:s r="383">
               <a:s>/*
@internal: bOPV Doses Administered to Patient
*/
define &quot;bOPV Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="398">
                  <a:s>
                     <a:s r="384">
                        <a:s r="385">
                           <a:s>
                              <a:s>&quot;Polio Doses Administered to Patient&quot;</a:s>
                           </a:s>
                        </a:s>
                        <a:s> I</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  </a:s>
                  <a:s r="387">
                     <a:s>where </a:s>
                     <a:s r="387">
                        <a:s r="389">
                           <a:s r="388">
                              <a:s>I</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="389">
                              <a:s>typeOfDose()</a:s>
                           </a:s>
                        </a:s>
                        <a:s> ~ </a:s>
                        <a:s r="391">
                           <a:s r="390">
                              <a:s>Concepts</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="391">
                              <a:s>&quot;bOPV&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="398" locator="434:3-435:40" xsi:type="Query">
            <source localId="384" locator="434:3-434:41" alias="I">
               <expression localId="385" locator="434:3-434:39" name="Polio Doses Administered to Patient" xsi:type="ExpressionRef"/>
            </source>
            <where localId="387" locator="435:3-435:40" xsi:type="Equivalent">
               <signature localId="396" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <signature localId="397" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <operand localId="392" name="ToConcept" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="389" locator="435:9-435:22" name="typeOfDose" libraryName="Common" xsi:type="FunctionRef">
                     <operand localId="388" locator="435:9" name="I" xsi:type="AliasRef"/>
                  </operand>
               </operand>
               <operand localId="394" xsi:type="ToConcept">
                  <signature localId="395" name="t:Code" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="391" locator="435:26-435:40" name="bOPV" libraryName="Concepts" xsi:type="CodeRef"/>
               </operand>
            </where>
         </expression>
      </def>
      <def localId="378" locator="453:1-454:94" name="Date of Latest bOPV Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of Latest bOPV Dose"/>
            <a:s r="378">
               <a:s>/*
@internal: Date of Latest bOPV Dose
*/
define &quot;Date of Latest bOPV Dose&quot;:
  </a:s>
               <a:s r="379">
                  <a:s>date from </a:s>
                  <a:s r="380">
                     <a:s>start of </a:s>
                     <a:s r="404">
                        <a:s r="403">
                           <a:s r="400">
                              <a:s r="399">
                                 <a:s>&quot;bOPV Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="400">
                                 <a:s>mostRecent()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="403">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="404">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="379" locator="454:3-454:94" xsi:type="DateFrom">
            <operand localId="380" locator="454:13-454:94" xsi:type="Start">
               <operand localId="404" locator="454:22-454:94" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="403" locator="454:22-454:81" path="occurrence" xsi:type="Property">
                     <source localId="400" locator="454:22-454:70" name="mostRecent" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="401" xsi:type="ListTypeSpecifier">
                           <elementType localId="402" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="399" locator="454:22-454:57" name="bOPV Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="374" locator="146:1-148:74" name="The latest bOPV dose was administered less than 4 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest bOPV dose was administered less than 4 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot;) &lt; 4 weeks"/>
            <a:t name="code" value="The latest bOPV dose was administered less than 4 weeks ago-159"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="374">
               <a:s>/*
@input: The latest bOPV dose was administered less than 4 weeks ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot;) &lt; 4 weeks
@code: The latest bOPV dose was administered less than 4 weeks ago-159
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The latest bOPV dose was administered less than 4 weeks ago&quot;:
  </a:s>
               <a:s r="375">
                  <a:s r="407">
                     <a:s r="405">
                        <a:s>&quot;Date of Latest bOPV Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
    and </a:s>
                  <a:s r="408">
                     <a:s r="409">
                        <a:s>duration in weeks between </a:s>
                        <a:s r="410">
                           <a:s>&quot;Date of Latest bOPV Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="411">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="414"> &lt; 4</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="375" locator="147:3-148:74" xsi:type="And">
            <operand localId="407" locator="147:3-147:40" xsi:type="Not">
               <operand localId="406" locator="147:3-147:40" xsi:type="IsNull">
                  <operand localId="405" locator="147:3-147:28" name="Date of Latest bOPV Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="408" locator="148:9-148:74" xsi:type="Less">
               <signature localId="415" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="416" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="409" locator="148:9-148:70" precision="Week" xsi:type="DurationBetween">
                  <signature localId="412" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="413" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="410" locator="148:35-148:60" name="Date of Latest bOPV Dose" xsi:type="ExpressionRef"/>
                  <operand localId="411" locator="148:66-148:70" name="Today" xsi:type="ParameterRef"/>
               </operand>
               <operand localId="414" locator="148:74" valueType="t:Integer" value="4" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="419" locator="156:1-157:68" name="The latest bOPV dose was administered more than 4 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest bOPV dose was administered more than 4 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot;) ≥ 4 weeks"/>
            <a:t name="code" value="The latest bOPV dose was administered more than 4 weeks ago-159"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="419">
               <a:s>/*
@input: The latest bOPV dose was administered more than 4 weeks ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot;) ≥ 4 weeks
@code: The latest bOPV dose was administered more than 4 weeks ago-159
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The latest bOPV dose was administered more than 4 weeks ago&quot;:
  </a:s>
               <a:s r="420">
                  <a:s>not</a:s>
                  <a:s r="421">
                     <a:s>(</a:s>
                     <a:s r="421">
                        <a:s>&quot;The latest bOPV dose was administered less than 4 weeks ago&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="420" locator="157:3-157:68" xsi:type="Not">
            <operand localId="421" locator="157:6-157:68" name="The latest bOPV dose was administered less than 4 weeks ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="431" locator="483:1-485:40" name="Polio bOPV Primary Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio bOPV Primary Series Doses Administered to Patient"/>
            <a:s r="431">
               <a:s>/*
@internal: Polio bOPV Primary Series Doses Administered to Patient
*/
define &quot;Polio bOPV Primary Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="446">
                  <a:s>
                     <a:s r="432">
                        <a:s r="433">
                           <a:s>
                              <a:s>&quot;Polio Primary Series Doses Administered to Patient&quot;</a:s>
                           </a:s>
                        </a:s>
                        <a:s> I</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  </a:s>
                  <a:s r="435">
                     <a:s>where </a:s>
                     <a:s r="435">
                        <a:s r="437">
                           <a:s r="436">
                              <a:s>I</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="437">
                              <a:s>typeOfDose()</a:s>
                           </a:s>
                        </a:s>
                        <a:s> ~ </a:s>
                        <a:s r="439">
                           <a:s r="438">
                              <a:s>Concepts</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="439">
                              <a:s>&quot;bOPV&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="446" locator="484:3-485:40" xsi:type="Query">
            <source localId="432" locator="484:3-484:56" alias="I">
               <expression localId="433" locator="484:3-484:54" name="Polio Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
            </source>
            <where localId="435" locator="485:3-485:40" xsi:type="Equivalent">
               <signature localId="444" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <signature localId="445" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <operand localId="440" name="ToConcept" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="437" locator="485:9-485:22" name="typeOfDose" libraryName="Common" xsi:type="FunctionRef">
                     <operand localId="436" locator="485:9" name="I" xsi:type="AliasRef"/>
                  </operand>
               </operand>
               <operand localId="442" xsi:type="ToConcept">
                  <signature localId="443" name="t:Code" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="439" locator="485:26-485:40" name="bOPV" libraryName="Concepts" xsi:type="CodeRef"/>
               </operand>
            </where>
         </expression>
      </def>
      <def localId="428" locator="497:1-498:66" name="Number of Polio bOPV Primary Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Polio bOPV Primary Series Doses Administered"/>
            <a:s r="428">
               <a:s>/*
@internal: Number of Polio bOPV Primary Series Doses Administered
*/
define &quot;Number of Polio bOPV Primary Series Doses Administered&quot;:
  </a:s>
               <a:s r="450">
                  <a:s>Count(</a:s>
                  <a:s r="447">
                     <a:s>&quot;Polio bOPV Primary Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="450" locator="498:3-498:66" xsi:type="Count">
            <source localId="447" locator="498:9-498:65" name="Polio bOPV Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="424" locator="165:1-166:62" name="The poliovirus dose administered is bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The poliovirus dose administered is bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="code" value="The poliovirus dose administered is bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="424">
               <a:s>/*
@input: The poliovirus dose administered is bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@code: The poliovirus dose administered is bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The poliovirus dose administered is bOPV&quot;:
  </a:s>
               <a:s r="425">
                  <a:s r="451">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="452"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="425" locator="166:3-166:62" xsi:type="Equal">
            <signature localId="453" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="454" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="451" locator="166:3-166:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="452" locator="166:62" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="457" locator="174:1-175:48" name="Client's age is more than or equal to 14 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 14 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 14 weeks"/>
            <a:t name="code" value="Client's age is more than or equal to 14 weeks-41"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="457">
               <a:s>/*
@input: Client's age is more than or equal to 14 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 14 weeks
@code: Client's age is more than or equal to 14 weeks-41
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Client's age is more than or equal to 14 weeks&quot;:
  </a:s>
               <a:s r="458">
                  <a:s r="460">
                     <a:s r="459">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="460">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="461"> >= 14</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="458" locator="175:3-175:48" xsi:type="GreaterOrEqual">
            <signature localId="462" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="463" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="460" locator="175:3-175:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="461" locator="175:47-175:48" valueType="t:Integer" value="14" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="466" locator="183:1-184:62" name="The poliovirus dose administered is IPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The poliovirus dose administered is IPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0"/>
            <a:t name="code" value="The poliovirus dose administered is IPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="466">
               <a:s>/*
@input: The poliovirus dose administered is IPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0
@code: The poliovirus dose administered is IPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The poliovirus dose administered is IPV&quot;:
  </a:s>
               <a:s r="467">
                  <a:s r="468">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="469"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="467" locator="184:3-184:62" xsi:type="Equal">
            <signature localId="470" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="471" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="468" locator="184:3-184:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="469" locator="184:62" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="483" locator="440:1-442:39" name="IPV Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="IPV Doses Administered to Patient"/>
            <a:s r="483">
               <a:s>/*
@internal: IPV Doses Administered to Patient
*/
define &quot;IPV Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="498">
                  <a:s>
                     <a:s r="484">
                        <a:s r="485">
                           <a:s>
                              <a:s>&quot;Polio Doses Administered to Patient&quot;</a:s>
                           </a:s>
                        </a:s>
                        <a:s> I</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  </a:s>
                  <a:s r="487">
                     <a:s>where </a:s>
                     <a:s r="487">
                        <a:s r="489">
                           <a:s r="488">
                              <a:s>I</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="489">
                              <a:s>typeOfDose()</a:s>
                           </a:s>
                        </a:s>
                        <a:s> ~ </a:s>
                        <a:s r="491">
                           <a:s r="490">
                              <a:s>Concepts</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="491">
                              <a:s>&quot;IPV&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="498" locator="441:3-442:39" xsi:type="Query">
            <source localId="484" locator="441:3-441:41" alias="I">
               <expression localId="485" locator="441:3-441:39" name="Polio Doses Administered to Patient" xsi:type="ExpressionRef"/>
            </source>
            <where localId="487" locator="442:3-442:39" xsi:type="Equivalent">
               <signature localId="496" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <signature localId="497" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <operand localId="492" name="ToConcept" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="489" locator="442:9-442:22" name="typeOfDose" libraryName="Common" xsi:type="FunctionRef">
                     <operand localId="488" locator="442:9" name="I" xsi:type="AliasRef"/>
                  </operand>
               </operand>
               <operand localId="494" xsi:type="ToConcept">
                  <signature localId="495" name="t:Code" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="491" locator="442:26-442:39" name="IPV" libraryName="Concepts" xsi:type="CodeRef"/>
               </operand>
            </where>
         </expression>
      </def>
      <def localId="478" locator="459:1-460:93" name="Date of Latest IPV Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of Latest IPV Dose"/>
            <a:s r="478">
               <a:s>/*
@internal: Date of Latest IPV Dose
*/
define &quot;Date of Latest IPV Dose&quot;:
  </a:s>
               <a:s r="479">
                  <a:s>date from </a:s>
                  <a:s r="480">
                     <a:s>start of </a:s>
                     <a:s r="504">
                        <a:s r="503">
                           <a:s r="500">
                              <a:s r="499">
                                 <a:s>&quot;IPV Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="500">
                                 <a:s>mostRecent()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="503">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="504">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="479" locator="460:3-460:93" xsi:type="DateFrom">
            <operand localId="480" locator="460:13-460:93" xsi:type="Start">
               <operand localId="504" locator="460:22-460:93" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="503" locator="460:22-460:80" path="occurrence" xsi:type="Property">
                     <source localId="500" locator="460:22-460:69" name="mostRecent" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="501" xsi:type="ListTypeSpecifier">
                           <elementType localId="502" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="499" locator="460:22-460:56" name="IPV Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="474" locator="192:1-194:74" name="The latest IPV dose was administered less than 4 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest IPV dose was administered less than 4 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;IPV&quot;) &lt; 4 months"/>
            <a:t name="code" value="The latest IPV dose was administered less than 4 months ago-159"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="474">
               <a:s>/*
@input: The latest IPV dose was administered less than 4 months ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;IPV&quot;) &lt; 4 months
@code: The latest IPV dose was administered less than 4 months ago-159
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The latest IPV dose was administered less than 4 months ago&quot;:
  </a:s>
               <a:s r="475">
                  <a:s r="507">
                     <a:s r="505">
                        <a:s>&quot;Date of Latest IPV Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
    and </a:s>
                  <a:s r="508">
                     <a:s r="509">
                        <a:s>duration in months between </a:s>
                        <a:s r="510">
                           <a:s>&quot;Date of Latest IPV Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="511">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="514"> &lt; 4</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="475" locator="193:3-194:74" xsi:type="And">
            <operand localId="507" locator="193:3-193:39" xsi:type="Not">
               <operand localId="506" locator="193:3-193:39" xsi:type="IsNull">
                  <operand localId="505" locator="193:3-193:27" name="Date of Latest IPV Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="508" locator="194:9-194:74" xsi:type="Less">
               <signature localId="515" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="516" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="509" locator="194:9-194:70" precision="Month" xsi:type="DurationBetween">
                  <signature localId="512" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="513" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="510" locator="194:36-194:60" name="Date of Latest IPV Dose" xsi:type="ExpressionRef"/>
                  <operand localId="511" locator="194:66-194:70" name="Today" xsi:type="ParameterRef"/>
               </operand>
               <operand localId="514" locator="194:74" valueType="t:Integer" value="4" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="519" locator="202:1-203:68" name="The latest IPV dose was administered more than 4 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest IPV dose was administered more than 4 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;IPV&quot;) ≥ 4 months"/>
            <a:t name="code" value="The latest IPV dose was administered more than 4 months ago-159"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="519">
               <a:s>/*
@input: The latest IPV dose was administered more than 4 months ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of poliovirus dose&quot; = &quot;IPV&quot;) ≥ 4 months
@code: The latest IPV dose was administered more than 4 months ago-159
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The latest IPV dose was administered more than 4 months ago&quot;:
  </a:s>
               <a:s r="520">
                  <a:s>not</a:s>
                  <a:s r="521">
                     <a:s>(</a:s>
                     <a:s r="521">
                        <a:s>&quot;The latest IPV dose was administered less than 4 months ago&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="520" locator="203:3-203:68" xsi:type="Not">
            <operand localId="521" locator="203:6-203:68" name="The latest IPV dose was administered less than 4 months ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="524" locator="213:1-214:57" name="Two poliovirus primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Two poliovirus primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:t name="code" value="Two poliovirus primary series doses were administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="524">
               <a:s>/*
@input: Two poliovirus primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
@code: Two poliovirus primary series doses were administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Two poliovirus primary series doses were administered&quot;:
  </a:s>
               <a:s r="525">
                  <a:s r="526">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="527"> = 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="525" locator="214:3-214:57" xsi:type="Equal">
            <signature localId="528" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="529" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="526" locator="214:3-214:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="527" locator="214:57" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="532" locator="222:1-223:62" name="The two doses administered are bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The two doses administered are bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:t name="code" value="The two doses administered are bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="532">
               <a:s>/*
@input: The two doses administered are bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
@code: The two doses administered are bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The two doses administered are bOPV&quot;:
  </a:s>
               <a:s r="533">
                  <a:s r="534">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="535"> = 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="533" locator="223:3-223:62" xsi:type="Equal">
            <signature localId="536" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="537" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="534" locator="223:3-223:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="535" locator="223:62" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="540" locator="231:1-232:62" name="From the two doses administered one is bOPV and one is IPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="From the two doses administered one is bOPV and one is IPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="code" value="From the two doses administered one is bOPV and one is IPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="540">
               <a:s>/*
@input: From the two doses administered one is bOPV and one is IPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@code: From the two doses administered one is bOPV and one is IPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;From the two doses administered one is bOPV and one is IPV&quot;:
  </a:s>
               <a:s r="541">
                  <a:s r="542">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="543"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="541" locator="232:3-232:62" xsi:type="Equal">
            <signature localId="544" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="545" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="542" locator="232:3-232:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="543" locator="232:62" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="548" locator="240:1-241:62" name="The two doses administered are IPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The two doses administered are IPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0"/>
            <a:t name="code" value="The two doses administered are IPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="548">
               <a:s>/*
@input: The two doses administered are IPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0
@code: The two doses administered are IPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The two doses administered are IPV&quot;:
  </a:s>
               <a:s r="549">
                  <a:s r="550">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="551"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="549" locator="241:3-241:62" xsi:type="Equal">
            <signature localId="552" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="553" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="550" locator="241:3-241:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="551" locator="241:62" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="556" locator="251:1-252:57" name="Three poliovirus primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Three poliovirus primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3"/>
            <a:t name="code" value="Three poliovirus primary series doses were administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="556">
               <a:s>/*
@input: Three poliovirus primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3
@code: Three poliovirus primary series doses were administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Three poliovirus primary series doses were administered&quot;:
  </a:s>
               <a:s r="557">
                  <a:s r="558">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="559"> = 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="557" locator="252:3-252:57" xsi:type="Equal">
            <signature localId="560" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="561" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="558" locator="252:3-252:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="559" locator="252:57" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="564" locator="260:1-261:62" name="The three doses administered are bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The three doses administered are bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3"/>
            <a:t name="code" value="The three doses administered are bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="564">
               <a:s>/*
@input: The three doses administered are bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3
@code: The three doses administered are bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;The three doses administered are bOPV&quot;:
  </a:s>
               <a:s r="565">
                  <a:s r="566">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="567"> = 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="565" locator="261:3-261:62" xsi:type="Equal">
            <signature localId="568" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="569" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="566" locator="261:3-261:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="567" locator="261:62" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="572" locator="269:1-270:47" name="Client's age is less than 14 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 14 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 14 weeks"/>
            <a:t name="code" value="Client's age is less than 14 weeks-41"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="572">
               <a:s>/*
@input: Client's age is less than 14 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 14 weeks
@code: Client's age is less than 14 weeks-41
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Client's age is less than 14 weeks&quot;:
  </a:s>
               <a:s r="573">
                  <a:s r="575">
                     <a:s r="574">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="575">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="576"> &lt; 14</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="573" locator="270:3-270:47" xsi:type="Less">
            <signature localId="577" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="578" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="575" locator="270:3-270:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="576" locator="270:46-270:47" valueType="t:Integer" value="14" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="581" locator="278:1-279:62" name="From the three doses administered, one is IPV and two are bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="From the three doses administered, one is IPV and two are bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:t name="code" value="From the three doses administered, one is IPV and two are bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="581">
               <a:s>/*
@input: From the three doses administered, one is IPV and two are bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
@code: From the three doses administered, one is IPV and two are bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;From the three doses administered, one is IPV and two are bOPV&quot;:
  </a:s>
               <a:s r="582">
                  <a:s r="583">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="584"> = 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="582" locator="279:3-279:62" xsi:type="Equal">
            <signature localId="585" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="586" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="583" locator="279:3-279:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="584" locator="279:62" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="589" locator="287:1-288:62" name="From the three doses administered, one is bOPV and two are IPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="From the three doses administered, one is bOPV and two are IPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="code" value="From the three doses administered, one is bOPV and two are IPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="589">
               <a:s>/*
@input: From the three doses administered, one is bOPV and two are IPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@code: From the three doses administered, one is bOPV and two are IPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;From the three doses administered, one is bOPV and two are IPV&quot;:
  </a:s>
               <a:s r="590">
                  <a:s r="591">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="592"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="590" locator="288:3-288:62" xsi:type="Equal">
            <signature localId="593" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="594" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="591" locator="288:3-288:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="592" locator="288:62" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="597" locator="297:1-298:57" name="Four poliovirus primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Four poliovirus primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 4"/>
            <a:t name="code" value="Four poliovirus primary series doses were administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:s r="597">
               <a:s>/*
@input: Four poliovirus primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 4
@code: Four poliovirus primary series doses were administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
*/
define &quot;Four poliovirus primary series doses were administered&quot;:
  </a:s>
               <a:s r="598">
                  <a:s r="599">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="600"> = 4</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="598" locator="298:3-298:57" xsi:type="Equal">
            <signature localId="601" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="602" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="599" locator="298:3-298:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="600" locator="298:57" valueType="t:Integer" value="4" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="605" locator="306:1-307:62" name="From the four doses administered, one is IPV and three are bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="From the four doses administered, one is IPV and three are bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3"/>
            <a:t name="code" value="From the four doses administered, one is IPV and three are bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="605">
               <a:s>/*
@input: From the four doses administered, one is IPV and three are bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3
@code: From the four doses administered, one is IPV and three are bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;From the four doses administered, one is IPV and three are bOPV&quot;:
  </a:s>
               <a:s r="606">
                  <a:s r="607">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="608"> = 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="606" locator="307:3-307:62" xsi:type="Equal">
            <signature localId="609" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="610" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="607" locator="307:3-307:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="608" locator="307:62" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="613" locator="315:1-316:62" name="From the four doses administered, two are IPV and two are bOPV" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="From the four doses administered, two are IPV and two are bOPV"/>
            <a:t name="pseudocode" value="&quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:t name="code" value="From the four doses administered, two are IPV and two are bOPV-115"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="613">
               <a:s>/*
@input: From the four doses administered, two are IPV and two are bOPV
@pseudocode: Count of vaccines administered (where &quot;Type of poliovirus dose&quot; = &quot;bOPV&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
@code: From the four doses administered, two are IPV and two are bOPV-115
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;From the four doses administered, two are IPV and two are bOPV&quot;:
  </a:s>
               <a:s r="614">
                  <a:s r="615">
                     <a:s>&quot;Number of Polio bOPV Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="616"> = 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="614" locator="316:3-316:62" xsi:type="Equal">
            <signature localId="617" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="618" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="615" locator="316:3-316:58" name="Number of Polio bOPV Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="616" locator="316:62" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="621" locator="324:1-325:57" name="Five poliovirus primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Five poliovirus primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 5"/>
            <a:t name="code" value="Five poliovirus primary series doses were administered-130"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)"/>
            <a:s r="621">
               <a:s>/*
@input: Five poliovirus primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 5
@code: Five poliovirus primary series doses were administered-130
@decision: IMMZ.D2.DT.Polio.bOPV plus IPV: &quot;Bivalent oral polio vaccine (bOPV) plus inactivated polio vaccine (IPV)&quot; schedule (applicable for all countries)
*/
define &quot;Five poliovirus primary series doses were administered&quot;:
  </a:s>
               <a:s r="622">
                  <a:s r="623">
                     <a:s>&quot;Number of Polio Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="624"> = 5</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="622" locator="325:3-325:57" xsi:type="Equal">
            <signature localId="625" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="626" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="623" locator="325:3-325:53" name="Number of Polio Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="624" locator="325:57" valueType="t:Integer" value="5" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="629" locator="333:1-334:46" name="Client's age is less than 8 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 8 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 8 weeks"/>
            <a:t name="code" value="Client's age is less than 8 weeks-40"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:s r="629">
               <a:s>/*
@input: Client's age is less than 8 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 8 weeks
@code: Client's age is less than 8 weeks-40
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
*/
define &quot;Client's age is less than 8 weeks&quot;:
  </a:s>
               <a:s r="630">
                  <a:s r="632">
                     <a:s r="631">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="632">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="633"> &lt; 8</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="630" locator="334:3-334:46" xsi:type="Less">
            <signature localId="634" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="635" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="632" locator="334:3-334:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="633" locator="334:46" valueType="t:Integer" value="8" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="638" locator="342:1-343:47" name="Client's age is more than or equal to 8 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 8 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 8 weeks"/>
            <a:t name="code" value="Client's age is more than or equal to 8 weeks-40"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:s r="638">
               <a:s>/*
@input: Client's age is more than or equal to 8 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 8 weeks
@code: Client's age is more than or equal to 8 weeks-40
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
*/
define &quot;Client's age is more than or equal to 8 weeks&quot;:
  </a:s>
               <a:s r="639">
                  <a:s r="641">
                     <a:s r="640">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="641">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="642"> >= 8</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="639" locator="343:3-343:47" xsi:type="GreaterOrEqual">
            <signature localId="643" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="644" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="641" locator="343:3-343:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="642" locator="343:47" valueType="t:Integer" value="8" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="651" locator="447:1-448:95" name="Date of Latest Polio Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of Latest Polio Dose"/>
            <a:s r="651">
               <a:s>/*
@internal: Date of Latest Polio Dose
*/
define &quot;Date of Latest Polio Dose&quot;:
  </a:s>
               <a:s r="652">
                  <a:s>date from </a:s>
                  <a:s r="653">
                     <a:s>start of </a:s>
                     <a:s r="659">
                        <a:s r="658">
                           <a:s r="655">
                              <a:s r="654">
                                 <a:s>&quot;Polio Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="655">
                                 <a:s>mostRecent()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="658">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="659">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="652" locator="448:3-448:95" xsi:type="DateFrom">
            <operand localId="653" locator="448:13-448:95" xsi:type="Start">
               <operand localId="659" locator="448:22-448:95" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="658" locator="448:22-448:82" path="occurrence" xsi:type="Property">
                     <source localId="655" locator="448:22-448:71" name="mostRecent" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="656" xsi:type="ListTypeSpecifier">
                           <elementType localId="657" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="654" locator="448:22-448:58" name="Polio Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="647" locator="352:1-354:75" name="The latest poliovirus dose was administered less than 4 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest poliovirus dose was administered less than 4 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) &lt; 4 weeks"/>
            <a:t name="code" value="The latest poliovirus dose was administered less than 4 weeks ago-120"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="647">
               <a:s>/*
@input: The latest poliovirus dose was administered less than 4 weeks ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) &lt; 4 weeks
@code: The latest poliovirus dose was administered less than 4 weeks ago-120
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;The latest poliovirus dose was administered less than 4 weeks ago&quot;:
  </a:s>
               <a:s r="648">
                  <a:s r="662">
                     <a:s r="660">
                        <a:s>&quot;Date of Latest Polio Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
    and </a:s>
                  <a:s r="663">
                     <a:s r="664">
                        <a:s>duration in weeks between </a:s>
                        <a:s r="665">
                           <a:s>&quot;Date of Latest Polio Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="666">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="669"> &lt; 4</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="648" locator="353:3-354:75" xsi:type="And">
            <operand localId="662" locator="353:3-353:41" xsi:type="Not">
               <operand localId="661" locator="353:3-353:41" xsi:type="IsNull">
                  <operand localId="660" locator="353:3-353:29" name="Date of Latest Polio Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="663" locator="354:9-354:75" xsi:type="Less">
               <signature localId="670" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="671" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="664" locator="354:9-354:71" precision="Week" xsi:type="DurationBetween">
                  <signature localId="667" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="668" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="665" locator="354:35-354:61" name="Date of Latest Polio Dose" xsi:type="ExpressionRef"/>
                  <operand localId="666" locator="354:67-354:71" name="Today" xsi:type="ParameterRef"/>
               </operand>
               <operand localId="669" locator="354:75" valueType="t:Integer" value="4" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="674" locator="363:1-364:74" name="The latest poliovirus dose was administered more than 4 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest poliovirus dose was administered more than 4 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) ≥ 4 weeks"/>
            <a:t name="code" value="The latest poliovirus dose was administered more than 4 weeks ago-120"/>
            <a:t name="decision" value="&quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="674">
               <a:s>/*
@input: The latest poliovirus dose was administered more than 4 weeks ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) ≥ 4 weeks
@code: The latest poliovirus dose was administered more than 4 weeks ago-120
@decision: IMMZ.D2.DT.Polio.Sequential IPV–bOPV: Sequential &quot;Bivalent oral polio vaccine (bOPV)–inactivated polio vaccine (IPV)&quot; schedule (in countries with high vaccination coverage [e.g. 90–95%] and low importation risk [where neighbouring countries and/or countries that share substantial population movement have a similarly high coverage])
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;The latest poliovirus dose was administered more than 4 weeks ago&quot;:
  </a:s>
               <a:s r="675">
                  <a:s>not</a:s>
                  <a:s r="676">
                     <a:s>(</a:s>
                     <a:s r="676">
                        <a:s>&quot;The latest poliovirus dose was administered less than 4 weeks ago&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="675" locator="364:3-364:74" xsi:type="Not">
            <operand localId="676" locator="364:6-364:74" name="The latest poliovirus dose was administered less than 4 weeks ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="679" locator="372:1-373:47" name="Client's age is more than or equal to 6 weeks" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 6 weeks"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 6 weeks"/>
            <a:t name="code" value="Client's age is more than or equal to 6 weeks-40"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="679">
               <a:s>/*
@input: Client's age is more than or equal to 6 weeks
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 6 weeks
@code: Client's age is more than or equal to 6 weeks-40
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Client's age is more than or equal to 6 weeks&quot;:
  </a:s>
               <a:s r="680">
                  <a:s r="682">
                     <a:s r="681">
                        <a:s>Encounter</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="682">
                        <a:s>&quot;Current Patient Age In Weeks&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="683"> >= 6</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="680" locator="373:3-373:47" xsi:type="GreaterOrEqual">
            <signature localId="684" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="685" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="682" locator="373:3-373:42" name="Current Patient Age In Weeks" libraryName="Encounter" xsi:type="ExpressionRef"/>
            <operand localId="683" locator="373:47" valueType="t:Integer" value="6" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="692" locator="477:1-478:108" name="Date of First Primary Series Polio Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of First Primary Series Polio Dose"/>
            <a:s r="692">
               <a:s>/*
@internal: Date of First Primary Series Polio Dose
*/
define &quot;Date of First Primary Series Polio Dose&quot;:
  </a:s>
               <a:s r="693">
                  <a:s>date from </a:s>
                  <a:s r="694">
                     <a:s>start of </a:s>
                     <a:s r="700">
                        <a:s r="699">
                           <a:s r="696">
                              <a:s r="695">
                                 <a:s>&quot;Polio Primary Series Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="696">
                                 <a:s>earliest()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="699">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="700">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="693" locator="478:3-478:108" xsi:type="DateFrom">
            <operand localId="694" locator="478:13-478:108" xsi:type="Start">
               <operand localId="700" locator="478:22-478:108" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="699" locator="478:22-478:95" path="occurrence" xsi:type="Property">
                     <source localId="696" locator="478:22-478:84" name="earliest" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="697" xsi:type="ListTypeSpecifier">
                           <elementType localId="698" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="695" locator="478:22-478:73" name="Polio Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="688" locator="381:1-382:61" name="Client's age was more than 6 weeks when the primary series was started" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age was more than 6 weeks when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; AND &quot;Dose number&quot; = 1) − &quot;Date of birth&quot; > 6 weeks"/>
            <a:t name="code" value="Client's age was more than 6 weeks when the primary series was started-138"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="688">
               <a:s>/*
@input: Client's age was more than 6 weeks when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; AND &quot;Dose number&quot; = 1) − &quot;Date of birth&quot; > 6 weeks
@code: Client's age was more than 6 weeks when the primary series was started-138
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Client's age was more than 6 weeks when the primary series was started&quot;:
  </a:s>
               <a:s r="689">
                  <a:s r="706">
                     <a:s>AgeInWeeksAt(</a:s>
                     <a:s r="701">
                        <a:s>&quot;Date of First Primary Series Polio Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="709"> > 6</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="689" locator="382:3-382:61" xsi:type="Greater">
            <signature localId="710" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="711" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="706" locator="382:3-382:57" precision="Week" xsi:type="CalculateAgeAt">
               <signature localId="707" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="708" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="705" path="birthDate.value" xsi:type="Property">
                  <source localId="704" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="701" locator="382:16-382:56" name="Date of First Primary Series Polio Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="709" locator="382:61" valueType="t:Integer" value="6" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="714" locator="390:1-391:61" name="Client's age was 6 weeks when the primary series was started" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age was 6 weeks when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; AND &quot;Dose number&quot; = 1) − &quot;Date of birth&quot; = 6 weeks"/>
            <a:t name="code" value="Client's age was 6 weeks when the primary series was started-138"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="714">
               <a:s>/*
@input: Client's age was 6 weeks when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; AND &quot;Dose number&quot; = 1) − &quot;Date of birth&quot; = 6 weeks
@code: Client's age was 6 weeks when the primary series was started-138
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Client's age was 6 weeks when the primary series was started&quot;:
  </a:s>
               <a:s r="715">
                  <a:s r="721">
                     <a:s>AgeInWeeksAt(</a:s>
                     <a:s r="716">
                        <a:s>&quot;Date of First Primary Series Polio Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="724"> = 6</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="715" locator="391:3-391:61" xsi:type="Equal">
            <signature localId="725" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="726" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="721" locator="391:3-391:57" precision="Week" xsi:type="CalculateAgeAt">
               <signature localId="722" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="723" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="720" path="birthDate.value" xsi:type="Property">
                  <source localId="719" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="716" locator="391:16-391:56" name="Date of First Primary Series Polio Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="724" locator="391:61" valueType="t:Integer" value="6" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="729" locator="399:1-401:76" name="The latest poliovirus dose was administered less than 6 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest poliovirus dose was administered less than 6 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) &lt; 6 months"/>
            <a:t name="code" value="The latest poliovirus dose was administered less than 6 months ago-121"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="729">
               <a:s>/*
@input: The latest poliovirus dose was administered less than 6 months ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) &lt; 6 months
@code: The latest poliovirus dose was administered less than 6 months ago-121
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;The latest poliovirus dose was administered less than 6 months ago&quot;:
  </a:s>
               <a:s r="730">
                  <a:s r="733">
                     <a:s r="731">
                        <a:s>&quot;Date of Latest Polio Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
    and </a:s>
                  <a:s r="734">
                     <a:s r="735">
                        <a:s>duration in months between </a:s>
                        <a:s r="736">
                           <a:s>&quot;Date of Latest Polio Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="737">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="740"> &lt; 6</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="730" locator="400:3-401:76" xsi:type="And">
            <operand localId="733" locator="400:3-400:41" xsi:type="Not">
               <operand localId="732" locator="400:3-400:41" xsi:type="IsNull">
                  <operand localId="731" locator="400:3-400:29" name="Date of Latest Polio Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="734" locator="401:9-401:76" xsi:type="Less">
               <signature localId="741" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="742" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="735" locator="401:9-401:72" precision="Month" xsi:type="DurationBetween">
                  <signature localId="738" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="739" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="736" locator="401:36-401:62" name="Date of Latest Polio Dose" xsi:type="ExpressionRef"/>
                  <operand localId="737" locator="401:68-401:72" name="Today" xsi:type="ParameterRef"/>
               </operand>
               <operand localId="740" locator="401:76" valueType="t:Integer" value="6" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="745" locator="409:1-410:75" name="The latest poliovirus dose was administered more than 6 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest poliovirus dose was administered more than 6 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) ≥ 6 months"/>
            <a:t name="code" value="The latest poliovirus dose was administered more than 6 months ago-121"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="745">
               <a:s>/*
@input: The latest poliovirus dose was administered more than 6 months ago
@pseudocode: Today's date − Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot;) ≥ 6 months
@code: The latest poliovirus dose was administered more than 6 months ago-121
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;The latest poliovirus dose was administered more than 6 months ago&quot;:
  </a:s>
               <a:s r="746">
                  <a:s>not</a:s>
                  <a:s r="747">
                     <a:s>(</a:s>
                     <a:s r="747">
                        <a:s>&quot;The latest poliovirus dose was administered less than 6 months ago&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="746" locator="410:3-410:75" xsi:type="Not">
            <operand localId="747" locator="410:6-410:75" name="The latest poliovirus dose was administered less than 6 months ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="757" locator="509:1-510:86" name="Polio Booster Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio Booster Series Doses Administered to Patient"/>
            <a:s r="757">
               <a:s>/*
@internal: Polio Booster Series Doses Administered to Patient
*/
define &quot;Polio Booster Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="761">
                  <a:s r="759">
                     <a:s r="758">
                        <a:s>PolioElements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="759">
                        <a:s>&quot;Polio Booster Series Doses Administered to Patient&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="761">
                     <a:s>onOrBefore(</a:s>
                     <a:s r="760">
                        <a:s>Today</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="761" locator="510:3-510:86" name="onOrBefore" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="759" locator="510:3-510:68" name="Polio Booster Series Doses Administered to Patient" libraryName="PolioElements" xsi:type="ExpressionRef"/>
            <operand localId="760" locator="510:81-510:85" name="Today" xsi:type="ParameterRef"/>
         </expression>
      </def>
      <def localId="754" locator="515:1-516:61" name="Number of Polio Booster Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Polio Booster Series Doses Administered"/>
            <a:s r="754">
               <a:s>/*
@internal: Number of Polio Booster Series Doses Administered
*/
define &quot;Number of Polio Booster Series Doses Administered&quot;:
  </a:s>
               <a:s r="765">
                  <a:s>Count(</a:s>
                  <a:s r="762">
                     <a:s>&quot;Polio Booster Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="765" locator="516:3-516:61" xsi:type="Count">
            <source localId="762" locator="516:9-516:60" name="Polio Booster Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="750" locator="418:1-419:57" name="No polio booster dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="No polio booster dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 0"/>
            <a:t name="code" value="No polio booster dose was administered-128"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="750">
               <a:s>/*
@input: No polio booster dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 0
@code: No polio booster dose was administered-128
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;No polio booster dose was administered&quot;:
  </a:s>
               <a:s r="751">
                  <a:s r="766">
                     <a:s>&quot;Number of Polio Booster Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="767"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="751" locator="419:3-419:57" xsi:type="Equal">
            <signature localId="768" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="769" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="766" locator="419:3-419:53" name="Number of Polio Booster Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="767" locator="419:57" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="772" locator="427:1-428:57" name="Polio booster dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Polio booster dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 1"/>
            <a:t name="code" value="Polio booster dose was administered-128"/>
            <a:t name="decision" value="IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)"/>
            <a:s r="772">
               <a:s>/*
@input: Polio booster dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Poliovirus-containing vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 1
@code: Polio booster dose was administered-128
@decision: IMMZ.D2.DT.Polio.IPV-only: Inactivated polio vaccine (IPV)-only (in countries, in polio-free regions, with a very low risk of importation and sustained high routine immunization coverage (third dose of the diphtheria–tetanus–pertussis vaccine [DTP3] > 90%)
*/
define &quot;Polio booster dose was administered&quot;:
  </a:s>
               <a:s r="773">
                  <a:s r="774">
                     <a:s>&quot;Number of Polio Booster Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="775"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="773" locator="428:3-428:57" xsi:type="Equal">
            <signature localId="776" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="777" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="774" locator="428:3-428:53" name="Number of Polio Booster Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="775" locator="428:57" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="780" locator="490:1-492:39" name="Polio IPV Primary Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Polio IPV Primary Series Doses Administered to Patient"/>
            <a:s r="780">
               <a:s>/*
@internal: Polio IPV Primary Series Doses Administered to Patient
*/
define &quot;Polio IPV Primary Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="795">
                  <a:s>
                     <a:s r="781">
                        <a:s r="782">
                           <a:s>
                              <a:s>&quot;Polio Primary Series Doses Administered to Patient&quot;</a:s>
                           </a:s>
                        </a:s>
                        <a:s> I</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  </a:s>
                  <a:s r="784">
                     <a:s>where </a:s>
                     <a:s r="784">
                        <a:s r="786">
                           <a:s r="785">
                              <a:s>I</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="786">
                              <a:s>typeOfDose()</a:s>
                           </a:s>
                        </a:s>
                        <a:s> ~ </a:s>
                        <a:s r="788">
                           <a:s r="787">
                              <a:s>Concepts</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="788">
                              <a:s>&quot;IPV&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="795" locator="491:3-492:39" xsi:type="Query">
            <source localId="781" locator="491:3-491:56" alias="I">
               <expression localId="782" locator="491:3-491:54" name="Polio Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
            </source>
            <where localId="784" locator="492:3-492:39" xsi:type="Equivalent">
               <signature localId="793" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <signature localId="794" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <operand localId="789" name="ToConcept" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="786" locator="492:9-492:22" name="typeOfDose" libraryName="Common" xsi:type="FunctionRef">
                     <operand localId="785" locator="492:9" name="I" xsi:type="AliasRef"/>
                  </operand>
               </operand>
               <operand localId="791" xsi:type="ToConcept">
                  <signature localId="792" name="t:Code" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="788" locator="492:26-492:39" name="IPV" libraryName="Concepts" xsi:type="CodeRef"/>
               </operand>
            </where>
         </expression>
      </def>
      <def localId="798" locator="503:1-504:65" name="Number of Polio IPV Primary Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Polio IPV Primary Series Doses Administered"/>
            <a:s r="798">
               <a:s>/*
@internal: Number of Polio IPV Primary Series Doses Administered
*/
define &quot;Number of Polio IPV Primary Series Doses Administered&quot;:
  </a:s>
               <a:s r="802">
                  <a:s>Count(</a:s>
                  <a:s r="799">
                     <a:s>&quot;Polio IPV Primary Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="802" locator="504:3-504:65" xsi:type="Count">
            <source localId="799" locator="504:9-504:64" name="Polio IPV Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
   </statements>
</library>
