Termination and transfer in a psychiatric hospital