Remind them how brave and courageous they are. They may not feel at their absolute best, but tell them how impressed you are that they're fighting so hard. Their courage can see them through the surgery and recovery. Try saying something like:
- "You are the bravest person I know."
- "You inspire me."
- "I'm proud to know such a courageous person."