Models of deinstitutionalization and methods of protecting mental health in community