PackagesCanonicalsLogsProblems
    Packages
    kbv.itv.evdga@1.1.0
    https://fhir.kbv.de/StructureDefinition/KBV_PR_EVDGA_Composition
description: null
package_name: kbv.itv.evdga
derivation: constraint
name: KBV_PR_EVDGA_Composition
type: Composition
elements:
  category: {index: 40}
  date: {mustSupport: true, index: 47}
  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_EVDGA_Composition|1.1'}
        index: 5
      security: {index: 6}
      tag: {index: 7}
    required: [profile]
  encounter: {index: 46}
  section:
    mustSupport: true
    array: true
    min: 2
    max: 3
    index: 82
    slicing:
      rules: closed
      discriminator:
      - {path: code.coding.code, type: value}
      min: 2
      max: 3
      slices:
        VerordnungDiGA:
          match:
            code:
              coding: {code: Prescription}
          schema:
            mustSupport: true
            _required: true
            index: 83
            elements:
              orderedBy: {index: 97}
              section: {index: 104}
              mode: {index: 96}
              title: {index: 84}
              emptyReason: {index: 103}
              author: {index: 93}
              code:
                mustSupport: true
                index: 85
                elements:
                  coding:
                    mustSupport: true
                    index: 86
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_EVDGA_Section_Type'}
                        mustSupport: true
                        index: 87
                      version: {index: 88}
                      code:
                        pattern: {type: Code, value: Prescription}
                        mustSupport: true
                        index: 89
                      display: {index: 90}
                      userSelected: {index: 91}
                    required: [system, code]
                  text: {index: 92}
                required: [coding]
              focus: {index: 94}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_EVDGA_HealthAppRequest|1.1']
                index: 98
                elements:
                  reference: {mustSupport: true, index: 99}
                  type: {index: 100}
                  identifier: {index: 101}
                  display: {index: 102}
                required: [reference]
              text: {index: 95}
            required: [entry, code]
        Krankenversicherungsverhaeltnis:
          match:
            code:
              coding: {code: HealthInsurance}
          schema:
            mustSupport: true
            _required: true
            index: 105
            elements:
              orderedBy: {index: 119}
              section: {index: 126}
              mode: {index: 118}
              title: {index: 106}
              emptyReason: {index: 125}
              author: {index: 115}
              code:
                mustSupport: true
                index: 107
                elements:
                  coding:
                    mustSupport: true
                    index: 108
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_EVDGA_Section_Type'}
                        mustSupport: true
                        index: 109
                      version: {index: 110}
                      code:
                        pattern: {type: Code, value: HealthInsurance}
                        mustSupport: true
                        index: 111
                      display: {index: 112}
                      userSelected: {index: 113}
                    required: [system, code]
                  text: {index: 114}
                required: [coding]
              focus: {index: 116}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1']
                index: 120
                elements:
                  reference: {mustSupport: true, index: 121}
                  type: {index: 122}
                  identifier: {index: 123}
                  display: {index: 124}
                required: [reference]
              text: {index: 117}
            required: [entry, code]
        ASV-Ausuebung:
          match:
            code:
              coding: {code: AmbulatorySpecializedCare}
          schema:
            mustSupport: true
            index: 127
            elements:
              orderedBy: {index: 141}
              section: {index: 148}
              mode: {index: 140}
              title: {index: 128}
              emptyReason: {index: 147}
              author: {index: 137}
              code:
                mustSupport: true
                index: 129
                elements:
                  coding:
                    mustSupport: true
                    index: 130
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_EVDGA_Section_Type'}
                        mustSupport: true
                        index: 131
                      version: {index: 132}
                      code:
                        pattern: {type: Code, value: AmbulatorySpecializedCare}
                        mustSupport: true
                        index: 133
                      display: {index: 134}
                      userSelected: {index: 135}
                    required: [system, code]
                  text: {index: 136}
                required: [coding]
              focus: {index: 138}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_PractitionerRole|1.1']
                index: 142
                elements:
                  reference: {mustSupport: true, index: 143}
                  type: {index: 144}
                  identifier: {index: 145}
                  display: {index: 146}
                required: [reference]
              text: {index: 139}
            required: [entry, code]
  implicitRules: {index: 8}
  attester:
    short: Daten der verantwortliche Person
    mustSupport: true
    index: 67
    elements:
      mode:
        pattern: {type: Code, value: legal}
        mustSupport: true
        index: 68
      time: {index: 69}
      party:
        type: Reference
        mustSupport: true
        refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1']
        index: 70
        elements:
          reference: {mustSupport: true, index: 71}
          type: {index: 72}
          identifier: {index: 73}
          display: {index: 74}
        required: [reference]
    required: [party]
  type:
    mustSupport: true
    index: 32
    elements:
      coding:
        mustSupport: true
        index: 33
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART'}
            mustSupport: true
            index: 34
          version: {index: 35}
          code:
            short: Dokumententyp
            pattern: {type: Code, value: e16D}
            mustSupport: true
            index: 36
          display: {index: 37}
          userSelected: {index: 38}
        required: [system, code]
      text: {index: 39}
    required: [coding]
  title:
    pattern: {type: String, value: elektronische Verordnung digitaler Gesundheitsanwendungen}
    mustSupport: true
    index: 65
  author:
    mustSupport: true
    array: true
    max: 2
    index: 48
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: null
      max: 2
      slices:
        AusstellendePerson:
          match: {type: Practitioner}
          schema:
            type: Reference
            mustSupport: true
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1']
            _required: true
            index: 49
            elements:
              reference: {mustSupport: true, index: 50}
              type:
                pattern: {type: Uri, value: Practitioner}
                mustSupport: true
                index: 51
              identifier: {index: 52}
              display: {index: 53}
            required: [reference, type]
        Pruefnummer:
          match: {type: Device}
          schema:
            mustSupport: true
            index: 54
            elements:
              reference: {index: 55}
              type:
                pattern: {type: Uri, value: Device}
                mustSupport: true
                index: 56
              identifier:
                mustSupport: true
                index: 57
                elements:
                  use: {index: 58}
                  type: {index: 59}
                  system:
                    pattern: {type: Uri, value: 'https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer'}
                    mustSupport: true
                    index: 60
                  value: {short: Prüfnummer, mustSupport: true, index: 61}
                  period: {index: 62}
                  assigner: {index: 63}
                required: [value, system]
              display: {index: 64}
            required: [identifier, type]
  extension:
    array: true
    max: 2
    index: 11
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: null
      max: 2
      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
        PKV-Tarif:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_PKV_Tariff
            index: 17
            elements:
              value:
                mustSupport: true
                choices: []
                index: 19
                slicing:
                  slices:
                    valueCoding:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 21
              value[x]:
                elements:
                  system: {mustSupport: true, index: 22}
                  code: {mustSupport: true, index: 23}
  contained: {index: 10}
  event: {index: 81}
  custodian:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1']
    index: 75
    elements:
      reference: {mustSupport: true, index: 76}
      type: {index: 77}
      identifier: {index: 78}
      display: {index: 79}
    required: [reference]
  status:
    pattern: {type: Code, value: final}
    mustSupport: true
    index: 31
  language: {index: 9}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: false
    index: 24
    elements:
      use: {index: 25}
      type: {index: 26}
      system: {mustSupport: false, index: 27}
      value: {mustSupport: false, index: 28}
      period: {index: 29}
      assigner: {index: 30}
  relatesTo: {index: 80}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1']
    index: 41
    elements:
      reference: {mustSupport: true, index: 42}
      type: {index: 43}
      identifier: {index: 44}
      display: {index: 45}
    required: [reference]
  confidentiality: {index: 66}
package_version: 1.1.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
  PKV-Tarif:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_PKV_Tariff
    type: Extension
    mustSupport: true
    index: 17
    elements:
      value:
        mustSupport: true
        choices: []
        index: 19
        slicing:
          slices:
            valueCoding:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 21
      value[x]:
        elements:
          system: {mustSupport: true, index: 22}
          code: {mustSupport: true, index: 23}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_EVDGA_Composition
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 1.1.0
required: [id, meta, custodian]