WHO Immunization Implementation Guide
0.2.0 - ci-build

WHO Immunization Implementation Guide, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.2.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: IMMZIND44Logic

Official URL: http://smart.who.int/immunizations/Library/IMMZIND44Logic Version: 0.2.0
Draft as of 2025-09-17 Computable Name: IMMZIND44Logic

This library defines population criteria logic for the IMMZ.IND.44 indicator in the Immunization CPG

Title: IMMZIND44Logic
Id: IMMZIND44Logic
Version: 0.2.0
Url: IMMZIND44Logic
Status: draft
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-09-17 23:03:28+0000
Publisher: WHO
Description:

This library defines population criteria logic for the IMMZ.IND.44 indicator in the Immunization CPG

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
Measurement PeriodPeriod01In
ImmunizationImmunization01Out
Initial Populationboolean01Out
Denominatorboolean01Out
Numeratorboolean01Out
Stratification 1Coding01Out
Stratification 2Reference01Out
Stratification 3Coding01Out
Stratification 4string01Out
Stratification 5Coding01Out
Content: text/cql
/*
 * Library: IMMZ.IND.44 Logic
 * Adverse event following immunization (AEFI) cases
 * The total number of adverse events following the administration of vaccines during the reporting period
 * 
 * Numerator: Number of AEFI cases during the reporting period
 * Numerator Computation: COUNT of immunization events WHERE "Reaction reported" is "Yes" AND "Date and time of vaccination" is during the reporting period
 * Denominator: Not applicable
 * Denominator Computation: Not applicable
 * 
 * Disaggregation
 *  - Vaccine type: BCG, OPV, etc.
 *  - Vaccine manufacturer
 *  - Type of reaction: non-serious, disability, etc.
 *  - Administrative area
 *  - Reaction manifestation: rash, vomiting, etc.
 *
 * References: WHO Immunization facility analysis guide (5)
 * 
 * Annotations: –
 */
library IMMZIND44Logic

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

include WHOCommon called WC

include IMMZCommon called Common
include IMMZConcepts called Concepts
include IMMZIndicatorElements called Elements


parameter "Measurement Period" Interval<Date> default Interval[@2025-01-01, @2025-12-31]

context Immunization

/*
 * As defined by Member State
 */
define "Initial Population":
  true

/*
@denominator: Not applicable
@pseudocode: Not applicable
*/
define "Denominator":
  true

/*
@numerator: Number of AEFI cases during the reporting period
@pseudocode: COUNT of immunization events WHERE "Reaction reported" is "Yes" AND "Date and time of vaccination" is during the reporting period
*/
define "Numerator":
  exists Elements."Adverse Events for Immunization"

/*
@disaggregation: Vaccine type: BCG, OPV, etc.
                 Vaccine manufacturer
                 Type of reaction: non-serious, disability, etc.
                 Administrative area
                 Reaction manifestation: rash, vomiting, etc.
*/
define "Stratification 1":
  First( Immunization.vaccineCode.coding )

define "Stratification 2":
  Immunization.manufacturer

define "Stratification 3":
  First( First (Elements."Adverse Events for Immunization" ).seriousness.coding )

define "Stratification 4":
  Elements.GetGeographicRegionForImmunization( Immunization )

define "Stratification 5":
  First( First (Elements."Adverse Events for Immunization" ).event.coding )  
/*
define "Stratification 1":
	Elements."By Geographic Region Stratifier"

define "Stratification 2":
	Elements."By Administrative Gender Stratifier"

define "Stratification 3":
	Elements."Age Stratifier"

define "Stratification 4":
	Elements."By Age Group Stratifier"
*/
Content: application/elm+xml
Encoded data (24336 characters)