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

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

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 supplementary doseout01boolean
Measles supplementary dose Due Dateout01dateTime
Measles supplementary dose Createout01string
Measles supplementary dose Overdueout01Resource
Measles supplementary dose Expirationout01Resource

Data Requirements

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

Contents

text/cql

/*
 * Library: IMMZD18SMeaslesSupp (IMMZ.D18.S.Measles.Supplementary dose schedule			)
 * Schedule Table: Measles supplementary dose schedule
 */
library IMMZD18SMeaslesSupp
// 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 supplementary dose
@trigger: Date when the primary vaccination series was completed
@pseudocode: '"Completed the primary vaccination series" = TRUE (where "Vaccine type" = "Measles containing vaccines") AND [country defined logic for supplementary dose applied]
*/
define "Measles supplementary dose":
	input."Measles routine immunization schedule is complete High Tx"
	and input."Measles supplementary dose was not administered"

/*
@output: Measles supplementary dose Create
@create: Child is due for a measles supplementary dose if child is HIV-positive, on antiretroviral therapy (ART) and immune reconstitution has been achieved.
*/
define "Measles supplementary dose Create":
	if "Measles supplementary dose" then 'Child is due for a measles supplementary dose if child is HIV-positive, on antiretroviral therapy (ART) and immune reconstitution has been achieved. Due Date is '
		+ ToString("Measles supplementary dose Due Date")
	else ''

/*
@dynamicValue: Measles supplementary dose Due Date
@pseudocode: "Date when the primary vaccination series completed" + 4 'week'
*/
define "Measles supplementary dose Due Date":
	if "Measles supplementary dose" then First(input."MCV Doses Administered to Patient").occurrence + 4 week
	else null

/*
@dynamicValue: Measles supplementary dose 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 supplementary dose Overdue":
	null

/*
@dynamicValue: Measles supplementary dose 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 supplementary dose Expiration":
	null

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

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