If you are allergic to codeine would you be allergic to Cefazolin?

there's no relationship between the two.