PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.16.0
    https://mednet.swiss/fhir/StructureDefinition/mni-relatedPerson
description: MedNet Interface (MNI) - RelatedPerson Profile
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIRelatedPerson
type: RelatedPerson
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  active:
    mustSupport: true
    pattern: {type: Boolean, value: true}
    index: 1
  patient:
    type: Reference
    short: Link to the Patient
    mustSupport: true
    refers: ['https://mednet.swiss/fhir/StructureDefinition/mni-patient']
    index: 2
  relationship:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: coding.system, type: value}
      - {path: coding.code, type: value}
      min: null
      slices:
        KIND:
          match:
            coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0131', code: null}
          schema:
            short: Kind of relation ship, for example Emergency contact, Employer
            mustSupport: true
            index: 4
            elements:
              coding:
                mustSupport: true
                index: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                    mustSupport: true
                    index: 6
                  code: {short: C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown), mustSupport: true, index: 7}
                  display: {mustSupport: true, index: 8}
                required: [system, code]
              text: {short: 'If the relationship can not be coded, it can be described in plain text in this field', mustSupport: true, index: 9}
        FamilyMember:
          match:
            coding: {system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode', code: null}
          schema:
            short: FamilyMember relation ship, for example sister
            mustSupport: true
            index: 10
            elements:
              coding:
                mustSupport: true
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    mustSupport: true
                    index: 12
                  code: {short: CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ..., mustSupport: true, index: 13}
                  display: {mustSupport: true, index: 14}
                required: [system, code]
              text: {short: 'If the relationship can not be coded, it can be described in plain text in this field', mustSupport: true, index: 15}
  name: {type: HumanName, mustSupport: true, index: 16}
  telecom: {type: ContactPoint, mustSupport: true, index: 17}
  gender: {mustSupport: true, index: 18}
  address: {type: Address, mustSupport: true, index: 19}
package_version: 0.16.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-relatedPerson
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 0.16.0