Quality Measure Implementation Guide
1.0.0 - STU 1

Quality Measure Implementation Guide - Downloaded Version null See the Directory of published versions

## : MeasureReport - Test Case Example - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "MeasureReport",
      "id" : "testcase-example",
      "meta" : {
        "profile" : [
          🔗 "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase"
        ]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MeasureReport testcase-example</b></p><a name=\"testcase-example\"> </a><a name=\"hctestcase-example\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cqm-testcase.html\">CQM Test Case</a></p></div><p><b>Input parameters</b>: <a href=\"#hctestcase-example/testcase-example-parameters\">Parameters: subject</a></p><p><b>CQM Test Case Description</b>: </p><div><p>Example test case illustrating expected input parameters and expected output results given those input parameters</p>\n</div><p><b>CQM Operation</b>: <a href=\"OperationDefinition-cqm-package.html\">OperationDefinition CQM Package</a></p><p><b>CQM Is Test Case</b>: true</p><p><b>status</b>: Complete</p><p><b>type</b>: Individual</p><p><b>measure</b>: <a href=\"Measure-EXMLogic-FHIR.html\">EXM Measure</a></p><p><b>period</b>: 2020-01-01 --&gt; 2020-12-31</p><p><b>improvementNotation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-improvement-notation increase}\">Increased score indicates improvement</span></p><blockquote><p><b>group</b></p><blockquote><p><b>id</b></p>group-1</blockquote><p><b>Extension Definition for MeasureReport.group.linkId for Version 5.0</b>: primary</p><p><b>code</b>: <span title=\"Codes:{http://example.org/group group}\">group-1</span></p><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>initial-population-1</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-initial-population</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population initial-population}\">Initial Population</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>measure-population</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-measure-population</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-population}\">Measure Population</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><blockquote><p><b>id</b></p>measure-observation</blockquote><p><b>Extension Definition for MeasureReport.group.population.linkId for Version 5.0</b>: primary-exmlogic-measure-observation</p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-population measure-observation}\">Measure Observation</span></p><p><b>count</b>: 1</p></blockquote><p><b>measureScore</b>: 1.0</p><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-1</blockquote><p><b>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-1</p><p><b>code</b>: <span title=\"Codes:\">Stratifier 1</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>1.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-2</blockquote><p><b>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-2</p><p><b>code</b>: <span title=\"Codes:\">Stratifier 2</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-3</blockquote><p><b>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-3</p><p><b>code</b>: <span title=\"Codes:\">Stratifier 3</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote><blockquote><p><b>stratifier</b></p><blockquote><p><b>id</b></p>stratifier-4</blockquote><p><b>Extension Definition for MeasureReport.group.stratifier.linkId for Version 5.0</b>: primary-exmlogic-stratification-4</p><p><b>code</b>: <span title=\"Codes:\">Stratifier 4</span></p><h3>Strata</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>MeasureScore</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\">true</span></td><td>0.0</td></tr></table></blockquote></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Parameters #testcase-example-parameters</b></p><a name=\"testcase-example/testcase-example-parameters\"> </a><a name=\"hctestcase-example/testcase-example-parameters\"> </a><h2>Parameters</h2><table class=\"grid\"><tr><td>subject</td><td>123</td></tr></table></blockquote></div>"
      },
      "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
                  }
                }
              ]
            }
          ]
        }
      ]
    }