FDA Therapeutic Equivalency (TE) codes determine whether generic drugs can legally be substituted for brand-name drugs. These codes, published in the Orange Book, are enforced by state laws and impact millions of prescriptions annually.