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