Technological approach to the improvement of decision making in mental health services.