IMMZD2DTBCGEncounterElements
type: Library
node role: treeRoot
id:
  v: IMMZD2DTBCGEncounterElements
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: IMMZD2DTBCGEncounterElements Id: IMMZD2DTBCGEncounterElements Version: 0.2.0 Url: IMMZD2DTBCGEncounterElements Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-03-03 13:07:11+0000 Publisher: WHO Description: This library defines encounter-based elements for BCG used throughout the Immunization CPG Related Artifacts: Dependencies WHOConcepts WHOCommon WHOElements IMMZCommon IMMZConcepts IMMZEncounterElements IMMZD2DTBCGElements Parameters: Name Type Min Max In/Out Today date 0 1 In EncounterId string 0 1 In Patient Patient 0 1 Out BCG Doses Administered to Patient Immunization 0 * Out BCG Primary Series Doses Administered to Patient Immunization 0 * Out Number of BCG Primary Series Doses Administered integer 0 1 Out No BCG primary series dose was administered boolean 0 1 Out Client's age is less than or equal to 28 days boolean 0 1 Out Client's HIV status is negative or unknown boolean 0 1 Out No live vaccine was administered boolean 0 1 Out Live vaccine was administered in the last four weeks boolean 0 1 Out Client's HIV status is positive boolean 0 1 Out Client is currently receiving antiretroviral therapy boolean 0 1 Out Client is immunologically stable boolean 0 1 Out Client is not immunologically stable boolean 0 1 Out Client is currently not receiving antiretroviral therapy boolean 0 1 Out Client's age is between 28 days and 5 years boolean 0 1 Out Client's TB infection test result is negative boolean 0 1 Out No live vaccine was administered in the last four weeks boolean 0 1 Out Client's TB infection test result is unknown (test not done or no result yet) boolean 0 1 Out Client's TB infection test result is positive boolean 0 1 Out Client is not clinically well boolean 0 1 Out Client is clinically well boolean 0 1 Out Client's age is more than 5 years boolean 0 1 Out One BCG primary series dose was administered boolean 0 1 Out Content: text/cql /* * Library: IMMZD2DTBCGEncounterElements */ lib…
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/IMMZD2DTBCGEncounterElements
  l: IMMZD2DTBCGEncounterElements
version:
  v: 0.2.0
name:
  v: IMMZD2DTBCGEncounterElements
title:
  v: IMMZD2DTBCGEncounterElements
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: 2026-03-03T13:07:11+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: This library defines encounter-based elements for BCG used throughout the Immunization CPG
related artifact:
  type:
    v: depends-on
  display:
    v: Library WHOConcepts
  resource:
    v: http://smart.who.int/immunizations/Library/WHOConcepts
    l: WHOConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library WC
  resource:
    v: http://smart.who.int/immunizations/Library/WHOCommon
    l: WHOCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library WE
  resource:
    v: http://smart.who.int/immunizations/Library/WHOElements
    l: WHOElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library Common
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZCommon
    l: IMMZCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Concepts
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZConcepts
    l: IMMZConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library Encounter
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZEncounterElements
    l: IMMZEncounterElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library BCGElements
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZD2DTBCGElements
    l: IMMZD2DTBCGElements
parameter:
  name:
    v: Today
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: EncounterId
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: BCG Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: BCG Primary Series Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Number of BCG Primary Series Doses Administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: No BCG primary series dose was administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client's age is less than or equal to 28 days
  use:
    v: out
  min:
    v: 0

v: 1

v: boolean

name:
  v: Client's HIV status is negative or unknown
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No live vaccine was administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Live vaccine was administered in the last four weeks
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's HIV status is positive
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is currently receiving antiretroviral therapy
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is immunologically stable
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is not immunologically stable
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is currently not receiving antiretroviral therapy
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is between 28 days and 5 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's TB infection test result is negative
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No live vaccine was administered in the last four weeks
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's TB infection test result is unknown (test not done or no result yet)
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's TB infection test result is positive
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is not clinically well
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is clinically well
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is more than 5 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: One BCG primary series dose was administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

content type:
  v: text/cql

content type:
  v: application/elm+xml