PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.person@1.0.17
    https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient
description: Dieses Profil beschreibt eine PatientIn in der Medizininformatik-Initiative.
package_name: de.medizininformatikinitiative.kerndatensatz.person
derivation: constraint
name: ProfilePatientPatientIn
type: Patient
elements:
  address:
    mustSupport: true
    index: 61
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            mustSupport: true
            pattern:
              type: Address
              value: {type: both}
            index: 62
            extensions:
              Stadtteil: {url: null, mustSupport: true, index: 64}
            elements:
              extension:
                index: 63
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {mustSupport: true, index: 64}
              type: {mustSupport: true, index: 65}
              line:
                mustSupport: true
                array: true
                min: 1
                max: 3
                index: 66
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 68}
                  Hausnummer: {url: null, mustSupport: true, index: 69}
                  Adresszusatz: {url: null, mustSupport: true, index: 70}
                  Postfach: {url: null, max: 0, index: 71}
                elements:
                  extension:
                    index: 67
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {mustSupport: true, index: 68}
                        Hausnummer:
                          match: {url: null}
                          schema: {mustSupport: true, index: 69}
                        Adresszusatz:
                          match: {url: null}
                          schema: {mustSupport: true, index: 70}
                        Postfach:
                          match: {url: null}
                          schema: {index: 71}
                          max: 0
              city:
                mustSupport: true
                index: 72
                extensions:
                  gemeindeschluessel: {url: 'http://fhir.de/StructureDefinition/destatis/ags', max: 1, type: Extension, mustSupport: true, index: 74}
                elements:
                  extension:
                    index: 73
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        gemeindeschluessel:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/destatis/ags', index: 74}
                          max: 1
              postalCode: {mustSupport: true, index: 75}
              country:
                constraint:
                  pat-cnt-2or3-char: {human: 'The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', source: 'https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
                mustSupport: true
                index: 76
            required: [country, city, postalCode, line, type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            mustSupport: true
            pattern:
              type: Address
              value: {type: postal}
            index: 77
            extensions:
              Stadtteil: {url: null, mustSupport: true, index: 79}
            elements:
              extension:
                index: 78
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    Stadtteil:
                      match: {url: null}
                      schema: {mustSupport: true, index: 79}
              type: {mustSupport: true, index: 80}
              line:
                mustSupport: true
                array: true
                min: 1
                max: 3
                index: 81
                extensions:
                  Strasse: {url: null, max: 0, index: 83}
                  Hausnummer: {url: null, max: 0, index: 84}
                  Adresszusatz: {url: null, max: 0, index: 85}
                  Postfach: {url: null, mustSupport: true, index: 86}
                elements:
                  extension:
                    index: 82
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        Strasse:
                          match: {url: null}
                          schema: {index: 83}
                          max: 0
                        Hausnummer:
                          match: {url: null}
                          schema: {index: 84}
                          max: 0
                        Adresszusatz:
                          match: {url: null}
                          schema: {index: 85}
                          max: 0
                        Postfach:
                          match: {url: null}
                          schema: {mustSupport: true, index: 86}
              city:
                mustSupport: true
                index: 87
                extensions:
                  gemeindeschluessel: {url: 'http://fhir.de/StructureDefinition/destatis/ags', max: 1, type: Extension, mustSupport: true, index: 89}
                elements:
                  extension:
                    index: 88
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        gemeindeschluessel:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/destatis/ags', index: 89}
                          max: 1
              postalCode: {mustSupport: true, index: 90}
              country:
                constraint:
                  pat-cnt-2or3-char: {human: 'The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', source: 'https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
                mustSupport: true
                index: 91
            required: [country, city, postalCode, line, type]
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  name:
    mustSupport: true
    index: 30
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        name:
          match: {use: official}
          schema:
            type: HumanName
            mustSupport: true
            pattern:
              type: HumanName
              value: {use: official}
            _required: true
            index: 31
            elements:
              use: {mustSupport: true, index: 32}
              family:
                mustSupport: true
                index: 33
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 35}
                  nachname: {url: null, mustSupport: true, index: 36}
                  vorsatzwort: {url: null, mustSupport: true, index: 37}
                elements:
                  extension:
                    index: 34
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema: {mustSupport: true, index: 35}
                        nachname:
                          match: {url: null}
                          schema: {mustSupport: true, index: 36}
                        vorsatzwort:
                          match: {url: null}
                          schema: {mustSupport: true, index: 37}
              given: {mustSupport: true, index: 38}
              prefix:
                mustSupport: true
                index: 39
                extensions:
                  prefix-qualifier: {url: null, max: 1, mustSupport: true, index: 41}
                elements:
                  extension:
                    index: 40
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        prefix-qualifier:
                          match: {url: null}
                          schema: {mustSupport: true, index: 41}
                          max: 1
            required: [given, family, use]
        geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            mustSupport: true
            pattern:
              type: HumanName
              value: {use: maiden}
            index: 42
            elements:
              use: {mustSupport: true, index: 43}
              family:
                mustSupport: true
                index: 44
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 46}
                  nachname: {url: null, mustSupport: true, index: 47}
                  vorsatzwort: {url: null, mustSupport: true, index: 48}
                elements:
                  extension:
                    index: 45
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        namenszusatz:
                          match: {url: null}
                          schema: {mustSupport: true, index: 46}
                        nachname:
                          match: {url: null}
                          schema: {mustSupport: true, index: 47}
                        vorsatzwort:
                          match: {url: null}
                          schema: {mustSupport: true, index: 48}
              given: {index: 49}
              prefix:
                index: 50
                extensions:
                  prefix-qualifier: {url: null, max: 1, mustSupport: true, index: 52}
                elements:
                  extension:
                    index: 51
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        prefix-qualifier:
                          match: {url: null}
                          schema: {mustSupport: true, index: 52}
                          max: 1
            required: [family, use]
  birthDate:
    mustSupport: true
    index: 56
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', type: Extension, mustSupport: true, index: 58}
    elements:
      extension:
        index: 57
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            data-absent-reason:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 58}
  deceased:
    mustSupport: true
    choices: []
    index: 60
  link:
    mustSupport: true
    index: 92
    elements:
      other: {type: Reference, mustSupport: true, index: 93}
      type: {mustSupport: true, index: 94}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        versichertenId_GKV:
          match:
            type:
              coding:
              - {code: GKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
          schema:
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: GKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
            index: 5
            elements:
              type: {mustSupport: true, index: 6}
              system: {mustSupport: true, index: 7}
              value: {mustSupport: true, index: 8}
              assigner:
                mustSupport: true
                index: 9
                elements:
                  identifier:
                    type: Identifier
                    mustSupport: true
                    index: 10
                    elements:
                      type: {mustSupport: true, index: 11}
                      system: {mustSupport: true, index: 12}
                      value: {mustSupport: true, index: 13}
                required: [identifier]
            required: [assigner]
        pid:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
            index: 14
            elements:
              type: {mustSupport: true, index: 15}
              system: {mustSupport: true, index: 16}
              value: {mustSupport: true, index: 17}
              assigner:
                type: Reference
                mustSupport: true
                index: 18
                elements:
                  identifier:
                    elements:
                      type:
                        mustSupport: true
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: XX, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        index: 19
                      system:
                        constraint:
                          mii-pat-1: {human: Entweder IKNR oder MII Core Location Identifier soll verwendet werden, source: 'https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient', severity: error, expression: '$this = ''http://fhir.de/NamingSystem/arge-ik/iknr'' or $this = ''https://www.medizininformatik-initiative.de/fhir/core/CodeSystem/core-location-identifier'''}
                        index: 20
        versichertennummer_pkv:
          match:
            type:
              coding:
              - {code: PKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
          schema:
            type: Identifier
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: PKV, system: 'http://fhir.de/CodeSystem/identifier-type-de-basis'}
            index: 21
            elements:
              use: {mustSupport: true, index: 22}
              type: {mustSupport: true, index: 23}
              value: {mustSupport: true, index: 24}
              assigner:
                mustSupport: true
                index: 25
                elements:
                  identifier:
                    elements:
                      type: {mustSupport: true, index: 26}
                      system: {mustSupport: true, index: 27}
                      value: {mustSupport: true, index: 28}
                  display: {mustSupport: true, index: 29}
  gender:
    mustSupport: true
    index: 53
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', max: 1, type: Extension, mustSupport: true, index: 55}
    elements:
      extension:
        index: 54
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            other-amtlich:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 55}
              max: 1
package_version: 1.0.17
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.17
required: [gender, name, address, identifier, birthDate]