A new artificial intelligence tool is able to scour GP records to identify people who don't realise they have a heart condition that could lead to a stroke.