Patients who receive a diagnosis of coronary heart disease are at higher risk for cognitive decline later on, a new study shows.