IMMZD2DTTyphoidEncounterElements
type: Library
node role: treeRoot
id:
  v: IMMZD2DTTyphoidEncounterElements
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: IMMZD2DTTyphoidEncounterElements Id: IMMZD2DTTyphoidEncounterElements Version: 0.2.0 Url: IMMZD2DTTyphoidEncounterElements 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 encounter-based elements for Typhoid used throughout the Immunization CPG Related Artifacts: Dependencies WHOConcepts WHOCommon WHOElements IMMZCommon IMMZConcepts IMMZEncounterElements IMMZD2DTTyphoidElements Parameters: Name Type Min Max In/Out Today date 0 1 In EncounterId string 0 1 In Patient Patient 0 1 Out Typhoid Doses Administered to Patient Immunization 0 * Out Typhoid Primary Series Doses Administered to Patient Immunization 0 * Out Number of Typhoid Primary Series Doses Administered integer 0 1 Out Date of Latest Typhoid Dose date 0 1 Out No typhoid primary series doses were administered boolean 0 1 Out One typhoid primary series dose was administered boolean 0 1 Out Client's age is less than 6 months boolean 0 1 Out Client's age is between 6 months and 45 years boolean 0 1 Out Client's age is more than or equal to 45 years boolean 0 1 Out Client's age is less than 2 years boolean 0 1 Out Client's age is more than or equal to 2 years boolean 0 1 Out Client's age is less than 6 years boolean 0 1 Out Client's age is more than or equal to 6 years boolean 0 1 Out Primary series is complete boolean 0 1 Out Primary series is not complete boolean 0 1 Out The latest typhoid dose was administered less than 3 years ago boolean 0 1 Out The latest typhoid dose was administered more than 3 years ago boolean 0 1 Out No live vaccine, other than typhoid, was administered in the past 4 weeks boolean 0 1 Out Live vaccine, other than typhoid, was administered in the past 4 weeks boolean 0 1 Out Content: text/cql /* * Library: IMMZD2DTTyphoidEncounterElements */ library IMMZD2DTTyphoidEncounterElements using FHIR version '4.0.1' include FHIRHelpers ver…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
  value: code
    v: computable
url:
  v: http://smart.who.int/immunizations/Library/IMMZD2DTTyphoidEncounterElements
version:
  v: 0.2.0
name:
  v: IMMZD2DTTyphoidEncounterElements
title:
  v: IMMZD2DTTyphoidEncounterElements
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 encounter-based elements for Typhoid used throughout the Immunization CPG
related artifact:
  type:
    v: depends-on
  display:
    v: Library WHOConcepts
  resource:
    v: http://smart.who.int/immunizations/Library/WHOConcepts
    link: http://smart.who.int/immunizations/Library/WHOConcepts
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 WE
  resource:
    v: http://smart.who.int/immunizations/Library/WHOElements
    link: http://smart.who.int/immunizations/Library/WHOElements
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 Encounter
  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 TyphoidElements
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZD2DTTyphoidElements
    link: http://smart.who.int/immunizations/Library/IMMZD2DTTyphoidElements
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: Typhoid Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Typhoid Primary Series Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Number of Typhoid Primary Series Doses Administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: Date of Latest Typhoid Dose
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: No typhoid primary series doses were administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean

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

name:
  v: Client's age is less than 6 months
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is between 6 months and 45 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is more than or equal to 45 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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

name:
  v: Client's age is more than or equal to 2 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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

name:
  v: Client's age is more than or equal to 6 years
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Primary series is complete
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Primary series is not complete
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: The latest typhoid dose was administered less than 3 years ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: The latest typhoid dose was administered more than 3 years ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No live vaccine, other than typhoid, was administered in the past 4 weeks
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Live vaccine, other than typhoid, was administered in the past 4 weeks
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

content type:
  v: text/cql

content type:
  v: application/elm+xml