Sentence

一週間入院していたです。

(いち)週間(しゅうかん)入院(にゅういん)していたです。
I was in the hospital for a week.
Sentence

いつ帰ってきたのですか。

いつ(かえ)ってきたのですか。
When did you return?