This application relates to a compound of formula (I) (or a
pharmaceutically acceptable salt of the compound or prodrug thereof) as
defined herein, pharmaceutical compositions thereof, and its use as an
inhibitor of factor Xa and/or thrombin, as well as a process for its
preparation and intermediates therefor. An example of a compound of
formula (I) is (a). ##STR00001##