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

Description

Mobile screen that allows peer mentors and coordinators to register a relative of a primary contact as an independent record. Presents a form collecting the relative's profile, contact details, relationship type, and communication preferences. Handles validation feedback and submission state.

Feature: Relative Contact Registration

relative-registration-screen

Sources & reasoning

Barnekreftforeningen explicitly requires registering relatives as independent contact subjects (line 121). Priority matrix confirms MUST with Phase 1 placement (line 161) and the note at line 438 reinforces the Fase 1 mandate. Blueprint marks this feature [MVP]. All downstream relatives-database features depend on this registration capability existing first.

  • 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
  • PĂĄrørende database | âś“ | - | - | - | âś“ | MUST (Barnekreft) | 1
  • PĂĄrørende-database er Fase 1 MUST for Barnekreftforeningen (se §4 matrisen).

Responsibilities

  • Render registration form with fields for name, relationship, contact details, and communication preferences
  • Validate required fields and surface inline error messages before submission
  • Dispatch save actions to RelativesService and reflect loading/success/error states
  • Navigate back to the primary contact's family view upon successful registration

Interfaces

render(): JSX
handleSubmit(formData: RelativeFormData): void
handleFieldChange(field: string, value: string): void

Related Data Entities (1)

Data entities managed by this component