PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.person@2025.0.0-alpha1
    https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert
description: Dieses Profil beschreibt eine pseudonymisierte Patient*in in der Medizininformatik-Initiative.
package_name: de.medizininformatikinitiative.kerndatensatz.person
derivation: constraint
name: MII_PR_Person_PatientPseudonymisiert
type: Patient
elements:
  address:
    mustSupport: true
    index: 14
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            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/PatientPseudonymisiert', 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''))'}
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: both}
            index: 15
            elements:
              type: {mustSupport: true, index: 16}
              city:
                extensions:
                  gemeindeschluessel: {url: 'http://fhir.de/StructureDefinition/destatis/ags', min: 0, max: 1, type: Extension, mustSupport: true, index: 17}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://fhir.de/StructureDefinition/destatis/ags
                    index: 17
                    slicing:
                      slices:
                        gemeindeschluessel:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/destatis/ags', index: 17}
                          min: 0
                          max: 1
              postalCode: {mustSupport: true, index: 18}
              country: {mustSupport: true, index: 19}
            required: [country, postalCode, type]
        Postfach:
          match: {type: postal}
          schema:
            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/PatientPseudonymisiert', 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''))'}
            type: Address
            mustSupport: true
            array: true
            pattern:
              type: Address
              value: {type: postal}
            index: 20
            elements:
              type: {mustSupport: true, index: 21}
              city:
                extensions:
                  gemeindeschluessel: {url: 'http://fhir.de/StructureDefinition/destatis/ags', min: 0, max: 1, type: Extension, mustSupport: true, index: 22}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://fhir.de/StructureDefinition/destatis/ags
                    index: 22
                    slicing:
                      slices:
                        gemeindeschluessel:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/destatis/ags', index: 22}
                          min: 0
                          max: 1
              postalCode: {mustSupport: true, index: 23}
              country: {mustSupport: true, index: 24}
            required: [country, postalCode, type]
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
  deceasedDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: deceased
    index: 13
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: deceased, index: 13}
          min: 0
          max: 1
  birthDate: {mustSupport: true, index: 8}
  deceased:
    mustSupport: true
    choices: []
    index: 10
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [deceasedDateTime]
            index: 12
          min: 0
          max: 1
  link:
    mustSupport: true
    index: 25
    elements:
      other: {mustSupport: true, index: 26}
      type: {mustSupport: true, index: 27}
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        PseudonymisierterIdentifier:
          match:
            type:
              coding:
              - {code: PSEUDED, system: 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'}
          schema:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: PSEUDED, system: 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'}
            array: true
            index: 4
          min: 0
        AnonymisierterIdentifier:
          match:
            type:
              coding:
              - {code: ANONYED, system: 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'}
          schema:
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: ANONYED, system: 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'}
            array: true
            index: 5
          min: 0
  gender:
    mustSupport: true
    index: 6
    extensions:
      other-amtlich: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', min: 0, max: 1, type: Extension, mustSupport: true, index: 7}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://fhir.de/StructureDefinition/gender-amtlich-de
        index: 7
        slicing:
          slices:
            other-amtlich:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 7}
              min: 0
              max: 1
package_version: 2025.0.0-alpha1
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2025.0.0
required: [identifier]