PackagesCanonicalsLogsProblems
    Packages
    rs/KBV.ITA.ERP@1.0.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition
description: null
package_name: rs/KBV.ITA.ERP
derivation: constraint
name: KBV_PR_ERP_Composition
type: Composition
elements:
  category: {index: 42}
  date: {mustSupport: true, index: 49}
  meta:
    mustSupport: true
    index: 1
    elements:
      versionId: {index: 2}
      lastUpdated: {index: 3}
      source: {index: 4}
      profile:
        mustSupport: true
        pattern: {type: canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.0.0'}
        type: canonical
        index: 5
      security: {index: 6}
      tag: {index: 7}
    required: [profile]
  encounter: {index: 48}
  section:
    mustSupport: true
    index: 84
    slicing:
      rules: closed
      discriminator:
      - {path: code.coding.code, type: value}
      min: 1
      slices:
        Verordnung_Arzneimittel:
          match:
            code:
              coding: {code: Prescription}
          schema:
            mustSupport: true
            index: 85
            elements:
              orderedBy: {index: 99}
              section: {index: 106}
              mode: {index: 98}
              title: {index: 86}
              emptyReason: {index: 105}
              author: {index: 95}
              code:
                mustSupport: true
                index: 87
                elements:
                  coding:
                    mustSupport: true
                    index: 88
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type'}
                        mustSupport: true
                        type: uri
                        index: 89
                      version: {index: 90}
                      code:
                        pattern: {type: code, value: Prescription}
                        mustSupport: true
                        type: code
                        index: 91
                      display: {index: 92}
                      userSelected: {index: 93}
                    required: [code, system]
                  text: {index: 94}
                required: [coding]
              focus: {index: 96}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.0.0']
                index: 100
                elements:
                  reference: {mustSupport: true, index: 101}
                  type: {index: 102}
                  identifier: {index: 103}
                  display: {index: 104}
                required: [reference]
              text: {index: 97}
            required: [code, entry]
        Verordnung_Sprechstundenbedarf:
          match:
            code:
              coding: {code: PracticeSupply}
          schema:
            mustSupport: true
            index: 107
            elements:
              orderedBy: {index: 121}
              section: {index: 128}
              mode: {index: 120}
              title: {index: 108}
              emptyReason: {index: 127}
              author: {index: 117}
              code:
                mustSupport: true
                index: 109
                elements:
                  coding:
                    mustSupport: true
                    index: 110
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type'}
                        mustSupport: true
                        type: uri
                        index: 111
                      version: {index: 112}
                      code:
                        pattern: {type: code, value: PracticeSupply}
                        mustSupport: true
                        type: code
                        index: 113
                      display: {index: 114}
                      userSelected: {index: 115}
                    required: [code, system]
                  text: {index: 116}
                required: [coding]
              focus: {index: 118}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_PracticeSupply|1.0.0']
                index: 122
                elements:
                  reference: {mustSupport: true, index: 123}
                  type: {index: 124}
                  identifier: {index: 125}
                  display: {index: 126}
                required: [reference]
              text: {index: 119}
            required: [code, entry]
        Krankenversicherungsverhaeltnis:
          match:
            code:
              coding: {code: Coverage}
          schema:
            mustSupport: true
            index: 129
            elements:
              orderedBy: {index: 143}
              section: {index: 150}
              mode: {index: 142}
              title: {index: 130}
              emptyReason: {index: 149}
              author: {index: 139}
              code:
                mustSupport: true
                index: 131
                elements:
                  coding:
                    mustSupport: true
                    index: 132
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type'}
                        mustSupport: true
                        type: uri
                        index: 133
                      version: {index: 134}
                      code:
                        pattern: {type: code, value: Coverage}
                        mustSupport: true
                        type: code
                        index: 135
                      display: {index: 136}
                      userSelected: {index: 137}
                    required: [code, system]
                  text: {index: 138}
                required: [coding]
              focus: {index: 140}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.0.1']
                index: 144
                elements:
                  reference: {mustSupport: true, index: 145}
                  type: {index: 146}
                  identifier: {index: 147}
                  display: {index: 148}
                required: [reference]
              text: {index: 141}
            required: [code, entry]
        ASV-Ausuebung:
          match:
            code:
              coding: {code: FOR_PractitionerRole}
          schema:
            mustSupport: true
            index: 151
            elements:
              orderedBy: {index: 165}
              section: {index: 172}
              mode: {index: 164}
              title: {index: 152}
              emptyReason: {index: 171}
              author: {index: 161}
              code:
                mustSupport: true
                index: 153
                elements:
                  coding:
                    mustSupport: true
                    index: 154
                    elements:
                      system:
                        pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type'}
                        mustSupport: true
                        type: uri
                        index: 155
                      version: {index: 156}
                      code:
                        pattern: {type: code, value: FOR_PractitionerRole}
                        mustSupport: true
                        type: code
                        index: 157
                      display: {index: 158}
                      userSelected: {index: 159}
                    required: [code, system]
                  text: {index: 160}
                required: [coding]
              focus: {index: 162}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.0.1']
                index: 166
                elements:
                  reference: {mustSupport: true, index: 167}
                  type: {index: 168}
                  identifier: {index: 169}
                  display: {index: 170}
                required: [reference]
              text: {index: 163}
            required: [code, entry]
  implicitRules: {index: 8}
  attester:
    short: Daten der verantwortliche Person
    mustSupport: true
    index: 69
    elements:
      mode:
        pattern: {type: code, value: legal}
        mustSupport: true
        type: code
        index: 70
      time: {index: 71}
      party:
        type: Reference
        mustSupport: true
        refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.0.1']
        index: 72
        elements:
          reference: {mustSupport: true, index: 73}
          type: {index: 74}
          identifier: {index: 75}
          display: {index: 76}
        required: [reference]
    required: [party]
  type:
    mustSupport: true
    index: 34
    elements:
      coding:
        mustSupport: true
        index: 35
        elements:
          system:
            pattern: {type: uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART'}
            mustSupport: true
            type: uri
            index: 36
          version: {index: 37}
          code:
            short: Dokumententyp
            pattern: {type: code, value: e16A}
            mustSupport: true
            type: code
            index: 38
          display: {index: 39}
          userSelected: {index: 40}
        required: [code, system]
      text: {index: 41}
    required: [coding]
  title:
    pattern: {type: string, value: elektronische Arzneimittelverordnung}
    mustSupport: true
    type: string
    index: 67
  author:
    mustSupport: true
    array: true
    max: 2
    index: 50
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      max: 2
      slices:
        Arzt:
          match: {type: Practitioner}
          schema:
            type: Reference
            mustSupport: true
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.0.1']
            _required: true
            index: 51
            elements:
              reference: {mustSupport: true, index: 52}
              type:
                pattern: {type: uri, value: Practitioner}
                mustSupport: true
                type: uri
                index: 53
              identifier: {index: 54}
              display: {index: 55}
            required: [reference, type]
        PRF:
          match: {type: Device}
          schema:
            mustSupport: true
            index: 56
            elements:
              reference: {index: 57}
              type:
                pattern: {type: uri, value: Device}
                mustSupport: true
                type: uri
                index: 58
              identifier:
                mustSupport: true
                index: 59
                elements:
                  use: {index: 60}
                  type: {index: 61}
                  system:
                    pattern: {type: uri, value: 'https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer'}
                    mustSupport: true
                    type: uri
                    index: 62
                  value: {short: Prüfnummer, mustSupport: true, index: 63}
                  period: {index: 64}
                  assigner: {index: 65}
                required: [system, value]
              display: {index: 66}
            required: [identifier, type]
  extension:
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        rechtsgrundlage:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis
            index: 12
            elements:
              value:
                mustSupport: true
                choices: []
                index: 14
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 16
              value[x]:
                elements:
                  system: {mustSupport: true, index: 17}
                  code: {short: Kennzeichen Rechtsgrundlage, mustSupport: true, index: 18}
        PKV-Tarif:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_PKV_Tariff
            index: 19
            elements:
              value:
                mustSupport: true
                choices: []
                index: 21
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 23
              value[x]:
                elements:
                  system: {mustSupport: true, index: 24}
                  code: {mustSupport: true, index: 25}
  contained: {index: 10}
  event: {index: 83}
  custodian:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.0.1']
    index: 77
    elements:
      reference: {mustSupport: true, index: 78}
      type: {index: 79}
      identifier: {index: 80}
      display: {index: 81}
    required: [reference]
  status:
    pattern: {type: code, value: final}
    mustSupport: true
    type: code
    index: 33
  language: {index: 9}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: false
    index: 26
    elements:
      use: {index: 27}
      type: {index: 28}
      system: {mustSupport: false, index: 29}
      value: {mustSupport: false, index: 30}
      period: {index: 31}
      assigner: {index: 32}
  relatesTo: {index: 82}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.0.1']
    index: 43
    elements:
      reference: {mustSupport: true, index: 44}
      type: {index: 45}
      identifier: {index: 46}
      display: {index: 47}
    required: [reference]
  confidentiality: {index: 68}
package_version: 1.0.0
extensions:
  rechtsgrundlage:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis
    type: Extension
    mustSupport: true
    index: 12
    elements:
      value:
        mustSupport: true
        choices: []
        index: 14
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 16
      value[x]:
        elements:
          system: {mustSupport: true, index: 17}
          code: {short: Kennzeichen Rechtsgrundlage, mustSupport: true, index: 18}
  PKV-Tarif:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_PKV_Tariff
    type: Extension
    mustSupport: true
    index: 19
    elements:
      value:
        mustSupport: true
        choices: []
        index: 21
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 23
      value[x]:
        elements:
          system: {mustSupport: true, index: 24}
          code: {mustSupport: true, index: 25}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.0.0
required: [custodian, id, meta, section]