A drug that prevents the formation of a clot by inhibiting certain clotting factors.