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
| Official URL: http://smart.who.int/immunizations/Library/IMMZD18SPneumococcal2DosesWithBoosterDoseLogic | Version: 0.2.0 | |||
| Draft as of 2026-07-07 | Computable Name: IMMZD18SPneumococcal2DosesWithBoosterDoseLogic | |||
This library defines decision support logic for the IMMZ.D18.S.Pneumococcal.2 doses with booster dose schedule table in the Immunization CPG
Exception generating Narrative: Unable to Parse HTML - node 'code' has unexpected content ' ' (last text = '/* * Library: IMMZD18SPneumococcal2DosesWithBoosterDoseLogic (IMMZ.D18.S.Pneumococcal.2 doses with booster dose schedule) * Schedule Table: 2 primary doses with a booster dose (2p+1) schedule */ library IMMZD18SPneumococcal2DosesWithBoosterDoseLogic 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 @description: Provision of the pneumococcal dose 2 @trigger: First pneumococcal dose from the primary series was administered to the client, who is less than or equal to 5 years of age, either within 24 months of birth or if client is at high risk for pneumococcal infection @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 304 column 281