So FB could have shown compassion and spared her job because she is pregnant... but can they legally do so, without being exposed to lawsuits?
The article doesn't mention severance. Seems to me that a generous severance is the right solution here.
Given how tied pregnancy care is to a primary provider, and how health professionals (and the scheduled "give birth at this place with this team") are tied to your specific insurance brand and networks, this puts the woman in a particularly bad spot.
Per the actual lede of the story: "[The mother] said she is looking forward to enjoying the end of her pregnancy and the beginning of motherhood."
So "it depends"