Factors influencing patients' length of stay.