<?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="401"><a:s>/*
 * Library: IMMZD2DTTBEFSMEImmunLogic (IMMZ.D2.DT.TBE.FSME-Immun)
 * Rule: Determine if the client is due for a tick-borne encephalitis (TBE) vaccination according to the national immunization schedule
 * Decision Table: FSME-Immun schedule
(In areas where the disease is highly endemic, implying that there is a high individual risk of infection, WHO recommends that vaccination be offered to all age groups, including children)
 * Trigger: IMMZ.D2 Determine required vaccination(s) if any
 */
library IMMZD2DTTBEFSMEImmunLogic</a:s></a:s></annotation><identifier id="IMMZD2DTTBEFSMEImmunLogic" 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="10:1-10: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="11:1-11: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="13:1-13:53" path="http://smart.who.int/immunizations/IMMZD2DTTBEEncounterElements"><annotation xsi:type="a:Annotation"><a:s r="210"><a:s>include </a:s><a:s><a:s>IMMZD2DTTBEEncounterElements</a:s></a:s><a:s> called Encounter</a:s></a:s></annotation></def></includes><parameters><def accessLevel="Public" localId="212" locator="15:1-15: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="15:30-15:36" xsi:type="Today"/><parameterTypeSpecifier localId="216" locator="15:17-15:20" name="t:Date" xsi:type="NamedTypeSpecifier"/></def></parameters><contexts><def localId="221" locator="17:1-17:15" name="Patient"/></contexts><statements><def context="Patient" localId="219" locator="17:1-17:15" name="Patient"><expression localId="220" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="218" locator="17:1-17:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="234" locator="40:1-41:46" name="Client is not due for TBE vaccination Case 1"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for TBE vaccination Case 1"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="234"><a:s>/*
@output: Client is not due for TBE vaccination Case 1
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for TBE vaccination Case 1":
  </a:s><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>"Client's age is less than 1 year"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Encounter" localId="236" locator="41:3-41:46" name="Client's age is less than 1 year" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="240" locator="47:1-49:78" name="Client is not due for TBE vaccination Case 2"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for TBE vaccination Case 2"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="240"><a:s>/*
@output: Client is not due for TBE vaccination Case 2
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for TBE vaccination Case 2":
  </a:s><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>"One TBE 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>"The latest TBE dose was administered less than 1 month ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="241" locator="48:3-49:78" xsi:type="And"><operand libraryName="Encounter" localId="243" locator="48:3-48:58" name="One TBE primary series dose was administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="245" locator="49:9-49:78" name="The latest TBE dose was administered less than 1 month ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="249" locator="55:1-57:79" name="Client is not due for TBE vaccination Case 3"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for TBE vaccination Case 3"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="249"><a:s>/*
@output: Client is not due for TBE vaccination Case 3
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for TBE vaccination Case 3":
  </a:s><a:s r="250"><a:s r="252"><a:s r="251"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="252"><a:s>"Two TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="254"><a:s r="253"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="254"><a:s>"The latest TBE dose was administered less than 5 months ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="250" locator="56:3-57:79" xsi:type="And"><operand libraryName="Encounter" localId="252" locator="56:3-56:60" name="Two TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="254" locator="57:9-57:79" name="The latest TBE dose was administered less than 5 months ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="229" locator="63:1-66:53" name="Client is not due for TBE vaccination"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for TBE 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 TBE vaccination
@pseudocode: "Immunization recommendation status" = "Not due"
*/
define "Client is not due for TBE vaccination":
  </a:s><a:s r="230"><a:s r="231"><a:s r="237"><a:s>"Client is not due for TBE vaccination Case 1"</a:s></a:s><a:s>
    or </a:s><a:s r="246"><a:s>"Client is not due for TBE vaccination Case 2"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="255"><a:s>"Client is not due for TBE vaccination Case 3"</a:s></a:s></a:s></a:s></annotation><expression localId="230" locator="64:3-66:53" xsi:type="Or"><operand localId="231" locator="64:3-65:53" xsi:type="Or"><operand localId="237" locator="64:3-64:48" name="Client is not due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="246" locator="65:8-65:53" name="Client is not due for TBE vaccination Case 2" xsi:type="ExpressionRef"/></operand><operand localId="255" locator="66:8-66:53" name="Client is not due for TBE vaccination Case 3" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="259" locator="76:1-84:5" name="Client is not due for TBE vaccination Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is not due for TBE vaccination Guidance"/><a:s r="259"><a:s>/*
@output: Client is not due for TBE vaccination Guidance
@guidance = Should not vaccinate client with first TBE dose as client's age is less than 1 year.
Check for any vaccines due and inform the caregiver of when to come back for the first dose.
@guidance = Should not vaccinate client with second TBE dose as the latest dose was administered less than 1 month ago. Check for any vaccines due and inform the caregiver of when to come back for the next dose
@guidance = Should not vaccinate client with third TBE dose as the latest dose was administered less than 5 months ago.
Check for any vaccines due and inform the caregiver of when to come back for the next dose.
*/
define "Client is not due for TBE vaccination Guidance":
  </a:s><a:s r="260"><a:s>case
    </a:s><a:s r="261"><a:s>when </a:s><a:s r="262"><a:s>"Client is not due for TBE vaccination Case 1"</a:s></a:s><a:s> then </a:s><a:s r="263"><a:s>'Should not vaccinate client with first TBE dose as client\'s age is less than 1 year.
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="265"><a:s>when </a:s><a:s r="266"><a:s>"Client is not due for TBE vaccination Case 2"</a:s></a:s><a:s> then </a:s><a:s r="267"><a:s>'Should not vaccinate client with second TBE dose as the latest dose was administered less than 1 month ago. Check for any vaccines due and inform the caregiver of when to come back for the next dose'</a:s></a:s></a:s><a:s>
    </a:s><a:s r="269"><a:s>when </a:s><a:s r="270"><a:s>"Client is not due for TBE vaccination Case 3"</a:s></a:s><a:s> then </a:s><a:s r="271"><a:s>'Should not vaccinate client with third TBE dose as the latest dose was administered less than 5 months ago.
Check for any vaccines due and inform the caregiver of when to come back for the next dose.'</a:s></a:s></a:s><a:s>
    else </a:s><a:s r="273"><a:s>''</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="260" locator="77:3-84:5" xsi:type="Case"><caseItem localId="261" locator="78:5-78:241"><when localId="262" locator="78:10-78:55" name="Client is not due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><then localId="263" locator="78:62-78:241" value="Should not vaccinate client with first TBE dose as client's age is less than 1 year.&#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="265" locator="80:5-80:261"><when localId="266" locator="80:10-80:55" name="Client is not due for TBE vaccination Case 2" xsi:type="ExpressionRef"/><then localId="267" locator="80:62-80:261" value="Should not vaccinate client with second TBE dose as the latest dose was administered less than 1 month ago. Check for any vaccines due and inform the caregiver of when to come back for the next dose" valueType="t:String" xsi:type="Literal"/></caseItem><caseItem localId="269" locator="81:5-81:262"><when localId="270" locator="81:10-81:55" name="Client is not due for TBE vaccination Case 3" xsi:type="ExpressionRef"/><then localId="271" locator="81:62-81:262" value="Should not vaccinate client with third TBE dose as the latest dose was administered less than 5 months ago.&#xA;Check for any vaccines due and inform the caregiver of when to come back for the next dose." valueType="t:String" xsi:type="Literal"/></caseItem><else localId="273" locator="83:10-83:11" value="" valueType="t:String" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="284" locator="90:1-92:64" name="Client is due for TBE vaccination Case 1"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for TBE vaccination Case 1"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="284"><a:s>/*
@output: Client is due for TBE vaccination Case 1
@pseudocode: "Immunization recommendation status" = "Due"
*/
define "Client is due for TBE vaccination Case 1":
  </a:s><a:s r="285"><a:s r="287"><a:s r="286"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="287"><a:s>"No TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </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>"Client's age is more than or equal to 1 year"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="285" locator="91:3-92:64" xsi:type="And"><operand libraryName="Encounter" localId="287" locator="91:3-91:59" name="No TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="289" locator="92:9-92:64" name="Client's age is more than or equal to 1 year" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="293" locator="98:1-100:78" name="Client is due for TBE vaccination Case 2"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for TBE vaccination Case 2"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="293"><a:s>/*
@output: Client is due for TBE vaccination Case 2
@pseudocode: "Immunization recommendation status" = "Due"
*/
define "Client is due for TBE vaccination Case 2":
  </a:s><a:s r="294"><a:s r="296"><a:s r="295"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="296"><a:s>"One TBE primary series dose was administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="298"><a:s r="297"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="298"><a:s>"The latest TBE dose was administered more than 1 month ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="294" locator="99:3-100:78" xsi:type="And"><operand libraryName="Encounter" localId="296" locator="99:3-99:58" name="One TBE primary series dose was administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="298" locator="100:9-100:78" name="The latest TBE dose was administered more than 1 month ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="302" locator="106:1-108:79" name="Client is due for TBE vaccination Case 3"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for TBE vaccination Case 3"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="302"><a:s>/*
@output: Client is due for TBE vaccination Case 3
@pseudocode: "Immunization recommendation status" = "Due"
*/
define "Client is due for TBE vaccination Case 3":
  </a:s><a:s r="303"><a:s r="305"><a:s r="304"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="305"><a:s>"Two TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="307"><a:s r="306"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="307"><a:s>"The latest TBE dose was administered more than 5 months ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="303" locator="107:3-108:79" xsi:type="And"><operand libraryName="Encounter" localId="305" locator="107:3-107:60" name="Two TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="307" locator="108:9-108:79" name="The latest TBE dose was administered more than 5 months ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="279" locator="114:1-117:49" name="Client is due for TBE vaccination"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for TBE vaccination"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="279"><a:s>/*
@output: Client is due for TBE vaccination
@pseudocode: "Immunization recommendation status" = "Due"
*/
define "Client is due for TBE vaccination":
  </a:s><a:s r="280"><a:s r="281"><a:s r="290"><a:s>"Client is due for TBE vaccination Case 1"</a:s></a:s><a:s>
    or </a:s><a:s r="299"><a:s>"Client is due for TBE vaccination Case 2"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="308"><a:s>"Client is due for TBE vaccination Case 3"</a:s></a:s></a:s></a:s></annotation><expression localId="280" locator="115:3-117:49" xsi:type="Or"><operand localId="281" locator="115:3-116:49" xsi:type="Or"><operand localId="290" locator="115:3-115:44" name="Client is due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="299" locator="116:8-116:49" name="Client is due for TBE vaccination Case 2" xsi:type="ExpressionRef"/></operand><operand localId="308" locator="117:8-117:49" name="Client is due for TBE vaccination Case 3" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="312" locator="128:1-137:5" name="Client is due for TBE vaccination Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Client is due for TBE vaccination Guidance"/><a:s r="312"><a:s>/*
@output: Client is due for TBE vaccination Guidance
@guidance = Should vaccinate client with first TBE dose as no TBE doses have been administered and client's age is more than 1 year.
Check for contraindications.
@guidance = Should vaccinate client with second TBE dose as the latest dose was administered more than 1 month ago.
Check for contraindications.
@guidance = Should vaccinate client with third TBE dose as the latest dose was administered more than 5 months ago.
Check for contraindications.
*/
define "Client is due for TBE vaccination Guidance":
  </a:s><a:s r="313"><a:s>case
    </a:s><a:s r="314"><a:s>when </a:s><a:s r="315"><a:s>"Client is due for TBE vaccination Case 1"</a:s></a:s><a:s> then </a:s><a:s r="316"><a:s>'Should vaccinate client with first TBE dose as no TBE doses have been administered and client\'s age is more than 1 year.
Check for contraindications.'</a:s></a:s></a:s><a:s>
    </a:s><a:s r="318"><a:s>when </a:s><a:s r="319"><a:s>"Client is due for TBE vaccination Case 2"</a:s></a:s><a:s> then </a:s><a:s r="320"><a:s>'Should vaccinate client with second TBE dose as the latest dose was administered more than 1 month ago.
Check for contraindications.'</a:s></a:s></a:s><a:s>
    </a:s><a:s r="322"><a:s>when </a:s><a:s r="323"><a:s>"Client is due for TBE vaccination Case 3"</a:s></a:s><a:s> then </a:s><a:s r="324"><a:s>'Should vaccinate client with third TBE dose as the latest dose was administered more than 5 months ago.
Check for contraindications.'</a:s></a:s></a:s><a:s>
    else </a:s><a:s r="326"><a:s>''</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="313" locator="129:3-137:5" xsi:type="Case"><caseItem localId="314" locator="130:5-130:209"><when localId="315" locator="130:10-130:51" name="Client is due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><then localId="316" locator="130:58-130:209" value="Should vaccinate client with first TBE dose as no TBE doses have been administered and client's age is more than 1 year.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></caseItem><caseItem localId="318" locator="132:5-132:191"><when localId="319" locator="132:10-132:51" name="Client is due for TBE vaccination Case 2" xsi:type="ExpressionRef"/><then localId="320" locator="132:58-132:191" value="Should vaccinate client with second TBE dose as the latest dose was administered more than 1 month ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></caseItem><caseItem localId="322" locator="134:5-134:191"><when localId="323" locator="134:10-134:51" name="Client is due for TBE vaccination Case 3" xsi:type="ExpressionRef"/><then localId="324" locator="134:58-134:191" value="Should vaccinate client with third TBE dose as the latest dose was administered more than 5 months ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></caseItem><else localId="326" locator="136:10-136:11" value="" valueType="t:String" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="332" locator="144:1-147:78" name="Primary series is complete. Client is not due for TBE booster dose"><annotation xsi:type="a:Annotation"><a:t name="output" value="Primary series is complete. Client is not due for TBE booster dose"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Not due&#34;"/><a:s r="332"><a:s>/*
@output: Primary series is complete. Client is not due for TBE booster dose
@pseudocode: "Immunization recommendation status" = "Not due"
"Completed the primary vaccination series" = TRUE (where "Vaccine type" = "TBE vaccines")
*/
define "Primary series is complete. Client is not due for TBE booster dose":
  </a:s><a:s r="333"><a:s r="334"><a:s r="336"><a:s r="335"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="336"><a:s>"Three TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="338"><a:s r="337"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="338"><a:s>"No TBE booster dose was administered"</a:s></a:s></a:s></a:s><a:s>
    and </a:s><a:s r="340"><a:s r="339"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="340"><a:s>"The latest TBE dose was administered less than 3 years ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="333" locator="145:3-147:78" xsi:type="And"><operand localId="334" locator="145:3-146:56" xsi:type="And"><operand libraryName="Encounter" localId="336" locator="145:3-145:62" name="Three TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="338" locator="146:9-146:56" name="No TBE booster dose was administered" xsi:type="ExpressionRef"/></operand><operand libraryName="Encounter" localId="340" locator="147:9-147:78" name="The latest TBE dose was administered less than 3 years ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="344" locator="154:1-155:210" name="Primary series is complete. Client is not due for TBE booster dose Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Primary series is complete. Client is not due for TBE booster dose Guidance"/><a:t name="guidance" value="Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.&#xA;Check for any vaccines due and inform the caregiver of when to come back for the booster dose"/><a:s r="344"><a:s>/*
@output: Primary series is complete. Client is not due for TBE booster dose Guidance
@guidance: Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.
Check for any vaccines due and inform the caregiver of when to come back for the booster dose
*/
define "Primary series is complete. Client is not due for TBE booster dose Guidance":
  </a:s><a:s r="345"><a:s>'Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.
Check for any vaccines due and inform the caregiver of when to come back for the booster dose'</a:s></a:s></a:s></annotation><expression localId="345" locator="155:3-155:210" value="Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.&#xA;Check for any vaccines due and inform the caregiver of when to come back for the booster dose" valueType="t:String" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="351" locator="163:1-166:78" name="Primary series is complete. Client is due for TBE booster dose"><annotation xsi:type="a:Annotation"><a:t name="output" value="Primary series is complete. Client is due for TBE booster dose"/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Due&#34;"/><a:s r="351"><a:s>/*
@output: Primary series is complete. Client is due for TBE booster dose
@pseudocode: "Immunization recommendation status" = "Due"
"Completed the primary vaccination series" = TRUE (where "Vaccine type" = "TBE vaccines")
*/
define "Primary series is complete. Client is due for TBE booster dose":
  </a:s><a:s r="352"><a:s r="353"><a:s r="355"><a:s r="354"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="355"><a:s>"Three TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="357"><a:s r="356"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="357"><a:s>"No TBE booster dose was administered"</a:s></a:s></a:s></a:s><a:s>
    and </a:s><a:s r="359"><a:s r="358"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="359"><a:s>"The latest TBE dose was administered more than 3 years ago"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="352" locator="164:3-166:78" xsi:type="And"><operand localId="353" locator="164:3-165:56" xsi:type="And"><operand libraryName="Encounter" localId="355" locator="164:3-164:62" name="Three TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="357" locator="165:9-165:56" name="No TBE booster dose was administered" xsi:type="ExpressionRef"/></operand><operand libraryName="Encounter" localId="359" locator="166:9-166:78" name="The latest TBE dose was administered more than 3 years ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="363" locator="173:1-174:141" name="Primary series is complete. Client is due for TBE booster dose Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Primary series is complete. Client is due for TBE booster dose Guidance"/><a:t name="guidance" value="Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.&#xA;Check for contraindications."/><a:s r="363"><a:s>/*
@output: Primary series is complete. Client is due for TBE booster dose Guidance
@guidance: Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.
Check for contraindications.
*/
define "Primary series is complete. Client is due for TBE booster dose Guidance":
  </a:s><a:s r="364"><a:s>'Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.
Check for contraindications.'</a:s></a:s></a:s></annotation><expression localId="364" locator="174:3-174:141" value="Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="370" locator="182:1-184:62" name="Clinical judgement is required."><annotation xsi:type="a:Annotation"><a:t name="output" value="Clinical judgement is required."/><a:t name="pseudocode" value="&#34;Immunization recommendation status&#34; = &#34;Further evaluation needed&#34;"/><a:s r="370"><a:s>/*
@output: Clinical judgement is required.
@pseudocode: Create a clinical note
"Immunization recommendation status" = "Further evaluation needed"
*/
define "Clinical judgement is required.":
  </a:s><a:s r="371"><a:s r="373"><a:s r="372"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="373"><a:s>"Three TBE primary series doses were administered"</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="375"><a:s r="374"><a:s>Encounter</a:s></a:s><a:s>.</a:s><a:s r="375"><a:s>"At least one booster dose was administered"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="371" locator="183:3-184:62" xsi:type="And"><operand libraryName="Encounter" localId="373" locator="183:3-183:62" name="Three TBE primary series doses were administered" xsi:type="ExpressionRef"/><operand libraryName="Encounter" localId="375" locator="184:9-184:62" name="At least one booster dose was administered" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="379" locator="191:1-192:123" name="Clinical judgement is required. Guidance"><annotation xsi:type="a:Annotation"><a:t name="output" value="Clinical judgement is required. Guidance"/><a:t name="guidance" value="Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.&#xA;Check for any other vaccines due."/><a:s r="379"><a:s>/*
@output: Clinical judgement is required. Guidance
@guidance: Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.
Check for any other vaccines due.
*/
define "Clinical judgement is required. Guidance":
  </a:s><a:s r="380"><a:s>'Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.
Check for any other vaccines due.'</a:s></a:s></a:s></annotation><expression localId="380" locator="192:3-192:123" value="Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.&#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="224" locator="23:1-31: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="256"><a:s>"Client is not due for TBE vaccination"</a:s></a:s><a:s> then </a:s><a:s r="275"><a:s>"Client is not due for TBE vaccination Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="276"><a:s>when </a:s><a:s r="309"><a:s>"Client is due for TBE vaccination"</a:s></a:s><a:s> then </a:s><a:s r="328"><a:s>"Client is due for TBE vaccination Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="329"><a:s>when </a:s><a:s r="341"><a:s>"Primary series is complete. Client is not due for TBE booster dose"</a:s></a:s><a:s> then </a:s><a:s r="347"><a:s>"Primary series is complete. Client is not due for TBE booster dose Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="348"><a:s>when </a:s><a:s r="360"><a:s>"Primary series is complete. Client is due for TBE booster dose"</a:s></a:s><a:s> then </a:s><a:s r="366"><a:s>"Primary series is complete. Client is due for TBE booster dose Guidance"</a:s></a:s></a:s><a:s>
    </a:s><a:s r="367"><a:s>when </a:s><a:s r="376"><a:s>"Clinical judgement is required."</a:s></a:s><a:s> then </a:s><a:s r="382"><a:s>"Clinical judgement is required. Guidance"</a:s></a:s></a:s><a:s> 
    else </a:s><a:s r="383"><a:s>''</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="225" locator="24:3-31:5" xsi:type="Case"><caseItem localId="226" locator="25:5-25:102"><when localId="256" locator="25:10-25:48" name="Client is not due for TBE vaccination" xsi:type="ExpressionRef"/><then localId="275" locator="25:55-25:102" name="Client is not due for TBE vaccination Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="276" locator="26:5-26:94"><when localId="309" locator="26:10-26:44" name="Client is due for TBE vaccination" xsi:type="ExpressionRef"/><then localId="328" locator="26:51-26:94" name="Client is due for TBE vaccination Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="329" locator="27:5-27:160"><when localId="341" locator="27:10-27:77" name="Primary series is complete. Client is not due for TBE booster dose" xsi:type="ExpressionRef"/><then localId="347" locator="27:84-27:160" name="Primary series is complete. Client is not due for TBE booster dose Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="348" locator="28:5-28:152"><when localId="360" locator="28:10-28:73" name="Primary series is complete. Client is due for TBE booster dose" xsi:type="ExpressionRef"/><then localId="366" locator="28:80-28:152" name="Primary series is complete. Client is due for TBE booster dose Guidance" xsi:type="ExpressionRef"/></caseItem><caseItem localId="367" locator="29:5-29:90"><when localId="376" locator="29:10-29:42" name="Clinical judgement is required." xsi:type="ExpressionRef"/><then localId="382" locator="29:49-29:90" name="Clinical judgement is required. Guidance" xsi:type="ExpressionRef"/></caseItem><else localId="383" locator="30:10-30:11" value="" valueType="t:String" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="387" locator="33:1-34:45" name="Has Guidance"><annotation xsi:type="a:Annotation"><a:s r="387"><a:s>define "Has Guidance":
  </a:s><a:s r="388"><a:s r="391"><a:s r="389"><a:s>"Guidance"</a:s></a:s><a:s> is not null</a:s></a:s><a:s> and </a:s><a:s r="398"><a:s r="393"><a:s>"Guidance"</a:s></a:s><a:s> != </a:s><a:s r="394"><a:s>''</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="388" locator="34:3-34:45" xsi:type="And"><operand localId="391" locator="34:3-34:24" xsi:type="Not"><operand localId="390" locator="34:3-34:24" xsi:type="IsNull"><operand localId="389" locator="34:3-34:12" name="Guidance" xsi:type="ExpressionRef"/></operand></operand><operand localId="398" locator="34:30-34:45" xsi:type="Not"><operand localId="392" locator="34:30-34:45" xsi:type="Equal"><signature localId="396" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="397" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="393" locator="34:30-34:39" name="Guidance" xsi:type="ExpressionRef"/><operand localId="394" locator="34:44-34:45" value="" valueType="t:String" xsi:type="Literal"/></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="401" locator="199:1-219:5" name="Test Validation"><annotation xsi:type="a:Annotation"><a:t name="test" value="Test expected results based on example patients"/><a:s r="401"><a:s>/*
@test: Test expected results based on example patients
*/
define "Test Validation":
  </a:s><a:s r="402"><a:s>case
    </a:s><a:s r="403"><a:s>when </a:s><a:s r="404"><a:s r="406"><a:s r="405"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="406"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="407"><a:s>'TBE08.1'</a:s></a:s></a:s><a:s> then </a:s><a:s r="413"><a:s r="414"><a:s>"Client is not due for TBE vaccination Case 1"</a:s></a:s><a:s> and </a:s><a:s r="415"><a:s r="416"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="417"><a:s>'Should not vaccinate client with first TBE dose as client\'s age is less than 1 year.
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="421"><a:s>when </a:s><a:s r="422"><a:s r="424"><a:s r="423"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="424"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="425"><a:s>'TBE09.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="431"><a:s r="432"><a:s>"Client is due for TBE vaccination Case 1"</a:s></a:s><a:s> and </a:s><a:s r="433"><a:s r="434"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="435"><a:s>'Should vaccinate client with first TBE dose as no TBE doses have been administered and client\'s age is more than 1 year.
Check for contraindications.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="439"><a:s>when </a:s><a:s r="440"><a:s r="442"><a:s r="441"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="442"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="443"><a:s>'TBE10.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="449"><a:s r="450"><a:s>"Client is not due for TBE vaccination Case 2"</a:s></a:s><a:s> and </a:s><a:s r="451"><a:s r="452"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="453"><a:s>'Should not vaccinate client with second TBE dose as the latest dose was administered less than 1 month ago. Check for any vaccines due and inform the caregiver of when to come back for the next dose'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="457"><a:s>when </a:s><a:s r="458"><a:s r="460"><a:s r="459"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="460"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="461"><a:s>'TBE11.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="467"><a:s r="468"><a:s>"Client is due for TBE vaccination Case 2"</a:s></a:s><a:s> and </a:s><a:s r="469"><a:s r="470"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="471"><a:s>'Should vaccinate client with second TBE dose as the latest dose was administered more than 1 month ago.
Check for contraindications.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="475"><a:s>when </a:s><a:s r="476"><a:s r="478"><a:s r="477"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="478"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="479"><a:s>'TBE12.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="485"><a:s r="486"><a:s>"Client is not due for TBE vaccination Case 3"</a:s></a:s><a:s> and </a:s><a:s r="487"><a:s r="488"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="489"><a:s>'Should not vaccinate client with third TBE dose as the latest dose was administered less than 5 months ago.
Check for any vaccines due and inform the caregiver of when to come back for the next dose.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="493"><a:s>when </a:s><a:s r="494"><a:s r="496"><a:s r="495"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="496"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="497"><a:s>'TBE13.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="503"><a:s r="504"><a:s>"Client is due for TBE vaccination Case 3"</a:s></a:s><a:s> and </a:s><a:s r="505"><a:s r="506"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="507"><a:s>'Should vaccinate client with third TBE dose as the latest dose was administered more than 5 months ago.
Check for contraindications.'</a:s></a:s></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>'TBE14.3'</a:s></a:s></a:s><a:s> then </a:s><a:s r="521"><a:s r="522"><a:s>"Primary series is complete. Client is not due for TBE booster dose"</a:s></a:s><a:s> and </a:s><a:s r="523"><a:s r="524"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="525"><a:s>'Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.
Check for any vaccines due and inform the caregiver of when to come back for the booster dose'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="529"><a:s>when </a:s><a:s r="530"><a:s r="532"><a:s r="531"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="532"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="533"><a:s>'TBE15.3'</a:s></a:s></a:s><a:s> then </a:s><a:s r="539"><a:s r="540"><a:s>"Primary series is complete. Client is due for TBE booster dose"</a:s></a:s><a:s> and </a:s><a:s r="541"><a:s r="542"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="543"><a:s>'Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.
Check for contraindications.'</a:s></a:s></a:s></a:s></a:s><a:s>
    </a:s><a:s r="547"><a:s>when </a:s><a:s r="548"><a:s r="550"><a:s r="549"><a:s>Patient</a:s></a:s><a:s>.</a:s><a:s r="550"><a:s>id</a:s></a:s></a:s><a:s> = </a:s><a:s r="551"><a:s>'TBE16.2'</a:s></a:s></a:s><a:s> then </a:s><a:s r="557"><a:s r="558"><a:s>"Clinical judgement is required."</a:s></a:s><a:s> and </a:s><a:s r="559"><a:s r="560"><a:s>"Guidance"</a:s></a:s><a:s> = </a:s><a:s r="561"><a:s>'Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.
Check for any other vaccines due.'</a:s></a:s></a:s></a:s></a:s><a:s>
    else </a:s><a:s r="565"><a:s>'No test case set'</a:s></a:s><a:s>
  end</a:s></a:s></a:s></annotation><expression localId="402" locator="200:3-219:5" xsi:type="Case"><caseItem localId="403" locator="201:5-201:281"><when localId="404" locator="201:10-201:31" xsi:type="Equal"><signature localId="411" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="412" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="409" name="ToString" xsi:type="FunctionRef"><signature localId="410" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="406" locator="201:10-201:19" path="id" xsi:type="Property"><source localId="405" locator="201:10-201:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="407" locator="201:23-201:31" value="TBE08.1" valueType="t:String" xsi:type="Literal"/></when><then localId="567" xsi:type="As"><operand localId="413" locator="201:38-201:281" xsi:type="And"><operand localId="414" locator="201:38-201:83" name="Client is not due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="415" locator="201:89-201:281" xsi:type="Equal"><signature localId="419" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="420" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="416" locator="201:89-201:98" name="Guidance" xsi:type="ExpressionRef"/><operand localId="417" locator="201:102-201:281" value="Should not vaccinate client with first TBE dose as client's age is less than 1 year.&#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="568" xsi:type="ChoiceTypeSpecifier"><choice localId="569" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="570" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="421" locator="203:5-203:249"><when localId="422" locator="203:10-203:31" xsi:type="Equal"><signature localId="429" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="430" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="427" name="ToString" xsi:type="FunctionRef"><signature localId="428" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="424" locator="203:10-203:19" path="id" xsi:type="Property"><source localId="423" locator="203:10-203:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="425" locator="203:23-203:31" value="TBE09.2" valueType="t:String" xsi:type="Literal"/></when><then localId="571" xsi:type="As"><operand localId="431" locator="203:38-203:249" xsi:type="And"><operand localId="432" locator="203:38-203:79" name="Client is due for TBE vaccination Case 1" xsi:type="ExpressionRef"/><operand localId="433" locator="203:85-203:249" xsi:type="Equal"><signature localId="437" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="438" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="434" locator="203:85-203:94" name="Guidance" xsi:type="ExpressionRef"/><operand localId="435" locator="203:98-203:249" value="Should vaccinate client with first TBE dose as no TBE doses have been administered and client's age is more than 1 year.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="572" xsi:type="ChoiceTypeSpecifier"><choice localId="573" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="574" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="439" locator="205:5-205:301"><when localId="440" locator="205:10-205:31" xsi:type="Equal"><signature localId="447" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="448" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="445" name="ToString" xsi:type="FunctionRef"><signature localId="446" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="442" locator="205:10-205:19" path="id" xsi:type="Property"><source localId="441" locator="205:10-205:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="443" locator="205:23-205:31" value="TBE10.2" valueType="t:String" xsi:type="Literal"/></when><then localId="575" xsi:type="As"><operand localId="449" locator="205:38-205:301" xsi:type="And"><operand localId="450" locator="205:38-205:83" name="Client is not due for TBE vaccination Case 2" xsi:type="ExpressionRef"/><operand localId="451" locator="205:89-205:301" xsi:type="Equal"><signature localId="455" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="456" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="452" locator="205:89-205:98" name="Guidance" xsi:type="ExpressionRef"/><operand localId="453" locator="205:102-205:301" value="Should not vaccinate client with second TBE dose as the latest dose was administered less than 1 month ago. Check for any vaccines due and inform the caregiver of when to come back for the next dose" valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="576" xsi:type="ChoiceTypeSpecifier"><choice localId="577" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="578" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="457" locator="206:5-206:231"><when localId="458" locator="206:10-206:31" xsi:type="Equal"><signature localId="465" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="466" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="463" name="ToString" xsi:type="FunctionRef"><signature localId="464" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="460" locator="206:10-206:19" path="id" xsi:type="Property"><source localId="459" locator="206:10-206:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="461" locator="206:23-206:31" value="TBE11.2" valueType="t:String" xsi:type="Literal"/></when><then localId="579" xsi:type="As"><operand localId="467" locator="206:38-206:231" xsi:type="And"><operand localId="468" locator="206:38-206:79" name="Client is due for TBE vaccination Case 2" xsi:type="ExpressionRef"/><operand localId="469" locator="206:85-206:231" xsi:type="Equal"><signature localId="473" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="474" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="470" locator="206:85-206:94" name="Guidance" xsi:type="ExpressionRef"/><operand localId="471" locator="206:98-206:231" value="Should vaccinate client with second TBE dose as the latest dose was administered more than 1 month ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="580" xsi:type="ChoiceTypeSpecifier"><choice localId="581" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="582" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="475" locator="208:5-208:302"><when localId="476" locator="208:10-208:31" xsi:type="Equal"><signature localId="483" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="484" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="481" name="ToString" xsi:type="FunctionRef"><signature localId="482" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="478" locator="208:10-208:19" path="id" xsi:type="Property"><source localId="477" locator="208:10-208:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="479" locator="208:23-208:31" value="TBE12.2" valueType="t:String" xsi:type="Literal"/></when><then localId="583" xsi:type="As"><operand localId="485" locator="208:38-208:302" xsi:type="And"><operand localId="486" locator="208:38-208:83" name="Client is not due for TBE vaccination Case 3" xsi:type="ExpressionRef"/><operand localId="487" locator="208:89-208:302" xsi:type="Equal"><signature localId="491" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="492" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="488" locator="208:89-208:98" name="Guidance" xsi:type="ExpressionRef"/><operand localId="489" locator="208:102-208:302" value="Should not vaccinate client with third TBE dose as the latest dose was administered less than 5 months ago.&#xA;Check for any vaccines due and inform the caregiver of when to come back for the next dose." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="584" xsi:type="ChoiceTypeSpecifier"><choice localId="585" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="586" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="493" locator="210:5-210:231"><when localId="494" locator="210:10-210:31" xsi:type="Equal"><signature localId="501" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="502" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="499" name="ToString" xsi:type="FunctionRef"><signature localId="500" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="496" locator="210:10-210:19" path="id" xsi:type="Property"><source localId="495" locator="210:10-210:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="497" locator="210:23-210:31" value="TBE13.2" valueType="t:String" xsi:type="Literal"/></when><then localId="587" xsi:type="As"><operand localId="503" locator="210:38-210:231" xsi:type="And"><operand localId="504" locator="210:38-210:79" name="Client is due for TBE vaccination Case 3" xsi:type="ExpressionRef"/><operand localId="505" locator="210:85-210:231" xsi:type="Equal"><signature localId="509" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="510" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="506" locator="210:85-210:94" name="Guidance" xsi:type="ExpressionRef"/><operand localId="507" locator="210:98-210:231" value="Should vaccinate client with third TBE dose as the latest dose was administered more than 5 months ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="588" xsi:type="ChoiceTypeSpecifier"><choice localId="589" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="590" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="511" locator="212:5-212:331"><when localId="512" locator="212:10-212:31" xsi:type="Equal"><signature localId="519" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="520" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="517" name="ToString" xsi:type="FunctionRef"><signature localId="518" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="514" locator="212:10-212:19" path="id" xsi:type="Property"><source localId="513" locator="212:10-212:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="515" locator="212:23-212:31" value="TBE14.3" valueType="t:String" xsi:type="Literal"/></when><then localId="591" xsi:type="As"><operand localId="521" locator="212:38-212:331" xsi:type="And"><operand localId="522" locator="212:38-212:105" name="Primary series is complete. Client is not due for TBE booster dose" xsi:type="ExpressionRef"/><operand localId="523" locator="212:111-212:331" xsi:type="Equal"><signature localId="527" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="528" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="524" locator="212:111-212:120" name="Guidance" xsi:type="ExpressionRef"/><operand localId="525" locator="212:124-212:331" value="Should not vaccinate client with TBE booster dose as the latest TBE dose was administered less than 3 years ago.&#xA;Check for any vaccines due and inform the caregiver of when to come back for the booster dose" valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="592" xsi:type="ChoiceTypeSpecifier"><choice localId="593" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="594" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="529" locator="214:5-214:258"><when localId="530" locator="214:10-214:31" xsi:type="Equal"><signature localId="537" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="538" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="535" name="ToString" xsi:type="FunctionRef"><signature localId="536" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="532" locator="214:10-214:19" path="id" xsi:type="Property"><source localId="531" locator="214:10-214:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="533" locator="214:23-214:31" value="TBE15.3" valueType="t:String" xsi:type="Literal"/></when><then localId="595" xsi:type="As"><operand localId="539" locator="214:38-214:258" xsi:type="And"><operand localId="540" locator="214:38-214:101" name="Primary series is complete. Client is due for TBE booster dose" xsi:type="ExpressionRef"/><operand localId="541" locator="214:107-214:258" xsi:type="Equal"><signature localId="545" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="546" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="542" locator="214:107-214:116" name="Guidance" xsi:type="ExpressionRef"/><operand localId="543" locator="214:120-214:258" value="Should vaccinate client with TBE booster dose as the latest TBE dose was administered more than 3 years ago.&#xA;Check for contraindications." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="596" xsi:type="ChoiceTypeSpecifier"><choice localId="597" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="598" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><caseItem localId="547" locator="216:5-216:209"><when localId="548" locator="216:10-216:31" xsi:type="Equal"><signature localId="555" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="556" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="553" name="ToString" xsi:type="FunctionRef"><signature localId="554" name="fhir:string" xsi:type="NamedTypeSpecifier"/><operand localId="550" locator="216:10-216:19" path="id" xsi:type="Property"><source localId="549" locator="216:10-216:16" name="Patient" xsi:type="ExpressionRef"/></operand></operand><operand localId="551" locator="216:23-216:31" value="TBE16.2" valueType="t:String" xsi:type="Literal"/></when><then localId="599" xsi:type="As"><operand localId="557" locator="216:38-216:209" xsi:type="And"><operand localId="558" locator="216:38-216:70" name="Clinical judgement is required." xsi:type="ExpressionRef"/><operand localId="559" locator="216:76-216:209" xsi:type="Equal"><signature localId="563" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="564" name="t:String" xsi:type="NamedTypeSpecifier"/><operand localId="560" locator="216:76-216:85" name="Guidance" xsi:type="ExpressionRef"/><operand localId="561" locator="216:89-216:209" value="Assess if supplementary booster TBE dose(s) are necessary and create a clinical note.&#xA;Check for any other vaccines due." valueType="t:String" xsi:type="Literal"/></operand></operand><asTypeSpecifier localId="600" xsi:type="ChoiceTypeSpecifier"><choice localId="601" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="602" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></then></caseItem><else localId="603" xsi:type="As"><operand localId="565" locator="218:10-218:27" value="No test case set" valueType="t:String" xsi:type="Literal"/><asTypeSpecifier localId="604" xsi:type="ChoiceTypeSpecifier"><choice localId="605" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><choice localId="606" name="t:String" xsi:type="NamedTypeSpecifier"/></asTypeSpecifier></else></expression></def></statements></library>