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

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

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

Exception parsing generated Narrative (see /tmp/liquid-c95301b3-094d-4850-8a7f-8d25c742b5e3.html): Unable to Parse HTML - node 'code' has unexpected content ' ' (last text = ' /* * Library: IMMZD2DTPneumococcalEncounterElements */ library IMMZD2DTPneumococcalEncounterElements 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 IMMZD2DTPneumococcalElements called PneumococcalElements parameter Today Date default Today() parameter EncounterId String context Patient /* @internal: Pneumococcal containing Doses Administered to Patient */ define "Pneumococcal Doses Administered to Patient": Encounter."Doses Administered to Patient" I where I.vaccineCode in Concepts."Pneumococcal vaccines" /* @internal: Pneumococcal containing Doses Administered to Patient that are in the Primary series */ define "Pneumococcal Primary Series Doses Administered to Patient": "Pneumococcal Doses Administered to Patient".seriesPrimary() /* @internal: Number of Pneumococcal Primary Series doses */ define "Number of Pneumococcal Primary Series Doses Administered": Count("Pneumococcal Primary Series Doses Administered to Patient") /* @input: The client's age is less than 6 weeks @pseudocode: Today's date − "Date of birth" ' at line 302 column 46