Temporal graph-based convolutional neural networks for electronic health records