RelativeRegistrationScreen
Component Detail
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.
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.
-
docs/source/likeperson.md · line 121Barnekreftforeningen 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
-
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 (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