I hire and manage developers for a living.
Why on Earth would you not just say exactly what you said here?
I'm sure you could phrase it a little better but, "I had a medical problem for 9+ months and then took several more months to rest after that" is not going to be viewed unfavorably in any way if your skills are up to date.