PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.safr@1.0.0
    http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measurereport-bundle
description: 'This profile defines a valid submission bundle to NHSN, federal and jurisdictional Public Health Agencies including State, Tribal, Local and Territorial (STLT) Health Departments with all resources contained within. The Bundle is comprised of entry slices representing the data \nsubmitting organization, submitting device, and individual MeasureReports.\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())'
package_name: hl7.fhir.us.safr
derivation: constraint
name: SafrMeasureReportBundle
type: Bundle
elements:
  type:
    pattern: {type: Code, value: collection}
    index: 0
  entry:
    short: An entry in the Bundle; will have a resource or information
    array: true
    min: 2
    index: 1
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resource, type: profile}
      min: 2
      slices:
        submitting-organization:
          match: {}
          schema:
            short: 'The Submitting Organization: the organization that is the source of the data'
            array: true
            min: 1
            _required: true
            index: 2
            elements:
              resource: {type: Organization, short: Bundle entry for submitting organization, index: 3}
            required: [resource]
        submitting-device:
          match: {}
          schema:
            short: 'The Submitting Device: the device that is the source of the data'
            array: true
            index: 4
            elements:
              resource: {type: Device, short: Bundle entry for submitting device, index: 5}
            required: [resource]
        measurereport:
          match: {}
          schema:
            short: 'Measure Report: each MeasureReport refers to one Patient and one measure included in the Measure Report List'
            array: true
            min: 1
            _required: true
            index: 6
            elements:
              resource: {type: MeasureReport, short: Bundle entry for a Measure Report, index: 7}
            required: [resource]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/safr/StructureDefinition/us-safr-measurereport-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0