Deep learning techniques for electronic health record analysis