Patient Management
View, search, and manage your patient roster with full history access.
The Patients section gives doctors a managed roster of all patients they have treated or who have booked appointments with them. The list is searchable by name and supports pagination to handle large patient volumes efficiently. Each patient record shows the last visit date, prescription count, and a quick link to view their full medical history within the doctor's context.
Patient Detail View
Clicking on a patient opens a full detail page showing the patient's profile information (age, blood group, known allergies), all appointments with this doctor (sorted newest first), and all prescriptions this doctor has created for them. The doctor can create a new prescription directly from this view without going through the appointments queue.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/doctor/patients | Paginated list — ?search=name&page=1&limit=20 |
| POST | /api/doctor/patients | Manually add a patient by email or ID |
| GET | /api/doctor/patients/:id | Full patient detail — profile, appointments, prescriptions |
| DELETE | /api/doctor/patients/:id | Remove patient from roster (does not delete records) |
Adding Patients Manually
Doctors can add patients to their roster manually by entering the patient's registered email address. This creates a connection without requiring the patient to book an appointment first — useful for in-clinic walk-ins where the patient has an existing account. The patient receives a notification that a doctor has added them to their roster.
Roster vs Records
Removing a patient from the doctor's roster does not delete any medical records or appointment history. It only removes them from the active roster list. All past prescriptions and appointments remain visible in both the patient's medical vault and the doctor's prescription history.