Testing three genes could prevent 75% of adverse drug reactions