Periprosthetic joint infection increases the risk of one-year mortality.