Context Word: medicine. 
Question: At the visit to the hospital, PersonX got checked up and was prescribed medicine by PersonY because _ was the patient. 
Answer: PersonX
At the visit to the hospital, PersonX got checked up and was prescribed medicine by PersonY because _ was the doctor.