WHO Immunization Implementation Guide
0.1.0 - CI Build International flag

WHO Immunization Implementation Guide, published by World Health Organization (WHO). This is not an authorized publication; it is the continuous build for version 0.1.0). 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: IMMZDT22

Official URL: http://fhir.org/guides/who/smart-immunization/Library/IMMZDT22 Version: 0.1.0
Draft as of 2023-08-02 Computable Name: IMMZDT22

Related Artifacts

depends-onFHIR model informationhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
depends-onLibrary FHIRHelpershttp://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1
depends-onLibrary IMMZComIMMZCommon
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary IMMZConfIMMZConfig
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onLibrary FCFHIRCommon
depends-onLibrary WconWHOConcepts
depends-onValue set Varicella Vaccinehttp://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE22
depends-onValue set Pregnancy Status Pregnanthttp://fhir.org/guides/who/core/ValueSet/pregnancystatus-values

Parameters

Patientout01Patient
Should vaccinate patient with Varicella vaccine because no doses in a 2 dose schemeout01boolean
Should vaccinate patient with Varicella vaccine because 1 dose given 4 weeks ago in a 2 dose schemeout01boolean

Data Requirements

Type: Patient (Patient)
Type: Immunization (Immunization)
Type: Observation (Observation)
Type: Condition (Condition)

Contents

text/cql

/*
 * Library: IMMZDT22 (IMMZ.DT.22.Varicella)
 * Rule: If child or person has not been vaccinated against Varicella 
 * Trigger: Patient has never had the Varicella vaccination or shows no evidence of Varciella immunity
 */
library IMMZDT22
// 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 IMMZConf
include IMMZVaccineLibrary called IMMZvl
include FHIRCommon called FC
// End Skeleton CQL
context Patient

/*
 * Rule: Should vaccinate patient with Varicella vaccine because no doses in a 2 dose scheme
 * Annotations:
 * 	 - Provide Varicella immunizations – using the "Varicella vaccine immunization – NO PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Varicella- No Doses
 * References:
 * 	- WHO recommendations for routine immunization - summary tables: https://www.who.int/teams/immunization-vaccines-and-biologicals/policies/who-recommendations-for-routine-immunization---summary-tables
 * Logic:
 *	 (((("Varicella vaccine immunization history" = "No-doses") and ("Current Patient Age in Months" >= 12)) and ("Pregnancy Status" = false)) and ("Country recognizes Varicella an important public health burden" = true))
 */
define "Should vaccinate patient with Varicella vaccine because no doses in a 2 dose scheme":
	IMMZCom."No Varicella Doses Administered to Patient"
	and IMMZCom."Current Patient Age In Months" >= 12
	and not(IMMZCom."Pregnant")
	and IMMZConf."Country recognizes Varicella an important public health burden"

/*
 * Rule: Should vaccinate patient with Varicella vaccine because 1 dose given 4 weeks ago in a 2 dose scheme
 * Annotations:
 * 	 - Provide Varicella immunizations – using the "Varicella vaccine immunization – 1 PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Varicella -  1st dose given between 4 weeks and 3 months ago
 * References:
 * 	- WHO recommendations for routine immunization - summary tables: https://www.who.int/teams/immunization-vaccines-and-biologicals/policies/who-recommendations-for-routine-immunization---summary-tables
 * Logic:
 *	 ((("Varicella vaccine immunization history" = "1 dose") and ("Date last Varicella dose given" >= "4 weeks")) and ("Pregnancy Status" = false))
 */
define "Should vaccinate patient with Varicella vaccine because 1 dose given 4 weeks ago in a 2 dose scheme":
	IMMZCom."Number of Varicella Doses Administered to Patient" = 1
	and IMMZCom."Date Last Varicella Dose Administered to Patient" more than 4 weeks before Today()
	and not(IMMZCom."Pregnant")

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

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