The prank may be what pushed her over the edge, but I’d guess the nurse had ongoing issues she was struggling with.
In any case, it’s sad for her and even more so for the loved ones she’s left behind.
I place the blame squarely on those two jerks who pulled this stunt. You take your victim/plaintif/sucker as you find them. Her reaction in no way diminishes their personal misconduct.