WHO Immunization Implementation Guide
0.2.0 - ci-build

WHO Immunization Implementation Guide, published by WHO. This guide is not an authorized publication; it is the continuous build for version 0.2.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: IMMZD5DTBCGElements

Official URL: http://smart.who.int/immunizations/Library/IMMZD5DTBCGElements Version: 0.2.0
Draft as of 2025-08-08 Computable Name: IMMZD5DTBCGElements

This library defines context-independent elements for BCG used throughout the Immunization CPG

Title: IMMZD5DTBCGElements
Id: IMMZD5DTBCGElements
Version: 0.2.0
Url: IMMZD5DTBCGElements
Status: draft
Type:

system: http://terminology.hl7.org/CodeSystem/library-type

code: logic-library

Date: 2025-08-08 19:12:11+0000
Publisher: WHO
Description:

This library defines context-independent elements for BCG used throughout the Immunization CPG

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
PatientPatient01Out
Draft Medication Request for BCG doseMedicationRequest0*Out
The client is pregnantboolean01Out
The client has history of severe allergic reactionsboolean01Out
The client has immunodeficiency syndromesboolean01Out
The client is exposed to immunosuppressive treatmentboolean01Out
Client's age is less than 1 yearboolean01Out
Client's age is more than or equal to 1 yearboolean01Out
Content: text/cql

/*
  * Library: IMMZD5DTBCGElements
  */
library IMMZD5DTBCGElements

using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'

include WHOConcepts
include WHOCommon called WC
include WHOElements called WE

include IMMZCommon called Common
include IMMZConcepts called Concepts
include IMMZElements called Elements

context Patient

/*
@internal: Draft Medication Request for BCG dose
*/
define "Draft Medication Request for BCG dose":
  Elements."Draft Medication Request for Patient" MR 
    where MR.medication in Concepts."BCG vaccines"

/*
@input: The client is pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
*/
define "The client is pregnant":
  Elements."The client is pregnant"

/*
@input: The client has history of severe allergic reactions
@pseudocode: '"Potential contraindications" = "Severe allergic reactions"
*/
define "The client has history of severe allergic reactions":
  Elements."The client has history of severe allergic reactions"

/*
@input: The client has immunodeficiency syndromes
@pseudocode: "Potential contraindications" = "Immunodeficiency syndromes"
*/
define "The client has immunodeficiency syndromes":
  Elements."The client has immunodeficiency syndromes"

/*
@input: The client is exposed to immunosuppressive treatment
@pseudocode: "Potential contraindications" = "Exposed to immunosuppressive treatment"
*/
define "The client is exposed to immunosuppressive treatment":
  Elements."The client is exposed to immunosuppressive treatment"

/*
@input: Client's age is less than 1 year
@pseudocode: "Age" < 1 year
*/
define "Client's age is less than 1 year":
  Elements."Current Patient Age In Years" < 1

/*
@input: Client's age is more than or equal to 1 year
@pseudocode: "Age" ≥ 1 year
*/
define "Client's age is more than or equal to 1 year":
  Elements."Current Patient Age In Years" >= 1

Content: application/elm+xml
Encoded data (21336 characters)