WHO SMART Guidelines - Example Workshop IG
0.1.0 - ci-build

WHO SMART Guidelines - Example Workshop IG, 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/brynrhodes/smart-workshop/ and changes regularly. See the Directory of published versions

Library: IMMZD5DTMeaslesCILogic (Experimental)

Official URL: http://smart.who.int/example-workshop/Library/IMMZD5DTMeaslesCILogic Version: 0.1.0
Draft as of 2024-12-02 Computable Name: IMMZD5DTMeaslesCILogic

This library defines decision support logic for the D2.DT.Measles Dose 0 decision table in the Immunization CPG

Generated Narrative: Library IMMZD5DTMeaslesCILogic

Related Artifacts

Depends OnLibrary ElementsIMMZEncounterElements

Parameters

Todayin01date
Patientout01Patient
Measles Vaccination Contraindicatedout01boolean
Measles Vaccination Could Be Contraindicatedout01boolean
MCV Dose Contraindicatedout01boolean
Contraindication Evaluation of the MCV Doseout01boolean

Contents

text/cql

/*
@DecisionID: IMMZ.D5.DT.Measles contraindications
@BusinessRule: Check for contraindications before administering the vaccine(s) due					
@Trigger: IMMZ.D5 Determine vaccine(s) to be administered based on contraindications
*/
library IMMZD5DTMeaslesCILogic

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

include IMMZEncounterElements called Elements

parameter Today default Today()

context Patient

/*
PlanDefinition Applicability Expressions
*/

define "MCV Dose Contraindicated":
  "Measles Vaccination Contraindicated"
    or "Measles Vaccination Could Be Contraindicated"

// TODO: Define this
define "Contraindication Evaluation of the MCV Dose":
  false

/*
IMMZ.D5.DT.Measles contraindications
*/
define "Measles Vaccination Could Be Contraindicated":
  Elements."History Of Anaphylactic Reactions"
    or Elements."Severe Allergic Reactions"
    or Elements."Symptomatic HIV Infection"

define "Measles Vaccination Contraindicated":
  Elements."Currently Pregnant"
    or Elements."Severely Immunosuppressed"





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

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