Tylenol with codeine

Jaime
Hello!! Today I had a tooth pulled and was prescribed Tylenol with codeine to help with the pain. I was wondering if anyone else has taken this medication while being pregnant? I am 16 weeks, and the pharmacist said it was ok and safe, just wanted other soon to be mom's or mom's input... thank you!!