Annette gave an excellent answer. I just wanted to add the following: Patients, such as diabetics, who have high blood-sugar levels before undergoing hip- or knee-replacement surgery, are at increased risk of developing potentially life-threatening blood clots after surgery.