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

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

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

Exception parsing generated Narrative (see /tmp/liquid-e8a32549-6ea0-4b01-a8a7-75a62e9956ea.html): Unable to Parse HTML - node 'code' has unexpected content ' ' (last text = ' /* * Library: IMMZD2DTHPVEncounterElements */ library IMMZD2DTHPVEncounterElements 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 IMMZD2DTHPVElements called HPVElements parameter Today Date default Today() parameter EncounterId String context Patient /* @internal: HPV containing Doses Administered to Patient */ define "HPV Doses Administered to Patient": Encounter."Doses Administered to Patient" I where I.vaccineCode in Concepts."HPV vaccines" /* @internal: HPV containing Doses Administered to Patient that are in the Primary series */ define "HPV Primary Series Doses Administered to Patient": "HPV Doses Administered to Patient".seriesPrimary() /* @internal: Number of HPV Primary Series doses */ define "Number of HPV Primary Series Doses Administered": Count("HPV Primary Series Doses Administered to Patient") /* @input: Client's age is less than 9 years @pseudocode: Today's date − "Date of birth" ' at line 264 column 46