Context Word: Hospital. 
Question: At the hospital, PersonX tended to PersonY 's wounds as _ was learning to contain an infection. 
Answer: PersonX
At the hospital, PersonX tended to PersonY 's wounds as _ was beginning to grow an infection.