Patients who cannot walk independently, and who are at greatest risk of DVT will be invited to join the study. If they agree they will be randomly allocated to having routine care plus IPC or just routine care. Patient in both groups will have routine ultrasound scans on their legs to detect DVTs. The study will establish whether IPC reduces the risk of DVT. This result could improve the outcome of many thousands of patients each year.