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: IMMZDT20

Official URL: http://fhir.org/guides/who/smart-immunization/Library/IMMZDT20 Version: 0.1.0
Draft as of 2023-04-13 Computable Name: IMMZDT20

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 IMMZConIMMZConfig
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onValue set Mumps Vaccinehttp://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE11

Parameters

Patientout01Patient
MUMPS vaccine historyout0*Immunization
No-dosesout01boolean
Ageout01integer
Should vaccinate Patient for MUMPS because no doses on 2 dose schemeout01boolean
Should vaccinate Patient for MUMPS a second dose on a 2 dose schemeout01boolean

Data Requirements

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

Contents

text/cql

/*
 * Library: IMMZDT20 (IMMZ.DT.20.Mumps)
 * Rule: If child or person has not been vaccinated against Mumps, give Mumps vaccine 
 * Trigger: Patient has never had the Mumps vaccination, or missing doses in the vaccination schedule
 */
library IMMZDT20
// 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 IMMZVaccineLibrary called IMMZvl
// End Skeleton CQL
context Patient

/* 
 * @dataElement MUMPS vaccine history
 */
define "MUMPS vaccine history":
	IMMZCom."Mumps Doses Administered to Patient"

/* 
 * @dataElement No-doses
 */
define "No-doses":
	not exists("MUMPS vaccine history")

/* 
 * @dataElement Age
 */
define "Age":
	IMMZCom."Current Patient Age In Months"

/*
 * Rule: Should vaccinate Patient for MUMPS because no doses on 2 dose scheme
 * Annotations:
 * 	 - Provide MUMPS immunizations - using the "MUMPS vaccine immunization - NO PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for MUMPS - 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:
 *	 ((("MUMPS vaccine history" = "No-doses") and ("Age" < "19 months")) and ("Age" > "11 months"))
 */
define "Should vaccinate Patient for MUMPS because no doses on 2 dose scheme":
	"No-doses" and "Age" >= 12 and IMMZCon."Country recognizes MUMPS reduction as a public health priority"

/*
 * Rule: Should vaccinate Patient for MUMPS a second dose on a 2 dose scheme
 * Annotations:
 * 	 - Provide MUMPS immunizations - using the "MUMPS vaccine immunization - ONE PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for MUMPS - One Dose
 * 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:
 *	 (("Age" < "19 months") and ("Age" > "11 months"))
 */
define "Should vaccinate Patient for MUMPS a second dose on a 2 dose scheme":
	IMMZCom."Number of Mumps Doses Administered to Patient" = 1
	and IMMZCom."Date last Mumps dose Administered to Patient" more than 12 month before Today()

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

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