Quality Measure Implementation Guide
2.0.0-ballot - STU 2 Ballot

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

## : MeasureReport - Test Case Example

Page standards status: Informative

Raw xml | Download

    <MeasureReport xmlns="http://hl7.org/fhir">
      <id value="testcase-example"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase"/>
      </meta>
      <language value="en"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><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">Language: en</p><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>
    </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>
      </text>
      <contained>
        <Parameters>
          <id value="testcase-example-parameters"/>
          <parameter>
            <name value="subject"/>
            <valueString value="123"/>
          </parameter>
        </Parameters>
      </contained>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/cqf-inputParameters">
        <valueReference>
          <reference value="#testcase-example-parameters"/>
        </valueReference>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription">
        <valueMarkdown
                       value="Example test case illustrating expected input parameters and expected output results given those input parameters"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-operation">
        <valueReference>🔗
          <reference value="OperationDefinition/cqm-package"/>
        </valueReference>
      </extension>
      <modifierExtension
                         url="http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-isTestCase">
        <valueBoolean value="true"/>
      </modifierExtension>
      <status value="complete"/>
      <type value="individual"/>
      <measure value="http://hl7.org/fhir/uv/cqm/Measure/EXMLogic-FHIR"/>
      <period>
        <start value="2020-01-01"/>
        <end value="2020-12-31"/>
      </period>
      <improvementNotation>
        <coding>
          <system
                  value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
          <code value="increase"/>
        </coding>
      </improvementNotation>
      <group id="group-1">
        <extension
                   url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.linkId">
          <valueString value="primary"/>
        </extension>
        <code>
          <coding>
            <system value="http://example.org/group"/>
            <code value="group"/>
            <display value="group-1"/>
          </coding>
        </code>
        <population id="initial-population-1">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId">
            <valueString value="primary-exmlogic-initial-population"/>
          </extension>
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="initial-population"/>
            </coding>
            <text value="Initial Population"/>
          </code>
          <count value="1"/>
        </population>
        <population id="measure-population">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId">
            <valueString value="primary-exmlogic-measure-population"/>
          </extension>
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="measure-population"/>
              <display value="Measure Population"/>
            </coding>
          </code>
          <count value="1"/>
        </population>
        <population id="measure-observation">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.population.linkId">
            <valueString value="primary-exmlogic-measure-observation"/>
          </extension>
          <code>
            <coding>
              <system
                      value="http://terminology.hl7.org/CodeSystem/measure-population"/>
              <code value="measure-observation"/>
              <display value="Measure Observation"/>
            </coding>
          </code>
          <count value="1"/>
        </population>
        <measureScore>
          <value value="1.0"/>
        </measureScore>
        <stratifier id="stratifier-1">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId">
            <valueString value="primary-exmlogic-stratification-1"/>
          </extension>
          <code>
            <text value="Stratifier 1"/>
          </code>
          <stratum>
            <value>
              <text value="true"/>
            </value>
            <measureScore>
              <value value="1.0"/>
            </measureScore>
          </stratum>
        </stratifier>
        <stratifier id="stratifier-2">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId">
            <valueString value="primary-exmlogic-stratification-2"/>
          </extension>
          <code>
            <text value="Stratifier 2"/>
          </code>
          <stratum>
            <value>
              <text value="true"/>
            </value>
            <measureScore>
              <value value="0.0"/>
            </measureScore>
          </stratum>
        </stratifier>
        <stratifier id="stratifier-3">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId">
            <valueString value="primary-exmlogic-stratification-3"/>
          </extension>
          <code>
            <text value="Stratifier 3"/>
          </code>
          <stratum>
            <value>
              <text value="true"/>
            </value>
            <measureScore>
              <value value="0.0"/>
            </measureScore>
          </stratum>
        </stratifier>
        <stratifier id="stratifier-4">
          <extension
                     url="http://hl7.org/fhir/5.0/StructureDefinition/extension-MeasureReport.group.stratifier.linkId">
            <valueString value="primary-exmlogic-stratification-4"/>
          </extension>
          <code>
            <text value="Stratifier 4"/>
          </code>
          <stratum>
            <value>
              <text value="true"/>
            </value>
            <measureScore>
              <value value="0.0"/>
            </measureScore>
          </stratum>
        </stratifier>
      </group>
    </MeasureReport>