IMMZD18SCholerarBS2to5Logic
type: Library
node role: treeRoot
id:
  v: IMMZD18SCholerarBS2to5Logic
meta:
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
    link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
    link: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
    link: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module
    link: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module
text:
  status:
    v: extensions
  div: Title: IMMZD18SCholerarBS2to5Logic Id: IMMZD18SCholerarBS2to5Logic Version: 0.2.0 Url: IMMZD18SCholerarBS2to5Logic Status: draft Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-07-02 07:24:46+0000 Publisher: WHO Description: This library defines decision support logic for the IMMZ.D18.S.Cholera.WC-rBS vaccine 3-dose schedule table in the Immunization CPG Related Artifacts: Dependencies WHOCommon IMMZCommon IMMZConcepts IMMZEncounterElements IMMZD2DTCholeraEncounterElements Parameters: Name Type Min Max In/Out CholeraLowerLimitDays integer 0 1 In CholeraExactIntervalDays integer 0 1 In Today date 0 1 In Patient Patient 0 1 Out Cholera dose 1 boolean 0 1 Out Cholera dose 1 Due Date date 0 1 Out Cholera dose 1 Create string 0 1 Out Cholera dose 1 Overdue Resource 0 1 Out Cholera dose 1 Expiration Resource 0 1 Out First cholera dose was administered boolean 0 1 Out Cholera dose 2 Expiration date 0 1 Out Second cholera dose was administered boolean 0 1 Out Cholera dose 2 boolean 0 1 Out Cholera dose 2 Due Date date 0 1 Out Cholera dose 2 Create string 0 1 Out Cholera dose 2 Overdue Resource 0 1 Out Cholera dose 3 Expiration date 0 1 Out Three doses from primary series were administered. The primary series has been completed boolean 0 1 Out Cholera dose 3 boolean 0 1 Out Cholera dose 3 Due Date date 0 1 Out Cholera dose 3 Create string 0 1 Out Cholera dose 3 Overdue Resource 0 1 Out Cholera booster dose Expiration date 0 1 Out Cholera booster dose boolean 0 1 Out Cholera booster dose Due Date date 0 1 Out Cholera booster dose Create string 0 1 Out Cholera booster dose Overdue Resource 0 1 Out Booster dose was administered approximately less than 6 months ago boolean 0 1 Out Test Validation Resource 0 1 Out Content: text/cql /* * Library: IMMZD18SCholerarBS2to5Logic (IMMZ.D18.S.Cholera.WC-rBS vaccine 3-dose schedule) * Schedule Table: Whole cell-recombinant B subunit (WC-rBS) vaccine (Dukoral), 3-dose sched…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
  value: code
    v: computable
url:
  v: http://smart.who.int/immunizations/Library/IMMZD18SCholerarBS2to5Logic
version:
  v: 0.2.0
name:
  v: IMMZD18SCholerarBS2to5Logic
title:
  v: IMMZD18SCholerarBS2to5Logic
status:
  v: draft
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
    code:
      v: logic-library
date:
  v: 2025-07-02T07:24:46+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.D18.S.Cholera.WC-rBS vaccine 3-dose schedule table in the Immunization CPG
related artifact:
  type:
    v: depends-on
  display:
    v: Library WC
  resource:
    v: http://smart.who.int/immunizations/Library/WHOCommon
    link: http://smart.who.int/immunizations/Library/WHOCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Common
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZCommon
    link: http://smart.who.int/immunizations/Library/IMMZCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Concepts
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZConcepts
    link: http://smart.who.int/immunizations/Library/IMMZConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library IE
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZEncounterElements
    link: http://smart.who.int/immunizations/Library/IMMZEncounterElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library Encounter
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZD2DTCholeraEncounterElements
    link: http://smart.who.int/immunizations/Library/IMMZD2DTCholeraEncounterElements
parameter:
  name:
    v: CholeraLowerLimitDays
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: CholeraExactIntervalDays
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
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: Cholera dose 1
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Cholera dose 1 Due Date
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Cholera dose 1 Create
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Cholera dose 1 Overdue
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
parameter:
  name:
    v: Cholera dose 1 Expiration
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
parameter:
  name:
    v: First cholera dose was administered
  use:
    v: out

v: 0

v: 1

v: boolean

name:
  v: Cholera dose 2 Expiration
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Second cholera dose was administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Cholera dose 2
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Cholera dose 2 Due Date
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Cholera dose 2 Create
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Cholera dose 2 Overdue
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Cholera dose 3 Expiration
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Three doses from primary series were administered. The primary series has been completed
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Cholera dose 3
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Cholera dose 3 Due Date
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Cholera dose 3 Create
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Cholera dose 3 Overdue
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Cholera booster dose Expiration
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Cholera booster dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Cholera booster dose Due Date
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Cholera booster dose Create
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Cholera booster dose Overdue
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Resource

name:
  v: Booster dose was administered approximately less than 6 months ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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