PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pct.r4b@1.1.0
    http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob-bundle
description: PCT AEOB Bundle that contains necessary resources for an AEOBs. Organizations for both the payer and provider SHALL be included.
package_name: hl7.fhir.us.davinci-pct.r4b
derivation: constraint
name: PCTAEOBBundle
type: Bundle
elements:
  identifier: {index: 0}
  type:
    pattern: {type: Code, value: collection}
    index: 1
  timestamp: {index: 2}
  entry:
    array: true
    min: 4
    index: 3
    elements:
      fullUrl: {index: 4}
      search: {index: 5}
      request: {index: 6}
      response: {index: 7}
    required: [fullUrl]
    slicing:
      rules: open
      description: Slice different resources included in the bundle
      discriminator:
      - {path: resource, type: type}
      min: 4
      slices:
        aeob:
          match: {}
          schema:
            short: SHALL have a PCTAdvancedEOB resource
            array: true
            min: 1
            _required: true
            index: 8
            elements:
              resource: {type: ExplanationOfBenefit, index: 9}
            required: [resource]
        patient:
          match: {}
          schema:
            short: SHALL have the patient subject of care and may be a separate subscriber
            array: true
            min: 1
            max: 2
            _required: true
            index: 10
            elements:
              resource: {type: Patient, index: 11}
            required: [resource]
        coverage:
          match: {}
          schema:
            short: SHALL have one Coverage
            _required: true
            index: 12
            elements:
              resource: {type: Coverage, index: 13}
            required: [resource]
        organization:
          match: {}
          schema:
            short: SHALL have the payer organization and may have provider organization(s)
            array: true
            min: 1
            _required: true
            index: 14
            elements:
              resource: {type: Organization, index: 15}
            required: [resource]
        practitioner:
          match: {}
          schema:
            short: MAY have the provider Practitioner(s)
            mustSupport: true
            array: true
            index: 16
            elements:
              resource: {type: Practitioner, index: 17}
            required: [resource]
        gfeBundle:
          match: {}
          schema:
            short: MAY have PCTGFEBundle resource
            mustSupport: true
            array: true
            index: 18
            elements:
              resource: {type: Bundle, index: 19}
            required: [resource]
package_version: 1.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.1.0
required: [timestamp, identifier]