The effect of body mass index on the risk of post-operative complications during the 6 months following total hip replacement or total knee replacement surgery