PackagesCanonicalsLogsProblems
    Packages
    Vital.MedikationsplanPlus@0.3.0
    https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusPatient
description: null
package_name: Vital.MedikationsplanPlus
derivation: constraint
name: MedikationsplanPlusPatient
type: Patient
elements:
  address:
    index: 108
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            index: 109
            extensions:
              Stadtteil: {url: null, max: 0, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 111}
            elements:
              use: {index: 112}
              city: {maxLength: 40, index: 136}
              type:
                pattern: {type: Code, value: both}
                index: 113
              state: {index: 138}
              extension:
                index: 110
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 111}
                      max: 0
              line:
                array: true
                max: 2
                index: 115
                extensions:
                  Strasse:
                    url: Strasse
                    index: 117
                    elements:
                      url:
                        pattern: {type: Uri, value: Strasse}
                        index: 118
                      value:
                        maxLength: 46
                        choices: []
                        index: 120
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 46
                                choices: []
                                index: 122
                  Hausnummer:
                    url: Hausnummer
                    index: 123
                    elements:
                      url:
                        pattern: {type: Uri, value: Hausnummer}
                        index: 124
                      value:
                        maxLength: 9
                        choices: []
                        index: 126
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 9
                                choices: []
                                index: 128
                  Adresszusatz:
                    url: Adresszusatz
                    index: 129
                    elements:
                      url:
                        pattern: {type: Uri, value: Adresszusatz}
                        index: 130
                      value:
                        choices: []
                        index: 132
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 40
                                choices: []
                                index: 134
                  Postfach: {url: null, index: 135}
                elements:
                  extension:
                    index: 116
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: Strasse}
                          schema:
                            index: 117
                            elements:
                              url:
                                pattern: {type: Uri, value: Strasse}
                                index: 118
                              value:
                                maxLength: 46
                                choices: []
                                index: 120
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 46
                                        choices: []
                                        index: 122
                        Hausnummer:
                          match: {url: Hausnummer}
                          schema:
                            index: 123
                            elements:
                              url:
                                pattern: {type: Uri, value: Hausnummer}
                                index: 124
                              value:
                                maxLength: 9
                                choices: []
                                index: 126
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 9
                                        choices: []
                                        index: 128
                        Adresszusatz:
                          match: {url: Adresszusatz}
                          schema:
                            index: 129
                            elements:
                              url:
                                pattern: {type: Uri, value: Adresszusatz}
                                index: 130
                              value:
                                choices: []
                                index: 132
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 40
                                        choices: []
                                        index: 134
                        Postfach:
                          match: {url: null}
                          schema: {index: 135}
              postalCode: {maxLength: 10, index: 139}
              period: {index: 141}
              country: {maxLength: 3, index: 140}
              district: {index: 137}
              text: {index: 114}
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            index: 142
            extensions:
              Stadtteil: {url: null, short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 144}
            elements:
              extension:
                index: 143
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {short: In diesem Element soll der Stadt- oder Ortsteil meistens eines Stadtstaates dokumentiert werden., index: 144}
              type:
                pattern: {type: Code, value: postal}
                index: 145
              line:
                array: true
                max: 2
                index: 146
                extensions:
                  Strasse: {url: null, max: 0, index: 148}
                  Hausnummer: {url: null, max: 0, index: 149}
                  Adresszusatz: {url: null, max: 0, index: 150}
                  Postfach:
                    url: Postfach
                    _required: true
                    index: 151
                    elements:
                      url:
                        pattern: {type: Uri, value: Postfach}
                        index: 152
                      value:
                        choices: []
                        index: 154
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 8
                                choices: []
                                index: 156
                elements:
                  extension:
                    index: 147
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {index: 148}
                          max: 0
                        Hausnummer:
                          match: {url: null}
                          schema: {index: 149}
                          max: 0
                        Adresszusatz:
                          match: {url: null}
                          schema: {index: 150}
                          max: 0
                        Postfach:
                          match: {url: Postfach}
                          schema:
                            _required: true
                            index: 151
                            elements:
                              url:
                                pattern: {type: Uri, value: Postfach}
                                index: 152
                              value:
                                choices: []
                                index: 154
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 8
                                        choices: []
                                        index: 156
              city: {maxLength: 40, index: 157}
              postalCode: {maxLength: 10, index: 158}
              country:
                binding: {strength: extensible, valueSet: 'https://fhir.kbv.de/ValueSet/KBV_VS_BASE_GemRS_Anlage_8'}
                maxLength: 3
                index: 159
            required: [type]
  meta:
    mustSupport: true
    index: 1
    elements:
      versionId: {index: 2}
      lastUpdated: {index: 3}
      source: {index: 4}
      profile: {mustSupport: true, index: 5}
      security: {index: 6}
      tag: {index: 7}
  managingOrganization: {index: 204}
  name:
    mustSupport: true
    index: 37
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      min: null
      max: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            mustSupport: true
            index: 38
            elements:
              use:
                pattern: {type: Code, value: official}
                index: 39
              text: {mustSupport: true, index: 40}
              family:
                mustSupport: true
                index: 41
                extensions:
                  namenszusatz:
                    url: namenszusatz
                    mustSupport: true
                    index: 43
                    elements:
                      url:
                        pattern: {type: Uri, value: namenszusatz}
                        index: 44
                      value:
                        maxLength: 20
                        choices: []
                        index: 46
                  nachname:
                    url: nachname
                    mustSupport: true
                    index: 47
                    elements:
                      url:
                        pattern: {type: Uri, value: nachname}
                        index: 48
                      value:
                        choices: []
                        index: 50
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 52
                  vorsatzwort:
                    url: vorsatzwort
                    mustSupport: true
                    index: 53
                    elements:
                      url:
                        pattern: {type: Uri, value: vorsatzwort}
                        index: 54
                      value:
                        choices: []
                        index: 56
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 58
                elements:
                  extension:
                    index: 42
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: namenszusatz}
                          schema:
                            mustSupport: true
                            index: 43
                            elements:
                              url:
                                pattern: {type: Uri, value: namenszusatz}
                                index: 44
                              value:
                                maxLength: 20
                                choices: []
                                index: 46
                        nachname:
                          match: {url: nachname}
                          schema:
                            mustSupport: true
                            index: 47
                            elements:
                              url:
                                pattern: {type: Uri, value: nachname}
                                index: 48
                              value:
                                choices: []
                                index: 50
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 52
                        vorsatzwort:
                          match: {url: vorsatzwort}
                          schema:
                            mustSupport: true
                            index: 53
                            elements:
                              url:
                                pattern: {type: Uri, value: vorsatzwort}
                                index: 54
                              value:
                                choices: []
                                index: 56
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 58
              given: {maxLength: 45, mustSupport: true, index: 59}
              prefix:
                maxLength: 20
                mustSupport: true
                index: 60
                extensions:
                  prefix-qualifier:
                    url: prefix-qualifier
                    mustSupport: true
                    _required: true
                    index: 62
                    elements:
                      url:
                        pattern: {type: Uri, value: prefix-qualifier}
                        index: 63
                      value:
                        choices: []
                        index: 65
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                choices: []
                                index: 67
                elements:
                  extension:
                    index: 61
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        prefix-qualifier:
                          match: {url: prefix-qualifier}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 62
                            elements:
                              url:
                                pattern: {type: Uri, value: prefix-qualifier}
                                index: 63
                              value:
                                choices: []
                                index: 65
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        choices: []
                                        index: 67
              suffix: {index: 68}
              period: {index: 69}
            required: [given, family]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            index: 70
            elements:
              use:
                pattern: {type: Code, value: maiden}
                index: 71
              family:
                index: 72
                extensions:
                  namenszusatz:
                    url: namenszusatz
                    index: 74
                    elements:
                      url:
                        pattern: {type: Uri, value: namenszusatz}
                        index: 75
                      value:
                        maxLength: 20
                        choices: []
                        index: 77
                  nachname:
                    url: nachname
                    index: 78
                    elements:
                      url:
                        pattern: {type: Uri, value: nachname}
                        index: 79
                      value:
                        choices: []
                        index: 81
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 45
                                choices: []
                                index: 83
                  vorsatzwort:
                    url: vorsatzwort
                    index: 84
                    elements:
                      url:
                        pattern: {type: Uri, value: vorsatzwort}
                        index: 85
                      value:
                        choices: []
                        index: 87
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            no name:
                              match: {}
                              schema:
                                maxLength: 20
                                choices: []
                                index: 89
                elements:
                  extension:
                    index: 73
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: namenszusatz}
                          schema:
                            index: 74
                            elements:
                              url:
                                pattern: {type: Uri, value: namenszusatz}
                                index: 75
                              value:
                                maxLength: 20
                                choices: []
                                index: 77
                        nachname:
                          match: {url: nachname}
                          schema:
                            index: 78
                            elements:
                              url:
                                pattern: {type: Uri, value: nachname}
                                index: 79
                              value:
                                choices: []
                                index: 81
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 45
                                        choices: []
                                        index: 83
                        vorsatzwort:
                          match: {url: vorsatzwort}
                          schema:
                            index: 84
                            elements:
                              url:
                                pattern: {type: Uri, value: vorsatzwort}
                                index: 85
                              value:
                                choices: []
                                index: 87
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    no name:
                                      match: {}
                                      schema:
                                        maxLength: 20
                                        choices: []
                                        index: 89
              given: {index: 90}
              prefix: {index: 91}
              suffix: {index: 92}
            required: [family, use]
  birthDate:
    mustSupport: true
    index: 99
    extensions:
      data-absent-reason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 101
        elements:
          value:
            choices: []
            index: 103
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                valueCode:
                  match: {}
                  schema:
                    pattern: {type: Code, value: unknown}
                    choices: []
                    index: 105
    elements:
      extension:
        index: 100
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 101
                elements:
                  value:
                    choices: []
                    index: 103
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: type}
                      min: null
                      slices:
                        valueCode:
                          match: {}
                          schema:
                            pattern: {type: Code, value: unknown}
                            choices: []
                            index: 105
  multipleBirth:
    choices: []
    index: 162
  deceased:
    choices: []
    index: 107
  contained: {index: 9}
  photo: {index: 163}
  language: {mustSupport: true, index: 8}
  link: {index: 205}
  active: {index: 36}
  communication:
    mustSupport: true
    index: 193
    elements:
      language:
        mustSupport: true
        index: 194
        elements:
          coding:
            mustSupport: true
            index: 195
            elements:
              system: {mustSupport: true, index: 196}
              version: {index: 197}
              code: {mustSupport: true, index: 198}
              display: {mustSupport: true, index: 199}
              userSelected: {index: 200}
          text: {index: 201}
      preferred: {index: 202}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 10
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        pid:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 11
            elements:
              type:
                elements:
                  coding: {index: 12}
                required: [coding]
        versichertenId_GKV:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            mustSupport: true
            index: 13
            elements:
              use: {index: 14}
              type:
                index: 15
                elements:
                  coding: {index: 16}
                required: [coding]
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
              period: {index: 19}
              assigner: {index: 20}
        versichertennummer_pkv:
          match:
            type:
              coding: {code: null}
          schema:
            type: Identifier
            index: 21
            elements:
              type:
                elements:
                  coding: {index: 22}
                required: [coding]
        reisepassnummer:
          match:
            type:
              coding: {code: PPN}
          schema:
            index: 23
            elements:
              type:
                index: 24
                elements:
                  coding:
                    index: 25
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 26
                      code:
                        pattern: {type: Code, value: PPN}
                        index: 27
                    required: [system, code]
                required: [coding]
              value: {index: 28}
            required: [value, type]
        versichertennummer_kvk:
          match:
            type:
              coding: {code: kvk}
          schema:
            index: 29
            elements:
              type:
                index: 30
                elements:
                  coding:
                    index: 31
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://fhir.kbv.de/CodeSystem/KBV_CS_Base_identifier_type'}
                        index: 32
                      code:
                        label: SKT
                        pattern: {type: Code, value: kvk}
                        index: 33
                    required: [system, code]
                required: [coding]
              system:
                pattern: {type: Uri, value: 'http://fhir.de/NamingSystem/gkv/kvk-versichertennummer'}
                index: 34
              value: {index: 35}
            required: [value, type, system]
  telecom:
    index: 93
    elements:
      system: {index: 94}
      value: {index: 95}
    required: [value, system]
  generalPractitioner: {index: 203}
  gender:
    mustSupport: true
    index: 96
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.11', max: 1, type: Extension, index: 98}
    elements:
      extension:
        index: 97
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            other-amtlich:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de|0.9.11', index: 98}
              max: 1
  maritalStatus: {index: 160}
  contact:
    elements:
      relationship: {index: 164}
      name:
        elements:
          use: {index: 165}
          text: {index: 166}
          family:
            extensions:
              namesnzusatz: {url: 'http://fhir.de/StructureDefinition/humanname-namenszusatz', type: Extension, index: 168}
              nachname: {url: 'http://hl7.org/fhir/StructureDefinition/humanname-own-name', type: Extension, index: 169}
              vorsatzwort: {url: 'http://hl7.org/fhir/StructureDefinition/humanname-own-prefix', type: Extension, index: 170}
            elements:
              extension:
                index: 167
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    namesnzusatz:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/humanname-namenszusatz', index: 168}
                    nachname:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/humanname-own-name', index: 169}
                    vorsatzwort:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/humanname-own-prefix', index: 170}
          given: {index: 171}
          prefix:
            extensions:
              prefix-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', type: Extension, index: 173}
            elements:
              extension:
                index: 172
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    prefix-qualifier:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', index: 173}
          suffix: {index: 174}
      telecom: {index: 175}
      address:
        elements:
          use: {index: 176}
          city: {index: 184}
          type: {index: 177}
          state: {index: 186}
          line:
            extensions:
              Strasse: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', type: Extension, index: 180}
              Hausnummer: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', type: Extension, index: 181}
              Adresszusatz: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', type: Extension, index: 182}
              Postfach: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox', type: Extension, index: 183}
            elements:
              extension:
                index: 179
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Strasse:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName', index: 180}
                    Hausnummer:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber', index: 181}
                    Adresszusatz:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator', index: 182}
                    Postfach:
                      match: {url: null}
                      schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox', index: 183}
          postalCode: {index: 187}
          period: {index: 189}
          country: {short: Staat, index: 188}
          district: {index: 185}
          text: {index: 178}
      gender: {index: 190}
      organization: {index: 191}
      period: {index: 192}
package_version: 0.3.0
class: profile
kind: resource
url: https://tx.gerontonet.org/fhir/StructureDefinition/MedikationsplanPlusPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [identifier, birthDate]