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
| Official URL: http://smart.who.int/immunizations/Library/IMMZD18SPneumococcal3DosesLogic | Version: 1.0.0 | |||
| Draft as of 2026-10-02 | Computable Name: IMMZD18SPneumococcal3DosesLogic | |||
This library defines decision support logic for the IMMZ.D18.S.Pneumococcal.3 doses schedule table in the Immunization CPG
Exception parsing generated Narrative (see /tmp/liquid-6e9da5aa-6338-4cd6-9279-dab08fd1813b.html): Unable to Parse HTML - node 'code' has unexpected content ' ' (last text = '/* * Library: IMMZD18SPneumococcal3DosesLogic (IMMZ.D18.S.Pneumococcal.3 doses schedule) * Schedule Table: 3 primary doses (3p+0) schedule */ library IMMZD18SPneumococcal3DosesLogic using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include WHOCommon called WC include IMMZCommon called Common include IMMZConcepts called Concepts include IMMZEncounterElements called IE include IMMZD2DTPneumococcalEncounterElements called Encounter parameter Today Date default Today() context Patient /* @output: Pneumococcal dose 1 @description: Provision of the pneumococcal dose 1 @trigger: Child's birth @pseudo: @triggerDate: "Date of birth" */ define "Pneumococcal dose 1": Encounter."The client's age is less than or equal to 5 years" and Encounter."No pneumococcal primary series doses were administered" /* @output: Pneumococcal dose 1 Create @create: Pneumococcal dose 1 should be provided if the client is older than 6 weeks */ define "Pneumococcal dose 1 Create": if "Pneumococcal dose 1" then 'Pneumococcal dose 1 should be provided if the client is older than 6 weeks' + ' Due Date: ' + ToString("Pneumococcal dose 1 Due Date") else '' /* @dynamicValue: Pneumococcal dose 1 Due Date @pseudocode: "Date of birth" + 6 weeks */ define "Pneumococcal dose 1 Due Date": if "Pneumococcal dose 1" then Patient.birthDate + 6 weeks else null /* @dynamicValue: Pneumococcal dose 1 Overdue @pseudocode: To be determined by Member States; however, there is no recommended overdue date. WHO does not currently have recommendations on the use of pneumococcal vaccine in individuals aged over 5 years. */ define "Pneumococcal dose 1 Overdue": null /* @dynamicValue: Pneumococcal dose 1 Expiration @pseudocode: To be determined by Member States; however, there is no recommended expiration date. WHO does not currently have recommendations on the use of pneumococcal vaccine in individuals aged over 5 years. */ define "Pneumococcal dose 1 Expiration": null /* @complete: First pneumococcal dose from the primary series was administered @pseudocode: Count of vaccines administered (where "Vaccine type" = "Pneumococcal vaccines" and "Type of dose" = "Primary series") = 1 */ define "First pneumococcal dose from the primary series was administered": Encounter."One pneumococcal primary series dose was administered" /* @output: Pneumococcal dose 2, first within 24m @description: Provision of the pneumococcal dose 2 @trigger: First pneumococcal dose from the primary series was administered to client, who is less than or equal to 5 years of age, within 24 months post birth @pseudo: Today's date − "Date of birth" ≤ 5 years AND Count of vaccines administered (where "Vaccine type" = "Pneumococcal vaccines" and "Type of dose" = "Primary series") = 1 AND "Date and time of vaccination" (where "Vaccine type" = "Pneumococcal vaccines") − "Date of birth" ' at line 314 column 280