What is Deinstitutionalization?

Many years ago people that had mental issues for institutionalized for long periods of time. Over time they have been working on deinstitutionalization and moving away from these types of wards to more relaxed mental health services.