Glad for him and without a doubt the support network and relationships he had in place significantly contributed to his positive outcome. I recently went through a similar trial and tribulation but as an inmate and by receiving sub-standard care. That's how I was able to turn inward and finally crack into real enlightenment and it's the solid kind because comparatively speaking, I had fuck-all to live for. No family. No future. No nothing but more suffering. And yet I found the release into accepting the beauty of futility. I commit to the program, I give. Let Go and Hang On. IYKYK.
Without meaning this in any way condescending: I am really proud of you as fellow human being!
Finding peace in such a situation takes courage, strength, and reflection, and you apparently have/found all of these.