INTEMed Source code for Personalizing Medication Recommendation with Integrating Historical Records. Related code and data will be published after review.