PackagesCanonicalsLogsProblems
    Packages
    rs/de.gkvsv.erezeptabrechnungsdaten@1.3.1
    https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle
description: TA7 Rechnung aus Datei - Bundle
package_name: rs/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.3'}
        type: canonical
        index: 2
    required: [profile]
  signature: {index: 40}
  implicitRules: {index: 3}
  type:
    pattern: {type: code, value: collection}
    type: code
    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
          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'}
        type: uri
        index: 10
      value:
        short: Dateiname
        constraint:
          Dateiname: {human: Der Dateiname muss den Konventionen der TA7 entsprechen., 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})$'')'}
        index: 11
      period: {index: 12}
      assigner: {index: 13}
    required: [extension, system, value]
  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:
                elementReference: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle', elements, org/fhir/StructureDefinition/Bundle#Bundle, elements, link]
                index: 20
              fullUrl: {index: 21}
              resource: {type: Resource, index: 22}
              search: {index: 23}
              request: {index: 24}
              response: {index: 25}
            required: [fullUrl, resource]
        Rechnung_List:
          match:
            resource:
              meta: {profile: null}
          schema:
            _required: true
            index: 26
            elements:
              link:
                elementReference: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle', elements, org/fhir/StructureDefinition/Bundle#Bundle, elements, link]
                index: 27
              fullUrl: {index: 28}
              resource: {type: Resource, index: 29}
              search: {index: 30}
              request: {index: 31}
              response: {index: 32}
            required: [fullUrl, resource]
        RezeptBundle:
          match:
            resource:
              meta: {profile: null}
          schema:
            _required: true
            index: 33
            elements:
              link:
                elementReference: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle', elements, org/fhir/StructureDefinition/Bundle#Bundle, elements, link]
                index: 34
              fullUrl: {index: 35}
              resource: {type: Resource, index: 36}
              search: {index: 37}
              request: {index: 38}
              response: {index: 39}
            required: [fullUrl, resource]
  timestamp: {short: Erstelldatum der Datei, index: 15}
package_version: 1.3.1
class: profile
kind: resource
url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung_Bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: '1.3'
required: [id, identifier, meta, timestamp]