Integrated hospital and community psychiatric services and use of inpatient beds. · Study