Intraoperative and postoperative complications in total hip prosthesis