Design of an affordable, modular implant device for soft tissue tension assessment and range of motion tracking during total hip arthroplasty