Видимо, нужно восстановить прямую речь.
The old man told the doctor that he had pain in his right side.
Предложение с прямой речью:
The old man said to the doctor, "I have pain in my right side".