The Impact of Patient and Surgical Factors on the Rate of Postoperative Infection After Total Hip Arthroplasty-A New Zealand Joint Registry Study.