IMMZD2DTHepatitisBElements
type: Library
node role: treeRoot
id:
  v: IMMZD2DTHepatitisBElements
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: IMMZD2DTHepatitisBElements Id: IMMZD2DTHepatitisBElements Version: 0.2.0 Url: IMMZD2DTHepatitisBElements 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 context-independent elements for Hepatitis B used throughout the Immunization CPG Related Artifacts: Dependencies WHOConcepts WHOCommon WHOElements IMMZCommon IMMZConcepts IMMZElements Parameters: Name Type Min Max In/Out HepBBirthDoseAgeLimitDays integer 0 1 In HepBLowerLimitWeeks integer 0 1 In Patient Patient 0 1 Out Hepatitis B Doses Administered to Patient Immunization 0 * Out Hepatitis B Primary Series Doses Administered to Patient Immunization 0 * Out Number of Hepatitis B Primary Series Doses Administered integer 0 1 Out Hepatitis B Dose 0 Doses Administered to Patient Immunization 0 * Out Number of Hepatitis B Dose 0 Doses Administered integer 0 1 Out Hepatitis B birth dose was not administered boolean 0 1 Out Client's age is less than {Member States defined upper limit} boolean 0 1 Out Client's age is more than {Member States defined upper limit} boolean 0 1 Out Hepatitis B birth dose was administered boolean 0 1 Out No hepatitis B primary series doses were administered boolean 0 1 Out Client's age is less than {Member States defined lower limit} boolean 0 1 Out Client's age is more than or equal to {Member States defined lower limit} boolean 0 1 Out One hepatitis B primary series dose was administered boolean 0 1 Out Date of Latest Hepatitis B Dose date 0 1 Out The latest hepatitis B dose was administered less than 4 weeks ago boolean 0 1 Out The latest hepatitis B dose was administered more than 4 weeks ago boolean 0 1 Out Two hepatitis B primary series doses were administered boolean 0 1 Out Client's weight at birth was over 2000 g boolean 0 1 Out Client was not a premature infant at birth boolean 0 1 Out Client's weight at birth was below 2000 g boolean 0 1 Out Clien…
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/IMMZD2DTHepatitisBElements
  l: IMMZD2DTHepatitisBElements
version:
  v: 0.2.0
name:
  v: IMMZD2DTHepatitisBElements
title:
  v: IMMZD2DTHepatitisBElements
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 context-independent elements for Hepatitis B 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 Elements
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZElements
    l: IMMZElements
parameter:
  name:
    v: HepBBirthDoseAgeLimitDays
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: HepBLowerLimitWeeks
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Hepatitis B Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Hepatitis B Primary Series Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Number of Hepatitis B Primary Series Doses Administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: Hepatitis B Dose 0 Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: Number of Hepatitis B Dose 0 Doses Administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: Hepatitis B birth dose was not administered

v: out

v: 0

v: 1

v: boolean

name:
  v: Client's age is less than {Member States defined upper limit}
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is more than {Member States defined upper limit}
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Hepatitis B birth dose was administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No hepatitis B primary series doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is less than {Member States defined lower limit}
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is more than or equal to {Member States defined lower limit}
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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

name:
  v: Date of Latest Hepatitis B Dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: The latest hepatitis B dose was administered less than 4 weeks ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: The latest hepatitis B dose was administered more than 4 weeks ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Two hepatitis B primary series doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's weight at birth was over 2000 g
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client was not a premature infant at birth
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's weight at birth was below 2000 g
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client was a premature infant at birth
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Three hepatitis B primary series doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: One hepatitis B primary series doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Number of Hepatitis B Doses Administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: integer

name:
  v: No hepatitis B doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client's age is more than {Member States defined lower limit}
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: One hepatitis B dose was administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Two hepatitis B doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Date of First Hepatitis B Dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: The first hepatitis B dose was administered less than 6 months ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: The first hepatitis B dose was administered more than 6 months ago
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Three hepatitis B doses were administered
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

content type:
  v: text/cql

content type:
  v: application/elm+xml