Deep vein thombosis occurs most commonly after -
The factors which result in increased risk of venous thrombosis include advancing age and greater complexity of surgical treatment. Orthopedic operations on the lower limbs (hip and knee replacements) are especially likely to result in venous thrombosis." - Bailey & Love