WHO SMART Guidelines - Measles Immunization
0.1.0 - ci-build

WHO SMART Guidelines - Measles Immunization, published by 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-example-immz/ and changes regularly. See the Directory of published versions

Library: IMMZVaccineLibrary (Experimental)

Official URL: http://smart.who.int/immunizations-measles/Library/IMMZVaccineLibrary Version: 0.1.0
Draft as of 2024-08-12 Computable Name: IMMZVaccineLibrary

This library defines logic and mappings for the use of vaccines in the Immunization CPG

Generated Narrative: Library IMMZVaccineLibrary

Related Artifacts

Depends OnLibrary FChttp://fhir.org/guides/cqf/common/Library/FHIRCommon
Depends OnLibrary WComhttp://smart.who.int/immunizations-measles/Library/WHOCommon
Depends OnLibrary Wconhttp://smart.who.int/immunizations-measles/Library/WHOConcepts
Depends OnLibrary IMMZcIMMZConcepts
Depends OnLibrary IMMZcomIMMZCommon

Parameters

Get Medicationout0*Medication
BCG Vaccine Codesout0*Medication
Cholera Vaccine Codesout0*Medication

Contents

text/cql

library IMMZVaccineLibrary

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'
include fhir.cqf.common.FHIRCommon called FC

include WHOCommon called WCom
include WHOConcepts called Wcon
include IMMZConcepts called IMMZc
include IMMZCommon called IMMZcom

define "Get Medication":
    [Medication]

define "BCG Vaccine Codes":
  [Medication: code in IMMZc."BCG Vaccine"]
  

    /*check BCG Vaccine code valueset generated from DataDictionary Library in order to confirm that the that any of those codes exist in a Medication Resources
    1. check for Medication Resource
    2. Check if Medication Resource has BCG Vaccine code from list
    3. Import that code into ActivityDefinition as defined by dynamicValue
    */
define "Cholera Vaccine Codes":
  [Medication: code in IMMZc."Cholera Vaccine"]

Content not shown - (application/elm+xml, size = 6Kb )

Content not shown - (application/elm+json, size = 10Kb )