Contact Detail Screen
Component Detail
User Interface
medium complexity
mobile
2
Dependencies
0
Dependents
5
Entities
0
Integrations
Description
Full-profile screen for a single contact, organized into sectioned cards covering personal info, recent activities, notes preview, and caregiver relationships. Serves as the central hub for all information related to a contact and is the launching point for structured home visit reports. Data is fetched via the Contact Service and cached locally for offline access.
contact-detail-screen
Responsibilities
- Display full contact profile in sectioned card layout
- Surface linked activities, notes previews, and caregiver relationships
- Provide navigation entry point to edit flow and structured report creation
- Apply role-based field visibility enforced by Role Guard Service
Interfaces
loadContact(contactId: string)
navigateToEditContact()
navigateToActivityDetail(activityId: string)
navigateToNoteDetail(noteId: string)
navigateToCaregiverDetail(caregiverId: string)
navigateToStructuredReport()
refreshContactData()
showLoadingState()
showErrorState(error: AppError)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (5)
Data entities managed by this component