IMMZD18SMeaslesMCVDose0Logic
type: Library
node role: treeRoot
id:
  v: IMMZD18SMeaslesMCVDose0Logic
meta:
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
    l: crmi-shareablelibrary
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
    l: crmi-publishablelibrary
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
    l: cql-library
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module
    l: cql-module
text:
  status:
    v: extensions
  div:
    v: Title: IMMZD18SMeaslesMCVDose0Logic Id: IMMZD18SMeaslesMCVDose0Logic Version: 0.2.0 Url: IMMZD18SMeaslesMCVDose0Logic Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-03-03 13:07:11+0000 Publisher: WHO Description: This library defines decision support logic for the IMMZ.D18.S.Measles.MCV dose 0 schedule table in the Immunization CPG Related Artifacts: Dependencies WHOCommon IMMZCommon IMMZConcepts IMMZEncounterElements IMMZD2DTMeaslesEncounterElements Parameters: Name Type Min Max In/Out Today date 0 1 In Patient Patient 0 1 Out MCV0 was administered boolean 0 1 Out MCV0 Expiration date 0 1 Out MCV0 boolean 0 1 Out MCV0 Due Date date 0 1 Out MCV0 Create string 0 1 Out MCV0 Overdue Resource 0 1 Out Test Validation Resource 0 1 Out Content: text/cql /* * Library: IMMZD18SMeaslesMCVDose0Logic (IMMZ.D18.S.Measles.MCV dose 0 schedule) * Schedule Table: Measles-containing vaccine dose 0 (MCV0) schedule */ library IMMZD18SMeaslesMCVDose0Logic using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' include WHOCommon called WC include IMMZCommon called Common include IMMZConcepts called Concepts include IMMZEncounterElements called IE include IMMZD2DTMeaslesEncounterElements called Encounter parameter Today Date default Today() context Patient /* @output: MCV0 @description: Provision of the MCV0 @trigger: Child's birth @pseudo: @triggerDate: "Date of birth" */ define "MCV0": not "MCV0 was administered" and "MCV0 Expiration" after Today /* @output: MCV0 Create @create: In the following situations, a supplementary dose of MCV should be given to infants from 6 months of age: • during a measles outbreak as part of intensified service delivery; • during campaigns in settings where the risk of measles among infants aged under 9 months remains high (e.g. in endemic countries experiencing regular outbreaks); • for internally displaced populations and refugees, and populations in conflict zones; • for individual inf…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: computable
url:
  v: http://smart.who.int/immunizations/Library/IMMZD18SMeaslesMCVDose0Logic
  l: IMMZD18SMeaslesMCVDose0Logic
version:
  v: 0.2.0
name:
  v: IMMZD18SMeaslesMCVDose0Logic
title:
  v: IMMZD18SMeaslesMCVDose0Logic
status:
  v: draft
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-03-03T13:07:11+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: This library defines decision support logic for the IMMZ.D18.S.Measles.MCV dose 0 schedule table in the Immunization CPG
related artifact:
  type:
    v: depends-on
  display:
    v: Library WC
  resource:
    v: http://smart.who.int/immunizations/Library/WHOCommon
    l: WHOCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Common
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZCommon
    l: IMMZCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library Concepts
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZConcepts
    l: IMMZConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library IE
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZEncounterElements
    l: IMMZEncounterElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library Encounter
  resource:
    v: http://smart.who.int/immunizations/Library/IMMZD2DTMeaslesEncounterElements
    l: IMMZD2DTMeaslesEncounterElements
parameter:
  name:
    v: Today
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: MCV0 was administered
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: MCV0 Expiration
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: MCV0
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: MCV0 Due Date
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: MCV0 Create
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: MCV0 Overdue
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource
parameter:
  name:
    v: Test Validation
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Resource

content type:
  v: text/cql

content type:
  v: application/elm+xml