PackagesCanonicalsLogsProblems
    Packages
    de.gematik.isik@basismodul-4.0.0-rc2
    https://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger
description: Dieses Profil ermöglicht die Nutzung von Angehörigen in ISiK Szenarien.
package_name: de.gematik.isik
derivation: constraint
name: ISiKAngehoeriger
type: RelatedPerson
elements:
  patient:
    mustSupport: true
    index: 0
    elements:
      reference: {index: 1}
    required: [reference]
  name: {type: HumanName, mustSupport: true, index: 2}
  gender:
    extensions:
      Geschlecht-Administrativ: {url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', min: 0, type: Extension, mustSupport: false, index: 3}
    elements:
      extension:
        type: Extension
        mustSupport: false
        url: http://fhir.de/StructureDefinition/gender-amtlich-de
        index: 3
        slicing:
          slices:
            Geschlecht-Administrativ:
              match: {}
              schema: {type: Extension, mustSupport: false, url: 'http://fhir.de/StructureDefinition/gender-amtlich-de', index: 3}
              min: 0
  address:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            constraint:
              address-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://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger', 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''))'}
            index: 5
            type: Address
            mustSupport: true
            array: true
            elements:
              extension:
                mustSupport: true
                index: 6
                slicing:
                  slices:
                    Stadtteil:
                      match: {}
                      schema: {mustSupport: true, index: 6}
              type: {mustSupport: true, index: 7}
              line:
                mustSupport: true
                index: 8
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 9}
                  Hausnummer: {url: null, mustSupport: true, index: 10}
                  Adresszusatz: {url: null, mustSupport: true, index: 11}
                  Postfach: {url: null, max: 0, index: 12}
                elements:
                  extension:
                    mustSupport: true
                    index: 9
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 9}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 10}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 11}
                        Postfach:
                          match: {}
                          schema: {index: 12}
                          max: 0
              city: {mustSupport: true, index: 13}
              postalCode: {mustSupport: true, index: 14}
              country: {mustSupport: true, index: 15}
            extensions:
              Stadtteil: {url: null, mustSupport: true, index: 6}
            required: [country, city, postalCode, line, type]
            pattern:
              type: Address
              value: {type: both}
        Postfach:
          match: {type: postal}
          schema:
            constraint:
              address-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://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger', 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: 16
            elements:
              type: {mustSupport: true, index: 17}
              line:
                mustSupport: true
                index: 18
                extensions:
                  Strasse: {url: null, max: 0, index: 19}
                  Hausnummer: {url: null, max: 0, index: 20}
                  Adresszusatz: {url: null, max: 0, index: 21}
                  Postfach: {url: null, mustSupport: true, index: 22}
                elements:
                  extension:
                    index: 19
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 19}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 20}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 21}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 22}
              city: {mustSupport: true, index: 23}
              postalCode: {mustSupport: true, index: 24}
              country: {mustSupport: true, index: 25}
            required: [country, city, postalCode, line, type]
package_version: basismodul-4.0.0-rc2
class: profile
kind: resource
url: https://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 4.0.0-rc2
required: [name]