Interpretable machine learning for identifying cost drivers of inpatient traditional Chinese medicine services in a tertiary hospital in China.
Xi Li, Shouyan Chen, Mei Gong, Changyang Chen, Jia Chen, Jiangping Zhang
School of Public Health, Key Laboratory of Environmental Pollution Monitoring and Disease Control, Ministry of Education, Guizhou Medical University, Guiyang, Guizhou, China. · Guiyang Public Health Treatment Center, Guiyang, Guizhou, China.
Key points
From the paper's conclusion- These findings support refined cost accounting and standardized management of TCM treatment items.
Abstract
BACKGROUND: Inpatient traditional Chinese medicine (TCM) costs are an important component of hospital expenditure in China, yet their cost structure and drivers remain poorly characterized. This study aimed to identify the drivers of total TCM cost among inpatients in the TCM department of a tertiary hospital using interpretable machine learning. METHODS: This retrospective study used 1,532 de-identified inpatient records (2023-2025) from the TCM department of a tertiary hospital in Guiyang, China. Because the model includes cost-component variables (the total cost of TCM treatment items and the total cost of Chinese herbal medicines) as predictors, it is framed explicitly as a cost-structure explanatory model rather than a prospective prediction model, and its explanatory power partly reflects these cost components. Because the outcome was right-skewed, total TCM cost was log(1 + x)-transformed. Seven algorithms (linear, ridge, lasso, elastic net, decision tree, random forest and XGBoost regression) were compared using repeated 5-fold cross-validation (5 repeats) and an independent 8:2 hold-out test set. Model performance was assessed by RMSE, MAE and R2 , and permutation importance and Shapley additive explanations (SHAP) quantified variable contributions. RESULTS: The cohort had a median age of 61 years and 61.4% female patients; the median total TCM cost was 3,446.72 yuan (IQR 1,616.00-5,324.05). The random forest achieved the best performance (test R2 = 0.820 on the log scale; back-transformed RMSE = 1,408.6 yuan, R2 = 0.746), outperforming XGBoost and all regularized linear models. Permutation importance and SHAP consistently ranked the total cost of TCM treatment items, length of hospital stay and the total cost of Chinese herbal medicines as the three leading predictors (approximately 81% of the total SHAP importance), whereas demographic and clinical factors contributed little. CONCLUSION: The total cost of TCM treatment items is the dominant driver of total TCM cost, followed by length of hospital stay and the cost of Chinese herbal medicines. These findings support refined cost accounting and standardized management of TCM treatment items. The reported contributions reflect associations within the model rather than causal effects; given the single-center design and internal validation only, multicenter external validation and admission-stage models are required before any clinical or administrative use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An interpretable machine-learning model for Traditional Chinese Medicine syndrome differentiation in ischemic stroke using integrated disease-syndrome features.Frontiers in pharmacology · 2026
- An interpretable prediction model for non-invasive identification of the phlegm-dampness constitution based on machine learning.Frontiers in endocrinology · 2026
- Association of adjunctive traditional Chinese medicine injections with 90-day readmission and mortality after ischemic stroke: a real-world evidence study incorporating machine learningFrontiers in Pharmacology · 2026
- Learning from Expert-Corrected Misdiagnoses: A Self-Evolving Consultation Agent for Traditional Chinese Medicine after Failed TreatmentarXiv · 2026
- Artificial intelligence models Traditional Chinese Medicine principles to integrate with biomedicine.iMeta · 2026
- Digitally Assisted Clinical Decision-Making in Traditional Chinese Medicine: Comparative Study of 5 Large Language ModelsJMIR Formative Research · 2025