library-IMMZDT02
type: Library
node role: treeRoot
id:
  v: library-IMMZDT02
text:
  status:
    v: generated
  div: Related Artifacts depends-on FHIR model information http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1 depends-on Library FHIRHelpers http://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1 depends-on Library IMMZCom IMMZCommon depends-on Library IMMZc IMMZConcepts depends-on Library IMMZCon IMMZConfig depends-on Library IMMZvl IMMZVaccineLibrary depends-on Value set HepB Vaccine http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE6 depends-on Value set Patient birth weight observation value Birthweight valueset depends-on Value set PretermBirth Preterm valueset Parameters Patient out 0 1 Patient HepB Doses Administered to Patient out 0 * Immunization First HepB Dose Administered to Patient out 0 1 Immunization Date First HepB Dose Administered to Patient out 0 1 date Second HepB Dose Administered to Patient out 0 1 Immunization Date Second HepB Dose Administered to Patient out 0 1 date Third HepB Dose Administered to Patient out 0 1 Immunization Patient birth weight observation value out 0 1 Quantity 2000g out 0 1 Quantity HepB Birth Dose Administered to Patient out 0 1 boolean Date Third HepB Dose Administered to Patient out 0 1 date Fourth HepB Dose Administered to Patient out 0 1 Immunization Provision of the HepB dose out 0 1 boolean No HepB Dose Administered to Patient out 0 1 boolean Needs HepB Birth Dose out 0 1 boolean Date Fourth HepB Dose Administered to Patient out 0 1 date Date Last Valid HepB Dose out 0 1 date Schedule Due Date for HepB dose out 0 1 dateTime HepB Next Dose Number out 0 1 integer Expiration Date for HepB dose out 0 1 dateTime Should vaccinate patient for HepB out 0 1 boolean Number of Required HepB Doses out 0 1 integer Number of HepB Doses Administered to Patient out 0 1 integer Date Last HepB Dose Administered to Patient out 0 1 date Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZDT02 (IMMZ.DT.02.HepatitisB) * Rule: If child or pe…
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
  value: Reference
    link: http://fhir.org/guides/who/smart-immunization/Device/cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://fhir.org/guides/who/smart-immunization/Library/IMMZDT02
version:
  v: 0.1.0
name:
  v: IMMZDT02
status:
  v: draft
date:
  v: 2023-08-02T04:40:13+00:00
publisher:
  v: World Health Organization (WHO)
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
related artifact:
  type:
    v: depends-on
  display:
    v: FHIR model information
  resource:
    v: http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZCom
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/IMMZCommon
    link: http://fhir.org/guides/who/smart-immunization/Library/IMMZCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZc
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/IMMZConcepts
    link: http://fhir.org/guides/who/smart-immunization/Library/IMMZConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZCon
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/IMMZConfig
    link: http://fhir.org/guides/who/smart-immunization/Library/IMMZConfig
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZvl
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/IMMZVaccineLibrary
    link: http://fhir.org/guides/who/smart-immunization/Library/IMMZVaccineLibrary
related artifact:
  type:
    v: depends-on
  display:
    v: Value set HepB Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE6
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE6
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Patient birth weight observation value
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/Birthweight-values
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/Birthweight-values
related artifact:
  type:
    v: depends-on
  display:
    v: Value set PretermBirth
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/Preterm-values
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/Preterm-values
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: HepB Doses Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: First HepB Dose Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Immunization
parameter:
  name:
    v: Date First HepB Dose Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Second HepB Dose Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Immunization
parameter:
  name:
    v: Date Second HepB Dose Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Third HepB Dose Administered to Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Immunization
parameter:
  name:
    v: Patient birth weight observation value
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Quantity
parameter:
  name:
    v: 2000g
  use:
    v: out
  min:
    v: 0

v: 1

v: Quantity

name:
  v: HepB Birth Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Date Third HepB Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Fourth HepB Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Immunization

name:
  v: Provision of the HepB dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No HepB Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Needs HepB Birth Dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Date Fourth HepB Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Date Last Valid HepB Dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

name:
  v: Schedule Due Date for HepB dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: dateTime

name:
  v: HepB Next Dose Number
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: integer

name:
  v: Expiration Date for HepB dose
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: dateTime

name:
  v: Should vaccinate patient for HepB
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Number of Required HepB Doses
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: integer

name:
  v: Number of HepB Doses Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: integer

name:
  v: Date Last HepB Dose Administered to Patient
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: date

type:
  v: Patient
profile:
  v: http://hl7.org/fhir/StructureDefinition/Patient
  link: http://hl7.org/fhir/StructureDefinition/Patient

type:
  v: Immunization
profile:
  v: http://hl7.org/fhir/StructureDefinition/Immunization
  link: http://hl7.org/fhir/StructureDefinition/Immunization
must support:
  v: occurrence
must support:
  v: vaccineCode
must support:
  v: status

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json