Relative Contact Registration
Feature Detail
Description
The Relative Contact Registration feature enables peer mentors and coordinators to register family members and caregivers as distinct contact subjects within the platform. Each relative is stored as an independent record with their own contact details, relationship role, and case association. This is essential for Barnekreftforeningen, which works primarily with entire families surrounding children with cancer, requiring structured tracking of parents, siblings, and primary caregivers as separate but linked entities within the same support case.
Sources & reasoning
Source lines 121-122 explicitly define the relative registration requirement as unique to Barnekreftforeningen. Line 161 (priority matrix) marks it MUST with Phase 1. Line 438 reconfirms Fase 1 MUST status. Phase 1 maps to MVP by ordinal. This is the foundational record-creation step the other two relatives features depend on.
-
docs/source/likeperson.md · line 121-122Pårørende-database: Barnekreftforeningen jobber primært med familier rundt barn med kreft, ikke kun med de berørte selv. Appen må støtte registrering av pårørende (foreldre, søsken, nærmeste omsorgsperson) som egne kontaktsubjekter knyttet til samme
-
docs/source/likeperson.md · line 161Pårørende database | ✓ | - | - | - | ✓ | MUST (Barnekreft) | 1
-
docs/source/likeperson.md · line 438Pårørende-database er Fase 1 MUST for Barnekreftforeningen
Analysis
Barnekreftforeningen's operational model centers on family-wide support, making it impossible to deliver their core service without tracking multiple family members per case. The priority matrix explicitly marks Pårørende-database as MUST for Barnekreftforeningen in Phase 1, confirming it is a launch-blocking requirement. Without this feature the organization cannot use the platform for its primary workflow. The relative database also reduces duplication risk by providing a single source of truth for family contacts, preventing conflicting records when multiple peer mentors serve the same family. This drives data quality and improves Bufdir reporting accuracy.
Relatives are modeled as a separate entity type in the relatives table, distinct from the main contacts table, with a foreign key to the organization and a linking table (relative_case_links) connecting them to primary contacts and cases. The Flutter UI uses a RelativeRegistrationScreen backed by RelativeService and RelativeRepository with Drift offline-first persistence and SQLCipher encryption. WCAG 2.2 AA compliance is mandatory: all form fields require semantic labels, minimum 24Ă—24 touch targets, and full keyboard navigability. The REST API validates organization membership before allowing relative creation to enforce tenant isolation per the multi-tenancy architecture.
Components (7)
Shared Components
These components are reused across multiple features
User Stories
No user stories have been generated for this feature yet.