IMMZD2DTMeaslesDose0
type: Library
node role: treeRoot
id:
  v: IMMZD2DTMeaslesDose0
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 IMMZD2DTMeaslesInput depends-on Value set MCV Vaccine IMMZ.Z.DE9 ValueSet for Measles Vaccines depends-on Value set Live Attenuated Set of live attenuated vaccines Parameters Patient out 0 1 Patient Consider MCV0. Create a clinical note. out 0 1 boolean Consider MCV0. Create a clinical note. Guidance out 0 1 string Client not due for MCV0 Case 1 out 0 1 boolean Client not due for MCV0 Case 2 out 0 1 boolean Client not due for MCV0 Case 3 out 0 1 boolean Client not due for MCV0 Case 4 out 0 1 boolean Client not due for MCV0 out 0 1 boolean Client not due for MCV0 Guidance out 0 1 string Guidance out 0 1 string Data Requirements Type: Patient (Patient) Type: Immunization (Immunization) Contents text/cql /* * Library: IMMZD2DTMeaslesDose0 (IMMZ.D2.DT.Measles.MCV dose 0) * Rule: Determine if the client is due for a measles vaccination according to the national immunization schedule * Decision Table: Measles dose 0 (MCV0) administration * Trigger: IMMZ.D2 Determine required vaccination(s) if any */ library IMMZD2DTMeaslesDose0 // 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 IMMZD2DTMeaslesInput called input // End Skeleton CQL context Patient /* @dynamicValue: Guidance */ define "Guidance": case when "Consider MCV0. Create a clinical note." then "Consider MCV0. Create a clinical note. Guidance" when "Client not due for MCV0" then "Cl…
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/IMMZD2DTMeaslesDose0
version:
  v: 0.1.0
name:
  v: IMMZD2DTMeaslesDose0
status:
  v: draft
date:
  v: 2024-04-04T07:29:23+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/IMMZD2DTMeaslesInput
    link: http://smart.who.int/ig/smart-immunizations/Library/IMMZD2DTMeaslesInput
related artifact:
  type:
    v: depends-on
  display:
    v: Value set MCV Vaccine
  resource:
    v: http://smart.who.int/ig/smart-immunizations/ValueSet/IMMZ.Z.DE9
    link: http://smart.who.int/ig/smart-immunizations/ValueSet/IMMZ.Z.DE9
related artifact:
  type:
    v: depends-on
  display:
    v: Value set Live Attenuated
  resource:
    v: http://smart.who.int/ig/smart-immunizations/ValueSet/LiveAttenuatedVaccines
    link: http://smart.who.int/ig/smart-immunizations/ValueSet/LiveAttenuatedVaccines
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Consider MCV0. Create a clinical note.
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Consider MCV0. Create a clinical note. Guidance
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Client not due for MCV0 Case 1
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client not due for MCV0 Case 2
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client not due for MCV0 Case 3
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client not due for MCV0 Case 4
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean

name:
  v: Client not due for MCV0
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client not due for MCV0 Guidance
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

name:
  v: Guidance
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

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: occurrence

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json