Survival Neural Networks for Time-to-event Prediction in Longitudinal Study