Periprosthetic fractures of the femur: the stability of the implant dictates the type of treatment