Context Word: procedure. 
Question: PersonX underwent the medical procedure performed by PersonY, and _ got through the procedure with flying colors. 
Answer: PersonX
PersonX underwent the medical procedure performed by PersonY, and _ performed the procedure with flying colors.