Dev:Surgery planner
Open for planning
- Requested Surgeries for Planning Table: Displays a list of patients awaiting surgery, along with details such as the responsible planner, surgery type, surgeon, and date.
- Related Appointment Panel: Allows users to create new appointments or correct existing ones, with options to select facility, person, appointment type, and date/time slots. Columns and Information Displayed:
- Patient: Name and birthdate of the patient.
- Responsible to Plan (Ordering): The doctor responsible for ordering or planning the surgery.
- Surgery Template: Type of surgery (e.g., cataract, LASIK).
- Surgeon: Surgeon assigned to perform the surgery.
- Organ: Localisation to be operated on (e.g., OS, OD).
- Desired Date from: Requested date or urgency indicator (e.g., "ASAP" or a specific date).
- Row Highlighting and Alerts:
- Red Row Alert: Indicates an obsolete data due to procedure change
- Yellow Row Alert: Indicates a special note or specific time requirement (e.g., "2 weeks after last eye").
- Actions:
- Selecting a Surgery: Clicking on a row opens details in the "Related Appointment" panel, allowing for appointment creation or modification.
Related Appointment Panel:
- Creating a New Appointment:
- Fields:
- Facility: Dropdown list of available facilities.
- Key Person: Dropdown to select the surgeon or staff responsible.
- Appointment Type: Dropdown for the type of appointment (e.g., "Katarakt Surgery").
- Appointment Variation: Optional dropdown for specific variations or categories of the selected appointment type.
- Next Slots Selector: Displays available time slots for the selected date range, allowing the user to pick a suitable time.
- Comment Field: Text field for adding comments related to the appointment.
- Book Appointment Button: Schedules the appointment and updates the patient's status in the main table.
- Fields:
- Connecting with Existing Appointment:
- Load Existing Appointment: Selects a previously scheduled appointment for connecting.
- Edit Appointments Display:
- List of Upcoming Appointments: Shows planned surgeries with date, time, preparation, and involved staff.
- Reschedule Option: Provides functionality to change or cancel an appointment as needed.
3. Dependencies:
- Data Dependencies:
- Patient Data: Details of patients and planned surgeries.
- Facility and Staff Lists: Data for populating the dropdown menus with available facilities and staff.
- Available Time Slots: Dynamic data showing time slots based on facility and staff availability.
- Functional Dependencies:
- Checklist Completion for Scheduling: Ensures surgeries cannot be booked if the checklist (or pre-surgery conditions) is incomplete.
- Conflict Checker: Detects conflicts in surgery scheduling to prevent double-booking.
Action-Trigger Relationships:
| Action | Trigger | Effect |
|---|---|---|
| Select a surgery row | Click on a row in the table | Loads patient details in the Related Appointment panel for booking or modification |
| Click "Create Appointment" | Button click | Enables the user to fill out appointment details for a new surgery |
| Choose date range for "Next slots" | Date selection | Updates available time slots based on selected range |
| Click "Book Appointment" | Button click | Confirms the appointment, updates the main table, and clears Related Appointment fields |
| Click "Correct with existing one" | Button click | Loads existing appointment details into the fields for editing |
| Select "Reschedule" option in Upcoming Appointments | Option selection | Opens fields to change the scheduled date or time for an existing appointment |

Planned surgeries
1. Section Overview:
- Main Components:
- Planned Surgeries Table: Displays details of scheduled surgeries, including patient information, type of surgery, surgeon, organ, surgery date and time, required materials, document status, billing/payment status, and medical approval.
- Tabs Navigation: Includes links to "Open for Planning," "Planned Surgeries Overview," and "Planned Follow-Ups" sections.
- Search Field: Allows users to search for specific surgeries by patient name, surgeon, surgery template.
2. Functionality Requirements:
Planned Surgeries Table:
- Columns and Information Displayed:
- Patient: Name and birthdate of the patient.
- Surgery Template: Type of surgery (e.g., Cataract, LASIK).
- Surgeon: Surgeon assigned to the procedure.
- Organ: Localisation to be operated on (e.g., OS (left eye), OD (right eye), or both).
- Op-Termin (Surgery Date/Time): Date and time scheduled for the surgery.
- Procurable Material: Required materials and status (e.g., confirmed, open with days remaining for procurement).
- Documents: Document status, such as consent forms (e.g., "Signed", or showing based od administration and surgery date how many days are left).
- Billing/Payment Status: Payment status for the surgery (e.g., "open", "paid").
- Medical OK: Indicates whether the surgery has been medically approved from surgeon side.
- Row Highlights and Alerts:
- Red Highlight for Billing/Payment and Material Procurement Status: Signals an urgent issue, such as an open payment or a material procurement deadline.
- "Book Now" Button in Op-Termin Column: For unscheduled surgeries, this button allows the user to set a date and time (opens popup like on open for planning)
- Actions:
- Clicking "Book Now": Opens a scheduling dialog to select the surgery date and time.
- Hovering Over Procurable Material Alert Icon: Displays a tooltip indicating issues with material procurement.
3. Dependencies:
- Data Dependencies:
- Patient Data: Includes patient details and their scheduled surgeries.
- Surgery Template and Surgeon Lists: Data for displaying types of surgeries and available surgeons.
- Procurable Materials Information: Dynamic data on required materials and their procurement status.
- Document and Consent Status: Data indicating document completion, such as signed consent forms.
- Payment Status: Data on billing status to display open or confirmed payments.
- Functional Dependencies:
- Tooltip for Material Alerts: Should provide real-time information about procurement issues.
- Payment and Procurement Status Update: Changes in payment or procurement status should automatically update the UI.
4. Action-Trigger Relationships:
| Action | Trigger | Effect |
|---|---|---|
| Click on "Book Now" | Button click | Opens dialog to set a date and time for the unscheduled surgery |
| Hover over Procurable Material Alert Icon | Mouse hover | Displays a tooltip with additional information about the procurement issue |
| Click on "Einverständnis" | Button click | Confirms or updates the patient's consent status in the system |
| Select "Open for Planning" tab | Tab click | Redirects to "Requested Surgeries for Planning" page |
| Select "Planned Follow-Ups" tab | Tab click | Redirects to "Planned Follow-Ups" page |
| Enter search text | Typing in search field | Filters the Planned Surgeries table to show matching results |

Planned follow- ups
1. Section Overview:
- Main Components:
- Post Ops Table: Lists details of each planned postoperative follow-up, including patient information, follow-up flow name, surgery date, surgeon, procedure, organ, dependency, follow-up timing, and appointment type.
- Tabs Navigation: Includes links to "Open for Planning," "Planned Surgeries Overview," and "Planned Follow-Ups" sections.
- Search Field: Allows users to search for specific surgeries by patient name, surgeon, surgery template.
2. Functionality Requirements:
Post Ops-for planning Table:
- Columns and Information Displayed:
- Patient: Displays the name and birthdate of the patient.
- Flow Name: Identifies the follow-up phase (e.g., "1 week follow-up," "3 month follow-up").
- Surgery Date: Date of the surgery for reference.
- Surgeon: The surgeon who performed the procedure.
- Surgery Procedure: The type of surgery performed (e.g., Cataract, LASIK).
- Organ (Element): Indicates the localisation on which procedure was performed (e.g., OD (right eye), OS (left eye)).
- Dependency: Expected time frame after surgery for each follow-up phase (e.g., "5-10 days after Surgery 1").
- Surgery Was…: Days since the surgery, displayed in green if within the follow-up window, or red if overdue.
- Appointment Type: Standard type for the follow-up appointment (e.g., "Katarakt Nachuntersuchung").
- Appointment Type Variation: Special variations or adjustments to the appointment type, if any.
- Row Highlights and Alerts:
- Green Highlight for On-Time Follow-Ups: Indicates that the follow-up is within the expected timeframe.
- Red Highlight for Overdue Follow-Ups: Signals that a follow-up is overdue, requiring immediate scheduling or attention.
- Actions:
- Appointment Type Variation Calendar Icon: Clicking the icon next to "Appointment Type Variation" opens a scheduling dialog, allowing users to book or modify the follow-up appointment.
- Open for Planning Tab: Redirects the user to the "Requested Surgeries for Planning" page.
- Planned Surgeries Overview Tab: Redirects the user to the "Planned Surgeries Overview" page for surgery scheduling.
Search Field:
- Search Functionality: Filters the list of planned follow-ups based on entered keywords, such as patient names, surgery types, or surgeons.
3. Action-Trigger Relationships:
| Action | Trigger | Effect |
|---|---|---|
| Click on Calendar Icon (Appointment Type Variation) | Icon click | Opens dialog to set or adjust a date for the follow-up appointment |
| Select "Open for Planning" tab | Tab click | Redirects to "Requested Surgeries for Planning" page |
| Select "Planned Surgeries Overview" tab | Tab click | Redirects to "Planned Surgeries Overview" page |
| Enter search text | Typing in search field | Filters the Post Ops table to show matching results |


Surgery planning object - Details
Translations
| English Label | German Translation |
|---|---|
| Open for Planning | Offen für Planung |
| Planned Surgeries Overview | Übersicht geplante Operationen |
| Planned Follow-ups | Geplante Nachsorgen |
| Requested Surgeries for Planning | Angefragte Operationen zur Planung |
| Patient | Patient |
| Responsible to Plan (Ordering) | Verantwortlich für Planung (Bestellung) |
| Surgery Template | Operationstyp |
| Surgeon | Chirurg |
| Organ | Organ |
| Desired Date from | Gewünschtes Datum ab |
| Checklist due to procedure change | Checkliste aufgrund von Verfahrensänderung |
| Create Appointment | Termin erstellen |
| Correct with existing one | Mit vorhandenem korrigieren |
| Facility | Einrichtung |
| Person | Person |
| Appointment Type | Terminart |
| Appointment Variation | Terminvariation |
| Next slots | Nächste Termine |
| Comment | Kommentar |
| Book Appointment | Termin buchen |
| Cancel | Abbrechen |
| Upcoming Appointments | Kommende Termine |
| Preparation | Vorbereitung |
| Reschedule | Umplanen |
| Open for Planning | Offen für Planung |
| Planned Surgeries Overview | Übersicht geplante Operationen |
| Planned Follow-Ups | Geplante Nachsorgen |
| Patient | Patient |
| Surgery template | Operations template |
| Surgeon | Operatour |
| Organ | Organ |
| Op-Termin | OP-Termin |
| Procurable Material | Beschaffbares Material |
| Documents | Dokumente |
| Billing/Payment status | Rechnungs-/Zahlungsstatus |
| Medical clearance | Medizinische Freigabe |
| Book now | Jetzt buchen |
| Signed | Unterschrieben |
| Payment-open | Zahlung-offen |
| Confirmed | Bestätigt |
| x days left | x Tag(e) übrig |
| Search | Suchen |
| Planned surgeries overview | Übersicht geplante Operationen |
| Flow name | Nachsorgephase |
| Surgery date | Operationsdatum |
| Surgery Procedure | Operationstyp |
| Dependency | Abhängigkeit |
| Surgery Was… | Operation war |
| Appointment type | Termintyp |
| Appointment Type Variation | Termintyp-Variation |
| 1 week follow up | Woche Nachsorge |
| 3 month follow up | 3 Monate Nachsorge |
| 1 year follow up | 1 Jahr Nachsorge |
| Overdue | überfällig |
| Checklist due to procedure change | Checkliste aufgrund von Verfahrensänderung |
| Create appointment | Termin erstellen |
| Facility | Einrichtung |
| Person | Person |
| Next slots | Nächste Termine |
| Upcoming appointments | Kommende Termine |
| Preparation | Vorbereitung |
| Reschedule | Umplanen |