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

Library: WHOEncounterElements

Official URL: http://smart.who.int/immunizations/Library/WHOEncounterElements Version: 0.2.0
Draft as of 2025-08-08 Computable Name: WHOEncounterElements

This library defines encounter-based elements used throughout WHO SMART Guidelines content

Title: WHOEncounterElements
Id: WHOEncounterElements
Version: 0.2.0
Url: WHOEncounterElements
Status: draft
Type:

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

code: logic-library

Date: 2025-08-08 19:12:11+0000
Publisher: WHO
Description:

This library defines encounter-based elements used throughout WHO SMART Guidelines content

Related Artifacts:

Dependencies

Parameters:
NameTypeMinMaxIn/Out
AsOfdate01In
EncounterIdstring01In
PatientPatient01Out
Pregnant ObservationObservation0*Out
Content: text/cql
library WHOEncounterElements

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

include WHOConcepts called Concepts
include WHOCommon called Common
include WHOElements called Elements

parameter AsOf Date default Today()
parameter EncounterId String

context Patient

define "Pregnant Observation":
  Elements."Pregnant Observation" O
    where O.encounter.references(EncounterId)
      or O.effective.toInterval() starts same day or after AsOf - 9 months
Content: application/elm+xml
Encoded data (14016 characters)