Treatment planning for tissue integrated prosthesis.