In a story I'm writing, one of the people get stabbed in the arm, and a couple of broken ribs, and sent to the hospital. How long would it be before he got released (not healed, just released from the hospital.)

Please help, and thanks in advance. :P