/*
* Library: IMMZ.IND.05 Logic
* Immunization coverage for hepatitis B-containing vaccines (birth dose)
* The percentage in the target population who received hepatitis B-containing vaccine birth dose within the first 24 hours of birth during the reporting period
*
* Numerator: Number of hepatitis B-containing vaccine birth doses administered through routine services during the reporting period
* Numerator Computation: COUNT of immunization events WHERE "Vaccine type" = "Hepatitis B-containing vaccines" AND "Dose 0 administered" = "Yes" 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: < 24 hours of birth
*
* 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 live births.
*/
library IMMZIND05Logic
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
include IMMZD2DTHepatitisBElements called HepB
parameter "Measurement Period" Interval<Date> default Interval[@2025-01-01, @2025-12-31]
context Patient
/*
* As defined by Member State
*/
define "Initial Population":
true
/*
@denominator: Number in target group
@pseudocode: As defined by the Member States
*/
define "Denominator":
true
/*
@numerator: Number of hepatitis B-containing vaccine birth doses administered through routine services during the reporting period
@pseudocode: COUNT of immunization events WHERE "Vaccine type" = "Hepatitis B-containing vaccines" AND "Dose 0 administered" = "Yes" AND "Date and time of vaccination" is during the reporting period
*/
define "Numerator":
exists( HepB."Hepatitis B Dose 0 Doses Administered to Patient" I
where I.occurrence.toInterval() starts during "Measurement Period" )
/*
@disaggregation: Administrative area
Sex
Age in years
Age group: < 24 hours of birth
*/
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."Infant By Age Stratifier"