WHO Immunization Implementation Guide
0.1.0 - CI Build International flag

WHO Immunization Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/WorldHealthOrganization/smart-immunizations and changes regularly. See the Directory of published versions

Library: IMMZIND08Measles

Official URL: http://smart.who.int/ig/smart-immunizations/Library/IMMZIND08Measles Version: 0.1.0
Draft as of 2024-05-30 Computable Name: IMMZIND08Measles

Related Artifacts

depends-onFHIR model informationhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
depends-onLibrary FHIRHelpershttp://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1
depends-onLibrary IMMZComIMMZCommon
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary IMMZConIMMZConfig
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onLibrary FCFHIRCommon
depends-onLibrary IndIMMZINDMeasles
depends-onLibrary StratifiersIMMZStratifiers
depends-onLibrary MeaslesIMMZD2DTMeaslesInput
depends-onCode system ISO-8601-Derived Periodshttp://ohie.org/CodeSystem/iso-8601-derived-periods
depends-onValue set MCV VaccineIMMZ.Z.DE9 ValueSet for Measles Vaccines

Parameters

Measurement Periodin01Period
Patientout01Patient
Initial Populationout01boolean
Numeratorout01boolean
Denominatorout01boolean
Stratification 1out01string
Stratification 2out01string
Stratification 3out01integer
Stratification 4out01Coding

Data Requirements

Type: Patient (Patient)
Type: Immunization (Immunization)
Type: Encounter (Encounter)

Contents

text/cql

/*
 * Library: IMMZ.IND.08.Measles
 * Immunization coverage for measles containing vaccine, 2nd dose 
 * The percentage in the target population who have received second dose of measles-containing vaccine during reporting period
 * 
 * 
 * References: WHO / UNICEF Joint Reporting Form
 *             WHO Immunization data portal
 */

library IMMZIND08Measles

// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include IMMZCommon called IMMZCom
include IMMZConcepts called IMMZc
include IMMZConfig called IMMZCon
//include IMMZIndicatorCommon called IMMZIndCom
include IMMZVaccineLibrary called IMMZvl
include FHIRCommon called FC
include IMMZINDMeasles called Ind
include IMMZStratifiers called Stratifiers
// End Skeleton CQL
parameter "Measurement Period" Interval<DateTime> default Interval[@2023-01-01T00:00:00.0, @2023-12-31T23:59:59.9]

context Patient

/*
@population: Initial population for second dose: Any one over 15 months
*/ 
define "Initial Population":
	Patient.birthDate + 15 months before end of "Measurement Period"

/*
@numerator: Number of Measles doses (2nd dose) administered through routine services during reporting period
@computation: COUNT of immunization events WHERE "Vaccine type" = "Measles containing vaccines" for the second dose in the primary series (MCV2) AND "Date and time of vaccination" is during the reporting period 
*/
define "Numerator":
	exists( Ind."Measles Doses in Measurement Period" I where IMMZCom.ToPositiveInt((singleton from I.protocolApplied).doseNumber) = 2 )

/*
@denominator: Number in target group
@computation: As defined by the Member States
*/
define "Denominator":
	"Initial Population"

/*
@disaggregation: Administrative area
                 Sex
                 Age in years
                 Age group (depending on schedule)
*/
define "Stratification 1":
	Stratifiers."Administrative Area"

define "Stratification 2":
	Stratifiers."Sex"

define "Stratification 3":
	Stratifiers."Age"

define "Stratification 4":
	Stratifiers."Age Group"

Content not shown - (application/elm+xml, size = 19Kb )

Content not shown - (application/elm+json, size = 33Kb )