Appeal process for PhD dismissal due to health issues
If this is in the US, the precise nature of your health issues is protected by HIPAA and is none of your department's business. Documentation affirming only that those health issues have substantially interfered with your academic performance should be issued by your disability services office, who have experience with such things. Medical disabilities are disabilities and as such are legally entitled to reasonable accommodation.