<?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="2071"><a:s>library IMMZElements</a:s></a:s></annotation><identifier id="IMMZElements" 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="3:1-3: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="5:1-5: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="7:1-7: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="8:1-8: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="9:1-9: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="Concepts" locator="11:1-11:36" path="http://smart.who.int/immunizations/IMMZConcepts"><annotation xsi:type="a:Annotation"><a:s r="216"><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="218" localIdentifier="Common" locator="12:1-12:32" path="http://smart.who.int/immunizations/IMMZCommon"><annotation xsi:type="a:Annotation"><a:s r="218"><a:s>include </a:s><a:s><a:s>IMMZCommon</a:s></a:s><a:s> called Common</a:s></a:s></annotation></def></includes><contexts><def localId="223" locator="14:1-14:15" name="Patient"/></contexts><statements><def context="Patient" localId="221" locator="14:1-14:15" name="Patient"><expression localId="222" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="220" locator="14:1-14:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="226" locator="19:1-22:33" name="Doses Administered to Patient"><annotation xsi:type="a:Annotation"><a:s r="226"><a:s>/**
 * @dataElement All Doses Administered to Patient
 */
define "Doses Administered to Patient":
  </a:s><a:s r="245"><a:s><a:s r="227"><a:s r="228"><a:s r="228"><a:s>[Immunization]</a:s></a:s></a:s><a:s> I</a:s></a:s></a:s><a:s>
    </a:s><a:s r="230"><a:s>where </a:s><a:s r="230"><a:s r="231"><a:s r="233"><a:s r="232"><a:s>I</a:s></a:s><a:s>.</a:s><a:s r="233"><a:s>status</a:s></a:s></a:s><a:s> = </a:s><a:s r="234"><a:s>'completed'</a:s></a:s></a:s><a:s>
    and </a:s><a:s r="244"><a:s r="241"><a:s r="240"><a:s>I</a:s></a:s><a:s>.</a:s><a:s r="241"><a:s>isSubpotent</a:s></a:s></a:s><a:s> is not true</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="245" locator="20:3-22:33" xsi:type="Query"><source alias="I" localId="227" locator="20:3-20:18"><expression dataType="fhir:Immunization" localId="228" locator="20:3-20:16" templateId="http://hl7.org/fhir/StructureDefinition/Immunization" xsi:type="Retrieve"/></source><where localId="230" locator="21:5-22:33" xsi:type="And"><operand localId="231" locator="21:11-21:32" xsi:type="Equal"><signature localId="238" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="239" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="236" name="ToString" xsi:type="FunctionRef"><signature localId="237" name="fhir:ImmunizationStatus" xsi:type="NamedTypeSpecifier"/><operand localId="233" locator="21:11-21:18" path="status" scope="I" xsi:type="Property"/></operand><operand localId="234" locator="21:22-21:32" value="completed" valueType="t:String" xsi:type="Literal"/></operand><operand localId="244" locator="22:9-22:33" xsi:type="Not"><operand localId="242" locator="22:9-22:33" xsi:type="IsTrue"><operand libraryName="FHIRHelpers" localId="243" name="ToBoolean" xsi:type="FunctionRef"><operand localId="241" locator="22:9-22:21" path="isSubpotent" scope="I" xsi:type="Property"/></operand></operand></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="248" locator="27:1-29:53" name="Draft Medication Request for Patient"><annotation xsi:type="a:Annotation"><a:t name="dataElement" value="Draft Medication Request for Patient"/><a:s r="248"><a:s>/*
@dataElement: Draft Medication Request for Patient
*/
define "Draft Medication Request for Patient":
	</a:s><a:s r="284"><a:s><a:s r="249"><a:s r="250"><a:s r="250"><a:s>[MedicationRequest]</a:s></a:s></a:s><a:s> MR</a:s></a:s></a:s><a:s> </a:s><a:s r="252"><a:s>where </a:s><a:s r="252"><a:s r="253"><a:s r="255"><a:s r="254"><a:s>MR</a:s></a:s><a:s>.</a:s><a:s r="255"><a:s>status</a:s></a:s></a:s><a:s> = </a:s><a:s r="256"><a:s>'draft'</a:s></a:s></a:s><a:s> and </a:s><a:s r="262"><a:s r="264"><a:s r="263"><a:s>MR</a:s></a:s><a:s>.</a:s><a:s r="264"><a:s>intent</a:s></a:s></a:s><a:s> = </a:s><a:s r="265"><a:s>'proposal'</a:s></a:s></a:s></a:s></a:s><a:s>
	</a:s><a:s r="278"><a:s>sort by </a:s><a:s r="277"><a:s r="271"><a:s>date from </a:s><a:s r="272"><a:s>(</a:s><a:s r="272"><a:s r="273"><a:s>authoredOn</a:s></a:s><a:s> as </a:s><a:s r="274"><a:s>FHIR.dateTime</a:s></a:s></a:s><a:s>)</a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="284" locator="28:2-29:53" xsi:type="Query"><source alias="MR" localId="249" locator="28:2-28:23"><expression dataType="fhir:MedicationRequest" localId="250" locator="28:2-28:20" templateId="http://hl7.org/fhir/StructureDefinition/MedicationRequest" xsi:type="Retrieve"/></source><where localId="252" locator="28:25-28:76" xsi:type="And"><operand localId="253" locator="28:31-28:49" xsi:type="Equal"><signature localId="260" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="261" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="258" name="ToString" xsi:type="FunctionRef"><signature localId="259" name="fhir:MedicationRequestStatus" xsi:type="NamedTypeSpecifier"/><operand localId="255" locator="28:31-28:39" path="status" scope="MR" xsi:type="Property"/></operand><operand localId="256" locator="28:43-28:49" value="draft" valueType="t:String" xsi:type="Literal"/></operand><operand localId="262" locator="28:55-28:76" xsi:type="Equal"><signature localId="269" name="t:String" xsi:type="NamedTypeSpecifier"/><signature localId="270" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="267" name="ToString" xsi:type="FunctionRef"><signature localId="268" name="fhir:MedicationRequestIntent" xsi:type="NamedTypeSpecifier"/><operand localId="264" locator="28:55-28:63" path="intent" scope="MR" xsi:type="Property"/></operand><operand localId="265" locator="28:67-28:76" value="proposal" valueType="t:String" xsi:type="Literal"/></operand></where><sort localId="278" locator="29:2-29:53"><by direction="desc" localId="277" locator="29:10-29:53" xsi:type="ByExpression"><expression localId="271" locator="29:10-29:48" xsi:type="DateFrom"><operand libraryName="FHIRHelpers" localId="275" name="ToDateTime" xsi:type="FunctionRef"><signature localId="276" name="fhir:dateTime" xsi:type="NamedTypeSpecifier"/><operand localId="272" locator="29:20-29:48" strict="false" xsi:type="As"><operand localId="273" locator="29:21-29:30" name="authoredOn" xsi:type="IdentifierRef"/><asTypeSpecifier localId="274" locator="29:35-29:47" name="fhir:dateTime" xsi:type="NamedTypeSpecifier"/></operand></operand></expression></by></sort></expression></def><def accessLevel="Public" context="Patient" localId="287" locator="34:1-36:53" name="Live Attenuated Vaccines"><annotation xsi:type="a:Annotation"><a:t name="dataElement" value="Live attenuated vaccines"/><a:s r="287"><a:s>/*
  @dataElement: Live attenuated vaccines
*/
define "Live Attenuated Vaccines":
  </a:s><a:s r="298"><a:s><a:s r="288"><a:s r="289"><a:s><a:s>"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="295"><a:s>where </a:s><a:s r="295"><a:s r="292"><a:s r="291"><a:s>I</a:s></a:s><a:s>.</a:s><a:s r="292"><a:s>vaccineCode</a:s></a:s></a:s><a:s> in </a:s><a:s r="294"><a:s r="293"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="294"><a:s>"Live Attenuated"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="298" locator="35:3-36:53" xsi:type="Query"><source alias="I" localId="288" locator="35:3-35:35"><expression localId="289" locator="35:3-35:33" name="Doses Administered to Patient" xsi:type="ExpressionRef"/></source><where localId="295" locator="36:5-36:53" xsi:type="InValueSet"><signature localId="297" name="t:Concept" xsi:type="NamedTypeSpecifier"/><code libraryName="FHIRHelpers" localId="296" name="ToConcept" xsi:type="FunctionRef"><operand localId="292" locator="36:11-36:23" path="vaccineCode" scope="I" xsi:type="Property"/></code><valueset libraryName="Concepts" localId="294" locator="36:28-36:53" name="Live Attenuated" preserve="true"/></where></expression></def><def accessLevel="Public" context="Patient" localId="301" locator="41:1-42:84" name="Date of Latest Live Attenuated Vaccine"><annotation xsi:type="a:Annotation"><a:t name="dataElement" value="Date and time of last live attenuated vaccine"/><a:s r="301"><a:s>/*
  @dataElement: Date and time of last live attenuated vaccine
*/
define "Date of Latest Live Attenuated Vaccine":
  </a:s><a:s r="302"><a:s>date from </a:s><a:s r="303"><a:s>start of </a:s><a:s r="309"><a:s r="308"><a:s r="305"><a:s r="304"><a:s>"Live Attenuated Vaccines"</a:s></a:s><a:s>.</a:s><a:s r="305"><a:s>mostRecent()</a:s></a:s></a:s><a:s>.</a:s><a:s r="308"><a:s>occurrence</a:s></a:s></a:s><a:s>.</a:s><a:s r="309"><a:s>toInterval()</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="302" locator="42:3-42:84" xsi:type="DateFrom"><operand localId="303" locator="42:13-42:84" xsi:type="Start"><operand libraryName="WC" localId="309" locator="42:22-42:84" name="toInterval" xsi:type="FunctionRef"><operand localId="308" locator="42:22-42:71" path="occurrence" xsi:type="Property"><source libraryName="WC" localId="305" locator="42:22-42:60" name="mostRecent" xsi:type="FunctionRef"><signature localId="306" xsi:type="ListTypeSpecifier"><elementType localId="307" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/></signature><operand localId="304" locator="42:22-42:47" name="Live Attenuated Vaccines" xsi:type="ExpressionRef"/></source></operand></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="312" locator="47:1-48:23" name="Current Patient Age In Years"><annotation xsi:type="a:Annotation"><a:s r="312"><a:s>/** 
 * @dataElement Patient age in years
 */
define "Current Patient Age In Years":
  </a:s><a:s r="320"><a:s>AgeInYearsAt(</a:s><a:s r="315"><a:s>Today()</a:s></a:s><a:s>)</a:s></a:s></a:s></annotation><expression localId="320" locator="48:3-48:23" precision="Year" xsi:type="CalculateAgeAt"><signature localId="321" name="t:Date" xsi:type="NamedTypeSpecifier"/><signature localId="322" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="319" path="birthDate.value" xsi:type="Property"><source localId="318" name="Patient" xsi:type="ExpressionRef"/></operand><operand localId="315" locator="48:16-48:22" xsi:type="Today"/></expression></def><def accessLevel="Public" context="Patient" localId="325" locator="53:1-54:24" name="Current Patient Age In Months"><annotation xsi:type="a:Annotation"><a:s r="325"><a:s>/** 
 * @dataElement Patient age in months
 */
define "Current Patient Age In Months":
  </a:s><a:s r="333"><a:s>AgeInMonthsAt(</a:s><a:s r="328"><a:s>Today()</a:s></a:s><a:s>)</a:s></a:s></a:s></annotation><expression localId="333" locator="54:3-54:24" precision="Month" xsi:type="CalculateAgeAt"><signature localId="334" name="t:Date" xsi:type="NamedTypeSpecifier"/><signature localId="335" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="332" path="birthDate.value" xsi:type="Property"><source localId="331" name="Patient" xsi:type="ExpressionRef"/></operand><operand localId="328" locator="54:17-54:23" xsi:type="Today"/></expression></def><def accessLevel="Public" context="Patient" localId="338" locator="59:1-60:23" name="Current Patient Age In Weeks"><annotation xsi:type="a:Annotation"><a:s r="338"><a:s>/** 
 * @dataElement Patient age in weeks
 */
define "Current Patient Age In Weeks":
  </a:s><a:s r="346"><a:s>AgeInWeeksAt(</a:s><a:s r="341"><a:s>Today()</a:s></a:s><a:s>)</a:s></a:s></a:s></annotation><expression localId="346" locator="60:3-60:23" precision="Week" xsi:type="CalculateAgeAt"><signature localId="347" name="t:Date" xsi:type="NamedTypeSpecifier"/><signature localId="348" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="345" path="birthDate.value" xsi:type="Property"><source localId="344" name="Patient" xsi:type="ExpressionRef"/></operand><operand localId="341" locator="60:16-60:22" xsi:type="Today"/></expression></def><def accessLevel="Public" context="Patient" localId="351" locator="65:1-66:22" name="Current Patient Age In Days"><annotation xsi:type="a:Annotation"><a:s r="351"><a:s>/** 
 * @dataElement Patient age in days
 */
define "Current Patient Age In Days":
  </a:s><a:s r="359"><a:s>AgeInDaysAt(</a:s><a:s r="354"><a:s>Today()</a:s></a:s><a:s>)</a:s></a:s></a:s></annotation><expression localId="359" locator="66:3-66:22" precision="Day" xsi:type="CalculateAgeAt"><signature localId="360" name="t:Date" xsi:type="NamedTypeSpecifier"/><signature localId="361" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="358" path="birthDate.value" xsi:type="Property"><source localId="357" name="Patient" xsi:type="ExpressionRef"/></operand><operand localId="354" locator="66:15-66:21" xsi:type="Today"/></expression></def><def accessLevel="Public" context="Patient" localId="364" locator="72:1-73:40" name="No live vaccine was administered"><annotation xsi:type="a:Annotation"><a:t name="input" value="No live vaccine was administered"/><a:t name="pseudocode" value="&#34;Date and time of vaccination&#34; (where &#34;Live vaccine&#34; = TRUE) IS NULL"/><a:s r="364"><a:s>/*
@input: No live vaccine was administered
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) IS NULL
*/
define "No live vaccine was administered":
  </a:s><a:s r="365"><a:s>not </a:s><a:s r="366"><a:s>exists</a:s><a:s r="367"><a:s>(</a:s><a:s r="367"><a:s>"Live Attenuated Vaccines"</a:s></a:s><a:s>)</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="365" locator="73:3-73:40" xsi:type="Not"><operand localId="366" locator="73:7-73:40" xsi:type="Exists"><operand localId="367" locator="73:13-73:40" name="Live Attenuated Vaccines" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="370" locator="79:1-81:88" 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:s r="370"><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
*/
define "Live vaccine was administered in the last 4 weeks":
	</a:s><a:s r="371"><a:s r="374"><a:s r="372"><a:s>"Date of Latest Live Attenuated Vaccine"</a:s></a:s><a:s> is not null</a:s></a:s><a:s> 
    and </a:s><a:s r="375"><a:s r="376"><a:s>duration in weeks between </a:s><a:s r="377"><a:s>"Date of Latest Live Attenuated Vaccine"</a:s></a:s><a:s> and </a:s><a:s r="380"><a:s>Now()</a:s></a:s></a:s><a:s r="386"> &lt; 4</a:s></a:s></a:s></a:s></annotation><expression localId="371" locator="80:2-81:88" xsi:type="And"><operand localId="374" locator="80:2-80:53" xsi:type="Not"><operand localId="373" locator="80:2-80:53" xsi:type="IsNull"><operand localId="372" locator="80:2-80:41" name="Date of Latest Live Attenuated Vaccine" xsi:type="ExpressionRef"/></operand></operand><operand localId="375" locator="81:9-81:88" xsi:type="Less"><signature localId="387" name="t:Integer" xsi:type="NamedTypeSpecifier"/><signature localId="388" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="376" locator="81:9-81:84" precision="Week" xsi:type="DurationBetween"><signature localId="384" name="t:DateTime" xsi:type="NamedTypeSpecifier"/><signature localId="385" name="t:DateTime" xsi:type="NamedTypeSpecifier"/><operand localId="382" xsi:type="ToDateTime"><signature localId="383" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="377" locator="81:35-81:74" name="Date of Latest Live Attenuated Vaccine" xsi:type="ExpressionRef"/></operand><operand localId="380" locator="81:80-81:84" xsi:type="Now"/></operand><operand localId="386" locator="81:88" value="4" valueType="t:Integer" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="391" locator="87:1-88:58" 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;Live vaccine&#34; = TRUE) ≥ 4 weeks"/><a:s r="391"><a:s>/*
@input: No live vaccine was administered in the last 4 weeks
@pseudocode: Today's date − latest "Date and time of vaccination" (where "Live vaccine" = TRUE) ≥ 4 weeks
*/
define "No live vaccine was administered in the last 4 weeks":
  </a:s><a:s r="392"><a:s>not</a:s><a:s r="393"><a:s>(</a:s><a:s r="393"><a:s>"Live vaccine was administered in the last 4 weeks"</a:s></a:s><a:s>)</a:s></a:s></a:s></a:s></annotation><expression localId="392" locator="88:3-88:58" xsi:type="Not"><operand localId="393" locator="88:6-88:58" name="Live vaccine was administered in the last 4 weeks" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="396" locator="93:1-94:68" name="Potential contraindications"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Potential contraindications observations"/><a:s r="396"><a:s>/*
@internal: Potential contraindications observations
*/
define "Potential contraindications":
  </a:s><a:s r="409"><a:s r="400"><a:s>(</a:s><a:s r="400"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Potential contraindications"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="409"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="409" locator="94:3-94:68" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="400" locator="94:3-94:57" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="408" xsi:type="ToList"><operand libraryName="Concepts" localId="399" locator="94:18-94:55" name="Potential contraindications" xsi:type="CodeRef"/></codes></operand></expression></def><def accessLevel="Public" context="Patient" localId="418" locator="108:1-110:52" name="CI Currently pregnant Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for currently pregnant"/><a:s r="418"><a:s>/*
@internal: Observation for currently pregnant
*/
define "CI Currently pregnant Observation":
  </a:s><a:s r="434"><a:s><a:s r="419"><a:s r="420"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="422"><a:s>where </a:s><a:s r="422"><a:s r="424"><a:s r="423"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="424"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="426"><a:s r="425"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="426"><a:s>"CI-Currently pregnant"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="434" locator="109:3-110:52" xsi:type="Query"><source alias="O" localId="419" locator="109:3-109:33"><expression localId="420" locator="109:3-109:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="422" locator="110:5-110:52" xsi:type="Equivalent"><signature localId="432" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="433" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="428" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="427" xsi:type="As"><operand localId="424" locator="110:11-110:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="430" xsi:type="ToConcept"><signature localId="431" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="426" locator="110:21-110:52" name="CI-Currently pregnant" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="441" locator="115:1-116:47" name="CI Currently pregnant Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for currently pregnant"/><a:s r="441"><a:s>/*
@internal: Condition for currently pregnant
*/
define "CI Currently pregnant Condition":
  </a:s><a:s r="445"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Currently pregnant"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="445" locator="116:3-116:47" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="453" xsi:type="ToList"><operand libraryName="Concepts" localId="444" locator="116:15-116:46" name="CI-Currently pregnant" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="412" locator="100:1-103:37" name="The client is pregnant"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is pregnant"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Currently pregnant&#34;"/><a:s r="412"><a:s>/*
@input: The client is pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
*/
define "The client is pregnant":
  </a:s><a:s r="413"><a:s r="414"><a:s r="415"><a:s>exists </a:s><a:s r="435"><a:s>"CI Currently pregnant Observation"</a:s></a:s></a:s><a:s>
  or </a:s><a:s r="438"><a:s>exists </a:s><a:s r="454"><a:s>"CI Currently pregnant Condition"</a:s></a:s></a:s></a:s><a:s>
  or </a:s><a:s r="457"><a:s>exists </a:s><a:s r="459"><a:s r="458"><a:s>WE</a:s></a:s><a:s>.</a:s><a:s r="459"><a:s>"Pregnant Observation"</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="413" locator="101:3-103:37" xsi:type="Or"><operand localId="414" locator="101:3-102:45" xsi:type="Or"><operand localId="415" locator="101:3-101:44" xsi:type="Exists"><signature localId="436" xsi:type="ListTypeSpecifier"><elementType localId="437" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="435" locator="101:10-101:44" name="CI Currently pregnant Observation" xsi:type="ExpressionRef"/></operand><operand localId="438" locator="102:6-102:45" xsi:type="Exists"><signature localId="455" xsi:type="ListTypeSpecifier"><elementType localId="456" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="454" locator="102:13-102:45" name="CI Currently pregnant Condition" xsi:type="ExpressionRef"/></operand></operand><operand localId="457" locator="103:6-103:37" xsi:type="Exists"><signature localId="460" xsi:type="ListTypeSpecifier"><elementType localId="461" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand libraryName="WE" localId="459" locator="103:13-103:37" name="Pregnant Observation" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="469" locator="129:1-131:67" name="CI History of anaphylactic reactions Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for History of anaphylactic reactions"/><a:s r="469"><a:s>/*
@internal: Observation for History of anaphylactic reactions
*/
define "CI History of anaphylactic reactions Observation":
  </a:s><a:s r="485"><a:s><a:s r="470"><a:s r="471"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="473"><a:s>where </a:s><a:s r="473"><a:s r="475"><a:s r="474"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="475"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="477"><a:s r="476"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="477"><a:s>"CI-History of anaphylactic reactions"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="485" locator="130:3-131:67" xsi:type="Query"><source alias="O" localId="470" locator="130:3-130:33"><expression localId="471" locator="130:3-130:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="473" locator="131:5-131:67" xsi:type="Equivalent"><signature localId="483" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="484" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="479" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="478" xsi:type="As"><operand localId="475" locator="131:11-131:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="481" xsi:type="ToConcept"><signature localId="482" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="477" locator="131:21-131:67" name="CI-History of anaphylactic reactions" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="492" locator="136:1-137:62" name="CI History of anaphylactic reactions Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for History of anaphylactic reactions"/><a:s r="492"><a:s>/*
@internal: Condition for History of anaphylactic reactions
*/
define "CI History of anaphylactic reactions Condition":
  </a:s><a:s r="496"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-History of anaphylactic reactions"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="496" locator="137:3-137:62" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="504" xsi:type="ToList"><operand libraryName="Concepts" localId="495" locator="137:15-137:61" name="CI-History of anaphylactic reactions" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="464" locator="122:1-124:62" name="The client has history of anaphylactic reactions"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has history of anaphylactic reactions"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;History of anaphylactic reactions&#34;"/><a:s r="464"><a:s>/*
@input: The client has history of anaphylactic reactions
@pseudocode: "Potential contraindications" = "History of anaphylactic reactions"
*/
define "The client has history of anaphylactic reactions":
  </a:s><a:s r="465"><a:s r="466"><a:s>exists </a:s><a:s r="486"><a:s>"CI History of anaphylactic reactions Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="489"><a:s>exists </a:s><a:s r="505"><a:s>"CI History of anaphylactic reactions Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="465" locator="123:3-124:62" xsi:type="Or"><operand localId="466" locator="123:3-123:59" xsi:type="Exists"><signature localId="487" xsi:type="ListTypeSpecifier"><elementType localId="488" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="486" locator="123:10-123:59" name="CI History of anaphylactic reactions Observation" xsi:type="ExpressionRef"/></operand><operand localId="489" locator="124:8-124:62" xsi:type="Exists"><signature localId="506" xsi:type="ListTypeSpecifier"><elementType localId="507" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="505" locator="124:15-124:62" name="CI History of anaphylactic reactions Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="515" locator="151:1-153:59" name="CI Severe allergic reactions Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Severe allergic reactions"/><a:s r="515"><a:s>/*
@internal: Observation for Severe allergic reactions
*/
define "CI Severe allergic reactions Observation":
  </a:s><a:s r="531"><a:s><a:s r="516"><a:s r="517"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="519"><a:s>where </a:s><a:s r="519"><a:s r="521"><a:s r="520"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="521"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="523"><a:s r="522"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="523"><a:s>"CI-Severe allergic reactions"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="531" locator="152:3-153:59" xsi:type="Query"><source alias="O" localId="516" locator="152:3-152:33"><expression localId="517" locator="152:3-152:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="519" locator="153:5-153:59" xsi:type="Equivalent"><signature localId="529" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="530" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="525" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="524" xsi:type="As"><operand localId="521" locator="153:11-153:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="527" xsi:type="ToConcept"><signature localId="528" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="523" locator="153:21-153:59" name="CI-Severe allergic reactions" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="538" locator="158:1-159:54" name="CI Severe allergic reactions Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Severe allergic reactions"/><a:s r="538"><a:s>/*
@internal: Condition for Severe allergic reactions
*/
define "CI Severe allergic reactions Condition":
  </a:s><a:s r="542"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Severe allergic reactions"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="542" locator="159:3-159:54" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="550" xsi:type="ToList"><operand libraryName="Concepts" localId="541" locator="159:15-159:53" name="CI-Severe allergic reactions" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="510" locator="144:1-146:54" name="The client has history of severe allergic reactions"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has history of severe allergic reactions"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Severe allergic reactions&#34;"/><a:s r="510"><a:s>/*
@input: The client has history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
*/
define "The client has history of severe allergic reactions":
  </a:s><a:s r="511"><a:s r="512"><a:s>exists </a:s><a:s r="532"><a:s>"CI Severe allergic reactions Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="535"><a:s>exists </a:s><a:s r="551"><a:s>"CI Severe allergic reactions Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="511" locator="145:3-146:54" xsi:type="Or"><operand localId="512" locator="145:3-145:51" xsi:type="Exists"><signature localId="533" xsi:type="ListTypeSpecifier"><elementType localId="534" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="532" locator="145:10-145:51" name="CI Severe allergic reactions Observation" xsi:type="ExpressionRef"/></operand><operand localId="535" locator="146:8-146:54" xsi:type="Exists"><signature localId="552" xsi:type="ListTypeSpecifier"><elementType localId="553" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="551" locator="146:15-146:54" name="CI Severe allergic reactions Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="561" locator="172:1-174:60" name="CI Severely immunocompromised Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Severely immunocompromised"/><a:s r="561"><a:s>/*
@internal: Observation for Severely immunocompromised
*/
define "CI Severely immunocompromised Observation":
  </a:s><a:s r="577"><a:s><a:s r="562"><a:s r="563"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="565"><a:s>where </a:s><a:s r="565"><a:s r="567"><a:s r="566"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="567"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="569"><a:s r="568"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="569"><a:s>"CI-Severely immunocompromised"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="577" locator="173:3-174:60" xsi:type="Query"><source alias="O" localId="562" locator="173:3-173:33"><expression localId="563" locator="173:3-173:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="565" locator="174:5-174:60" xsi:type="Equivalent"><signature localId="575" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="576" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="571" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="570" xsi:type="As"><operand localId="567" locator="174:11-174:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="573" xsi:type="ToConcept"><signature localId="574" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="569" locator="174:21-174:60" name="CI-Severely immunocompromised" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="584" locator="179:1-180:55" name="CI Severely immunocompromised Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Severely immunocompromised"/><a:s r="584"><a:s>/*
@internal: Condition for Severely immunocompromised
*/
define "CI Severely immunocompromised Condition":
  </a:s><a:s r="588"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Severely immunocompromised"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="588" locator="180:3-180:55" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="596" xsi:type="ToList"><operand libraryName="Concepts" localId="587" locator="180:15-180:54" name="CI-Severely immunocompromised" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="556" locator="165:1-167:55" name="The client is severely immunocompromised"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is severely immunocompromised"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Severely immunocompromised&#34;"/><a:s r="556"><a:s>/*
@input: The client is severely immunocompromised
@pseudocode: "Potential contraindications" = "Severely immunocompromised"
*/
define "The client is severely immunocompromised":
  </a:s><a:s r="557"><a:s r="558"><a:s>exists </a:s><a:s r="578"><a:s>"CI Severely immunocompromised Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="581"><a:s>exists </a:s><a:s r="597"><a:s>"CI Severely immunocompromised Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="557" locator="166:3-167:55" xsi:type="Or"><operand localId="558" locator="166:3-166:52" xsi:type="Exists"><signature localId="579" xsi:type="ListTypeSpecifier"><elementType localId="580" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="578" locator="166:10-166:52" name="CI Severely immunocompromised Observation" xsi:type="ExpressionRef"/></operand><operand localId="581" locator="167:8-167:55" xsi:type="Exists"><signature localId="598" xsi:type="ListTypeSpecifier"><elementType localId="599" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="597" locator="167:15-167:55" name="CI Severely immunocompromised Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="607" locator="193:1-195:59" name="CI Severely immunosuppressed Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Severely immunosuppressed"/><a:s r="607"><a:s>/*
@internal: Observation for Severely immunosuppressed
*/
define "CI Severely immunosuppressed Observation":
  </a:s><a:s r="623"><a:s><a:s r="608"><a:s r="609"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="611"><a:s>where </a:s><a:s r="611"><a:s r="613"><a:s r="612"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="613"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="615"><a:s r="614"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="615"><a:s>"CI-Severely immunosuppressed"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="623" locator="194:3-195:59" xsi:type="Query"><source alias="O" localId="608" locator="194:3-194:33"><expression localId="609" locator="194:3-194:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="611" locator="195:5-195:59" xsi:type="Equivalent"><signature localId="621" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="622" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="617" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="616" xsi:type="As"><operand localId="613" locator="195:11-195:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="619" xsi:type="ToConcept"><signature localId="620" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="615" locator="195:21-195:59" name="CI-Severely immunosuppressed" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="630" locator="200:1-201:54" name="CI Severely immunosuppressed Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Severely immunosuppressed"/><a:s r="630"><a:s>/*
@internal: Condition for Severely immunosuppressed
*/
define "CI Severely immunosuppressed Condition":
  </a:s><a:s r="634"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Severely immunosuppressed"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="634" locator="201:3-201:54" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="642" xsi:type="ToList"><operand libraryName="Concepts" localId="633" locator="201:15-201:53" name="CI-Severely immunosuppressed" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="602" locator="186:1-188:54" name="The client is severely immunosuppressed"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is severely immunosuppressed"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Severely immunosuppressed&#34;"/><a:s r="602"><a:s>/*
@input: The client is severely immunosuppressed
@pseudocode: "Potential contraindications" = "Severely immunosuppressed"
*/
define "The client is severely immunosuppressed":
  </a:s><a:s r="603"><a:s r="604"><a:s>exists </a:s><a:s r="624"><a:s>"CI Severely immunosuppressed Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="627"><a:s>exists </a:s><a:s r="643"><a:s>"CI Severely immunosuppressed Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="603" locator="187:3-188:54" xsi:type="Or"><operand localId="604" locator="187:3-187:51" xsi:type="Exists"><signature localId="625" xsi:type="ListTypeSpecifier"><elementType localId="626" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="624" locator="187:10-187:51" name="CI Severely immunosuppressed Observation" xsi:type="ExpressionRef"/></operand><operand localId="627" locator="188:8-188:54" xsi:type="Exists"><signature localId="644" xsi:type="ListTypeSpecifier"><elementType localId="645" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="643" locator="188:15-188:54" name="CI Severely immunosuppressed Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="653" locator="214:1-216:59" name="CI Symptomatic HIV infection Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Symptomatic HIV infection"/><a:s r="653"><a:s>/*
@internal: Observation for Symptomatic HIV infection
*/
define "CI Symptomatic HIV infection Observation":
  </a:s><a:s r="669"><a:s><a:s r="654"><a:s r="655"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="657"><a:s>where </a:s><a:s r="657"><a:s r="659"><a:s r="658"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="659"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="661"><a:s r="660"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="661"><a:s>"CI-Symptomatic HIV infection"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="669" locator="215:3-216:59" xsi:type="Query"><source alias="O" localId="654" locator="215:3-215:33"><expression localId="655" locator="215:3-215:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="657" locator="216:5-216:59" xsi:type="Equivalent"><signature localId="667" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="668" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="663" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="662" xsi:type="As"><operand localId="659" locator="216:11-216:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="665" xsi:type="ToConcept"><signature localId="666" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="661" locator="216:21-216:59" name="CI-Symptomatic HIV infection" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="676" locator="221:1-222:54" name="CI Symptomatic HIV infection Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Symptomatic HIV infection"/><a:s r="676"><a:s>/*
@internal: Condition for Symptomatic HIV infection
*/
define "CI Symptomatic HIV infection Condition":
  </a:s><a:s r="680"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Symptomatic HIV infection"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="680" locator="222:3-222:54" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="688" xsi:type="ToList"><operand libraryName="Concepts" localId="679" locator="222:15-222:53" name="CI-Symptomatic HIV infection" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="648" locator="207:1-209:54" name="The client has a symptomatic HIV infection"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has a symptomatic HIV infection"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Symptomatic HIV infection&#34;"/><a:s r="648"><a:s>/*
@input: The client has a symptomatic HIV infection
@pseudocode: "Potential contraindications" = "Symptomatic HIV infection"
*/
define "The client has a symptomatic HIV infection":
  </a:s><a:s r="649"><a:s r="650"><a:s>exists </a:s><a:s r="670"><a:s>"CI Symptomatic HIV infection Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="673"><a:s>exists </a:s><a:s r="689"><a:s>"CI Symptomatic HIV infection Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="649" locator="208:3-209:54" xsi:type="Or"><operand localId="650" locator="208:3-208:51" xsi:type="Exists"><signature localId="671" xsi:type="ListTypeSpecifier"><elementType localId="672" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="670" locator="208:10-208:51" name="CI Symptomatic HIV infection Observation" xsi:type="ExpressionRef"/></operand><operand localId="673" locator="209:8-209:54" xsi:type="Exists"><signature localId="690" xsi:type="ListTypeSpecifier"><elementType localId="691" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="689" locator="209:15-209:54" name="CI Symptomatic HIV infection Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="699" locator="235:1-237:60" name="CI Immunodeficiency syndromes Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Immunodeficiency syndromes"/><a:s r="699"><a:s>/*
@internal: Observation for Immunodeficiency syndromes
*/
define "CI Immunodeficiency syndromes Observation":
  </a:s><a:s r="715"><a:s><a:s r="700"><a:s r="701"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="703"><a:s>where </a:s><a:s r="703"><a:s r="705"><a:s r="704"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="705"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="707"><a:s r="706"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="707"><a:s>"CI-Immunodeficiency syndromes"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="715" locator="236:3-237:60" xsi:type="Query"><source alias="O" localId="700" locator="236:3-236:33"><expression localId="701" locator="236:3-236:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="703" locator="237:5-237:60" xsi:type="Equivalent"><signature localId="713" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="714" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="709" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="708" xsi:type="As"><operand localId="705" locator="237:11-237:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="711" xsi:type="ToConcept"><signature localId="712" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="707" locator="237:21-237:60" name="CI-Immunodeficiency syndromes" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="722" locator="242:1-243:55" name="CI Immunodeficiency syndromes Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Immunodeficiency syndromes"/><a:s r="722"><a:s>/*
@internal: Condition for Immunodeficiency syndromes
*/
define "CI Immunodeficiency syndromes Condition":
  </a:s><a:s r="726"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Immunodeficiency syndromes"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="726" locator="243:3-243:55" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="734" xsi:type="ToList"><operand libraryName="Concepts" localId="725" locator="243:15-243:54" name="CI-Immunodeficiency syndromes" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="694" locator="228:1-230:55" name="The client has immunodeficiency syndromes"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has immunodeficiency syndromes"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Immunodeficiency syndromes&#34;"/><a:s r="694"><a:s>/*
@input: The client has immunodeficiency syndromes
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
*/
define "The client has immunodeficiency syndromes":
  </a:s><a:s r="695"><a:s r="696"><a:s>exists </a:s><a:s r="716"><a:s>"CI Immunodeficiency syndromes Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="719"><a:s>exists </a:s><a:s r="735"><a:s>"CI Immunodeficiency syndromes Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="695" locator="229:3-230:55" xsi:type="Or"><operand localId="696" locator="229:3-229:52" xsi:type="Exists"><signature localId="717" xsi:type="ListTypeSpecifier"><elementType localId="718" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="716" locator="229:10-229:52" name="CI Immunodeficiency syndromes Observation" xsi:type="ExpressionRef"/></operand><operand localId="719" locator="230:8-230:55" xsi:type="Exists"><signature localId="736" xsi:type="ListTypeSpecifier"><elementType localId="737" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="735" locator="230:15-230:55" name="CI Immunodeficiency syndromes Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="745" locator="256:1-258:72" name="CI Exposed to immunosuppressive treatment Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Exposed to immunosuppressive treatment"/><a:s r="745"><a:s>/*
@internal: Observation for Exposed to immunosuppressive treatment
*/
define "CI Exposed to immunosuppressive treatment Observation":
  </a:s><a:s r="761"><a:s><a:s r="746"><a:s r="747"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="749"><a:s>where </a:s><a:s r="749"><a:s r="751"><a:s r="750"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="751"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="753"><a:s r="752"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="753"><a:s>"CI-Exposed to immunosuppressive treatment"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="761" locator="257:3-258:72" xsi:type="Query"><source alias="O" localId="746" locator="257:3-257:33"><expression localId="747" locator="257:3-257:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="749" locator="258:5-258:72" xsi:type="Equivalent"><signature localId="759" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="760" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="755" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="754" xsi:type="As"><operand localId="751" locator="258:11-258:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="757" xsi:type="ToConcept"><signature localId="758" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="753" locator="258:21-258:72" name="CI-Exposed to immunosuppressive treatment" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="768" locator="263:1-264:67" name="CI Exposed to immunosuppressive treatment Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Exposed to immunosuppressive treatment"/><a:s r="768"><a:s>/*
@internal: Condition for Exposed to immunosuppressive treatment
*/
define "CI Exposed to immunosuppressive treatment Condition":
  </a:s><a:s r="772"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Exposed to immunosuppressive treatment"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="772" locator="264:3-264:67" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="780" xsi:type="ToList"><operand libraryName="Concepts" localId="771" locator="264:15-264:66" name="CI-Exposed to immunosuppressive treatment" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="740" locator="249:1-251:67" name="The client is exposed to immunosuppressive treatment"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is exposed to immunosuppressive treatment"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Exposed to immunosuppressive treatment&#34;"/><a:s r="740"><a:s>/*
@input: The client is exposed to immunosuppressive treatment
@pseudocode: "Potential contraindications" = "Exposed to immunosuppressive treatment"
*/
define "The client is exposed to immunosuppressive treatment":
  </a:s><a:s r="741"><a:s r="742"><a:s>exists </a:s><a:s r="762"><a:s>"CI Exposed to immunosuppressive treatment Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="765"><a:s>exists </a:s><a:s r="781"><a:s>"CI Exposed to immunosuppressive treatment Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="741" locator="250:3-251:67" xsi:type="Or"><operand localId="742" locator="250:3-250:64" xsi:type="Exists"><signature localId="763" xsi:type="ListTypeSpecifier"><elementType localId="764" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="762" locator="250:10-250:64" name="CI Exposed to immunosuppressive treatment Observation" xsi:type="ExpressionRef"/></operand><operand localId="765" locator="251:8-251:67" xsi:type="Exists"><signature localId="782" xsi:type="ListTypeSpecifier"><elementType localId="783" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="781" locator="251:15-251:67" name="CI Exposed to immunosuppressive treatment Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="791" locator="277:1-279:54" name="CI Severe acute illness Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Severe acute illness"/><a:s r="791"><a:s>/*
@internal: Observation for Severe acute illness
*/
define "CI Severe acute illness Observation":
  </a:s><a:s r="807"><a:s><a:s r="792"><a:s r="793"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="795"><a:s>where </a:s><a:s r="795"><a:s r="797"><a:s r="796"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="797"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="799"><a:s r="798"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="799"><a:s>"CI-Severe acute illness"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="807" locator="278:3-279:54" xsi:type="Query"><source alias="O" localId="792" locator="278:3-278:33"><expression localId="793" locator="278:3-278:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="795" locator="279:5-279:54" xsi:type="Equivalent"><signature localId="805" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="806" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="801" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="800" xsi:type="As"><operand localId="797" locator="279:11-279:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="803" xsi:type="ToConcept"><signature localId="804" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="799" locator="279:21-279:54" name="CI-Severe acute illness" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="814" locator="284:1-285:49" name="CI Severe acute illness Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Severe acute illness"/><a:s r="814"><a:s>/*
@internal: Condition for Severe acute illness
*/
define "CI Severe acute illness Condition":
  </a:s><a:s r="818"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Severe acute illness"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="818" locator="285:3-285:49" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="826" xsi:type="ToList"><operand libraryName="Concepts" localId="817" locator="285:15-285:48" name="CI-Severe acute illness" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="786" locator="270:1-272:49" name="The client currently has a severe acute illness"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client currently has a severe acute illness"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Severe acute illness&#34;"/><a:s r="786"><a:s>/*
@input: The client currently has a severe acute illness
@pseudocode: "Potential contraindications" = "Severe acute illness"
*/
define "The client currently has a severe acute illness":
  </a:s><a:s r="787"><a:s r="788"><a:s>exists </a:s><a:s r="808"><a:s>"CI Severe acute illness Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="811"><a:s>exists </a:s><a:s r="827"><a:s>"CI Severe acute illness Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="787" locator="271:3-272:49" xsi:type="Or"><operand localId="788" locator="271:3-271:46" xsi:type="Exists"><signature localId="809" xsi:type="ListTypeSpecifier"><elementType localId="810" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="808" locator="271:10-271:46" name="CI Severe acute illness Observation" xsi:type="ExpressionRef"/></operand><operand localId="811" locator="272:8-272:49" xsi:type="Exists"><signature localId="828" xsi:type="ListTypeSpecifier"><elementType localId="829" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="827" locator="272:15-272:49" name="CI Severe acute illness Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="837" locator="298:1-300:66" name="CI Prior history of intussusception Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Prior history of intussusception"/><a:s r="837"><a:s>/*
@internal: Observation for Prior history of intussusception
*/
define "CI Prior history of intussusception Observation":
  </a:s><a:s r="853"><a:s><a:s r="838"><a:s r="839"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="841"><a:s>where </a:s><a:s r="841"><a:s r="843"><a:s r="842"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="843"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="845"><a:s r="844"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="845"><a:s>"CI-Prior history of intussusception"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="853" locator="299:3-300:66" xsi:type="Query"><source alias="O" localId="838" locator="299:3-299:33"><expression localId="839" locator="299:3-299:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="841" locator="300:5-300:66" xsi:type="Equivalent"><signature localId="851" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="852" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="847" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="846" xsi:type="As"><operand localId="843" locator="300:11-300:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="849" xsi:type="ToConcept"><signature localId="850" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="845" locator="300:21-300:66" name="CI-Prior history of intussusception" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="860" locator="305:1-306:61" name="CI Prior history of intussusception Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Prior history of intussusception"/><a:s r="860"><a:s>/*
@internal: Condition for Prior history of intussusception
*/
define "CI Prior history of intussusception Condition":
  </a:s><a:s r="864"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Prior history of intussusception"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="864" locator="306:3-306:61" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="872" xsi:type="ToList"><operand libraryName="Concepts" localId="863" locator="306:15-306:60" name="CI-Prior history of intussusception" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="832" locator="291:1-293:61" name="The client has prior history of intussusception"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has prior history of intussusception"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Prior history of intussusception&#34;"/><a:s r="832"><a:s>/*
@input: The client has prior history of intussusception
@pseudocode: "Potential contraindications" = "Prior history of intussusception"
*/
define "The client has prior history of intussusception":
  </a:s><a:s r="833"><a:s r="834"><a:s>exists </a:s><a:s r="854"><a:s>"CI Prior history of intussusception Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="857"><a:s>exists </a:s><a:s r="873"><a:s>"CI Prior history of intussusception Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="833" locator="292:3-293:61" xsi:type="Or"><operand localId="834" locator="292:3-292:58" xsi:type="Exists"><signature localId="855" xsi:type="ListTypeSpecifier"><elementType localId="856" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="854" locator="292:10-292:58" name="CI Prior history of intussusception Observation" xsi:type="ExpressionRef"/></operand><operand localId="857" locator="293:8-293:61" xsi:type="Exists"><signature localId="874" xsi:type="ListTypeSpecifier"><elementType localId="875" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="873" locator="293:15-293:61" name="CI Prior history of intussusception Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="883" locator="319:1-321:58" name="CI Altered immunocompetence Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Altered immunocompetence"/><a:s r="883"><a:s>/*
@internal: Observation for Altered immunocompetence
*/
define "CI Altered immunocompetence Observation":
  </a:s><a:s r="899"><a:s><a:s r="884"><a:s r="885"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="887"><a:s>where </a:s><a:s r="887"><a:s r="889"><a:s r="888"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="889"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="891"><a:s r="890"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="891"><a:s>"CI-Altered immunocompetence"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="899" locator="320:3-321:58" xsi:type="Query"><source alias="O" localId="884" locator="320:3-320:33"><expression localId="885" locator="320:3-320:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="887" locator="321:5-321:58" xsi:type="Equivalent"><signature localId="897" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="898" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="893" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="892" xsi:type="As"><operand localId="889" locator="321:11-321:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="895" xsi:type="ToConcept"><signature localId="896" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="891" locator="321:21-321:58" name="CI-Altered immunocompetence" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="906" locator="326:1-327:53" name="CI Altered immunocompetence Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Altered immunocompetence"/><a:s r="906"><a:s>/*
@internal: Condition for Altered immunocompetence
*/
define "CI Altered immunocompetence Condition":
  </a:s><a:s r="910"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Altered immunocompetence"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="910" locator="327:3-327:53" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="918" xsi:type="ToList"><operand libraryName="Concepts" localId="909" locator="327:15-327:52" name="CI-Altered immunocompetence" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="878" locator="312:1-314:53" name="The client has altered immunocompetence"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has altered immunocompetence"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Altered immunocompetence&#34;"/><a:s r="878"><a:s>/*
@input: The client has altered immunocompetence
@pseudocode: "Potential contraindications" = "Altered immunocompetence"
*/
define "The client has altered immunocompetence":
  </a:s><a:s r="879"><a:s r="880"><a:s>exists </a:s><a:s r="900"><a:s>"CI Altered immunocompetence Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="903"><a:s>exists </a:s><a:s r="919"><a:s>"CI Altered immunocompetence Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="879" locator="313:3-314:53" xsi:type="Or"><operand localId="880" locator="313:3-313:50" xsi:type="Exists"><signature localId="901" xsi:type="ListTypeSpecifier"><elementType localId="902" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="900" locator="313:10-313:50" name="CI Altered immunocompetence Observation" xsi:type="ExpressionRef"/></operand><operand localId="903" locator="314:8-314:53" xsi:type="Exists"><signature localId="920" xsi:type="ListTypeSpecifier"><elementType localId="921" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="919" locator="314:15-314:53" name="CI Altered immunocompetence Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="929" locator="340:1-342:46" name="CI Spina bifida Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Spina bifida"/><a:s r="929"><a:s>/*
@internal: Observation for Spina bifida
*/
define "CI Spina bifida Observation":
  </a:s><a:s r="945"><a:s><a:s r="930"><a:s r="931"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="933"><a:s>where </a:s><a:s r="933"><a:s r="935"><a:s r="934"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="935"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="937"><a:s r="936"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="937"><a:s>"CI-Spina bifida"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="945" locator="341:3-342:46" xsi:type="Query"><source alias="O" localId="930" locator="341:3-341:33"><expression localId="931" locator="341:3-341:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="933" locator="342:5-342:46" xsi:type="Equivalent"><signature localId="943" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="944" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="939" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="938" xsi:type="As"><operand localId="935" locator="342:11-342:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="941" xsi:type="ToConcept"><signature localId="942" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="937" locator="342:21-342:46" name="CI-Spina bifida" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="952" locator="347:1-348:41" name="CI Spina bifida Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Spina bifida"/><a:s r="952"><a:s>/*
@internal: Condition for Spina bifida
*/
define "CI Spina bifida Condition":
  </a:s><a:s r="956"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Spina bifida"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="956" locator="348:3-348:41" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="964" xsi:type="ToList"><operand libraryName="Concepts" localId="955" locator="348:15-348:40" name="CI-Spina bifida" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="924" locator="333:1-335:41" name="The client has spina bifida"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has spina bifida"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Spina bifida&#34;"/><a:s r="924"><a:s>/*
@input: The client has spina bifida
@pseudocode: "Potential contraindications" = "Spina bifida"
*/
define "The client has spina bifida":
  </a:s><a:s r="925"><a:s r="926"><a:s>exists </a:s><a:s r="946"><a:s>"CI Spina bifida Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="949"><a:s>exists </a:s><a:s r="965"><a:s>"CI Spina bifida Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="925" locator="334:3-335:41" xsi:type="Or"><operand localId="926" locator="334:3-334:38" xsi:type="Exists"><signature localId="947" xsi:type="ListTypeSpecifier"><elementType localId="948" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="946" locator="334:10-334:38" name="CI Spina bifida Observation" xsi:type="ExpressionRef"/></operand><operand localId="949" locator="335:8-335:41" xsi:type="Exists"><signature localId="966" xsi:type="ListTypeSpecifier"><elementType localId="967" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="965" locator="335:15-335:41" name="CI Spina bifida Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="975" locator="361:1-363:51" name="CI Bladder exstrophy Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Bladder exstrophy"/><a:s r="975"><a:s>/*
@internal: Observation for Bladder exstrophy
*/
define "CI Bladder exstrophy Observation":
  </a:s><a:s r="991"><a:s><a:s r="976"><a:s r="977"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="979"><a:s>where </a:s><a:s r="979"><a:s r="981"><a:s r="980"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="981"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="983"><a:s r="982"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="983"><a:s>"CI-Bladder exstrophy"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="991" locator="362:3-363:51" xsi:type="Query"><source alias="O" localId="976" locator="362:3-362:33"><expression localId="977" locator="362:3-362:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="979" locator="363:5-363:51" xsi:type="Equivalent"><signature localId="989" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="990" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="985" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="984" xsi:type="As"><operand localId="981" locator="363:11-363:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="987" xsi:type="ToConcept"><signature localId="988" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="983" locator="363:21-363:51" name="CI-Bladder exstrophy" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="998" locator="368:1-369:46" name="CI Bladder exstrophy Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Bladder exstrophy"/><a:s r="998"><a:s>/*
@internal: Condition for Bladder exstrophy
*/
define "CI Bladder exstrophy Condition":
  </a:s><a:s r="1002"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Bladder exstrophy"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1002" locator="369:3-369:46" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1010" xsi:type="ToList"><operand libraryName="Concepts" localId="1001" locator="369:15-369:45" name="CI-Bladder exstrophy" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="970" locator="354:1-356:46" name="The client has bladder exstrophy"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has bladder exstrophy"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Bladder exstrophy&#34;"/><a:s r="970"><a:s>/*
@input: The client has bladder exstrophy
@pseudocode: "Potential contraindications" = "Bladder exstrophy"
*/
define "The client has bladder exstrophy":
  </a:s><a:s r="971"><a:s r="972"><a:s>exists </a:s><a:s r="992"><a:s>"CI Bladder exstrophy Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="995"><a:s>exists </a:s><a:s r="1011"><a:s>"CI Bladder exstrophy Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="971" locator="355:3-356:46" xsi:type="Or"><operand localId="972" locator="355:3-355:43" xsi:type="Exists"><signature localId="993" xsi:type="ListTypeSpecifier"><elementType localId="994" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="992" locator="355:10-355:43" name="CI Bladder exstrophy Observation" xsi:type="ExpressionRef"/></operand><operand localId="995" locator="356:8-356:46" xsi:type="Exists"><signature localId="1012" xsi:type="ListTypeSpecifier"><elementType localId="1013" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1011" locator="356:15-356:46" name="CI Bladder exstrophy Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1026" locator="715:1-717:58" name="Immunocompromised Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Immunocompromised Observation"/><a:s r="1026"><a:s>/*
@internal: Immunocompromised Observation
*/
define "Immunocompromised Observation":
  </a:s><a:s r="1052"><a:s r="1051"><a:s>(</a:s><a:s r="1051"><a:s><a:s r="1027"><a:s r="1031"><a:s r="1031"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Immunocompromised"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1045"><a:s>sort by </a:s><a:s r="1044"><a:s r="1041"><a:s>end of </a:s><a:s r="1043"><a:s r="1042"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1043"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1052"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1052" locator="716:3-717:58" name="complete" xsi:type="FunctionRef"><operand localId="1051" locator="716:3-717:47" xsi:type="Query"><source alias="O" localId="1027" locator="716:4-716:48"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1031" locator="716:4-716:46" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1039" xsi:type="ToList"><operand libraryName="Concepts" localId="1030" locator="716:18-716:45" name="Immunocompromised" xsi:type="CodeRef"/></codes></expression></source><sort localId="1045" locator="717:5-717:46"><by direction="desc" localId="1044" locator="717:13-717:46" xsi:type="ByExpression"><expression localId="1041" locator="717:13-717:41" xsi:type="End"><operand libraryName="WC" localId="1043" locator="717:20-717:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1042" locator="717:20-717:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1021" locator="723:1-725:55" name="Client is immunocompromised"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is immunocompromised"/><a:t name="pseudocode" value="&#34;Immunocompromised&#34; = TRUE"/><a:s r="1021"><a:s>/*
@input: Client is immunocompromised
@pseudocode: "Immunocompromised" = TRUE
*/
define "Client is immunocompromised":
  </a:s><a:s r="1022"><a:s r="1023"><a:s>exists</a:s><a:s r="1053"><a:s>( </a:s><a:s r="1053"><a:s>"Immunocompromised Observation"</a:s></a:s><a:s> )</a:s></a:s></a:s><a:s> and
  </a:s><a:s r="1056"><a:s r="1061"><a:s r="1060"><a:s>First( </a:s><a:s r="1057"><a:s>"Immunocompromised Observation"</a:s></a:s><a:s> )</a:s></a:s><a:s>.</a:s><a:s r="1061"><a:s>value</a:s></a:s></a:s><a:s r="1062"> = true</a:s></a:s></a:s></a:s></annotation><expression localId="1022" locator="724:3-725:55" xsi:type="And"><operand localId="1023" locator="724:3-724:43" xsi:type="Exists"><signature localId="1054" xsi:type="ListTypeSpecifier"><elementType localId="1055" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1053" locator="724:9-724:43" name="Immunocompromised Observation" xsi:type="ExpressionRef"/></operand><operand localId="1056" locator="725:3-725:55" xsi:type="Equal"><signature localId="1065" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1066" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1064" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1063" xsi:type="As"><operand localId="1061" locator="725:3-725:48" path="value" xsi:type="Property"><source localId="1060" locator="725:3-725:42" xsi:type="First"><source localId="1057" locator="725:10-725:40" name="Immunocompromised Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1062" locator="725:52-725:55" value="true" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1071" locator="383:1-385:51" name="CI Immunocompromised Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Immunocompromised"/><a:s r="1071"><a:s>/*
@internal: Observation for Immunocompromised
*/
define "CI Immunocompromised Observation":
  </a:s><a:s r="1087"><a:s><a:s r="1072"><a:s r="1073"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1075"><a:s>where </a:s><a:s r="1075"><a:s r="1077"><a:s r="1076"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1077"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1079"><a:s r="1078"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1079"><a:s>"CI-Immunocompromised"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1087" locator="384:3-385:51" xsi:type="Query"><source alias="O" localId="1072" locator="384:3-384:33"><expression localId="1073" locator="384:3-384:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1075" locator="385:5-385:51" xsi:type="Equivalent"><signature localId="1085" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1086" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1081" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1080" xsi:type="As"><operand localId="1077" locator="385:11-385:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1083" xsi:type="ToConcept"><signature localId="1084" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1079" locator="385:21-385:51" name="CI-Immunocompromised" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1094" locator="390:1-391:46" name="CI Immunocompromised Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Immunocompromised"/><a:s r="1094"><a:s>/*
@internal: Condition for Immunocompromised
*/
define "CI Immunocompromised Condition":
  </a:s><a:s r="1098"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Immunocompromised"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1098" locator="391:3-391:46" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1106" xsi:type="ToList"><operand libraryName="Concepts" localId="1097" locator="391:15-391:45" name="CI-Immunocompromised" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1016" locator="375:1-378:46" name="The client is immunocompromised"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is immunocompromised"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Immunocompromised&#34;"/><a:s r="1016"><a:s>/*
@input: The client is immunocompromised
@pseudocode: "Potential contraindications" = "Immunocompromised"
*/
define "The client is immunocompromised":
  </a:s><a:s r="1017"><a:s r="1018"><a:s r="1067"><a:s>"Client is immunocompromised"</a:s></a:s><a:s>
    or </a:s><a:s r="1068"><a:s>exists </a:s><a:s r="1088"><a:s>"CI Immunocompromised Observation"</a:s></a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1091"><a:s>exists </a:s><a:s r="1107"><a:s>"CI Immunocompromised Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1017" locator="376:3-378:46" xsi:type="Or"><operand localId="1018" locator="376:3-377:48" xsi:type="Or"><operand localId="1067" locator="376:3-376:31" name="Client is immunocompromised" xsi:type="ExpressionRef"/><operand localId="1068" locator="377:8-377:48" xsi:type="Exists"><signature localId="1089" xsi:type="ListTypeSpecifier"><elementType localId="1090" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1088" locator="377:15-377:48" name="CI Immunocompromised Observation" xsi:type="ExpressionRef"/></operand></operand><operand localId="1091" locator="378:8-378:46" xsi:type="Exists"><signature localId="1108" xsi:type="ListTypeSpecifier"><elementType localId="1109" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1107" locator="378:15-378:46" name="CI Immunocompromised Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1117" locator="405:1-407:76" name="CI Planning to get pregnant in the next month Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Planning to get pregnant in the next month"/><a:s r="1117"><a:s>/*
@internal: Observation for Planning to get pregnant in the next month
*/
define "CI Planning to get pregnant in the next month Observation":
  </a:s><a:s r="1133"><a:s><a:s r="1118"><a:s r="1119"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1121"><a:s>where </a:s><a:s r="1121"><a:s r="1123"><a:s r="1122"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1123"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1125"><a:s r="1124"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1125"><a:s>"CI-Planning to get pregnant in the next month"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1133" locator="406:3-407:76" xsi:type="Query"><source alias="O" localId="1118" locator="406:3-406:33"><expression localId="1119" locator="406:3-406:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1121" locator="407:5-407:76" xsi:type="Equivalent"><signature localId="1131" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1132" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1127" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1126" xsi:type="As"><operand localId="1123" locator="407:11-407:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1129" xsi:type="ToConcept"><signature localId="1130" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1125" locator="407:21-407:76" name="CI-Planning to get pregnant in the next month" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1140" locator="412:1-413:71" name="CI Planning to get pregnant in the next month Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Planning to get pregnant in the next month"/><a:s r="1140"><a:s>/*
@internal: Condition for Planning to get pregnant in the next month
*/
define "CI Planning to get pregnant in the next month Condition":
  </a:s><a:s r="1144"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Planning to get pregnant in the next month"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1144" locator="413:3-413:71" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1152" xsi:type="ToList"><operand libraryName="Concepts" localId="1143" locator="413:15-413:70" name="CI-Planning to get pregnant in the next month" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1112" locator="398:1-400:71" name="The client is planning to get pregnant in next month"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is planning to get pregnant in next month"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Planning to get pregnant in the next month&#34;"/><a:s r="1112"><a:s>/*
@input: The client is planning to get pregnant in next month
@pseudocode: "Potential contraindications" = "Planning to get pregnant in the next month"
*/
define "The client is planning to get pregnant in next month":
  </a:s><a:s r="1113"><a:s r="1114"><a:s>exists </a:s><a:s r="1134"><a:s>"CI Planning to get pregnant in the next month Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1137"><a:s>exists </a:s><a:s r="1153"><a:s>"CI Planning to get pregnant in the next month Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1113" locator="399:3-400:71" xsi:type="Or"><operand localId="1114" locator="399:3-399:68" xsi:type="Exists"><signature localId="1135" xsi:type="ListTypeSpecifier"><elementType localId="1136" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1134" locator="399:10-399:68" name="CI Planning to get pregnant in the next month Observation" xsi:type="ExpressionRef"/></operand><operand localId="1137" locator="400:8-400:71" xsi:type="Exists"><signature localId="1154" xsi:type="ListTypeSpecifier"><elementType localId="1155" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1153" locator="400:15-400:71" name="CI Planning to get pregnant in the next month Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1163" locator="427:1-429:58" name="CI Receiving blood products Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Receiving blood products"/><a:s r="1163"><a:s>/*
@internal: Observation for Receiving blood products
*/
define "CI Receiving blood products Observation":
  </a:s><a:s r="1179"><a:s><a:s r="1164"><a:s r="1165"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1167"><a:s>where </a:s><a:s r="1167"><a:s r="1169"><a:s r="1168"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1169"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1171"><a:s r="1170"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1171"><a:s>"CI-Receiving blood products"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1179" locator="428:3-429:58" xsi:type="Query"><source alias="O" localId="1164" locator="428:3-428:33"><expression localId="1165" locator="428:3-428:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1167" locator="429:5-429:58" xsi:type="Equivalent"><signature localId="1177" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1178" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1173" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1172" xsi:type="As"><operand localId="1169" locator="429:11-429:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1175" xsi:type="ToConcept"><signature localId="1176" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1171" locator="429:21-429:58" name="CI-Receiving blood products" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1186" locator="434:1-435:53" name="CI Receiving blood products Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Receiving blood products"/><a:s r="1186"><a:s>/*
@internal: Condition for Receiving blood products
*/
define "CI Receiving blood products Condition":
  </a:s><a:s r="1190"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Receiving blood products"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1190" locator="435:3-435:53" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1198" xsi:type="ToList"><operand libraryName="Concepts" localId="1189" locator="435:15-435:52" name="CI-Receiving blood products" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1158" locator="420:1-422:53" name="The client is receiving blood products"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is receiving blood products"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Receiving blood products&#34;"/><a:s r="1158"><a:s>/*
@input: The client is receiving blood products
@pseudocode: "Potential contraindications" = "Receiving blood products"
*/
define "The client is receiving blood products":
  </a:s><a:s r="1159"><a:s r="1160"><a:s>exists </a:s><a:s r="1180"><a:s>"CI Receiving blood products Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1183"><a:s>exists </a:s><a:s r="1199"><a:s>"CI Receiving blood products Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1159" locator="421:3-422:53" xsi:type="Or"><operand localId="1160" locator="421:3-421:50" xsi:type="Exists"><signature localId="1181" xsi:type="ListTypeSpecifier"><elementType localId="1182" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1180" locator="421:10-421:50" name="CI Receiving blood products Observation" xsi:type="ExpressionRef"/></operand><operand localId="1183" locator="422:8-422:53" xsi:type="Exists"><signature localId="1200" xsi:type="ListTypeSpecifier"><elementType localId="1201" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1199" locator="422:15-422:53" name="CI Receiving blood products Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1209" locator="449:1-451:44" name="CI TB disease Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for TB disease"/><a:s r="1209"><a:s>/*
@internal: Observation for TB disease
*/
define "CI TB disease Observation":
  </a:s><a:s r="1225"><a:s><a:s r="1210"><a:s r="1211"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1213"><a:s>where </a:s><a:s r="1213"><a:s r="1215"><a:s r="1214"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1215"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1217"><a:s r="1216"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1217"><a:s>"CI-TB disease"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1225" locator="450:3-451:44" xsi:type="Query"><source alias="O" localId="1210" locator="450:3-450:33"><expression localId="1211" locator="450:3-450:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1213" locator="451:5-451:44" xsi:type="Equivalent"><signature localId="1223" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1224" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1219" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1218" xsi:type="As"><operand localId="1215" locator="451:11-451:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1221" xsi:type="ToConcept"><signature localId="1222" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1217" locator="451:21-451:44" name="CI-TB disease" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1232" locator="456:1-457:39" name="CI TB disease Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for TB disease"/><a:s r="1232"><a:s>/*
@internal: Condition for TB disease
*/
define "CI TB disease Condition":
  </a:s><a:s r="1236"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-TB disease"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1236" locator="457:3-457:39" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1244" xsi:type="ToList"><operand libraryName="Concepts" localId="1235" locator="457:15-457:38" name="CI-TB disease" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1204" locator="442:1-444:39" name="The client has TB disease"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has TB disease"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;TB disease&#34;"/><a:s r="1204"><a:s>/*
@input: The client has TB disease
@pseudocode: "Potential contraindications" = "TB disease"
*/
define "The client has TB disease":
  </a:s><a:s r="1205"><a:s r="1206"><a:s>exists </a:s><a:s r="1226"><a:s>"CI TB disease Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1229"><a:s>exists </a:s><a:s r="1245"><a:s>"CI TB disease Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1205" locator="443:3-444:39" xsi:type="Or"><operand localId="1206" locator="443:3-443:36" xsi:type="Exists"><signature localId="1227" xsi:type="ListTypeSpecifier"><elementType localId="1228" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1226" locator="443:10-443:36" name="CI TB disease Observation" xsi:type="ExpressionRef"/></operand><operand localId="1229" locator="444:8-444:39" xsi:type="Exists"><signature localId="1246" xsi:type="ListTypeSpecifier"><elementType localId="1247" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1245" locator="444:15-444:39" name="CI TB disease Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1255" locator="471:1-473:47" name="CI Breastfeeding Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Breastfeeding"/><a:s r="1255"><a:s>/*
@internal: Observation for Breastfeeding
*/
define "CI Breastfeeding Observation":
  </a:s><a:s r="1271"><a:s><a:s r="1256"><a:s r="1257"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1259"><a:s>where </a:s><a:s r="1259"><a:s r="1261"><a:s r="1260"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1261"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1263"><a:s r="1262"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1263"><a:s>"CI-Breastfeeding"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1271" locator="472:3-473:47" xsi:type="Query"><source alias="O" localId="1256" locator="472:3-472:33"><expression localId="1257" locator="472:3-472:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1259" locator="473:5-473:47" xsi:type="Equivalent"><signature localId="1269" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1270" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1265" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1264" xsi:type="As"><operand localId="1261" locator="473:11-473:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1267" xsi:type="ToConcept"><signature localId="1268" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1263" locator="473:21-473:47" name="CI-Breastfeeding" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1278" locator="478:1-479:42" name="CI Breastfeeding Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Breastfeeding"/><a:s r="1278"><a:s>/*
@internal: Condition for Breastfeeding
*/
define "CI Breastfeeding Condition":
  </a:s><a:s r="1282"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Breastfeeding"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1282" locator="479:3-479:42" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1290" xsi:type="ToList"><operand libraryName="Concepts" localId="1281" locator="479:15-479:41" name="CI-Breastfeeding" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1250" locator="464:1-466:42" name="The client is lactating"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is lactating"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Breastfeeding&#34;"/><a:s r="1250"><a:s>/*
@input: The client is lactating
@pseudocode: "Potential contraindications" = "Breastfeeding"
*/
define "The client is lactating":
  </a:s><a:s r="1251"><a:s r="1252"><a:s>exists </a:s><a:s r="1272"><a:s>"CI Breastfeeding Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1275"><a:s>exists </a:s><a:s r="1291"><a:s>"CI Breastfeeding Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1251" locator="465:3-466:42" xsi:type="Or"><operand localId="1252" locator="465:3-465:39" xsi:type="Exists"><signature localId="1273" xsi:type="ListTypeSpecifier"><elementType localId="1274" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1272" locator="465:10-465:39" name="CI Breastfeeding Observation" xsi:type="ExpressionRef"/></operand><operand localId="1275" locator="466:8-466:42" xsi:type="Exists"><signature localId="1292" xsi:type="ListTypeSpecifier"><elementType localId="1293" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1291" locator="466:15-466:42" name="CI Breastfeeding Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1301" locator="493:1-495:55" name="CI Acute gastroenteritis Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Acute gastroenteritis"/><a:s r="1301"><a:s>/*
@internal: Observation for Acute gastroenteritis
*/
define "CI Acute gastroenteritis Observation":
  </a:s><a:s r="1317"><a:s><a:s r="1302"><a:s r="1303"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1305"><a:s>where </a:s><a:s r="1305"><a:s r="1307"><a:s r="1306"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1307"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1309"><a:s r="1308"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1309"><a:s>"CI-Acute gastroenteritis"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1317" locator="494:3-495:55" xsi:type="Query"><source alias="O" localId="1302" locator="494:3-494:33"><expression localId="1303" locator="494:3-494:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1305" locator="495:5-495:55" xsi:type="Equivalent"><signature localId="1315" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1316" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1311" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1310" xsi:type="As"><operand localId="1307" locator="495:11-495:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1313" xsi:type="ToConcept"><signature localId="1314" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1309" locator="495:21-495:55" name="CI-Acute gastroenteritis" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1324" locator="500:1-501:50" name="CI Acute gastroenteritis Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Acute gastroenteritis"/><a:s r="1324"><a:s>/*
@internal: Condition for Acute gastroenteritis
*/
define "CI Acute gastroenteritis Condition":
  </a:s><a:s r="1328"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Acute gastroenteritis"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1328" locator="501:3-501:50" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1336" xsi:type="ToList"><operand libraryName="Concepts" localId="1327" locator="501:15-501:49" name="CI-Acute gastroenteritis" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1296" locator="486:1-488:50" name="The client has acute gastroenteritis"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has acute gastroenteritis"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Acute gastroenteritis&#34;"/><a:s r="1296"><a:s>/*
@input: The client has acute gastroenteritis
@pseudocode: "Potential contraindications" = "Acute gastroenteritis"
*/
define "The client has acute gastroenteritis":
  </a:s><a:s r="1297"><a:s r="1298"><a:s>exists </a:s><a:s r="1318"><a:s>"CI Acute gastroenteritis Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1321"><a:s>exists </a:s><a:s r="1337"><a:s>"CI Acute gastroenteritis Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1297" locator="487:3-488:50" xsi:type="Or"><operand localId="1298" locator="487:3-487:47" xsi:type="Exists"><signature localId="1319" xsi:type="ListTypeSpecifier"><elementType localId="1320" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1318" locator="487:10-487:47" name="CI Acute gastroenteritis Observation" xsi:type="ExpressionRef"/></operand><operand localId="1321" locator="488:8-488:50" xsi:type="Exists"><signature localId="1338" xsi:type="ListTypeSpecifier"><elementType localId="1339" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1337" locator="488:15-488:50" name="CI Acute gastroenteritis Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1347" locator="515:1-517:58" name="CI Moderate to severe fever Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Moderate to severe fever"/><a:s r="1347"><a:s>/*
@internal: Observation for Moderate to severe fever
*/
define "CI Moderate to severe fever Observation":
  </a:s><a:s r="1363"><a:s><a:s r="1348"><a:s r="1349"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1351"><a:s>where </a:s><a:s r="1351"><a:s r="1353"><a:s r="1352"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1353"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1355"><a:s r="1354"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1355"><a:s>"CI-Moderate to severe fever"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1363" locator="516:3-517:58" xsi:type="Query"><source alias="O" localId="1348" locator="516:3-516:33"><expression localId="1349" locator="516:3-516:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1351" locator="517:5-517:58" xsi:type="Equivalent"><signature localId="1361" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1362" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1357" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1356" xsi:type="As"><operand localId="1353" locator="517:11-517:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1359" xsi:type="ToConcept"><signature localId="1360" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1355" locator="517:21-517:58" name="CI-Moderate to severe fever" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1370" locator="522:1-523:53" name="CI Moderate to severe fever Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Moderate to severe fever"/><a:s r="1370"><a:s>/*
@internal: Condition for Moderate to severe fever
*/
define "CI Moderate to severe fever Condition":
  </a:s><a:s r="1374"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Moderate to severe fever"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1374" locator="523:3-523:53" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1382" xsi:type="ToList"><operand libraryName="Concepts" localId="1373" locator="523:15-523:52" name="CI-Moderate to severe fever" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1342" locator="508:1-510:53" name="The client has moderate to severe fever"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has moderate to severe fever"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Moderate to severe fever&#34;"/><a:s r="1342"><a:s>/*
@input: The client has moderate to severe fever
@pseudocode: "Potential contraindications" = "Moderate to severe fever"
*/
define "The client has moderate to severe fever":
  </a:s><a:s r="1343"><a:s r="1344"><a:s>exists </a:s><a:s r="1364"><a:s>"CI Moderate to severe fever Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1367"><a:s>exists </a:s><a:s r="1383"><a:s>"CI Moderate to severe fever Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1343" locator="509:3-510:53" xsi:type="Or"><operand localId="1344" locator="509:3-509:50" xsi:type="Exists"><signature localId="1365" xsi:type="ListTypeSpecifier"><elementType localId="1366" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1364" locator="509:10-509:50" name="CI Moderate to severe fever Observation" xsi:type="ExpressionRef"/></operand><operand localId="1367" locator="510:8-510:53" xsi:type="Exists"><signature localId="1384" xsi:type="ListTypeSpecifier"><elementType localId="1385" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1383" locator="510:15-510:53" name="CI Moderate to severe fever Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1393" locator="537:1-539:72" name="CI Hypersensitivity to vaccine components Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Hypersensitivity to vaccine components"/><a:s r="1393"><a:s>/*
@internal: Observation for Hypersensitivity to vaccine components
*/
define "CI Hypersensitivity to vaccine components Observation":
  </a:s><a:s r="1409"><a:s><a:s r="1394"><a:s r="1395"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1397"><a:s>where </a:s><a:s r="1397"><a:s r="1399"><a:s r="1398"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1399"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1401"><a:s r="1400"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1401"><a:s>"CI-Hypersensitivity to vaccine components"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1409" locator="538:3-539:72" xsi:type="Query"><source alias="O" localId="1394" locator="538:3-538:33"><expression localId="1395" locator="538:3-538:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1397" locator="539:5-539:72" xsi:type="Equivalent"><signature localId="1407" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1408" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1403" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1402" xsi:type="As"><operand localId="1399" locator="539:11-539:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1405" xsi:type="ToConcept"><signature localId="1406" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1401" locator="539:21-539:72" name="CI-Hypersensitivity to vaccine components" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1416" locator="544:1-545:67" name="CI Hypersensitivity to vaccine components Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Hypersensitivity to vaccine components"/><a:s r="1416"><a:s>/*
@internal: Condition for Hypersensitivity to vaccine components
*/
define "CI Hypersensitivity to vaccine components Condition":
  </a:s><a:s r="1420"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Hypersensitivity to vaccine components"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1420" locator="545:3-545:67" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1428" xsi:type="ToList"><operand libraryName="Concepts" localId="1419" locator="545:15-545:66" name="CI-Hypersensitivity to vaccine components" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1388" locator="530:1-532:67" name="The client has hypersensitivity to any component of the vaccine"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has hypersensitivity to any component of the vaccine"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Hypersensitivity to vaccine components&#34;"/><a:s r="1388"><a:s>/*
@input: The client has hypersensitivity to any component of the vaccine
@pseudocode: "Potential contraindications" = "Hypersensitivity to vaccine components"
*/
define "The client has hypersensitivity to any component of the vaccine":
  </a:s><a:s r="1389"><a:s r="1390"><a:s>exists </a:s><a:s r="1410"><a:s>"CI Hypersensitivity to vaccine components Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1413"><a:s>exists </a:s><a:s r="1429"><a:s>"CI Hypersensitivity to vaccine components Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1389" locator="531:3-532:67" xsi:type="Or"><operand localId="1390" locator="531:3-531:64" xsi:type="Exists"><signature localId="1411" xsi:type="ListTypeSpecifier"><elementType localId="1412" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1410" locator="531:10-531:64" name="CI Hypersensitivity to vaccine components Observation" xsi:type="ExpressionRef"/></operand><operand localId="1413" locator="532:8-532:67" xsi:type="Exists"><signature localId="1430" xsi:type="ListTypeSpecifier"><elementType localId="1431" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1429" locator="532:15-532:67" name="CI Hypersensitivity to vaccine components Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1439" locator="559:1-561:52" name="CI Taking antibiotics Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Taking antibiotics"/><a:s r="1439"><a:s>/*
@internal: Observation for Taking antibiotics
*/
define "CI Taking antibiotics Observation":
  </a:s><a:s r="1455"><a:s><a:s r="1440"><a:s r="1441"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1443"><a:s>where </a:s><a:s r="1443"><a:s r="1445"><a:s r="1444"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1445"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1447"><a:s r="1446"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1447"><a:s>"CI-Taking antibiotics"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1455" locator="560:3-561:52" xsi:type="Query"><source alias="O" localId="1440" locator="560:3-560:33"><expression localId="1441" locator="560:3-560:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1443" locator="561:5-561:52" xsi:type="Equivalent"><signature localId="1453" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1454" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1449" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1448" xsi:type="As"><operand localId="1445" locator="561:11-561:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1451" xsi:type="ToConcept"><signature localId="1452" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1447" locator="561:21-561:52" name="CI-Taking antibiotics" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1462" locator="566:1-567:47" name="CI Taking antibiotics Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Taking antibiotics"/><a:s r="1462"><a:s>/*
@internal: Condition for Taking antibiotics
*/
define "CI Taking antibiotics Condition":
  </a:s><a:s r="1466"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Taking antibiotics"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1466" locator="567:3-567:47" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1474" xsi:type="ToList"><operand libraryName="Concepts" localId="1465" locator="567:15-567:46" name="CI-Taking antibiotics" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1434" locator="552:1-554:47" name="The client is currently taking antibiotics"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client is currently taking antibiotics"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Taking antibiotics&#34;"/><a:s r="1434"><a:s>/*
@input: The client is currently taking antibiotics
@pseudocode: "Potential contraindications" = "Taking antibiotics"
*/
define "The client is currently taking antibiotics":
  </a:s><a:s r="1435"><a:s r="1436"><a:s>exists </a:s><a:s r="1456"><a:s>"CI Taking antibiotics Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1459"><a:s>exists </a:s><a:s r="1475"><a:s>"CI Taking antibiotics Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1435" locator="553:3-554:47" xsi:type="Or"><operand localId="1436" locator="553:3-553:44" xsi:type="Exists"><signature localId="1457" xsi:type="ListTypeSpecifier"><elementType localId="1458" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1456" locator="553:10-553:44" name="CI Taking antibiotics Observation" xsi:type="ExpressionRef"/></operand><operand localId="1459" locator="554:8-554:47" xsi:type="Exists"><signature localId="1476" xsi:type="ListTypeSpecifier"><elementType localId="1477" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1475" locator="554:15-554:47" name="CI Taking antibiotics Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1485" locator="580:1-582:66" name="CI Chronic gastrointestinal disease Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Observation for Chronic gastrointestinal disease"/><a:s r="1485"><a:s>/*
@internal: Observation for Chronic gastrointestinal disease
*/
define "CI Chronic gastrointestinal disease Observation":
  </a:s><a:s r="1501"><a:s><a:s r="1486"><a:s r="1487"><a:s><a:s>"Potential contraindications"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1489"><a:s>where </a:s><a:s r="1489"><a:s r="1491"><a:s r="1490"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1491"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1493"><a:s r="1492"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1493"><a:s>"CI-Chronic gastrointestinal disease"</a:s></a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1501" locator="581:3-582:66" xsi:type="Query"><source alias="O" localId="1486" locator="581:3-581:33"><expression localId="1487" locator="581:3-581:31" name="Potential contraindications" xsi:type="ExpressionRef"/></source><where localId="1489" locator="582:5-582:66" xsi:type="Equivalent"><signature localId="1499" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1500" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1495" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1494" xsi:type="As"><operand localId="1491" locator="582:11-582:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1497" xsi:type="ToConcept"><signature localId="1498" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1493" locator="582:21-582:66" name="CI-Chronic gastrointestinal disease" xsi:type="CodeRef"/></operand></where></expression></def><def accessLevel="Public" context="Patient" localId="1508" locator="587:1-588:61" name="CI Chronic gastrointestinal disease Condition"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Condition for Chronic gastrointestinal disease"/><a:s r="1508"><a:s>/*
@internal: Condition for Chronic gastrointestinal disease
*/
define "CI Chronic gastrointestinal disease Condition":
  </a:s><a:s r="1512"><a:s>[Condition: </a:s><a:s><a:s>Concepts."CI-Chronic gastrointestinal disease"</a:s></a:s><a:s>]</a:s></a:s></a:s></annotation><expression codeComparator="~" codeProperty="code" dataType="fhir:Condition" localId="1512" locator="588:3-588:61" templateId="http://hl7.org/fhir/StructureDefinition/Condition" xsi:type="Retrieve"><codes localId="1520" xsi:type="ToList"><operand libraryName="Concepts" localId="1511" locator="588:15-588:60" name="CI-Chronic gastrointestinal disease" xsi:type="CodeRef"/></codes></expression></def><def accessLevel="Public" context="Patient" localId="1480" locator="573:1-575:61" name="The client has chronic gastrointestinal disease"><annotation xsi:type="a:Annotation"><a:t name="input" value="The client has chronic gastrointestinal disease"/><a:t name="pseudocode" value="&#34;Potential contraindications&#34; = &#34;Chronic gastrointestinal disease&#34;"/><a:s r="1480"><a:s>/*
@input: The client has chronic gastrointestinal disease
@pseudocode: "Potential contraindications" = "Chronic gastrointestinal disease"
*/
define "The client has chronic gastrointestinal disease":
  </a:s><a:s r="1481"><a:s r="1482"><a:s>exists </a:s><a:s r="1502"><a:s>"CI Chronic gastrointestinal disease Observation"</a:s></a:s></a:s><a:s>
    or </a:s><a:s r="1505"><a:s>exists </a:s><a:s r="1521"><a:s>"CI Chronic gastrointestinal disease Condition"</a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1481" locator="574:3-575:61" xsi:type="Or"><operand localId="1482" locator="574:3-574:58" xsi:type="Exists"><signature localId="1503" xsi:type="ListTypeSpecifier"><elementType localId="1504" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1502" locator="574:10-574:58" name="CI Chronic gastrointestinal disease Observation" xsi:type="ExpressionRef"/></operand><operand localId="1505" locator="575:8-575:61" xsi:type="Exists"><signature localId="1522" xsi:type="ListTypeSpecifier"><elementType localId="1523" name="fhir:Condition" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1521" locator="575:15-575:61" name="CI Chronic gastrointestinal disease Condition" xsi:type="ExpressionRef"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1526" locator="595:1-596:51" name="HIV status Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="HIV Status Observation"/><a:s r="1526"><a:s>/*
@internal: HIV Status Observation
*/
define "HIV status Observation":
  </a:s><a:s r="1539"><a:s r="1530"><a:s>(</a:s><a:s r="1530"><a:s>[Observation: </a:s><a:s><a:s>Concepts."HIV status"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1539"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1539" locator="596:3-596:51" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1530" locator="596:3-596:40" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1538" xsi:type="ToList"><operand libraryName="Concepts" localId="1529" locator="596:18-596:38" name="HIV status" xsi:type="CodeRef"/></codes></operand></expression></def><def accessLevel="Public" context="Patient" localId="1546" locator="609:1-611:45" name="Client's HIV status is positive"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's HIV status is positive"/><a:t name="pseudocode" value="&#34;HIV status&#34; = &#34;HIV-positive&#34;"/><a:s r="1546"><a:s>/*
@input: Client's HIV status is positive
@pseudocode: "HIV status" = "HIV-positive"
*/
define "Client's HIV status is positive":
  </a:s><a:s r="1547"><a:s>exists</a:s><a:s r="1563"><a:s>( </a:s><a:s r="1563"><a:s><a:s r="1548"><a:s r="1549"><a:s><a:s>"HIV status Observation"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1551"><a:s>where </a:s><a:s r="1551"><a:s r="1553"><a:s r="1552"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1553"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1555"><a:s r="1554"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1555"><a:s>"HIV-positive"</a:s></a:s></a:s></a:s></a:s></a:s><a:s> )</a:s></a:s></a:s></a:s></annotation><expression localId="1547" locator="610:3-611:45" xsi:type="Exists"><signature localId="1564" xsi:type="ListTypeSpecifier"><elementType localId="1565" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1563" locator="610:9-611:45" xsi:type="Query"><source alias="O" localId="1548" locator="610:11-610:36"><expression localId="1549" locator="610:11-610:34" name="HIV status Observation" xsi:type="ExpressionRef"/></source><where localId="1551" locator="611:5-611:43" xsi:type="Equivalent"><signature localId="1561" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1562" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1557" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1556" xsi:type="As"><operand localId="1553" locator="611:11-611:17" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1559" xsi:type="ToConcept"><signature localId="1560" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1555" locator="611:21-611:43" name="HIV-positive" xsi:type="CodeRef"/></operand></where></operand></expression></def><def accessLevel="Public" context="Patient" localId="1542" locator="602:1-603:39" name="Client's HIV status is negative or unknown"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's HIV status is negative or unknown"/><a:t name="pseudocode" value="&#34;HIV status&#34; ≠ &#34;HIV-positive&#34;"/><a:s r="1542"><a:s>/*
@input: Client's HIV status is negative or unknown
@pseudocode: "HIV status" ≠ "HIV-positive"
*/
define "Client's HIV status is negative or unknown":
  </a:s><a:s r="1543"><a:s>not </a:s><a:s r="1566"><a:s>"Client's HIV status is positive"</a:s></a:s></a:s></a:s></annotation><expression localId="1543" locator="603:3-603:39" xsi:type="Not"><operand localId="1566" locator="603:7-603:39" name="Client's HIV status is positive" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="1569" locator="616:1-618:58" name="Currently on ART Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Currently on ART Observation"/><a:s r="1569"><a:s>/*
@internal: Currently on ART Observation
*/
define "Currently on ART Observation":
  </a:s><a:s r="1595"><a:s r="1594"><a:s>(</a:s><a:s r="1594"><a:s><a:s r="1570"><a:s r="1574"><a:s r="1574"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Currently on ART"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1588"><a:s>sort by </a:s><a:s r="1587"><a:s r="1584"><a:s>end of </a:s><a:s r="1586"><a:s r="1585"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1586"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1595"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1595" locator="617:3-618:58" name="complete" xsi:type="FunctionRef"><operand localId="1594" locator="617:3-618:47" xsi:type="Query"><source alias="O" localId="1570" locator="617:4-617:47"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1574" locator="617:4-617:45" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1582" xsi:type="ToList"><operand libraryName="Concepts" localId="1573" locator="617:18-617:44" name="Currently on ART" xsi:type="CodeRef"/></codes></expression></source><sort localId="1588" locator="618:5-618:46"><by direction="desc" localId="1587" locator="618:13-618:46" xsi:type="ByExpression"><expression localId="1584" locator="618:13-618:41" xsi:type="End"><operand libraryName="WC" localId="1586" locator="618:20-618:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1585" locator="618:20-618:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1598" locator="624:1-626:56" name="Client is currently receiving antiretroviral therapy"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is currently receiving antiretroviral therapy"/><a:t name="pseudocode" value="&#34;Currently on ART&#34; = TRUE"/><a:s r="1598"><a:s>/*
@input: Client is currently receiving antiretroviral therapy
@pseudocode: "Currently on ART" = TRUE
*/
define "Client is currently receiving antiretroviral therapy":
  </a:s><a:s r="1599"><a:s r="1600"><a:s>exists</a:s><a:s r="1601"><a:s>(</a:s><a:s r="1601"><a:s>"Currently on ART Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1604"><a:s r="1609"><a:s r="1608"><a:s>First(</a:s><a:s r="1605"><a:s>"Currently on ART Observation"</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1609"><a:s>value</a:s></a:s></a:s><a:s r="1610"> = true</a:s></a:s></a:s></a:s></annotation><expression localId="1599" locator="625:3-626:56" xsi:type="And"><operand localId="1600" locator="625:3-625:40" xsi:type="Exists"><signature localId="1602" xsi:type="ListTypeSpecifier"><elementType localId="1603" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1601" locator="625:9-625:40" name="Currently on ART Observation" xsi:type="ExpressionRef"/></operand><operand localId="1604" locator="626:7-626:56" xsi:type="Equal"><signature localId="1613" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1614" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1612" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1611" xsi:type="As"><operand localId="1609" locator="626:7-626:49" path="value" xsi:type="Property"><source localId="1608" locator="626:7-626:43" xsi:type="First"><source localId="1605" locator="626:13-626:42" name="Currently on ART Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1610" locator="626:53-626:56" value="true" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1617" locator="632:1-634:56" name="Client is currently not receiving antiretroviral therapy"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is currently not receiving antiretroviral therapy"/><a:t name="pseudocode" value="&#34;Currently on ART&#34; = FALSE"/><a:s r="1617"><a:s>/*
@input: Client is currently not receiving antiretroviral therapy
@pseudocode: "Currently on ART" = FALSE
*/
define "Client is currently not receiving antiretroviral therapy":
  </a:s><a:s r="1618"><a:s r="1619"><a:s>not </a:s><a:s r="1620"><a:s>exists</a:s><a:s r="1621"><a:s>(</a:s><a:s r="1621"><a:s>"Currently on ART Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s></a:s><a:s>
  or </a:s><a:s r="1624"><a:s r="1629"><a:s r="1628"><a:s>First(</a:s><a:s r="1625"><a:s>"Currently on ART Observation"</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1629"><a:s>value</a:s></a:s></a:s><a:s r="1630"> = false</a:s></a:s></a:s></a:s></annotation><expression localId="1618" locator="633:3-634:56" xsi:type="Or"><operand localId="1619" locator="633:3-633:44" xsi:type="Not"><operand localId="1620" locator="633:7-633:44" xsi:type="Exists"><signature localId="1622" xsi:type="ListTypeSpecifier"><elementType localId="1623" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1621" locator="633:13-633:44" name="Currently on ART Observation" xsi:type="ExpressionRef"/></operand></operand><operand localId="1624" locator="634:6-634:56" xsi:type="Equal"><signature localId="1633" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1634" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1632" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1631" xsi:type="As"><operand localId="1629" locator="634:6-634:48" path="value" xsi:type="Property"><source localId="1628" locator="634:6-634:42" xsi:type="First"><source localId="1625" locator="634:12-634:41" name="Currently on ART Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1630" locator="634:52-634:56" value="false" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1637" locator="639:1-641:58" name="Immunologically stable Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Immunologically stable Observation"/><a:s r="1637"><a:s>/*
@internal: Immunologically stable Observation
*/
define "Immunologically stable Observation":
  </a:s><a:s r="1663"><a:s r="1662"><a:s>(</a:s><a:s r="1662"><a:s><a:s r="1638"><a:s r="1642"><a:s r="1642"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Immunologically stable"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1656"><a:s>sort by </a:s><a:s r="1655"><a:s r="1652"><a:s>end of </a:s><a:s r="1654"><a:s r="1653"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1654"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1663"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1663" locator="640:3-641:58" name="complete" xsi:type="FunctionRef"><operand localId="1662" locator="640:3-641:47" xsi:type="Query"><source alias="O" localId="1638" locator="640:4-640:53"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1642" locator="640:4-640:51" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1650" xsi:type="ToList"><operand libraryName="Concepts" localId="1641" locator="640:18-640:50" name="Immunologically stable" xsi:type="CodeRef"/></codes></expression></source><sort localId="1656" locator="641:5-641:46"><by direction="desc" localId="1655" locator="641:13-641:46" xsi:type="ByExpression"><expression localId="1652" locator="641:13-641:41" xsi:type="End"><operand libraryName="WC" localId="1654" locator="641:20-641:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1653" locator="641:20-641:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1666" locator="647:1-649:62" name="Client is immunologically stable"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is immunologically stable"/><a:t name="pseudocode" value="&#34;Immunologically stable&#34; = TRUE"/><a:s r="1666"><a:s>/*
@input: Client is immunologically stable
@pseudocode: "Immunologically stable" = TRUE
*/
define "Client is immunologically stable":
  </a:s><a:s r="1667"><a:s r="1668"><a:s>exists</a:s><a:s r="1669"><a:s>(</a:s><a:s r="1669"><a:s>"Immunologically stable Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1672"><a:s r="1677"><a:s r="1676"><a:s>First(</a:s><a:s r="1673"><a:s>"Immunologically stable Observation"</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1677"><a:s>value</a:s></a:s></a:s><a:s r="1678"> = true</a:s></a:s></a:s></a:s></annotation><expression localId="1667" locator="648:3-649:62" xsi:type="And"><operand localId="1668" locator="648:3-648:46" xsi:type="Exists"><signature localId="1670" xsi:type="ListTypeSpecifier"><elementType localId="1671" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1669" locator="648:9-648:46" name="Immunologically stable Observation" xsi:type="ExpressionRef"/></operand><operand localId="1672" locator="649:7-649:62" xsi:type="Equal"><signature localId="1681" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1682" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1680" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1679" xsi:type="As"><operand localId="1677" locator="649:7-649:55" path="value" xsi:type="Property"><source localId="1676" locator="649:7-649:49" xsi:type="First"><source localId="1673" locator="649:13-649:48" name="Immunologically stable Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1678" locator="649:59-649:62" value="true" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1685" locator="655:1-657:63" name="Client is not immunologically stable"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is not immunologically stable"/><a:t name="pseudocode" value="&#34;Immunologically stable&#34; = FALSE"/><a:s r="1685"><a:s>/*
@input: Client is not immunologically stable
@pseudocode: "Immunologically stable" = FALSE
*/
define "Client is not immunologically stable":
  </a:s><a:s r="1686"><a:s r="1687"><a:s>exists</a:s><a:s r="1688"><a:s>(</a:s><a:s r="1688"><a:s>"Immunologically stable Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1691"><a:s r="1696"><a:s r="1695"><a:s>First(</a:s><a:s r="1692"><a:s>"Immunologically stable Observation"</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1696"><a:s>value</a:s></a:s></a:s><a:s r="1697"> = false</a:s></a:s></a:s></a:s></annotation><expression localId="1686" locator="656:3-657:63" xsi:type="And"><operand localId="1687" locator="656:3-656:46" xsi:type="Exists"><signature localId="1689" xsi:type="ListTypeSpecifier"><elementType localId="1690" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1688" locator="656:9-656:46" name="Immunologically stable Observation" xsi:type="ExpressionRef"/></operand><operand localId="1691" locator="657:7-657:63" xsi:type="Equal"><signature localId="1700" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1701" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1699" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1698" xsi:type="As"><operand localId="1696" locator="657:7-657:55" path="value" xsi:type="Property"><source localId="1695" locator="657:7-657:49" xsi:type="First"><source localId="1692" locator="657:13-657:48" name="Immunologically stable Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1697" locator="657:59-657:63" value="false" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1704" locator="662:1-664:58" name="TB infection test result Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="TB infection test result Observation"/><a:s r="1704"><a:s>/*
@internal: TB infection test result Observation
*/
define "TB infection test result Observation":
  </a:s><a:s r="1730"><a:s r="1729"><a:s>(</a:s><a:s r="1729"><a:s><a:s r="1705"><a:s r="1709"><a:s r="1709"><a:s>[Observation: </a:s><a:s><a:s>Concepts."TB infection test result"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1723"><a:s>sort by </a:s><a:s r="1722"><a:s r="1719"><a:s>end of </a:s><a:s r="1721"><a:s r="1720"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1721"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1730"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1730" locator="663:3-664:58" name="complete" xsi:type="FunctionRef"><operand localId="1729" locator="663:3-664:47" xsi:type="Query"><source alias="O" localId="1705" locator="663:4-663:55"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1709" locator="663:4-663:53" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1717" xsi:type="ToList"><operand libraryName="Concepts" localId="1708" locator="663:18-663:52" name="TB infection test result" xsi:type="CodeRef"/></codes></expression></source><sort localId="1723" locator="664:5-664:46"><by direction="desc" localId="1722" locator="664:13-664:46" xsi:type="ByExpression"><expression localId="1719" locator="664:13-664:41" xsi:type="End"><operand libraryName="WC" localId="1721" locator="664:20-664:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1720" locator="664:20-664:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1733" locator="670:1-672:84" name="Client's TB infection test result is negative"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's TB infection test result is negative"/><a:t name="pseudocode" value="&#34;TB infection test result&#34; = &#34;Negative&#34;"/><a:s r="1733"><a:s>/*
@input: Client's TB infection test result is negative
@pseudocode: "TB infection test result" = "Negative"
*/
define "Client's TB infection test result is negative":
  </a:s><a:s r="1734"><a:s r="1735"><a:s>exists</a:s><a:s r="1736"><a:s>(</a:s><a:s r="1736"><a:s>"TB infection test result Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1739"><a:s r="1744"><a:s r="1743"><a:s>First( </a:s><a:s r="1740"><a:s>"TB infection test result Observation"</a:s></a:s><a:s> )</a:s></a:s><a:s>.</a:s><a:s r="1744"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1746"><a:s r="1745"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1746"><a:s>"TB-Negative"</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1734" locator="671:3-672:84" xsi:type="And"><operand localId="1735" locator="671:3-671:48" xsi:type="Exists"><signature localId="1737" xsi:type="ListTypeSpecifier"><elementType localId="1738" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1736" locator="671:9-671:48" name="TB infection test result Observation" xsi:type="ExpressionRef"/></operand><operand localId="1739" locator="672:7-672:84" xsi:type="Equivalent"><signature localId="1752" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1753" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1748" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1747" xsi:type="As"><operand localId="1744" locator="672:7-672:59" path="value" xsi:type="Property"><source localId="1743" locator="672:7-672:53" xsi:type="First"><source localId="1740" locator="672:14-672:51" name="TB infection test result Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1750" xsi:type="ToConcept"><signature localId="1751" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1746" locator="672:63-672:84" name="TB-Negative" xsi:type="CodeRef"/></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="1769" locator="685:1-687:84" name="Client's TB infection test result is positive"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's TB infection test result is positive"/><a:t name="pseudocode" value="&#34;TB infection test result&#34; = &#34;Positive&#34;"/><a:s r="1769"><a:s>/*
@input: Client's TB infection test result is positive
@pseudocode: "TB infection test result" = "Positive"
*/
define "Client's TB infection test result is positive":
  </a:s><a:s r="1770"><a:s r="1771"><a:s>exists</a:s><a:s r="1772"><a:s>(</a:s><a:s r="1772"><a:s>"TB infection test result Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1775"><a:s r="1780"><a:s r="1779"><a:s>First( </a:s><a:s r="1776"><a:s>"TB infection test result Observation"</a:s></a:s><a:s> )</a:s></a:s><a:s>.</a:s><a:s r="1780"><a:s>value</a:s></a:s></a:s><a:s> ~ </a:s><a:s r="1782"><a:s r="1781"><a:s>Concepts</a:s></a:s><a:s>.</a:s><a:s r="1782"><a:s>"TB-Positive"</a:s></a:s></a:s></a:s></a:s></a:s></annotation><expression localId="1770" locator="686:3-687:84" xsi:type="And"><operand localId="1771" locator="686:3-686:48" xsi:type="Exists"><signature localId="1773" xsi:type="ListTypeSpecifier"><elementType localId="1774" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1772" locator="686:9-686:48" name="TB infection test result Observation" xsi:type="ExpressionRef"/></operand><operand localId="1775" locator="687:7-687:84" xsi:type="Equivalent"><signature localId="1788" name="t:Concept" xsi:type="NamedTypeSpecifier"/><signature localId="1789" name="t:Concept" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1784" name="ToConcept" xsi:type="FunctionRef"><operand asType="fhir:CodeableConcept" localId="1783" xsi:type="As"><operand localId="1780" locator="687:7-687:59" path="value" xsi:type="Property"><source localId="1779" locator="687:7-687:53" xsi:type="First"><source localId="1776" locator="687:14-687:51" name="TB infection test result Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1786" xsi:type="ToConcept"><signature localId="1787" name="t:Code" xsi:type="NamedTypeSpecifier"/><operand libraryName="Concepts" localId="1782" locator="687:63-687:84" name="TB-Positive" xsi:type="CodeRef"/></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="1756" locator="677:1-680:3" name="Client's TB infection test result is unknown (test not done or no result yet)"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's TB infection test result is unknown (test not done or no result yet)"/><a:t name="pseudocode" value="&#34;TB infection test result&#34; IS NULL"/><a:s r="1756"><a:s>/*
@input: Client's TB infection test result is unknown (test not done or no result yet)
@pseudocode: "TB infection test result" IS NULL
*/
define "Client's TB infection test result is unknown (test not done or no result yet)":
  </a:s><a:s r="1757"><a:s r="1758"><a:s>not </a:s><a:s r="1759"><a:s>exists</a:s><a:s r="1760"><a:s>( </a:s><a:s r="1760"><a:s>"TB infection test result Observation"</a:s></a:s><a:s> )</a:s></a:s></a:s></a:s><a:s> or </a:s><a:s r="1763"><a:s>(
    </a:s><a:s r="1763"><a:s r="1764"><a:s>not </a:s><a:s r="1765"><a:s>(</a:s><a:s r="1765"><a:s>"Client's TB infection test result is negative"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s> and </a:s><a:s r="1766"><a:s>not </a:s><a:s r="1790"><a:s>(</a:s><a:s r="1790"><a:s>"Client's TB infection test result is positive"</a:s></a:s><a:s>)</a:s></a:s></a:s></a:s><a:s>
  )</a:s></a:s></a:s></a:s></annotation><expression localId="1757" locator="678:3-680:3" xsi:type="Or"><operand localId="1758" locator="678:3-678:54" xsi:type="Not"><operand localId="1759" locator="678:7-678:54" xsi:type="Exists"><signature localId="1761" xsi:type="ListTypeSpecifier"><elementType localId="1762" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1760" locator="678:13-678:54" name="TB infection test result Observation" xsi:type="ExpressionRef"/></operand></operand><operand localId="1763" locator="678:59-680:3" xsi:type="And"><operand localId="1764" locator="679:5-679:57" xsi:type="Not"><operand localId="1765" locator="679:9-679:57" name="Client's TB infection test result is negative" xsi:type="ExpressionRef"/></operand><operand localId="1766" locator="679:63-679:115" xsi:type="Not"><operand localId="1790" locator="679:67-679:115" name="Client's TB infection test result is positive" xsi:type="ExpressionRef"/></operand></operand></expression></def><def accessLevel="Public" context="Patient" localId="1793" locator="692:1-694:58" name="Clinically well Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Clinically well Observation"/><a:s r="1793"><a:s>/*
@internal: Clinically well Observation
*/
define "Clinically well Observation":
  </a:s><a:s r="1819"><a:s r="1818"><a:s>(</a:s><a:s r="1818"><a:s><a:s r="1794"><a:s r="1798"><a:s r="1798"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Clinically well"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1812"><a:s>sort by </a:s><a:s r="1811"><a:s r="1808"><a:s>end of </a:s><a:s r="1810"><a:s r="1809"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1810"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1819"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1819" locator="693:3-694:58" name="complete" xsi:type="FunctionRef"><operand localId="1818" locator="693:3-694:47" xsi:type="Query"><source alias="O" localId="1794" locator="693:4-693:46"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1798" locator="693:4-693:44" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1806" xsi:type="ToList"><operand libraryName="Concepts" localId="1797" locator="693:18-693:43" name="Clinically well" xsi:type="CodeRef"/></codes></expression></source><sort localId="1812" locator="694:5-694:46"><by direction="desc" localId="1811" locator="694:13-694:46" xsi:type="ByExpression"><expression localId="1808" locator="694:13-694:41" xsi:type="End"><operand libraryName="WC" localId="1810" locator="694:20-694:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1809" locator="694:20-694:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1822" locator="700:1-702:58" name="Client is not clinically well"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is not clinically well"/><a:t name="pseudocode" value="&#34;Clinically well&#34; = FALSE"/><a:s r="1822"><a:s>/*
@input: Client is not clinically well
@pseudocode: "Clinically well" = FALSE
*/
define "Client is not clinically well":
  </a:s><a:s r="1823"><a:s r="1824"><a:s>exists</a:s><a:s r="1825"><a:s>(</a:s><a:s r="1825"><a:s>"Clinically well Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1828"><a:s r="1833"><a:s r="1832"><a:s>First( </a:s><a:s r="1829"><a:s>"Clinically well Observation"</a:s></a:s><a:s> )</a:s></a:s><a:s>.</a:s><a:s r="1833"><a:s>value</a:s></a:s></a:s><a:s r="1834"> = false</a:s></a:s></a:s></a:s></annotation><expression localId="1823" locator="701:3-702:58" xsi:type="And"><operand localId="1824" locator="701:3-701:39" xsi:type="Exists"><signature localId="1826" xsi:type="ListTypeSpecifier"><elementType localId="1827" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1825" locator="701:9-701:39" name="Clinically well Observation" xsi:type="ExpressionRef"/></operand><operand localId="1828" locator="702:7-702:58" xsi:type="Equal"><signature localId="1837" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1838" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1836" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1835" xsi:type="As"><operand localId="1833" locator="702:7-702:50" path="value" xsi:type="Property"><source localId="1832" locator="702:7-702:44" xsi:type="First"><source localId="1829" locator="702:14-702:42" name="Clinically well Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1834" locator="702:54-702:58" value="false" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1841" locator="708:1-710:57" name="Client is clinically well"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is clinically well"/><a:t name="pseudocode" value="&#34;Clinically well&#34; = TRUE"/><a:s r="1841"><a:s>/*
@input: Client is clinically well
@pseudocode: "Clinically well" = TRUE
*/
define "Client is clinically well":
  </a:s><a:s r="1842"><a:s r="1843"><a:s>exists</a:s><a:s r="1844"><a:s>(</a:s><a:s r="1844"><a:s>"Clinically well Observation"</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>
  and </a:s><a:s r="1847"><a:s r="1852"><a:s r="1851"><a:s>First( </a:s><a:s r="1848"><a:s>"Clinically well Observation"</a:s></a:s><a:s> )</a:s></a:s><a:s>.</a:s><a:s r="1852"><a:s>value</a:s></a:s></a:s><a:s r="1853"> = true</a:s></a:s></a:s></a:s></annotation><expression localId="1842" locator="709:3-710:57" xsi:type="And"><operand localId="1843" locator="709:3-709:39" xsi:type="Exists"><signature localId="1845" xsi:type="ListTypeSpecifier"><elementType localId="1846" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1844" locator="709:9-709:39" name="Clinically well Observation" xsi:type="ExpressionRef"/></operand><operand localId="1847" locator="710:7-710:57" xsi:type="Equal"><signature localId="1856" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1857" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1855" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1854" xsi:type="As"><operand localId="1852" locator="710:7-710:50" path="value" xsi:type="Property"><source localId="1851" locator="710:7-710:44" xsi:type="First"><source localId="1848" locator="710:14-710:42" name="Clinically well Observation" xsi:type="ExpressionRef"/></source></operand></operand></operand><operand localId="1853" locator="710:54-710:57" value="true" valueType="t:Boolean" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1860" locator="731:1-732:35" name="Client is not immunocompromised"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is not immunocompromised"/><a:t name="pseudocode" value="&#34;Immunocompromised&#34; ≠ TRUE"/><a:s r="1860"><a:s>/*
@input: Client is not immunocompromised
@pseudocode: "Immunocompromised" ≠ TRUE
*/
define "Client is not immunocompromised":
  </a:s><a:s r="1861"><a:s>not </a:s><a:s r="1862"><a:s>"Client is immunocompromised"</a:s></a:s></a:s></a:s></annotation><expression localId="1861" locator="732:3-732:35" xsi:type="Not"><operand localId="1862" locator="732:7-732:35" name="Client is immunocompromised" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="1865" locator="737:1-739:58" name="Birth weight in grams Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Birth weight in grams Observation"/><a:s r="1865"><a:s>/*
@internal: Birth weight in grams Observation
*/
define "Birth weight in grams Observation":
  </a:s><a:s r="1891"><a:s r="1890"><a:s>(</a:s><a:s r="1890"><a:s><a:s r="1866"><a:s r="1870"><a:s r="1870"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Birth weight in grams"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="1884"><a:s>sort by </a:s><a:s r="1883"><a:s r="1880"><a:s>end of </a:s><a:s r="1882"><a:s r="1881"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="1882"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1891"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1891" locator="738:3-739:58" name="complete" xsi:type="FunctionRef"><operand localId="1890" locator="738:3-739:47" xsi:type="Query"><source alias="O" localId="1866" locator="738:4-738:52"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1870" locator="738:4-738:50" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1878" xsi:type="ToList"><operand libraryName="Concepts" localId="1869" locator="738:18-738:49" name="Birth weight in grams" xsi:type="CodeRef"/></codes></expression></source><sort localId="1884" locator="739:5-739:46"><by direction="desc" localId="1883" locator="739:13-739:46" xsi:type="ByExpression"><expression localId="1880" locator="739:13-739:41" xsi:type="End"><operand libraryName="WC" localId="1882" locator="739:20-739:41" name="toInterval" xsi:type="FunctionRef"><operand localId="1881" locator="739:20-739:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="1894" locator="741:1-742:67" name="Birth weight in grams Value"><annotation xsi:type="a:Annotation"><a:s r="1894"><a:s>define "Birth weight in grams Value":
  </a:s><a:s r="1895"><a:s r="1900"><a:s r="1899"><a:s>First(</a:s><a:s r="1896"><a:s>"Birth weight in grams Observation"</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1900"><a:s>value</a:s></a:s></a:s><a:s> as </a:s><a:s r="1901"><a:s>FHIR.Quantity</a:s></a:s></a:s></a:s></annotation><expression localId="1895" locator="742:3-742:67" strict="false" xsi:type="As"><operand localId="1900" locator="742:3-742:50" path="value" xsi:type="Property"><source localId="1899" locator="742:3-742:44" xsi:type="First"><source localId="1896" locator="742:9-742:43" name="Birth weight in grams Observation" xsi:type="ExpressionRef"/></source></operand><asTypeSpecifier localId="1901" locator="742:55-742:67" name="fhir:Quantity" xsi:type="NamedTypeSpecifier"/></expression></def><def accessLevel="Public" context="Patient" localId="1904" locator="744:1-745:53" name="Birth weight in grams"><annotation xsi:type="a:Annotation"><a:s r="1904"><a:s>define "Birth weight in grams":
  </a:s><a:s r="1905"><a:s r="1907"><a:s r="1906"><a:s>"Birth weight in grams Value"</a:s></a:s><a:s>.</a:s><a:s r="1907"><a:s>value</a:s></a:s></a:s><a:s> as </a:s><a:s r="1908"><a:s>FHIR.decimal</a:s></a:s></a:s></a:s></annotation><expression localId="1905" locator="745:3-745:53" strict="false" xsi:type="As"><operand localId="1907" locator="745:3-745:37" path="value" xsi:type="Property"><source localId="1906" locator="745:3-745:31" name="Birth weight in grams Value" xsi:type="ExpressionRef"/></operand><asTypeSpecifier localId="1908" locator="745:42-745:53" name="fhir:decimal" xsi:type="NamedTypeSpecifier"/></expression></def><def accessLevel="Public" context="Patient" localId="1911" locator="751:1-752:33" name="Client's weight at birth was over 2000 g"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's weight at birth was over 2000 g"/><a:t name="pseudocode" value="&#34;Birth weight in grams&#34;  ≥ 2000"/><a:s r="1911"><a:s>/*
@input: Client's weight at birth was over 2000 g
@pseudocode: "Birth weight in grams"  ≥ 2000
*/
define "Client's weight at birth was over 2000 g":
  </a:s><a:s r="1912"><a:s r="1913"><a:s>"Birth weight in grams"</a:s></a:s><a:s r="1914"> &gt;= 2000</a:s></a:s></a:s></annotation><expression localId="1912" locator="752:3-752:33" xsi:type="GreaterOrEqual"><signature localId="1919" name="t:Decimal" xsi:type="NamedTypeSpecifier"/><signature localId="1920" name="t:Decimal" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1915" name="ToDecimal" xsi:type="FunctionRef"><operand localId="1913" locator="752:3-752:25" name="Birth weight in grams" xsi:type="ExpressionRef"/></operand><operand localId="1917" xsi:type="ToDecimal"><signature localId="1918" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="1914" locator="752:30-752:33" value="2000" valueType="t:Integer" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1923" locator="758:1-759:32" name="Client's weight at birth was below 2000 g"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client's weight at birth was below 2000 g"/><a:t name="pseudocode" value="&#34;Birth weight in grams&#34; &lt; 2000"/><a:s r="1923"><a:s>/*
@input: Client's weight at birth was below 2000 g
@pseudocode: "Birth weight in grams" &lt; 2000
*/
define "Client's weight at birth was below 2000 g":
  </a:s><a:s r="1924"><a:s r="1925"><a:s>"Birth weight in grams"</a:s></a:s><a:s r="1926"> &lt; 2000</a:s></a:s></a:s></annotation><expression localId="1924" locator="759:3-759:32" xsi:type="Less"><signature localId="1931" name="t:Decimal" xsi:type="NamedTypeSpecifier"/><signature localId="1932" name="t:Decimal" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1927" name="ToDecimal" xsi:type="FunctionRef"><operand localId="1925" locator="759:3-759:25" name="Birth weight in grams" xsi:type="ExpressionRef"/></operand><operand localId="1929" xsi:type="ToDecimal"><signature localId="1930" name="t:Integer" xsi:type="NamedTypeSpecifier"/><operand localId="1926" locator="759:29-759:32" value="2000" valueType="t:Integer" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="1935" locator="764:1-765:54" name="Preterm birth Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Preterm birth Observation"/><a:s r="1935"><a:s>/*
@internal: Preterm birth Observation
*/
define "Preterm birth Observation":
  </a:s><a:s r="1948"><a:s r="1939"><a:s>(</a:s><a:s r="1939"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Preterm birth"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1948"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1948" locator="765:3-765:54" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1939" locator="765:3-765:43" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1947" xsi:type="ToList"><operand libraryName="Concepts" localId="1938" locator="765:18-765:41" name="Preterm birth" xsi:type="CodeRef"/></codes></operand></expression></def><def accessLevel="Public" context="Patient" localId="1955" locator="778:1-779:62" name="Client was a premature infant at birth"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client was a premature infant at birth"/><a:t name="pseudocode" value="&#34;Preterm birth&#34; =  TRUE"/><a:s r="1955"><a:s>/*
@input: Client was a premature infant at birth
@pseudocode: "Preterm birth" =  TRUE
*/
define "Client was a premature infant at birth":
  </a:s><a:s r="1956"><a:s>exists</a:s><a:s r="1968"><a:s>( </a:s><a:s r="1968"><a:s><a:s r="1957"><a:s r="1958"><a:s><a:s>"Preterm birth Observation"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s> </a:s><a:s r="1960"><a:s>where </a:s><a:s r="1960"><a:s r="1962"><a:s r="1961"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="1962"><a:s>value</a:s></a:s></a:s><a:s r="1963"> = true</a:s></a:s></a:s></a:s><a:s> )</a:s></a:s></a:s></a:s></annotation><expression localId="1956" locator="779:3-779:62" xsi:type="Exists"><signature localId="1969" xsi:type="ListTypeSpecifier"><elementType localId="1970" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="1968" locator="779:9-779:62" xsi:type="Query"><source alias="O" localId="1957" locator="779:11-779:39"><expression localId="1958" locator="779:11-779:37" name="Preterm birth Observation" xsi:type="ExpressionRef"/></source><where localId="1960" locator="779:41-779:60" xsi:type="Equal"><signature localId="1966" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="1967" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="1965" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="1964" xsi:type="As"><operand localId="1962" locator="779:47-779:53" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="1963" locator="779:57-779:60" value="true" valueType="t:Boolean" xsi:type="Literal"/></where></operand></expression></def><def accessLevel="Public" context="Patient" localId="1951" locator="771:1-772:46" name="Client was not a premature infant at birth"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client was not a premature infant at birth"/><a:t name="pseudocode" value="&#34;Preterm birth&#34; ≠  TRUE"/><a:s r="1951"><a:s>/*
@input: Client was not a premature infant at birth
@pseudocode: "Preterm birth" ≠  TRUE
*/
define "Client was not a premature infant at birth":
  </a:s><a:s r="1952"><a:s>not </a:s><a:s r="1971"><a:s>"Client was a premature infant at birth"</a:s></a:s></a:s></a:s></annotation><expression localId="1952" locator="772:3-772:46" xsi:type="Not"><operand localId="1971" locator="772:7-772:46" name="Client was a premature infant at birth" xsi:type="ExpressionRef"/></expression></def><def accessLevel="Public" context="Patient" localId="1974" locator="784:1-785:81" name="Completed the primary vaccination series Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Completed the primary vaccination series Observation"/><a:s r="1974"><a:s>/*
@internal: Completed the primary vaccination series Observation
*/
define "Completed the primary vaccination series Observation":
  </a:s><a:s r="1987"><a:s r="1978"><a:s>(</a:s><a:s r="1978"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Completed the primary vaccination series"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="1987"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="1987" locator="785:3-785:81" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1978" locator="785:3-785:70" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="1986" xsi:type="ToList"><operand libraryName="Concepts" localId="1977" locator="785:18-785:68" name="Completed the primary vaccination series" xsi:type="CodeRef"/></codes></operand></expression></def><def accessLevel="Public" context="Patient" localId="1990" locator="790:1-791:80" name="At high risk for pneumococcal infection Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="At high risk for pneumococcal infection Observation"/><a:s r="1990"><a:s>/*
@internal: At high risk for pneumococcal infection Observation
*/
define "At high risk for pneumococcal infection Observation":
  </a:s><a:s r="2003"><a:s r="1994"><a:s>(</a:s><a:s r="1994"><a:s>[Observation: </a:s><a:s><a:s>Concepts."At high risk for pneumococcal infection"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="2003"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="2003" locator="791:3-791:80" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="1994" locator="791:3-791:69" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="2002" xsi:type="ToList"><operand libraryName="Concepts" localId="1993" locator="791:18-791:67" name="At high risk for pneumococcal infection" xsi:type="CodeRef"/></codes></operand></expression></def><def accessLevel="Public" context="Patient" localId="2006" locator="797:1-798:88" name="Client is at high risk for pneumococcal infection"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is at high risk for pneumococcal infection"/><a:t name="pseudocode" value="&#34;At high risk for pneumococcal infection&#34; = TRUE"/><a:s r="2006"><a:s>/*
@input: Client is at high risk for pneumococcal infection
@pseudocode: "At high risk for pneumococcal infection" = TRUE
*/
define "Client is at high risk for pneumococcal infection":
  </a:s><a:s r="2007"><a:s>exists</a:s><a:s r="2019"><a:s>( </a:s><a:s r="2019"><a:s><a:s r="2008"><a:s r="2009"><a:s><a:s>"At high risk for pneumococcal infection Observation"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s> </a:s><a:s r="2011"><a:s>where </a:s><a:s r="2011"><a:s r="2013"><a:s r="2012"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="2013"><a:s>value</a:s></a:s></a:s><a:s r="2014"> = true</a:s></a:s></a:s></a:s><a:s> )</a:s></a:s></a:s></a:s></annotation><expression localId="2007" locator="798:3-798:88" xsi:type="Exists"><signature localId="2020" xsi:type="ListTypeSpecifier"><elementType localId="2021" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="2019" locator="798:9-798:88" xsi:type="Query"><source alias="O" localId="2008" locator="798:11-798:65"><expression localId="2009" locator="798:11-798:63" name="At high risk for pneumococcal infection Observation" xsi:type="ExpressionRef"/></source><where localId="2011" locator="798:67-798:86" xsi:type="Equal"><signature localId="2017" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="2018" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="2016" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="2015" xsi:type="As"><operand localId="2013" locator="798:73-798:79" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="2014" locator="798:83-798:86" value="true" valueType="t:Boolean" xsi:type="Literal"/></where></operand></expression></def><def accessLevel="Public" context="Patient" localId="2024" locator="804:1-805:89" name="Client is not at high risk for pneumococcal infection"><annotation xsi:type="a:Annotation"><a:t name="input" value="Client is not at high risk for pneumococcal infection"/><a:t name="pseudocode" value="&#34;At high risk for pneumococcal infection&#34; = FALSE"/><a:s r="2024"><a:s>/*
@input: Client is not at high risk for pneumococcal infection
@pseudocode: "At high risk for pneumococcal infection" = FALSE
*/
define "Client is not at high risk for pneumococcal infection":
  </a:s><a:s r="2025"><a:s>exists</a:s><a:s r="2037"><a:s>( </a:s><a:s r="2037"><a:s><a:s r="2026"><a:s r="2027"><a:s><a:s>"At high risk for pneumococcal infection Observation"</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s> </a:s><a:s r="2029"><a:s>where </a:s><a:s r="2029"><a:s r="2031"><a:s r="2030"><a:s>O</a:s></a:s><a:s>.</a:s><a:s r="2031"><a:s>value</a:s></a:s></a:s><a:s r="2032"> = false</a:s></a:s></a:s></a:s><a:s> )</a:s></a:s></a:s></a:s></annotation><expression localId="2025" locator="805:3-805:89" xsi:type="Exists"><signature localId="2038" xsi:type="ListTypeSpecifier"><elementType localId="2039" name="fhir:Observation" xsi:type="NamedTypeSpecifier"/></signature><operand localId="2037" locator="805:9-805:89" xsi:type="Query"><source alias="O" localId="2026" locator="805:11-805:65"><expression localId="2027" locator="805:11-805:63" name="At high risk for pneumococcal infection Observation" xsi:type="ExpressionRef"/></source><where localId="2029" locator="805:67-805:87" xsi:type="Equal"><signature localId="2035" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><signature localId="2036" name="t:Boolean" xsi:type="NamedTypeSpecifier"/><operand libraryName="FHIRHelpers" localId="2034" name="ToBoolean" xsi:type="FunctionRef"><operand asType="fhir:boolean" localId="2033" xsi:type="As"><operand localId="2031" locator="805:73-805:79" path="value" scope="O" xsi:type="Property"/></operand></operand><operand localId="2032" locator="805:83-805:87" value="false" valueType="t:Boolean" xsi:type="Literal"/></where></operand></expression></def><def accessLevel="Public" context="Patient" localId="2042" locator="810:1-812:58" name="Date when primary vaccination series was completed Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Date when primary vaccination series was completed Observation"/><a:s r="2042"><a:s>/*
@internal: Date when primary vaccination series was completed Observation
*/
define "Date when primary vaccination series was completed Observation":
  </a:s><a:s r="2068"><a:s r="2067"><a:s>(</a:s><a:s r="2067"><a:s><a:s r="2043"><a:s r="2047"><a:s r="2047"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Date when primary vaccination series was completed"</a:s></a:s><a:s>]</a:s></a:s></a:s><a:s> O</a:s></a:s></a:s><a:s>
    </a:s><a:s r="2061"><a:s>sort by </a:s><a:s r="2060"><a:s r="2057"><a:s>end of </a:s><a:s r="2059"><a:s r="2058"><a:s>effective</a:s></a:s><a:s>.</a:s><a:s r="2059"><a:s>toInterval()</a:s></a:s></a:s></a:s><a:s> desc</a:s></a:s></a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="2068"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="2068" locator="811:3-812:58" name="complete" xsi:type="FunctionRef"><operand localId="2067" locator="811:3-812:47" xsi:type="Query"><source alias="O" localId="2043" locator="811:4-811:81"><expression codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="2047" locator="811:4-811:79" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="2055" xsi:type="ToList"><operand libraryName="Concepts" localId="2046" locator="811:18-811:78" name="Date when primary vaccination series was completed" xsi:type="CodeRef"/></codes></expression></source><sort localId="2061" locator="812:5-812:46"><by direction="desc" localId="2060" locator="812:13-812:46" xsi:type="ByExpression"><expression localId="2057" locator="812:13-812:41" xsi:type="End"><operand libraryName="WC" localId="2059" locator="812:20-812:41" name="toInterval" xsi:type="FunctionRef"><operand localId="2058" locator="812:20-812:28" name="effective" xsi:type="IdentifierRef"/></operand></expression></by></sort></operand></expression></def><def accessLevel="Public" context="Patient" localId="2071" locator="817:1-818:69" name="Completed the booster series Observation"><annotation xsi:type="a:Annotation"><a:t name="internal" value="Completed the booster series Observation"/><a:s r="2071"><a:s>/*
@internal: Completed the booster series Observation
*/
define "Completed the booster series Observation":
  </a:s><a:s r="2084"><a:s r="2075"><a:s>(</a:s><a:s r="2075"><a:s>[Observation: </a:s><a:s><a:s>Concepts."Completed the booster series"</a:s></a:s><a:s>]</a:s></a:s><a:s>)</a:s></a:s><a:s>.</a:s><a:s r="2084"><a:s>complete()</a:s></a:s></a:s></a:s></annotation><expression libraryName="WC" localId="2084" locator="818:3-818:69" name="complete" xsi:type="FunctionRef"><operand codeComparator="~" codeProperty="code" dataType="fhir:Observation" localId="2075" locator="818:3-818:58" templateId="http://hl7.org/fhir/StructureDefinition/Observation" xsi:type="Retrieve"><codes localId="2083" xsi:type="ToList"><operand libraryName="Concepts" localId="2074" locator="818:18-818:56" name="Completed the booster series" xsi:type="CodeRef"/></codes></operand></expression></def></statements></library>