A voluntary resident may not be transferred to a state mental hospital without legally adequate consent to the transfer.