Patterns of care in patients discharged from acute psychiatric inpatient facilities