<?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="462">
         <a:s>/*
  * Library: IMMZD2DTMeningococcalElements
  */
library IMMZD2DTMeningococcalElements</a:s>
      </a:s>
   </annotation>
   <identifier id="IMMZD2DTMeningococcalElements" 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:36" localIdentifier="Elements" path="http://smart.who.int/immunizations/IMMZElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="220">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZElements</a:s>
               </a:s>
               <a:s> called Elements</a:s>
            </a:s>
         </annotation>
      </def>
   </includes>
   <contexts>
      <def localId="225" locator="19:1-19:15" name="Patient"/>
   </contexts>
   <statements>
      <def localId="223" locator="19:1-19:15" name="Patient" context="Patient">
         <expression localId="224" xsi:type="SingletonFrom">
            <operand localId="222" locator="19:1-19:15" dataType="fhir:Patient" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/>
         </expression>
      </def>
      <def localId="228" locator="24:1-27:54" name="Meningococcal Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Meningococcal containing Doses Administered to Patient"/>
            <a:s r="228">
               <a:s>/*
@internal: Meningococcal containing Doses Administered to Patient
*/
define &quot;Meningococcal Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="240">
                  <a:s>
                     <a:s r="229">
                        <a:s r="231">
                           <a:s>
                              <a:s>Elements.&quot;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="237">
                     <a:s>where
    </a:s>
                     <a:s r="237">
                        <a:s r="234">
                           <a:s r="233">
                              <a:s>I</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="234">
                              <a:s>vaccineCode</a:s>
                           </a:s>
                        </a:s>
                        <a:s> in </a:s>
                        <a:s r="236">
                           <a:s r="235">
                              <a:s>Concepts</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="236">
                              <a:s>&quot;Meningococcal vaccines&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="240" locator="25:3-27:54" xsi:type="Query">
            <source localId="229" locator="25:3-25:44" alias="I">
               <expression localId="231" locator="25:3-25:42" name="Doses Administered to Patient" libraryName="Elements" xsi:type="ExpressionRef"/>
            </source>
            <where localId="237" locator="26:3-27:54" xsi:type="InValueSet">
               <signature localId="239" name="t:Concept" xsi:type="NamedTypeSpecifier"/>
               <code localId="238" name="ToConcept" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="234" locator="27:5-27:17" path="vaccineCode" scope="I" xsi:type="Property"/>
               </code>
               <valueset localId="236" locator="27:22-27:54" name="Meningococcal vaccines" libraryName="Concepts" preserve="true"/>
            </where>
         </expression>
      </def>
      <def localId="243" locator="32:1-33:63" name="Meningococcal Primary Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Meningococcal containing Doses Administered to Patient that are in the Primary series"/>
            <a:s r="243">
               <a:s>/*
@internal: Meningococcal containing Doses Administered to Patient that are in the Primary series
*/
define &quot;Meningococcal Primary Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="245">
                  <a:s r="244">
                     <a:s>&quot;Meningococcal Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="245">
                     <a:s>seriesPrimary()</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="245" locator="33:3-33:63" name="seriesPrimary" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="244" locator="33:3-33:47" name="Meningococcal Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="248" locator="38:1-39:69" name="Number of Meningococcal Primary Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Meningococcal Primary Series doses"/>
            <a:s r="248">
               <a:s>/*
@internal: Number of Meningococcal Primary Series doses
*/
define &quot;Number of Meningococcal Primary Series Doses Administered&quot;:
  </a:s>
               <a:s r="252">
                  <a:s>Count(</a:s>
                  <a:s r="249">
                     <a:s>&quot;Meningococcal Primary Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="252" locator="39:3-39:69" xsi:type="Count">
            <source localId="249" locator="39:9-39:68" name="Meningococcal Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="255" locator="48:1-49:46" name="Client's age is less than 9 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 9 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 9 months"/>
            <a:t name="code" value="Client's age is less than 9 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="255">
               <a:s>/*
@input: Client's age is less than 9 months
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 9 months
@code: Client's age is less than 9 months-41
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;Client's age is less than 9 months&quot;:
  </a:s>
               <a:s r="256">
                  <a:s r="258">
                     <a:s r="257">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="258">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="259"> &lt; 9</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="256" locator="49:3-49:46" xsi:type="Less">
            <signature localId="260" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="261" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="258" locator="49:3-49:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="259" locator="49:46" valueType="t:Integer" value="9" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="264" locator="63:1-64:65" name="No meningococcal primary series dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="No meningococcal primary series dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0"/>
            <a:t name="code" value="No meningococcal primary series dose was administered-122"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="264">
               <a:s>/*
@input: No meningococcal primary series dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 0
@code: No meningococcal primary series dose was administered-122
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;No meningococcal primary series dose was administered&quot;:
  </a:s>
               <a:s r="265">
                  <a:s r="266">
                     <a:s>&quot;Number of Meningococcal Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="267"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="265" locator="64:3-64:65" xsi:type="Equal">
            <signature localId="268" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="269" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="266" locator="64:3-64:61" name="Number of Meningococcal Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="267" locator="64:65" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="272" locator="72:1-73:47" name="Client's age is more than 9 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than 9 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 9 months"/>
            <a:t name="code" value="Client's age is more than 9 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule"/>
            <a:s r="272">
               <a:s>/*
@input: Client's age is more than 9 months
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 9 months
@code: Client's age is more than 9 months-41
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule
*/
define &quot;Client's age is more than 9 months&quot;:
  </a:s>
               <a:s r="273">
                  <a:s r="275">
                     <a:s r="274">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="275">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="276"> >= 9</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="273" locator="73:3-73:47" xsi:type="GreaterOrEqual">
            <signature localId="277" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="278" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="275" locator="73:3-73:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="276" locator="73:47" valueType="t:Integer" value="9" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="281" locator="87:1-88:65" name="One meningococcal primary series dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="One meningococcal primary series dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="code" value="One meningococcal primary series dose was administered-122"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="281">
               <a:s>/*
@input: One meningococcal primary series dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@code: One meningococcal primary series dose was administered-122
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 1 dose: MenA conjugate vaccine, 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;One meningococcal primary series dose was administered&quot;:
  </a:s>
               <a:s r="282">
                  <a:s r="283">
                     <a:s>&quot;Number of Meningococcal Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="284"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="282" locator="88:3-88:65" xsi:type="Equal">
            <signature localId="285" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="286" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="283" locator="88:3-88:61" name="Number of Meningococcal Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="284" locator="88:65" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="289" locator="96:1-97:46" name="Client's age is less than 3 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 3 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 3 months"/>
            <a:t name="code" value="Client's age is less than 3 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:s r="289">
               <a:s>/*
@input: Client's age is less than 3 months
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 3 months
@code: Client's age is less than 3 months-41
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
*/
define &quot;Client's age is less than 3 months&quot;:
  </a:s>
               <a:s r="290">
                  <a:s r="292">
                     <a:s r="291">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="292">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="293"> &lt; 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="290" locator="97:3-97:46" xsi:type="Less">
            <signature localId="294" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="295" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="292" locator="97:3-97:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="293" locator="97:46" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="298" locator="105:1-106:47" name="Client's age is more than or equal to 3 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 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 or equal to 3 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:s r="298">
               <a:s>/*
@input: Client's age is more than or equal to 3 months
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 3 months
@code: Client's age is more than or equal to 3 months-41
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
*/
define &quot;Client's age is more than or equal to 3 months&quot;:
  </a:s>
               <a:s r="299">
                  <a:s r="301">
                     <a:s r="300">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="301">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="302"> >= 3</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="299" locator="106:3-106:47" xsi:type="GreaterOrEqual">
            <signature localId="303" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="304" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="301" locator="106:3-106:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="302" locator="106:47" valueType="t:Integer" value="3" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="311" locator="334:1-335:118" name="Date of Latest Primary Meningococcal Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of Latest Primary Meningococcal Dose"/>
            <a:s r="311">
               <a:s>/*
@internal: Date of Latest Primary Meningococcal Dose
*/
define &quot;Date of Latest Primary Meningococcal Dose&quot;:
  </a:s>
               <a:s r="312">
                  <a:s>date from </a:s>
                  <a:s r="313">
                     <a:s>start of </a:s>
                     <a:s r="319">
                        <a:s r="318">
                           <a:s r="315">
                              <a:s r="314">
                                 <a:s>&quot;Meningococcal Primary Series Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="315">
                                 <a:s>mostRecent()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="318">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="319">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="312" locator="335:3-335:118" xsi:type="DateFrom">
            <operand localId="313" locator="335:13-335:118" xsi:type="Start">
               <operand localId="319" locator="335:22-335:118" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="318" locator="335:22-335:105" path="occurrence" xsi:type="Property">
                     <source localId="315" locator="335:22-335:94" name="mostRecent" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="316" xsi:type="ListTypeSpecifier">
                           <elementType localId="317" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="314" locator="335:22-335:81" name="Meningococcal Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="307" locator="114:1-116:89" name="The latest meningococcal dose was administered less than 8 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered less than 8 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 8 weeks"/>
            <a:t name="code" value="The latest meningococcal dose was administered less than 8 weeks ago-105"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:s r="307">
               <a:s>/*
@input: The latest meningococcal dose was administered less than 8 weeks ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 8 weeks
@code: The latest meningococcal dose was administered less than 8 weeks ago-105
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
*/
define &quot;The latest meningococcal dose was administered less than 8 weeks ago&quot;:
  </a:s>
               <a:s r="308">
                  <a:s r="322">
                     <a:s r="320">
                        <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="323">
                     <a:s r="324">
                        <a:s>duration in weeks between </a:s>
                        <a:s r="325">
                           <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="328">
                           <a:s>Now()</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="334"> &lt; 8</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="308" locator="115:3-116:89" xsi:type="And">
            <operand localId="322" locator="115:3-115:57" xsi:type="Not">
               <operand localId="321" locator="115:3-115:57" xsi:type="IsNull">
                  <operand localId="320" locator="115:3-115:45" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="323" locator="116:7-116:89" xsi:type="Less">
               <signature localId="335" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="336" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="324" locator="116:7-116:85" precision="Week" xsi:type="DurationBetween">
                  <signature localId="332" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="333" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="330" xsi:type="ToDateTime">
                     <signature localId="331" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="325" locator="116:33-116:75" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
                  </operand>
                  <operand localId="328" locator="116:81-116:85" xsi:type="Now"/>
               </operand>
               <operand localId="334" locator="116:89" valueType="t:Integer" value="8" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="339" locator="124:1-125:76" name="The latest meningococcal dose was administered more than 8 weeks ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered more than 8 weeks ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 8 weeks"/>
            <a:t name="code" value="The latest meningococcal dose was administered more than 8 weeks ago-105"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:s r="339">
               <a:s>/*
@input: The latest meningococcal dose was administered more than 8 weeks ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 8 weeks
@code: The latest meningococcal dose was administered more than 8 weeks ago-105
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
*/
define &quot;The latest meningococcal dose was administered more than 8 weeks ago&quot;:
  </a:s>
               <a:s r="340">
                  <a:s>not </a:s>
                  <a:s r="341">
                     <a:s>&quot;The latest meningococcal dose was administered less than 8 weeks ago&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="340" locator="125:3-125:76" xsi:type="Not">
            <operand localId="341" locator="125:7-125:76" name="The latest meningococcal dose was administered less than 8 weeks ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="344" locator="135:1-136:65" name="Two meningococcal primary series doses were administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Two meningococcal primary series doses were administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:t name="code" value="Two meningococcal primary series doses were administered-122"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="344">
               <a:s>/*
@input: Two meningococcal primary series doses were administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
@code: Two meningococcal primary series doses were administered-122
@decision: IMMZ.D2.DT.Meningococcal.MenA conjugate vaccine 2 doses: MenA conjugate vaccine, 2-dose schedule (specific context where there is a compelling reason to vaccinate infants aged under 9 months)
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;Two meningococcal primary series doses were administered&quot;:
  </a:s>
               <a:s r="345">
                  <a:s r="346">
                     <a:s>&quot;Number of Meningococcal Primary Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="347"> = 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="345" locator="136:3-136:65" xsi:type="Equal">
            <signature localId="348" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="349" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="346" locator="136:3-136:61" name="Number of Meningococcal Primary Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="347" locator="136:65" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="352" locator="144:1-145:46" name="Client's age is less than 2 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 2 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 2 months"/>
            <a:t name="code" value="Client's age is less than 2 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="352">
               <a:s>/*
@input: Client's age is less than 2 months
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 2 months
@code: Client's age is less than 2 months-41
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;Client's age is less than 2 months&quot;:
  </a:s>
               <a:s r="353">
                  <a:s r="355">
                     <a:s r="354">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="355">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="356"> &lt; 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="353" locator="145:3-145:46" xsi:type="Less">
            <signature localId="357" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="358" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="355" locator="145:3-145:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="356" locator="145:46" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="361" locator="153:1-154:47" name="Client's age is more than or equal to 2 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 2 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 2 months"/>
            <a:t name="code" value="Client's age is more than or equal to 2 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="361">
               <a:s>/*
@input: Client's age is more than or equal to 2 months
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 2 months
@code: Client's age is more than or equal to 2 months-41
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;Client's age is more than or equal to 2 months&quot;:
  </a:s>
               <a:s r="362">
                  <a:s r="364">
                     <a:s r="363">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="364">
                        <a:s>&quot;Current Patient Age In Months&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="365"> >= 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="362" locator="154:3-154:47" xsi:type="GreaterOrEqual">
            <signature localId="366" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="367" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="364" locator="154:3-154:42" name="Current Patient Age In Months" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="365" locator="154:47" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="374" locator="340:1-341:116" name="Date of First Primary Series Meningococcal Dose" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Date of First Primary Series Meningococcal Dose"/>
            <a:s r="374">
               <a:s>/*
@internal: Date of First Primary Series Meningococcal Dose
*/
define &quot;Date of First Primary Series Meningococcal Dose&quot;:
  </a:s>
               <a:s r="375">
                  <a:s>date from </a:s>
                  <a:s r="376">
                     <a:s>start of </a:s>
                     <a:s r="382">
                        <a:s r="381">
                           <a:s r="378">
                              <a:s r="377">
                                 <a:s>&quot;Meningococcal Primary Series Doses Administered to Patient&quot;</a:s>
                              </a:s>
                              <a:s>.</a:s>
                              <a:s r="378">
                                 <a:s>earliest()</a:s>
                              </a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="381">
                              <a:s>occurrence</a:s>
                           </a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="382">
                           <a:s>toInterval()</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="375" locator="341:3-341:116" xsi:type="DateFrom">
            <operand localId="376" locator="341:13-341:116" xsi:type="Start">
               <operand localId="382" locator="341:22-341:116" name="toInterval" libraryName="WC" xsi:type="FunctionRef">
                  <operand localId="381" locator="341:22-341:103" path="occurrence" xsi:type="Property">
                     <source localId="378" locator="341:22-341:92" name="earliest" libraryName="WC" xsi:type="FunctionRef">
                        <signature localId="379" xsi:type="ListTypeSpecifier">
                           <elementType localId="380" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/>
                        </signature>
                        <operand localId="377" locator="341:22-341:81" name="Meningococcal Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
                     </source>
                  </operand>
               </operand>
            </operand>
         </expression>
      </def>
      <def localId="370" locator="162:1-163:72" name="Client's age was less than or equal to 11 months when the primary series was started" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age was less than or equal to 11 months when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; ≤ 11 months"/>
            <a:t name="code" value="Client's age was less than or equal to 11 months when the primary series was started-110"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="370">
               <a:s>/*
@input: Client's age was less than or equal to 11 months when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; ≤ 11 months
@code: Client's age was less than or equal to 11 months when the primary series was started-110
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;Client's age was less than or equal to 11 months when the primary series was started&quot;:
  </a:s>
               <a:s r="371">
                  <a:s r="388">
                     <a:s>AgeInMonthsAt(</a:s>
                     <a:s r="383">
                        <a:s>&quot;Date of First Primary Series Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="391"> &lt;= 11</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="371" locator="163:3-163:72" xsi:type="LessOrEqual">
            <signature localId="392" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="393" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="388" locator="163:3-163:66" precision="Month" xsi:type="CalculateAgeAt">
               <signature localId="389" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="390" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="387" path="birthDate.value" xsi:type="Property">
                  <source localId="386" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="383" locator="163:17-163:65" name="Date of First Primary Series Meningococcal Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="391" locator="163:71-163:72" valueType="t:Integer" value="11" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="396" locator="171:1-173:90" name="The latest meningococcal dose was administered less than 2 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered less than 2 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 2 months"/>
            <a:t name="code" value="The latest meningococcal dose was administered less than 2 months ago-106"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="396">
               <a:s>/*
@input: The latest meningococcal dose was administered less than 2 months ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 2 months
@code: The latest meningococcal dose was administered less than 2 months ago-106
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;The latest meningococcal dose was administered less than 2 months ago&quot;:
  </a:s>
               <a:s r="397">
                  <a:s r="400">
                     <a:s r="398">
                        <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="401">
                     <a:s r="402">
                        <a:s>duration in months between </a:s>
                        <a:s r="403">
                           <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="406">
                           <a:s>Now()</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="412"> &lt; 2</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="397" locator="172:3-173:90" xsi:type="And">
            <operand localId="400" locator="172:3-172:57" xsi:type="Not">
               <operand localId="399" locator="172:3-172:57" xsi:type="IsNull">
                  <operand localId="398" locator="172:3-172:45" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="401" locator="173:7-173:90" xsi:type="Less">
               <signature localId="413" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="414" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="402" locator="173:7-173:86" precision="Month" xsi:type="DurationBetween">
                  <signature localId="410" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="411" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="408" xsi:type="ToDateTime">
                     <signature localId="409" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="403" locator="173:34-173:76" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
                  </operand>
                  <operand localId="406" locator="173:82-173:86" xsi:type="Now"/>
               </operand>
               <operand localId="412" locator="173:90" valueType="t:Integer" value="2" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="417" locator="181:1-182:77" name="The latest meningococcal dose was administered more than 2 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered more than 2 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 2 months"/>
            <a:t name="code" value="The latest meningococcal dose was administered more than 2 months ago-106"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="417">
               <a:s>/*
@input: The latest meningococcal dose was administered more than 2 months ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 2 months
@code: The latest meningococcal dose was administered more than 2 months ago-106
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;The latest meningococcal dose was administered more than 2 months ago&quot;:
  </a:s>
               <a:s r="418">
                  <a:s>not </a:s>
                  <a:s r="419">
                     <a:s>&quot;The latest meningococcal dose was administered less than 2 months ago&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="418" locator="182:3-182:77" xsi:type="Not">
            <operand localId="419" locator="182:7-182:77" name="The latest meningococcal dose was administered less than 2 months ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="422" locator="190:1-191:71" name="Client's age was more than 11 months 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 11 months when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; > 11 months"/>
            <a:t name="code" value="Client's age was more than 11 months when the primary series was started-110"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="422">
               <a:s>/*
@input: Client's age was more than 11 months when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; > 11 months
@code: Client's age was more than 11 months when the primary series was started-110
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;Client's age was more than 11 months when the primary series was started&quot;:
  </a:s>
               <a:s r="423">
                  <a:s r="429">
                     <a:s>AgeInMonthsAt(</a:s>
                     <a:s r="424">
                        <a:s>&quot;Date of First Primary Series Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="432"> > 11</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="423" locator="191:3-191:71" xsi:type="Greater">
            <signature localId="433" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="434" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="429" locator="191:3-191:66" precision="Month" xsi:type="CalculateAgeAt">
               <signature localId="430" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="431" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="428" path="birthDate.value" xsi:type="Property">
                  <source localId="427" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="424" locator="191:17-191:65" name="Date of First Primary Series Meningococcal Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="432" locator="191:70-191:71" valueType="t:Integer" value="11" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="437" locator="199:1-201:89" name="The latest meningococcal dose was administered less than 1 year ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered less than 1 year ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 1 year"/>
            <a:t name="code" value="The latest meningococcal dose was administered less than 1 year ago-111"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="437">
               <a:s>/*
@input: The latest meningococcal dose was administered less than 1 year ago
@pseudocode: Today's date − latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 1 year
@code: The latest meningococcal dose was administered less than 1 year ago-111
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;The latest meningococcal dose was administered less than 1 year ago&quot;:
  </a:s>
               <a:s r="438">
                  <a:s r="441">
                     <a:s r="439">
                        <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="442">
                     <a:s r="443">
                        <a:s>duration in years between </a:s>
                        <a:s r="444">
                           <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="447">
                           <a:s>Now()</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="453"> &lt; 1</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="438" locator="200:3-201:89" xsi:type="And">
            <operand localId="441" locator="200:3-200:57" xsi:type="Not">
               <operand localId="440" locator="200:3-200:57" xsi:type="IsNull">
                  <operand localId="439" locator="200:3-200:45" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="442" locator="201:7-201:89" xsi:type="Less">
               <signature localId="454" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="455" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="443" locator="201:7-201:85" precision="Year" xsi:type="DurationBetween">
                  <signature localId="451" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="452" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="449" xsi:type="ToDateTime">
                     <signature localId="450" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="444" locator="201:33-201:75" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
                  </operand>
                  <operand localId="447" locator="201:81-201:85" xsi:type="Now"/>
               </operand>
               <operand localId="453" locator="201:89" valueType="t:Integer" value="1" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="465" locator="346:1-347:63" name="Meningococcal Booster Series Doses Administered to Patient" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Meningococcal Booster Series Doses Administered to Patient"/>
            <a:s r="465">
               <a:s>/*
@internal: Meningococcal Booster Series Doses Administered to Patient
*/
define &quot;Meningococcal Booster Series Doses Administered to Patient&quot;:
  </a:s>
               <a:s r="467">
                  <a:s r="466">
                     <a:s>&quot;Meningococcal Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="467">
                     <a:s>seriesBooster()</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="467" locator="347:3-347:63" name="seriesBooster" libraryName="Common" xsi:type="FunctionRef">
            <operand localId="466" locator="347:3-347:47" name="Meningococcal Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="462" locator="352:1-353:69" name="Number of Meningococcal Booster Series Doses Administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="internal" value="Number of Meningococcal Booster Series Doses Administered"/>
            <a:s r="462">
               <a:s>/*
@internal: Number of Meningococcal Booster Series Doses Administered
*/
define &quot;Number of Meningococcal Booster Series Doses Administered&quot;:
  </a:s>
               <a:s r="471">
                  <a:s>Count(</a:s>
                  <a:s r="468">
                     <a:s>&quot;Meningococcal Booster Series Doses Administered to Patient&quot;</a:s>
                  </a:s>
                  <a:s>)</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="471" locator="353:3-353:69" xsi:type="Count">
            <source localId="468" locator="353:9-353:68" name="Meningococcal Booster Series Doses Administered to Patient" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="458" locator="211:1-212:65" name="No meningococcal booster dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="No meningococcal booster dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 0"/>
            <a:t name="code" value="No meningococcal booster dose was administered-120"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="458">
               <a:s>/*
@input: No meningococcal booster dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 0
@code: No meningococcal booster dose was administered-120
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;No meningococcal booster dose was administered&quot;:
  </a:s>
               <a:s r="459">
                  <a:s r="472">
                     <a:s>&quot;Number of Meningococcal Booster Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="473"> = 0</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="459" locator="212:3-212:65" xsi:type="Equal">
            <signature localId="474" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="475" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="472" locator="212:3-212:61" name="Number of Meningococcal Booster Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="473" locator="212:65" valueType="t:Integer" value="0" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="478" locator="220:1-221:75" name="The latest meningococcal dose was administered more than 1 year ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered more than 1 year ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 1 year"/>
            <a:t name="code" value="The latest meningococcal dose was administered more than 1 year ago-111"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:s r="478">
               <a:s>/*
@input: The latest meningococcal dose was administered more than 1 year ago
@pseudocode: Today's date − latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 1 year
@code: The latest meningococcal dose was administered more than 1 year ago-111
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
*/
define &quot;The latest meningococcal dose was administered more than 1 year ago&quot;:
  </a:s>
               <a:s r="479">
                  <a:s>not </a:s>
                  <a:s r="480">
                     <a:s>&quot;The latest meningococcal dose was administered less than 1 year ago&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="479" locator="221:3-221:75" xsi:type="Not">
            <operand localId="480" locator="221:7-221:75" name="The latest meningococcal dose was administered less than 1 year ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="483" locator="231:1-232:65" name="Meningococcal booster dose was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Meningococcal booster dose was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 1"/>
            <a:t name="code" value="Meningococcal booster dose was administered-120"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="483">
               <a:s>/*
@input: Meningococcal booster dose was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot; and &quot;Type of dose&quot; = &quot;Booster dose&quot;) = 1
@code: Meningococcal booster dose was administered-120
@decision: IMMZ.D2.DT.Meningococcal.Monovalent MenC conjugate vaccine: Monovalent MenC conjugate vaccine schedule
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;Meningococcal booster dose was administered&quot;:
  </a:s>
               <a:s r="484">
                  <a:s r="485">
                     <a:s>&quot;Number of Meningococcal Booster Series Doses Administered&quot;</a:s>
                  </a:s>
                  <a:s r="486"> = 1</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="484" locator="232:3-232:65" xsi:type="Equal">
            <signature localId="487" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="488" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="485" locator="232:3-232:61" name="Number of Meningococcal Booster Series Doses Administered" xsi:type="ExpressionRef"/>
            <operand localId="486" locator="232:65" valueType="t:Integer" value="1" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="491" locator="242:1-243:45" name="Client's age is less than 2 years" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is less than 2 years"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; &lt; 2 years"/>
            <a:t name="code" value="Client's age is less than 2 years-40"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="491">
               <a:s>/*
@input: Client's age is less than 2 years
@pseudocode: Today's date − &quot;Date of birth&quot; &lt; 2 years
@code: Client's age is less than 2 years-40
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;Client's age is less than 2 years&quot;:
  </a:s>
               <a:s r="492">
                  <a:s r="494">
                     <a:s r="493">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="494">
                        <a:s>&quot;Current Patient Age In Years&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="495"> &lt; 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="492" locator="243:3-243:45" xsi:type="Less">
            <signature localId="496" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="497" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="494" locator="243:3-243:41" name="Current Patient Age In Years" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="495" locator="243:45" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="500" locator="251:1-252:46" name="Client's age is more than or equal to 2 years" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 2 years"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 2 years"/>
            <a:t name="code" value="Client's age is more than or equal to 2 years-40"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule"/>
            <a:s r="500">
               <a:s>/*
@input: Client's age is more than or equal to 2 years
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 2 years
@code: Client's age is more than or equal to 2 years-40
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 1 dose: Quadrivalent conjugate vaccines (A,C,W135,Y-CRM), 1-dose schedule
*/
define &quot;Client's age is more than or equal to 2 years&quot;:
  </a:s>
               <a:s r="501">
                  <a:s r="503">
                     <a:s r="502">
                        <a:s>Elements</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="503">
                        <a:s>&quot;Current Patient Age In Years&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="504"> >= 2</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="501" locator="252:3-252:46" xsi:type="GreaterOrEqual">
            <signature localId="505" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="506" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="503" locator="252:3-252:41" name="Current Patient Age In Years" libraryName="Elements" xsi:type="ExpressionRef"/>
            <operand localId="504" locator="252:46" valueType="t:Integer" value="2" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="509" locator="260:1-261:38" name="Client's age is more than or equal to 9 months" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than or equal to 9 months"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 9 months"/>
            <a:t name="code" value="Client's age is more than or equal to 9 months-41"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="509">
               <a:s>/*
@input: Client's age is more than or equal to 9 months
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 9 months
@code: Client's age is more than or equal to 9 months-41
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;Client's age is more than or equal to 9 months&quot;:
  </a:s>
               <a:s r="510">
                  <a:s>&quot;Client's age is more than 9 months&quot;</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="510" locator="261:3-261:38" name="Client's age is more than 9 months" xsi:type="ExpressionRef"/>
      </def>
      <def localId="513" locator="269:1-270:72" name="Client's age was less than or equal to 23 months when the primary series was started" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age was less than or equal to 23 months when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; ≤ 23 months"/>
            <a:t name="code" value="Client's age was less than or equal to 23 months when the primary series was started-110"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="513">
               <a:s>/*
@input: Client's age was less than or equal to 23 months when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; ≤ 23 months
@code: Client's age was less than or equal to 23 months when the primary series was started-110
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;Client's age was less than or equal to 23 months when the primary series was started&quot;:
  </a:s>
               <a:s r="514">
                  <a:s r="520">
                     <a:s>AgeInMonthsAt(</a:s>
                     <a:s r="515">
                        <a:s>&quot;Date of First Primary Series Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="523"> &lt;= 23</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="514" locator="270:3-270:72" xsi:type="LessOrEqual">
            <signature localId="524" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="525" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="520" locator="270:3-270:66" precision="Month" xsi:type="CalculateAgeAt">
               <signature localId="521" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="522" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="519" path="birthDate.value" xsi:type="Property">
                  <source localId="518" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="515" locator="270:17-270:65" name="Date of First Primary Series Meningococcal Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="523" locator="270:71-270:72" valueType="t:Integer" value="23" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="528" locator="278:1-280:90" name="The latest meningococcal dose was administered less than 3 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered less than 3 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 3 months"/>
            <a:t name="code" value="The latest meningococcal dose was administered less than 3 months ago-106"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="528">
               <a:s>/*
@input: The latest meningococcal dose was administered less than 3 months ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 3 months
@code: The latest meningococcal dose was administered less than 3 months ago-106
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;The latest meningococcal dose was administered less than 3 months ago&quot;:
  </a:s>
               <a:s r="529">
                  <a:s r="532">
                     <a:s r="530">
                        <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="533">
                     <a:s r="534">
                        <a:s>duration in months between </a:s>
                        <a:s r="535">
                           <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="538">
                           <a:s>Now()</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="544"> &lt; 3</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="529" locator="279:3-280:90" xsi:type="And">
            <operand localId="532" locator="279:3-279:57" xsi:type="Not">
               <operand localId="531" locator="279:3-279:57" xsi:type="IsNull">
                  <operand localId="530" locator="279:3-279:45" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="533" locator="280:7-280:90" xsi:type="Less">
               <signature localId="545" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="546" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="534" locator="280:7-280:86" precision="Month" xsi:type="DurationBetween">
                  <signature localId="542" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="543" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="540" xsi:type="ToDateTime">
                     <signature localId="541" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="535" locator="280:34-280:76" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
                  </operand>
                  <operand localId="538" locator="280:82-280:86" xsi:type="Now"/>
               </operand>
               <operand localId="544" locator="280:90" valueType="t:Integer" value="3" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="549" locator="288:1-289:77" name="The latest meningococcal dose was administered more than 3 months ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered more than 3 months ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 3 months"/>
            <a:t name="code" value="The latest meningococcal dose was administered more than 3 months ago-106"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="549">
               <a:s>/*
@input: The latest meningococcal dose was administered more than 3 months ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 3 months
@code: The latest meningococcal dose was administered more than 3 months ago-106
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;The latest meningococcal dose was administered more than 3 months ago&quot;:
  </a:s>
               <a:s r="550">
                  <a:s>not </a:s>
                  <a:s r="551">
                     <a:s>&quot;The latest meningococcal dose was administered less than 3 months ago&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="550" locator="289:3-289:77" xsi:type="Not">
            <operand localId="551" locator="289:7-289:77" name="The latest meningococcal dose was administered less than 3 months ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
      <def localId="554" locator="297:1-298:71" name="Client's age was more than 23 months 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 23 months when the primary series was started"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; > 23 months"/>
            <a:t name="code" value="Client's age was more than 23 months when the primary series was started-110"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule"/>
            <a:s r="554">
               <a:s>/*
@input: Client's age was more than 23 months when the primary series was started
@pseudocode: &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) - &quot;Date of birth&quot; > 23 months
@code: Client's age was more than 23 months when the primary series was started-110
@decision: IMMZ.D2.DT.Meningococcal.Quadrivalent conjugate vaccines 2 doses: Quadrivalent conjugate vaccines (A,C,W135,Y-D), 2-dose schedule
*/
define &quot;Client's age was more than 23 months when the primary series was started&quot;:
  </a:s>
               <a:s r="555">
                  <a:s r="561">
                     <a:s>AgeInMonthsAt(</a:s>
                     <a:s r="556">
                        <a:s>&quot;Date of First Primary Series Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s>)</a:s>
                  </a:s>
                  <a:s r="564"> > 23</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="555" locator="298:3-298:71" xsi:type="Greater">
            <signature localId="565" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <signature localId="566" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
            <operand localId="561" locator="298:3-298:66" precision="Month" xsi:type="CalculateAgeAt">
               <signature localId="562" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="563" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <operand localId="560" path="birthDate.value" xsi:type="Property">
                  <source localId="559" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
               <operand localId="556" locator="298:17-298:65" name="Date of First Primary Series Meningococcal Dose" xsi:type="ExpressionRef"/>
            </operand>
            <operand localId="564" locator="298:70-298:71" valueType="t:Integer" value="23" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="569" locator="307:1-308:49" name="Client's age is more than 2 years" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="Client's age is more than 2 years"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; ≥ 2 years"/>
            <a:t name="code" value="Client's age is more than 2 years-40"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="569">
               <a:s>/*
@input: Client's age is more than 2 years
@pseudocode: Today's date − &quot;Date of birth&quot; ≥ 2 years
@code: Client's age is more than 2 years-40
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;Client's age is more than 2 years&quot;:
  </a:s>
               <a:s r="570">
                  <a:s>&quot;Client's age is more than or equal to 2 years&quot;</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="570" locator="308:3-308:49" name="Client's age is more than or equal to 2 years" xsi:type="ExpressionRef"/>
      </def>
      <def localId="573" locator="317:1-319:89" name="The latest meningococcal dose was administered less than 3 years ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered less than 3 years ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 3 years"/>
            <a:t name="code" value="The latest meningococcal dose was administered less than 3 years ago-105"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="573">
               <a:s>/*
@input: The latest meningococcal dose was administered less than 3 years ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) &lt; 3 years
@code: The latest meningococcal dose was administered less than 3 years ago-105
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;The latest meningococcal dose was administered less than 3 years ago&quot;:
  </a:s>
               <a:s r="574">
                  <a:s r="577">
                     <a:s r="575">
                        <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                     </a:s>
                     <a:s> is not null</a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="578">
                     <a:s r="579">
                        <a:s>duration in years between </a:s>
                        <a:s r="580">
                           <a:s>&quot;Date of Latest Primary Meningococcal Dose&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="583">
                           <a:s>Now()</a:s>
                        </a:s>
                     </a:s>
                     <a:s r="589"> &lt; 3</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="574" locator="318:3-319:89" xsi:type="And">
            <operand localId="577" locator="318:3-318:57" xsi:type="Not">
               <operand localId="576" locator="318:3-318:57" xsi:type="IsNull">
                  <operand localId="575" locator="318:3-318:45" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="578" locator="319:7-319:89" xsi:type="Less">
               <signature localId="590" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <signature localId="591" name="t:Integer" xsi:type="NamedTypeSpecifier"/>
               <operand localId="579" locator="319:7-319:85" precision="Year" xsi:type="DurationBetween">
                  <signature localId="587" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="588" name="t:DateTime" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="585" xsi:type="ToDateTime">
                     <signature localId="586" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="580" locator="319:33-319:75" name="Date of Latest Primary Meningococcal Dose" xsi:type="ExpressionRef"/>
                  </operand>
                  <operand localId="583" locator="319:81-319:85" xsi:type="Now"/>
               </operand>
               <operand localId="589" locator="319:89" valueType="t:Integer" value="3" xsi:type="Literal"/>
            </operand>
         </expression>
      </def>
      <def localId="594" locator="328:1-329:76" name="The latest meningococcal dose was administered more than 3 years ago" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="input" value="The latest meningococcal dose was administered more than 3 years ago"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 3 years"/>
            <a:t name="code" value="The latest meningococcal dose was administered more than 3 years ago-105"/>
            <a:t name="decision" value="IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule&#xa;(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)"/>
            <a:s r="594">
               <a:s>/*
@input: The latest meningococcal dose was administered more than 3 years ago
@pseudocode: Today's date − &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Meningococcal vaccines&quot;) ≥ 3 years
@code: The latest meningococcal dose was administered more than 3 years ago-105
@decision: IMMZ.D2.DT.Meningococcal.Polysaccharide vaccines: Polysaccharide vaccines schedule
(Polysaccharide vaccines can be used to control outbreaks in countries where limited economic resources or insufficient supply restrict the use of meningococcal conjugate vaccines)
*/
define &quot;The latest meningococcal dose was administered more than 3 years ago&quot;:
  </a:s>
               <a:s r="595">
                  <a:s>not </a:s>
                  <a:s r="596">
                     <a:s>&quot;The latest meningococcal dose was administered less than 3 years ago&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="595" locator="329:3-329:76" xsi:type="Not">
            <operand localId="596" locator="329:7-329:76" name="The latest meningococcal dose was administered less than 3 years ago" xsi:type="ExpressionRef"/>
         </expression>
      </def>
   </statements>
</library>
