<?xml version="1.0" encoding="UTF-8"?><library xmlns="urn:hl7-org:elm:r1" xmlns:a="urn:hl7-org:cql-annotations:r1" xmlns:fhir="http://hl7.org/fhir" xmlns:t="urn:hl7-org:elm-types:r1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" localId="0"><annotation signatureLevel="Overloads" translatorOptions="EnableAnnotations,EnableLocators,DisableListDemotion,DisableListPromotion" translatorVersion="4.9.0" xsi:type="a:CqlToElmInfo"/><annotation errorSeverity="warning" errorType="semantic" message="An operand identifier reference is hiding another identifier of the same name." xsi:type="a:CqlToElmError"/><annotation errorSeverity="warning" errorType="semantic" message="An operand identifier reference is hiding another identifier of the same name." xsi:type="a:CqlToElmError"/><annotation errorSeverity="warning" errorType="semantic" message="An operand identifier reference is hiding another identifier of the same name." xsi:type="a:CqlToElmError"/><annotation xsi:type="a:Annotation"><a:s r="315"><a:s>/*
 * Library: IMMZD2DTRubellaLowIncidenceLogic (IMMZ.D2.DT.Rubella.Low incidence)
 * Rule: Determine if the client is due for a rubella vaccination according to the national immunization schedule
 * Decision Table: Countries with low incidence of rubella
 * Trigger: IMMZ.D2 Determine required vaccination(s) if any
 */
library IMMZD2DTRubellaLowIncidenceLogic</a:s></a:s></annotation><identifier id="IMMZD2DTRubellaLowIncidenceLogic" 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" localIdentifier="FHIR" locator="9:1-9:26" 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" localIdentifier="FHIRHelpers" locator="10:1-10:35" 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" localIdentifier="Encounter" locator="12:1-12:57" path="http://smart.who.int/immunizations/IMMZD2DTRubellaEncounterElements"><annotation xsi:type="a:Annotation"><a:s r="210"><a:s>include </a:s><a:s><a:s>IMMZD2DTRubellaEncounterElements</a:s></a:s><a:s> called Encounter</a:s></a:s></annotation></def></includes><parameters><def accessLevel="Public" localId="212" locator="14:1-14:36" name="Today"><annotation xsi:type="a:Annotation"><a:s r="212"><a:s>parameter Today </a:s><a:s r="216"><a:s>Date</a:s></a:s><a:s> default </a:s><a:s r="215"><a:s>Today()</a:s></a:s></a:s></annotation><default localId="215" locator="14:30-14:36" xsi:type="Today"/><parameterTypeSpecifier localId="216" locator="14:17-14:20" name="t:Date" xsi:type="NamedTypeSpecifier"/></def></parameters><contexts><def localId="221" locator="16:1-16:15" name="Patient"/></contexts><statements><def context="Patient" localId="219" locator="16:1-16:15" name="Patient"><expression localId="220" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="218" locator="16:1-16:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="233" locator="37:1-38:49" name="Client is not due for rubella vaccination Case 1"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for rubella vaccination Case 1"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="233"><a:s>/*
@output: Client is not due for rubella vaccination Case 1
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for rubella vaccination Case 1":
  </a:s><a:s r="235"><a:s r="234"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="235"><a:s>"Client's age is less than 12 months"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Encounter" localId="235" locator="38:3-38:49" name="Client's age is less than 12 months" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="239" locator="44:1-47:73" name="Client is not due for rubella vaccination Case 2"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for rubella vaccination Case 2"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="239"><a:s>/*
@output: Client is not due for rubella vaccination Case 2
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for rubella vaccination Case 2":
  </a:s><a:s r="240"><a:s r="241"><a:s r="243"><a:s r="242"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="243"><a:s>"No rubella primary series dose was administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="245"><a:s r="244"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="245"><a:s>"Client's age is more than or equal to 12 months"</a:s></a:s></a:s></a:s><a:s>
    and </a:s><a:s r="247"><a:s r="246"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="247"><a:s>"Live vaccine was administered in the last the 4 weeks"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="240" locator="45:3-47:73" xsi:type="And"><operand localId="241" locator="45:3-46:67" xsi:type="And"><operand libraryName="Encounter" localId="243" locator="45:3-45:61" name="No rubella primary series dose was administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="245" locator="46:9-46:67" name="Client's age is more than or equal to 12 months" xsi:type="ExpressionRef"/></operand><operand libraryName="Encounter" localId="247" locator="47:9-47:73" name="Live vaccine was administered in the last the 4 weeks" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="229" locator="53:1-55:57" name="Client is not due for rubella vaccination"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for rubella vaccination"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="229"><a:s>/*
@output: Client is not due for rubella vaccination
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for rubella vaccination":
  </a:s><a:s r="230"><a:s r="236"><a:s>"Client is not due for rubella vaccination Case 1"</a:s></a:s><a:s>
    or </a:s><a:s r="248"><a:s>"Client is not due for rubella vaccination Case 2"</a:s></a:s></a:s></a:s></annotation><expression localId="230" locator="54:3-55:57" xsi:type="Or"><operand localId="236" locator="54:3-54:52" name="Client is not due for rubella vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="248" locator="55:8-55:57" name="Client is not due for rubella vaccination Case 2" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="252" locator="64:1-71:5" name="Client is not due for rubella vaccination Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for rubella vaccination Guidance"/><a:s r="252"><a:s>/*
@output: Client is not due for rubella vaccination Guidance
@guidance = Should not vaccinate client with rubella dose. 
Check for any vaccines due and inform the caregiver of when to come back for the first dose.
@guidance = Should not vaccinate client with rubella dose as live vaccine was administered in the last 4 weeks. 
Check for any other vaccines due.
*/
define "Client is not due for rubella vaccination Guidance":
  </a:s><a:s r="253"><a:s>case
    </a:s><a:s r="254"><a:s>when </a:s><a:s r="255"><a:s>"Client is not due for rubella vaccination Case 1"</a:s></a:s><a:s> then </a:s><a:s r="256"><a:s>'Should not vaccinate client with rubella dose. 
Check for any vaccines due and inform the caregiver of when to come back for the first dose.'</a:s></a:s></a:s><a:s>
    </a:s><a:s r="258"><a:s>when </a:s><a:s r="259"><a:s>"Client is not due for rubella vaccination Case 2"</a:s></a:s><a:s> then </a:s><a:s r="260"><a:s>'Should not vaccinate client with rubella dose as live vaccine was administered in the last 4 weeks. 
Check for any other vaccines due.'</a:s></a:s></a:s><a:s>
    else </a:s><a:s r="262"><a:s>''</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="253" locator="65:3-71:5" xsi:type="Case"><caseItem localId="254" locator="66:5-66:207"><when localId="255" locator="66:10-66:59" name="Client is not due for rubella vaccination Case 1" xsi:type="ExpressionRef"/><then localId="256" locator="66:66-66:207" value="Should not vaccinate client with rubella dose. &#xA;Check for any vaccines due and inform the caregiver of when to come back for the first dose." valueType="t:String" xsi:type="Literal"/></caseItem><caseItem localId="258" locator="68:5-68:201"><when localId="259" locator="68:10-68:59" name="Client is not due for rubella vaccination Case 2" xsi:type="ExpressionRef"/><then localId="260" locator="68:66-68:201" value="Should not vaccinate client with rubella dose as live vaccine was administered in the last 4 weeks. &#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></caseItem><else localId="262" locator="70:10-70:11" value="" valueType="t:String" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="268" locator="77:1-80:72" name="Client is due for rubella vaccination"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for rubella vaccination"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="268"><a:s>/*
@output: Client is due for rubella vaccination
@pseudocode: "Immunization recommendation status" = "Due"
*/
define "Client is due for rubella vaccination":
  </a:s><a:s r="269"><a:s r="270"><a:s r="272"><a:s r="271"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="272"><a:s>"No rubella primary series dose was administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="274"><a:s r="273"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="274"><a:s>"Client's age is more than or equal to 12 months"</a:s></a:s></a:s></a:s><a:s>
    and </a:s><a:s r="276"><a:s r="275"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="276"><a:s>"No live vaccine was administered in the last 4 weeks"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="269" locator="78:3-80:72" xsi:type="And"><operand localId="270" locator="78:3-79:67" xsi:type="And"><operand libraryName="Encounter" localId="272" locator="78:3-78:61" name="No rubella primary series dose was administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="274" locator="79:9-79:67" name="Client's age is more than or equal to 12 months" xsi:type="ExpressionRef"/></operand><operand libraryName="Encounter" localId="276" locator="80:9-80:72" name="No live vaccine was administered in the last 4 weeks" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="280" locator="87:1-88:211" name="Client is due for rubella vaccination Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for rubella vaccination Guidance"/><a:t name="guidance" value="Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. &#xA;Check for contraindications."/><a:s r="280"><a:s>/*
@output: Client is due for rubella vaccination Guidance
@guidance: Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. 
Check for contraindications.
*/
define "Client is due for rubella vaccination Guidance":
  </a:s><a:s r="281"><a:s>'Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. 
Check for contraindications.'</a:s></a:s></a:s></annotation><expression localId="281" locator="88:3-88:211" value="Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. &#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="287" locator="97:1-98:62" name="Rubella immunization schedule is complete"><annotation xsi:type="a:Annotation"><a:t name="output" value="Rubella immunization schedule is complete"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Complete&#34;"/><a:s r="287"><a:s>/*
@output: Rubella immunization schedule is complete
@pseudocode: "Immunization recommendation status" = "Complete"

"Completed the primary vaccination series" = TRUE (where "Vaccine type" = "Rubella-containing vaccines")
*/
define "Rubella immunization schedule is complete":
  </a:s><a:s r="289"><a:s r="288"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="289"><a:s>"One rubella primary series dose was administered"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Encounter" localId="289" locator="98:3-98:62" name="One rubella primary series dose was administered" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="293" locator="105:1-106:131" name="Rubella immunization schedule is complete Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Rubella immunization schedule is complete Guidance"/><a:t name="guidance" value="Rubella immunization schedule is complete. One rubella primary series dose was administered. &#xA;Check for any other vaccines due."/><a:s r="293"><a:s>/*
@output: Rubella immunization schedule is complete Guidance
@guidance: Rubella immunization schedule is complete. One rubella primary series dose was administered. 
Check for any other vaccines due.
*/
define "Rubella immunization schedule is complete Guidance":
  </a:s><a:s r="294"><a:s>'Rubella immunization schedule is complete. One rubella primary series dose was administered. 
Check for any other vaccines due.'</a:s></a:s></a:s></annotation><expression localId="294" locator="106:3-106:131" value="Rubella immunization schedule is complete. One rubella primary series dose was administered. &#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="224" locator="22:1-28:5" name="Guidance"><annotation xsi:type="a:Annotation"><a:t name="dynamicValue" value="Guidance"/><a:s r="224"><a:s>/*
@dynamicValue: Guidance
*/
define "Guidance":
  </a:s><a:s r="225"><a:s>case 
    </a:s><a:s r="226"><a:s>when </a:s><a:s r="249"><a:s>"Client is not due for rubella vaccination"</a:s></a:s><a:s> then </a:s><a:s r="264"><a:s>"Client is not due for rubella vaccination Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="265"><a:s>when </a:s><a:s r="277"><a:s>"Client is due for rubella vaccination"</a:s></a:s><a:s> then </a:s><a:s r="283"><a:s>"Client is due for rubella vaccination Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="284"><a:s>when </a:s><a:s r="290"><a:s>"Rubella immunization schedule is complete"</a:s></a:s><a:s> then </a:s><a:s r="296"><a:s>"Rubella immunization schedule is complete Guidance"</a:s></a:s></a:s><a:s> 
    else </a:s><a:s r="297"><a:s>''</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="225" locator="23:3-28:5" xsi:type="Case"><caseItem localId="226" locator="24:5-24:110"><when localId="249" locator="24:10-24:52" name="Client is not due for rubella vaccination" xsi:type="ExpressionRef"/><then localId="264" locator="24:59-24:110" name="Client is not due for rubella vaccination Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="265" locator="25:5-25:102"><when localId="277" locator="25:10-25:48" name="Client is due for rubella vaccination" xsi:type="ExpressionRef"/><then localId="283" locator="25:55-25:102" name="Client is due for rubella vaccination Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="284" locator="26:5-26:110"><when localId="290" locator="26:10-26:52" name="Rubella immunization schedule is complete" xsi:type="ExpressionRef"/><then localId="296" locator="26:59-26:110" name="Rubella immunization schedule is complete Guidance" xsi:type="ExpressionRef"/></caseItem><else localId="297" locator="27:10-27:11" value="" valueType="t:String" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="301" locator="30:1-31:45" name="Has Guidance"><annotation xsi:type="a:Annotation"><a:s r="301"><a:s>define "Has Guidance":
  </a:s><a:s r="302"><a:s r="305"><a:s r="303"><a:s>"Guidance"</a:s></a:s><a:s> is not null</a:s></a:s><a:s> and </a:s><a:s r="312"><a:s r="307"><a:s>"Guidance"</a:s></a:s><a:s> != </a:s><a:s r="308"><a:s>''</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="302" locator="31:3-31:45" xsi:type="And"><operand localId="305" locator="31:3-31:24" xsi:type="Not"><operand localId="304" locator="31:3-31:24" xsi:type="IsNull"><operand localId="303" locator="31:3-31:12" name="Guidance" xsi:type="ExpressionRef"/></operand></operand><operand localId="312" locator="31:30-31:45" xsi:type="Not"><operand localId="306" locator="31:30-31:45" xsi:type="Equal"><signature localId="310" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="311" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="307" locator="31:30-31:39" name="Guidance" xsi:type="ExpressionRef"/><operand localId="308" locator="31:44-31:45" value="" valueType="t:String" xsi:type="Literal"/></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="315" locator="113:1-124:5" name="Test Validation"><annotation xsi:type="a:Annotation"><a:t name="test" value="Test expected results based on example patients"/><a:s r="315"><a:s>/*
@test: Test expected results based on example patients
*/
define "Test Validation":
  </a:s><a:s r="316"><a:s>case
    </a:s><a:s r="317"><a:s>when </a:s><a:s r="318"><a:s r="320"><a:s r="319"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="320"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="321"><a:s>'Rubella19.1'</a:s></a:s></a:s><a:s> then </a:s><a:s r="327"><a:s r="328"><a:s>"Client is not due for rubella vaccination Case 1"</a:s></a:s><a:s> and </a:s><a:s r="329"><a:s r="330"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="331"><a:s>'Should not vaccinate client with rubella dose. 
Check for any vaccines due and inform the caregiver of when to come back for the first dose.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="335"><a:s>when </a:s><a:s r="336"><a:s r="338"><a:s r="337"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="338"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="339"><a:s>'Rubella20.3'</a:s></a:s></a:s><a:s> then </a:s><a:s r="345"><a:s r="346"><a:s>"Client is due for rubella vaccination"</a:s></a:s><a:s> and </a:s><a:s r="347"><a:s r="348"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="349"><a:s>'Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. 
Check for contraindications.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="353"><a:s>when </a:s><a:s r="354"><a:s r="356"><a:s r="355"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="356"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="357"><a:s>'Rubella21.3'</a:s></a:s></a:s><a:s> then </a:s><a:s r="363"><a:s r="364"><a:s>"Client is not due for rubella vaccination Case 2"</a:s></a:s><a:s> and </a:s><a:s r="365"><a:s r="366"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="367"><a:s>'Should not vaccinate client with rubella dose as live vaccine was administered in the last 4 weeks. 
Check for any other vaccines due.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="371"><a:s>when </a:s><a:s r="372"><a:s r="374"><a:s r="373"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="374"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="375"><a:s>'Rubella22.1'</a:s></a:s></a:s><a:s> then </a:s><a:s r="381"><a:s r="382"><a:s>"Rubella immunization schedule is complete"</a:s></a:s><a:s> and </a:s><a:s r="383"><a:s r="384"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="385"><a:s>'Rubella immunization schedule is complete. One rubella primary series dose was administered. 
Check for any other vaccines due.'</a:s></a:s></a:s></a:s></a:s><a:s>
    else </a:s><a:s r="389"><a:s>'No test case set'</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="316" locator="114:3-124:5" xsi:type="Case"><caseItem localId="317" locator="115:5-115:251"><when localId="318" locator="115:10-115:35" xsi:type="Equal"><signature localId="325" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="326" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="323" name="ToString" xsi:type="FunctionRef"><signature localId="324" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="320" locator="115:10-115:19" path="id" xsi:type="Property"><source localId="319" locator="115:10-115:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="321" locator="115:23-115:35" value="Rubella19.1" valueType="t:String" xsi:type="Literal"/></when><then localId="391" xsi:type="As"><operand localId="327" locator="115:42-115:251" xsi:type="And"><operand localId="328" locator="115:42-115:91" name="Client is not due for rubella vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="329" locator="115:97-115:251" xsi:type="Equal"><signature localId="333" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="334" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="330" locator="115:97-115:106" name="Guidance" xsi:type="ExpressionRef"/><operand localId="331" locator="115:110-115:251" value="Should not vaccinate client with rubella dose. &#xA;Check for any vaccines due and inform the caregiver of when to come back for the first dose." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="392" xsi:type="ChoiceTypeSpecifier"><choice localId="393" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="394" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="335" locator="117:5-117:307"><when localId="336" locator="117:10-117:35" xsi:type="Equal"><signature localId="343" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="344" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="341" name="ToString" xsi:type="FunctionRef"><signature localId="342" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="338" locator="117:10-117:19" path="id" xsi:type="Property"><source localId="337" locator="117:10-117:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="339" locator="117:23-117:35" value="Rubella20.3" valueType="t:String" xsi:type="Literal"/></when><then localId="395" xsi:type="As"><operand localId="345" locator="117:42-117:307" xsi:type="And"><operand localId="346" locator="117:42-117:80" name="Client is due for rubella vaccination" xsi:type="ExpressionRef"/><operand localId="347" locator="117:86-117:307" xsi:type="Equal"><signature localId="351" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="352" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="348" locator="117:86-117:95" name="Guidance" xsi:type="ExpressionRef"/><operand localId="349" locator="117:99-117:307" value="Should vaccinate client with rubella dose as no rubella doses were administered, client is within appropriate age range and no live vaccine was administered in the last 4 weeks. &#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="396" xsi:type="ChoiceTypeSpecifier"><choice localId="397" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="398" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="353" locator="119:5-119:245"><when localId="354" locator="119:10-119:35" xsi:type="Equal"><signature localId="361" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="362" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="359" name="ToString" xsi:type="FunctionRef"><signature localId="360" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="356" locator="119:10-119:19" path="id" xsi:type="Property"><source localId="355" locator="119:10-119:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="357" locator="119:23-119:35" value="Rubella21.3" valueType="t:String" xsi:type="Literal"/></when><then localId="399" xsi:type="As"><operand localId="363" locator="119:42-119:245" xsi:type="And"><operand localId="364" locator="119:42-119:91" name="Client is not due for rubella vaccination Case 2" xsi:type="ExpressionRef"/><operand localId="365" locator="119:97-119:245" xsi:type="Equal"><signature localId="369" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="370" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="366" locator="119:97-119:106" name="Guidance" xsi:type="ExpressionRef"/><operand localId="367" locator="119:110-119:245" value="Should not vaccinate client with rubella dose as live vaccine was administered in the last 4 weeks. &#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="400" xsi:type="ChoiceTypeSpecifier"><choice localId="401" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="402" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="371" locator="121:5-121:231"><when localId="372" locator="121:10-121:35" xsi:type="Equal"><signature localId="379" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="380" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="377" name="ToString" xsi:type="FunctionRef"><signature localId="378" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="374" locator="121:10-121:19" path="id" xsi:type="Property"><source localId="373" locator="121:10-121:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="375" locator="121:23-121:35" value="Rubella22.1" valueType="t:String" xsi:type="Literal"/></when><then localId="403" xsi:type="As"><operand localId="381" locator="121:42-121:231" xsi:type="And"><operand localId="382" locator="121:42-121:84" name="Rubella immunization schedule is complete" xsi:type="ExpressionRef"/><operand localId="383" locator="121:90-121:231" xsi:type="Equal"><signature localId="387" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="388" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="384" locator="121:90-121:99" name="Guidance" xsi:type="ExpressionRef"/><operand localId="385" locator="121:103-121:231" value="Rubella immunization schedule is complete. One rubella primary series dose was administered. &#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="404" xsi:type="ChoiceTypeSpecifier"><choice localId="405" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="406" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><else localId="407" xsi:type="As"><operand localId="389" locator="123:10-123:27" value="No test case set" valueType="t:String" xsi:type="Literal"/><asTypeSpecifier localId="408" xsi:type="ChoiceTypeSpecifier"><choice localId="409" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="410" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></else></expression></def></statements></library>