WHO Immunization Implementation Guide
1.0.0 - release

This page is part of the Immunizations (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Library: IMMZD5DTMeningococcalEncounterElements

Official URL: http://smart.who.int/immunizations/Library/IMMZD5DTMeningococcalEncounterElements Version: 1.0.0
Draft as of 2026-10-02 Computable Name: IMMZD5DTMeningococcalEncounterElements

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

Title: IMMZD5DTMeningococcalEncounterElements
Id: IMMZD5DTMeningococcalEncounterElements
Version: 1.0.0
Url: IMMZD5DTMeningococcalEncounterElements
Status: draft
Type:

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

code: logic-library

Date: 2026-10-02 09:40:20+0000
Publisher: WHO
Description:

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

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
Todaydate01In
EncounterIdstring01In
PatientPatient01Out
Draft Medication Request for Meningococcal doseMedicationRequest0*Out
The client has history of severe allergic reactionsboolean01Out
Content: text/cql

/*
  * Library: IMMZD5DTMeningococcalEncounterElements
  */
library IMMZD5DTMeningococcalEncounterElements

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 IMMZD5DTMeningococcalElements called MeningococcalElements

parameter Today Date default Today()
parameter EncounterId String

context Patient

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

/*
@input: The client has history of severe allergic reactions
@pseudocode: "Potential contraindications" = "Severe allergic reactions"
@code: The client has history of severe allergic reactions-59
@decision: IMMZ.D5.DT.Meningococcal contraindications
*/
define "The client has history of severe allergic reactions":
  Encounter."The client has history of severe allergic reactions"
Content: application/elm+xml
Encoded data (15288 characters)