I find it hard to believe that your health insurer informed your employer about a prescribed medication. That would be a serious violation of federal law and most insurers are careful about compliance. More likely your employer found out some other way, or fired you for a different reason.