All patients received 40 mg of enoxaparin 12 hours prior to surgery and on the operating day , and then they received either 10 mg of rivaroxaban ( 40 patients ) , 220 mg of dabigatran ( 42 patients ) or 40 mng of enoxaparin ( 39 patients ) .