PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pct@2.0.0
    http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob-packet
description: PCT AEOB Packet that contains necessary resources for one or more an AEOBs.  Organizations for both the payer and provider SHALL be included.   An AEOB Summary SHALL be included and reflect the total estimate for the patient, including all AEOB resources within the Bundle. This version of the Bundle is a document type that will enable versioning, signing and being referenced by a DocumentReference for searching and subscription notifications.
package_name: hl7.fhir.us.davinci-pct
derivation: constraint
name: PCTAEOBPacket
type: Bundle
elements:
  identifier: {index: 0}
  type:
    pattern: {type: Code, value: document}
    index: 1
  timestamp: {index: 2}
  entry:
    array: true
    min: 6
    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: 6
      slices:
        composition:
          match: {}
          schema:
            short: SHALL have a PCTAdvancedEOBComposition resource
            mustSupport: true
            _required: true
            index: 8
            elements:
              resource: {type: Composition, index: 9}
            required: [resource]
        aeob:
          match: {}
          schema:
            short: SHALL have a PCTAdvancedEOBSummary or PCTAdvancedEOB resource
            mustSupport: true
            array: true
            min: 2
            index: 10
            elements:
              resource: {type: ExplanationOfBenefit, index: 11}
            required: [resource]
        patient:
          match: {}
          schema:
            min: 1
            short: SHALL have the patient subject of care and may be a separate subscriber
            index: 12
            mustSupport: true
            array: true
            elements:
              resource: {type: Patient, index: 13}
            _required: true
            max: 2
            required: [resource]
        coverage:
          match: {}
          schema:
            short: SHALL have one Coverage
            mustSupport: true
            _required: true
            index: 14
            elements:
              resource: {type: Coverage, index: 15}
            required: [resource]
        organization:
          match: {}
          schema:
            short: SHALL have the payer organization and may have provider organization(s)
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 16
            elements:
              resource: {type: Organization, index: 17}
            required: [resource]
        practitioner:
          match: {}
          schema:
            short: MAY have the provider Practitioner(s)
            mustSupport: true
            array: true
            index: 18
            elements:
              resource: {type: Practitioner, index: 19}
            required: [resource]
        gfeBundle:
          match: {}
          schema:
            short: MAY include GFE contributor specific GFE bundle or information about a unfulfilled GFE request (GFE Missing Bundle)
            mustSupport: true
            array: true
            index: 20
            elements:
              resource: {type: Bundle, index: 21}
            required: [resource]
package_version: 2.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pct/StructureDefinition/davinci-pct-aeob-packet
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 2.0.0
required: [timestamp, identifier]