WHO Immunization Implementation Guide
0.1.0 - CI Build
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
| Official URL: http://fhir.org/guides/who/smart-immunization/Library/IMMZS01 | Version: 0.1.0 | |||
| Draft as of 2023-08-02 | Computable Name: IMMZS01 | |||
| depends-on | FHIR model information | http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 |
| depends-on | Library FHIRHelpers | http://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1 |
| depends-on | Library IMMZCom | IMMZCommon |
| depends-on | Library IMMZc | IMMZConcepts |
| depends-on | Library IMMZvl | IMMZVaccineLibrary |
| depends-on | Library IMMZConf | IMMZConfig |
| depends-on | Library WCom | WHOCommon |
| depends-on | Value set BCG Vaccine | http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE1 |
| depends-on | Value set TST Test Result | TST Test Result values |
| depends-on | Value set Negative Result | Negative Test Results |
| depends-on | Value set IGRA Test Result | IGRA Test Result values |
| Patient | out | 0 | 1 | Patient |
| Provision of the BCG dose | out | 0 | 1 | boolean |
| Type: Patient (Patient) |
text/cql
/*
* Library: IMMZS01 (IMMZ.S.01.BCG)
* Rule: If child or person has not been vaccinated, give BCG vaccine as soon as possible after birth
* Trigger: Patient has never had BCG vaccination
*/
library IMMZS01
// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include IMMZCommon called IMMZCom
include IMMZConcepts called IMMZc
include IMMZVaccineLibrary called IMMZvl
include IMMZConfig called IMMZConf
// End Skeleton CQL
context Patient
/*
* Rule: Provision of the BCG dose
* Create Condition:
* - BCG dose should be provided if the patient has not received any BCG doses, and is in a High incidence of TB and/or high leprosy burden, and TST-negative and IGRA-negative
*
* Completion:
* - "BCG Dose 1 provided" = TRUE
*
* 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
*
*/
define "Provision of the BCG dose":
IMMZCom."No BCG Doses Administered to Patient" and
IMMZConf."High incidence of TB and/or high leprosy burden" = true and
Coalesce((IMMZCom."Most Recent TST Test Result" in IMMZc."Negative Result"), false) and
Coalesce((IMMZCom."Most Recent IGRA Test Result" in IMMZc."Negative Result"), false) Content not shown - (application/elm+xml, size = 10Kb)
Content not shown - (application/elm+json, size = 17Kb)