The number of beds occupied is an independent risk factor for discharge of trauma patients