IMMZDT14
type: Library
node role: treeRoot
id:
  v: IMMZDT14
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 IMMZConf IMMZConfig depends-on Library IMMZvl IMMZVaccineLibrary depends-on Library FC FHIRCommon depends-on Library Wcon WHOConcepts depends-on Value set Typhoid Vaccine http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE21 depends-on Value set ViPS Class Typhoid Vaccine ViPS Class Typhoid Vaccine values depends-on Value set Ty21a Class Typhoid Vaccine Ty21a Class Typhoid Vaccine values depends-on Value set Pregnancy Status Pregnant http://fhir.org/guides/who/core/ValueSet/pregnancystatus-values Parameters Patient out 0 1 Patient Should vaccinate patient with TCV vaccine on a 1 dose scheme out 0 1 boolean Should vaccinate patient with ViPS vaccine on a 1 dose scheme out 0 1 boolean Patient has completed Typhoid primary series out 0 1 boolean Should Re-vaccinate patient with ViPS vaccine on a 1 dose scheme out 0 1 boolean Should vaccinate patient with Ty21a vaccine on a 3 dose scheme out 0 1 boolean Should vaccinate patient with Ty21a vaccine - dose 1 (restart due to interrupted series) out 0 1 boolean Should Re-vaccinate patient with Ty21a vaccine on 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: IMMZDT14 (IMMZ.DT.14.Typhoid) * Rule: If child or person has not been vaccinated, give the Typhoid vaccine between age 6 months - 45 years old * Trigger: Patient has never received Typhoid vaccination and/or is in an outbreak area */ library IMMZDT14 // Start Skeleton CQL using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include IMMZCommon called IMMZCom include IMMZConcepts called IMMZc i…
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/IMMZDT14
version:
  v: 0.1.0
name:
  v: IMMZDT14
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 IMMZConf
  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 FC
  resource:
    v: http://fhir.org/guides/who/smart-immunization/Library/FHIRCommon
    link: http://fhir.org/guides/who/smart-immunization/Library/FHIRCommon
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 Typhoid Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE21
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE21
related artifact:
  type:
    v: depends-on
  display:
    v: Value set ViPS Class Typhoid Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/ViPSClassTyphoidVaccine-values
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/ViPSClassTyphoidVaccine-values
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Ty21a Class Typhoid Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/Ty21aClassTyphoidVaccine-values
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/Ty21aClassTyphoidVaccine-values
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
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Should vaccinate patient with TCV vaccine on a 1 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Should vaccinate patient with ViPS vaccine on a 1 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Patient has completed Typhoid primary series
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Should Re-vaccinate patient with ViPS vaccine on a 1 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Should vaccinate patient with Ty21a vaccine on a 3 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Should vaccinate patient with Ty21a vaccine - dose 1 (restart due to interrupted series)
  use:
    v: out

v: 0

v: 1

v: boolean

name:
  v: Should Re-vaccinate patient with Ty21a vaccine on 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
must support:
  v: protocolApplied
must support:
  v: protocolApplied.doseNumber

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