PackagesCanonicalsLogsProblems
    Packages
    de.gkvsv.erezeptabrechnungsdaten@1.0.5
    https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle
description: Dieses Bundle verbindet die eRezept Verordnungsdaten, Quittungsdaten, Abgabedaten und Abrechnungsdaten
package_name: de.gkvsv.erezeptabrechnungsdaten
derivation: constraint
name: GKVSV_PR_TA7_RezeptBundle
type: Bundle
elements:
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle|1.0.5'}
        index: 2
    required: [profile]
  signature: {index: 47}
  implicitRules: {index: 3}
  type:
    pattern: {type: Code, value: collection}
    mustSupport: true
    index: 6
  total: {index: 8}
  language: {index: 4}
  link: {index: 9}
  id: {mustSupport: true, index: 0}
  identifier: {index: 5}
  entry:
    mustSupport: true
    array: true
    min: 4
    max: 4
    index: 10
    slicing:
      rules: closed
      ordered: true
      discriminator:
      - {path: link.url, type: value}
      min: 4
      max: 4
      slices:
        Verordnungsdaten:
          match:
            link: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle'}
          schema:
            short: Verordnungsdatensatz
            mustSupport: true
            _required: true
            index: 11
            elements:
              link:
                mustSupport: true
                index: 12
                elements:
                  relation:
                    pattern: {type: String, value: item}
                    mustSupport: true
                    index: 13
                  url:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle'}
                    mustSupport: true
                    index: 14
              fullUrl: {mustSupport: true, index: 15}
              resource: {type: Resource, short: Verordnungsdatensatz, mustSupport: true, index: 16}
              search: {index: 17}
              request: {index: 18}
              response: {index: 19}
            required: [resource, fullUrl, link]
        Quittungsdaten:
          match:
            link: {url: 'https://gematik.de/fhir/StructureDefinition/ErxReceipt'}
          schema:
            short: Quittungsdatensatz
            constraint:
              qsig-1: {human: Die eRezept-Quittung muss eine Signatur enthalten., source: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle', severity: error, expression: resource.signature.exists()}
            mustSupport: true
            _required: true
            index: 20
            elements:
              link:
                mustSupport: true
                index: 21
                elements:
                  relation:
                    pattern: {type: String, value: item}
                    mustSupport: true
                    index: 22
                  url:
                    pattern: {type: Uri, value: 'https://gematik.de/fhir/StructureDefinition/ErxReceipt'}
                    mustSupport: true
                    index: 23
              fullUrl: {mustSupport: true, index: 24}
              resource: {type: Resource, short: Quittungsdatensatz, mustSupport: true, index: 25}
              search: {index: 26}
              request: {index: 27}
              response: {index: 28}
            required: [resource, fullUrl, link]
        Abgabedaten:
          match:
            link: {url: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-AbgabedatenBundle'}
          schema:
            short: Abgabedatensatz
            mustSupport: true
            _required: true
            index: 29
            elements:
              link:
                mustSupport: true
                index: 30
                elements:
                  relation:
                    pattern: {type: String, value: item}
                    mustSupport: true
                    index: 31
                  url:
                    pattern: {type: Uri, value: 'http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PR-ERP-AbgabedatenBundle'}
                    index: 32
              fullUrl: {mustSupport: true, index: 33}
              resource: {type: Resource, short: Abgabedatensatz, mustSupport: true, index: 34}
              search: {index: 35}
              request: {index: 36}
              response: {index: 37}
            required: [resource, fullUrl, link]
        Abrechnungsdaten:
          match:
            link: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten'}
          schema:
            short: Abrechnungsdatensatz
            mustSupport: true
            _required: true
            index: 38
            elements:
              link:
                mustSupport: true
                index: 39
                elements:
                  relation:
                    pattern: {type: String, value: item}
                    mustSupport: true
                    index: 40
                  url:
                    pattern: {type: Uri, value: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_ERP_eAbrechnungsdaten'}
                    mustSupport: true
                    index: 41
              fullUrl: {mustSupport: true, index: 42}
              resource: {type: Resource, short: Abrechnungsdatensatz, mustSupport: true, index: 43}
              search: {index: 44}
              request: {index: 45}
              response: {index: 46}
            required: [resource, fullUrl, link]
  timestamp: {index: 7}
package_version: 1.0.5
class: profile
kind: resource
url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_RezeptBundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.0.5
required: [meta]