Thank you for your response.
I think the best thing here is to start with an explanation of the law in this area and then discuss your case in particular. In Maryland, and throughout the United States, employment law heavily favors the employer in most situations. Unless the employee has a contract
which provides that the employee may only be terminated for cause, the law will hold that the employee's right to work falls under the At Will Doctrine. The At Will Doctrine provides that an employer may terminate an employee for any reason whatsoever, even if it is a false reason. The only limitation on this is that an employer may not terminate an employee because of discrimination based on race, color, religion, sex, military status, national origin, disability, age, or ancestry of the employee.
The employee can also not be terminated if they qualify for protection for medical leave. The Family Medical Leave Act and the Maryland Flexible Leave Act both provide that an employee is entitled up to 12 weeks off per year for serious medical conditions, which would apply to your migraine situation. Unfortunately, neither of these laws apply to employers with less than 15 employees. This means that you cannot prevent your employer for terminating you here.
An alternative is to attempt to claim the injury under the Maryland Workers' Compensation Act. Your doctor has told you that the condition is caused by work. This may qualify under the Act. You should file a claim at: http://www.wcc.state.md.us/WFMS/C1_WebForms.html
If approved, you would likely be entitled to at least some temporary income benefits until you find a new job.
Probably a better alternative is to simply file an unemployment claim. You were not terminated for cause. You were terminated because you sought time off for a medical condition. While your employer is entitled to terminate you for this under the at-will doctrine, it cannot claim you were at fault for the termination.
Please let me know if you have any further questions. Please also kindly consider rating my answer positively so that I am compensated by the website for my work on your question. Rating positively does not cause an additional charge and does not prevent us from further discussing your questions.