PackagesCanonicalsLogsProblems
    Packages
    kbv.mio.patientenkurzakte@1.0.0-benehmensherstellung
    https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DPE_Consent_Personal_Consent
description: Mit diesem Profil kann eine persönliche Erklärung abgebildet werden.
package_name: kbv.mio.patientenkurzakte
derivation: constraint
name: KBV_PR_MIO_DPE_Consent_Personal_Consent
type: Consent
elements:
  patient:
    type: Reference
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DPE_Patient_DPE|1.0.0']
    index: 31
    elements:
      reference: {index: 32}
      type: {index: 33}
      identifier: {index: 34}
      display: {index: 35}
    required: [reference]
  category:
    index: 23
    elements:
      coding:
        index: 24
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            index: 25
          version:
            pattern: {type: String, value: '2.71'}
            index: 26
          code:
            pattern: {type: Code, value: 59284-0}
            index: 27
          display:
            pattern: {type: String, value: Consent Document}
            index: 28
          userSelected: {index: 29}
        required: [version, display, system, code]
      text: {index: 30}
    required: [coding]
  provision:
    mustSupport: true
    index: 72
    elements:
      provision: {index: 103}
      purpose: {index: 98}
      dataPeriod: {index: 101}
      type: {index: 73}
      class: {index: 99}
      code: {index: 100}
      action: {index: 96}
      period: {index: 74}
      securityLabel: {index: 97}
      actor:
        mustSupport: true
        index: 75
        elements:
          role:
            mustSupport: true
            index: 76
            elements:
              coding:
                mustSupport: true
                index: 77
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 78
                  version:
                    pattern: {type: String, value: 'http://snomed.info/sct/900000000000207008/version/20210731'}
                    index: 79
                  code:
                    pattern: {type: Code, value: '54056000'}
                    index: 80
                  display:
                    pattern: {type: String, value: Trustee (person)}
                    index: 81
                    extensions:
                      anzeigenameCode:
                        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                        type: Extension
                        mustSupport: true
                        index: 83
                        extensions:
                          content:
                            url: null
                            mustSupport: true
                            index: 85
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 87
                              valueString:
                                pattern: {type: String, value: Bevollmächtigte Person}
                                index: 88
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        pattern: {type: String, value: Bevollmächtigte Person}
                                        _required: true
                                        index: 88
                                      min: 1
                            required: [valueString]
                        elements:
                          extension:
                            index: 84
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                content:
                                  match: {url: null}
                                  schema:
                                    mustSupport: true
                                    index: 85
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 87
                                      valueString:
                                        pattern: {type: String, value: Bevollmächtigte Person}
                                        index: 88
                                        slicing:
                                          slices:
                                            valueString:
                                              match: {}
                                              schema:
                                                pattern: {type: String, value: Bevollmächtigte Person}
                                                _required: true
                                                index: 88
                                              min: 1
                                    required: [valueString]
                    elements:
                      extension:
                        index: 82
                        slicing:
                          rules: open
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            anzeigenameCode:
                              match: {url: null}
                              schema:
                                type: Extension
                                mustSupport: true
                                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                                index: 83
                                extensions:
                                  content:
                                    url: null
                                    mustSupport: true
                                    index: 85
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 87
                                      valueString:
                                        pattern: {type: String, value: Bevollmächtigte Person}
                                        index: 88
                                        slicing:
                                          slices:
                                            valueString:
                                              match: {}
                                              schema:
                                                pattern: {type: String, value: Bevollmächtigte Person}
                                                _required: true
                                                index: 88
                                              min: 1
                                    required: [valueString]
                                elements:
                                  extension:
                                    index: 84
                                    slicing:
                                      rules: open
                                      discriminator:
                                      - {path: url, type: value}
                                      min: null
                                      slices:
                                        content:
                                          match: {url: null}
                                          schema:
                                            mustSupport: true
                                            index: 85
                                            elements:
                                              value:
                                                mustSupport: true
                                                choices: []
                                                index: 87
                                              valueString:
                                                pattern: {type: String, value: Bevollmächtigte Person}
                                                index: 88
                                                slicing:
                                                  slices:
                                                    valueString:
                                                      match: {}
                                                      schema:
                                                        pattern: {type: String, value: Bevollmächtigte Person}
                                                        _required: true
                                                        index: 88
                                                      min: 1
                                            required: [valueString]
                  userSelected: {index: 89}
                required: [version, display, system, code]
              text: {index: 90}
            required: [coding]
          reference:
            type: Reference
            mustSupport: true
            refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DPE_Related_Person_Contact_Person|1.0.0']
            index: 91
            elements:
              reference: {mustSupport: true, index: 92}
              type: {index: 93}
              identifier: {index: 94}
              display: {index: 95}
            required: [reference]
      data: {index: 102}
    required: [actor]
  meta:
    index: 0
    elements:
      versionId: {index: 1}
      lastUpdated: {index: 2}
      source: {index: 3}
      profile:
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DPE_Consent_Personal_Consent|1.0.0'}
        index: 4
      security: {index: 5}
      tag: {index: 6}
    required: [profile]
  implicitRules: {index: 7}
  organization: {index: 42}
  verification: {index: 71}
  source:
    mustSupport: true
    choices: [sourceReference]
    index: 44
  scope:
    index: 15
    elements:
      coding:
        index: 16
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            index: 17
          version:
            pattern: {type: String, value: 4.0.1}
            index: 18
          code:
            pattern: {type: Code, value: adr}
            index: 19
          display:
            pattern: {type: String, value: Advanced Care Directive}
            index: 20
          userSelected: {index: 21}
        required: [version, display, system, code]
      text: {index: 22}
    required: [coding]
  policy:
    index: 53
    elements:
      authority: {index: 54}
      uri: {index: 55}
  sourceReference:
    type: Reference
    mustSupport: true
    choiceOf: source
    index: 45
    slicing:
      rules: closed
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        sourceReference:
          match: {}
          schema:
            type: Reference
            index: 46
            elements:
              reference: {index: 47}
              type: {index: 48}
              identifier: {index: 49}
              display:
                index: 50
                extensions:
                  ablageort: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_NFDxDPE_Consent_Description_File_Location', max: 1, type: Extension, mustSupport: true, index: 52}
                elements:
                  extension:
                    index: 51
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        ablageort:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_NFDxDPE_Consent_Description_File_Location', index: 52}
                          max: 1
            required: [display]
  dateTime: {mustSupport: true, index: 36}
  extension:
    index: 11
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        beschreibungDerErklaerung:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DPE_Consent_Description', index: 12}
          max: 1
  contained: {index: 10}
  status:
    pattern: {type: Code, value: active}
    index: 14
  language: {index: 8}
  policyRule:
    binding: {strength: required, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_MIO_DPE_Declaration_Type|1.0.0'}
    mustSupport: true
    index: 56
    elements:
      coding:
        mustSupport: true
        index: 57
        elements:
          system: {index: 58}
          version: {index: 59}
          code: {index: 60}
          display:
            index: 61
            extensions:
              anzeigeNamePolicyRule:
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                type: Extension
                mustSupport: true
                index: 63
                extensions:
                  content:
                    url: null
                    mustSupport: true
                    index: 65
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 67
                      valueString:
                        mustSupport: true
                        index: 68
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema: {mustSupport: true, index: 68}
                elements:
                  extension:
                    index: 64
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        content:
                          match: {url: null}
                          schema:
                            mustSupport: true
                            index: 65
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 67
                              valueString:
                                mustSupport: true
                                index: 68
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema: {mustSupport: true, index: 68}
            elements:
              extension:
                index: 62
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    anzeigeNamePolicyRule:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                        index: 63
                        extensions:
                          content:
                            url: null
                            mustSupport: true
                            index: 65
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 67
                              valueString:
                                mustSupport: true
                                index: 68
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema: {mustSupport: true, index: 68}
                        elements:
                          extension:
                            index: 64
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                content:
                                  match: {url: null}
                                  schema:
                                    mustSupport: true
                                    index: 65
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 67
                                      valueString:
                                        mustSupport: true
                                        index: 68
                                        slicing:
                                          slices:
                                            valueString:
                                              match: {}
                                              schema: {mustSupport: true, index: 68}
          userSelected: {index: 69}
        required: [version, display, system, code]
      text: {index: 70}
    required: [coding]
  identifier: {index: 13}
  performer:
    mustSupport: true
    index: 37
    elements:
      reference: {mustSupport: true, index: 38}
      type: {index: 39}
      identifier: {index: 40}
      display: {index: 41}
    required: [reference]
  text: {index: 9}
package_version: 1.0.0-benehmensherstellung
extensions:
  beschreibungDerErklaerung: {url: 'https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DPE_Consent_Description', max: 1, type: Extension, mustSupport: true, index: 12}
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DPE_Consent_Personal_Consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 1.0.0
required: [policyRule, dateTime, meta, patient]