A bed having a frame, a deck, and a siderail. The deck having a head seat and foot sections. The head, seat, and foot sections movable relative to each other.