IMMZD18SYellowFever
type: Library
node role: treeRoot
id:
  v: IMMZD18SYellowFever
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://smart.who.int/ig/smart-immunizations/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 FC FHIRCommon depends-on Library input IMMZD2DTYellowFeverInput depends-on Value set Yellow Fever Vaccine IMMZ.Z.DE23 Yellow fever containing vaccines Parameters Patient out 0 1 Patient Yellow fever dose 1 out 0 1 boolean Yellow fever dose 1 Due Date out 0 1 date Yellow fever dose 1 Overdue out 0 1 date Yellow fever dose dose 1 Create out 0 1 string Yellow fever dose 1 Expiration out 0 1 Resource Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZD18SYellowFever (IMMZ.D18.S.Yellow fever schedule) */ library IMMZD18SYellowFever // 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 include FHIRCommon called FC include IMMZD2DTYellowFeverInput called input // End Skeleton CQL context Patient /* @output: Yellow fever dose 1 @trigger: Child's birth */ define "Yellow fever dose 1": input."No yellow fever primary series doses were administered" /* @output: Measles dose dose 1 Create @create: The client is due for measles dose 1 if the client is at least 9 months */ define "Yellow fever dose dose 1 Create": if "Yellow fever dose 1" then 'The client is due for yellow fever dose 1 if the client is at least 9 months and living in a yellow fever endemic area. Due Date is ' + ToString("Yellow fever dose 1 Due Date") + '. Overdue on ' + ToString("Yellow fever dose 1 Overdue") else '' /* @dynamicValue: Yellow fever dose 1 Due Date @pseudocode: "Date of birth" + 9 …
extension:
  url:
    v: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem
  value: Reference
    link: http://smart.who.int/ig/smart-immunizations/Device/cqf-tooling
    reference:
      v: Device/cqf-tooling
url:
  v: http://smart.who.int/ig/smart-immunizations/Library/IMMZD18SYellowFever
version:
  v: 0.1.0
name:
  v: IMMZD18SYellowFever
status:
  v: draft
date:
  v: 2024-03-22T16:39:50+00:00
publisher:
  v: World Health Organization (WHO)
contact:
  name:
    v: World Health Organization (WHO)
  telecom:
    system:
      v: url
    value:
      v: https://www.who.int
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://smart.who.int/ig/smart-immunizations/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZCom
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/IMMZCommon
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZc
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/IMMZConcepts
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZCon
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/IMMZConfig
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZConfig
related artifact:
  type:
    v: depends-on
  display:
    v: Library IMMZvl
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/IMMZVaccineLibrary
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZVaccineLibrary
related artifact:
  type:
    v: depends-on
  display:
    v: Library FC
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/FHIRCommon
    link: http://smart.who.int/ig/smart-immunizations/Library/FHIRCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library input
  resource:
    v: http://smart.who.int/ig/smart-immunizations/Library/IMMZD2DTYellowFeverInput
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZD2DTYellowFeverInput
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Yellow Fever Vaccine
  resource:
    v: http://smart.who.int/ig/smart-immunizations/ValueSet/IMMZ.Z.DE23
    link: http://smart.who.int/ig/smart-immunizations/ValueSet/IMMZ.Z.DE23
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Yellow fever dose 1
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Yellow fever dose 1 Due Date
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Yellow fever dose 1 Overdue
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Yellow fever dose dose 1 Create
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Yellow fever dose 1 Expiration
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
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
  must support:
    v: occurrence
content:
  content type:
    v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json