library-IMMZDT19
type: Library
node role: treeRoot
id:
  v: library-IMMZDT19
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 Library Wcon WHOConcepts depends-on Value set Dengue Vaccine http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE27 depends-on Value set Pregnancy Status Pregnant http://fhir.org/guides/who/core/ValueSet/pregnancystatus-values depends-on Value set Seronegative Seronegative valuest Parameters Patient out 0 1 Patient No-doses Dengue vaccine immunization history out 0 1 boolean Age out 0 1 integer 9 years out 0 1 Quantity 45 years out 0 1 Quantity Should vaccinate patient for Dengue because no doses at 9 years old in a 3 dose scheme out 0 1 boolean Dengue vaccine immunization history = 1 dose out 0 1 boolean Last dose given out 0 1 date 6 months out 0 1 Quantity Should vaccinate patient for Dengue because 1st dose given 6 months ago in a 3 dose scheme out 0 1 boolean Dengue vaccine immunization history = 2 doses out 0 1 boolean Should vaccinate patient for Dengue because 2nd dose given 6 months ago in a 3 dose scheme out 0 1 boolean Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Type: Observation (Observation) Type: Condition (Condition) Contents text/cql /* * Library: IMMZDT19 (IMMZ.DT.19.Dengue) * Rule: If child or person has not been vaccinated, give Dengue vaccine between 9 and 45 years of age * Trigger: Patient has never had Dengue vaccination, or missing doses in the vaccination schedule */ library IMMZDT19 // Start Skeleton CQL using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include IMMZCommon called IMMZCom include IMMZConcepts called IMMZc include IMMZConfig called IMMZCon include IMMZVaccineLibrary called IMMZvl // End Ske…
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/IMMZDT19
version:
  v: 0.1.0
name:
  v: IMMZDT19
status:
  v: draft
date:
  v: 2023-04-13T07:36:12+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: Library Wcon
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/WHOConcepts
    link: http://fhir.org/guides/who/smart-immunization/Library/WHOConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Dengue Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE27
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE27
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Pregnancy Status Pregnant
  resource:
    v: http://fhir.org/guides/who/core/ValueSet/pregnancystatus-values
    link: http://fhir.org/guides/who/core/ValueSet/pregnancystatus-values
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Seronegative
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/Seronegative-values
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/Seronegative-values
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: No-doses Dengue vaccine immunization history
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Age
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: 9 years
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Quantity
parameter:
  name:
    v: 45 years
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Quantity
parameter:
  name:
    v: Should vaccinate patient for Dengue because no doses at 9 years old in a 3 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Dengue vaccine immunization history = 1 dose
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Last dose given
  use:
    v: out
  min:
    v: 0
  max:
    v: 1

v: date

name:
  v: 6 months
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Quantity

name:
  v: Should vaccinate patient for Dengue because 1st dose given 6 months ago in a 3 dose scheme
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Dengue vaccine immunization history = 2 doses
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Should vaccinate patient for Dengue because 2nd dose given 6 months ago in a 3 dose scheme
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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: status
must support:
  v: vaccineCode

type:
  v: Observation
profile:
  v: http://hl7.org/fhir/StructureDefinition/Observation
  link: http://hl7.org/fhir/StructureDefinition/Observation
must support:
  v: value

type:
  v: Condition
profile:
  v: http://hl7.org/fhir/StructureDefinition/Condition
  link: http://hl7.org/fhir/StructureDefinition/Condition
must support:
  v: code

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json