The effectiveness of Xarelto was compared with that of enoxaparin (another medicine that prevents the blood from clotting) in three main studies, two with patients undergoing hip replacement surgery and one with patients undergoing knee replacement surgery.