The sanatoriums were horrendous and closed by both Canadian and American gov'ts in the late 60's - early 70's for good reason. The problem was the gov'ts didn't put programs in place to help those people live outside the walls ... essentially the same thing they do with prisoners now.
Guaranteed incomes, stable housing and support networks would clear up many of the "issues", but too many whine about their tax dollars being spent on people in need.