Design and evaluation of the use of hospital beds