<human>: Can you condense the text into a few key points?

My best friend from when I was a child has been battling cancer for the past 5 or so years. He's had his ups and downs, but in the past month it's gotten significantly worse. I recently found out that he only expects to survive one more week. 

A little background about us. I've been best friends with him since we were probably in 1st grade, all the way through high school. After high school, we started hanging out with different groups of people and sort of fell out of contact. I still keep in touch with him on a semi regular basis, but have only seen him in person a handful of times over the past few years. We are still pretty up to date about each-others lives, though. 

He was diagnosed with cancer about 5 years ago, and since then has been a constant battle with ups and downs. Generally he didn't like to talk about his cancer unless things were starting to look better. I found out recently, not through him, that he only is expected to have a week or two left to live. Honestly, I don't know what to do or how to react. I have lost loved ones before (I lost my father and 2 sisters when I was 17) but never have I experienced losing someone close when I knew it was going to happen. 

I texted him today, acting oblivious to the fact that I knew. I was just trying to talk like we normally do and catch up with him. The only thing he told me is that he is in the hospital and only family can visit him. I don't know what else to do. This was my best friend for so many years of my life; pretty much my entire childhood. Is there anything I can do for him?
<bot>: Childhood best friend is dying of cancer. I don't know what to do/say to him and he doesn't have much time.