Reconstructive and cosmetic surgery with fitting of a prosthesis