Sounds like selective discrimination...cite the Americans with Disabilities Act.
Indeed, as well as sexism. From the article:
"Migraines, which are more common in women...."
Also from the article:
"......Dr. Shapiro said. "This is a huge issue that affects the 60 million Americans that will have migraine this year."
Many of those 60 million Americans vote. If the Left or other candidates try to make the case that migraines make a person untrustworthy or non-functional, I think that a good percentage of that 60 million will not be pleased with such an assertion and may become less than thrilled with the party or candidate making such a statement.