Despite relatively standardized surgical procedures, patients undergoing total knee replacement (TKR) surgery differ dramatically in the speed of their recovery. Previous research has suggested a relationship between the experience of pain and sleep…