WHO Immunization Implementation Guide
0.1.0 - CI Build International flag

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

Library: IMMZCommonIzDataElements

Official URL: http://smart.who.int/ig/smart-immunizations/Library/IMMZCommonIzDataElements Version: 0.1.0
Draft as of 2024-05-30 Computable Name: IMMZCommonIzDataElements

Related Artifacts

depends-onFHIR model informationhttp://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
depends-onLibrary FHIRHelpershttp://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1
depends-onLibrary WComWHOCommon
depends-onLibrary IMMZComIMMZCommon
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onCode system Vaccines AdministeredVaccine Administered Value Set

Parameters

Immunizationout01Immunization
Geographic Region of Vaccine Administrationout01string
Dose Number of Vaccine Administrationout01positiveInt

Data Requirements

Type: Immunization (Immunization)
Type: Location (Location)

Contents

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 )