Risk of venous thrombosis in patients with major illnesses: results from the MEGA study