IMMZDT12
type: Library
node role: treeRoot
id:
  v: IMMZDT12
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 Yellow Fever Vaccine http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE23 Parameters Patient is travelling to and from a Yellow Fever endemic area in 0 1 boolean Patient out 0 1 Patient Yellow Fever vaccine immunization history out 0 * Immunization No-doses of Yellow Fever vaccine administered to patient out 0 1 boolean Age out 0 1 integer 9 months out 0 1 Quantity Should vaccinate patient for Yellow Fever because no doses on 1 dose scheme out 0 1 boolean Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZDT12 (IMMZ.DT.12.YellowFever) * Rule: If child or person has not been vaccinated, give Yellow Fever vaccine between age 9-12 months * Trigger: Patient has never received Yellow Fever vaccination and/or resides/is from an endemic region */ library IMMZDT12 // 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 parameter "Patient is travelling to and from a Yellow Fever endemic area" Boolean default false // End Skeleton CQL context Patient /* * @dataElement Yellow Fever vaccine immunization history */ define "Yellow Fever vaccine immunization history": IMMZCom."Yellow Fever Doses Administered to Patient" /* * @dataElement No-doses */ define "No-doses of Yellow Fever vaccine administered to patient": not exists("Yellow Fever vaccine immunization history") /* * @dataElement Age */ define "Age": IMMZCom."Current Patient Age In Months"…
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/IMMZDT12
version:
  v: 0.1.0
name:
  v: IMMZDT12
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 Yellow Fever Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE23
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE23
parameter:
  name:
    v: Patient is travelling to and from a Yellow Fever endemic area
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Yellow Fever vaccine immunization history
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: No-doses of Yellow Fever vaccine administered to patient
  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 months
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Quantity
parameter:
  name:
    v: Should vaccinate patient for Yellow Fever because no doses on 1 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
data requirement:
  type:
    v: Patient
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
data requirement:
  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
content:
  content type:
    v: text/cql
content:
  content type:
    v: application/elm+xml
content:
  content type:
    v: application/elm+json