Hyperemisis

I was diagnosed with hyperemisis in my 7th week and they prescribed me Zofran. Is that safe for the baby?