<?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="278"><a:s>/*
 * Library: IMMZ.IND.12 Logic
 * Immunization coverage for measles and rubella-containing vaccine, 1st dose
 * The percentage in the target population who have received a 1st dose of measles and rubella-containing vaccine during the reporting period
 * 
 * Numerator: Number of measles and rubella-containing vaccine doses (1st dose) administered through routine services during the reporting period
 * Numerator Computation: COUNT of immunization events WHERE "Vaccine type" = "Measles and rubella-containing vaccines" for the 1st dose in the primary series AND "Date and time of vaccination" is during the reporting period
 * Denominator: Number in target group
 * Denominator Computation: As defined by the Member States
 * 
 * Disaggregation
 *  - Administrative area
 *  - Sex
 *  - Age in years
 *  - Age group (depending on schedule)
 *
 * References: WHO Immunization facility analysis guide (5)
 *   WHO Handbook on immunization data (6)
 * 
 * Annotations: –
 */
library IMMZIND12Logic</a:s></a:s></annotation><identifier id="IMMZIND12Logic" 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="24:1-24: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="26:1-26: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="WC" locator="28:1-28:27" path="http://smart.who.int/immunizations/WHOCommon"><annotation xsi:type="a:Annotation"><a:s r="210"><a:s>include </a:s><a:s><a:s>WHOCommon</a:s></a:s><a:s> called WC</a:s></a:s></annotation></def><def localId="212" localIdentifier="Common" locator="30:1-30:32" path="http://smart.who.int/immunizations/IMMZCommon"><annotation xsi:type="a:Annotation"><a:s r="212"><a:s>include </a:s><a:s><a:s>IMMZCommon</a:s></a:s><a:s> called Common</a:s></a:s></annotation></def><def localId="214" localIdentifier="Concepts" locator="31:1-31:36" path="http://smart.who.int/immunizations/IMMZConcepts"><annotation xsi:type="a:Annotation"><a:s r="214"><a:s>include </a:s><a:s><a:s>IMMZConcepts</a:s></a:s><a:s> called Concepts</a:s></a:s></annotation></def><def localId="216" localIdentifier="Elements" locator="32:1-32:45" path="http://smart.who.int/immunizations/IMMZIndicatorElements"><annotation xsi:type="a:Annotation"><a:s r="216"><a:s>include </a:s><a:s><a:s>IMMZIndicatorElements</a:s></a:s><a:s> called Elements</a:s></a:s></annotation></def><def localId="218" localIdentifier="Measles" locator="34:1-34:46" path="http://smart.who.int/immunizations/IMMZD2DTMeaslesElements"><annotation xsi:type="a:Annotation"><a:s r="218"><a:s>include </a:s><a:s><a:s>IMMZD2DTMeaslesElements</a:s></a:s><a:s> called Measles</a:s></a:s></annotation></def><def localId="220" localIdentifier="Rubella" locator="35:1-35:46" path="http://smart.who.int/immunizations/IMMZD2DTRubellaElements"><annotation xsi:type="a:Annotation"><a:s r="220"><a:s>include </a:s><a:s><a:s>IMMZD2DTRubellaElements</a:s></a:s><a:s> called Rubella</a:s></a:s></annotation></def></includes><parameters><def accessLevel="Public" localId="222" locator="37:1-37:88" name="Measurement Period"><annotation xsi:type="a:Annotation"><a:s r="222"><a:s>parameter "Measurement Period" </a:s><a:s r="234"><a:s>Interval&lt;</a:s><a:s r="235"><a:s>Date</a:s></a:s><a:s>&gt;</a:s></a:s><a:s> default </a:s><a:s r="233"><a:s r="227">Interval[@2025-01-01, @2025-12-31]</a:s></a:s></a:s></annotation><default highClosed="true" localId="233" locator="37:55-37:88" lowClosed="true" xsi:type="Interval"><low localId="227" locator="37:64-37:74" xsi:type="Date"><year localId="224" value="2025" valueType="t:Integer" xsi:type="Literal"/><month localId="225" value="1" valueType="t:Integer" xsi:type="Literal"/><day localId="226" value="1" valueType="t:Integer" xsi:type="Literal"/></low><high localId="232" locator="37:77-37:87" xsi:type="Date"><year localId="229" value="2025" valueType="t:Integer" xsi:type="Literal"/><month localId="230" value="12" valueType="t:Integer" xsi:type="Literal"/><day localId="231" value="31" valueType="t:Integer" xsi:type="Literal"/></high></default><parameterTypeSpecifier localId="234" locator="37:32-37:45" xsi:type="IntervalTypeSpecifier"><pointType localId="235" locator="37:41-37:44" name="t:Date" xsi:type="NamedTypeSpecifier"/></parameterTypeSpecifier></def></parameters><contexts><def localId="240" locator="39:1-39:15" name="Patient"/></contexts><statements><def context="Patient" localId="238" locator="39:1-39:15" name="Patient"><expression localId="239" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="237" locator="39:1-39:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="243" locator="44:1-45:6" name="Initial Population"><annotation xsi:type="a:Annotation"><a:s r="243"><a:s r="244">/*
 * As defined by Member State
 */
define "Initial Population":
  true</a:s></a:s></annotation><expression localId="244" locator="45:3-45:6" value="true" valueType="t:Boolean" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="247" locator="51:1-52:6" name="Denominator"><annotation xsi:type="a:Annotation"><a:t name="denominator" value="Number in target group"/><a:t name="pseudocode" value="As defined by the Member States"/><a:s r="247"><a:s r="248">/*
@denominator: Number in target group
@pseudocode: As defined by the Member States
*/
define "Denominator":
  true</a:s></a:s></annotation><expression localId="248" locator="52:3-52:6" value="true" valueType="t:Boolean" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="251" locator="58:1-59:111" name="Numerator"><annotation xsi:type="a:Annotation"><a:t name="numerator" value="Number of measles and rubella-containing vaccine doses (1st dose) administered through routine services during the reporting period"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;Measles and rubella-containing vaccines&#34; for the 1st dose in the primary series AND &#34;Date and time of vaccination&#34; is during the reporting period"/><a:s r="251"><a:s>/*
@numerator: Number of measles and rubella-containing vaccine doses (1st dose) administered through routine services during the reporting period
@pseudocode: COUNT of immunization events WHERE "Vaccine type" = "Measles and rubella-containing vaccines" for the 1st dose in the primary series AND "Date and time of vaccination" is during the reporting period
*/
define "Numerator":
  </a:s><a:s r="252"><a:s>exists</a:s><a:s r="257"><a:s>( </a:s><a:s r="257"><a:s r="254"><a:s r="253"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="254"><a:s>"Measles and Rubella Doses Administered to Patient During Measurement Period"</a:s></a:s></a:s><a:s>.</a:s><a:s r="257"><a:s>getDose(</a:s><a:s r="255"><a:s>'1'</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="252" locator="59:3-59:111" xsi:type="Exists"><operand libraryName="Common" localId="257" locator="59:9-59:111" name="getDose" xsi:type="FunctionRef"><signature localId="258" xsi:type="ListTypeSpecifier"><elementType localId="259" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/></signature><signature localId="260" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="Elements" localId="254" locator="59:11-59:96" name="Measles and Rubella Doses Administered to Patient During Measurement Period" xsi:type="ExpressionRef"/><operand localId="255" locator="59:106-59:108" value="1" valueType="t:String" xsi:type="Literal"/></operand></expression></def><def accessLevel="Public" context="Patient" localId="263" locator="69:1-70:43" name="Stratification 1"><annotation xsi:type="a:Annotation"><a:t name="disaggregation" value="Administrative area&#xA;                 Sex&#xA;                 Age in years&#xA;                 Age group (depending on schedule)"/><a:s r="263"><a:s>/*
@disaggregation: Administrative area
                 Sex
                 Age in years
                 Age group (depending on schedule)
*/
define "Stratification 1":
	</a:s><a:s r="265"><a:s r="264"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="265"><a:s>"By Geographic Region Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="265" locator="70:2-70:43" name="By Geographic Region Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="268" locator="72:1-73:47" name="Stratification 2"><annotation xsi:type="a:Annotation"><a:s r="268"><a:s>define "Stratification 2":
	</a:s><a:s r="270"><a:s r="269"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="270"><a:s>"By Administrative Gender Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="270" locator="73:2-73:47" name="By Administrative Gender Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="273" locator="75:1-76:26" name="Stratification 3"><annotation xsi:type="a:Annotation"><a:s r="273"><a:s>define "Stratification 3":
	</a:s><a:s r="275"><a:s r="274"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="275"><a:s>"Age Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="275" locator="76:2-76:26" name="Age Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="278" locator="78:1-79:37" name="Stratification 4"><annotation xsi:type="a:Annotation"><a:s r="278"><a:s>define "Stratification 4":
	</a:s><a:s r="280"><a:s r="279"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="280"><a:s>"Toddler By Age Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="280" locator="79:2-79:37" name="Toddler By Age Stratifier" xsi:type="ExpressionRef"/></def></statements></library>