# MeasureReport - Test Case Example - Quality Measure Implementation Guide v2.0.0-ballot

## Example MeasureReport: MeasureReport - Test Case Example



## Resource Content

```json
{
  "resourceType" : "MeasureReport",
  "id" : "testcase-example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase"]
  },
  "language" : "en",
  "contained" : [{
    "resourceType" : "Parameters",
    "id" : "testcase-example-parameters",
    "parameter" : [{
      "name" : "subject",
      "valueString" : "123"
    }]
  }],
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters",
    "valueReference" : {
      "reference" : "#testcase-example-parameters"
    }
  },
  {
    "url" : "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription",
    "valueMarkdown" : "Example test case illustrating expected input parameters and expected output results given those input parameters"
  },
  {
    "url" : "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-operation",
    "valueReference" : {
      "reference" : "OperationDefinition/cqm-package"
    }
  }],
  "modifierExtension" : [{
    "url" : "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-isTestCase",
    "valueBoolean" : true
  }],
  "status" : "complete",
  "type" : "individual",
  "measure" : "http://hl7.org/fhir/uv/cqm/Measure/EXMLogic-FHIR",
  "period" : {
    "start" : "2020-01-01",
    "end" : "2020-12-31"
  },
  "improvementNotation" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
      "code" : "increase"
    }]
  },
  "group" : [{
    "id" : "group-1",
    "extension" : [{
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.linkId",
      "valueString" : "primary"
    }],
    "code" : {
      "coding" : [{
        "system" : "http://example.org/group",
        "code" : "group",
        "display" : "group-1"
      }]
    },
    "population" : [{
      "id" : "initial-population-1",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId",
        "valueString" : "primary-exmlogic-initial-population"
      }],
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "initial-population"
        }],
        "text" : "Initial Population"
      },
      "count" : 1
    },
    {
      "id" : "measure-population",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId",
        "valueString" : "primary-exmlogic-measure-population"
      }],
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "measure-population",
          "display" : "Measure Population"
        }]
      },
      "count" : 1
    },
    {
      "id" : "measure-observation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId",
        "valueString" : "primary-exmlogic-measure-observation"
      }],
      "code" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
          "code" : "measure-observation",
          "display" : "Measure Observation"
        }]
      },
      "count" : 1
    }],
    "measureScore" : {
      "value" : 1.0
    },
    "stratifier" : [{
      "id" : "stratifier-1",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId",
        "valueString" : "primary-exmlogic-stratification-1"
      }],
      "code" : [{
        "text" : "Stratifier 1"
      }],
      "stratum" : [{
        "value" : {
          "text" : "true"
        },
        "measureScore" : {
          "value" : 1.0
        }
      }]
    },
    {
      "id" : "stratifier-2",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId",
        "valueString" : "primary-exmlogic-stratification-2"
      }],
      "code" : [{
        "text" : "Stratifier 2"
      }],
      "stratum" : [{
        "value" : {
          "text" : "true"
        },
        "measureScore" : {
          "value" : 0.0
        }
      }]
    },
    {
      "id" : "stratifier-3",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId",
        "valueString" : "primary-exmlogic-stratification-3"
      }],
      "code" : [{
        "text" : "Stratifier 3"
      }],
      "stratum" : [{
        "value" : {
          "text" : "true"
        },
        "measureScore" : {
          "value" : 0.0
        }
      }]
    },
    {
      "id" : "stratifier-4",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId",
        "valueString" : "primary-exmlogic-stratification-4"
      }],
      "code" : [{
        "text" : "Stratifier 4"
      }],
      "stratum" : [{
        "value" : {
          "text" : "true"
        },
        "measureScore" : {
          "value" : 0.0
        }
      }]
    }]
  }]
}

```
