Arthroplasty is surgery done to reconstruct or replace a diseased joint. For rheumatoid arthritis, arthroplasty is done to restore function to a joint or correct a deformity. Bones in a joint can be reshaped. Or all or part of the joint can be replaced with metal, ceramic, or plastic parts.