PackagesCanonicalsLogsProblems
    Packages
    de.gkvsv.erezeptabrechnungsdaten@1.0.5
    https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Composition
description: TA7 Sammelrechnung - Composition
package_name: de.gkvsv.erezeptabrechnungsdaten
derivation: constraint
name: GKVSV_PR_TA7_Sammelrechnung_Composition
type: Composition
elements:
  category: {index: 27}
  date: {short: Abrechnungszeitraum, mustSupport: true, index: 30}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Composition|1.0.5'}
        index: 2
    required: [profile]
  encounter: {index: 29}
  section:
    mustSupport: true
    array: true
    min: 2
    max: 2
    index: 48
    slicing:
      rules: open
      discriminator:
      - {path: code.coding.code, type: value}
      min: 2
      max: 2
      slices:
        sammelrechnungListe:
          match:
            code:
              coding: {code: LSR}
          schema:
            mustSupport: true
            _required: true
            index: 49
            elements:
              orderedBy: {index: 63}
              section: {index: 70}
              mode: {index: 62}
              title: {index: 50}
              emptyReason: {index: 69}
              author: {index: 59}
              code:
                mustSupport: true
                index: 51
                elements:
                  coding:
                    mustSupport: true
                    index: 52
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_TA7'}
                        mustSupport: true
                        index: 53
                      version: {index: 54}
                      code:
                        pattern: {type: Code, value: LSR}
                        mustSupport: true
                        index: 55
                      display:
                        pattern: {type: String, value: Liste der Sammelrechnungen}
                        mustSupport: true
                        index: 56
                      userSelected: {index: 57}
                    required: [system, code]
                  text: {index: 58}
                required: [coding]
              focus: {index: 60}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_List']
                index: 64
                elements:
                  reference: {mustSupport: true, index: 65}
                  type: {index: 66}
                  identifier: {index: 67}
                  display: {index: 68}
                required: [reference]
              text: {index: 61}
            required: [entry, code]
        rechnungen:
          match:
            code:
              coding: {code: R}
          schema:
            short: Rechnungen
            mustSupport: true
            _required: true
            index: 71
            elements:
              orderedBy: {index: 85}
              section: {index: 92}
              mode: {index: 84}
              title: {index: 72}
              emptyReason: {index: 91}
              author: {index: 81}
              code:
                mustSupport: true
                index: 73
                elements:
                  coding:
                    mustSupport: true
                    index: 74
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_TA7'}
                        mustSupport: true
                        index: 75
                      version: {index: 76}
                      code:
                        pattern: {type: Code, value: R}
                        mustSupport: true
                        index: 77
                      display:
                        pattern: {type: String, value: Rechnungen}
                        mustSupport: true
                        index: 78
                      userSelected: {index: 79}
                    required: [system, code]
                  text: {index: 80}
                required: [coding]
              focus: {index: 82}
              entry:
                type: Reference
                short: Referenzen zu den einzelnen Rechnungen
                mustSupport: true
                refers: ['https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Rechnung']
                index: 86
                elements:
                  reference: {mustSupport: true, index: 87}
                  type: {index: 88}
                  identifier: {index: 89}
                  display: {index: 90}
                required: [reference]
              text: {index: 83}
            required: [entry, code]
  implicitRules: {index: 3}
  attester: {index: 44}
  type:
    elements:
      coding:
        index: 20
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.gkvsv.de/CodeSystem/GKVSV_CS_ERP_TA7'}
            index: 21
          version: {index: 22}
          code:
            pattern: {type: Code, value: SR}
            index: 23
          display:
            pattern: {type: String, value: Sammelrechnung}
            index: 24
          userSelected: {index: 25}
        required: [system, code]
      text: {index: 26}
    required: [coding]
  title:
    pattern: {type: String, value: elektronische Sammelrechnung}
    mustSupport: true
    index: 42
  author:
    short: Absender-IK
    mustSupport: true
    index: 31
    elements:
      reference: {index: 32}
      type: {index: 33}
      identifier:
        mustSupport: true
        index: 34
        elements:
          use: {index: 35}
          type: {index: 36}
          system:
            pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/arge-ik/iknr'}
            mustSupport: true
            index: 37
          value:
            short: Absender-IK
            constraint:
              AbsenderIK-length: {human: Die IK des Absenders muss 9 Zeichen lang und numerisch sein., source: 'https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Composition', severity: error, expression: 'toString().matches(''^\\d{9}$'')'}
            mustSupport: true
            index: 38
          period: {index: 39}
          assigner: {index: 40}
        required: [value, system]
      display: {index: 41}
    required: [identifier]
  extension:
    array: true
    min: 2
    index: 7
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        empfaengerIK:
          match: {url: null}
          schema:
            short: Empfänger-IK
            type: Extension
            mustSupport: true
            url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_TA7_IK_Empfaenger
            index: 8
            elements:
              value:
                mustSupport: true
                choices: []
                index: 10
              value[x]:
                elements:
                  system: {mustSupport: true, index: 11}
                  value: {short: Empfänger-IK, mustSupport: true, index: 12}
        kostentraegerIK:
          match: {url: null}
          schema:
            short: Kostenträger-IK
            type: Extension
            mustSupport: true
            url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_TA7_IK_Kostentraeger
            index: 13
            elements:
              value:
                mustSupport: true
                choices: []
                index: 15
              value[x]:
                elements:
                  system: {mustSupport: true, index: 16}
                  value: {short: Kostenträger-IK, mustSupport: true, index: 17}
  contained: {index: 6}
  event: {index: 47}
  custodian: {index: 45}
  status:
    pattern: {type: Code, value: final}
    index: 19
  language: {index: 4}
  id: {mustSupport: true, index: 0}
  identifier: {index: 18}
  relatesTo: {index: 46}
  subject: {index: 28}
  confidentiality: {index: 43}
  text: {index: 5}
package_version: 1.0.5
extensions:
  empfaengerIK:
    url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_TA7_IK_Empfaenger
    short: Empfänger-IK
    type: Extension
    mustSupport: true
    index: 8
    elements:
      value:
        mustSupport: true
        choices: []
        index: 10
      value[x]:
        elements:
          system: {mustSupport: true, index: 11}
          value: {short: Empfänger-IK, mustSupport: true, index: 12}
  kostentraegerIK:
    url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_EX_TA7_IK_Kostentraeger
    short: Kostenträger-IK
    type: Extension
    mustSupport: true
    index: 13
    elements:
      value:
        mustSupport: true
        choices: []
        index: 15
      value[x]:
        elements:
          system: {mustSupport: true, index: 16}
          value: {short: Kostenträger-IK, mustSupport: true, index: 17}
class: profile
kind: resource
url: https://fhir.gkvsv.de/StructureDefinition/GKVSV_PR_TA7_Sammelrechnung_Composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.5
required: [meta]