Bad experience at work

Meet

Hi frndzz.. where i am working , sometimes we need to come in close contact with chemicals .. today when my supervisor told me to do that thing , i refused and said it is not good for me becoz i am pregnant .. she got angry and said to take doctors note from next time and told me to leave .. is it good for her for being so rude to a pregnant worker ???