Less than 40 percent of people who have high cholesterol levels are taking the right medications, according to a national study.