Hi,
You can appeal, everyone fails them even my husband who had a heart attack failed, they failed him straightaway. He is back at work now.
All you need to do is appeal the decision, it takes 6 months normally to be decided so you will have extra time to get better within yourself and fighting fit,
So failing the medical isnt a problem just appeal the decision, they give you forms to fill out again (typical government) and send off. Good luck!!
angie x