['A friend of mine had an pretty serious illness and had to be in the hospital for quite a while. I spent as much time as I could there with him to keep his spirits up.']
Oh that sucks, I hate seeing friends and family injured or sick. That's very nice of you though that you stayed there with him, youre a good friend.
My friend had a long hospital stay, and I spent a lot of time there with them.