Surgery Schedule β
The Surgery tab lists scheduled surgeries and lets you book new ones, edit them, and record IOL (lens) details for each eye.
The schedule β
The page shows a count of scheduled surgeries and a table:

| Column | Notes |
|---|---|
| Date & Time | When the surgery is scheduled. |
| Surgery / Procedure | The procedure name, with a reference number (SRG-###). |
| Patient | The patient's name. |
| Eye | OD (right), OS (left), or OU (both) β color-coded. |
| Surgeon | The operating doctor, with the Other MD (assistant) stacked beneath the surgeon's name when present. |
| Anesthesia | The anesthesia used (e.g. Local, Topical, or a doctor's name). |
| Location | Where the surgery takes place. |
| Status | Scheduled, Completed, Cancelled, etc. |
| Actions | View (eye), Edit (pencil), and Delete (trash). |
Use the search box to find a surgery by patient, procedure, or doctor, and the status filter to show only certain statuses. The table scrolls vertically when there are many rows. Move between pages with the pagination controls.
Click the eye icon (or open the same surgery from the Dashboard upcoming list / calendar) to open the Surgery Details modal β the full schedule, both eyes' IOL details, and the notes recorded on the surgery.
Booking a surgery β
Click Add Surgery. The Add Surgery form opens.

Fill in:
- Date and Time.
- Surgery / Procedure β start typing to search the procedure list.
- Patient β start typing to search; patients appear as "Lastname, Firstname".
- Eye β OD (Right), OS (Left), or OU (Both).
- Anesthesia β free text (for example "Local", "Topical", or a doctor's name).
- Surgeon β search by name.
- Other MD β an assisting physician (optional).
- Location β search the location list. (Locations are set up per branch in Configuration.)
- Status β defaults to "scheduled".
IOL details β two cards, OD (right eye) and OS (left eye). For whichever eye applies, enter the Brand (e.g. "Alcon SN60WF") and Serial # (e.g. "SN-12345").
Notes β a free-text box below the IOL cards for any pre-op notes, instructions for the OR team, or other context.
Click Add Surgery.
Editing a surgery β
Click the pencil icon on the surgery's row. The same form opens as Edit Surgery with everything filled in. Make changes and click Update Surgery.

Deleting a surgery β
Click the trash icon on the row. Confirm in the dialog ("Delete Surgery β Are you sureβ¦"). A toast confirms "Surgery schedule deleted successfully".
