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

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0-ballot2: STU5 (v5.0.0) Ballot 2) 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

: Bundle example - XML Representation

Raw xml | Download



<Bundle xmlns="http://hl7.org/fhir">
  <id value="bundle-example"/>
  <meta>
    <source value="http://example.org/fhir/server"/>
  </meta>
  <type value="transaction"/>
  <entry>
    <fullUrl value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57904"/>
    <resource>
      <MeasureReport>
        <id value="47709cc7-b3ec-4abc-9d26-3df3d3d57904"/>
        <meta>
          <profile
                   value="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/test-case-cqfm"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="MeasureReport_47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </a><p><b>Generated Narrative: MeasureReport</b><a name="47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </a><a name="hc47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </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;47709cc7-b3ec-4abc-9d26-3df3d3d57904&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-test-case-cqfm.html">CQFM Test Case</a></p></div><p><b>Input parameters</b>: <a name="hctestcase-example-parameters"> </a></p><blockquote><p/><p><a name="testcase-example-parameters"> </a></p><p><a name="hctestcase-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 in a bundle illustrating expected input parameters and expected output results given those input parameters along with evaluatedResources.</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-EXM130-FHIR.html">EXM130 - Colorectal Cancer Screening Measure</a></p><p><b>subject</b>: See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906</p><p><b>date</b>: 2019-03-14</p><p><b>reporter</b>: See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905</p><p><b>period</b>: 2018-12-31 --&gt; 2019-01-01</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.5.0/CodeSystem-measure-improvement-notation.html">MeasureImprovementNotation</a>#increase)</span></p><blockquote><p><b>group</b></p><p><b>code</b>: group-1 <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (#group-1)</span></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.5.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>: Numerator <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-measure-population.html">MeasurePopulationType</a>#numerator)</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.5.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>: Denominator Exclusion <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-measure-population.html">MeasurePopulationType</a>#denominator-exclusion)</span></p><p><b>count</b>: 0</p></blockquote><p><b>measureScore</b>: 1</p></blockquote><p><b>evaluatedResource</b>: </p><ul><li>See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905</li><li>See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906</li><li>See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907</li><li>See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57908</li></ul><hr/><blockquote><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/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription">
          <valueMarkdown
                         value="Example test case in a bundle illustrating expected input parameters and expected output results given those input parameters along with evaluatedResources."/>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-isTestCase">
          <valueBoolean value="true"/>
        </modifierExtension>
        <status value="complete"/>
        <type value="individual"/>
        <measure
                 value="http://hl7.org/fhir/us/cqfmeasures/Measure/EXM130-FHIR"/>
        <subject>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"/>
        </subject>
        <date value="2019-03-14"/>
        <reporter>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905"/>
        </reporter>
        <period>
          <start value="2018-12-31"/>
          <end value="2019-01-01"/>
        </period>
        <improvementNotation>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/measure-improvement-notation"/>
            <code value="increase"/>
            <display value="Increased score indicates improvement"/>
          </coding>
        </improvementNotation>
        <group>
          <code>
            <coding>
              <system value="http://example.org/fhir/"/>
              <code value="group-1"/>
              <display value="group-1"/>
            </coding>
          </code>
          <population>
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="initial-population"/>
                <display value="Initial Population"/>
              </coding>
            </code>
            <count value="1"/>
          </population>
          <population>
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="numerator"/>
                <display value="Numerator"/>
              </coding>
            </code>
            <count value="1"/>
          </population>
          <population>
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="denominator"/>
                <display value="Denominator"/>
              </coding>
            </code>
            <count value="1"/>
          </population>
          <population>
            <code>
              <coding>
                <system
                        value="http://terminology.hl7.org/CodeSystem/measure-population"/>
                <code value="denominator-exclusion"/>
                <display value="Denominator Exclusion"/>
              </coding>
            </code>
            <count value="0"/>
          </population>
          <measureScore>
            <value value="1"/>
          </measureScore>
        </group>
        <evaluatedResource>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905"/>
        </evaluatedResource>
        <evaluatedResource>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"/>
        </evaluatedResource>
        <evaluatedResource>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907"/>
        </evaluatedResource>
        <evaluatedResource>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57908"/>
        </evaluatedResource>
      </MeasureReport>
    </resource>
    <request>
      <method value="POST"/>
      <url value="MeasureReport"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905"/>
    <resource>
      <Organization>
        <meta>
          <source value="http://example.org/fhir/server"/>
          <profile
                   value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_null"> </a><p><b>Generated Narrative: Organization</b></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">Information Source: http://example.org/fhir/server!</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/us/qicore/STU6/StructureDefinition-qicore-organization.html">QICore Organization</a></p></div><p><b>identifier</b>: Tax ID number/123456789 (use: official)</p><p><b>active</b>: true</p><p><b>type</b>: Healthcare Provider <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-organization-type.html">Organization type</a>#prov)</span></p><p><b>name</b>: DaVinciHospital01</p><p><b>telecom</b>: ph: (+1) 401-555-1212</p><p><b>address</b>: 73 Lakewood Street Warwick RI 02886 USA </p></div>
        </text>
        <identifier>
          <use value="official"/>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="TAX"/>
              <display value="Tax ID number"/>
            </coding>
          </type>
          <system value="urn:oid:2.16.840.1.113883.4.4"/>
          <value value="123456789"/>
          <assigner>
            <display value="www.irs.gov"/>
          </assigner>
        </identifier>
        <active value="true"/>
        <type>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/organization-type"/>
            <code value="prov"/>
            <display value="Healthcare Provider"/>
          </coding>
        </type>
        <name value="DaVinciHospital01"/>
        <telecom>
          <system value="phone"/>
          <value value="(+1) 401-555-1212"/>
        </telecom>
        <address>
          <line value="73 Lakewood Street"/>
          <city value="Warwick"/>
          <state value="RI"/>
          <postalCode value="02886"/>
          <country value="USA"/>
        </address>
      </Organization>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Organization"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"/>
    <resource>
      <Patient>
        <meta>
          <source value="http://example.org/fhir/server"/>
          <profile
                   value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_null"> </a><p><b>Generated Narrative: Patient</b></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">Information Source: http://example.org/fhir/server!</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/us/qicore/STU6/StructureDefinition-qicore-patient.html">QICore Patient</a></p></div><p><b>US Core Birth Sex Extension</b>: F</p><blockquote><p><b>US Core Race Extension</b></p><blockquote><p><b>url</b></p><code>text</code></blockquote><p><b>value</b>: White</p></blockquote><blockquote><p><b>US Core Ethnicity Extension</b></p><blockquote><p><b>url</b></p><code>text</code></blockquote><p><b>value</b>: Not Hispanic or Latino</p></blockquote><p><b>identifier</b>: Medical record number/67890 (use: usual)</p><p><b>active</b>: true</p><p><b>name</b>: Thelma Webster (Official)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1948-04-28</p><p><b>deceased</b>: false</p><p><b>address</b>: 7496 Beaver Ridge Ave Thornton NJ 07003 USA (home)</p><p><b>maritalStatus</b>: Married <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-v3-MaritalStatus.html">MaritalStatus</a>#M)</span></p><h3>Communications</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Language</b></td><td><b>Preferred</b></td></tr><tr><td style="display: none">*</td><td>English (Region=United States) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.3.0/CodeSystem-v3-ietf3066.html">Tags for the Identification of Languages</a>#en-US)</span></td><td>true</td></tr></table></div>
        </text>
        <extension
                   url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex">
          <valueCode value="F"/>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race">
          <extension url="text">
            <valueString value="White"/>
          </extension>
        </extension>
        <extension
                   url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity">
          <extension url="text">
            <valueString value="Not Hispanic or Latino"/>
          </extension>
        </extension>
        <identifier>
          <use value="usual"/>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MR"/>
              <display value="Medical record number"/>
            </coding>
          </type>
          <system value="http://hospital.davinci.org"/>
          <value value="67890"/>
        </identifier>
        <active value="true"/>
        <name>
          <use value="official"/>
          <family value="Webster"/>
          <given value="Thelma"/>
        </name>
        <gender value="female"/>
        <birthDate value="1948-04-28"/>
        <deceasedBoolean value="false"/>
        <address>
          <use value="home"/>
          <line value="7496 Beaver Ridge Ave"/>
          <city value="Thornton"/>
          <state value="NJ"/>
          <postalCode value="07003"/>
          <country value="USA"/>
        </address>
        <maritalStatus>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"/>
            <code value="M"/>
            <display value="Married"/>
          </coding>
        </maritalStatus>
        <communication>
          <language>
            <coding>
              <system value="urn:ietf:bcp:47"/>
              <code value="en-US"/>
              <display value="English (Region=United States)"/>
            </coding>
          </language>
          <preferred value="true"/>
        </communication>
      </Patient>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Patient"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907"/>
    <resource>
      <Practitioner>
        <meta>
          <source value="http://example.org/fhir/server"/>
          <profile
                   value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_null"> </a><p><b>Generated Narrative: Practitioner</b></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">Information Source: http://example.org/fhir/server!</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/us/qicore/STU6/StructureDefinition-qicore-practitioner.html">QICore Practitioner</a></p></div><p><b>identifier</b>: Provider number/1881665057 (use: official)</p><p><b>active</b>: true</p><p><b>name</b>: Nia Akers </p><p><b>gender</b>: female</p></div>
        </text>
        <identifier>
          <use value="official"/>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="PRN"/>
              <display value="Provider number"/>
            </coding>
          </type>
          <system value="http://hl7.org/fhir/sid/us-npi"/>
          <value value="1881665057"/>
        </identifier>
        <active value="true"/>
        <name>
          <family value="Akers"/>
          <given value="Nia"/>
          <suffix value="MD"/>
        </name>
        <gender value="female"/>
      </Practitioner>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Practitioner"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57908"/>
    <resource>
      <Observation>
        <meta>
          <source value="http://example.org/fhir/server"/>
          <profile
                   value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"/>
        </meta>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Observation_null"> </a><p><b>Generated Narrative: Observation</b></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">Information Source: http://example.org/fhir/server!</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/us/qicore/STU6/StructureDefinition-qicore-simple-observation.html">QICore Simple Observation</a></p></div><p><b>status</b>: final</p><p><b>category</b>: Laboratory <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.5.0/CodeSystem-observation-category.html">Observation Category Codes</a>#laboratory)</span></p><p><b>code</b>: Noninvasive colorectal cancer DNA and occult blood screening [Interpretation] in Stool Narrative <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a>#77353-1)</span></p><p><b>subject</b>: See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906</p><p><b>effective</b>: 2018-06-22</p><p><b>performer</b>: See on this page: urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907</p></div>
        </text>
        <status value="final"/>
        <category>
          <coding>
            <system
                    value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="laboratory"/>
            <display value="Laboratory"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="77353-1"/>
            <display
                     value="Noninvasive colorectal cancer DNA and occult blood screening [Interpretation] in Stool Narrative"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"/>
        </subject>
        <effectiveDateTime value="2018-06-22"/>
        <performer>
          <reference value="urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907"/>
        </performer>
      </Observation>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Observation"/>
    </request>
  </entry>
</Bundle>