# US SAFR Measure Bundle - US Situational Awareness Framework for Reporting (US SAFR) Implementation Guide v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **US SAFR Measure Bundle**

## Resource Profile: US SAFR Measure Bundle 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measure-bundle | *Version*:1.0.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R4/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 2 | *Computable Name*:USSafrMeasureBundle |
| *Other Identifiers:*OID:2.16.840.1.113883.4.642.40.53.42.3 | | |

 
This profile defines a Bundle provided by the MeasureServer containing a Measure resource and enables the inclusion of all related resources (ValueSet, Library, etc.). 
If this fails, use the following FHIRPath expression to discover missing resources: Bundle.entry.resource.descendants().reference.where($this.startsWith('#').not()).where((%resource.entry.fullUrl.join('|')&'|').contains(($this&'|')).not()) 

**Usages:**

* Examples for this Profile: [Bundle/USSAFRMeasureBundleExample](Bundle-USSAFRMeasureBundleExample.md)

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

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-us-safr-measure-bundle.csv), [Excel](StructureDefinition-us-safr-measure-bundle.xlsx), [Schematron](StructureDefinition-us-safr-measure-bundle.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "us-safr-measure-bundle",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pher"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/safr/ImplementationGuide/hl7.fhir.us.safr"
      }]
    }
  },
  {
    "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/us/safr/ImplementationGuide/hl7.fhir.us.safr"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measure-bundle",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.53.42.3"
  }],
  "version" : "1.0.0",
  "name" : "USSafrMeasureBundle",
  "title" : "US SAFR Measure Bundle",
  "status" : "active",
  "date" : "2026-04-01T03:04:13+11:00",
  "publisher" : "HL7 International / Public Health",
  "contact" : [{
    "name" : "HL7 International / Public Health",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pher"
    }]
  }],
  "description" : "This profile defines a Bundle provided by the MeasureServer containing a Measure resource and enables the inclusion of all related resources (ValueSet, Library, etc.).\n\nIf this fails, use the following FHIRPath expression to discover missing resources: \nBundle.entry.resource.descendants().reference.where($this.startsWith('#').not()).where((%resource.entry.fullUrl.join('|')&'|').contains(($this&'|')).not())",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US",
      "display" : "United States of America"
    }]
  }],
  "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",
      "constraint" : [{
        "key" : "bundle-no-modifier-extensions",
        "severity" : "error",
        "human" : "MeasureReport Bundle:  must not contain any modifierExensions",
        "expression" : "(descendants().select(modifierExtension)).exists().not()",
        "source" : "http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measure-bundle"
      },
      {
        "key" : "bundle-contain-all-references",
        "severity" : "error",
        "human" : "All referenced resources SHALL be contained within the Bundle.",
        "expression" : "Bundle.entry.resource.descendants().reference.where($this.startsWith('#').not()).all((%resource.entry.fullUrl.join('|')&'|').contains(($this&'|')))",
        "source" : "http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measure-bundle"
      }]
    },
    {
      "id" : "Bundle.entry",
      "path" : "Bundle.entry",
      "slicing" : {
        "discriminator" : [{
          "type" : "profile",
          "path" : "resource"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "min" : 1
    },
    {
      "id" : "Bundle.entry:measure",
      "path" : "Bundle.entry",
      "sliceName" : "measure",
      "short" : "Bundle entry for the Measure resource",
      "min" : 1,
      "max" : "1"
    },
    {
      "id" : "Bundle.entry:measure.resource",
      "path" : "Bundle.entry.resource",
      "min" : 1,
      "type" : [{
        "code" : "Measure",
        "profile" : ["http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/computable-measure-cqfm"]
      }]
    }]
  }
}

```
