How To Balance Clinical Assignments and Provider Preferences with Rule-Based Scheduling
St. Michael’s Hospital is an urban, quaternary care trauma center located in downtown Toronto, Canada. St. Michael’s is renowned for its teaching and research and is fully affiliated with the University of Toronto. The hospital was founded in 1892 and became part of the Unity Health Toronto hospital network in 2017.
Challenges
Since 2003, St. Michael’s Department of Anesthesia has been using Excel spreadsheets to build schedules for a group of around 30 anesthesiologists. This was a complicated process that averaged 100 hours of scheduling work each quarter, and there was often trouble equalizing shift types among providers and keeping track of their clinical assignments. There wasn’t a quick or easy way to equally distribute weekend work, clinical assignments, and on-call shifts—such as overnight and late calls among providers—and there was limited insight into how equitable the schedules were. As the department grew from 30 to 100 providers, the strain of using a manual scheduling process to build, track, and fairly manage shifts became overwhelming.
Because St. Michael’s is a teaching hospital, schedulers also needed to pair learners with specific assignments and/or staff to ensure they met their educational requirements. This added complexity, and coupled with attendings’ own complex intensive care schedules and protected research time requirements, led to significant frustration whenever any of these intersecting schedules needed adjustment. Each schedule required thousands of manual assignments and dozens of work hours before a feasible schedule could be produced.
When Dr. Nick Lo, current Deputy Chief of Anesthesia, took over scheduling in 2016, he felt it was vital that a solution be implemented to create fair and feasible schedules while supporting quick and easy
adjustments. His ideal solution would foster wellness for schedulers and providers by building optimized schedules that prioritize coverage, ensure operational requirements are met, protect educational and research time, and account for personal preferences as much as possible.
Solution
Dr. Lo and his colleagues knew the Excel-centric process for creating schedules was ripe for improvement. After researching available technology that could help their group build and distribute optimized schedules with significantly less manual intervention, they decided to implement PerfectServe's Lightning Bolt Scheduling within the St. Michael’s anesthesia department. With Lightning Bolt’s rule-based scheduling capabilities in place, Dr. Lo would be able to:
- Distribute shifts fairly among providers
- Allow time off between clinical assignments
- Classify weekend shifts differently than weekday shifts
- Accommodate individual scheduling preferences
- Pair appropriate providers to specific assignments and trainees (fellows and residents)
- Access detailed analytics about shift allocation to inform future decision-making
After implementing Lightning Bolt, Dr. Lo can now use specific schedule-building rules to create an optimized, equitable schedule for his attendings, fellows, and residents. Lightning Bolt uses combinatorial optimization to build schedules, which means it can produce an optimal schedule within the constraints of the rules that have been set. This mathematical process allows Lightning Bolt to build the schedule in thousands of different ways to land on the most ideal solution. Other systems employ a heuristic model, which constructs the schedule in a more linear, step-by-step fashion. This frequently leads to non-optimized schedules.
Because rules can be designed around any equalization time frame, providers know that their shift types, vacation time, and working weekend time will be equalized based on one’s own local rules. For St. Michael’s Anesthesia Department, this means that attendings’ calls are equalized in perpetuity, while fellows’ calls are equalized within the academic year. Dr. Lo has also seen significant improvements related to provider wellness, schedule analytics, and time required to build and distribute schedules.
Results
Equalizing
This rule allows shift types to be equally distributed among providers within any specified time frame. If the scheduler asks Lightning Bolt to equalize shifts based on input since 2021, Lightning Bolt will take into account how providers have been scheduled through the previous years to ensure everyone is scheduled as equally as possible year over year. When a new provider is added to the system, Lightning Bolt will “prorate” their shifts to ensure they aren’t overscheduled.
Spacing
The spacing rule allows specific shift types to be spaced out or separated from one another to avoid giving providers successive shifts with highly demanding work. For example, if a provider is working in the ICU, they will not have any additional on-call operating room duties until at least a week after the ICU assignment. In this way, Lightning Bolt keeps providers from being scheduled for back-to-back demanding shifts.
Weekend Classification
This rule distinguishes between assignments that occur on weekdays versus weekends or holidays. Dr. Lo uses this feature in conjunction with the spacing rules to ensure that personnel never work two weekends in a row.
Lightning Bolt gives Dr. Lo more control by allowing him to schedule providers according to the difficulty of their previous shift type.
Linking (If/Then)
Linking is a scheduling rule that follows logic: “If scenario X occurs, then action Y should follow.” Dr. Lo uses this functionality to link call shifts with post-call shifts. If a provider is scheduled to work a more stressful shift like the ICU, they are not scheduled for any on-call shifts for the following week.
Advanced Conditional
This rule gives Dr. Lo extra control over the nuances in scheduling, such as pairing a senior resident with a junior resident on a specific assignment at a specific time. With control over more granular scheduling details, Dr. Lo can further prioritize provider wellness, shift equity, and organizational needs.
Targets
With a focus on resource optimization, Dr. Lo uses the target rule to count or “tally” the scheduled personnel for each date and shift. Lightning Bolt allows him to see, in detail, how many providers are needed for a certain shift versus how many are actually scheduled. Dr. Lo is given the OR schedule three months in advance, which includes OR room types and available nurses. The rule allows Dr. Lo to match the hospital’s clinical demand with the correct number of anesthesiologists. Lightning Bolt helps him forecast staffing and demand mismatches well in advance in order to have the correct number of providers for every shift. If there are too many providers scheduled for a shift, Dr. Lo can offer vacation days to people who want them. If any future shifts will be short-staffed, Lightning Bolt grants preliminary visibility into the future to ensure any gaps in coverage are filled. Dr. Lo says this allows his department to provide consistent and dependable anesthesia service for St. Michael’s Hospital, and avoids case cancellation from lack of anesthesia availability.
“We use Lightning Bolt software to efficiently schedule all clinical and academic activities in our department,” Dr. Lo said. “Utilizing the Lightning Bolt system allowed us to more than double our commitment to supported education time, greatly enhance the limited time for business activities, and protect our researchers’ time to ensure their continued academic productivity.”
Conclusion
St. Michael’s Hospital isn’t the first—and certainly won’t be the last—hospital to experience the distress of building schedules by hand. All too often, health systems are unable to build and edit shift and call schedules that meet provider schedule requests and keep payroll accurate through Excel workflows. Though it may feel like a “necessary” burden to schedulers and something that is “just part of the job,” solutions do exist to drastically reduce the time it takes to build and optimize new and existing schedules while simultaneously allowing providers to allocate more time to patient care.
Just as Dr. Lo experienced, Lightning Bolt has the necessary capabilities to improve the schedule building process for departments across the organization. Through advanced combinatorial optimization, Lightning Bolt improves the scheduling process from start to finish, and it offers notable improvements in provider wellness and resource optimization as a byproduct.
Discover the latest from PerfectServe

Bring us the workflow that [hurts most]
We'll show you how it runs on PerfectServe, with your teams, your sites and your EHR.












