This study will evaluate if extended therapy with oral rivaroxaban can prevent blood clots in the leg and lung that can occur with patients hospitalized for acute medical illness, and compare these results with those of the standard enoxaparin dose and duration regimen. The safety of rivaroxaban will also be studied.