A surgical treatment method in which the affected joint is replaced with an artificial prosthesis during the operation. Endoprostheses can be installed in any joint.