The federal agency in charge of addressing employment discrimination is providing a stern warning to nursing homes: Don’t ask about the next baby of an employee who is up for promotion.

That’s according to a lawsuit filed Friday against the Glenridge on Palmer Ranch, an upscale retirement community in Sarasota, FL, that offers skilled nursing and other services. In it, the Equality Employment Opportunity Commission alleges that managers encouraged dining worker Michelle Fredericks to apply for a supervisor position in 2015.

But before she could apply, a manager texted Fredericks and asked when she planned to have her next child, writing, “With this position it doesn’t leave a lot of time off for long periods of time,” the EEOC alleged. Glenridge never interviewed Fredericks — who had been with the community since 2007  — for the position, and offered it to a female “that it did not believe would become pregnant,” the suit said.

The government alleges that Glenridge is violating the Civil Rights Act and is seeking back-pay, discrimination damages, and injunctive relief to prevent any future pregnancy discrimination, after failing to resolve the matter outside of court.

“To deny a woman employment because she may become pregnant places her and her family in a position of immeasurable harm,” EEOC’s Tampa Field Office Director Evangeline Hawthorne said in a statement.  

In a statement to McKnight’s, Sunya Wilson, a human resources representative at the Glenridge, said the organization does not tolerate discrimination and regrets how the incident transpired.  

“At the Glenridge on Palmer Ranch, our philosophy in hiring practices is to be equal and inclusive, and it is not our policy to discriminate,” Wilson wrote. “In this circumstance, we believe a text message exchange among co-workers and friends was taken out of context, and we regret that this unauthorized communication occurred. Ms. Fredericks did not formally apply for the open position and as a result, was not interviewed.”