When Machines Learn to Heal