Bring them a fun book unrelated to work or heart health. I'm certain James Harriot's book, If Only They Could Talk, saved my Father-in-Law's life by helping him decompress while in hospital after his heart attack.
My recommendation for an inscription for the book or card, if that's all you get, is something along the lines of:
When people only want to talk about your situation, you're allowed to say you're aware of your situation, know what needs to done moving forward, you're doing it, and that you would rather talk about their day or something else.
This unsolicited advice has been well received over the years.