I think this would be brilliant! I have skills but finance is not one of them. A chance to get a bit of a grip on such an important field is a real opportunity!
Work on finding things you can do without anxiety. It will likely be something very different from programming, but it will make you happy! That is the key. You must focus on your own happiness. It will be a tough transition, but consider it. Maybe just do some thought experiments (like "what if I were to get involve with art?" or "what if I built an app to help volunteers do . . . ?".
Go slow, but look into very, very different areas for a potential match. Think about YOU and happiness.
This advice is just to check out personalized medicine, in which they determine the exact cancer you have and clinicians employ a medical database to put together treatments to target your exact cancer.