Quality Measure Implementation Guide (STU5)
5.0.0-ballot - ballot United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot: STU5 (v5.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.0.0. For a full list of available versions, see the Directory of published versions

: MeasureReport - Test Case Example - JSON Representation

Raw json | Download


{
  "resourceType" : "MeasureReport",
  "id" : "testcase-example",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/test-case-cqfm"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MeasureReport</b><a name=\"testcase-example\"> </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 MeasureReport &quot;testcase-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-test-case-cqfm.html\">CQFM Test Case</a></p></div><p><b>CQFM Input Parameters</b>: <a name=\"testcase-example-parameters\"> </a></p><blockquote><p/><p><a name=\"testcase-example-parameters\"> </a></p><h3>Parameters</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>subject</td><td>123</td></tr></table></blockquote><p><b>CQFM Test Case Description</b>: Example test case illustrating expected input parameters and expected output results given those input parameters</p><p><b>CQFM Operation</b>: <a href=\"OperationDefinition-Measure-data-requirements.html\">OperationDefinition/Measure-data-requirements</a> &quot;MeasureDataRequirements&quot;</p><blockquote><p><b>modifierExtension[http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isTestCase]</b></p></blockquote><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>: Increased score indicates improvement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-measure-improvement-notation.html\">MeasureImprovementNotation</a>#increase)</span></p><blockquote><p><b>group</b></p><blockquote><p><b>population</b></p><p><b>code</b>: Initial Population <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#initial-population)</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: Denominator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#denominator)</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: Numerator <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.4.0/CodeSystem-measure-population.html\">MeasurePopulationType</a>#numerator)</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>code</b>: Stratifier 1 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>code</b>: Stratifier 2 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>code</b>: Stratifier 3 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>code</b>: Stratifier 4 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</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>true <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td>0.0</td></tr></table></blockquote></blockquote><hr/><blockquote><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/us/cqfmeasures/StructureDefinition/cqfm-inputParameters",
      "valueReference" : {
        "reference" : "#testcase-example-parameters"
      }
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription",
      "valueMarkdown" : "Example test case illustrating expected input parameters and expected output results given those input parameters"
    },
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-operation",
      "valueReference" : {
        🔗 "reference" : "OperationDefinition/Measure-data-requirements"
      }
    }
  ],
  "modifierExtension" : [
    {
      "url" : "http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isTestCase",
      "valueBoolean" : true
    }
  ],
  "status" : "complete",
  "type" : "individual",
  "measure" : "http://hl7.org/fhir/us/cqfmeasures/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" : [
    {
      "population" : [
        {
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "initial-population"
              }
            ],
            "text" : "Initial Population"
          },
          "count" : 1
        },
        {
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "denominator"
              }
            ],
            "text" : "Denominator"
          },
          "count" : 1
        },
        {
          "code" : {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
                "code" : "numerator"
              }
            ],
            "text" : "Numerator"
          },
          "count" : 1
        }
      ],
      "measureScore" : {
        "value" : 1.0
      },
      "stratifier" : [
        {
          "id" : "stratifier-1",
          "code" : [
            {
              "text" : "Stratifier 1"
            }
          ],
          "stratum" : [
            {
              "value" : {
                "text" : "true"
              },
              "measureScore" : {
                "value" : 1.0
              }
            }
          ]
        },
        {
          "id" : "stratifier-2",
          "code" : [
            {
              "text" : "Stratifier 2"
            }
          ],
          "stratum" : [
            {
              "value" : {
                "text" : "true"
              },
              "measureScore" : {
                "value" : 0.0
              }
            }
          ]
        },
        {
          "id" : "stratifier-3",
          "code" : [
            {
              "text" : "Stratifier 3"
            }
          ],
          "stratum" : [
            {
              "value" : {
                "text" : "true"
              },
              "measureScore" : {
                "value" : 0.0
              }
            }
          ]
        },
        {
          "id" : "stratifier-4",
          "code" : [
            {
              "text" : "Stratifier 4"
            }
          ],
          "stratum" : [
            {
              "value" : {
                "text" : "true"
              },
              "measureScore" : {
                "value" : 0.0
              }
            }
          ]
        }
      ]
    }
  ]
}