1.西安交通大学第一附属医院药学部,西安 710061
2.西北妇女儿童医院药剂科,西安 710061
Received:14 September 2025,
Revised:2025-10-16,
Accepted:05 December 2025,
Published:30 December 2025
移动端阅览
范园园,王丰,曾攀科,等.基于两阶段自适应阈值集成学习算法的门诊患者及时取药预测模型研究 Δ[J].中国药房,2025,36(24):3118-3124.
FAN Yuanyuan,WANG Feng,ZENG Panke,et al.Research on the timely medication retrieval prediction model for outpatients based on a two-stage adaptive threshold ensemble learning algorithm[J].ZHONGGUO YAOFANG,2025,36(24):3118-3124.
范园园,王丰,曾攀科,等.基于两阶段自适应阈值集成学习算法的门诊患者及时取药预测模型研究 Δ[J].中国药房,2025,36(24):3118-3124. DOI: 10.6039/j.issn.1001-0408.2025.24.18.
FAN Yuanyuan,WANG Feng,ZENG Panke,et al.Research on the timely medication retrieval prediction model for outpatients based on a two-stage adaptive threshold ensemble learning algorithm[J].ZHONGGUO YAOFANG,2025,36(24):3118-3124. DOI: 10.6039/j.issn.1001-0408.2025.24.18.
目的
2
构建门诊患者及时取药预测模型,精准识别延迟取药的高风险患者,为智慧药房差异化报到策略的制定与资源优化配置提供数据支撑。
方法
2
基于西安交通大学第一附属医院2025年1-3月的680 568条门诊有效处方数据,先通过K均值聚类算法(K-means)与高斯混合模型(GMM)进行双聚类分析,结合轮廓系数择优确定取药时间差自适应阈值,以此划分“及时取药”与“延迟取药”,构建二元目标变量;通过多方法融合的策略筛选六大类特征;从区分度、整体性能与校准度3个维度对6种基学习器和4种集成学习模型进行性能评估,并开展模型解释性分析。
结果
2
双聚类分析结果显示,GMM的轮廓系数优于K-means(0.702 4 vs. 0.698 8),最终确定的自适应阈值为49.82 min。纳入处方中,有74.99%的处方为及时取药,25.01%为延迟取药。10个候选模型中,堆叠集成(Stacking)模型表现最优,测试集曲线下面积为0.954 4、F1分数为0.942 4、准确率为0.911 5、Brier分数为0.066,区分度与校准度俱佳。模型解释性分析结果显示,模型的预测受患者历史行为、诊断相关特征等多因素共同驱动。
结论
2
本研究构建了基于两阶段自适应阈值集成学习算法的门诊患者及时取药预测模型,其精准度与稳定性较高,可实现对患者取药行为的动态判定。
OBJECTIVE
2
To construct a predictive model for timely medication retrieval of outpatients, accurately identify high-risk patients with delayed medication retrieval, and provide data support for the development of differentiated registration strategies and resource optimization allocation in smart pharmacies.
METHODS
2
Based on 680 568 valid outpatient prescription records from January to March 2025 at the First Affiliated Hospital of Xi’an Jiaotong University, a dual-clustering analysis was conducted using K-means algorithm and Gaussian mixture model (GMM). An adaptive threshold for medication retrieval time difference was determined by combining contour coefficients, and “timely medication retrieval” and “delayed medication retrieval” were divided to construct binary objective variables; six types of features were screened through a multi-method fusion strategy; the performance of 6 kinds of base learners and 4 kinds of ensemble learning models were evaluated from three dimensions: discrimination, overall performance, and calibration, and explanatory analysis of the models were conducted.
RESULTS
2
The results of the dual-clustering analysis showed that the silhouette coefficient of GMM was better than K-means (0.702 4 vs. 0.698 8), and the final adaptive threshold was determined to be 49.82 min. Among the prescriptions included, 74.99% were for timely medication retrieval and 25.01% were for delayed medication retrieval. Among the 10 candidate models, the Stacking model performed the best, with an area under the test set curve of 0.954 4, F1 score of 0.942 4, accuracy of 0.911 5, Brier score of 0.066, and good discrimination and calibration. The explanatory analysis results of the model showed that its predictions were driven by multiple factors such as patient historical behavior, and diagnostic related characteristics.
CONCLUSION
2
This study constructed a timely medication retrieval prediction model for outpatients based on a two-stage adaptive threshold ensemble learning algorithm, which has high accuracy and stability, and can achieve dynamic judgment of patient medication retrieval behavior.
王哲 . 基于闭环管理改造模式下的门诊药房管理系统对提高患者取药高峰时间段发药质量与缩短等候时间的影响 [J ] . 抗感染药学 , 2021 , 18 ( 5 ): 752 - 755 .
冀杨 , 张丁元 , 王晨 , 等 . 北京市属医院门诊窗口服务现状、问题及对策研究 [J ] . 中国医院 , 2025 , 29 ( 8 ): 6 - 8 .
白晶 . 智慧门诊建设流程优化之智能药房二次报到的效果分析 [J ] . 科技资讯 , 2020 , 18 ( 19 ): 36 - 38 .
叶微微 , 尉雯雯 , 李桂祥 . 药房自动化系统中门诊流程的优化和应用 [J ] . 中国数字医学 , 2017 , 12 ( 12 ): 85 - 87 .
吕建祎 , 王纯熙 , 刘思成 , 等 . 人工智能在生物医学研究中的应用 [J ] . 中国比较医学杂志 , 2025 , 35 ( 7 ): 169 - 176 .
杨晓雯 . 人工智能视域下的医护科研人员知识服务 [J ] . 图书馆论坛 , 2024 , 44 ( 7 ): 101 - 109 .
RHUDY C , JOHNSON J , PERRY C , et al . Machine lear-ning approaches to predicting medication nonadherence:a scoping review [J ] . Int J Med Inform , 2025 , 204 : 106082 .
LI X N , CHAO T , MA P , et al . An improved variational adaptive CKF based on the Gaussian mixture model for abnormal observation and modeling uncertainty [J ] . Meas Sci Technol , 2025 , 36 ( 8 ): 086102 .
孟元 , 张轶哲 , 张功萱 , 等 . 基于特征类内紧凑性的不平衡医学图像分类方法 [J ] . 南京大学学报(自然科学) , 2023 , 59 ( 4 ): 580 - 589 .
樊丽娟 , 张智琪 , 程晓军 , 等 . 机器学习辅助处方合理性预测模型在围手术期合理用药管理中的应用 [J ] . 药物流行病学杂志 , 2024 , 33 ( 11 ): 1219 - 1228 .
齐睿娟 , 王应楷 , 杨婧 , 等 . 基于SARIMA-LSTM组合模型构建抗过敏滴眼液消耗量预测模型 [J ] . 医学信息学杂志 , 2025 , 46 ( 7 ): 59 - 65 .
ALOTAIBI A . Ensemble deep learning approaches in health care:a review [J ] . Comput Mater Continua , 2025 , 82 ( 3 ): 3741 - 3771 .
GU Y Q , ZALKIKAR A , LIU M M , et al . Predicting medication adherence using ensemble learning and deep lear-ning models with large scale healthcare data [J ] . Sci Rep , 2021 , 11 ( 1 ): 18961 .
房春丽 , 赖沛伦 , 彭怡 , 等 . 品管圈在缩短门诊药房高峰期患者取药等候时间的应用和效果评价 [J ] . 中国药物滥用防治杂志 , 2022 , 28 ( 2 ): 245 - 250 .
FÖRSTEL M , HAAS O , FÖRSTEL S , et al . A systematic review of features forecasting patient arrival numbers [J ] . Comput Inform Nurs , 2025 , 43 ( 1 ): e01197 .
姜文彬 , 姜永梅 , 高玉芳 , 等 . 基于KANO模型的门诊患者全方位全流程服务管理可行性分析 [J ] . 中国医院管理 , 2024 , 44 ( 5 ): 5 - 9 .
郑露华 . 信息化管理在门诊预配排队取药系统流程改造中的应用 [J ] . 中医药管理杂志 , 2021 , 29 ( 16 ): 174 - 175 .
0
Views
0
下载量
0
CSCD
Publicity Resources
Related Articles
Related Author
Related Institution
京公网安备11010802024621
