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

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v5.0.0: STU5 (v5.0.0)) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Bundle example - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "bundle-example",
  "meta" : {
    "source" : "http://example.org/fhir/server"
  },
  "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/us/cqfmeasures/StructureDefinition/test-case-cqfm"
          ]
        },
        "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><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>CQFM 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>CQFM 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>"
        },
        "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/us/cqfmeasures/StructureDefinition/cqfm-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/us/cqfmeasures/StructureDefinition/cqfm-isTestCase",
            "valueBoolean" : true
          }
        ],
        "status" : "complete",
        "type" : "individual",
        "measure" : "http://hl7.org/fhir/us/cqfmeasures/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: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization</code></p></div><p><b>identifier</b>: Tax ID number/123456789\u00a0(use:\u00a0official,\u00a0)</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: <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\u00a0(use:\u00a0usual,\u00a0))</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>"
        },
        "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://hospital.davinci.org",
            "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: <code>http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner</code></p></div><p><b>identifier</b>: Provider number/1881665057\u00a0(use:\u00a0official,\u00a0)</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: <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>"
        },
        "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"
      }
    }
  ]
}