Medical complications in hip joint arthroplasty in elderly patients