Quality Measure Implementation Guide
1.0.0-ballot - ballot International flag

This page is part of the Quality Measure Implementation Guide (v1.0.0-ballot: STU1 (v1.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . 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/uv/cqm/StructureDefinition/cqm-testcase"/>
        </meta>
        <text>
          <status value="extensions"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="MeasureReport_47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </a><p class="res-header-id"><b>Generated Narrative: MeasureReport 47709cc7-b3ec-4abc-9d26-3df3d3d57904</b></p><a name="47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </a><a name="hc47709cc7-b3ec-4abc-9d26-3df3d3d57904"> </a><a name="47709cc7-b3ec-4abc-9d26-3df3d3d57904-en-US"> </a><p><b>Input parameters</b>: <a href="#hc47709cc7-b3ec-4abc-9d26-3df3d3d57904/testcase-example-parameters">Parameters: subject</a></p><p><b>CQM Test Case Description</b>: </p><div><p>Example test case in a bundle illustrating expected input parameters and expected output results given those input parameters along with evaluatedResources.</p>
</div><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-EXM130-FHIR.html">EXM130 - Colorectal Cancer Screening Measure</a></p><p><b>subject</b>: <a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906">Bundle: type = transaction</a></p><p><b>date</b>: 2019-03-14</p><p><b>reporter</b>: <a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57905">Bundle: type = transaction</a></p><p><b>period</b>: 2018-12-31 --&gt; 2019-01-01</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><p><b>code</b>: <span title="Codes:{http://example.org/fhir/ group-1}">group-1</span></p><blockquote><p><b>population</b></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><p><b>code</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-population numerator}">Numerator</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-population denominator}">Denominator</span></p><p><b>count</b>: 1</p></blockquote><blockquote><p><b>population</b></p><p><b>code</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/measure-population denominator-exclusion}">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><a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57905">Bundle: type = transaction</a></li><li><a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906">Bundle: type = transaction</a></li><li><a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57907">Bundle: type = transaction</a></li><li><a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57908">Bundle: type = transaction</a></li></ul><hr/><blockquote><p class="res-header-id"><b>Generated Narrative: Parameters  #testcase-example-parameters</b></p><a name="47709cc7-b3ec-4abc-9d26-3df3d3d57904/testcase-example-parameters"> </a><a name="hc47709cc7-b3ec-4abc-9d26-3df3d3d57904/testcase-example-parameters"> </a><a name="47709cc7-b3ec-4abc-9d26-3df3d3d57904/testcase-example-parameters-en-US"> </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 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/uv/cqm/StructureDefinition/cqm-isTestCase">
          <valueBoolean value="true"/>
        </modifierExtension>
        <status value="complete"/>
        <type value="individual"/>
        <measure value="http://hl7.org/fhir/uv/cqm/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 class="res-header-id"><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"/><p style="margin-bottom: 0px">Information Source: <a href="http://example.org/fhir/server">http://example.org/fhir/server</a></p><p style="margin-bottom: 0px">Profile: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization</code></p></div><p><b>identifier</b>: Tax ID number/123456789 (use: official, )</p><p><b>active</b>: true</p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/organization-type prov}">Healthcare Provider</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="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_null"> </a><p class="res-header-id"><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"/><p style="margin-bottom: 0px">Information Source: <a href="http://example.org/fhir/server">http://example.org/fhir/server</a></p><p style="margin-bottom: 0px">Profile: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient</code></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Thelma Webster (official) Female, DoB: 1948-04-28 ( Medical record number: 67890 (use: usual, ))</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Record is active">Active:</td><td>true</td><td style="background-color: #f3f5da" title="Known status of Patient">Deceased:</td><td>false</td></tr><tr><td style="background-color: #f3f5da" title="Known Marital status of Patient">Marital Status:</td><td colspan="3"><span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}">Married</span></td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3">7496 Beaver Ridge Ave Thornton NJ 07003 USA (home)</td></tr><tr><td style="background-color: #f3f5da" title="Language spoken">Language:</td><td colspan="3"><span title="Codes:{urn:ietf:bcp:47 en-US}">English (Region=United States)</span> (preferred)</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 class="res-header-id"><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"/><p style="margin-bottom: 0px">Information Source: <a href="http://example.org/fhir/server">http://example.org/fhir/server</a></p><p style="margin-bottom: 0px">Profile: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner</code></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 class="res-header-id"><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"/><p style="margin-bottom: 0px">Information Source: <a href="http://example.org/fhir/server">http://example.org/fhir/server</a></p><p style="margin-bottom: 0px">Profile: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation</code></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}">Laboratory</span></p><p><b>code</b>: <span title="Codes:{http://loinc.org 77353-1}">Noninvasive colorectal cancer DNA and occult blood screening [Interpretation] in Stool Narrative</span></p><p><b>subject</b>: <a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906">Bundle: type = transaction</a></p><p><b>effective</b>: 2018-06-22</p><p><b>performer</b>: <a href="Bundle-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57907">Bundle: type = transaction</a></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>