WHO Immunization Implementation Guide
0.1.0 - CI Build
WHO Immunization Implementation Guide, published by World Health Organization (WHO). This guide is not an authorized publication; it is the continuous build for version 0.1.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/ig/smart-immunizations/Library/IMMZCommonIzDataElements | Version: 0.1.0 | |||
| Draft as of 2024-03-22 | Computable Name: IMMZCommonIzDataElements | |||
| depends-on | FHIR model information | http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 |
| depends-on | Library FHIRHelpers | http://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1 |
| depends-on | Library WCom | WHOCommon |
| depends-on | Library IMMZCom | IMMZCommon |
| depends-on | Library IMMZc | IMMZConcepts |
| depends-on | Library IMMZvl | IMMZVaccineLibrary |
| depends-on | Code system Vaccines Administered | Vaccine Administered Value Set |
| Immunization | out | 0 | 1 | Immunization |
| Geographic Region of Vaccine Administration | out | 0 | 1 | string |
| Dose Number of Vaccine Administration | out | 0 | 1 | positiveInt |
| Type: Immunization (Immunization) |
| Type: Location (Location) |
text/cql
/**
* Immunization Common Stratifiers by Patients as Context
*/
library IMMZCommonIzDataElements
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include WHOCommon called WCom
include IMMZCommon called IMMZCom
include IMMZConcepts called IMMZc
include IMMZVaccineLibrary called IMMZvl
codesystem "Vaccines Administered": 'http://hl7.org/fhir/ValueSet/vaccine-code'
// Vaccines administered
code "BCG": 'BCG' from "Vaccines Administered" display 'BCG'
//should this reference the BCG valueset from IMMZConcepts.cql?
context Immunization
// @dataElement: Geographic Region where the vaccination was provided
define "Geographic Region of Vaccine Administration":
WCom.Official([Location] L
where L.id = Last(Split(Immunization.location.reference, '/'))
return L.address).state
// @dataElement: The vaccination dose sequence
define "Dose Number of Vaccine Administration":
IMMZCom.Only(Immunization.protocolApplied).doseNumber as FHIR.positiveInt
Content not shown - (application/elm+xml, size = 14Kb)
Content not shown - (application/elm+json, size = 24Kb)