Flip your thinking...you are saving his life and giving him an opportunity to change course.
Can you line-up a facility to receive him when he's released ?
Maybe he'll be ready for treatment. Get all the info you can as maybe now he
can be nudged into inpatient rehab.