Hospital mecanic bed, 2 functions