<?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="296"><a:s>/*
 * Library: IMMZ.IND.18 Logic
 * Immunization coverage for pneumococcal conjugate vaccine, 2nd dose
 * The percentage in the target population who have received a 2nd dose of pneumococcal conjugate vaccine during the reporting period
 * 
 * Numerator: Number of pneumococcal vaccine doses (2nd dose) administered through routine services during the reporting period
 * Numerator Computation: COUNT of immunization events WHERE "Vaccine type" = "Pneumococcal vaccines" for the 2nd 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/UNICEF joint reporting form (1)
 *   WHO Immunization data portal (2)
 *   WHO Immunization facility analysis guide (5)
 *   WHO Handbook on immunization data (6)
 * 
 * Annotations: The calculation for this indicator is in line with the administrative calculation provided on the WHO Immunization data portal.
 *   As per WHO Immunization data portal, recommended denominator used in the administrative coverage calculation is surviving infants for doses recommended in the first year of life. Then, the single age cohort population estimates for the targeted cohort.
 */
library IMMZIND18Logic</a:s></a:s></annotation><identifier id="IMMZIND18Logic" 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="27:1-27: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="29:1-29: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="31:1-31: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="33:1-33: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="34:1-34: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="35:1-35: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="Pneumococcal" locator="37:1-37:56" path="http://smart.who.int/immunizations/IMMZD2DTPneumococcalElements"><annotation xsi:type="a:Annotation"><a:s r="218"><a:s>include </a:s><a:s><a:s>IMMZD2DTPneumococcalElements</a:s></a:s><a:s> called Pneumococcal</a:s></a:s></annotation></def></includes><parameters><def accessLevel="Public" localId="220" locator="39:1-39:88" name="Measurement Period"><annotation xsi:type="a:Annotation"><a:s r="220"><a:s>parameter "Measurement Period" </a:s><a:s r="232"><a:s>Interval&lt;</a:s><a:s r="233"><a:s>Date</a:s></a:s><a:s>&gt;</a:s></a:s><a:s> default </a:s><a:s r="231"><a:s r="225">Interval[@2025-01-01, @2025-12-31]</a:s></a:s></a:s></annotation><default highClosed="true" localId="231" locator="39:55-39:88" lowClosed="true" xsi:type="Interval"><low localId="225" locator="39:64-39:74" xsi:type="Date"><year localId="222" value="2025" valueType="t:Integer" xsi:type="Literal"/><month localId="223" value="1" valueType="t:Integer" xsi:type="Literal"/><day localId="224" value="1" valueType="t:Integer" xsi:type="Literal"/></low><high localId="230" locator="39:77-39:87" xsi:type="Date"><year localId="227" value="2025" valueType="t:Integer" xsi:type="Literal"/><month localId="228" value="12" valueType="t:Integer" xsi:type="Literal"/><day localId="229" value="31" valueType="t:Integer" xsi:type="Literal"/></high></default><parameterTypeSpecifier localId="232" locator="39:32-39:45" xsi:type="IntervalTypeSpecifier"><pointType localId="233" locator="39:41-39:44" name="t:Date" xsi:type="NamedTypeSpecifier"/></parameterTypeSpecifier></def></parameters><contexts><def localId="238" locator="41:1-41:15" name="Patient"/></contexts><statements><def context="Patient" localId="236" locator="41:1-41:15" name="Patient"><expression localId="237" xsi:type="SingletonFrom"><operand dataType="fhir:Patient" localId="235" locator="41:1-41:15" templateId="http://hl7.org/fhir/StructureDefinition/Patient" xsi:type="Retrieve"/></expression></def><def accessLevel="Public" context="Patient" localId="241" locator="46:1-47:6" name="Initial Population"><annotation xsi:type="a:Annotation"><a:s r="241"><a:s r="242">/*
 * As defined by Member State
 */
define "Initial Population":
  true</a:s></a:s></annotation><expression localId="242" locator="47:3-47:6" value="true" valueType="t:Boolean" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="245" locator="53:1-54: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="245"><a:s r="246">/*
@denominator: Number in target group
@pseudocode: As defined by the Member States
*/
define "Denominator":
  true</a:s></a:s></annotation><expression localId="246" locator="54:3-54:6" value="true" valueType="t:Boolean" xsi:type="Literal"/></def><def accessLevel="Public" context="Patient" localId="249" locator="60:1-62:72" name="Numerator"><annotation xsi:type="a:Annotation"><a:t name="numerator" value="Number of pneumococcal vaccine doses (2nd dose) administered through routine services during the reporting period"/><a:t name="pseudocode" value="&#34;Vaccine type&#34; = &#34;Pneumococcal vaccines&#34; for the 2nd dose in the primary series AND &#34;Date and time of vaccination&#34; is during the reporting period"/><a:s r="249"><a:s>/*
@numerator: Number of pneumococcal vaccine doses (2nd dose) administered through routine services during the reporting period
@pseudocode: COUNT of immunization events WHERE "Vaccine type" = "Pneumococcal vaccines" for the 2nd dose in the primary series AND "Date and time of vaccination" is during the reporting period
*/
define "Numerator":
  </a:s><a:s r="250"><a:s>exists</a:s><a:s r="278"><a:s>( </a:s><a:s r="278"><a:s><a:s r="251"><a:s r="256"><a:s>(</a:s><a:s r="256"><a:s r="253"><a:s r="252"><a:s>Pneumococcal</a:s></a:s><a:s>.</a:s><a:s r="253"><a:s>"Pneumococcal Primary Series Doses Administered to Patient"</a:s></a:s></a:s><a:s>.</a:s><a:s r="256"><a:s>getDose(</a:s><a:s r="254"><a:s>'2'</a:s></a:s><a:s>)</a:s></a:s></a:s><a:s>)</a:s></a:s><a:s> I</a:s></a:s></a:s><a:s>
    </a:s><a:s r="266"><a:s>where </a:s><a:s r="266"><a:s r="263"><a:s r="262"><a:s r="261"><a:s>I</a:s></a:s><a:s>.</a:s><a:s r="262"><a:s>occurrence</a:s></a:s></a:s><a:s>.</a:s><a:s r="263"><a:s>toInterval()</a:s></a:s></a:s><a:s r="266"> starts during </a:s><a:s r="264"><a:s>"Measurement Period"</a:s></a:s></a:s></a:s></a:s><a:s> )</a:s></a:s></a:s></a:s></annotation><expression localId="250" locator="61:3-62:72" xsi:type="Exists"><operand localId="278" locator="61:9-62:72" xsi:type="Query"><source alias="I" localId="251" locator="61:11-61:99"><expression libraryName="Common" localId="256" locator="61:11-61:97" name="getDose" xsi:type="FunctionRef"><signature localId="257" xsi:type="ListTypeSpecifier"><elementType localId="258" name="fhir:Immunization" xsi:type="NamedTypeSpecifier"/></signature><signature localId="259" name="t:String" xsi:type="NamedTypeSpecifier"/><operand libraryName="Pneumococcal" localId="253" locator="61:12-61:83" name="Pneumococcal Primary Series Doses Administered to Patient" xsi:type="ExpressionRef"/><operand localId="254" locator="61:93-61:95" value="2" valueType="t:String" xsi:type="Literal"/></expression></source><where localId="266" locator="62:5-62:70" xsi:type="In"><operand localId="265" locator="62:37-62:42" xsi:type="Start"><operand libraryName="WC" localId="263" locator="62:11-62:35" name="toInterval" xsi:type="FunctionRef"><operand localId="262" locator="62:11-62:22" path="occurrence" scope="I" xsi:type="Property"/></operand></operand><operand localId="267" xsi:type="Interval"><low localId="270" xsi:type="ToDateTime"><signature localId="271" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="268" path="low" xsi:type="Property"><source localId="264" locator="62:51-62:70" name="Measurement Period" xsi:type="ParameterRef"/></operand></low><lowClosedExpression localId="272" path="lowClosed" xsi:type="Property"><source localId="264" locator="62:51-62:70" name="Measurement Period" xsi:type="ParameterRef"/></lowClosedExpression><high localId="275" xsi:type="ToDateTime"><signature localId="276" name="t:Date" xsi:type="NamedTypeSpecifier"/><operand localId="273" path="high" xsi:type="Property"><source localId="264" locator="62:51-62:70" name="Measurement Period" xsi:type="ParameterRef"/></operand></high><highClosedExpression localId="277" path="highClosed" xsi:type="Property"><source localId="264" locator="62:51-62:70" name="Measurement Period" xsi:type="ParameterRef"/></highClosedExpression></operand></where></operand></expression></def><def accessLevel="Public" context="Patient" localId="281" locator="70:1-71: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="281"><a:s>/*
@disaggregation: Administrative area
                 Sex
                 Age in years
                 Age group (depending on schedule)
*/
define "Stratification 1":
	</a:s><a:s r="283"><a:s r="282"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="283"><a:s>"By Geographic Region Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="283" locator="71:2-71:43" name="By Geographic Region Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="286" locator="73:1-74:47" name="Stratification 2"><annotation xsi:type="a:Annotation"><a:s r="286"><a:s>define "Stratification 2":
	</a:s><a:s r="288"><a:s r="287"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="288"><a:s>"By Administrative Gender Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="288" locator="74:2-74:47" name="By Administrative Gender Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="291" locator="76:1-77:26" name="Stratification 3"><annotation xsi:type="a:Annotation"><a:s r="291"><a:s>define "Stratification 3":
	</a:s><a:s r="293"><a:s r="292"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="293"><a:s>"Age Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="293" locator="77:2-77:26" name="Age Stratifier" xsi:type="ExpressionRef"/></def><def accessLevel="Public" context="Patient" localId="296" locator="79:1-80:37" name="Stratification 4"><annotation xsi:type="a:Annotation"><a:s r="296"><a:s>define "Stratification 4":
	</a:s><a:s r="298"><a:s r="297"><a:s>Elements</a:s></a:s><a:s>.</a:s><a:s r="298"><a:s>"Toddler By Age Stratifier"</a:s></a:s></a:s></a:s></annotation><expression libraryName="Elements" localId="298" locator="80:2-80:37" name="Toddler By Age Stratifier" xsi:type="ExpressionRef"/></def></statements></library>