not sure about medschools, but a GPs report of her experiences with bipolar and fitness to practice procedure can be found here:
http://careerfocus.bmj.com/cgi/conte.../326/7391/S106
medschools wont "discriminate" against you, and are supportive of students with medical conditions, but if you are judged too unwell to enter the clinical stage, you would be unable to continue your training until you were fit to practice.
contact the universiies, they will be happy to give you loads of info on their regulations