PackagesCanonicalsLogsProblems
    Packages
    de.gkvsv.erezeptabrechnungsdaten@1.5.0-rc
    https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle
description: TA7 Rechnung aus Datei - Bundle
package_name: de.gkvsv.erezeptabrechnungsdaten
derivation: constraint
name: GKVSV_PR_TA7_Rechnung_Bundle
type: Bundle
elements:
  meta:
    index: 1
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle|1.5'}
        index: 2
    required: [profile]
  signature: {index: 40}
  implicitRules: {index: 3}
  type:
    pattern: {type: Code, value: document}
    index: 14
  total: {index: 16}
  language: {index: 4}
  link: {index: 17}
  id: {index: 0}
  identifier:
    short: Dateiname und Dateinummer
    index: 5
    extensions:
      Dateinummer: {url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Dateinummer', min: 1, max: 1, type: Extension, short: Dateinummer, index: 7}
    elements:
      extension:
        index: 6
        slicing:
          rules: closed
          discriminator:
          - {path: url, type: value}
          min: 1
          max: 1
          slices:
            Dateinummer:
              match: {url: null}
              schema: {type: Extension, short: Dateinummer, url: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_ERP_TA7_Dateinummer', index: 7}
              min: 1
              max: 1
      use: {index: 8}
      type: {index: 9}
      system:
        short: Dateiname
        pattern: {type: Uri, value: 'https://fhir.gkvsv.de/NamingSystem/GKVSV_NS_Dateiname'}
        index: 10
      value:
        short: Dateiname
        constraint:
          Dateiname: {human: Der Dateiname muss den Konventionen der TA7 entsprechen., source: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle', severity: error, expression: 'toString().matches(''^((ARZ|APO|KKR|KRZ|SON)(FHR|FK[1-9])(\\d{2})(\\d{3}|[A-Z]\\d{2}))|((B|C|D)([0-9]|[A-Z]){2}(FHR|FK[1-9])(\\d{2})([0-9]|[A-Z]){3})$'') and toString().matches(''^((ARZ|APO|KKR|KRZ|SON)(FHR|FK[1-9])(\\d{2})(000))|((B|C|D)(00)(FHR|FK[1-9])(\\d{2})(000))$'').not()'}
        index: 11
      period: {index: 12}
      assigner: {index: 13}
    required: [extension, value, system]
  entry:
    short: Composition, List und Rechnungen
    array: true
    min: 2
    index: 18
    slicing:
      rules: closed
      discriminator:
      - {path: resource.meta.profile, type: value}
      min: 2
      slices:
        Rechnung_Composition:
          match:
            resource:
              meta: {profile: null}
          schema:
            _required: true
            index: 19
            elements:
              link: {index: 20}
              fullUrl: {index: 21}
              resource: {type: Resource, index: 22}
              search: {index: 23}
              request: {index: 24}
              response: {index: 25}
            required: [resource, fullUrl]
        Rechnung_List:
          match:
            resource:
              meta: {profile: null}
          schema:
            _required: true
            index: 26
            elements:
              link: {index: 27}
              fullUrl: {index: 28}
              resource: {type: Resource, index: 29}
              search: {index: 30}
              request: {index: 31}
              response: {index: 32}
            required: [resource, fullUrl]
        RezeptBundle:
          match:
            resource:
              meta: {profile: null}
          schema:
            _required: true
            index: 33
            elements:
              link: {index: 34}
              fullUrl: {index: 35}
              resource: {type: Resource, index: 36}
              search: {index: 37}
              request: {index: 38}
              response: {index: 39}
            required: [resource, fullUrl]
  timestamp: {short: Erstelldatum der Datei, index: 15}
package_version: 1.5.0-rc
class: profile
kind: resource
url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 1.5.0
required: [id, timestamp, identifier, meta]