Check with a local injury lawyer (try David Lowe in Milwaukee, he handles med mal and injury cases). I can only guess that if it is a different drug, they should not have done that. If it was the same drug, but a generic version, that could be possibly ok. Check for sure with a local atty. If you stopped taking it right away, and havent suffered much injury, it may be a tough case to pursue.
If the pharmacy switched you to an entirely different medication without clearing it with your doctor, they could be liable. If they gave you a generic version and has the approval for generic on the subscription they I don't see much of a case here. The damages are not very large. Of course check with a local medical malpractice attorney for a free case evaluation to fully explore this situation.
Sign up to receive a 3-part series of useful information and advice about personal injury law.