Can my gym do this?

So, this past Saturday I had a seizure at the gym. All I remember is working out then waking up surrounded by paramedics. And I left in an ambulance. Thing is this is probably the 4th time that's happened.

So my gym manager called me this afternoon. They said they're getting concerned this keeps happening in the gym and people are complaining. He said I should take a month or so off the gym. I told him it sounds an awful lot like they're discriminating against someone based on a medical condition which I don't think they're allowed to do. I said I'm taking next week off because I'll be out of town but thats all I'm taking off.

Does it sound like they're singling me out for having seizures which I can't control?

Can my gym do this?
Post Opinion