Is there a classification scheme for allergens, a classification scheme for drugs, and a federal (or other) database which connects the classes of drugs to the (contra-indicated) classes of allergens?
Example: If I report I'm allergic to Penicillin, it's pretty obvious that I shouldn't be prescribed Penicillin. However, there are a number of related contra-indicated drugs (Amoxycillin, Augmentin, etc.) whose name doesn't necessarily contain the word "Penicillin", but which are derived from penicillin, and which likely shouldn't be prescribed to me. And there may be other classes of drugs that aren't necessarily directly derived from Penicillin that shouldn't be given to someone that's allergic to it. How do you identify those drugs, particularly if you want to do so automatically (such as in an automated contra-indication checking system)?