# DEQM Gaps In Care Bundle - Data Exchange For Quality Measures Implementation Guide v1.0.0-ballot

## Resource Profile: DEQM Gaps In Care Bundle 

 
The DEQM Gaps In Care Bundle describes a bundle returned by the Measure [care-gaps](OperationDefinition-care-gaps.md) operation. This bundle consists of a document composition for gaps in care and supporting resources referenced by the composition. 

### Mandatory Data Elements and Terminology

The following data-elements are mandatory (i.e data MUST be present).

**Each Bundle Must Have:**

1. type: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
1. identifier.system: The namespace for the identifier value
1. timestamp: When the bundle was assembled
1. identifier: Persistent identifier for the bundle
1. identifier.value: The value that is unique

**Each Bundle Must Support:**

1. entry: Contains a composition of gaps in care report for an individual for one or more measures

This profile builds on [Bundle](https://www.hl7.org/fhir/bundle.html).

**Additional Profile specific implementation guidance:**

Conformance Requirement 1:

The DEQM Gaps In Care Bundle SHALL include entries for all patient specific resources including evaluated resources referenced by the included [DEQM Gaps In Care MeasureReport](StructureDefinition-deqm-individualmeasurereport.md) and for resources referenced by the [DEQM Gaps In Care DetectedIssue](StructureDefinition-deqm-gapsincaredetectedissue.md) including GuidanceResponse.

**Usages:**

* Examples for this Profile: [Bundle/non-document-gaps-in-care](Bundle-non-document-gaps-in-care.md), [Bundle/single-gaps-closed-indv-report01](Bundle-single-gaps-closed-indv-report01.md), [Bundle/single-gaps-closed-indv-report02](Bundle-single-gaps-closed-indv-report02.md) and [Bundle/single-gaps-open-indv-report01](Bundle-single-gaps-open-indv-report01.md)
* CapabilityStatements using this Profile: [Gaps In Care Client CapabilityStatement](CapabilityStatement-gic-client.md) and [Gaps In Care Server CapabilityStatement](CapabilityStatement-gic-server.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.uv.deqm|current/StructureDefinition/deqm-gapsincarebundle)

### Formal Views of Profile Content

 [Description Differentials, Snapshots, and other representations](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](../StructureDefinition-deqm-gapsincarebundle.csv), [Excel](../StructureDefinition-deqm-gapsincarebundle.xlsx), [Schematron](../StructureDefinition-deqm-gapsincarebundle.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "deqm-gapsincarebundle",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cqi"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/deqm/ImplementationGuide/hl7.fhir.uv.deqm"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/deqm/ImplementationGuide/hl7.fhir.uv.deqm"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-gapsincarebundle",
  "version" : "1.0.0-ballot",
  "name" : "DEQMGapsInCareBundle",
  "title" : "DEQM Gaps In Care Bundle",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-04-07T14:18:11+10:00",
  "publisher" : "HL7 International / Clinical Quality Information",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/cqi"
    }]
  }],
  "description" : "The DEQM Gaps In Care Bundle describes a bundle returned by the Measure [care-gaps](OperationDefinition-care-gaps.html) operation. This bundle consists of a document composition for gaps in care and supporting resources referenced by the composition.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "cda",
    "uri" : "http://hl7.org/v3/cda",
    "name" : "CDA (R2)"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Bundle",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Bundle",
      "path" : "Bundle"
    },
    {
      "id" : "Bundle.identifier",
      "path" : "Bundle.identifier",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Bundle.identifier.system",
      "path" : "Bundle.identifier.system",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Bundle.identifier.value",
      "path" : "Bundle.identifier.value",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Bundle.type",
      "path" : "Bundle.type",
      "mustSupport" : true
    },
    {
      "id" : "Bundle.timestamp",
      "path" : "Bundle.timestamp",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Bundle.entry",
      "path" : "Bundle.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "resource"
        }],
        "rules" : "open"
      },
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Bundle.entry:gaps-composition-deqm",
      "path" : "Bundle.entry",
      "sliceName" : "gaps-composition-deqm",
      "short" : "Contains a composition of gaps in care report for an individual for one or more measures",
      "min" : 0,
      "max" : "1",
      "constraint" : [{
        "key" : "gic-1",
        "severity" : "error",
        "human" : "if 'entry:gaps-composition-deqm' is present, then Bundle.type is 'document'",
        "expression" : "resource.meta.profile.contains('http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-gapsincarecomposition') implies %resource.type='document'"
      },
      {
        "key" : "gic-2",
        "severity" : "error",
        "human" : "if 'entry:gaps-composition-deqm' is not present, then Bundle.type is 'collection'",
        "expression" : "resource.meta.profile.contains('http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-gapsincarecomposition').not() implies %resource.type='collection'"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Bundle.entry:gaps-composition-deqm.resource",
      "path" : "Bundle.entry.resource",
      "short" : "This Composition uses the DEQM Gaps In Care Composition Profile",
      "min" : 1,
      "type" : [{
        "code" : "Composition",
        "profile" : ["http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-gapsincarecomposition"]
      }],
      "mustSupport" : true
    }]
  }
}

```
