Yep, been there. I said in a job application I had suffered some anxiety issues due to work situations and had been on some mild anti depression meds. Well after sending in the information, I didn't get a second call back. Now I won't tell them anything, convinced employers will not employ me for this reason. I won't supply any medical data now to any potential employer.
I hope you get the job you are are after. 🙂