PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.nhsn-dqm@1.0.0
    http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/nhsn-measurereport-bundle
description: 'This profile defines a valid Submission Bundle to NHSN with all resources contained within. The Bundle is comprised of entry slices representing the data source Organization, a POI List, one Subject List MeasureReport per reportable measure, an Individual MeasureReport List, individual MeasureReports, and the underlying patient-centric clinical information.\r\n\r\nAll resources referenced in the Bundle SHALL be present, per invariant bundle-contain-all-references. If an instance fails to validate against that invariant, the following FHIRPath statement can be used to locate the missing reference(s): \r\n\r\nBundle.entry.resource.descendants().reference.where($this.startsWith(''#'').not()).where((%resource.entry.fullUrl.join(''|'')&''|'').contains(($this&''|'')).not())\r\n'
package_name: hl7.fhir.us.nhsn-dqm
derivation: constraint
name: NHSNMeasureReportBundle
type: Bundle
elements:
  type:
    pattern: {type: code, value: collection}
    type: code
    index: 0
  entry:
    index: 1
    elements:
      fullUrl: {mustSupport: true, index: 2}
      resource: {mustSupport: true, index: 3}
    required: [fullUrl, resource]
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: type}
      - {path: resource, type: profile}
      min: 1
      slices:
        submitting-organization:
          match: {}
          schema:
            short: 'The Submitting Organization: the organization that is the source of the data'
            mustSupport: true
            _required: true
            index: 4
            elements:
              resource: {type: Organization, short: Bundle entry for submitting organization, index: 5}
        submitting-device:
          match: {}
          schema:
            short: 'The Submitting Device: the device or software that is submitting the data'
            mustSupport: true
            index: 6
            elements:
              resource: {type: Device, short: Bundle entry for submitting device, index: 7}
        poi-list:
          match: {}
          schema:
            short: 'The Patients of Interest List: a List containing Patient FHIR IDs that may be included in the Initial Population across all measures'
            mustSupport: true
            index: 8
            elements:
              resource: {type: List, index: 9}
        subjectlist-measurereport:
          match: {}
          schema:
            short: 'Subject List MeasureReport: For each measure, there is one Summary MeasureReport. The Summary MeasureReport includes the population count and a link to the List of Individual MeasureReports that are included in the summary'
            mustSupport: true
            array: true
            index: 10
            elements:
              resource: {type: MeasureReport, index: 11}
        individual-measurereport-list:
          match: {}
          schema:
            short: 'Individual MeasureReport List: Each Summary MeasureReport references a list of Individual MeasureReports that are included in the summary'
            mustSupport: true
            array: true
            index: 12
            elements:
              resource: {type: List, index: 13}
        individual-measurereport:
          match: {}
          schema:
            short: 'Individual Measure Report: each Individual MeasureReport refers to one Patient and one measure included in the Individual Measure Report List'
            mustSupport: true
            array: true
            index: 14
            elements:
              resource: {type: MeasureReport, index: 15}
        patient:
          match: {}
          schema:
            short: The Patients associated with an Individual MeasureReport
            mustSupport: true
            array: true
            index: 16
            elements:
              resource: {type: Patient, index: 17}
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/nhsn-dqm/StructureDefinition/nhsn-measurereport-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.0
required: [entry]