Qual a tradução correta da frase abaixo?

When I was in hospital, I couldn't get out of bed.