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

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

This library defines encounter-based elements for Dengue used throughout the Immunization CPG

Title: IMMZD5DTDengueEncounterElements
Id: IMMZD5DTDengueEncounterElements
Version: 0.2.0
Url: IMMZD5DTDengueEncounterElements
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 encounter-based elements for Dengue used throughout the Immunization CPG

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
Todaydate01In
EncounterIdstring01In
PatientPatient01Out
Draft Medication Request for Dengue doseMedicationRequest0*Out
The client is immunocompromisedboolean01Out
The client is severely immunocompromisedboolean01Out
The client is currently pregnantboolean01Out
The client is currently lactatingboolean01Out
The client has history of severe allergic reactionsboolean01Out
The client has history of anaphylactic reactionsboolean01Out
The client has immunodeficiency syndromesboolean01Out
The client is severely immunosuppressedboolean01Out
The client has symptomatic HIV infectionboolean01Out
Content: text/cql

/*
  * Library: IMMZD5DTDengueEncounterElements
  */
library IMMZD5DTDengueEncounterElements

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 IMMZD5DTDengueElements called DengueElements

parameter Today Date default Today()
parameter EncounterId String

context Patient

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


/*
@input: The client is immunocompromised
@pseudocode: "Potential contraindications" = "Immunocompromised"
@decision: Potential contraindications
*/
define "The client is immunocompromised":
  Encounter."The client is immunocompromised"

/*
@input: The client is severely immunocompromised
@pseudocode: "Potential contraindications" = "Severely immunocompromised"
@decision: Potential contraindications
*/
define "The client is severely immunocompromised":
  Encounter."The client is severely immunocompromised"

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

/*
@input: The client is currently lactating
@pseudocode: '"Potential contraindications" = "Breastfeeding"
@decision: Potential contraindications
*/
define "The client is currently lactating":
  Encounter."The client is lactating"

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

/*
@input: The client has history of anaphylactic reactions
@pseudocode: "Potential contraindications" ="History of anaphylactic reactions"
@decision: Potential contraindications
*/
define "The client has history of anaphylactic reactions":
  Encounter."The client has history of anaphylactic reactions"

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

/*
@input: The client is severely immunosuppressed
@pseudocode: "Potential contraindications" = "Severely immunosuppressed"
@decision: Potential contraindications
*/
define "The client is severely immunosuppressed":
  Encounter."The client is severely immunosuppressed"

/*
@input: The client has symptomatic HIV infection
@pseudocode: "Potential contraindications" = "Symptomatic HIV infection"
@decision: Potential contraindications
*/
define "The client has symptomatic HIV infection":
  Encounter."The client has a symptomatic HIV infection"

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