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/tree/claude/sync-litlfred-2026-11-19 and changes regularly. See the Directory of published versions
Built from commit 71303abd.   Branch: claude/sync-litlfred-2026-11-19.

: IMMZD5DTTyphoidEncounterElements - XML Representation

Draft as of 2026-11-19

Raw xml | Download

Loading XML source…

CQL Source


/*
  * Library: IMMZD5DTTyphoidEncounterElements
  */
library IMMZD5DTTyphoidEncounterElements

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 IMMZEncounterElements called Encounter

include IMMZD5DTTyphoidElements called TyphoidElements

parameter Today Date default Today()
parameter EncounterId String

context Patient

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

/*
@input: The client has hypersensitivity to any component of the vaccine
@pseudocode: "Potential contraindications" = "Hypersensitivity to vaccine components"
@code: The client has hypersensitivity to any component of the vaccine-72
@decision: IMMZ.D5.DT.Typhoid contraindications
*/
define "The client has hypersensitivity to any component of the vaccine":
  Encounter."The client has hypersensitivity to any component of the vaccine"

/*
@input: The client is currently pregnant
@pseudocode: "Potential contraindications" = "Currently pregnant"
@code: The client is currently pregnant-52
@decision: IMMZ.D5.DT.Typhoid contraindications
*/
define "The client is currently pregnant":
  Encounter."The client is pregnant"

/*
@input: The client is currently taking antibiotics
@pseudocode: "Potential contraindications" = "Taking antibiotics"
@code: The client is currently taking antibiotics-52
@decision: IMMZ.D5.DT.Typhoid contraindications
*/
define "The client is currently taking antibiotics":
  Encounter."The client is currently taking antibiotics"

/*
@input: The client's HIV status is positive
@pseudocode: "HIV status" = "HIV-positive"
@code: The client's HIV status is positive-29
@decision: IMMZ.D5.DT.Typhoid contraindications
*/
define "The client's HIV status is positive":
  Encounter."Client's HIV status is positive"

/*
@input: The client is not immunologically stable
@pseudocode: "Immunologically stable" ≠ TRUE
@code: The client is not immunologically stable-31
@decision: IMMZ.D5.DT.Typhoid contraindications
*/
define "The client is not immunologically stable":
  Encounter."Client is not immunologically stable"

ELM Content

ELM binary data has been extracted to separate files: