Learning to spot the signs of a heart attack