WHO Immunization Implementation Guide
0.1.0 - CI Build International flag

WHO Immunization Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. 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: IMMZD18SMeaslesLowTx

Official URL: http://smart.who.int/ig/smart-immunizations/Library/IMMZD18SMeaslesLowTx Version: 0.1.0
Draft as of 2024-05-30 Computable Name: IMMZD18SMeaslesLowTx

Related Artifacts

depends-onFHIR model informationhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
depends-onLibrary FHIRHelpershttp://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1
depends-onLibrary IMMZComIMMZCommon
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary IMMZConIMMZConfig
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onLibrary FCFHIRCommon
depends-onLibrary inputIMMZD2DTMeaslesInput
depends-onValue set MCV VaccineIMMZ.Z.DE9 ValueSet for Measles Vaccines

Parameters

Patientout01Patient
Measles dose 1out01boolean
Measles dose 1 Due Dateout01date
Measles dose 1 Createout01string
Measles dose 1 Overdueout01Resource
Measles dose 1 Expirationout01Resource
Measles dose 2out01boolean
Measles dose 2 Due Dateout01date
Measles dose 2 Createout01string
Measles dose 2 Overdueout01Resource
Measles dose 2 Expirationout01Resource

Data Requirements

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

Contents

text/cql

/*
 * Library: IMMZD18SMeaslesLowTx (IMMZ.D18.S.Measles.Low transmission schedule)
 * Schedule Table: Schedule for countries with low levels of measles transmission			
 */
library IMMZD18SMeaslesLowTx
// 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
include IMMZD2DTMeaslesInput called input

// End Skeleton CQL
context Patient


/*
@output: Measles dose 1
@trigger: Child's birth
*/
define "Measles dose 1":
	input."No measles primary series doses were administered"

/*
@output: Measles dose 1 Create
@create: The client is due for measles dose 1 if the client is at least 9 months
*/
define "Measles dose 1 Create":
	if "Measles dose 1" then 	'The client is due for measles dose 1 if the client is at least 12 months. Due Date is '
		+ ToString("Measles dose 1 Due Date")
	else ''

/*
@dynamicValue: Measles dose 1 Due Date
@pseudocode: "Date of birth" + 12 'month'
*/
define "Measles dose 1 Due Date":
	if "Measles dose 1" then Patient.birthDate + 12 months
	else null

/*
@dynamicValue: Measles dose 1 Overdue
@pseudocode: To be determined by Member States however there is no recommended overdue date and individuals are always eligible to be vaccinated
*/
define "Measles dose 1 Overdue":
	null

/*
@dynamicValue: Measles dose 1 Expiration
@pseudocode: To be determined by Member States however there is no recommended expiration date and individuals are always eligible to be vaccinated
*/
define "Measles dose 1 Expiration":
	null

/*
@output: Measles dose 2
@trigger: One measles primary series dose was administered
@pseudocode: Count of vaccines administered (where "Vaccine type" = 'Measles containing vaccines' and "Type of dose" = "Primary series" ) = 1
*/
define "Measles dose 2":
	input."MCV1 was administered Low Tx"

/*
@output: Measles dose 2 Create
@create: The client is due for measles dose 2 if the client is at least 15 months.
*/
define "Measles dose 2 Create":
	if "Measles dose 2" then 'The client is due for measles dose 2 if the client is at least 15 months. Due Date is '
		+ ToString("Measles dose 2 Due Date")
	else ''

/*
@dynamicValue: Measles dose 2 Due Date
@pseudocode: "Date of birth" + 15 'month'
*/
define "Measles dose 2 Due Date":
	if "Measles dose 2" then Patient.birthDate + 15 months
	else null

/*
@dynamicValue: Measles dose 2 Overdue
@pseudocode: To be determined by Member States however there is no recommended overdue date and individuals are always eligible to be vaccinated
*/
define "Measles dose 2 Overdue":
	null

/*
@dynamicValue: Measles dose 2 Expiration
@pseudocode: To be determined by Member States however there is no recommended expiration date and individuals are always eligible to be vaccinated
*/
define "Measles dose 2 Expiration":
	null

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

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