My girlfriend has had three stays at two different UHS hospitals in Phoenix (UHS is the subject of this ars technica article). They tried to keep her indefinitely the first time. The second two times were unnecessary month-long "stabilizations" that did not address the causes behind her presenting symptoms (self medication with alcohol). At the third stay UHS got her addicted to benzos, which stopped working after a month...
I know you're a psychiatrist, and it seems like you practice in a fairly conventional manner. My experience with the mental health system is that the doctors have good intentions, but have been misled by their training. Because my girlfriend's doctors have inverted cause and effect, they haven't been able to help her get her psychosis-provoking self-medication tendencies under control (they think that psychosis -> drug use, or that alcohol/drug use is a separate condition from her psychotic disorder).
For her first stay at UHS, it took a few days of calls for me to figure out the "magic words" for my girlfriend to say to get them to let her out - this was after about 2 weeks of "stabilization" that was really just getting her used to the tranquilizers. Finally someone told me she had to say "against medical advice", and they let her out two days later.
She started to come out of her zyprexa-maintained psychotic coma after about 3 days, then she resumed self-medicating her physiological imbalances. I knew that alcohol wouldn't help, but I couldn't prescribe what she needed, or force her to take it anyways.
She was under a court order for the second two stays at a different UHS facility, so she was powerless to resist the obsolete theories that they used to worsen her condition.
It is now known that psychosis is related to cortisol deficiency. Cortisol is produced in the mitochondria. Therapies which improve the metabolism are indicated for all mental health patients.
The only helpful treatment that my girlfriend received was getting revived by the fire department (benzos amplify opiates, fyi). Her drinking was under control for about two weeks after those two doses of naloxone. Naltrexone (similar to naloxone) is FDA-approved to help people keep their alcohol use under control.
I was able to verify that my theories were basically correct when she lived with me for about two months. But then she went to visit her mother, and made herself psychotic with the street pharmacy again (bad situation with her old not-friends -> alcohol -> meth amphetamine), and she's back to getting "helped" by professionals who don't care about cause-and-effect.
Robert Whitaker's Psychiatry Defends Its Antipsychotics is a refutation of psychiatry's latest attempt to defend the use of anti-psychotics: https://www.madinamerica.com/2017/05/psychiatry-defends-its-... (May 21, 2017)
I guess I'm just asking you to consider that anti-psychotics are most psychiatric patients' problem, rather than their solution. Since you work with the criminal justice system, you're in a position to do a lot of good for a lot of people.