The FDA uses therapeutic equivalence codes in the Orange Book to determine which generic drugs can be safely substituted for brand-name medications. Learn how AB and B codes work, why they matter, and what you should know as a patient.