I think talking about micro-optimizations like this misses the forest through the trees.
It's neat and cool. Fun to wring out those last bits of efficiency. But the fact you even need to discuss it shows how hiring adequate amount of bedside staff is the absolute last thing any medical system will do.
> revert to simple heuristics that left them understaffed at some times while being overstaffed at others
Showing that they were better than modern day automated shift planning.
I will submit that if your hospital floor staff is not 50% idle on your average given fully-staffed boring day, you are understaffed. Only extremely exceptional events should cause your staff to be booked 100%. When it happens it should be root cause analyzed and be immediate cause for executive concern.
The trope of card playing nurses should be true, because of all industries there are - you want surge capacity in healthcare. Both physically speaking in terms of warm bodies available, as well as mentally speaking in brains not being stressed to their max the entire shift.
I understand these ideas don't end up with maximal efficiency. I am likely naive as well - but it's pretty clear that hospital systems are being operated in an intentional manner to keep staffing cut to the bone right up until the point the system or people break.
This doesn't just hold true for healthcare, it's endemic in a lot of service industries where the bottom tier employees are expected to live in service of the profession and take up all the slack from above.