I have used erythromycin and clarithromycin to potentiate fentanyl,both worked as well(clarithromycin more),but the thing is that you have to wait for some hours to feel it.Some anti-biotics are CYP3A4 inhibitors,so they do the job.It's as you said like the grapefruit juice,but they're stronger than it.I can't tell you for sure,because codeine may work through another way,but i think that they use similar ways.I've try grapef.j and simitidine and they didn't work as well as i was expacted.Erythromycin and clarithromycin more,worked great(But not quickly).I don't think that they gave you doxycycline to potent the codeine,they gave it to you to avoid an infection,but maybe it potentiates codeine too,as a side-effect(hope i write it right..).I wish i help you,have a nice recovery...
MartinFn