Commitment to a psychiatric ward