The current solution in California is to fire them and strip them of health insurance, wait for them to go broke, then dump them on the streets to live with other psychotics, and worse.
A few days at the funny farm is far more humane than this, even if a sane person occasionally gets stuck in a 24 hour medical hold.