Sorry I am a bit lost here.
Your boss can't tell you who can and can't tell your pregnant and at 20 weeks most people can tell that you are.
. You need to leave one way or the other for both your and the kids of your class benefit.
As for Husband I am sure he just wants what is best for you and your baby.
Have a chat to your boss again and than see a Dr if needed.