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
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
Depends On | Library Elements | IMMZEncounterElements |
Today | in | 0 | 1 | date |
Patient | out | 0 | 1 | Patient |
Measles Vaccination Contraindicated | out | 0 | 1 | boolean |
Measles Vaccination Could Be Contraindicated | out | 0 | 1 | boolean |
MCV Dose Contraindicated | out | 0 | 1 | boolean |
Contraindication Evaluation of the MCV Dose | out | 0 | 1 | boolean |
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 )