Abstract
Large language models (LLMs) have shown strong potential for clinical decision support through their advanced language understanding and reasoning capabilities. However, their application to Chinese clinical medication recommendation remains largely unexplored. Existing approaches are primarily developed on English electronic health record datasets and focus on coarse-grained medication code prediction, offering limited support for interpretable clinical decision-making. In this work, we propose MediRec, an explainable LLM-based framework for Chinese medication recommendation from electronic health records. MediRec combines clinically grounded reasoning-chain distillation with reinforcement learning to improve both recommendation accuracy and interpretability. Comprehensive experiments on a Chinese medication recommendation benchmark show that MediRec achieves strong performance, with an F1 score of 0.5813 and a Jaccard score of 0.4626. Further analyses indicate that MediRec generates clinically plausible recommendations with transparent reasoning, demonstrating its effectiveness for explainable medication decision support in Chinese healthcare settings.