IMMZD5DTPolioContraindicationsLogic
type: Library
node role: treeRoot
id:
  v: IMMZD5DTPolioContraindicationsLogic
meta:
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
    l: crmi-shareablelibrary
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
    l: crmi-publishablelibrary
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
    l: cql-library
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module
    l: cql-module
text:
  status:
    v: extensions
  div:
    v: Title: IMMZD5DTPolioContraindicationsLogic Id: IMMZD5DTPolioContraindicationsLogic Version: 0.2.0 Url: IMMZD5DTPolioContraindicationsLogic Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-12-05 23:35:21+0000 Publisher: WHO Description: This library defines decision support logic for the IMMZ.D5.DT.Polio contraindications decision table in the Immunization CPG Related Artifacts: Dependencies IMMZD5DTPolioEncounterElements Parameters: Name Type Min Max In/Out Today date 0 1 In Patient Patient 0 1 Out Draft Medication Request ID for bOPV dose id 0 1 Out Poliovirus vaccination could be contraindicated. Clinical judgement required boolean 0 1 Out Poliovirus vaccination could be contraindicated. Clinical judgement required Guidance string 0 1 Out Poliovirus vaccination with bOPV is contraindicated Case 1 boolean 0 1 Out Poliovirus vaccination with bOPV is contraindicated Case 2 boolean 0 1 Out Poliovirus vaccination with bOPV is contraindicated boolean 0 1 Out Poliovirus vaccination with bOPV is contraindicated Guidance string 0 1 Out Guidance string 0 1 Out Has Guidance boolean 0 1 Out Test Validation Resource 0 1 Out Content: text/cql /* * Library: IMMZD5DTPolioContraindicationsLogic (IMMZ.D5.DT.Polio contraindications) * Rule: Check for contraindications before administering the vaccine(s) due * Decision Table: IMMZ.D5.DT.Polio contraindications * Trigger: IMMZ.D5 Determine vaccine(s) to be administered based on contraindications */ library IMMZD5DTPolioContraindicationsLogic using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include IMMZD5DTPolioEncounterElements called Encounter parameter Today Date default Today() context Patient /* @dynamicValue: Draft Medication Request ID for Polio dose */ define "Draft Medication Request ID for bOPV dose": First(Encounter."Draft Medication Request for bOPV dose").id /* @dynamicValue: Guidance */ define "Guidance": case when "Poliovirus vaccination could be …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: computable
url:
  v: http://smart.who.int/immunizations/Library/IMMZD5DTPolioContraindicationsLogic
  l: IMMZD5DTPolioContraindicationsLogic
version:
  v: 0.2.0
name:
  v: IMMZD5DTPolioContraindicationsLogic
title:
  v: IMMZD5DTPolioContraindicationsLogic
status:
  v: draft
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2025-12-05T23:35:21+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: This library defines decision support logic for the IMMZ.D5.DT.Polio contraindications decision table in the Immunization CPG
related artifact:
  type:
    v: depends-on
  display:
    v: Library Encounter
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZD5DTPolioEncounterElements
    l: IMMZD5DTPolioEncounterElements
parameter:
  name:
    v: Today
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Draft Medication Request ID for bOPV dose
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: id
parameter:
  name:
    v: Poliovirus vaccination could be contraindicated. Clinical judgement required
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Poliovirus vaccination could be contraindicated. Clinical judgement required Guidance
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Poliovirus vaccination with bOPV is contraindicated Case 1
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Poliovirus vaccination with bOPV is contraindicated Case 2
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Poliovirus vaccination with bOPV is contraindicated
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Poliovirus vaccination with bOPV is contraindicated Guidance
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Guidance
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Has Guidance
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Test Validation
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource

content type:
  v: text/cql

content type:
  v: application/elm+xml