Nothing that I can see.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
The first sentence gives the sense that 'you were in the hospital, attending somebody/spending for/a week as a guest'.
The second gives the sense that 'you were admitted in the hospital for a week'.
No, it doesn't.