PackagesCanonicalsLogsProblems
    Packages
    de.gematik.schuleingangsuntersuchung@1.0.0-beta.1
    https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePerson
description: null
package_name: de.gematik.schuleingangsuntersuchung
derivation: constraint
name: VerwandtePerson
type: RelatedPerson
elements:
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        DatEnde:
          match: {}
          schema: {type: Extension, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonDatEndeEX', index: 1}
          min: 0
          max: 1
        AuskunftssperreGrund:
          match: {}
          schema: {type: Extension, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonAuskunftssperreGrundEX', index: 2}
          min: 0
          max: 1
        AuskunftssperreFrist:
          match: {}
          schema: {type: Extension, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonAuskunftssperreFristEX', index: 3}
          min: 0
          max: 1
  patient:
    mustSupport: true
    index: 4
    elements:
      reference: {index: 5}
    required: [reference]
  name:
    mustSupport: true
    index: 6
    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: 7
            elements:
              use: {mustSupport: true, index: 8}
              family:
                mustSupport: true
                index: 9
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 10}
                  nachname: {url: null, mustSupport: true, index: 11}
                  vorsatzwort: {url: null, mustSupport: true, index: 12}
                elements:
                  extension:
                    mustSupport: true
                    index: 10
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 10}
                        nachname:
                          match: {}
                          schema: {mustSupport: true, index: 11}
                        vorsatzwort:
                          match: {}
                          schema: {mustSupport: true, index: 12}
              given: {mustSupport: true, index: 13}
              prefix:
                mustSupport: true
                index: 14
                extensions:
                  prefix-qualifier:
                    url: null
                    mustSupport: true
                    index: 15
                    elements:
                      value:
                        pattern: {type: Code, value: AC}
                        choices: []
                        index: 17
                elements:
                  extension:
                    mustSupport: true
                    index: 15
                    slicing:
                      slices:
                        prefix-qualifier:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 15
                            elements:
                              value:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 17
            required: [given, family, use]
        Geburtsname:
          match: {use: maiden}
          schema:
            type: HumanName
            mustSupport: true
            pattern:
              type: HumanName
              value: {use: maiden}
            index: 18
            elements:
              use: {mustSupport: true, index: 19}
              family:
                mustSupport: true
                index: 20
                extensions:
                  namenszusatz: {url: null, mustSupport: true, index: 21}
                  nachname: {url: null, mustSupport: true, index: 22}
                  vorsatzwort: {url: null, mustSupport: true, index: 23}
                elements:
                  extension:
                    mustSupport: true
                    index: 21
                    slicing:
                      slices:
                        namenszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 21}
                        nachname:
                          match: {}
                          schema: {mustSupport: true, index: 22}
                        vorsatzwort:
                          match: {}
                          schema: {mustSupport: true, index: 23}
              given: {index: 24}
              prefix: {index: 25}
            required: [family, use]
  address:
    mustSupport: true
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        Strassenanschrift:
          match: {type: both}
          schema:
            type: Address
            mustSupport: true
            pattern:
              type: Address
              value: {type: both}
            array: true
            index: 27
            extensions:
              wohnungsinhaber: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/WohnungsInhaberEX', min: 0, max: 1, type: Extension, mustSupport: true, index: 28}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: https://www.oegd.de/fhir/seu/StructureDefinition/WohnungsInhaberEX
                index: 28
                slicing:
                  slices:
                    wohnungsinhaber:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/WohnungsInhaberEX', index: 28}
                      min: 0
                      max: 1
              type: {mustSupport: true, index: 29}
              line:
                mustSupport: true
                index: 30
                extensions:
                  Strasse: {url: null, mustSupport: true, index: 31}
                  Hausnummer: {url: null, mustSupport: true, index: 32}
                  Adresszusatz: {url: null, mustSupport: true, index: 33}
                  Postfach: {url: null, max: 0, index: 34}
                elements:
                  extension:
                    mustSupport: true
                    index: 31
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {mustSupport: true, index: 31}
                        Hausnummer:
                          match: {}
                          schema: {mustSupport: true, index: 32}
                        Adresszusatz:
                          match: {}
                          schema: {mustSupport: true, index: 33}
                        Postfach:
                          match: {}
                          schema: {index: 34}
                          max: 0
              city:
                mustSupport: true
                index: 35
                extensions:
                  gemeindeschluessel: {url: 'http://fhir.de/StructureDefinition/destatis/ags', min: 0, max: 1, type: Extension, mustSupport: true, index: 36}
                  frueherergemeindename: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/FruehererGemeindeNameEX', min: 0, max: 1, type: Extension, mustSupport: true, index: 37}
                elements:
                  extension:
                    type: Extension
                    mustSupport: true
                    url: http://fhir.de/StructureDefinition/destatis/ags
                    index: 36
                    slicing:
                      slices:
                        gemeindeschluessel:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/destatis/ags', index: 36}
                          min: 0
                          max: 1
                        frueherergemeindename:
                          match: {}
                          schema: {type: Extension, mustSupport: true, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/FruehererGemeindeNameEX', index: 37}
                          min: 0
                          max: 1
              postalCode: {mustSupport: true, index: 38}
              country:
                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://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePerson', 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: 39
            required: [country, city, postalCode, line, type]
        Postfach:
          match: {type: postal}
          schema:
            type: Address
            mustSupport: true
            pattern:
              type: Address
              value: {type: postal}
            array: true
            index: 40
            elements:
              type: {mustSupport: true, index: 41}
              line:
                mustSupport: true
                index: 42
                extensions:
                  Strasse: {url: null, max: 0, index: 43}
                  Hausnummer: {url: null, max: 0, index: 44}
                  Adresszusatz: {url: null, max: 0, index: 45}
                  Postfach: {url: null, mustSupport: true, index: 46}
                elements:
                  extension:
                    index: 43
                    slicing:
                      slices:
                        Strasse:
                          match: {}
                          schema: {index: 43}
                          max: 0
                        Hausnummer:
                          match: {}
                          schema: {index: 44}
                          max: 0
                        Adresszusatz:
                          match: {}
                          schema: {index: 45}
                          max: 0
                        Postfach:
                          match: {}
                          schema: {mustSupport: true, index: 46}
              city: {mustSupport: true, index: 47}
              postalCode: {mustSupport: true, index: 48}
              country:
                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://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePerson', 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: 49
            required: [country, city, postalCode, line, type]
  communication:
    mustSupport: true
    index: 50
    elements:
      language: {mustSupport: true, index: 51}
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        deutsch:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 52
            extensions:
              deutschkenntnis: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonDeutschkenntnisEX', min: 1, max: 1, type: Extension, mustSupport: true, index: 54}
            elements:
              extension:
                mustSupport: true
                index: 53
                slicing:
                  slices:
                    deutschkenntnis:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonDeutschkenntnisEX', index: 54}
                      min: 1
                      max: 1
              language:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: de, system: 'urn:ietf:bcp:47', display: German}
                index: 55
            required: [extension]
package_version: 1.0.0-beta.1
extensions:
  DatEnde: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonDatEndeEX', min: 0, max: 1, type: Extension, index: 1}
  AuskunftssperreGrund: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonAuskunftssperreGrundEX', min: 0, max: 1, type: Extension, index: 2}
  AuskunftssperreFrist: {url: 'https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePersonAuskunftssperreFristEX', min: 0, max: 1, type: Extension, index: 3}
class: profile
kind: resource
url: https://www.oegd.de/fhir/seu/StructureDefinition/VerwandtePerson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: null
required: [name, communication]