I'm leaning toward didn't do her job. Because a guy in his underwear waving a knife in a retail store is not something a sane person would do. It's not like there was video of it...oh wait, there is.
Medical professionals admit there is NO METHOD known to science that can predict who among us will commit an act of violence and who will not.
That's a fact.
It's so easy to say "She didn't do her job". What if he hadn't stabbed someone? Would you then say she did her job?
We can't hold healthcare workers to an outcome-based standard. Human behavior is not as predictable as the marketing people like to have us believe. Marketing firms try to influence behavior through product placement in stores, coupons, sales, media ad campaigns, free samples in stores, etc. That's not predicting. That's influencing.
Healthcare workers don't influence a sick person's decisions. Most likely a truly sick person can't be convinced to abandon violent intentions. The thought processes are not normal, so normal methods of persuasion have less chance of succeeding.
One big problem with the gun control debate is caused by the very belief you stated -- that the healthcare worker can stop violence if they do their job right. Reality tells us you can't predict or stop a violent act especially if the perp is mentally defective. Gun control is not about controlling guns. It's about controlling people. Since behavior can not be controlled -- only punished after the fact -- your expectations are set way too high.
1- Healthcare professionals are not held legally liable if they set a dangerous person free and that person hurts or kills someone
2- Mental health doctors don't lock every person up that presents with a mental illness to err on the side of caution.
Those facts prove that even legislators and doctors understand nobody can be held accountable for failing to predict another's behavior. The only way to stop people with a diagnosis of mental illness from committing violence is to lock them all up until their symptoms are controlled. That's not only not going to happen (human rights), but it would prove the real crazy people we should fear are under the radar and can't be controlled no matter what the system tries.
It's a massive, complex problem. That's the way most human behavior problems are.