Context Word: disease. 
Question: PersonX helped to cure PersonY's disease, so _ was thanked for being a good doctor. 
Answer: PersonX
PersonX helped to cure PersonY's disease, so _ gave thanks for having a good doctor.