Appointments
Book, manage, and cancel appointments with clinic doctors.
Updated June 2026 6 min read
The Appointments system is the primary interaction point...
Booking Flow
Step 1 — Select a Clinic
The patient browses available clinics...
Step 2 — Select a Doctor
After choosing a clinic...
Step 3 — Pick a Time Slot
The slot picker shows...
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/patient/appointments | List all appointments |
| POST | /api/patient/appointments | Book appointment |
| PUT | /api/patient/appointments/:id/cancel | Cancel appointment |
| GET | /api/patient/appointments/:id | Get appointment detail |
Appointment Lifecycle
pending→ bookedconfirmed→ acceptedin-progress→ ongoingcompleted→ finishedcancelled→ cancelled
Cancellation Policy
Patients can cancel only pending or confirmed appointments...
Double-booking prevention
Server-side validation ensures no duplicate slot bookings...