How artificial intelligence is making diagnosis faster and more accurate