Dev:Surgery planner

From Kordeus Wiki
Jump to navigation Jump to search

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:
  1. 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.
  2. Connecting with Existing Appointment:
    • Load Existing Appointment: Selects a previously scheduled appointment for connecting.
  3. 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:
  1. 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.
  2. 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.
  3. 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:
  1. Open for Planning Tab: Redirects the user to the "Requested Surgeries for Planning" page.
  2. Planned Follow-Ups Tab: Redirects the user to the "Planned Follow-Ups" page for postoperative scheduling.
Search Field:
  1. 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

Planned follow- ups

Surgery planning object - Details