Accessing Patient Management
Navigate to the patient management section from your dashboard’s quick access links or visit/admin/dashboard/users directly.
Patient List Interface
The patient management interface displays all clients who have booked sessions with you.List Features
Search Functionality
Quickly find patients by name or email
Pagination
Navigate through your patient list with paginated results
Patient Cards
View key patient information at a glance
Session History
Access complete appointment history for each patient
Patient List Component
The list displays patients with the following information:/workspace/source/app/core/admin/components/users/ListUsers.tsx:14-24
Searching for Patients
Use the search bar to filter patients:
The search input implementation:
/workspace/source/app/core/admin/components/users/ListUsers.tsx:61-66
If no patients match your search query, you’ll see “Sin resultados” (No results) displayed.
Patient Information Display
Each patient card in the list shows:- Name - Full name of the patient
- Email - Contact email address
- Selection state - Visual indicator when a patient is selected
/workspace/source/app/core/admin/components/users/ListUsers.tsx:68-71
Selecting Patients
Click on any patient card to select and view their detailed information:/workspace/source/app/core/admin/components/users/ListUsers.tsx:78-80
When a patient is selected:
- Their card is visually highlighted
- Their appointment history loads in an adjacent panel
- You can view all past and future sessions
Patient Profile Data
Patient information is based on theProfile schema:
Viewing Session History
After selecting a patient, view their complete appointment history:History Display
The session history shows:- Date and time - When each session occurred or is scheduled
- Session modality - Virtual or in-person
- Payment status - Whether payment was completed
- Session status - Pending, confirmed, or cancelled
Reservation Data Structure
Each appointment in the history uses theReservation interface:
/workspace/source/server/src/modules/reservations/types/reservations.ts:6-19
Pagination
Navigate through your patient list with pagination controls:Pagination Features
- Page numbers - Click to jump to specific pages
- Previous/Next buttons - Navigate sequentially
- Ellipsis indicators - Show when pages are skipped
- Current page highlight - Active page is visually distinguished
/workspace/source/app/core/admin/components/users/ListUsers.tsx:38-50
Page Controls
The pagination footer displays:/workspace/source/app/core/admin/components/users/ListUsers.tsx:91-93
Previous/Next buttons are automatically disabled when you’re at the first or last page respectively.
Combined Patient and Session View
TheListUsersAndSessions component provides a split-view interface:
- Left panel - Patient list with search and pagination
- Right panel - Selected patient’s session history
- Browse your patient roster
- Select a patient to focus on
- Review their complete appointment history
- Access individual session details
Accessing Session Details
Click on any session in the history to view:- Full appointment information
- Patient contact details
- Payment status and amount
- Session notes (if applicable)
- Cancellation options
Data Fetching
Patient reservations are fetched using theReservationsStore:
/workspace/source/store/ReservationsStore.ts:32-52
Reservations are sorted with the most recent appointments first for easier access to current patient activity.
Empty States
When viewing patient information:- No patients found - “Sin resultados” is displayed when search returns no matches
- No reservations - “Todavía no hay reservas creadas” is shown when a patient has no appointments
/workspace/source/app/core/admin/components/reservations/HistoryReservations.tsx:89-94
Best Practices
Regular Review
Periodically review patient histories to prepare for upcoming sessions
Search Efficiency
Use search functionality to quickly locate specific patients
Session Tracking
Monitor appointment status to follow up on pending confirmations
Contact Management
Keep patient email information up to date for communication
Next Steps
View Reservations
Manage all appointments across all patients
Dashboard
Return to your professional dashboard