There are risks associated with any type of surgery, including the risk of developing a blood clot while recovering in the hospital. Doctors may prescribe blood thinners or use special devices to help patients prevent clots, but these steps don't always ensure clots will not form.