Description
Implement the patients list view with search, filter, and add patient functionality.
Design Reference
Figma Frame: Patients (576:3082, 576:3066)
Requirements
Search & Filter
API Integration
Technical Notes
- Create in
docpilot_doctor/lib/features/patients/presentation/pages/
- Implement efficient list rendering (ListView.builder)
- Add debounced search (300ms delay)
- Lazy loading with pagination
- Cache and optimize images
Dependencies
Files to Create/Modify
lib/features/patients/presentation/pages/patients_list_page.dart
lib/features/patients/presentation/widgets/patient_card.dart
lib/features/patients/presentation/widgets/filter_dialog.dart
lib/features/patients/presentation/widgets/empty_patients_state.dart
lib/features/patients/data/repositories/patients_repository.dart
Priority
Medium
Acceptance Criteria
- List scrolls smoothly with many patients
- Search works with debouncing
- Filter dialog works correctly
- FAB navigates to add patient flow
- UI matches Figma design
Description
Implement the patients list view with search, filter, and add patient functionality.
Design Reference
Figma Frame:
Patients(576:3082, 576:3066)Requirements
Search & Filter
API Integration
Technical Notes
docpilot_doctor/lib/features/patients/presentation/pages/Dependencies
Files to Create/Modify
lib/features/patients/presentation/pages/patients_list_page.dartlib/features/patients/presentation/widgets/patient_card.dartlib/features/patients/presentation/widgets/filter_dialog.dartlib/features/patients/presentation/widgets/empty_patients_state.dartlib/features/patients/data/repositories/patients_repository.dartPriority
Medium
Acceptance Criteria