PackagesCanonicalsLogsProblems
    Packages
    de.gematik.isik-basismodul@4.0.0-rc3
    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-basismodul
derivation: constraint
name: ISiKAngehoeriger
type: RelatedPerson
elements:
  patient:
    mustSupport: true
    index: 0
    elements:
      reference: {index: 1}
    required: [reference]
  relationship: {mustSupport: true, index: 2}
  name: {type: HumanName, mustSupport: true, index: 3}
  telecom: {mustSupport: true, index: 4}
  address:
    mustSupport: true
    index: 5
    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: 6
            type: Address
            mustSupport: true
            array: true
            elements:
              extension:
                mustSupport: true
                index: 7
                slicing:
                  slices:
                    Stadtteil:
                      match: {}
                      schema: {mustSupport: true, index: 7}
              type: {mustSupport: true, index: 8}
              line:
                mustSupport: true
                index: 9
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 10}
                  Hausnummer: {url: null, mustSupport: true, index: 11}
                  Adresszusatz: {url: null, mustSupport: true, index: 12}
                  Postfach: {url: null, max: 0, index: 13}
                elements:
                  extension:
                    mustSupport: true
                    index: 10
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 10}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 11}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 12}
                        Postfach:
                          match: {}
                          schema: {index: 13}
                          max: 0
              city: {mustSupport: true, index: 14}
              postalCode: {mustSupport: true, index: 15}
              country: {mustSupport: true, index: 16}
            extensions:
              Stadtteil: {url: null, mustSupport: true, index: 7}
            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: 17
            elements:
              type: {mustSupport: true, index: 18}
              line:
                mustSupport: true
                index: 19
                extensions:
                  Strasse: {url: null, max: 0, index: 20}
                  Hausnummer: {url: null, max: 0, index: 21}
                  Adresszusatz: {url: null, max: 0, index: 22}
                  Postfach: {url: null, mustSupport: true, index: 23}
                elements:
                  extension:
                    index: 20
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 20}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 21}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 22}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 23}
              city: {mustSupport: true, index: 24}
              postalCode: {mustSupport: true, index: 25}
              country: {mustSupport: true, index: 26}
            required: [country, city, postalCode, line, type]
package_version: 4.0.0-rc3
class: profile
kind: resource
url: https://gematik.de/fhir/isik/StructureDefinition/ISiKAngehoeriger
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 4.0.0-rc3
required: [name]