PackagesCanonicalsLogsProblems
    Packages
    de.gevko.dev.te@tvz-1.0.0
    https://fhir.gevko.de/StructureDefinition/PR_OSC_Consent_VE_TE
description: null
package_name: de.gevko.dev.te
derivation: constraint
name: PR_OSC_Consent_VE_TE
type: Consent
elements:
  extension:
    index: 0
    slicing:
      slices:
        endegrund:
          match: {}
          schema:
            index: 4
            extensions:
              grund:
                url: null
                index: 5
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 6
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 6}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 7}
                              max: 0
                    required: [coding]
            elements:
              extension:
                index: 5
                slicing:
                  slices:
                    grund:
                      match: {}
                      schema:
                        index: 5
                        elements:
                          value[x]:
                            elements:
                              coding:
                                index: 6
                                slicing:
                                  slices:
                                    versicherter:
                                      match: {}
                                      schema: {_required: true, index: 6}
                                      min: 1
                                    leistungserbringer:
                                      match: {}
                                      schema: {index: 7}
                                      max: 0
                            required: [coding]
        abgelehnte_meldung:
          match: {}
          schema: {index: 24}
          max: 0
        vertrag:
          match: {}
          schema:
            index: 0
            elements:
              value:
                choices: [valueReference]
                index: 2
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['https://fhir.gevko.de/StructureDefinition/PR_OSC_Contract_Versicherter']
                index: 3
        betreuung:
          match: {}
          schema:
            index: 12
            extensions:
              betreuer:
                url: null
                index: 13
                extensions:
                  id_extern: {url: null, min: 1, _required: true, index: 14}
                elements:
                  extension:
                    index: 14
                    slicing:
                      slices:
                        id_extern:
                          match: {}
                          schema: {_required: true, index: 14}
                          min: 1
                required: [extension]
              verarbeitungskennzeichen: {url: null, min: 1, _required: true, index: 15}
            elements:
              extension:
                index: 13
                slicing:
                  slices:
                    betreuer:
                      match: {}
                      schema:
                        index: 13
                        extensions:
                          id_extern: {url: null, min: 1, _required: true, index: 14}
                        elements:
                          extension:
                            index: 14
                            slicing:
                              slices:
                                id_extern:
                                  match: {}
                                  schema: {_required: true, index: 14}
                                  min: 1
                        required: [extension]
                    verarbeitungskennzeichen:
                      match: {}
                      schema: {_required: true, index: 15}
                      min: 1
        bereinigungsrelevant:
          match: {}
          schema: {index: 23}
          max: 0
        ablehungsgrund:
          match: {}
          schema:
            index: 16
            extensions:
              grund:
                url: null
                index: 17
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 18
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 18}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 19}
                              max: 0
                    required: [coding]
            elements:
              extension:
                index: 17
                slicing:
                  slices:
                    grund:
                      match: {}
                      schema:
                        index: 17
                        elements:
                          value[x]:
                            elements:
                              coding:
                                index: 18
                                slicing:
                                  slices:
                                    versicherter:
                                      match: {}
                                      schema: {_required: true, index: 18}
                                      min: 1
                                    leistungserbringer:
                                      match: {}
                                      schema: {index: 19}
                                      max: 0
                            required: [coding]
        identifikation:
          match: {}
          schema:
            index: 20
            extensions:
              verischertennr_egk_te:
                url: null
                index: 21
                elements:
                  value[x]:
                    elements:
                      type:
                        elements:
                          coding: {index: 22}
                        required: [coding]
            elements:
              extension:
                index: 21
                slicing:
                  slices:
                    verischertennr_egk_te:
                      match: {}
                      schema:
                        index: 21
                        elements:
                          value[x]:
                            elements:
                              type:
                                elements:
                                  coding: {index: 22}
                                required: [coding]
        teilnahme_zeitraum:
          match: {}
          schema:
            index: 25
            extensions:
              leistungserbringer:
                url: null
                index: 26
                extensions:
                  abrechner_ik:
                    url: null
                    index: 27
                    elements:
                      value[x]:
                        elements:
                          type:
                            elements:
                              coding: {index: 28}
                            required: [coding]
                elements:
                  extension:
                    index: 27
                    slicing:
                      slices:
                        abrechner_ik:
                          match: {}
                          schema:
                            index: 27
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    elements:
                                      coding: {index: 28}
                                    required: [coding]
            elements:
              extension:
                index: 26
                slicing:
                  slices:
                    leistungserbringer:
                      match: {}
                      schema:
                        index: 26
                        extensions:
                          abrechner_ik:
                            url: null
                            index: 27
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    elements:
                                      coding: {index: 28}
                                    required: [coding]
                        elements:
                          extension:
                            index: 27
                            slicing:
                              slices:
                                abrechner_ik:
                                  match: {}
                                  schema:
                                    index: 27
                                    elements:
                                      value[x]:
                                        elements:
                                          type:
                                            elements:
                                              coding: {index: 28}
                                            required: [coding]
        stornogrund:
          match: {}
          schema:
            index: 8
            extensions:
              grund:
                url: null
                index: 9
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 10
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 10}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 11}
                              max: 0
                    required: [coding]
            elements:
              extension:
                index: 9
                slicing:
                  slices:
                    grund:
                      match: {}
                      schema:
                        index: 9
                        elements:
                          value[x]:
                            elements:
                              coding:
                                index: 10
                                slicing:
                                  slices:
                                    versicherter:
                                      match: {}
                                      schema: {_required: true, index: 10}
                                      min: 1
                                    leistungserbringer:
                                      match: {}
                                      schema: {index: 11}
                                      max: 0
                            required: [coding]
  identifier:
    index: 29
    slicing:
      slices:
        teilnahme_id_extern:
          match: {}
          schema: {_required: true, index: 29}
          min: 1
        teilnahme_id_intern:
          match: {}
          schema: {index: 30}
          max: 0
  scope:
    elements:
      coding:
        elements:
          code:
            pattern: {type: Code, value: research}
            index: 31
  category:
    index: 32
    slicing:
      slices:
        verarbeitungskennzeichen:
          match: {}
          schema:
            index: 32
            elements:
              coding:
                index: 33
                slicing:
                  slices:
                    versicherter:
                      match: {}
                      schema: {_required: true, index: 33}
                      min: 1
                    leistungserbringer:
                      match: {}
                      schema: {index: 34}
                      max: 0
            required: [coding]
  patient:
    type: Reference
    refers: ['https://fhir.gevko.de/StructureDefinition/PR_OSC_Patient_TE']
    index: 35
  performer:
    type: Reference
    refers: ['https://fhir.gevko.de/StructureDefinition/PR_OSC_Patient_TE']
    index: 36
    slicing:
      slices:
        versicherter:
          match: {}
          schema:
            type: Reference
            refers: ['https://fhir.gevko.de/StructureDefinition/PR_OSC_Patient_TE']
            _required: true
            index: 36
          min: 1
package_version: tvz-1.0.0
extensions:
  endegrund:
    url: null
    index: 4
    extensions:
      grund:
        url: null
        index: 5
        elements:
          value[x]:
            elements:
              coding:
                index: 6
                slicing:
                  slices:
                    versicherter:
                      match: {}
                      schema: {_required: true, index: 6}
                      min: 1
                    leistungserbringer:
                      match: {}
                      schema: {index: 7}
                      max: 0
            required: [coding]
    elements:
      extension:
        index: 5
        slicing:
          slices:
            grund:
              match: {}
              schema:
                index: 5
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 6
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 6}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 7}
                              max: 0
                    required: [coding]
  abgelehnte_meldung: {url: null, max: 0, index: 24}
  vertrag:
    url: null
    index: 0
    elements:
      value:
        choices: [valueReference]
        index: 2
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['https://fhir.gevko.de/StructureDefinition/PR_OSC_Contract_Versicherter']
        index: 3
  betreuung:
    url: null
    index: 12
    extensions:
      betreuer:
        url: null
        index: 13
        extensions:
          id_extern: {url: null, min: 1, _required: true, index: 14}
        elements:
          extension:
            index: 14
            slicing:
              slices:
                id_extern:
                  match: {}
                  schema: {_required: true, index: 14}
                  min: 1
        required: [extension]
      verarbeitungskennzeichen: {url: null, min: 1, _required: true, index: 15}
    elements:
      extension:
        index: 13
        slicing:
          slices:
            betreuer:
              match: {}
              schema:
                index: 13
                extensions:
                  id_extern: {url: null, min: 1, _required: true, index: 14}
                elements:
                  extension:
                    index: 14
                    slicing:
                      slices:
                        id_extern:
                          match: {}
                          schema: {_required: true, index: 14}
                          min: 1
                required: [extension]
            verarbeitungskennzeichen:
              match: {}
              schema: {_required: true, index: 15}
              min: 1
  bereinigungsrelevant: {url: null, max: 0, index: 23}
  ablehungsgrund:
    url: null
    index: 16
    extensions:
      grund:
        url: null
        index: 17
        elements:
          value[x]:
            elements:
              coding:
                index: 18
                slicing:
                  slices:
                    versicherter:
                      match: {}
                      schema: {_required: true, index: 18}
                      min: 1
                    leistungserbringer:
                      match: {}
                      schema: {index: 19}
                      max: 0
            required: [coding]
    elements:
      extension:
        index: 17
        slicing:
          slices:
            grund:
              match: {}
              schema:
                index: 17
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 18
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 18}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 19}
                              max: 0
                    required: [coding]
  identifikation:
    url: null
    index: 20
    extensions:
      verischertennr_egk_te:
        url: null
        index: 21
        elements:
          value[x]:
            elements:
              type:
                elements:
                  coding: {index: 22}
                required: [coding]
    elements:
      extension:
        index: 21
        slicing:
          slices:
            verischertennr_egk_te:
              match: {}
              schema:
                index: 21
                elements:
                  value[x]:
                    elements:
                      type:
                        elements:
                          coding: {index: 22}
                        required: [coding]
  teilnahme_zeitraum:
    url: null
    index: 25
    extensions:
      leistungserbringer:
        url: null
        index: 26
        extensions:
          abrechner_ik:
            url: null
            index: 27
            elements:
              value[x]:
                elements:
                  type:
                    elements:
                      coding: {index: 28}
                    required: [coding]
        elements:
          extension:
            index: 27
            slicing:
              slices:
                abrechner_ik:
                  match: {}
                  schema:
                    index: 27
                    elements:
                      value[x]:
                        elements:
                          type:
                            elements:
                              coding: {index: 28}
                            required: [coding]
    elements:
      extension:
        index: 26
        slicing:
          slices:
            leistungserbringer:
              match: {}
              schema:
                index: 26
                extensions:
                  abrechner_ik:
                    url: null
                    index: 27
                    elements:
                      value[x]:
                        elements:
                          type:
                            elements:
                              coding: {index: 28}
                            required: [coding]
                elements:
                  extension:
                    index: 27
                    slicing:
                      slices:
                        abrechner_ik:
                          match: {}
                          schema:
                            index: 27
                            elements:
                              value[x]:
                                elements:
                                  type:
                                    elements:
                                      coding: {index: 28}
                                    required: [coding]
  stornogrund:
    url: null
    index: 8
    extensions:
      grund:
        url: null
        index: 9
        elements:
          value[x]:
            elements:
              coding:
                index: 10
                slicing:
                  slices:
                    versicherter:
                      match: {}
                      schema: {_required: true, index: 10}
                      min: 1
                    leistungserbringer:
                      match: {}
                      schema: {index: 11}
                      max: 0
            required: [coding]
    elements:
      extension:
        index: 9
        slicing:
          slices:
            grund:
              match: {}
              schema:
                index: 9
                elements:
                  value[x]:
                    elements:
                      coding:
                        index: 10
                        slicing:
                          slices:
                            versicherter:
                              match: {}
                              schema: {_required: true, index: 10}
                              min: 1
                            leistungserbringer:
                              match: {}
                              schema: {index: 11}
                              max: 0
                    required: [coding]
class: profile
kind: resource
url: https://fhir.gevko.de/StructureDefinition/PR_OSC_Consent_VE_TE
base: https://fhir.gevko.de/StructureDefinition/PR_OSC_Consent
version: null
required: [identifier, patient, performer]