Dev:Surgery planner: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== | == 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. | * '''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. | ||
| Line 75: | Line 75: | ||
== Open for | == Planned surgeries == | ||
==== '''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. | |||
** '''Consent Button (Einverständnis):''' Option to update or confirm consent status for surgeries. | |||
** '''Search Field:''' Allows users to search for specific surgeries by patient name or other criteria. | |||
---- | |||
==== '''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:''' Specific organ 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"). | |||
#* '''Billing/Payment Status:''' Payment status for the surgery (e.g., "open"). | |||
#* '''Medical OK?:''' Indicates whether the surgery has been medically approved. | |||
# '''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. | |||
# '''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. | |||
#* '''Clicking "Einverständnis":''' Updates or confirms patient consent for the scheduled surgery. | |||
===== '''Tabs Navigation:''' ===== | |||
# '''Open for Planning Tab:''' Redirects the user to the "Requested Surgeries for Planning" page. | |||
# '''Planned Follow-Ups Tab:''' Redirects the user to the "Planned Follow-Ups" page for postoperative scheduling. | |||
===== '''Search Field:''' ===== | |||
# '''Search Functionality:''' Filters the list of planned surgeries based on entered keywords, such as patient names or surgery types. | |||
---- | |||
==== '''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. | |||
** '''Consent Status:''' Clicking "Einverständnis" should communicate with the backend to update the consent status. | |||
---- | |||
== Planned surgeries | ==== '''4. Action-Trigger Relationships:''' ==== | ||
{| class="wikitable" | |||
!'''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 | |||
|} | |||
[[File:SP-Planned surgeries.png|none|thumb]] | |||
---- | |||
== Planned follow- ups == | == Planned follow- ups == | ||
== Surgery planning object - Details == | == Surgery planning object - Details == | ||
Revision as of 12:04, 13 November 2024
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
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.
- Consent Button (Einverständnis): Option to update or confirm consent status for surgeries.
- Search Field: Allows users to search for specific surgeries by patient name or other criteria.
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: Specific organ 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").
- Billing/Payment Status: Payment status for the surgery (e.g., "open").
- Medical OK?: Indicates whether the surgery has been medically approved.
- 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.
- 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.
- Clicking "Einverständnis": Updates or confirms patient consent for the scheduled surgery.
- Open for Planning Tab: Redirects the user to the "Requested Surgeries for Planning" page.
- Planned Follow-Ups Tab: Redirects the user to the "Planned Follow-Ups" page for postoperative scheduling.
Search Field:
- Search Functionality: Filters the list of planned surgeries based on entered keywords, such as patient names or surgery types.
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.
- Consent Status: Clicking "Einverständnis" should communicate with the backend to update the consent status.
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 |
