<?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="498">
         <a:s>/*
 * Library: IMMZD18SRotavirusLogic (IMMZ.D18.S.Rotavirus schedule)
 * Schedule Table: IMMZ.D18.S.Rotavirus schedule
 */
library IMMZD18SRotavirusLogic</a:s>
      </a:s>
   </annotation>
   <identifier id="IMMZD18SRotavirusLogic" 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:27" localIdentifier="WC" path="http://smart.who.int/immunizations/WHOCommon">
         <annotation xsi:type="a:Annotation">
            <a:s r="210">
               <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="212" locator="12:1-12:32" localIdentifier="Common" path="http://smart.who.int/immunizations/IMMZCommon">
         <annotation xsi:type="a:Annotation">
            <a:s r="212">
               <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="214" locator="13:1-13:36" localIdentifier="Concepts" path="http://smart.who.int/immunizations/IMMZConcepts">
         <annotation xsi:type="a:Annotation">
            <a:s r="214">
               <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="216" locator="15:1-15:39" localIdentifier="IE" path="http://smart.who.int/immunizations/IMMZEncounterElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="216">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZEncounterElements</a:s>
               </a:s>
               <a:s> called IE</a:s>
            </a:s>
         </annotation>
      </def>
      <def localId="218" locator="16:1-16:59" localIdentifier="Encounter" path="http://smart.who.int/immunizations/IMMZD2DTRotavirusEncounterElements">
         <annotation xsi:type="a:Annotation">
            <a:s r="218">
               <a:s>include </a:s>
               <a:s>
                  <a:s>IMMZD2DTRotavirusEncounterElements</a:s>
               </a:s>
               <a:s> called Encounter</a:s>
            </a:s>
         </annotation>
      </def>
   </includes>
   <parameters>
      <def localId="220" locator="18:1-18:36" name="Today" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:s r="220">
               <a:s>parameter Today </a:s>
               <a:s r="224">
                  <a:s>Date</a:s>
               </a:s>
               <a:s> default </a:s>
               <a:s r="223">
                  <a:s>Today()</a:s>
               </a:s>
            </a:s>
         </annotation>
         <default localId="223" locator="18:30-18:36" xsi:type="Today"/>
         <parameterTypeSpecifier localId="224" locator="18:17-18:20" name="t:Date" xsi:type="NamedTypeSpecifier"/>
      </def>
   </parameters>
   <contexts>
      <def localId="229" locator="21:1-21:15" name="Patient"/>
   </contexts>
   <statements>
      <def localId="227" locator="21:1-21:15" name="Patient" context="Patient">
         <expression localId="228" xsi:type="SingletonFrom">
            <operand localId="226" locator="21:1-21:15" dataType="fhir:Patient" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/>
         </expression>
      </def>
      <def localId="239" locator="70:1-71:31" name="Rotavirus dose 1 Expiration" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 1 Expiration"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; + 24 months"/>
            <a:s r="239">
               <a:s>/*
@dynamicValue: Rotavirus dose 1 Expiration
@pseudocode: &quot;Date of birth&quot; + 24 months
*/
define &quot;Rotavirus dose 1 Expiration&quot;:
  </a:s>
               <a:s r="240">
                  <a:s r="242">
                     <a:s r="241">
                        <a:s>Patient</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="242">
                        <a:s>birthDate</a:s>
                     </a:s>
                  </a:s>
                  <a:s> + </a:s>
                  <a:s r="243">
                     <a:s>24 months</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="240" locator="71:3-71:31" xsi:type="Add">
            <signature localId="245" name="t:Date" xsi:type="NamedTypeSpecifier"/>
            <signature localId="246" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
            <operand localId="244" name="ToDate" libraryName="FHIRHelpers" xsi:type="FunctionRef">
               <operand localId="242" locator="71:3-71:19" path="birthDate" xsi:type="Property">
                  <source localId="241" locator="71:3-71:9" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="243" locator="71:23-71:31" value="24" unit="months" xsi:type="Quantity"/>
         </expression>
      </def>
      <def localId="255" locator="78:1-79:64" name="First rotavirus dose from the primary series was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="complete" value="First rotavirus dose from the primary series was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:s r="255">
               <a:s>/*
@complete: First rotavirus dose from the primary series was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
*/
define &quot;First rotavirus dose from the primary series was administered&quot;:
  </a:s>
               <a:s r="257">
                  <a:s r="256">
                     <a:s>Encounter</a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="257">
                     <a:s>&quot;One rotavirus primary series dose was administered&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="257" locator="79:3-79:64" name="One rotavirus primary series dose was administered" libraryName="Encounter" xsi:type="ExpressionRef"/>
      </def>
      <def localId="232" locator="31:1-34:73" name="Rotavirus dose 1" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 1"/>
            <a:t name="description" value="Provision of the rotavirus first dose"/>
            <a:t name="trigger" value="Child's birth"/>
            <a:t name="pseudo"/>
            <a:t name="triggerDate" value="&quot;Date of birth&quot;"/>
            <a:s r="232">
               <a:s>/*
@output: Rotavirus dose 1
@description: Provision of the rotavirus first dose
@trigger: Child's birth
@pseudo: 
@triggerDate: &quot;Date of birth&quot;
*/
define &quot;Rotavirus dose 1&quot;:
  </a:s>
               <a:s r="233">
                  <a:s r="234">
                     <a:s r="236">
                        <a:s r="235">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="236">
                           <a:s>&quot;No rotavirus primary series doses were administered&quot;</a:s>
                        </a:s>
                     </a:s>
                     <a:s>
  and </a:s>
                     <a:s r="249">
                        <a:s r="247">
                           <a:s>&quot;Rotavirus dose 1 Expiration&quot;</a:s>
                        </a:s>
                        <a:s r="249"> after day of </a:s>
                        <a:s r="248">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="252">
                     <a:s>not </a:s>
                     <a:s r="258">
                        <a:s>&quot;First rotavirus dose from the primary series was administered&quot;</a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="233" locator="32:3-34:73" xsi:type="And">
            <operand localId="234" locator="32:3-33:54" xsi:type="And">
               <operand localId="236" locator="32:3-32:65" name="No rotavirus primary series doses were administered" libraryName="Encounter" xsi:type="ExpressionRef"/>
               <operand localId="249" locator="33:7-33:54" precision="Day" xsi:type="After">
                  <signature localId="250" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="251" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="247" locator="33:7-33:35" name="Rotavirus dose 1 Expiration" xsi:type="ExpressionRef"/>
                  <operand localId="248" locator="33:50-33:54" name="Today" xsi:type="ParameterRef"/>
               </operand>
            </operand>
            <operand localId="252" locator="34:7-34:73" xsi:type="Not">
               <operand localId="258" locator="34:11-34:73" name="First rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
            </operand>
         </expression>
      </def>
      <def localId="277" locator="53:1-55:11" name="Rotavirus dose 1 Due Date" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 1 Due Date"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; + 6 weeks"/>
            <a:s r="277">
               <a:s>/*
@dynamicValue: Rotavirus dose 1 Due Date
@pseudocode: &quot;Date of birth&quot; + 6 weeks
*/
define &quot;Rotavirus dose 1 Due Date&quot;:
  </a:s>
               <a:s r="278">
                  <a:s>if </a:s>
                  <a:s r="279">
                     <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                  </a:s>
                  <a:s> then </a:s>
                  <a:s r="280">
                     <a:s r="282">
                        <a:s r="281">
                           <a:s>Patient</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="282">
                           <a:s>birthDate</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="283">
                        <a:s>6 weeks</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="287">
  else null</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="278" locator="54:3-55:11" xsi:type="If">
            <condition localId="279" locator="54:6-54:23" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
            <then localId="280" locator="54:30-54:56" xsi:type="Add">
               <signature localId="285" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="286" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
               <operand localId="284" name="ToDate" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                  <operand localId="282" locator="54:30-54:46" path="birthDate" xsi:type="Property">
                     <source localId="281" locator="54:30-54:36" name="Patient" xsi:type="ExpressionRef"/>
                  </operand>
               </operand>
               <operand localId="283" locator="54:50-54:56" value="6" unit="weeks" xsi:type="Quantity"/>
            </then>
            <else localId="288" asType="t:Date" xsi:type="As">
               <operand localId="287" locator="55:8-55:11" xsi:type="Null"/>
            </else>
         </expression>
      </def>
      <def localId="261" locator="41:1-46:9" name="Rotavirus dose 1 Create" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 1 Create"/>
            <a:t name="create" value="WHO recommends that the first dose of rotavirus vaccine be administered as soon as possible after 6 weeks of age."/>
            <a:s r="261">
               <a:s>/*
@output: Rotavirus dose 1 Create
@create: WHO recommends that the first dose of rotavirus vaccine be administered as soon as possible after 6 weeks of age.
*/
define &quot;Rotavirus dose 1 Create&quot;:
  </a:s>
               <a:s r="262">
                  <a:s>if </a:s>
                  <a:s r="263">
                     <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                  </a:s>
                  <a:s>
  then </a:s>
                  <a:s r="311">
                     <a:s r="302">
                        <a:s r="297">
                           <a:s r="274">
                              <a:s r="268">
                                 <a:s>'WHO recommends that the first dose of rotavirus vaccine be administered as soon as possible after 6 weeks of age.'</a:s>
                              </a:s>
                              <a:s> + </a:s>
                              <a:s r="270">
                                 <a:s>'
Due Date: '</a:s>
                              </a:s>
                           </a:s>
                           <a:s> + </a:s>
                           <a:s r="293">
                              <a:s>ToString(</a:s>
                              <a:s r="289">
                                 <a:s>&quot;Rotavirus dose 1 Due Date&quot;</a:s>
                              </a:s>
                              <a:s>)</a:s>
                           </a:s>
                        </a:s>
                        <a:s> + </a:s>
                        <a:s r="298">
                           <a:s>'
Expiration: '</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="307">
                        <a:s>ToString(</a:s>
                        <a:s r="303">
                           <a:s>&quot;Rotavirus dose 1 Expiration&quot;</a:s>
                        </a:s>
                        <a:s>)</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  else </a:s>
                  <a:s r="312">
                     <a:s>''</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="262" locator="42:3-46:9" xsi:type="If">
            <condition localId="263" locator="42:6-42:23" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
            <then localId="311" locator="43:8-45:55" xsi:type="Concatenate">
               <operand localId="302" locator="43:8-44:69" xsi:type="Concatenate">
                  <operand localId="297" locator="43:8-44:51" xsi:type="Concatenate">
                     <operand localId="274" locator="43:8-43:138" xsi:type="Concatenate">
                        <operand localId="268" locator="43:8-43:122" valueType="t:String" value="WHO recommends that the first dose of rotavirus vaccine be administered as soon as possible after 6 weeks of age." xsi:type="Literal"/>
                        <operand localId="270" locator="43:126-43:138" valueType="t:String" value="&#xa;Due Date: " xsi:type="Literal"/>
                     </operand>
                     <operand localId="293" locator="44:15-44:51" xsi:type="ToString">
                        <signature localId="294" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                        <operand localId="289" locator="44:24-44:50" name="Rotavirus dose 1 Due Date" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="298" locator="44:55-44:69" valueType="t:String" value="&#xa;Expiration: " xsi:type="Literal"/>
               </operand>
               <operand localId="307" locator="45:17-45:55" xsi:type="ToString">
                  <signature localId="308" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="303" locator="45:26-45:54" name="Rotavirus dose 1 Expiration" xsi:type="ExpressionRef"/>
               </operand>
            </then>
            <else localId="312" locator="46:8-46:9" valueType="t:String" value="" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="316" locator="62:1-63:6" name="Rotavirus dose 1 Overdue" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 1 Overdue"/>
            <a:t name="pseudocode" value="To be determined by Member States; however, there is no recommended overdue date."/>
            <a:s r="316">
               <a:s r="317">/*
@dynamicValue: Rotavirus dose 1 Overdue
@pseudocode: To be determined by Member States; however, there is no recommended overdue date.
*/
define &quot;Rotavirus dose 1 Overdue&quot;:
  null</a:s>
            </a:s>
         </annotation>
         <expression localId="317" locator="63:3-63:6" xsi:type="Null"/>
      </def>
      <def localId="326" locator="129:1-130:31" name="Rotavirus dose 2 Expiration" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 2 Expiration"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; + 24 months"/>
            <a:s r="326">
               <a:s>/*
@dynamicValue: Rotavirus dose 2 Expiration
@pseudocode: &quot;Date of birth&quot; + 24 months
*/
define &quot;Rotavirus dose 2 Expiration&quot;:
  </a:s>
               <a:s r="327">
                  <a:s r="329">
                     <a:s r="328">
                        <a:s>Patient</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="329">
                        <a:s>birthDate</a:s>
                     </a:s>
                  </a:s>
                  <a:s> + </a:s>
                  <a:s r="330">
                     <a:s>24 months</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="327" locator="130:3-130:31" xsi:type="Add">
            <signature localId="332" name="t:Date" xsi:type="NamedTypeSpecifier"/>
            <signature localId="333" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
            <operand localId="331" name="ToDate" libraryName="FHIRHelpers" xsi:type="FunctionRef">
               <operand localId="329" locator="130:3-130:19" path="birthDate" xsi:type="Property">
                  <source localId="328" locator="130:3-130:9" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="330" locator="130:23-130:31" value="24" unit="months" xsi:type="Quantity"/>
         </expression>
      </def>
      <def localId="342" locator="137:1-138:66" name="Second rotavirus dose from the primary series was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="complete" value="Second rotavirus dose from the primary series was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2"/>
            <a:s r="342">
               <a:s>/*
@complete: Second rotavirus dose from the primary series was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 2
*/
define &quot;Second rotavirus dose from the primary series was administered&quot;:
  </a:s>
               <a:s r="344">
                  <a:s r="343">
                     <a:s>Encounter</a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="344">
                     <a:s>&quot;Two rotavirus primary series doses were administered&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="344" locator="138:3-138:66" name="Two rotavirus primary series doses were administered" libraryName="Encounter" xsi:type="ExpressionRef"/>
      </def>
      <def localId="320" locator="90:1-93:74" name="Rotavirus dose 2" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 2"/>
            <a:t name="description" value="Provision of the rotavirus second dose"/>
            <a:t name="trigger" value="First rotavirus dose from the primary series was administered"/>
            <a:t name="pseudo" value="&quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1"/>
            <a:t name="triggerDate" value="&quot;Date and time of vaccination&quot; where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;"/>
            <a:s r="320">
               <a:s>/*
@output: Rotavirus dose 2
@description: Provision of the rotavirus second dose
@trigger: First rotavirus dose from the primary series was administered
@pseudo: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 1
@triggerDate: Latest &quot;Date and time of vaccination&quot; where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;
*/
define &quot;Rotavirus dose 2&quot;:
  </a:s>
               <a:s r="321">
                  <a:s r="322">
                     <a:s r="323">
                        <a:s>&quot;First rotavirus dose from the primary series was administered&quot;</a:s>
                     </a:s>
                     <a:s>
  and </a:s>
                     <a:s r="336">
                        <a:s r="334">
                           <a:s>&quot;Rotavirus dose 2 Expiration&quot;</a:s>
                        </a:s>
                        <a:s r="336"> after day of </a:s>
                        <a:s r="335">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="339">
                     <a:s>not </a:s>
                     <a:s r="345">
                        <a:s>&quot;Second rotavirus dose from the primary series was administered&quot;</a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="321" locator="91:3-93:74" xsi:type="And">
            <operand localId="322" locator="91:3-92:54" xsi:type="And">
               <operand localId="323" locator="91:3-91:65" name="First rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
               <operand localId="336" locator="92:7-92:54" precision="Day" xsi:type="After">
                  <signature localId="337" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="338" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="334" locator="92:7-92:35" name="Rotavirus dose 2 Expiration" xsi:type="ExpressionRef"/>
                  <operand localId="335" locator="92:50-92:54" name="Today" xsi:type="ParameterRef"/>
               </operand>
            </operand>
            <operand localId="339" locator="93:7-93:74" xsi:type="Not">
               <operand localId="345" locator="93:11-93:74" name="Second rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
            </operand>
         </expression>
      </def>
      <def localId="364" locator="112:1-114:11" name="Rotavirus dose 2 Due Date" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 2 Due Date"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;) + 4 weeks"/>
            <a:s r="364">
               <a:s>/*
@dynamicValue: Rotavirus dose 2 Due Date
@pseudocode: Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;) + 4 weeks
*/
define &quot;Rotavirus dose 2 Due Date&quot;:
  </a:s>
               <a:s r="365">
                  <a:s>if </a:s>
                  <a:s r="366">
                     <a:s>&quot;Rotavirus dose 2&quot;</a:s>
                  </a:s>
                  <a:s> then </a:s>
                  <a:s r="367">
                     <a:s r="369">
                        <a:s r="368">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="369">
                           <a:s>&quot;Date of Latest Rotavirus Dose&quot;</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="370">
                        <a:s>4 weeks</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="373">
  else null</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="365" locator="113:3-114:11" xsi:type="If">
            <condition localId="366" locator="113:6-113:23" name="Rotavirus dose 2" xsi:type="ExpressionRef"/>
            <then localId="367" locator="113:30-113:80" xsi:type="Add">
               <signature localId="371" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="372" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
               <operand localId="369" locator="113:30-113:70" name="Date of Latest Rotavirus Dose" libraryName="Encounter" xsi:type="ExpressionRef"/>
               <operand localId="370" locator="113:74-113:80" value="4" unit="weeks" xsi:type="Quantity"/>
            </then>
            <else localId="374" asType="t:Date" xsi:type="As">
               <operand localId="373" locator="114:8-114:11" xsi:type="Null"/>
            </else>
         </expression>
      </def>
      <def localId="348" locator="100:1-105:9" name="Rotavirus dose 2 Create" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 2 Create"/>
            <a:t name="create" value="A minimum interval of 4 weeks should be maintained between doses."/>
            <a:s r="348">
               <a:s>/*
@output: Rotavirus dose 2 Create
@create: A minimum interval of 4 weeks should be maintained between doses.
*/
define &quot;Rotavirus dose 2 Create&quot;:
  </a:s>
               <a:s r="349">
                  <a:s>if </a:s>
                  <a:s r="350">
                     <a:s>&quot;Rotavirus dose 2&quot;</a:s>
                  </a:s>
                  <a:s>
  then </a:s>
                  <a:s r="397">
                     <a:s r="388">
                        <a:s r="383">
                           <a:s r="361">
                              <a:s r="355">
                                 <a:s>'A minimum interval of 4 weeks should be maintained between doses.'</a:s>
                              </a:s>
                              <a:s> + </a:s>
                              <a:s r="357">
                                 <a:s>'
Due Date: '</a:s>
                              </a:s>
                           </a:s>
                           <a:s> + </a:s>
                           <a:s r="379">
                              <a:s>ToString(</a:s>
                              <a:s r="375">
                                 <a:s>&quot;Rotavirus dose 2 Due Date&quot;</a:s>
                              </a:s>
                              <a:s>)</a:s>
                           </a:s>
                        </a:s>
                        <a:s> + </a:s>
                        <a:s r="384">
                           <a:s>'
Expiration: '</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="393">
                        <a:s>ToString(</a:s>
                        <a:s r="389">
                           <a:s>&quot;Rotavirus dose 2 Expiration&quot;</a:s>
                        </a:s>
                        <a:s>)</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  else </a:s>
                  <a:s r="398">
                     <a:s>''</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="349" locator="101:3-105:9" xsi:type="If">
            <condition localId="350" locator="101:6-101:23" name="Rotavirus dose 2" xsi:type="ExpressionRef"/>
            <then localId="397" locator="102:8-104:55" xsi:type="Concatenate">
               <operand localId="388" locator="102:8-103:69" xsi:type="Concatenate">
                  <operand localId="383" locator="102:8-103:51" xsi:type="Concatenate">
                     <operand localId="361" locator="102:8-102:90" xsi:type="Concatenate">
                        <operand localId="355" locator="102:8-102:74" valueType="t:String" value="A minimum interval of 4 weeks should be maintained between doses." xsi:type="Literal"/>
                        <operand localId="357" locator="102:78-102:90" valueType="t:String" value="&#xa;Due Date: " xsi:type="Literal"/>
                     </operand>
                     <operand localId="379" locator="103:15-103:51" xsi:type="ToString">
                        <signature localId="380" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                        <operand localId="375" locator="103:24-103:50" name="Rotavirus dose 2 Due Date" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="384" locator="103:55-103:69" valueType="t:String" value="&#xa;Expiration: " xsi:type="Literal"/>
               </operand>
               <operand localId="393" locator="104:17-104:55" xsi:type="ToString">
                  <signature localId="394" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="389" locator="104:26-104:54" name="Rotavirus dose 2 Expiration" xsi:type="ExpressionRef"/>
               </operand>
            </then>
            <else localId="398" locator="105:8-105:9" valueType="t:String" value="" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="402" locator="121:1-122:6" name="Rotavirus dose 2 Overdue" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 2 Overdue"/>
            <a:t name="pseudocode" value="To be determined by Member States; however, there is no recommended overdue date."/>
            <a:s r="402">
               <a:s r="403">/*
@dynamicValue: Rotavirus dose 2 Overdue
@pseudocode: To be determined by Member States; however, there is no recommended overdue date.
*/
define &quot;Rotavirus dose 2 Overdue&quot;:
  null</a:s>
            </a:s>
         </annotation>
         <expression localId="403" locator="122:3-122:6" xsi:type="Null"/>
      </def>
      <def localId="418" locator="195:1-196:31" name="Rotavirus dose 3 Expiration" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 3 Expiration"/>
            <a:t name="pseudocode" value="&quot;Date of birth&quot; + 24 months"/>
            <a:s r="418">
               <a:s>/*
@dynamicValue: Rotavirus dose 3 Expiration
@pseudocode: &quot;Date of birth&quot; + 24 months
*/
define &quot;Rotavirus dose 3 Expiration&quot;:
  </a:s>
               <a:s r="419">
                  <a:s r="421">
                     <a:s r="420">
                        <a:s>Patient</a:s>
                     </a:s>
                     <a:s>.</a:s>
                     <a:s r="421">
                        <a:s>birthDate</a:s>
                     </a:s>
                  </a:s>
                  <a:s> + </a:s>
                  <a:s r="422">
                     <a:s>24 months</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="419" locator="196:3-196:31" xsi:type="Add">
            <signature localId="424" name="t:Date" xsi:type="NamedTypeSpecifier"/>
            <signature localId="425" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
            <operand localId="423" name="ToDate" libraryName="FHIRHelpers" xsi:type="FunctionRef">
               <operand localId="421" locator="196:3-196:19" path="birthDate" xsi:type="Property">
                  <source localId="420" locator="196:3-196:9" name="Patient" xsi:type="ExpressionRef"/>
               </operand>
            </operand>
            <operand localId="422" locator="196:23-196:31" value="24" unit="months" xsi:type="Quantity"/>
         </expression>
      </def>
      <def localId="434" locator="203:1-204:68" name="Third rotavirus dose from the primary series was administered" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="complete" value="Third rotavirus dose from the primary series was administered"/>
            <a:t name="pseudocode" value="&quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3"/>
            <a:s r="434">
               <a:s>/*
@complete: Third rotavirus dose from the primary series was administered
@pseudocode: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; and &quot;Type of dose&quot; = &quot;Primary series&quot;) = 3
*/
define &quot;Third rotavirus dose from the primary series was administered&quot;:
  </a:s>
               <a:s r="436">
                  <a:s r="435">
                     <a:s>Encounter</a:s>
                  </a:s>
                  <a:s>.</a:s>
                  <a:s r="436">
                     <a:s>&quot;Three rotavirus primary series doses were administered&quot;</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="436" locator="204:3-204:68" name="Three rotavirus primary series doses were administered" libraryName="Encounter" xsi:type="ExpressionRef"/>
      </def>
      <def localId="406" locator="150:1-157:73" name="Rotavirus dose 3" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 3"/>
            <a:t name="description" value="Provision of a rotavirus third dose"/>
            <a:t name="trigger" value="For a series containing more than two doses, two rotavirus primary series doses of mixed series or a series with unknown vaccine products were administered"/>
            <a:t name="pseudo" value="&quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;and &quot;Type of dose&quot; = &quot;Primary series&quot; ) = 2 "/>
            <a:t name="triggerDate" value="&quot;Date and time of vaccination&quot; where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;"/>
            <a:s r="406">
               <a:s>/*
@output: Rotavirus dose 3
@description: Provision of a rotavirus third dose
@trigger: For a series containing more than two doses, two rotavirus primary series doses of mixed series or a series with unknown vaccine products were administered
@pseudo: Count of vaccines administered (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;and &quot;Type of dose&quot; = &quot;Primary series&quot; ) = 2 
AND &quot;Vaccine brand&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; AND &quot;Dose number&quot; = 1) ≠ &quot;Vaccine brand&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot; AND &quot;Dose number&quot; = 2) OR &quot;Total doses in series&quot; > 2
@triggerDate: Latest &quot;Date and time of vaccination&quot; where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;
*/
define &quot;Rotavirus dose 3&quot;:
  </a:s>
               <a:s r="407">
                  <a:s r="408">
                     <a:s r="409">
                        <a:s r="410">
                           <a:s>&quot;Second rotavirus dose from the primary series was administered&quot;</a:s>
                        </a:s>
                        <a:s>
  and </a:s>
                        <a:s r="411">
                           <a:s>(
    </a:s>
                           <a:s r="411">
                              <a:s r="413">
                                 <a:s r="412">
                                    <a:s>Encounter</a:s>
                                 </a:s>
                                 <a:s>.</a:s>
                                 <a:s r="413">
                                    <a:s>&quot;The series administered to the client is a mixed series or a series with unknown vaccine products&quot;</a:s>
                                 </a:s>
                              </a:s>
                              <a:s>
    or </a:s>
                              <a:s r="415">
                                 <a:s r="414">
                                    <a:s>Encounter</a:s>
                                 </a:s>
                                 <a:s>.</a:s>
                                 <a:s r="415">
                                    <a:s>&quot;The series contain more than two doses&quot;</a:s>
                                 </a:s>
                              </a:s>
                           </a:s>
                           <a:s>
  )</a:s>
                        </a:s>
                     </a:s>
                     <a:s>
  and </a:s>
                     <a:s r="428">
                        <a:s r="426">
                           <a:s>&quot;Rotavirus dose 3 Expiration&quot;</a:s>
                        </a:s>
                        <a:s r="428"> after day of </a:s>
                        <a:s r="427">
                           <a:s>Today</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  and </a:s>
                  <a:s r="431">
                     <a:s>not </a:s>
                     <a:s r="437">
                        <a:s>&quot;Third rotavirus dose from the primary series was administered&quot;</a:s>
                     </a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="407" locator="151:3-157:73" xsi:type="And">
            <operand localId="408" locator="151:3-156:54" xsi:type="And">
               <operand localId="409" locator="151:3-155:3" xsi:type="And">
                  <operand localId="410" locator="151:3-151:66" name="Second rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
                  <operand localId="411" locator="152:7-155:3" xsi:type="Or">
                     <operand localId="413" locator="153:5-153:113" name="The series administered to the client is a mixed series or a series with unknown vaccine products" libraryName="Encounter" xsi:type="ExpressionRef"/>
                     <operand localId="415" locator="154:8-154:57" name="The series contain more than two doses" libraryName="Encounter" xsi:type="ExpressionRef"/>
                  </operand>
               </operand>
               <operand localId="428" locator="156:7-156:54" precision="Day" xsi:type="After">
                  <signature localId="429" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="430" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="426" locator="156:7-156:35" name="Rotavirus dose 3 Expiration" xsi:type="ExpressionRef"/>
                  <operand localId="427" locator="156:50-156:54" name="Today" xsi:type="ParameterRef"/>
               </operand>
            </operand>
            <operand localId="431" locator="157:7-157:73" xsi:type="Not">
               <operand localId="437" locator="157:11-157:73" name="Third rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
            </operand>
         </expression>
      </def>
      <def localId="456" locator="178:1-180:11" name="Rotavirus dose 3 Due Date" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 3 Due Date"/>
            <a:t name="pseudocode" value="&quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;) + 4 weeks"/>
            <a:s r="456">
               <a:s>/*
@dynamicValue: Rotavirus dose 3 Due Date
@pseudocode: Latest &quot;Date and time of vaccination&quot; (where &quot;Vaccine type&quot; = &quot;Rotavirus vaccines&quot;) + 4 weeks
*/
define &quot;Rotavirus dose 3 Due Date&quot;:
  </a:s>
               <a:s r="457">
                  <a:s>if </a:s>
                  <a:s r="458">
                     <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                  </a:s>
                  <a:s> then </a:s>
                  <a:s r="459">
                     <a:s r="461">
                        <a:s r="460">
                           <a:s>Encounter</a:s>
                        </a:s>
                        <a:s>.</a:s>
                        <a:s r="461">
                           <a:s>&quot;Date of Latest Rotavirus Dose&quot;</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="462">
                        <a:s>4 weeks</a:s>
                     </a:s>
                  </a:s>
                  <a:s r="465">
  else null</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="457" locator="179:3-180:11" xsi:type="If">
            <condition localId="458" locator="179:6-179:23" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
            <then localId="459" locator="179:30-179:80" xsi:type="Add">
               <signature localId="463" name="t:Date" xsi:type="NamedTypeSpecifier"/>
               <signature localId="464" name="t:Quantity" xsi:type="NamedTypeSpecifier"/>
               <operand localId="461" locator="179:30-179:70" name="Date of Latest Rotavirus Dose" libraryName="Encounter" xsi:type="ExpressionRef"/>
               <operand localId="462" locator="179:74-179:80" value="4" unit="weeks" xsi:type="Quantity"/>
            </then>
            <else localId="466" asType="t:Date" xsi:type="As">
               <operand localId="465" locator="180:8-180:11" xsi:type="Null"/>
            </else>
         </expression>
      </def>
      <def localId="440" locator="165:1-171:9" name="Rotavirus dose 3 Create" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="output" value="Rotavirus dose 3 Create"/>
            <a:t name="create" value="For a mixed series or a series with any unknown vaccine products, a total of 3 doses of rotavirus vaccine should be administered for a complete vaccination series.&#xa;RotaTeq, Rotavac and Rotasiil should be administered in a 3-dose schedule."/>
            <a:s r="440">
               <a:s>/*
@output: Rotavirus dose 3 Create
@create: For a mixed series or a series with any unknown vaccine products, a total of 3 doses of rotavirus vaccine should be administered for a complete vaccination series.
RotaTeq, Rotavac and Rotasiil should be administered in a 3-dose schedule.
*/
define &quot;Rotavirus dose 3 Create&quot;:
  </a:s>
               <a:s r="441">
                  <a:s>if </a:s>
                  <a:s r="442">
                     <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                  </a:s>
                  <a:s>
  then </a:s>
                  <a:s r="489">
                     <a:s r="480">
                        <a:s r="475">
                           <a:s r="453">
                              <a:s r="447">
                                 <a:s>'For a mixed series or a series with any unknown vaccine products, a total of 3 doses of rotavirus vaccine should be administered for a complete vaccination series.
RotaTeq, Rotavac and Rotasiil should be administered in a 3-dose schedule.'</a:s>
                              </a:s>
                              <a:s> + </a:s>
                              <a:s r="449">
                                 <a:s>'
Due Date: '</a:s>
                              </a:s>
                           </a:s>
                           <a:s> + </a:s>
                           <a:s r="471">
                              <a:s>ToString(</a:s>
                              <a:s r="467">
                                 <a:s>&quot;Rotavirus dose 3 Due Date&quot;</a:s>
                              </a:s>
                              <a:s>)</a:s>
                           </a:s>
                        </a:s>
                        <a:s> + </a:s>
                        <a:s r="476">
                           <a:s>'
Expiration: '</a:s>
                        </a:s>
                     </a:s>
                     <a:s> + </a:s>
                     <a:s r="485">
                        <a:s>ToString(</a:s>
                        <a:s r="481">
                           <a:s>&quot;Rotavirus dose 3 Expiration&quot;</a:s>
                        </a:s>
                        <a:s>)</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
  else </a:s>
                  <a:s r="490">
                     <a:s>''</a:s>
                  </a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="441" locator="166:3-171:9" xsi:type="If">
            <condition localId="442" locator="166:6-166:23" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
            <then localId="489" locator="167:8-170:55" xsi:type="Concatenate">
               <operand localId="480" locator="167:8-169:69" xsi:type="Concatenate">
                  <operand localId="475" locator="167:8-169:51" xsi:type="Concatenate">
                     <operand localId="453" locator="167:8-168:91" xsi:type="Concatenate">
                        <operand localId="447" locator="167:8-167:247" valueType="t:String" value="For a mixed series or a series with any unknown vaccine products, a total of 3 doses of rotavirus vaccine should be administered for a complete vaccination series.&#xa;RotaTeq, Rotavac and Rotasiil should be administered in a 3-dose schedule." xsi:type="Literal"/>
                        <operand localId="449" locator="168:79-168:91" valueType="t:String" value="&#xa;Due Date: " xsi:type="Literal"/>
                     </operand>
                     <operand localId="471" locator="169:15-169:51" xsi:type="ToString">
                        <signature localId="472" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                        <operand localId="467" locator="169:24-169:50" name="Rotavirus dose 3 Due Date" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="476" locator="169:55-169:69" valueType="t:String" value="&#xa;Expiration: " xsi:type="Literal"/>
               </operand>
               <operand localId="485" locator="170:17-170:55" xsi:type="ToString">
                  <signature localId="486" name="t:Date" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="481" locator="170:26-170:54" name="Rotavirus dose 3 Expiration" xsi:type="ExpressionRef"/>
               </operand>
            </then>
            <else localId="490" locator="171:8-171:9" valueType="t:String" value="" xsi:type="Literal"/>
         </expression>
      </def>
      <def localId="494" locator="187:1-188:6" name="Rotavirus dose 3 Overdue" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="dynamicValue" value="Rotavirus dose 3 Overdue"/>
            <a:t name="pseudocode" value="To be determined by Member States; however, there is no recommended overdue date."/>
            <a:s r="494">
               <a:s r="495">/*
@dynamicValue: Rotavirus dose 3 Overdue
@pseudocode: To be determined by Member States; however, there is no recommended overdue date.
*/
define &quot;Rotavirus dose 3 Overdue&quot;:
  null</a:s>
            </a:s>
         </annotation>
         <expression localId="495" locator="188:3-188:6" xsi:type="Null"/>
      </def>
      <def localId="498" locator="211:1-226:5" name="Test Validation" context="Patient" accessLevel="Public">
         <annotation xsi:type="a:Annotation">
            <a:t name="test" value="Test expected results based on example patients"/>
            <a:s r="498">
               <a:s>/*
@test: Test expected results based on example patients
*/
define &quot;Test Validation&quot;:
  </a:s>
               <a:s r="499">
                  <a:s>case
    </a:s>
                  <a:s r="500">
                     <a:s>when </a:s>
                     <a:s r="501">
                        <a:s r="503">
                           <a:s r="502">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="503">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="504">
                           <a:s>'Rotavirus07.1'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="510">
                        <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="511">
                     <a:s>when </a:s>
                     <a:s r="512">
                        <a:s r="514">
                           <a:s r="513">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="514">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="515">
                           <a:s>'Rotavirus08.3'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="521">
                        <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="522">
                     <a:s>when </a:s>
                     <a:s r="523">
                        <a:s r="525">
                           <a:s r="524">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="525">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="526">
                           <a:s>'Rotavirus09.3'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="532">
                        <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="533">
                     <a:s>when </a:s>
                     <a:s r="534">
                        <a:s r="536">
                           <a:s r="535">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="536">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="537">
                           <a:s>'Rotavirus10.3'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="543">
                        <a:s>&quot;Rotavirus dose 2&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="544">
                     <a:s>when </a:s>
                     <a:s r="545">
                        <a:s r="547">
                           <a:s r="546">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="547">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="548">
                           <a:s>'Rotavirus11.3'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="554">
                        <a:s>&quot;Rotavirus dose 2&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="555">
                     <a:s>when </a:s>
                     <a:s r="556">
                        <a:s r="558">
                           <a:s r="557">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="558">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="559">
                           <a:s>'Rotavirus12.4'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="565">
                        <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="566">
                     <a:s>when </a:s>
                     <a:s r="567">
                        <a:s r="569">
                           <a:s r="568">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="569">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="570">
                           <a:s>'Rotavirus13.4'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="576">
                        <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="577">
                     <a:s>when </a:s>
                     <a:s r="578">
                        <a:s r="580">
                           <a:s r="579">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="580">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="581">
                           <a:s>'Rotavirus14.5'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="587">
                        <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="588">
                     <a:s>when </a:s>
                     <a:s r="589">
                        <a:s r="591">
                           <a:s r="590">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="591">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="592">
                           <a:s>'Rotavirus15.5'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="598">
                        <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="599">
                     <a:s>when </a:s>
                     <a:s r="600">
                        <a:s r="602">
                           <a:s r="601">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="602">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="603">
                           <a:s>'Rotavirus16.4'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="609">
                        <a:s r="610">
                           <a:s>&quot;Second rotavirus dose from the primary series was administered&quot;</a:s>
                        </a:s>
                        <a:s> and </a:s>
                        <a:s r="611">
                           <a:s>not </a:s>
                           <a:s r="612">
                              <a:s>&quot;Rotavirus dose 3&quot;</a:s>
                           </a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="613">
                     <a:s>when </a:s>
                     <a:s r="614">
                        <a:s r="616">
                           <a:s r="615">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="616">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="617">
                           <a:s>'Rotavirus17.1'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="623">
                        <a:s>&quot;Third rotavirus dose from the primary series was administered&quot;</a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    </a:s>
                  <a:s r="624">
                     <a:s>when </a:s>
                     <a:s r="625">
                        <a:s r="627">
                           <a:s r="626">
                              <a:s>Patient</a:s>
                           </a:s>
                           <a:s>.</a:s>
                           <a:s r="627">
                              <a:s>id</a:s>
                           </a:s>
                        </a:s>
                        <a:s> = </a:s>
                        <a:s r="628">
                           <a:s>'Rotavirus18.1'</a:s>
                        </a:s>
                     </a:s>
                     <a:s> then </a:s>
                     <a:s r="634">
                        <a:s>not </a:s>
                        <a:s r="635">
                           <a:s>&quot;Rotavirus dose 1&quot;</a:s>
                        </a:s>
                     </a:s>
                  </a:s>
                  <a:s>
    else </a:s>
                  <a:s r="636">
                     <a:s>'No test case set'</a:s>
                  </a:s>
                  <a:s>
  end</a:s>
               </a:s>
            </a:s>
         </annotation>
         <expression localId="499" locator="212:3-226:5" xsi:type="Case">
            <caseItem localId="500" locator="213:5-213:61">
               <when localId="501" locator="213:10-213:37" xsi:type="Equal">
                  <signature localId="508" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="509" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="506" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="507" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="503" locator="213:10-213:19" path="id" xsi:type="Property">
                        <source localId="502" locator="213:10-213:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="504" locator="213:23-213:37" valueType="t:String" value="Rotavirus07.1" xsi:type="Literal"/>
               </when>
               <then localId="638" xsi:type="As">
                  <operand localId="510" locator="213:44-213:61" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="639" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="640" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="641" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="511" locator="214:5-214:61">
               <when localId="512" locator="214:10-214:37" xsi:type="Equal">
                  <signature localId="519" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="520" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="517" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="518" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="514" locator="214:10-214:19" path="id" xsi:type="Property">
                        <source localId="513" locator="214:10-214:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="515" locator="214:23-214:37" valueType="t:String" value="Rotavirus08.3" xsi:type="Literal"/>
               </when>
               <then localId="642" xsi:type="As">
                  <operand localId="521" locator="214:44-214:61" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="643" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="644" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="645" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="522" locator="215:5-215:61">
               <when localId="523" locator="215:10-215:37" xsi:type="Equal">
                  <signature localId="530" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="531" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="528" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="529" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="525" locator="215:10-215:19" path="id" xsi:type="Property">
                        <source localId="524" locator="215:10-215:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="526" locator="215:23-215:37" valueType="t:String" value="Rotavirus09.3" xsi:type="Literal"/>
               </when>
               <then localId="646" xsi:type="As">
                  <operand localId="532" locator="215:44-215:61" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="647" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="648" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="649" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="533" locator="216:5-216:61">
               <when localId="534" locator="216:10-216:37" xsi:type="Equal">
                  <signature localId="541" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="542" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="539" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="540" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="536" locator="216:10-216:19" path="id" xsi:type="Property">
                        <source localId="535" locator="216:10-216:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="537" locator="216:23-216:37" valueType="t:String" value="Rotavirus10.3" xsi:type="Literal"/>
               </when>
               <then localId="650" xsi:type="As">
                  <operand localId="543" locator="216:44-216:61" name="Rotavirus dose 2" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="651" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="652" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="653" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="544" locator="217:5-217:61">
               <when localId="545" locator="217:10-217:37" xsi:type="Equal">
                  <signature localId="552" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="553" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="550" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="551" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="547" locator="217:10-217:19" path="id" xsi:type="Property">
                        <source localId="546" locator="217:10-217:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="548" locator="217:23-217:37" valueType="t:String" value="Rotavirus11.3" xsi:type="Literal"/>
               </when>
               <then localId="654" xsi:type="As">
                  <operand localId="554" locator="217:44-217:61" name="Rotavirus dose 2" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="655" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="656" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="657" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="555" locator="218:5-218:61">
               <when localId="556" locator="218:10-218:37" xsi:type="Equal">
                  <signature localId="563" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="564" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="561" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="562" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="558" locator="218:10-218:19" path="id" xsi:type="Property">
                        <source localId="557" locator="218:10-218:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="559" locator="218:23-218:37" valueType="t:String" value="Rotavirus12.4" xsi:type="Literal"/>
               </when>
               <then localId="658" xsi:type="As">
                  <operand localId="565" locator="218:44-218:61" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="659" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="660" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="661" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="566" locator="219:5-219:61">
               <when localId="567" locator="219:10-219:37" xsi:type="Equal">
                  <signature localId="574" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="575" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="572" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="573" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="569" locator="219:10-219:19" path="id" xsi:type="Property">
                        <source localId="568" locator="219:10-219:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="570" locator="219:23-219:37" valueType="t:String" value="Rotavirus13.4" xsi:type="Literal"/>
               </when>
               <then localId="662" xsi:type="As">
                  <operand localId="576" locator="219:44-219:61" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="663" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="664" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="665" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="577" locator="220:5-220:61">
               <when localId="578" locator="220:10-220:37" xsi:type="Equal">
                  <signature localId="585" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="586" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="583" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="584" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="580" locator="220:10-220:19" path="id" xsi:type="Property">
                        <source localId="579" locator="220:10-220:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="581" locator="220:23-220:37" valueType="t:String" value="Rotavirus14.5" xsi:type="Literal"/>
               </when>
               <then localId="666" xsi:type="As">
                  <operand localId="587" locator="220:44-220:61" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="667" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="668" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="669" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="588" locator="221:5-221:61">
               <when localId="589" locator="221:10-221:37" xsi:type="Equal">
                  <signature localId="596" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="597" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="594" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="595" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="591" locator="221:10-221:19" path="id" xsi:type="Property">
                        <source localId="590" locator="221:10-221:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="592" locator="221:23-221:37" valueType="t:String" value="Rotavirus15.5" xsi:type="Literal"/>
               </when>
               <then localId="670" xsi:type="As">
                  <operand localId="598" locator="221:44-221:61" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="671" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="672" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="673" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="599" locator="222:5-222:134">
               <when localId="600" locator="222:10-222:37" xsi:type="Equal">
                  <signature localId="607" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="608" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="605" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="606" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="602" locator="222:10-222:19" path="id" xsi:type="Property">
                        <source localId="601" locator="222:10-222:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="603" locator="222:23-222:37" valueType="t:String" value="Rotavirus16.4" xsi:type="Literal"/>
               </when>
               <then localId="674" xsi:type="As">
                  <operand localId="609" locator="222:44-222:134" xsi:type="And">
                     <operand localId="610" locator="222:44-222:107" name="Second rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
                     <operand localId="611" locator="222:113-222:134" xsi:type="Not">
                        <operand localId="612" locator="222:117-222:134" name="Rotavirus dose 3" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <asTypeSpecifier localId="675" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="676" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="677" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="613" locator="223:5-223:106">
               <when localId="614" locator="223:10-223:37" xsi:type="Equal">
                  <signature localId="621" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="622" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="619" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="620" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="616" locator="223:10-223:19" path="id" xsi:type="Property">
                        <source localId="615" locator="223:10-223:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="617" locator="223:23-223:37" valueType="t:String" value="Rotavirus17.1" xsi:type="Literal"/>
               </when>
               <then localId="678" xsi:type="As">
                  <operand localId="623" locator="223:44-223:106" name="Third rotavirus dose from the primary series was administered" xsi:type="ExpressionRef"/>
                  <asTypeSpecifier localId="679" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="680" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="681" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <caseItem localId="624" locator="224:5-224:65">
               <when localId="625" locator="224:10-224:37" xsi:type="Equal">
                  <signature localId="632" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <signature localId="633" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  <operand localId="630" name="ToString" libraryName="FHIRHelpers" xsi:type="FunctionRef">
                     <signature localId="631" name="fhir:string" xsi:type="NamedTypeSpecifier"/>
                     <operand localId="627" locator="224:10-224:19" path="id" xsi:type="Property">
                        <source localId="626" locator="224:10-224:16" name="Patient" xsi:type="ExpressionRef"/>
                     </operand>
                  </operand>
                  <operand localId="628" locator="224:23-224:37" valueType="t:String" value="Rotavirus18.1" xsi:type="Literal"/>
               </when>
               <then localId="682" xsi:type="As">
                  <operand localId="634" locator="224:44-224:65" xsi:type="Not">
                     <operand localId="635" locator="224:48-224:65" name="Rotavirus dose 1" xsi:type="ExpressionRef"/>
                  </operand>
                  <asTypeSpecifier localId="683" xsi:type="ChoiceTypeSpecifier">
                     <choice localId="684" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                     <choice localId="685" name="t:String" xsi:type="NamedTypeSpecifier"/>
                  </asTypeSpecifier>
               </then>
            </caseItem>
            <else localId="686" xsi:type="As">
               <operand localId="636" locator="225:10-225:27" valueType="t:String" value="No test case set" xsi:type="Literal"/>
               <asTypeSpecifier localId="687" xsi:type="ChoiceTypeSpecifier">
                  <choice localId="688" name="t:Boolean" xsi:type="NamedTypeSpecifier"/>
                  <choice localId="689" name="t:String" xsi:type="NamedTypeSpecifier"/>
               </asTypeSpecifier>
            </else>
         </expression>
      </def>
   </statements>
</library>
