A total of @ patients scheduled for elective total hip replacement were randomly assigned into the short-term ( n = @ ) or long-term ( n = @ ) thromboprophylaxis groups on oral rivaroxaban @ mg once daily for @ or @ days .