how long does hospital admission take