Sentence

でも次の日、医者はトムに新年のお祝いには間に合うように退院できる可能性は十分あると言って、元気づけた。

でも(つぎ)()医者(いしゃ)はトムに新年(しんねん)のお(いわ)いには()()うように退院(たいいん)できる可能性(かのうせい)十分(じゅうぶん)あると()って、元気(げんき)づけた。
The following day, however, the doctor consoled him by telling him that his chances of being able to leave hospital in time for New Year celebrations were good.