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

Description

Mobile UI component that presents a configurable list of relative role tags (parent, sibling, primary caregiver, and organization-specific designations) for peer mentors to select when registering or editing a relative. Pulls available tags from the Organization Labels system to honor per-organization terminology overrides and prevents free-text entry to keep labels consistent.

Feature: Relative Role Tagging

role-tag-picker

Sources & reasoning

Source line 77 enumerates specific relative role types (foreldre/parents, søsken/siblings, nærmeste omsorgsperson/closest caregiver), indicating the system must distinguish between them. Role tagging is the mechanism to capture this distinction and falls within the Fase 1 Pårørende-database MUST scope.

  • registrering av pĂĄrørende (foreldre, søsken, nærmeste omsorgsperson) som egne kontaktsubjekter
  • PĂĄrørende database | âś“ | - | - | - | âś“ | MUST (Barnekreft) | 1

Responsibilities

  • Render the list of available role tags for the current organization
  • Capture and emit the peer mentor's selected tag to the parent form
  • Display the currently selected tag with clear visual feedback
  • Handle empty/loading states while organization labels load
  • Honor organization-specific label overrides for tag display text

Interfaces

render(availableTags, selectedTagId): View
onTagSelected(tagId): void
loadTagsForOrganization(orgId): TagOption[]