IMMZDT20
type: Library
node role: treeRoot
id:
  v: IMMZDT20
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 Mumps Vaccine http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE11 Parameters Patient out 0 1 Patient MUMPS vaccine history out 0 * Immunization No-doses out 0 1 boolean Age out 0 1 integer Should vaccinate Patient for MUMPS because no doses on 2 dose scheme out 0 1 boolean Should vaccinate Patient for MUMPS a second dose on a 2 dose scheme out 0 1 boolean Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZDT20 (IMMZ.DT.20.Mumps) * Rule: If child or person has not been vaccinated against Mumps, give Mumps vaccine * Trigger: Patient has never had the Mumps vaccination, or missing doses in the vaccination schedule */ library IMMZDT20 // 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 Skeleton CQL context Patient /* * @dataElement MUMPS vaccine history */ define "MUMPS vaccine history": IMMZCom."Mumps Doses Administered to Patient" /* * @dataElement No-doses */ define "No-doses": not exists("MUMPS vaccine history") /* * @dataElement Age */ define "Age": IMMZCom."Current Patient Age In Months" /* * Rule: Should vaccinate Patient for MUMPS because no doses on 2 dose scheme * Annotations: * - Provide MUMPS immunizations - using the "MUMPS vaccine immunization - NO PREVIOUS" schedule (2 dose scheme) * Outputs: * - Immunize Patient for MUMPS - No Doses * References: * - WHO recommendations for routine immunization - summary tabl…
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/IMMZDT20
version:
  v: 0.1.0
name:
  v: IMMZDT20
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: Value set Mumps Vaccine
  resource:
    v: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE11
    link: http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE11
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: MUMPS vaccine history
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Immunization
parameter:
  name:
    v: No-doses
  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: Should vaccinate Patient for MUMPS because no doses on 2 dose scheme
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Should vaccinate Patient for MUMPS a second dose on a 2 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