Neural network pattern matching could enable detection of serious disease