Weekly calendar view for Operation Theatre Scheduling

Hello All,

From couple of our Bahmni implementations, we have received feedback upon using Operation Theatre Scheduling module that the users are having difficulties in getting the visibility of surgeons’ availability beyond the selected day in Calendar view. The suggestion is to have a weekly calendar view without losing any information that is given in the Daily calendar view.

In the weekly calendar view, below are expected in line with the daily calendar view,

  1. Ability to switch between Daily & Weekly view

  2. Ability to navigate back to ’This week’ i.e Current week

  3. Date range to be displayed that should start from the current date until next 7 days.

  4. Within the calendar, each surgeon block to have

    • A colour code which should be the same as Daily calendar view, this would help visually identify the surgeons across days.
    • OT number to be highlighted, incase of having more than one operation theatre
    • Only the listed details to be visible on the block - Patient Name & ID, OT Number and Surgeon Name
  5. Surgical blocks would be tightly packed, considering that there can be more than one OT for an implementation. Displaying all the above information would not be readable for the users. Suggestion is to use the ribbon at the bottom of the Calendar view (where the buttons are placed) to display the information upon clicking on a surgical block. Below information to be populated in the ribbon,

    • Patient Name & ID
    • Surgeon Name
    • OT Number (if applicable)
    • Estimated time

Attached a wireframe that covers the above points for your reference.

Would like to know if there’re any such feedback that you’ve received or any work planned on the similar lines so far. Please share your thoughts on the same.

We would be updating this thread with technical approach shortly upon finalising the functional changes.

Thanks!

@arjun @mksrom @pramidat @ramashish @shivarachakonda @binduak @swetha184 @snehabagri @vmalini @akhilmalhotra @ramashish @pradipta @mddubey @angshuonline @mksd @praveenad

1 Like

OT Calendar Weekly view Tech Analysis

We have started the tech analysis for this feature, we found unlike appointment scheduling calendar view, OT is not using any specific third party library for its daily calendar view.

Rendering Calendar Weekly View:

In OT, for daily calendar view, the grids are created by looping over the configurable time and per OT locations.

We can use the same methodology to create the weekly grid by iterating over time and 7 days per week.

For the top ribbon (week navigation, week and day switching etc.), we can follow the same construct from list view as those thing are already available there.

Rendering Surgical and Surgery Blocks:

We can also use the current functionality (as daily calendar view) to evaluate the surgical block and surgery blocks in the calendar for the weekly view.

Currently in daily calendar view, for each OT locations, the surgical and surgery blocks are rendered as per time range and blocks are distinguished by the surgeon’s color.

We can use the CSS property to find the width percentage for the number of blocked OTs per day. To render the blocks in the weekly calendar view. The same color of any surgeon we can use to identify the block.

For better visibility and UX, we can introduce pop-up feature (like google calendar) to view the surgery and surgical block details.

Actions on Surgical and Surgery Block:

Since we will be using the pop-up feature, we can bring all the action buttons from the footer of the calendar to the pop-up screen. Once we select any action button it will be redirected to the action page in the exactly same way it is present currently. After completion of the actions, it will be redirected to the calendar weekly view.

Weekly Fetch Surgery Details:

Currently for list view we are already fetching the weekly OT details along with the locations, surgical and surgery details. We can re-use the same functionality for calendar weekly view as well.

Filtering and Searching:

Currently filtering and searching are available for weekly list view. We can use the same functionality to fetch the data for weekly calendar view as well.

Here I am attaching the updated wireframe for

  1. OT Calendar weekly View and
  2. Pop-up view of Surgery Details.