User Interface medium complexity mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

A bidirectional navigation widget rendered on both the contact detail screen and the relative detail screen. It displays all relatives linked to a primary case and allows coordinators to navigate between a relative profile and the associated case contact. Supports multi-relative layouts where several family members are linked to the same patient simultaneously.

Feature: Relative Case Linking

relative-case-link-widget

Sources & reasoning

The phrase 'knyttet til samme sak' (linked to the same case) in line 121 directly specifies that relatives must be associated with a primary case contact, not just registered in isolation. Phase 1/MVP placement is confirmed by the priority matrix (line 161). Case linking is also a structural prerequisite for relative-role-tagging, which applies tags to link records.

  • Appen mĂĄ støtte registrering av pĂĄrørende (foreldre, søsken, nærmeste omsorgsperson) som egne kontaktsubjekter knyttet til samme sak.
  • PĂĄrørende database | âś“ | - | - | - | âś“ | MUST (Barnekreft) | 1

Responsibilities

  • Render a list of linked relatives on the contact detail screen with name and role labels
  • Render a back-link to the primary case contact from the relative detail screen
  • Handle multi-relative display when several family members share the same primary case
  • Emit navigation events when a coordinator taps a relative or primary case link

Interfaces

renderLinkedRelatives(caseId: string): RelativeLinkListView
renderPrimaryCaseLink(relativeId: string): CaseLinkView
onNavigateToPrimaryCase(caseId: string): void
onNavigateToRelative(relativeId: string): void

Related Data Entities (1)

Data entities managed by this component