There are several chemically different classes of opioids, so if you have a true allergy, you can get a chemically unrelated alternative.