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: IMMZD2DTPolioBirth

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

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 IMMZComIMMZCommon
depends-onLibrary IMMZcIMMZConcepts
depends-onLibrary IMMZConIMMZConfig
depends-onLibrary IMMZvlIMMZVaccineLibrary
depends-onLibrary FCFHIRCommon
depends-onLibrary inputIMMZD2DTPolioInput
depends-onValue set Polio VaccineIMMZ.Z.DE14 Polio containing vaccines

Parameters

Patientout01Patient
Client is due for the bOPV birth doseout01boolean
Client is due for the bOPV birth dose Guidanceout01string
Client is not due for the bOPV birth dose Case 1out01boolean
Client is not due for the bOPV birth dose Case 2out01boolean
Client is not due for the bOPV birth doseout01boolean
Client is not due for the bOPV birth dose Guidanceout01string
Guidanceout01string

Data Requirements

Type: Patient (Patient)
Type: Immunization (Immunization)

Contents

text/cql

/*
 * Library: IMMZD2DTPolioBirth (IMMZ.D2.DT.Polio.Birth dose)
 * Rule: Determine if the client is due for a polio vaccination according to the national immunization protocol
 * Decision Table: Birth dose administration as part of "bOPV plus IPV" schedule (In countries that are polio-endemic countries or countries at high risk for importation and subsequent spread of poliovirus, that follow the combined bOPV-IPV schedule)
 * Trigger: IMMZ.D2  Determine required vaccination(s) if any
 */
library IMMZD2DTPolioBirth
// Start Skeleton CQL
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include IMMZCommon called IMMZCom
include IMMZConcepts called IMMZc
include IMMZConfig called IMMZCon
include IMMZVaccineLibrary called IMMZvl
include FHIRCommon called FC
include IMMZD2DTPolioInput called input

// End Skeleton CQL
context Patient

/*
@dynamicValue: Guidance
*/
define "Guidance":
  case
    when "Client is due for the bOPV birth dose" then "Client is due for the bOPV birth dose Guidance"
    when "Client is not due for the bOPV birth dose" then "Client is not due for the bOPV birth dose Guidance"
    else ''
  end

/*
@output: Client is due for the bOPV birth dose
@pseudocode: "Immunization recommendation status" = 'Due' (where "Type of polio dose" = 'bOPV')
*/
define "Client is due for the bOPV birth dose":
  input."bOPV birth dose (a zero dose) was not administered"
    and input."Client's age is less than 1 week"

/*
@output: Client is due for the bOPV birth dose Guidance
@guidance: Should vaccinate client for bOPV birth dose (a zero dose) as polio birth dose was not administered and client's age is less than 1 week. Check for contraindications.
*/
define "Client is due for the bOPV birth dose Guidance":
  'Should vaccinate client for bOPV birth dose (a zero dose) as polio birth dose was not administered and client\'s age is less than 1 week. Check for contraindications.'

/*
@output: Client is not due for the bOPV birth dose Case 1
@pseudocode: "Immunization recommendation status" = 'Not due'
*/
define "Client is not due for the bOPV birth dose Case 1":
  input."bOPV birth dose (a zero dose) was not administered"
    and input."Client's age is more or equal to 1 week"

/*
@output: Client is not due for the bOPV birth dose Case 2
@pseudocode: "Immunization recommendation status" = 'Not due'
*/
define "Client is not due for the bOPV birth dose Case 2":
  input."bOPV birth dose (a zero dose) was administered"

/*
@output: Client is not due for the bOPV birth dose
@pseudocode: "Immunization recommendation status" = 'Not due'
*/
define "Client is not due for the bOPV birth dose":
  "Client is not due for the bOPV birth dose Case 1"
    or "Client is not due for the bOPV birth dose Case 2"

/*
@output: Client is not due for the bOPV birth dose Guidance
@guidance: Should not vaccinate client for bOPV birth dose (a zero dose) as client's age is more than or equal to 1 week. Check for any other vaccines due, and inform the caregiver of when to come back for the next dose.
@guidance: Polio birth dose was already administered. Check polio immunization schedule.
*/
define "Client is not due for the bOPV birth dose Guidance":
  case
    when "Client is not due for the bOPV birth dose Case 1" then 'Should not vaccinate client for bOPV birth dose (a zero dose) as client\'s age is more than or equal to 1 week. Check for any other vaccines due, and inform the caregiver of when to come back for the next dose.'
    when "Client is not due for the bOPV birth dose Case 2" then 'Polio birth dose was already administered. Check polio immunization schedule.'
    else ''
  end

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

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