<?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="293"><a:s>/*
  * Library: IMMZD2DTJEElements
  */
library IMMZD2DTJEElements</a:s></a:s></annotation><identifier id="IMMZD2DTJEElements" 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="7:1-7: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="8:1-8: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="WHOConcepts" locator="10:1-10:19" path="http://smart.who.int/immunizations/WHOConcepts"><annotation xsi:type="a:Annotation"><a:s r="210"><a:s>include </a:s><a:s><a:s>WHOConcepts</a:s></a:s></a:s></annotation></def><def localId="212" localIdentifier="WC" locator="11:1-11:27" path="http://smart.who.int/immunizations/WHOCommon"><annotation xsi:type="a:Annotation"><a:s r="212"><a:s>include </a:s><a:s><a:s>WHOCommon</a:s></a:s><a:s> called WC</a:s></a:s></annotation></def><def localId="214" localIdentifier="WE" locator="12:1-12:29" path="http://smart.who.int/immunizations/WHOElements"><annotation xsi:type="a:Annotation"><a:s r="214"><a:s>include </a:s><a:s><a:s>WHOElements</a:s></a:s><a:s> called WE</a:s></a:s></annotation></def><def localId="216" localIdentifier="Common" locator="14:1-14:32" path="http://smart.who.int/immunizations/IMMZCommon"><annotation xsi:type="a:Annotation"><a:s r="216"><a:s>include </a:s><a:s><a:s>IMMZCommon</a:s></a:s><a:s> called Common</a:s></a:s></annotation></def><def localId="218" localIdentifier="Concepts" locator="15:1-15:36" path="http://smart.who.int/immunizations/IMMZConcepts"><annotation xsi:type="a:Annotation"><a:s r="218"><a:s>include </a:s><a:s><a:s>IMMZConcepts</a:s></a:s><a:s> called Concepts</a:s></a:s></annotation></def><def localId="220" localIdentifier="Elements" locator="16:1-16:36" path="http://smart.who.int/immunizations/IMMZElements"><annotation xsi:type="a:Annotation"><a:s r="220"><a:s>include </a:s><a:s><a:s>IMMZElements</a:s></a:s><a:s> called Elements</a:s></a:s></annotation></def></includes><contexts><def localId="225" locator="19:1-19:15" name="Patient"/></contexts><statements><def context="Patient" localId="223" locator="19:1-19:15" name="Patient"><expression localId="224" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="222" locator="19:1-19:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="228" locator="24:1-27:43" name="JE Doses Administered to Patient"><annotation xsi:type="a:Annotation"><a:t name="internal" value="JE containing Doses Administered to Patient"/><a:s r="228"><a:s>/*
@internal: JE containing Doses Administered to Patient
*/
define "JE Doses Administered to Patient":
  </a:s><a:s r="240"><a:s><a:s r="229"><a:s r="231"><a:s><a:s>Elements."Doses Administered to Patient"</a:s></a:s></a:s><a:s> I</a:s></a:s></a:s><a:s>
  </a:s><a:s r="237"><a:s>where
    </a:s><a:s r="237"><a:s r="234"><a:s r="233"><a:s>I</a:s></a:s><a:s>.</a:s><a:s r="234"><a:s>vaccineCode</a:s></a:s></a:s><a:s> in </a:s><a:s r="236"><a:s r="235"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="236"><a:s>"JE vaccines"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="240" locator="25:3-27:43" xsi:type="Query"><source alias="I" localId="229" locator="25:3-25:44"><expression libraryName="Elements" localId="231" locator="25:3-25:42" name="Doses Administered to Patient" xsi:type="ExpressionRef"/></source><where localId="237" locator="26:3-27:43" xsi:type="InValueSet"><signature localId="239" name="t:Concept" xsi:type="NamedTypeSpecifier"/><code libraryName="FHIRHelpers" localId="238" name="ToConcept" xsi:type="FunctionRef"><operand localId="234" locator="27:5-27:17" path="vaccineCode" scope="I" xsi:type="Property"/></code><valueset libraryName="Concepts" localId="236" locator="27:22-27:43" name="JE vaccines" preserve="true"/></where></expression></def><def accessLevel="Public" context="Patient" localId="243" locator="32:1-33:52" name="JE Primary Series Doses Administered to Patient"><annotation xsi:type="a:Annotation"><a:t name="internal" value="JE containing Doses Administered to Patient that are in the Primary series"/><a:s r="243"><a:s>/*
@internal: JE containing Doses Administered to Patient that are in the Primary series
*/
define "JE Primary Series Doses Administered to Patient":
  </a:s><a:s r="245"><a:s r="244"><a:s>"JE Doses Administered to Patient"</a:s></a:s><a:s>.</a:s><a:s r="245"><a:s>seriesPrimary()</a:s></a:s></a:s></a:s></annotation><expression libraryName="Common" localId="245" locator="33:3-33:52" name="seriesPrimary" xsi:type="FunctionRef"><operand localId="244" locator="33:3-33:36" name="JE Doses Administered to Patient" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="248" locator="38:1-39:58" name="Number of JE Primary Series Doses Administered"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Number of JE Primary Series doses"/><a:s r="248"><a:s>/*
@internal: Number of JE Primary Series doses
*/
define "Number of JE Primary Series Doses Administered":
  </a:s><a:s r="252"><a:s>Count(</a:s><a:s r="249"><a:s>"JE Primary Series Doses Administered to Patient"</a:s></a:s><a:s>)</a:s></a:s></a:s></annotation><expression localId="252" locator="39:3-39:58" xsi:type="Count"><source localId="249" locator="39:9-39:57" name="JE Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="255" locator="48:1-49:46" name="Client's age is less than 6 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is less than 6 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; &lt; 6 months"/><a:t name="code" value="Client's age is less than 6 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="255"><a:s>/*
@input: Client's age is less than 6 months
@pseudocode: Today's date − "Date of birth" &lt; 6 months
@code: Client's age is less than 6 months-41
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is less than 6 months":
  </a:s><a:s r="256"><a:s r="258"><a:s r="257"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="258"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="259"> &lt; 6</a:s></a:s></a:s></annotation><expression localId="256" locator="49:3-49:46" xsi:type="Less"><signature localId="260" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="261" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="258" locator="49:3-49:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="259" locator="49:46" value="6" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="264" locator="62:1-63:54" name="No JE primary series doses were administered"><annotation xsi:type="a:Annotation"><a:t name="input" value="No JE primary series doses were administered"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;JE vaccines&#34; and &#34;Type of dose&#34; = &#34;Primary series&#34;) = 0"/><a:t name="code" value="No JE primary series doses were administered-111"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="264"><a:s>/*
@input: No JE primary series doses were administered
@pseudocode: Count of vaccines administered (where "Vaccine type" = "JE vaccines" and "Type of dose" = "Primary series") = 0
@code: No JE primary series doses were administered-111
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "No JE primary series doses were administered":
  </a:s><a:s r="265"><a:s r="266"><a:s>"Number of JE Primary Series Doses Administered"</a:s></a:s><a:s r="267"> = 0</a:s></a:s></a:s></annotation><expression localId="265" locator="63:3-63:54" xsi:type="Equal"><signature localId="268" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="269" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="266" locator="63:3-63:50" name="Number of JE Primary Series Doses Administered" xsi:type="ExpressionRef"/><operand localId="267" locator="63:54" value="0" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="272" locator="72:1-73:47" name="Client's age is more than or equal to 6 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is more than or equal to 6 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; ≥ 6 months"/><a:t name="code" value="Client's age is more than or equal to 6 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="272"><a:s>/*
@input: Client's age is more than or equal to 6 months
@pseudocode: Today's date − "Date of birth" ≥ 6 months
@code: Client's age is more than or equal to 6 months-41
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is more than or equal to 6 months":
  </a:s><a:s r="273"><a:s r="275"><a:s r="274"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="275"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="276"> &gt;= 6</a:s></a:s></a:s></annotation><expression localId="273" locator="73:3-73:47" xsi:type="GreaterOrEqual"><signature localId="277" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="278" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="275" locator="73:3-73:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="276" locator="73:47" value="6" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="281" locator="84:1-85:54" name="One JE primary series dose was administered"><annotation xsi:type="a:Annotation"><a:t name="input" value="One JE primary series dose was administered"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;JE vaccines&#34; and &#34;Type of dose&#34; = &#34;Primary series&#34;) = 1"/><a:t name="code" value="One JE primary series dose was administered-111"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="281"><a:s>/*
@input: One JE primary series dose was administered
@pseudocode: Count of vaccines administered (where "Vaccine type" = "JE vaccines" and "Type of dose" = "Primary series") = 1
@code: One JE primary series dose was administered-111
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "One JE primary series dose was administered":
  </a:s><a:s r="282"><a:s r="283"><a:s>"Number of JE Primary Series Doses Administered"</a:s></a:s><a:s r="284"> = 1</a:s></a:s></a:s></annotation><expression localId="282" locator="85:3-85:54" xsi:type="Equal"><signature localId="285" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="286" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="283" locator="85:3-85:50" name="Number of JE Primary Series Doses Administered" xsi:type="ExpressionRef"/><operand localId="284" locator="85:54" value="1" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="293" locator="195:1-196:92" name="Date of Latest JE Dose"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Date of Latest JE Dose"/><a:s r="293"><a:s>/*
@internal: Date of Latest JE Dose
*/
define "Date of Latest JE Dose":
  </a:s><a:s r="294"><a:s>date from </a:s><a:s r="295"><a:s>start of </a:s><a:s r="301"><a:s r="300"><a:s r="297"><a:s r="296"><a:s>"JE Doses Administered to Patient"</a:s></a:s><a:s>.</a:s><a:s r="297"><a:s>mostRecent()</a:s></a:s></a:s><a:s>.</a:s><a:s r="300"><a:s>occurrence</a:s></a:s></a:s><a:s>.</a:s><a:s r="301"><a:s>toInterval()</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="294" locator="196:3-196:92" xsi:type="DateFrom"><operand localId="295" locator="196:13-196:92" xsi:type="Start"><operand libraryName="WC" localId="301" locator="196:22-196:92" name="toInterval" xsi:type="FunctionRef"><operand localId="300" locator="196:22-196:79" path="occurrence" xsi:type="Property"><source libraryName="WC" localId="297" locator="196:22-196:68" name="mostRecent" xsi:type="FunctionRef"><signature localId="298" xsi:type="ListTypeSpecifier"><elementType localId="299" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/></signature><operand localId="296" locator="196:22-196:55" name="JE Doses Administered to Patient" xsi:type="ExpressionRef"/></source></operand></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="289" locator="94:1-96:72" name="The latest JE dose was administered less than 4 weeks ago"><annotation xsi:type="a:Annotation"><a:t name="input" value="The latest JE dose was administered less than 4 weeks ago"/><a:t name="pseudocode" value="&#34;Date and time of vaccination&#34; (where &#34;Vaccine type&#34; = &#34;JE vaccines&#34;) &lt; 4 weeks"/><a:t name="code" value="The latest JE dose was administered less than 4 weeks ago-94"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="289"><a:s>/*
@input: The latest JE dose was administered less than 4 weeks ago
@pseudocode: Today's date − "Date and time of vaccination" (where "Vaccine type" = "JE vaccines") &lt; 4 weeks
@code: The latest JE dose was administered less than 4 weeks ago-94
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "The latest JE dose was administered less than 4 weeks ago":
  </a:s><a:s r="290"><a:s r="304"><a:s r="302"><a:s>"Date of Latest JE Dose"</a:s></a:s><a:s> is not null</a:s></a:s><a:s>
    and </a:s><a:s r="305"><a:s r="306"><a:s>duration in weeks between </a:s><a:s r="307"><a:s>"Date of Latest JE Dose"</a:s></a:s><a:s> and </a:s><a:s r="310"><a:s>Now()</a:s></a:s></a:s><a:s r="316"> &lt; 4</a:s></a:s></a:s></a:s></annotation><expression localId="290" locator="95:3-96:72" xsi:type="And"><operand localId="304" locator="95:3-95:38" xsi:type="Not"><operand localId="303" locator="95:3-95:38" xsi:type="IsNull"><operand localId="302" locator="95:3-95:26" name="Date of Latest JE Dose" xsi:type="ExpressionRef"/></operand></operand><operand localId="305" locator="96:9-96:72" xsi:type="Less"><signature localId="317" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="318" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="306" locator="96:9-96:68" precision="Week" xsi:type="DurationBetween"><signature localId="314" name="t:DateTime" xsi:type="NamedTypeSpecifier"/><signature localId="315" name="t:DateTime" xsi:type="NamedTypeSpecifier"/><operand localId="312" xsi:type="ToDateTime"><signature localId="313" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="307" locator="96:35-96:58" name="Date of Latest JE Dose" xsi:type="ExpressionRef"/></operand><operand localId="310" locator="96:64-96:68" xsi:type="Now"/></operand><operand localId="316" locator="96:72" value="4" valueType="t:Integer" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="321" locator="105:1-106:65" name="The latest JE dose was administered more than 4 weeks ago"><annotation xsi:type="a:Annotation"><a:t name="input" value="The latest JE dose was administered more than 4 weeks ago"/><a:t name="pseudocode" value="&#34;Date and time of vaccination&#34; (where &#34;Vaccine type&#34; = &#34;JE vaccines&#34;) ≥ 4 weeks"/><a:t name="code" value="The latest JE dose was administered more than 4 weeks ago-94"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="321"><a:s>/*
@input: The latest JE dose was administered more than 4 weeks ago
@pseudocode: Today's date − "Date and time of vaccination" (where "Vaccine type" = "JE vaccines") ≥ 4 weeks
@code: The latest JE dose was administered more than 4 weeks ago-94
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "The latest JE dose was administered more than 4 weeks ago":
  </a:s><a:s r="322"><a:s>not </a:s><a:s r="323"><a:s>"The latest JE dose was administered less than 4 weeks ago"</a:s></a:s></a:s></a:s></annotation><expression localId="322" locator="106:3-106:65" xsi:type="Not"><operand localId="323" locator="106:7-106:65" name="The latest JE dose was administered less than 4 weeks ago" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="326" locator="115:1-116:54" name="Two JE primary series doses were administered"><annotation xsi:type="a:Annotation"><a:t name="input" value="Two JE primary series doses were administered"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;JE vaccines&#34; and &#34;Type of dose&#34; = &#34;Primary series&#34;) = 2"/><a:t name="code" value="Two JE primary series doses were administered-111"/><a:t name="decision" value="IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="326"><a:s>/*
@input: Two JE primary series doses were administered
@pseudocode: Count of vaccines administered (where "Vaccine type" = "JE vaccines" and "Type of dose" = "Primary series") = 2
@code: Two JE primary series doses were administered-111
@decision: IMMZ.D2.DT.JE.Inactivated Vero cell-derived vaccine: Inactivated Vero cell-derived vaccination schedule (2-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Two JE primary series doses were administered":
  </a:s><a:s r="327"><a:s r="328"><a:s>"Number of JE Primary Series Doses Administered"</a:s></a:s><a:s r="329"> = 2</a:s></a:s></a:s></annotation><expression localId="327" locator="116:3-116:54" xsi:type="Equal"><signature localId="330" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="331" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="328" locator="116:3-116:50" name="Number of JE Primary Series Doses Administered" xsi:type="ExpressionRef"/><operand localId="329" locator="116:54" value="2" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="334" locator="125:1-126:46" name="Client's age is less than 8 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is less than 8 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; &lt; 8 months"/><a:t name="code" value="Client's age is less than 8 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="334"><a:s>/*
@input: Client's age is less than 8 months
@pseudocode: Today's date − "Date of birth" &lt; 8 months
@code: Client's age is less than 8 months-41
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is less than 8 months":
  </a:s><a:s r="335"><a:s r="337"><a:s r="336"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="337"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="338"> &lt; 8</a:s></a:s></a:s></annotation><expression localId="335" locator="126:3-126:46" xsi:type="Less"><signature localId="339" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="340" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="337" locator="126:3-126:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="338" locator="126:46" value="8" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="343" locator="135:1-136:47" name="Client's age is more than or equal to 8 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is more than or equal to 8 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; ≥ 8 months"/><a:t name="code" value="Client's age is more than or equal to 8 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="343"><a:s>/*
@input: Client's age is more than or equal to 8 months
@pseudocode: Today's date − "Date of birth" ≥ 8 months
@code: Client's age is more than or equal to 8 months-41
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is more than or equal to 8 months":
  </a:s><a:s r="344"><a:s r="346"><a:s r="345"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="346"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="347"> &gt;= 8</a:s></a:s></a:s></annotation><expression localId="344" locator="136:3-136:47" xsi:type="GreaterOrEqual"><signature localId="348" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="349" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="346" locator="136:3-136:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="347" locator="136:47" value="8" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="352" locator="147:1-148:65" name="No live vaccine was administered in the last 4 weeks"><annotation xsi:type="a:Annotation"><a:t name="input" value="No live vaccine was administered in the last 4 weeks"/><a:t name="pseudocode" value="&#34;Date and time of vaccination&#34; (where &#34;Vaccine type&#34; = &#34;JE vaccines&#34;) ≥ 4 weeks"/><a:t name="code" value="No live vaccine was administered in the last 4 weeks-101"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="352"><a:s>/*
@input: No live vaccine was administered in the last 4 weeks
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Vaccine type" = "JE vaccines") ≥ 4 weeks
@code: No live vaccine was administered in the last 4 weeks-101
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "No live vaccine was administered in the last 4 weeks":
  </a:s><a:s r="354"><a:s r="353"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="354"><a:s>"No live vaccine was administered in the last 4 weeks"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="354" locator="148:3-148:65" name="No live vaccine was administered in the last 4 weeks" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="357" locator="159:1-160:62" name="Live vaccine was administered in the last 4 weeks"><annotation xsi:type="a:Annotation"><a:t name="input" value="Live vaccine was administered in the last 4 weeks"/><a:t name="pseudocode" value="&#34;Date and time of vaccination&#34; (where &#34;Live vaccine&#34; = TRUE) &lt; 4 weeks"/><a:t name="code" value="Live vaccine was administered in the last 4 weeks-92"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="357"><a:s>/*
@input: Live vaccine was administered in the last 4 weeks
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) &lt; 4 weeks
@code: Live vaccine was administered in the last 4 weeks-92
@decision: IMMZ.D2.DT.JE.Live attenuated vaccine: Live attenuated vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Live vaccine was administered in the last 4 weeks":
  </a:s><a:s r="359"><a:s r="358"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="359"><a:s>"Live vaccine was administered in the last 4 weeks"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="359" locator="160:3-160:62" name="Live vaccine was administered in the last 4 weeks" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="362" locator="169:1-170:46" name="Client's age is less than 9 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is less than 9 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; &lt; 9 months"/><a:t name="code" value="Client's age is less than 9 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="362"><a:s>/*
@input: Client's age is less than 9 months
@pseudocode: Today's date − "Date of birth" &lt; 9 months
@code: Client's age is less than 9 months-41
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is less than 9 months":
  </a:s><a:s r="363"><a:s r="365"><a:s r="364"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="365"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="366"> &lt; 9</a:s></a:s></a:s></annotation><expression localId="363" locator="170:3-170:46" xsi:type="Less"><signature localId="367" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="368" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="365" locator="170:3-170:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="366" locator="170:46" value="9" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="371" locator="179:1-180:47" name="Client's age is more than or equal to 9 months"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's age is more than or equal to 9 months"/><a:t name="pseudocode" value="&#34;Date of birth&#34; ≥ 9 months"/><a:t name="code" value="Client's age is more than or equal to 9 months-41"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="371"><a:s>/*
@input: Client's age is more than or equal to 9 months
@pseudocode: Today's date − "Date of birth" ≥ 9 months
@code: Client's age is more than or equal to 9 months-41
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "Client's age is more than or equal to 9 months":
  </a:s><a:s r="372"><a:s r="374"><a:s r="373"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="374"><a:s>"Current Patient Age In Months"</a:s></a:s></a:s><a:s r="375"> &gt;= 9</a:s></a:s></a:s></annotation><expression localId="372" locator="180:3-180:47" xsi:type="GreaterOrEqual"><signature localId="376" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="377" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="374" locator="180:3-180:42" name="Current Patient Age In Months" xsi:type="ExpressionRef"/><operand localId="375" locator="180:47" value="9" valueType="t:Integer" xsi:type="Literal"/></expression></def><def accessLevel="Public" context="Patient" localId="380" locator="189:1-190:47" name="One JE primary series doses were administered"><annotation xsi:type="a:Annotation"><a:t name="input" value="One JE primary series doses were administered"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;JE vaccines&#34; and &#34;Type of dose&#34; = &#34;Primary series&#34;) = 1"/><a:t name="code" value="One JE primary series doses were administered-111"/><a:t name="decision" value="IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)&#xA;JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority"/><a:s r="380"><a:s>/*
@input: One JE primary series doses were administered
@pseudocode: Count of vaccines administered (where "Vaccine type" = "JE vaccines" and "Type of dose" = "Primary series") = 1
@code: One JE primary series doses were administered-111
@decision: IMMZ.D2.DT.JE.Live recombinant vaccine: Live recombinant vaccination schedule (1-dose scheme)
JE vaccination should be integrated into national immunization schedules in all areas where JE is recognized as a public health priority
*/
define "One JE primary series doses were administered":
  </a:s><a:s r="381"><a:s>"One JE primary series dose was administered"</a:s></a:s></a:s></annotation><expression localId="381" locator="190:3-190:47" name="One JE primary series dose was administered" xsi:type="ExpressionRef"/></def></statements></library>