Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Medical Informatics

Date Submitted: May 31, 2026
Date Accepted: Sep 30, 2026

The final, peer-reviewed published version of this preprint can be found here:

Machine Learning–Based Detection of Prophylactic Indication Mentions for Stress-Related Mucosal Disease in Chinese Clinical Progress Notes: Text Classification Study

Jiang W, Wang S, Liang H, Xu L, Hu J

Machine Learning–Based Detection of Prophylactic Indication Mentions for Stress-Related Mucosal Disease in Chinese Clinical Progress Notes: Text Classification Study

JMIR Med Inform 2026;14:e103192

DOI: 10.2196/103192

PMID: 42970760

Machine Learning-Based Detection of Prophylactic Indication Mentions for Stress-Related Mucosal Disease in Chinese Clinical Progress Notes: A Text Classification Study

  • Wei Jiang; 
  • Shuo Wang; 
  • Haonan Liang; 
  • Luyao Xu; 
  • Jie Hu

ABSTRACT

Background:

Machine learning has been extensively applied in medical prediction; however, existing machine-assisted pharmacotherapy review systems predominantly rely on structured, codifiable data while neglecting unstructured natural language clinical narratives, thereby allowing latent medication risks to remain undetected.

Objective:

To address the limitations of structured-data-based review, this study proposes and validates a machine learning framework grounded in text classification for the automated identification of "prophylactic" versus "non-prophylactic" medication indications within clinical narratives, thereby assisting in the rationality assessment of prophylactic proton pump inhibitor (PPI) utilization.

Methods:

A total of 3,695 progress notes were independently annotated by two clinical pharmacists to construct a binary dataset for stress-related mucosal disease prophylactic medication indication classification, yielding an inter-annotator agreement Kappa coefficient of 0.8934. Comparative experiments were conducted using traditional machine learning models including logistic regression, support vector machine, random forest, CatBoost, and LightGBM, alongside TextCNN and a Chinese pre-trained BERT model. The dataset was split into training, validation, and test sets on a patient wise basis, and model evaluation was conducted on the independent test set.SHAP analysis was employed to achieve model interpretability and elucidate decision-making processes, ultimately enabling automated rationality assessment of prophylactic proton pump inhibitor administration.

Results:

All models and strategies demonstrated efficacy in medical text classification tasks. The CatBoost models achieved the best overall performance, demonstrating good generalization ability on the independent test set.

Conclusions:

In summary, the text classifier constructed through machine learning and natural language processing effectively extracts prophylactic medication indications for stress-related mucosal disease from unstructured progress notes. Combined with patient-level data partitioning, standardized annotation protocols, and an ethics-compliant framework, this approach provides stable, interpretable, and highly reliable decision support for clinical proton pump inhibitor rationality review.


 Citation

Please cite as:

Jiang W, Wang S, Liang H, Xu L, Hu J

Machine Learning–Based Detection of Prophylactic Indication Mentions for Stress-Related Mucosal Disease in Chinese Clinical Progress Notes: Text Classification Study

JMIR Med Inform 2026;14:e103192

DOI: 10.2196/103192

PMID: 42970760

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.