Supposing all evidence is for a truly severe SHTF/ EOTWAWKI situation, where I can believe the hospital is just going to keep going for as long as it can before inevitably falling and will not be back to normal next month... For me, 3 things.
1. How much my family needs me vs. how much hospital patients need me.
Depending on the type and severity of disaster of course, but my family is a prepper family. They are probably doing much better than just about anyone in town. So, I’ll probably stay a while, at least enough to finish up my shift. Coming back might be a different story.
2. How much staying will impede my ability to eventually get out.
My work is 30 miles from home, and to get home from work I either have to go through the middle of town or along a longer winding back way that is also vulnerable to blockage at several places. If staying makes it significantly more difficult to get out, maybe making the difference between being able to drive out or having to walk, I need to prioritize my ability to escape the city. This may be difficult to judge from the basement of the hospital where I work, but I’d have to make my best judgment.
3. Can I even still do any good at work?
I work in the laboratory, not direct patient care. We’re essential to the functioning of the hospital, but if the disaster goes on long enough that the hospital generators run out of fuel, or we use up our reagents so we can’t run our instruments, or we run out of blood products for transfusion and can’t get resuplied, there is no point in staying.