Dual-level diagnostic feature learning with recurrent neural networks for treatment sequence recommendation