{
  "resourceType" : "Measure",
  "id" : "IMMZIND52",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Measure</b><a name=\"IMMZIND52\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Measure &quot;IMMZIND52&quot; </p><p style=\"margin-bottom: 0px\">Profile: <code>http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm</code></p></div><p><b>url</b>: <code>http://fhir.org/guides/who/smart-immunization/Measure/IMMZIND52</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: IMMZIND52</p><p><b>title</b>: IMMZ.IND.52 Dropout Rate of MCV1 to MCV2 (Individuals)</p><p><b>status</b>: draft</p><p><b>date</b>: 2022-05-12 15:36:35-0400</p><p><b>publisher</b>: World Health Organization (WHO)</p><p><b>description</b>: Indicates the number of individuals which have dropped out of the measles containing vaccine protocol. \n\nThe indicator counts the number of individuals who have received a measles containing vaccine dose 1, yet have not received the final dose of measles containing vaccine (are past due of MCV2) with the individuals who have received MCV1 and MCV2</p><p><b>jurisdiction</b>: Global (Whole world) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>library</b>: <a href=\"Library-IMMZIND52.html\">IMMZIND52</a></p><p><b>scoring</b>: Proportion <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-scoring.html\">MeasureScoring</a>#proportion)</span></p><p><b>type</b>: Process <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-type.html\">MeasureType</a>#process)</span></p><p><b>improvementNotation</b>: Increased score indicates improvement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-improvement-notation.html\">MeasureImprovementNotation</a>#increase)</span></p><blockquote><p><b>group</b></p><blockquote><p><b>id</b></p>IMMZIND52</blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>numerator</blockquote><p><b>code</b>: Numerator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#numerator)</span></p><p><b>description</b>: Number of children who have received MCV 1 (numerator) minus the number of children who have not received MCV 3 and are past due (exclusion)</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql</td><td>numerator</td></tr></table></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>denominator</blockquote><p><b>code</b>: Denominator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#denominator)</span></p><p><b>description</b>: Number of children who have received MCV dose 1</p><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql</td><td>denominator</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>geographic-region-stratifier</blockquote><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql</td><td>Geographic Region Stratifier</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>gender-stratifier</blockquote><h3>Criteria</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Language</b></td><td><b>Expression</b></td></tr><tr><td style=\"display: none\">*</td><td>text/cql</td><td>Gender Stratifier</td></tr></table></blockquote></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "Library",
    "id" : "effective-data-requirements",
    "extension" : [{
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/administrative-gender",
        "code" : "male",
        "display" : "Males"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/administrative-gender",
        "code" : "female",
        "display" : "Females"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode",
      "valueCoding" : {
        "system" : "http://hl7.org/fhir/administrative-gender",
        "code" : "other",
        "display" : "Other/NA"
      }
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIndicatorCommon"
      },
      {
        "url" : "name",
        "valueString" : "By Administrative Gender Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * By Administrative Gender of Patient Stratifier\n */\ndefine \"By Administrative Gender Stratifier\":\n    case \n        when Patient.gender = 'male' then \"Males\"\n        when Patient.gender = 'female' then \"Females\"\n        else \"Other\"\n    end"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 0
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIND52"
      },
      {
        "url" : "name",
        "valueString" : "Gender Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "/*\n * Disaggregator: Gender\n */\ndefine \"Gender Stratifier\":\n\tIMMZIndCom.\"By Administrative Gender Stratifier\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIndicatorCommon"
      },
      {
        "url" : "name",
        "valueString" : "By Geographic Region Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * By Administrative Gender of Patient Stratifier\n */\ndefine \"By Geographic Region Stratifier\":\n    First(Patient.address A where A.use in { 'home' }).state"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 2
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIND52"
      },
      {
        "url" : "name",
        "valueString" : "Geographic Region Stratifier"
      },
      {
        "url" : "statement",
        "valueString" : "/*\n * Disaggregator: Geographic Region\n */\ndefine \"Geographic Region Stratifier\":\n\tIMMZIndCom.\"By Geographic Region Stratifier\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 3
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZCommon"
      },
      {
        "url" : "name",
        "valueString" : "Doses Administered to Patient"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * @dataElement All Doses Administered to Patient to patient ordered newest to oldest\n */\ndefine \"Doses Administered to Patient\":\n  [Immunization] I\n    where I.status = 'completed'\n    sort by date from (occurrence as FHIR.dateTime) desc"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 4
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZCommon"
      },
      {
        "url" : "name",
        "valueString" : "MCV Doses Administered to Patient"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * @dataElement MCV containing Doses Administered to Patient\n */\ndefine \"MCV Doses Administered to Patient\":\n  \"Doses Administered to Patient\" I\n  where\n    I.vaccineCode in IMMZc.\"MCV Vaccine\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 5
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIND52"
      },
      {
        "url" : "name",
        "valueString" : "Patient Should Complete MCV Series During Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * Patient should be completing MCV during measurement period\n */\ndefine \"Patient Should Complete MCV Series During Measurement Period\":\n\texists(\n\t\tIMMZCom.\"MCV Doses Administered to Patient\" I \n\t\twhere \n\t\t\t(singleton from I.protocolApplied).doseNumber = 1\n\t\t\tand I.occurrence before start of \"Measurement Period\"\n\t)\n\tand \n\texists(\n\t\t[ImmunizationRecommendation] IR \n\t\twhere \n\t\t\texists(\n\t\t\t\tIR.recommendation RC where\n\t\t\t\texists(RC.dateCriterion DC where date from DC.value during \"Measurement Period\")\n\t\t\t\tand RC.doseNumber = 3\n\t\t\t\tand RC.vaccineCode in IMMZc.\"MCV Vaccine\"\n\t\t)\n\t)"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 6
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIndicatorCommon"
      },
      {
        "url" : "name",
        "valueString" : "MCV Doses Administered to Patient During Measurement Period"
      },
      {
        "url" : "statement",
        "valueString" : "/**\n * MCV Doses Administered to Patient\n */\ndefine \"MCV Doses Administered to Patient During Measurement Period\":\n    IMMZCom.\"MCV Doses Administered to Patient\" I \n    where IMMZCom.ToDate(I.occurrence) during \"Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 7
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIND52"
      },
      {
        "url" : "name",
        "valueString" : "numerator"
      },
      {
        "url" : "statement",
        "valueString" : "/*\n * Numerator: Number of children who have received MCV 1 (numerator) minus the number of children who have not received MCV 3 and are past due (exclusion)\n * Numerator Computation: Numerator: COUNT immunization events WHERE administered product is MCV (IMMZ.A1.DE9) and dose number = 1 and before reporting period and EXISTS immunization recommendation WHERE product is MCV and dose number is 3 and due date during reporting period.\nNumerator Exclusion: COUNT immunization recommendations WHERE recommended product is MCV and dose number = 3 and due date during reporting period AND NOT EXISTS immunization where product is MCV and dose sequence = 1\n */\ndefine \"numerator\":\n\t\"Patient Should Complete MCV Series During Measurement Period\"\n\tand not exists(IMMZIndCom.\"MCV Doses Administered to Patient During Measurement Period\" I where (singleton from I.protocolApplied).doseNumber = 3)"
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 8
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    },
    {
      "extension" : [{
        "url" : "libraryName",
        "valueString" : "IMMZIND52"
      },
      {
        "url" : "name",
        "valueString" : "denominator"
      },
      {
        "url" : "statement",
        "valueString" : "/*\n * Denominator: Number of children who have received MCV dose 1\n * Denominator Computation: COUNT immunization events WHERE administered product is MCV (IMMZ.A1.DE9) and dose sequence =1 AND EXISTS immunization recommendation WHERE product is MCV and dose sequence = 3 and due date during reporting period.\n */\ndefine \"denominator\":\n\t\"Patient Should Complete MCV Series During Measurement Period\""
      },
      {
        "url" : "displaySequence",
        "valueInteger" : 9
      }],
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
    }],
    "status" : "active",
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/library-type",
        "code" : "module-definition"
      }]
    },
    "relatedArtifact" : [{
      "type" : "depends-on",
      "display" : "Library IMMZIndCom",
      "resource" : "http://fhir.org/guides/who/smart-immunization/Library/IMMZIndicatorCommon"
    },
    {
      "type" : "depends-on",
      "display" : "Library FHIRHelpers",
      "resource" : "http://fhir.org/guides/who/smart-immunization/Library/FHIRHelpers|4.0.1"
    },
    {
      "type" : "depends-on",
      "display" : "Library IMMZCom",
      "resource" : "http://fhir.org/guides/who/smart-immunization/Library/IMMZCommon"
    },
    {
      "type" : "depends-on",
      "display" : "Library IMMZc",
      "resource" : "http://fhir.org/guides/who/smart-immunization/Library/IMMZConcepts"
    },
    {
      "type" : "depends-on",
      "display" : "Code system Administrative Gender Codes",
      "resource" : "http://hl7.org/fhir/administrative-gender"
    },
    {
      "type" : "depends-on",
      "display" : "Value set MCV Vaccine",
      "resource" : "http://fhir.org/guides/who/smart-immunization/ValueSet/IMMZ.A1.DE9"
    }],
    "parameter" : [{
      "name" : "Measurement Period",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Period"
    },
    {
      "name" : "Gender Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Coding"
    },
    {
      "name" : "Geographic Region Stratifier",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "numerator",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    },
    {
      "name" : "denominator",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "boolean"
    }],
    "dataRequirement" : [{
      "type" : "Patient",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Patient"],
      "mustSupport" : ["use"]
    },
    {
      "type" : "Immunization",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/Immunization"],
      "mustSupport" : ["status",
      "vaccineCode",
      "protocolApplied",
      "protocolApplied.doseNumber",
      "occurrence"]
    },
    {
      "type" : "ImmunizationRecommendation",
      "profile" : ["http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"],
      "mustSupport" : ["recommendation"]
    }]
  }],
  "extension" : [{
    "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-softwaresystem",
    "valueReference" : {
      "reference" : "Device/cqf-tooling"
    }
  },
  {
    "id" : "effective-data-requirements",
    "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements",
    "valueReference" : {
      "reference" : "#effective-data-requirements"
    }
  }],
  "url" : "http://fhir.org/guides/who/smart-immunization/Measure/IMMZIND52",
  "version" : "0.1.0",
  "name" : "IMMZIND52",
  "title" : "IMMZ.IND.52 Dropout Rate of MCV1 to MCV2 (Individuals)",
  "status" : "draft",
  "date" : "2022-05-12T15:36:35.086-04:00",
  "publisher" : "World Health Organization (WHO)",
  "description" : "Indicates the number of individuals which have dropped out of the measles containing vaccine protocol. \n\nThe indicator counts the number of individuals who have received a measles containing vaccine dose 1, yet have not received the final dose of measles containing vaccine (are past due of MCV2) with the individuals who have received MCV1 and MCV2",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "library" : ["http://fhir.org/guides/who/smart-immunization/Library/IMMZIND52"],
  "scoring" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/measure-scoring",
      "code" : "proportion"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/measure-type",
      "code" : "process"
    }]
  }],
  "improvementNotation" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
      "code" : "increase"
    }]
  },
  "group" : [{
    "id" : "IMMZIND52",
    "population" : [{
      "id" : "numerator",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "numerator"
        }]
      },
      "description" : "Number of children who have received MCV 1 (numerator) minus the number of children who have not received MCV 3 and are past due (exclusion)",
      "criteria" : {
        "language" : "text/cql",
        "expression" : "numerator"
      }
    },
    {
      "id" : "denominator",
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "denominator"
        }]
      },
      "description" : "Number of children who have received MCV dose 1",
      "criteria" : {
        "language" : "text/cql",
        "expression" : "denominator"
      }
    }],
    "stratifier" : [{
      "id" : "geographic-region-stratifier",
      "criteria" : {
        "language" : "text/cql",
        "expression" : "Geographic Region Stratifier"
      }
    },
    {
      "id" : "gender-stratifier",
      "criteria" : {
        "language" : "text/cql",
        "expression" : "Gender Stratifier"
      }
    }]
  }]
}