# Bundle example - Quality Measure Implementation Guide v2.0.0-ballot

## Example Bundle: Bundle example



## Resource Content

```json
{
  "resourceType" : "Bundle",
  "id" : "measurereport-bundle-example",
  "meta" : {
    "source" : "http://example.org/fhir/server"
  },
  "language" : "en",
  "type" : "transaction",
  "entry" : [{
    "fullUrl" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57904",
    "resource" : {
      "resourceType" : "MeasureReport",
      "id" : "47709cc7-b3ec-4abc-9d26-3df3d3d57904",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testcase"]
      },
      "text" : {
        "status" : "extensions",
        "div" : "<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><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=\"#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>\n</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-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906\">Thelma Webster (official) Female, DoB: 1948-04-28 ( Medical record number: 67890 (use: usual, ))</a></p><p><b>date</b>: 2019-03-14</p><p><b>reporter</b>: <a href=\"Bundle-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57905\">Organization DaVinciHospital01</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-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57905\">Organization DaVinciHospital01</a></li><li><a href=\"Bundle-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906\">Thelma Webster (official) Female, DoB: 1948-04-28 ( Medical record number: 67890 (use: usual, ))</a></li><li><a href=\"Bundle-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57907\">Practitioner Nia Akers </a></li><li><a href=\"Bundle-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57908\">Observation Noninvasive colorectal cancer DNA and occult blood screening [Interpretation] in Stool Narrative</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><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 in a bundle illustrating expected input parameters and expected output results given those input parameters along with evaluatedResources."
      }],
      "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/EXM130-FHIR",
      "subject" : {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"
      },
      "date" : "2019-03-14",
      "reporter" : {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905"
      },
      "period" : {
        "start" : "2018-12-31",
        "end" : "2019-01-01"
      },
      "improvementNotation" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/measure-improvement-notation",
          "code" : "increase",
          "display" : "Increased score indicates improvement"
        }]
      },
      "group" : [{
        "code" : {
          "coding" : [{
            "system" : "http://example.org/fhir/",
            "code" : "group-1",
            "display" : "group-1"
          }]
        },
        "population" : [{
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
              "code" : "initial-population",
              "display" : "Initial Population"
            }]
          },
          "count" : 1
        },
        {
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
              "code" : "numerator",
              "display" : "Numerator"
            }]
          },
          "count" : 1
        },
        {
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
              "code" : "denominator",
              "display" : "Denominator"
            }]
          },
          "count" : 1
        },
        {
          "code" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/measure-population",
              "code" : "denominator-exclusion",
              "display" : "Denominator Exclusion"
            }]
          },
          "count" : 0
        }],
        "measureScore" : {
          "value" : 1
        }
      }],
      "evaluatedResource" : [{
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905"
      },
      {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"
      },
      {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907"
      },
      {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57908"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "MeasureReport"
    }
  },
  {
    "fullUrl" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57905",
    "resource" : {
      "resourceType" : "Organization",
      "meta" : {
        "source" : "http://example.org/fhir/server",
        "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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: <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>: <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>"
      },
      "identifier" : [{
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "TAX",
            "display" : "Tax ID number"
          }]
        },
        "system" : "urn:oid:2.16.840.1.113883.4.4",
        "value" : "123456789",
        "assigner" : {
          "display" : "www.irs.gov"
        }
      }],
      "active" : true,
      "type" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/organization-type",
          "code" : "prov",
          "display" : "Healthcare Provider"
        }]
      }],
      "name" : "DaVinciHospital01",
      "telecom" : [{
        "system" : "phone",
        "value" : "(+1) 401-555-1212"
      }],
      "address" : [{
        "line" : ["73 Lakewood Street"],
        "city" : "Warwick",
        "state" : "RI",
        "postalCode" : "02886",
        "country" : "USA"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Organization"
    }
  },
  {
    "fullUrl" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906",
    "resource" : {
      "resourceType" : "Patient",
      "meta" : {
        "source" : "http://example.org/fhir/server",
        "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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: <a href=\"http://hl7.org/fhir/us/qicore/STU6/StructureDefinition-qicore-patient.html\">QICore Patient</a></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><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.\">US Core Ethnicity Extension:</td><td colspan=\"3\"><ul><li>text: Not Hispanic or Latino</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9). After version 6.0.0, this extension is no longer a *USCDI Requirement*.\"><a href=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-birthsex.html\">US Core Birth Sex Extension</a></td><td colspan=\"3\">F</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html#3) which includes over 900 concepts for representing race and ethnicity of which 921 reference race.  The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.\">US Core Race Extension:</td><td colspan=\"3\"><ul><li>text: White</li></ul></td></tr></table></div>"
      },
      "extension" : [{
        "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
        "valueCode" : "F"
      },
      {
        "extension" : [{
          "url" : "text",
          "valueString" : "White"
        }],
        "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
      },
      {
        "extension" : [{
          "url" : "text",
          "valueString" : "Not Hispanic or Latino"
        }],
        "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
      }],
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR",
            "display" : "Medical record number"
          }]
        },
        "system" : "http://example.org/hospital/davinci",
        "value" : "67890"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "family" : "Webster",
        "given" : ["Thelma"]
      }],
      "gender" : "female",
      "birthDate" : "1948-04-28",
      "deceasedBoolean" : false,
      "address" : [{
        "use" : "home",
        "line" : ["7496 Beaver Ridge Ave"],
        "city" : "Thornton",
        "state" : "NJ",
        "postalCode" : "07003",
        "country" : "USA"
      }],
      "maritalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
          "code" : "M",
          "display" : "Married"
        }]
      },
      "communication" : [{
        "language" : {
          "coding" : [{
            "system" : "urn:ietf:bcp:47",
            "code" : "en-US",
            "display" : "English (Region=United States)"
          }]
        },
        "preferred" : true
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907",
    "resource" : {
      "resourceType" : "Practitioner",
      "meta" : {
        "source" : "http://example.org/fhir/server",
        "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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: <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>"
      },
      "identifier" : [{
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "PRN",
            "display" : "Provider number"
          }]
        },
        "system" : "http://hl7.org/fhir/sid/us-npi",
        "value" : "1881665057"
      }],
      "active" : true,
      "name" : [{
        "family" : "Akers",
        "given" : ["Nia"],
        "suffix" : ["MD"]
      }],
      "gender" : "female"
    },
    "request" : {
      "method" : "POST",
      "url" : "Practitioner"
    }
  },
  {
    "fullUrl" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57908",
    "resource" : {
      "resourceType" : "Observation",
      "meta" : {
        "source" : "http://example.org/fhir/server",
        "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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: <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>: <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-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57906\">Thelma Webster (official) Female, DoB: 1948-04-28 ( Medical record number: 67890 (use: usual, ))</a></p><p><b>effective</b>: 2018-06-22</p><p><b>performer</b>: <a href=\"Bundle-measurereport-bundle-example.html#urn-uuid-47709cc7-b3ec-4abc-9d26-3df3d3d57907\">Practitioner Nia Akers </a></p></div>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "laboratory",
          "display" : "Laboratory"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "77353-1",
          "display" : "Noninvasive colorectal cancer DNA and occult blood screening [Interpretation] in Stool Narrative"
        }]
      },
      "subject" : {
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57906"
      },
      "effectiveDateTime" : "2018-06-22",
      "performer" : [{
        "reference" : "urn:uuid:47709cc7-b3ec-4abc-9d26-3df3d3d57907"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Observation"
    }
  }]
}

```
