the invention relates to a new class of compounds , their pharmaceutically acceptable salts and pharmaceutically acceptable compositions that are effective as selective inhibitors of factor xa , both in the isolated state and in a complex with other proteins . the compounds of the invention can be used for treating and preventing diseases , such as acute coronary syndrome , myocardial infarction , unstable angina , refractory angina , thromboses caused by post - thrombolytic therapy or coronary angioplasty , acute ischemia mediated cerebrovascular syndrome , embolic stroke , thrombotic stroke , and other diseases in humans and other mammals associated with blood coagulation problems .