Three-function manual medical bed