Early mobilization, leg elevation, and an anticoagulant are the recommended preventive measures; patients who should not receive anticoagulants may benefit from intermittent pneumatic compression devices or elastic stockings.