Thanks for popping over Boo , nice to see you - I hope you find this board helpful
Allie - deffinitely tell your doc about this as it is imparing your quality of life. The problem could be caused by your meds , or , it could be anticipatory anxiety - you are worried that you are going to gag therefore you do. If it is anxiety you could try CBT to change the way you think about eating , pill taking , etc.... if you would like an online CBT course I will post you the link.
Let us know what you find out , take care ,