The purposes of this study were to identify nocturnal patterns of heart rate ( HR ) in depressed and nondepressed patients after an acute myocardial infarction ( MI ) and to determine which patterns , if any , are associated with all-cause mortality or recurrent infarction .