I'd go the allergy testing route. Being sick from meds is going to be just as bad as the allergies.
I have dogs that can't eat lamb - at all.
Proteins can be just as much an issue as the grains.
After feeding raw for a while to determine what was causing my dogs their issues, we were able to...