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

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

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 IMMZConIMMZConfig
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary WComWHOCommon
depends-onValue set Rabies Vaccinehttp://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE15
depends-onValue set VNA levelshttp://fhir.org/guides/who/smart-immunization/ValueSet/VNAlevelsRAbies-values

Parameters

Individual is at high risk of RABV exposurein01boolean
Individual has continual or frequent risk of exposure (i.e. occupational)in01boolean
Patientout01Patient
Rabies vaccine immunization historyout0*Immunization
No-dosesout01boolean
1 doseout01boolean
Date last Rabies dose given >= 7 daysout01boolean
Should vaccinate patient with Rabies vaccine (PrEP strategy) on 2 dose schemeout01boolean
VNA levelsout01Quantity
Should vaccinate patient with Rabies vaccine Booster (PrEP strategy)out01boolean

Data Requirements

Type: Patient (Patient)
Type: Immunization (Immunization)
Type: Observation (Observation)
FilterValue
codeIn ValueSet http://fhir.org/guides/who/smart-immunization/ValueSet/VNAlevelsRAbies-values

Contents

text/cql

/*
 * Library: IMMZDT18 (IMMZ.DT.18.Rabies)
 * Rule: If patient  has not been vaccinated, give Rabies vaccine 
 * Trigger: Patient has never been vaccinated and is at high risk of exposure to RABV and/or patient has been exposed to RABV
 */
library IMMZDT18
// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include IMMZCommon called IMMZCom
include IMMZConfig called IMMZCon
include IMMZConcepts called IMMZc
// End Skeleton CQL
parameter "Individual is at high risk of RABV exposure" Boolean default false
parameter "Individual has continual or frequent risk of exposure (i.e. occupational)" Boolean default false

context Patient

/* 
 * @dataElement Rabies vaccine immunization history
 */
define "Rabies vaccine immunization history":
	IMMZCom."Rabies Doses Administered to Patient"

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

/* 
 * @dataElement 1 dose
 */
define "1 dose":
	IMMZCom."Number of Rabies Doses Administered to Patient" = 1

/* 
 * @dataElement Date last Rabies dose given >= 7 days
 */
define "Date last Rabies dose given >= 7 days":
	IMMZCom."Date last Rabies dose given Dose Administered to Patient" equal 7 'days' before Today()
	or IMMZCom."Date last Rabies dose given Dose Administered to Patient" more than 7 'days' before Today()
	
/*
 * Rule: Should vaccinate patient with Rabies vaccine (PrEP strategy) on 2 dose scheme
 * Annotations:
 * 	 - Provide Rabies immunizations – using the "PrEP vaccination strategy – NO PREVIOUS" schedule (2 dose scheme)
 * 	 - Provide Rabies immunizations – using the "PrEP vaccination strategy – 1 PREVIOUS" schedule (2 dose scheme)
 * Outputs:
 * 	 - Immunize Patient for Rabies (PrEP strategy) - No Doses
 * 	 - Immunize Patient for Rabies (PrEP strategy) - 1 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:
 *	 ((("Rabies vaccine immunization history" = "No-doses") and ("Individual is at high risk of RABV exposure" = true)) or (("Rabies vaccine immunization history" = "1 dose") and ("Date last Rabies dose given" >= "7 days" = true)))
 */
define "Should vaccinate patient with Rabies vaccine (PrEP strategy) on 2 dose scheme":
	((("No-doses") and ("Individual is at high risk of RABV exposure")) or (("1 dose") and ("Date last Rabies dose given >= 7 days")))


/* 
 * @dataElement VNA levels
 */
define "VNA levels":
	First(
		IMMZCom."VNA Test Results"
	).value as FHIR.Quantity

/*
 * Rule: Should vaccinate patient with Rabies vaccine Booster (PrEP strategy)
 * Annotations:
 * 	 - Provide Rabies immunizations – using the "PrEP vaccination strategy – BOOSTER" schedule (1 dose booster)
 * Outputs:
 * 	 - Immunize Patient for Rabies vaccine Booster (PrEP strategy)
 * 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:
 *	 (("Individual has continual or frequent risk of exposure (i.e. occupational)" = true) and ("VNA levels" < "0.5 IU/mL"))
 */
define "Should vaccinate patient with Rabies vaccine Booster (PrEP strategy)":
	(("Individual has continual or frequent risk of exposure (i.e. occupational)") and ("VNA levels" < 0.5 '[iU]/mL'))

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

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