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

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

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-onLibrary FCFHIRCommon
depends-onLibrary WconWHOConcepts
depends-onValue set Japanese Encephalitis Vaccinehttp://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE8
depends-onValue set Inactivated Vero cell-derived Japanese Encephalitis vaccinesInactivated Vero cell-derived Japanese Encephalitis vaccines valueset
depends-onValue set Pregnancy Status Pregnanthttp://fhir.org/guides/who/core/ValueSet/pregnancystatus-values

Parameters

Patientout01Patient
Should vaccinate patient for Japanese Encephalitis because no doses in a 2 dose schemeout01boolean
Should vaccinate patient for Japanese Encephalitis because 1 dose in a 2 dose schemeout01boolean
Should vaccinate patient for Japanese Encephalitis because no doses in a 1 dose schemeout01boolean

Data Requirements

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

Contents

text/cql

/*
 * Library: IMMZDT11 (IMMZ.DT.11.JE)
 * Rule: If child or person has not been vaccinated, give Japanese Encephalitis vaccine according to the defined schedule 
 * Trigger: Patient has never received Japanese Encephalitis vaccination
 */
library IMMZDT11
// 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
include FHIRCommon called FC
// End Skeleton CQL
context Patient

/*
 * Rule: Should vaccinate patient for Japanese Encephalitis because no doses in a 2 dose scheme
 * Annotations:
 * 	 - Provide Japanese Encephalitis immunizations – using the "Japanese Encephalitis vaccine immunization – NO PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Japanese Encephalitis - 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:
 *	 (((("Japanese Encephalitis vaccine immunization history" = "No-doses" = true) and ("Current Patient Age in Months" >= 6)) and ("Country is administering Inactivated Vero cell-derived antigen" = true)) and ("Country recognizes JE as a health priority" = true))
 */
define "Should vaccinate patient for Japanese Encephalitis because no doses in a 2 dose scheme":
	IMMZCom."No JE Doses Administered to Patient"
	and IMMZCom."Current Patient Age In Months" >= 6
	and IMMZCon."Country is administering Inactivated Vero cell-derived JE antigen"
	and IMMZCon."Country recognizes JE as a health priority"

/*
 * Rule: Should vaccinate patient for Japanese Encephalitis because 1 dose in a 2 dose scheme
 * Annotations:
 * 	 - Provide Japanese Encephalitis immunizations – using the "Japanese Encephalitis vaccine immunization – Inactivated Vero cell-derived" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Japanese Encephalitis - 2nd 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:
 *	 (((("Japanese Encephalitis vaccine immunization history" = "1 dose" = true) and ("Date last JE dose given" >= "4 weeks" = true)) and ("Type of last JE dose" = "Inactivated Vero cell-derived")) and ("Country recognizes JE as a health priority" = true))
 */
define "Should vaccinate patient for Japanese Encephalitis because 1 dose in a 2 dose scheme":
	IMMZCom."Number of JE Doses Administered to Patient" = 1
	and IMMZCom."Date Last JE Dose Administered to Patient" more than 4 week before Today()
	and IMMZCom."Type of Last JE Dose Administered to Patient" in IMMZc."Inactivated Vero cell-derived Japanese Encephalitis vaccines"
	and IMMZCon."Country recognizes JE as a health priority"

/*
 * Rule: Should vaccinate patient for Japanese Encephalitis because no doses in a 1 dose scheme
 * Annotations:
 * 	 - Provide Japanese Encephalitis immunizations – using the "Japanese Encephalitis vaccine immunization – NO PREVIOUS" schedule (1 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Japanese Encephalitis - 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:
 *	 (((((("Japanese Encephalitis vaccine immunization history" = "No-doses" = true) and ("Current Patient Age in Months" >= 8)) and ("Country is administering Live attentuated antigen" = true)) and ("Country recognizes JE as a health priority" = true)) and ("Pregnancy Status" = false)) or ((((("Japanese Encephalitis vaccine immunization history" = "No-doses" = true) and ("Current Patient Age in Months" >= 9)) and ("Country is administering Live recombinant antigen" = true)) and ("Country recognizes JE as a health priority" = true)) and ("Pregnancy Status" = false)))
 */
define "Should vaccinate patient for Japanese Encephalitis because no doses in a 1 dose scheme":
	IMMZCom."No JE Doses Administered to Patient"
	and IMMZCon."Country recognizes JE as a health priority"
	and not(IMMZCom."Pregnant")
	and (
		(
			IMMZCom."Current Patient Age In Months" >= 8
			and IMMZCon."Country is administering Live attentuated JE antigen" 
		)
		or 
		(
			IMMZCom."Current Patient Age In Months" >= 9
			and IMMZCon."Country is administering Live recombinant JE antigen"
		)
	)

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

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