Generally speaking, medications taken during pregnancy and whilst breastfeeding are deemed safe with encapsulation. However I always suggest you discuss this with your care provider.
I have provided this service – without any ill effects – to women on medications such as thyroxine, anti-depressants, aspirin, steroids, antibiotics and metformin.