PackagesCanonicalsLogsProblems
    Packages
    rs/ch.fhir.ig.ch@core-6.0.0-ballot
    http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-relatedperson
description: Base definition of the RelatedPerson resource for use in Swiss specific use cases.
package_name: rs/ch.fhir.ig.ch
derivation: constraint
name: CHCoreRelatedPerson
type: RelatedPerson
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        citizenship:
          match: {url: null}
          schema: {type: Extension, short: Citizenship(s) of related person, url: 'http://hl7.org/fhir/StructureDefinition/patient-citizenship|5.2.0', index: 1}
          min: 0
  patient:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    index: 2
  name: {type: HumanName, index: 3}
  telecom:
    index: 4
    elements:
      system: {index: 5}
      value: {index: 6}
    required: [system, value]
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        email:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 7}
          min: 0
        phone:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 8}
          min: 0
        internet:
          match: {system: null}
          schema: {type: ContactPoint, array: true, index: 9}
          min: 0
  address: {type: Address, index: 10}
  communication:
    index: 11
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: preferred, type: value}
      min: null
      slices:
        languageOfCorrespondence:
          match: {preferred: true}
          schema:
            short: Language of correspondence
            index: 12
            elements:
              preferred:
                pattern: {type: boolean, value: true}
                type: boolean
                index: 13
            required: [preferred]
package_version: core-6.0.0-ballot
extensions:
  citizenship: {url: 'http://hl7.org/fhir/StructureDefinition/patient-citizenship|5.2.0', min: 0, type: Extension, short: Citizenship(s) of related person, index: 1}
class: profile
kind: resource
url: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-relatedperson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 6.0.0-ballot