Highly recommend you go to your university's counsellor, then with his/her advice, lodge an appeal. Bonus points if you can get your counsellor to provide documentation atop your medical certificates.
Even without that, you have a solid chance of successfully appealing as your premise is...