Ralph is admitted with chest pain and is having a series of cardiac tests to determine whether or not he is having a myocardial infarction (MI). Although the enzyme levels are negative, Ralph will be headed for an angiogram in the morning. In the meantime, he is started on a heparin IV. What is the purpose of this medication in Ralph’s situation?