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

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

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

Title: IMMZD5DTRotavirusEncounterElements
Id: IMMZD5DTRotavirusEncounterElements
Version: 0.2.0
Url: IMMZD5DTRotavirusEncounterElements
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 Rotavirus used throughout the Immunization CPG

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
Todaydate01In
EncounterIdstring01In
PatientPatient01Out
Draft Medication Request for Rotavirus doseMedicationRequest0*Out
The client has prior history of intussusceptionboolean01Out
The client has severe immunodeficiencyboolean01Out
The client has a history of severe allergic reactionsboolean01Out
The client has history of anaphylactic reactionsboolean01Out
The client has altered immunocompetenceboolean01Out
The client has spina bifidaboolean01Out
The client has bladder exstrophyboolean01Out
The client has chronic gastrointestinal diseaseboolean01Out
The client has acute gastroenteritisboolean01Out
The client has moderate to severe feverboolean01Out
Content: text/cql

/*
  * Library: IMMZD5DTRotavirusEncounterElements
  */
library IMMZD5DTRotavirusEncounterElements

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 IMMZD5DTRotavirusElements called RotavirusElements

parameter Today Date default Today()
parameter EncounterId String

context Patient

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

/*
@input: The client has prior history of intussusception
@pseudocode: "Potential contraindications" = "Prior history of intussusception"
@decision: Potential contraindications
*/
define "The client has prior history of intussusception":
  Encounter."The client has prior history of intussusception"

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

/*
@input: The client has a history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
@decision: Potential contraindications
*/
define "The client has a 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 altered immunocompetence
@pseudocode: "Potential contraindications" = "Altered immunocompetence"
@decision: Potential contraindications
*/
define "The client has altered immunocompetence":
  Encounter."The client has altered immunocompetence"

/*
@input: The client has spina bifida
@pseudocode: "Potential contraindications" = "Spina bifida"
@decision: Potential contraindications
*/
define "The client has spina bifida":
  Encounter."The client has spina bifida"

/*
@input: The client has bladder exstrophy
@pseudocode: "Potential contraindications" = "Bladder exstrophy"
@decision: Potential contraindications
*/
define "The client has bladder exstrophy":
  Encounter."The client has bladder exstrophy"

/*
@input: The client has chronic gastrointestinal disease
@pseudocode: "Potential contraindications" = "Chronic gastrointestinal disease"
@decision: Potential contraindications
*/
define "The client has chronic gastrointestinal disease":
  Encounter."The client has chronic gastrointestinal disease"

/*
@input: The client has acute gastroenteritis
@pseudocode: "Potential contraindications" = "Acute gastroenteritis"
@decision: Potential contraindications
*/
define "The client has acute gastroenteritis":
  Encounter."The client has acute gastroenteritis"

/*
@input: The client has moderate to severe fever
@pseudocode: "Potential contraindications" = "Moderate to severe fever"
@decision: Potential contraindications
*/
define "The client has moderate to severe fever":
  Encounter."The client has moderate to severe fever"

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