Surgery

All are predisposing causes of cerebral venous thrombosis except: