<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id><journal-id journal-id-type="publisher-id">medinform</journal-id><journal-id journal-id-type="index">7</journal-id><journal-title>JMIR Medical Informatics</journal-title><abbrev-journal-title>JMIR Med Inform</abbrev-journal-title><issn pub-type="epub">2291-9694</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v14i1e103192</article-id><article-id pub-id-type="doi">10.2196/103192</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Machine Learning&#x2013;Based Detection of Prophylactic Indication Mentions for Stress-Related Mucosal Disease in Chinese Clinical Progress Notes: Text Classification Study</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Jiang</surname><given-names>Wei</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Wang</surname><given-names>Shuo</given-names></name><degrees>MB</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Liang</surname><given-names>Haonan</given-names></name><degrees>BSc</degrees><xref ref-type="aff" rid="aff3">3</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Xu</surname><given-names>Luyao</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Hu</surname><given-names>Jie</given-names></name><degrees>MSc</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Pharmacy, Quzhou People's Hospital, The Quzhou Affiliated Hospital, Wenzhou Medical University</institution><addr-line>100 Minjiang Avenue</addr-line><addr-line>Quzhou</addr-line><addr-line>Zhejiang</addr-line><country>China</country></aff><aff id="aff2"><institution>Department of Pharmacy, Yidu Central Hospital of Weifang</institution><addr-line>Weifang</addr-line><addr-line>Shandong</addr-line><country>China</country></aff><aff id="aff3"><institution>Department of Pharmacy, Rongcheng City People's Hospital</institution><addr-line>Rongcheng</addr-line><addr-line>Shandong</addr-line><country>China</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Sen</surname><given-names>Anando</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Bolourchi</surname><given-names>Pouya</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Zeng</surname><given-names>Qingcheng</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Jie Hu, MSc, Department of Pharmacy, Quzhou People's Hospital, The Quzhou Affiliated Hospital, Wenzhou Medical University, 100 Minjiang Avenue, Quzhou, Zhejiang, China, 86 0570 3121128; <email>hj454299018@wmu.edu.cn</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>2</day><month>11</month><year>2026</year></pub-date><volume>14</volume><elocation-id>e103192</elocation-id><history><date date-type="received"><day>31</day><month>05</month><year>2026</year></date><date date-type="rev-recd"><day>21</day><month>09</month><year>2026</year></date><date date-type="accepted"><day>30</day><month>09</month><year>2026</year></date></history><copyright-statement>&#x00A9; Wei Jiang, Shuo Wang, Haonan Liang, Luyao Xu, Jie Hu. Originally published in JMIR Medical Informatics (<ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org">https://medinform.jmir.org</ext-link>), 2.11.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://medinform.jmir.org/">https://medinform.jmir.org/</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://medinform.jmir.org/2026/1/e103192"/><abstract><sec><title>Background</title><p>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.</p></sec><sec><title>Objective</title><p>To address the limitations of structured data&#x2013;based review, this study proposes and validates a machine learning framework grounded in text classification for the automated identification of &#x201C;prophylactic&#x201D; vs &#x201C;nonprophylactic&#x201D; medication indications within clinical narratives. As a result, it aims to assist in the automated detection of prophylactic indication mentions for stress-related mucosal disease in clinical narratives as a preliminary step toward comprehensive medication-use review.</p></sec><sec sec-type="methods"><title>Methods</title><p>A total of 3695 progress notes were independently annotated by 2 clinical pharmacists to construct a binary dataset for classifying prophylactic medication indication for stress-related mucosal disease, yielding an interannotator agreement &#x03BA; 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 pretrained 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 (Shapley additive explanations) analysis was used to achieve model interpretability and elucidate decision-making processes, ultimately enabling automated indication detection of prophylactic proton pump inhibitor administration.</p></sec><sec sec-type="results"><title>Results</title><p>All models and strategies demonstrated efficacy in medical text classification tasks. In a single-center cohort of 66 patients (3695 notes, 11.0% positive), the CatBoost model with balanced class weights achieved a note-level <italic>F</italic><sub><italic>1</italic></sub>-score of 0.727 (precision=0.693; recall=0.765) and a patient-level <italic>F</italic><sub>1</sub>-score of 0.889 (precision=0.800; recall=1.000) on the independent test set. At the note level, CatBoost achieved a higher <italic>F</italic><sub>1</sub>-score than TextCNN (<italic>F</italic><sub>1</sub>-score=0.718) and BERT (<italic>F</italic><sub>1</sub>-score=0.628).</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>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 an interpretable preliminary screening tool for identifying potential prophylactic indications to support subsequent pharmacist adjudication.</p></sec><sec><title>Trial Registration</title><p>Chinese Clinical Trial Registry ChiCTR2600126317; https://tinyurl.com/yjzjd443</p></sec></abstract><kwd-group><kwd>natural language processing</kwd><kwd>NLP</kwd><kwd>text classifier</kwd><kwd>stress-related mucosal disease</kwd><kwd>SRMD</kwd><kwd>algorithm</kwd><kwd>prophylactic indication detection</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><sec id="s1-1"><title>Background</title><p>Stress-related mucosal disease (SRMD) is a superficial lesion most commonly observed in the acid-producing regions of the gastric mucosa; in the intensive care unit, its predisposing factors include prolonged mechanical ventilation, coagulation disorders, shock, severe trauma, surgery, burns, and multiple organ failure [<xref ref-type="bibr" rid="ref1">1</xref>]. Proton pump inhibitors (PPIs) are frequently used for both prophylaxis and treatment of SRMD; however, these agents are often prescribed beyond approved indications or for conditions with limited therapeutic benefit, rendering the issue of PPI overuse a matter of considerable clinical concern [<xref ref-type="bibr" rid="ref2">2</xref>-<xref ref-type="bibr" rid="ref4">4</xref>].</p><p>Prescribing errors and adverse drug events are associated with substantial morbidity and mortality and contribute substantially to avoidable health care resource waste and unnecessary medical expenditure. It is widely recognized that although individual operational errors constitute the immediate precipitating factors for prescribing errors and adverse drug events, their fundamental etiology lies in systemic failures of computerized health information systems [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref6">6</xref>]. In 2010, the Ministry of Health of the People&#x2019;s Republic of China promulgated the &#x201C;Hospital Prescription Review Management Standards (Trial),&#x201D; [<xref ref-type="bibr" rid="ref7">7</xref>] which mandated that hospitals arrange trained pharmacists to conduct random sampling reviews of at least 100 prescriptions monthly. Nevertheless, current review practices are constrained by limited scope of inspection and delayed regulatory oversight [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>].</p><p>Electronic health records (EHRs) constitute comprehensive archival systems that document patients&#x2019; health status across multiple dimensions, encompassing medical history, therapeutic interventions, and diagnostic outcomes. EHR coding typically comprises 3 distinct datasets: diagnostic, procedural, and medication domains [<xref ref-type="bibr" rid="ref10">10</xref>]. In addition to coded structured data, EHRs commonly retain electronic medical record (EMR) information rendered in natural language, such as progress notes. Certain medication indications are frequently embedded within these unstructured natural language texts, the extraction of which typically necessitates manual mining by clinical pharmacists. Although several hospitals have implemented knowledge-based approaches for prescription appropriateness screening, the review data sources for such methods are predominantly derived from structured coded data within EHRs, with insufficient use of critical features contained in natural language EMR narratives [<xref ref-type="bibr" rid="ref11">11</xref>-<xref ref-type="bibr" rid="ref13">13</xref>].</p><p>Machine learning systems autonomously formulate rules during the training process based on empirical data, thereby achieving generalization from previously learned datasets. Empirical evidence has demonstrated that the integration of health care and machine learning enhances patient care quality, improves operational efficiency within the medical industry, and reduces costs, ultimately facilitating the development of more intelligent, rapid, and efficient health care systems [<xref ref-type="bibr" rid="ref14">14</xref>]. Existing reviews have indicated that the integration of AI tools such as machine learning into hospital clinical pharmacy practice holds substantial potential for application value and developmental prospects [<xref ref-type="bibr" rid="ref15">15</xref>].</p></sec><sec id="s1-2"><title>Aim of This Study</title><p>This study aims to use machine learning methodologies through a binary text classification approach to identify potential SRMD characteristics within EMRs, determining whether prophylactic indications for SRMD are present in clinical narratives, thereby assisting pharmacists in detecting mentions of these potential indications within EMR progress notes. It should be emphasized that this study constitutes indication mention detection rather than comprehensive rational-use review; the latter would additionally require linkage to actual medication orders, dosing, and pharmacist adjudication.</p></sec></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Study Design, Data Source, and Annotation</title><p>EMRs of patients receiving PPIs were collected and analyzed segment by segment, yielding a total of 3695 records. A manual annotation approach was used, with records meeting prophylactic medication criteria for SRMD designated as 1 and those without such characteristics designated as 0. The inclusion criteria explicitly required the presence of any of the following fourteen items in the text: (1) mechanical ventilation exceeding 48 hours or extracorporeal life support, (2) coagulation disorders or antiplatelet therapy, (3) history of gastrointestinal ulceration or hemorrhage, (4) severe craniocerebral or cervical spinal cord trauma, (5) severe burns, (6) severe trauma or multiple injuries, (7) surgical procedures exceeding 3 hours, (8) acute renal failure or renal replacement therapy, (9) chronic hepatic disease or acute hepatic failure, (10) acute respiratory distress syndrome, (11) shock or sustained hypotension, (12) sepsis, (13) cerebrovascular or cardiovascular accidents, or (14) severe psychological stress. These criteria were derived from the &#x201C;Guiding Principles for Clinical Application of Proton Pump Inhibitors (2020 Edition)&#x201D; issued by the National Health Commission of the People&#x2019;s Republic of China [<xref ref-type="bibr" rid="ref16">16</xref>].</p></sec><sec id="s2-2"><title>Ethical Considerations</title><p>This study was reviewed and approved by the Medical Ethics Review Committee of Quzhou People's Hospital; The Quzhou Affiliated Hospital, Wenzhou Medical University (approval number: 2026&#x2010;010; approval date: January 7, 2026) and was registered on the Chinese Medical Research Registration and Filing Information Platform (filing number: MR-33-26-002512; registration number: ChiCTR2600126317).</p><p>This was a retrospective secondary analysis of existing EMR data. The original records were generated as part of routine clinical care rather than for research purposes. The requirement for informed consent was waived by the ethics committee because the study involved no contact with participants and used only deidentified data; the ethics committee approved the secondary analysis without additional informed consent. No compensation was provided, as this was a retrospective analysis of routinely collected clinical data with no participant contact.</p><p>All records were deidentified before annotation and analysis: directly identifying information (eg, names, medical record numbers, and identification numbers) was removed, and each patient was assigned a coded identifier. The datasets used for modeling therefore contained no information capable of identifying individual patients, and access to the source data was restricted to authorized study personnel. All procedures were performed in accordance with the Declaration of Helsinki and relevant institutional guidelines.</p><p>No images or materials in this manuscript or its supplementary files permit the identification of individual participants; all figures are aggregate statistical graphics, and the clinical note excerpts quoted in the error analysis were deidentified and contain no information from which any individual could be identified. This manuscript does not contain any individual person's data, images, or videos that would require consent for publication.</p></sec><sec id="s2-3"><title>Dataset Partitioning and Term Frequency&#x2013;Inverse Document Frequency Vectorization</title><p>The collected records were randomly partitioned into training, validation, and test sets at a ratio of 7:1.5:1.5, with all records from individual patients allocated exclusively to a single data subset. After splitting, the 3 subsets were saved as separate files. To prevent data leakage, term frequency&#x2013;inverse document frequency (TF-IDF) vectorization was performed in a strictly leakage-free manner: the vectorizer was fitted exclusively on the training set using the specified parameters (n-gram range 1&#x2010;2, min_df=2, max_df=0.9, sublinear_tf=True). The fitted vectorizer was then used to transform the validation and test sets (without refitting), ensuring that no test-set frequency information influenced the feature representation and that all subsets shared an identical vocabulary space.</p></sec><sec id="s2-4"><title>Model Training, Threshold Selection, and Cross-Validation</title><p>During the model training phase, only the training and validation set files were loaded. The optimal classification threshold was determined by selecting the decision threshold that maximized the positive class <italic>F</italic><sub>1</sub>-score on the validation set, and this threshold was fixed in a configuration file for use during the testing phase. The test set file was read only once by an independent inference script in the final evaluation stage, ensuring that the test data did not participate in model construction or optimization in any form.</p><p>Because the independent test set was reserved for final evaluation, repeated stratified group 5-fold cross-validation (5 independent repeats, 25 total iterations) was performed on the 56 patients in the training and validation sets. In each outer iteration, the training fold was further partitioned into inner-training and inner-validation portions on a patient-wise basis (stratified by the presence of positive notes). Within each outer training fold, the class-weighting strategy (balanced or 1:5) and key hyperparameters (learning rate, tree depth, and L2 leaf regularization) were reselected by deterministic grid search (24 candidate configurations; up to 1500 iterations with early stopping on the inner-validation <italic>F</italic><sub>1</sub>-score), and the decision threshold was selected by grid search (step=0.01) on the inner-validation portion only. The TF-IDF vectorizer was refitted on the inner-training notes of each fold. Thus, no information from the outer test folds influenced hyperparameter, class-weight, or threshold selection. To quantify uncertainty at the patient level, a cluster bootstrap was applied to the pooled out-of-fold predictions: within each repeat, patients (together with all of their notes) were resampled with replacement 1000 times, and the 95% CIs were averaged across the 5 repeats. The 25 fold-level estimates are reported as descriptive means and SDs.</p></sec><sec id="s2-5"><title>Comparative Experiments and Evaluation Metrics</title><p>The original natural language text records were segmented into words using the third-party Chinese word segmentation Jieba library [<xref ref-type="bibr" rid="ref17">17</xref>]. The Chinese stop-word list was obtained from the open-source repository <italic>cn_stopwords.txt</italic> on GitHub [<xref ref-type="bibr" rid="ref18">18</xref>]. Comparative experiments were subsequently performed using traditional machine learning models (random forest, logistic regression, support vector machine, LightGBM, and CatBoost) alongside deep learning baseline models (TextCNN and the Chinese pretrained model chinese-bert-wwm-ext).</p><p>A comparative strategy between traditional machine learning models and deep learning baseline models was established. The machine learning algorithms were combined with TF-IDF to obtain vector representations of the segmented text [<xref ref-type="bibr" rid="ref19">19</xref>]. The TF-IDF vectorization parameters were configured as follows: n-gram range set to (1,2) to capture both unigrams and bigrams; min_df=2 to exclude terms appearing in fewer than 2 documents; max_df=0.9 to eliminate high-frequency terms present in more than 90% of documents; and sublinear_tf=True to apply logarithmic smoothing to term frequencies. For the traditional machine learning models, class weights and key hyperparameters were tuned with the objective of maximizing the positive-class <italic>F</italic><sub>1</sub>-score on the validation set. The predictive performance of the CatBoost, TextCNN, and BERT models when processing raw text was compared against the TF-IDF&#x2013;based machine learning models. TextCNN adopted a multiscale 1D convolutional architecture, while BERT used hfl/chinese-bert-wwm-ext (12 layers, 768 dimensions). Both models were implemented in PyTorch, and the training objective was to maximize the positive-class <italic>F</italic><sub>1</sub>-score on the validation set. Hyperparameters were automatically determined using Optuna with a tree-structured Parzen estimator sampler. The final hyperparameters for TextCNN were as follows: emb_dim=64, num_filters=200, dropout=0.2, lr=0.001, batch_size=16, max_len=512, and filter_sizes=[2,3,5]. For BERT, the hyperparameters were the following: max_len=128, batch_size=8, lr=1.2551e-05, dropout=0.5, weight_decay=0.06, warmup_ratio=0.15, and epochs=5.</p><p>Meanwhile, within the vector-based modeling framework, the effect of conventional class weight settings was further compared to examine the interference of positive-negative class imbalance on model performance. By comparing the positive-class <italic>F</italic><sub>1</sub>-score, precision-recall area under the curve (PR-AUC), receiver operating characteristic area under the curve (ROC-AUC), and generalization gap of each model on the test set, the modeling effectiveness of different algorithms and text processing strategies for medical text classification tasks was systematically evaluated.</p><p>In addition to note-level metrics, patient-level performance was evaluated to account for the nonindependence of multiple notes contributed by the same patient. A patient was classified as positive if the predicted probability of any of their notes exceeded the threshold, which was determined on the validation set, and the patient-level ground truth was defined as the presence of at least 1 positively annotated note within that patient&#x2019;s records. Patient-level precision, recall, and <italic>F</italic><sub>1</sub>-score were then computed based on these aggregated patient-level predictions, reflecting the clinically relevant unit of analysis for pharmacist screening workflows.</p><p>Model calibration was assessed using the Brier score, with lower values indicating better calibration and predictive performance. A well-calibrated model should have a Brier score close to 0. Decision-curve analysis was performed to evaluate clinical utility across probability thresholds, comparing the net benefit of using the model against the strategies of reviewing all notes (treat-all) or reviewing none (treat-none).</p><p>As a baseline reflecting conventional rule-based screening practice, a rule-based classifier was constructed by translating the 14 guideline inclusion criteria into keyword-matching rules, including regular-expression parsing of operative time stamps for the greater-than-3-hour surgery criterion. Because a rule-based system can only encode terminology observed in previously encountered documents and cannot anticipate future documentation variability, the keyword dictionary was derived from the guideline criteria and the documentation patterns observed in the training corpus. The baseline labeled a note as positive if any rule was triggered and was evaluated on the same independent test set with identical patient-level aggregation.</p></sec><sec id="s2-6"><title>Shapley Additive Explanations&#x2013;Based Model Interpretability and Error Analysis</title><p>Model interpretability was assessed using SHAP (Shapley additive explanations) [<xref ref-type="bibr" rid="ref20">20</xref>]. For the best-performing traditional model (CatBoost with balanced class weights), TreeSHAP (tree-based Shapley additive explanations) values were computed for the independent test set to quantify each feature&#x2019;s contribution to the log-odds of the positive class. Features were ranked by mean absolute SHAP value, and a beeswarm plot was generated to illustrate the direction and magnitude of local effects. For the international readership, the top-ranked Chinese terms were translated into English, and the original Chinese terms are reported alongside their translations in <xref ref-type="table" rid="table1">Table 1</xref>.</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Mapping of top 10 SHAP (Shapley additive explanations) features to guideline-defined stress-related mucosal disease indications. Features are presented in Chinese with their English translations in parentheses.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Feature</td><td align="left" valign="bottom">Guideline match</td><td align="left" valign="bottom">Guideline item</td></tr></thead><tbody><tr><td align="left" valign="top">&#x9AA8;&#x6298; (fracture)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 6</td></tr><tr><td align="left" valign="top">&#x51FA;&#x8840; (bleeding)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 3</td></tr><tr><td align="left" valign="top">&#x635F;&#x4F24; (injury)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 6</td></tr><tr><td align="left" valign="top">&#x6297;&#x51DD; (anticoagulation)</td><td align="left" valign="top">Direct</td><td align="left" valign="top">Item 2</td></tr><tr><td align="left" valign="top">&#x8111;&#x6897;&#x6B7B; (cerebral infarction)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 13</td></tr><tr><td align="left" valign="top">&#x611F;&#x67D3; (infection)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 12</td></tr><tr><td align="left" valign="top">&#x5916;&#x4F24; (trauma)</td><td align="left" valign="top">Direct</td><td align="left" valign="top">Item 6</td></tr><tr><td align="left" valign="top">&#x6297;&#x611F;&#x67D3; (anti-infection)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 12</td></tr><tr><td align="left" valign="top">&#x534A;&#x6708;&#x677F; &#x635F;&#x4F24; (meniscus injury)</td><td align="left" valign="top">Indirect/artifact</td><td align="left" valign="top">Item 6</td></tr><tr><td align="left" valign="top">&#x672F;&#x540E; (postoperative)</td><td align="left" valign="top">Indirect</td><td align="left" valign="top">Item 7</td></tr></tbody></table></table-wrap><p>To determine whether the classifier captured clinically meaningful context or merely relied on surface-level keyword matching, all false-positive and false-negative notes on the independent test set (as determined by the fixed decision threshold) were independently reviewed by 2 clinical pharmacists. Representative cases were selected to illustrate typical failure modes, and the note excerpts are reported in the original Chinese together with English translations.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Dataset Characteristics</title><p>The baseline characteristics of the study cohort are summarized in <xref ref-type="table" rid="table2">Table 2</xref>. The patient-wise split resulted in a balanced distribution of positive notes across subsets (<xref ref-type="table" rid="table3">Table 3</xref>). A total of 3695 paragraphs from inpatient progress notes were enrolled in this study, comprising 407 (11.0%) paragraphs with prophylactic medication indications for SRMD and 3288 (89.0%) paragraphs without such indications. All data were derived from hospital inpatient EMRs. Two clinical pharmacists qualified for prescription review independently annotated all texts, achieving a &#x03BA; of 0.8934; records with annotation discrepancies were resolved through consensus discussion to establish final agreement.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Dataset characteristics at note level and patient level.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Characteristic</td><td align="left" valign="bottom">Value</td></tr></thead><tbody><tr><td align="left" valign="top">Patient-level characteristics (n=66)</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>Age (years), mean (SD)</td><td align="left" valign="top">62.9 (18.0)</td></tr><tr><td align="left" valign="top">&#x2003;Sex, n (%)</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2003;Male</td><td align="left" valign="top">35 (53)</td></tr><tr><td align="left" valign="top"><named-content content-type="indent">&#x00A0;&#x00A0;&#x00A0;&#x00A0;</named-content>&#x2003;Female</td><td align="left" valign="top">31 (47)</td></tr><tr><td align="left" valign="top">&#x2003;Ward type: general ward, n (%)</td><td align="left" valign="top">66 (100)</td></tr><tr><td align="left" valign="top">&#x2003;Patients with &#x2265;1 positive note, n (%)</td><td align="left" valign="top">53 (80)</td></tr><tr><td align="left" valign="top">&#x2003;Patients with all negative notes, n (%)</td><td align="left" valign="top">13 (20)</td></tr><tr><td align="left" valign="top">&#x2003;Total notes per patient, mean (SD)</td><td align="left" valign="top">56.0 (32.0)</td></tr><tr><td align="left" valign="top">&#x2003;Total text length per patient (characters), mean (SD)</td><td align="left" valign="top">5591.2 (4624.3)</td></tr><tr><td align="left" valign="top">Note-level characteristics (n=3695)</td><td align="left" valign="top"/></tr><tr><td align="left" valign="top">&#x2003;Notes with SRMD<sup><xref ref-type="table-fn" rid="table2fn1">a</xref></sup> prophylaxis indication, n (%)</td><td align="left" valign="top">407 (11)</td></tr><tr><td align="left" valign="top">&#x2003;Notes without indication, n (%)</td><td align="left" valign="top">3288 (89)</td></tr><tr><td align="left" valign="top">&#x2003;Average length per note (characters), mean (SD)</td><td align="left" valign="top">99.9 (211.1)<sup><xref ref-type="table-fn" rid="table2fn2">b</xref></sup></td></tr></tbody></table><table-wrap-foot><fn id="table2fn1"><p><sup>a</sup>SRMD: stress-related mucosal disease.</p></fn><fn id="table2fn2"><p><sup>b</sup>The note-level SD reflects high between-patient variability in note length, as notes within the same patient are nonindependent.</p></fn></table-wrap-foot></table-wrap><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Partitioning of patients and notes across training, validation, and test sets.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Characteristic</td><td align="left" valign="bottom">Training set</td><td align="left" valign="bottom">Validation set</td><td align="left" valign="bottom">Test set</td><td align="left" valign="bottom">Total</td></tr></thead><tbody><tr><td align="left" valign="top">Patients, n</td><td align="left" valign="top">46</td><td align="left" valign="top">10</td><td align="left" valign="top">10</td><td align="left" valign="top">66</td></tr><tr><td align="left" valign="top">Notes, n</td><td align="left" valign="top">2558</td><td align="left" valign="top">566</td><td align="left" valign="top">571</td><td align="left" valign="top">3695</td></tr><tr><td align="left" valign="top">Positive notes, n (%)</td><td align="left" valign="top">239 (9.3)</td><td align="left" valign="top">100 (17.7)</td><td align="left" valign="top">68 (11.9)</td><td align="left" valign="top">407 (11.0)</td></tr><tr><td align="left" valign="top">Negative notes, n (%)</td><td align="left" valign="top">2319 (90.7)</td><td align="left" valign="top">466 (82.3)</td><td align="left" valign="top">503 (88.1)</td><td align="left" valign="top">3288 (89.0)</td></tr><tr><td align="left" valign="top">Patients with &#x2265;1 positive note, n (%)</td><td align="left" valign="top">36 (78)</td><td align="left" valign="top">9 (90)</td><td align="left" valign="top">8 (80)</td><td align="left" valign="top">53 (80)</td></tr></tbody></table></table-wrap></sec><sec id="s3-2"><title>Model Performance on the Independent Test Set</title><p>To comprehensively compare the classification performance, generalization ability, and adaptability to class-imbalance sampling strategies of different models on the dataset used in this study, a visual analysis was conducted from the following perspectives: ranking of positive-class <italic>F</italic><sub>1</sub>-score on the test set, generalization error, performance distribution, precision-recall trade-off, and the correspondence between validation and test performance.</p><p>The test set positive-class <italic>F</italic><sub>1</sub>-score rankings and generalization errors for each model and strategy combination are presented in <xref ref-type="fig" rid="figure1">Figure 1A and 1B</xref>, respectively. The CatBoost model based on TF-IDF vectorization achieved an <italic>F</italic><sub>1</sub>-score of 0.727 under the balance strategy, with precision of 0.693, recall of 0.765, average precision (AP) of 0.751, and area under the curve (AUC) of 0.935, outperforming all other configurations. The TextCNN model achieved the second-highest <italic>F</italic><sub>1</sub>-score of 0.718 (AP=0.797; AUC=0.956), while the pretrained BERT model achieved a test <italic>F</italic><sub>1</sub>-score of 0.628 (AP=0.715; AUC=0.934) with the largest generalization gap of 0.246. Traditional linear models and random forest consistently underperformed gradient boosting ensemble models. Furthermore, the generalization gaps varied considerably across models, ranging from 0.151 (CatBoost balanced) to 0.246 (BERT), with certain configurations of RandomForest, LogisticRegression, and BERT exhibiting gap values exceeding 0.23, indicating substantial performance degradation on unseen patients.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Comprehensive comparison of (A) model performance and (B) generalization capability for each model and strategy combination.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e103192_fig01.png"/></fig><p>To address the nonindependence of notes within patients, patient-level performance was additionally evaluated. A patient was classified as positive if the predicted probability of any of their notes exceeded the threshold (0.46). At the patient level, the CatBoost model achieved an <italic>F</italic><sub>1</sub>-score of 0.889, precision of 0.800, and recall of 1.000 on the 10-patient test set (<xref ref-type="table" rid="table4">Table 4</xref>).</p><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Performance metrics of the best-performing CatBoost model (balanced strategy) on the independent test set.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Metric</td><td align="left" valign="bottom">Note-level</td><td align="left" valign="bottom">Patient-level</td></tr></thead><tbody><tr><td align="left" valign="top">Precision</td><td align="left" valign="top">0.693</td><td align="left" valign="top">0.800</td></tr><tr><td align="left" valign="top">Recall</td><td align="left" valign="top">0.765</td><td align="left" valign="top">1.000</td></tr><tr><td align="left" valign="top"><italic>F</italic><sub>1</sub>-score</td><td align="left" valign="top">0.727</td><td align="left" valign="top">0.889</td></tr><tr><td align="left" valign="top">Specificity</td><td align="left" valign="top">&#x2014;<sup><xref ref-type="table-fn" rid="table4fn1">a</xref></sup></td><td align="left" valign="top">0.0<sup><xref ref-type="table-fn" rid="table4fn2">b</xref></sup></td></tr></tbody></table><table-wrap-foot><fn id="table4fn1"><p><sup>a</sup>Not applicable.</p></fn><fn id="table4fn2"><p><sup>b</sup>Only 2 negative patients were present in the test set; this specificity estimate is extremely imprecise and should be interpreted with caution.</p></fn></table-wrap-foot></table-wrap><p>At the patient level, the model identified all 8 positive patients but also flagged both negative patients (true negative=0; false positive=2), corresponding to a patient-level specificity of 0.0% (0/2). Because only 2 patients were negative in the test set, the patient-level specificity estimate is extremely imprecise and should be interpreted with caution. We therefore additionally report cross-validated patient-level performance (precision=0.864, 95% CI 0.766&#x2010;0.953) as a complementary reference.</p><p>As a reference for conventional practice, the rule-based baseline achieved a note-level precision of 0.571, recall of 0.471, and <italic>F</italic><sub>1</sub>-score of 0.516, missing 36 (53%) of 68 positive notes while generating a false-alert count comparable to that of the CatBoost model (24 vs 23), indicating that rule-based screening would leave more than half of the indicated notes undetected at a similar reviewing workload. At the patient level, the rule-based baseline produced a true positive of 7, false positive of 0, false negative of 1, and true negative of 2 (precision=1.000; recall=0.875; <italic>F</italic><sub>1</sub>-score=0.933), whereas the CatBoost model produced a true positive of 8, false positive of 2, false negative of 0, and true negative of 0 (precision=0.800; recall=1.000; <italic>F</italic><sub>1</sub>-score=0.889). Given that only 2 patients were negative in the test set, patient-level estimates are unstable; in a note-level screening workflow, where the note is the unit of review and missing a positive note carries a higher cost than reviewing an additional negative note, the note-level comparison is more operationally meaningful.</p><p>Complete performance metrics for all model configurations, including precision, recall, <italic>F</italic><sub>1</sub>-score, ROC-AUC, PR-AUC, and confusion-matrix values, are provided in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>.</p></sec><sec id="s3-3"><title>Cross-Validation and Calibration</title><p>Under this fully nested procedure, the CatBoost model achieved a mean note-level <italic>F</italic><sub>1</sub>-score of 0.717 (SD 0.059; patient-level bootstrap 95% CI 0.659&#x2010;0.774), precision of 0.707 (95% CI 0.638&#x2010;0.773), recall of 0.734 (95% CI 0.667&#x2010;0.798), ROC-AUC of 0.953 (SD 0.017), and PR-AUC of 0.756. At the patient level, the mean <italic>F</italic><sub>1</sub>-score was 0.890 (SD 0.062; 95% CI 0.821&#x2010;0.954), with a precision of 0.864 (95% CI 0.766&#x2010;0.953) and recall of 0.925 (95% CI 0.843&#x2010;0.991). These estimates were consistent with the independent test-set results. The patient-level cluster bootstrap yielded appropriately wider intervals than fold-level resampling, reflecting the nonindependence of notes within patients. The selected configurations varied across folds (balanced vs 1:5 class weighting; tree depth 4 vs 6), indicating that per-fold reselection captured genuine instability in hyperparameter choice under the limited sample size rather than a fixed configuration.</p><p><xref ref-type="fig" rid="figure2">Figure 2A</xref> illustrates the precision-recall trade-off for each model and strategy combination on the test set. The performance distributions varied substantially across different models and strategies. The CatBoost model clustered predominantly in the high <italic>F</italic><sub>1</sub>-score region across most configurations, demonstrating favorable comprehensive discriminative capability. Although the RandomForest model achieved the highest recall under specific configurations, its precision was markedly reduced, indicating pronounced directional bias in positive-negative sample identification. <xref ref-type="fig" rid="figure2">Figure 2B</xref> presents the comparative distribution of validation set vs test set <italic>F</italic><sub>1</sub>-scores for each model. Overall, the majority of models exhibited superior performance on the validation set compared to the test set, manifesting varying degrees of generalization performance degradation.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>(A) Precision-recall trade-off of test set and (B) overfitting analysis comparing validation set and test set <italic>F</italic><sub>1</sub>-scores for each model. The data labels represent strategy abbreviations across different algorithms, with the following specific designations: abbreviations prefixed with &#x201C;CW&#x201D; indicate the use of class weighting, whereas &#x201C;CW5&#x201D; denotes a weight ratio of 1:5; &#x201C;BL&#x201D; indicates balanced weight configuration.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e103192_fig02.png"/></fig><p>The CatBoost model exhibited moderate calibration, with a Brier score of 0.052; residual miscalibration is likely attributable to the limited test-set sample size. Decision-curve analysis showed that the model achieved positive net benefit across clinically relevant probability thresholds, with net benefits of 0.084 and 0.075 at thresholds of 0.2 and 0.3, respectively, exceeding both the treat-all strategy (net benefit of &#x2212;0.101 and &#x2212;0.258, respectively, at the same thresholds) and the treat-none strategy (net benefit=0). Given the small test set and low event rate (68/571, 11.9% positive notes), these estimates should be interpreted as preliminary, and prospective evaluation in larger cohorts with explicit cost-benefit framing is needed to confirm clinical utility.</p></sec><sec id="s3-4"><title>SHAP Feature Analysis and Error Analysis</title><p>To facilitate comprehension for an international readership, the Chinese feature terms generated after Jieba segmentation were translated into English, whereas the original model inputs remained entirely in Chinese. <xref ref-type="fig" rid="figure3">Figure 3</xref> presents the interpretability analysis results based on SHAP for the optimal traditional machine learning model, namely CatBoost with balanced class weighting strategy. The left panel displays the ranking of the top 10 features by mean absolute SHAP values, quantifying the global contribution of each feature to model predictions. The right panel presents a beeswarm plot illustrating the distribution characteristics of SHAP values across individual samples, where the color gradient denotes feature value magnitude, and the horizontal position of each data point reflects the direction and magnitude of local influence exerted by that feature on model output. SHAP values are expressed on the log-odds scale.</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Key feature analysis based on SHAP (Shapley additive explanations).</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="medinform_v14i1e103192_fig03.png"/></fig><p>To assess whether the model learned clinically meaningful context or merely relied on keyword matching, representative false positive and false negative cases from the test set were manually reviewed. For a false positive case, a note describing an active intracranial bleeding event stated, &#x201C;&#x5DE6;&#x4FA7;&#x88C2;&#x6C60;&#x533A;&#x53CA;&#x5DE6;&#x4FA7;&#x90E8;&#x5206;&#x8111;&#x6C9F;&#x5185;&#x53EF;&#x7591;&#x5BC6;&#x5EA6;&#x589E;&#x9AD8;&#xFF0C;&#x86DB;&#x7F51;&#x819C;&#x4E0B;&#x8154;&#x5C11;&#x91CF;&#x51FA;&#x8840;&#x53EF;&#x7591;&#x201D; (suspected subarachnoid hemorrhage in the left Sylvian fissure). The model assigned a high positive probability (0.990), likely triggered by the term &#x201C;&#x51FA;&#x8840;&#x201D; (bleeding). However, this text represented an acute computed tomography finding rather than a history of gastrointestinal ulceration or hemorrhage (guideline item 3) or any other SRMD prophylactic indication. This suggests that the model associated surface-level hemorrhage-related tokens with positive labels without distinguishing between active bleeding events and historical prophylactic risk factors.</p><p>As an example of a false negative case, a perioperative note documented, &#x201C;&#x624B;&#x672F;&#x5F00;&#x59CB;&#x65F6;&#x95F4;&#xFF1A;2024&#x5E74;01&#x6708;02&#x65E5; 13&#x65F6;00&#x5206; &#x624B;&#x672F;&#x7ED3;&#x675F;&#x65F6;&#x95F4;&#xFF1A;2024&#x5E74;01&#x6708;02&#x65E5; 18&#x65F6;00&#x5206;&#x201D; (surgery start time: 1 PM; end time: 6 PM). The procedure duration was 5 hours, satisfying the greater-than-3-hour surgical threshold (guideline item 7). However, the model assigned a low probability (0.040), revealing that the TF-IDF&#x2013;based classifier lacked temporal reasoning capability and could not parse procedural time stamps to calculate operative duration. These cases collectively indicate that the model relies on surface-level keyword correlation for some predictions, while lacking structured reasoning for implicit or numerically encoded indications.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>The main finding of this study was that, among 7 compared models, CatBoost with balanced class weights achieved the highest note-level <italic>F</italic><sub>1</sub>-score (0.727) for detecting prophylactic SRMD indication mentions in a highly imbalanced Chinese clinical note dataset, outperforming both deep learning baselines (TextCNN and BERT) in generalization stability.</p><p>Direct quantitative comparison with existing studies is inherently limited due to variations in task definition, dataset characteristics, and class distribution. Zhang et al [<xref ref-type="bibr" rid="ref21">21</xref>] used BERT combined with TextRNN for multilabel classification of cancer literature, reporting an <italic>F</italic><sub>1</sub>-score as high as 0.903. However, their task was based on structured English abstract texts with relatively balanced label distribution. The present study focused on a highly imbalanced binary classification task of Chinese clinical progress notes: at the record level, only 11.0% of paragraphs were annotated with prophylactic medication indications for SRMD, indicating severe record-level imbalance. Under this challenging scenario, the pre-trained BERT model achieved an AP of 0.715 and an AUC of 0.934. The TextCNN model achieved a higher AP of 0.797 and AUC of 0.956, though its generalization gap (0.186) was slightly larger than that of CatBoost. More importantly, the optimal model in this study, the CatBoost model optimized with balanced class weighting strategy, obtained AP=0.751, an <italic>F</italic><sub>1</sub>-score of 0.727, precision=0.693, recall=0.765, and AUC=0.935, demonstrating the best balance between discriminative performance and generalization stability (gap=0.151). These results demonstrate that systematically tuned traditional machine learning models can effectively address clinical text classification problems under severely imbalanced conditions, providing a lightweight and interpretable alternative for clinical scenarios with limited computational resources, rapid future integration requirements, or interpretability demands. This study furnishes a systematic algorithmic comparison benchmark for prophylactic indication detection from Chinese EMR texts, offering a reproducible performance reference for subsequent investigations.</p><p>The comparison with the rule-based baseline illustrates a fundamental limitation of knowledge-engineered screening systems: rules can only encode terminology that has already been observed, whereas natural language documentation varies continually across clinicians, departments, and time. In this study, even though the keyword dictionary was induced from the guideline criteria and the observed training corpus, the baseline missed 36 of 68 (53%) positive notes, including severe trauma described only in physical-examination findings (eg, a deep neck laceration with exposed vertebrae) rather than with the anticipated terms such as &#x201C;trauma&#x201D; or &#x201C;injury.&#x201D; The learned model, by contrast, captures statistical regularities from the entire training corpus and generalizes to unanticipated phrasings. Notably, the baseline did capture 1 (1.5%) positive note that the model missed&#x2014;the greater-than-3-hour surgery encoded as time stamps&#x2014;which suggests that the 2 approaches are complementary: rules guarantee literal compliance with explicit criteria, while statistical models provide coverage of documentation variability. Maintaining a rule-based system would require continuous manual dictionary updates as documentation practices evolve, whereas the presented framework requires only retraining on newly annotated data.</p><p>It is noteworthy that health care scenarios impose exceptionally high demands on decision transparency. Prescriptions flagged by the model must provide comprehensible and verifiable rationales to pharmacists or physicians; if the system merely outputs risk scores without specific indication, clinical personnel will be unable to assess the accuracy of such flags, thereby diminishing system adoption rates [<xref ref-type="bibr" rid="ref22">22</xref>]. Therefore, model interpretability constitutes not merely a technical optimization but an essential prerequisite for ensuring medical safety and regulatory compliance. Researchers have advocated for a prudent approach to the future integration of algorithmic explanations, recommending that such methods be regarded as supplementary decision-support tools pending the development of more robust interpretability methodologies [<xref ref-type="bibr" rid="ref23">23</xref>].</p></sec><sec id="s4-2"><title>SHAP Features and Documentation Artifacts</title><p>To evaluate whether the model learned clinically meaningful signals or mere documentation artifacts, the top 10 SHAP features were manually mapped to the 14 guideline-defined SRMD indications (<xref ref-type="table" rid="table1">Table 1</xref>). Features such as &#x201C;&#x6297;&#x51DD;&#x201D; (anticoagulation) and &#x201C;&#x5916;&#x4F24;&#x201D; (trauma) showed direct correspondence with guideline criteria (items 2 and 6, respectively). However, several high-ranking features raised concerns about confounding by documentation patterns. For example, &#x201C;&#x534A;&#x6708;&#x677F; &#x635F;&#x4F24;&#x201D; (meniscus injury) is a typically minor orthopedic condition, but its presence among the top 10 features suggests that the model relied on surface-level keyword co-occurrence rather than clinical severity stratification. Similarly, &#x201C;&#x6297;&#x611F;&#x67D3;&#x201D; (anti-infection therapy) reflected the documentation of antibiotic use rather than the presence of sepsis (item 12), and &#x201C;&#x672F;&#x540E;&#x201D; (postoperative) appeared in notes following minor procedures that did not meet the &#x003E;3-hour surgical threshold (item 7). These findings indicate that while the model captures genuine clinical concepts, some features act as confounding surrogates, highlighting the need for prospective validation against adjudicated clinical phenotypes and the integration of structured data (eg, procedure duration and laboratory values) to disambiguate proxy terms from true risk factors.</p></sec><sec id="s4-3"><title>Limitations</title><p>This study has several limitations. First, the dataset was limited in scale with a low proportion of positive samples; model training and validation were based solely on single-center data for a single condition (prophylactic PPI use for SRMD). Although the patient-wise 7:1.5:1.5 split resulted in a small independent test set (~10 patients), this partitioning strategy was deliberately chosen to prevent patient-level data leakage, which is methodologically preferable to record-level random splitting despite the resulting statistical volatility. The observed generalization gaps (ranging from 0.151 to 0.246 across models) reflect genuine performance degradation on unseen patients rather than inflated estimates from leaked records. Notably, the optimal model, CatBoost (balanced), exhibited relatively moderate gaps of 0.151, suggesting that model selection based on validation performance remains informative even under constrained sample sizes.</p><p>CIs for the cross-validated estimates were derived from a patient-level cluster bootstrap of out-of-fold predictions rather than from the single held-out test set, and the relatively wide intervals reflect the limited cohort size; the independent test set was never used in cross-validation or hyperparameter selection, so the held-out results reported in <xref ref-type="table" rid="table4">Table 4</xref> are unaffected by any tuning procedure.</p><p>Second, a certain degree of covariate shift existed between the training/validation sets and the independent test set. Preliminary analysis suggested that this discrepancy may primarily stem from systematic differences in progress note length across different patients or admission stages, as well as interdepartmental variations in documentation style. While this partially reflects the unpredictable nature of data distribution in real-world environments for potential future integration, the present study did not systematically quantify the sources of shift or their impact on the consistency of model ranking performance due to sample size constraints. This observation indicates that future research should conduct cross-domain validation in multicenter, large-sample datasets and explore domain-adaptive fine-tuning strategies or distributionally robust optimization methods such as invariant risk minimization to enhance generalization stability under diverse clinical data distributions. Additionally, because of the limited test set sample size, CIs were derived from a patient-level cluster bootstrap of out-of-fold predictions rather than from the single held-out test set; future studies should evaluate the stability of estimates in larger samples. Third, the current classification rules relied on manual annotation and professional interpretation based on drug package inserts and clinical practice guidelines, a process characterized by low efficiency and inherent subjectivity; subsequent research may explore semiautomatic annotation or active learning strategies based on large language models to reduce labor costs. Finally, this study did not conduct prospective clinical validation; the time efficiency of the model in actual prescription indication screening workflows, pharmacist adoption rates, and the net benefit in terms of interception rates for inappropriate prescriptions remain to be evaluated through real-world studies. Given the retrospective, single-center design and absence of external validation, the proposed model should be regarded as a research prototype rather than a clinically deployable system.</p></sec><sec id="s4-4"><title>Conclusions</title><p>This study constructed and systematically evaluated a machine learning&#x2013;based Chinese medical text classification framework for the automated identification of prophylactic PPI medication indications for SRMD from unstructured progress notes. The principal findings were as follows: first, in a severely class-imbalanced scenario with a positive rate of only 11.0%, the CatBoost model optimized with a class weight balancing strategy achieved a precision of 0.693, a recall of 0.765, and an AP of 0.751 for positive class identification. Among all compared models, it attained the highest note-level <italic>F</italic><sub>1</sub>-score and the smallest generalization gap (0.151), although its AP was slightly lower than that of TextCNN (AP=0.797) and its precision was higher than that of BERT (precision=0.557); these results indicate that systematically tuned traditional machine learning models can effectively identify positive samples and provide a lightweight, interpretable alternative for future integration scenarios with limited computational resources or high requirements for explainability. Second, different models exhibited significant differences in precision-recall tendencies for positive class identification: CatBoost (with balanced strategy), characterized by high precision (0.693), is suitable for automated screening scenarios where low false positives are prioritized, whereas RandomForest (with class_weight=1:5 strategy), achieving the highest recall (0.809), is suitable for assisted screening scenarios. This suggests that model selection should match the false-positive vs false-negative cost structure of the specific clinical workflow. Third, SHAP-based interpretability analysis revealed key clinical features driving positive class identification, providing transparent and verifiable decision-making evidence for pharmacist review, which aligns with the regulatory requirements for decision transparency in health care settings. These findings provide an empirical basis for integrating NLP technologies into hospital prescription indication screening workflows and configuring model strategies according to specific scenarios. Future research could further explore the cross-disease generalization capability of large language models as zero-shot classifiers and conduct prospective clinical validation to evaluate the net benefit and pharmacist acceptance rate of the model in real-world prescription review workflows.</p><p>With the broad application prospects of machine learning in pharmaceutical practice, the responsibilities of pharmacists have expanded beyond traditional dispensing duties to encompass increasingly diverse domains: their scope of practice now encompasses not only the refined implementation of medication management and optimization of therapeutic regimens, but also the enhancement of patient medication safety and therapeutic benefit through specialized professional services [<xref ref-type="bibr" rid="ref24">24</xref>].</p><p>In the future, AI-driven intelligent document processing will achieve deep integration of machine learning, NLP, optical character recognition, and robotic process automation technologies to construct efficient document workflow optimization solutions. This technical framework can automatically accomplish core tasks, including document classification, key information extraction, and physical document digitization. Combined with existing mature prescription review systems, it will substantially enhance the efficiency and accuracy of the full automation workflow for prescription indication screening through maximal reduction of manual intervention [<xref ref-type="bibr" rid="ref25">25</xref>].</p></sec></sec></body><back><ack><p>The authors would like to thank the Department of Pharmacy, Quzhou People's Hospital; The Quzhou Affiliated Hospital, Wenzhou Medical University, for their support in data collection and the IT department for technical assistance with the hospital information system. The authors declare the use of generative AI (GAI) in the research and writing process. According to the GAIDeT taxonomy (2026), the following tasks were delegated to GAI tools under full human supervision: proofreading and editing, translation. The GAI tools used were Kimi 2.7 (Moonshot AI) and DeepSeek-V4-Pro (DeepSeek). Responsibility for the final manuscript lies entirely with the authors. GAI tools are not listed as authors and do not bear responsibility for the final outcomes.</p></ack><notes><sec><title>Funding</title><p>This work was funded by Construction of a Smart Pharmacy Platform Based on Informatization and Intelligence (Beijing Medical Award Foundation YXJL-2024-0299-0424).</p></sec><sec><title>Data Availability</title><p>The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request, due to restrictions on patient privacy and institutional data protection policies.</p></sec></notes><fn-group><fn fn-type="con"><p>Conceptualization: WJ, LX</p><p>Formal analysis: WJ</p><p>Investigation: HL</p><p>Methodology: WJ, LX</p><p>Project administration: JH</p><p>Resources: SW</p><p>Software: WJ</p><p>Supervision: JH</p><p>Writing &#x2013; original draft: WJ</p><p>Writing &#x2013; review &#x0026; editing: SW, HL, JH</p><p>All authors have read and approved the final manuscript and agree to be accountable for all aspects of the work.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">AP</term><def><p>average precision</p></def></def-item><def-item><term id="abb2">AUC</term><def><p>area under the curve</p></def></def-item><def-item><term id="abb3">EHR</term><def><p>electronic health record</p></def></def-item><def-item><term id="abb4">EMR</term><def><p>electronic medical record</p></def></def-item><def-item><term id="abb5">NLP</term><def><p>natural language processing</p></def></def-item><def-item><term id="abb6">PPI</term><def><p>proton pump inhibitor</p></def></def-item><def-item><term id="abb7">PR-AUC</term><def><p>precision-recall area under the curve</p></def></def-item><def-item><term id="abb8">ROC-AUC</term><def><p>receiver operating characteristic area under the curve</p></def></def-item><def-item><term id="abb9">SHAP</term><def><p>Shapley additive explanations</p></def></def-item><def-item><term id="abb10">SRMD</term><def><p>stress-related mucosal disease</p></def></def-item><def-item><term id="abb11">TF-IDF</term><def><p>term frequency&#x2013;inverse document frequency</p></def></def-item><def-item><term id="abb12">TPE</term><def><p>tree&#x2011;structured Parzen estimator</p></def></def-item><def-item><term id="abb13">TreeSHAP</term><def><p>tree-based Shapley additive explanations</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Amaral</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Favas</surname><given-names>C</given-names> </name><name name-style="western"><surname>Alves</surname><given-names>JD</given-names> </name><name name-style="western"><surname>Riso</surname><given-names>N</given-names> </name><name name-style="western"><surname>Riscado</surname><given-names>MV</given-names> </name></person-group><article-title>Stress-related mucosal disease: incidence of bleeding and the role of omeprazole in its prophylaxis</article-title><source>Eur J Intern Med</source><year>2010</year><month>10</month><volume>21</volume><issue>5</issue><fpage>386</fpage><lpage>388</lpage><pub-id pub-id-type="doi">10.1016/j.ejim.2010.06.010</pub-id><pub-id pub-id-type="medline">20816590</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Akhila</surname><given-names>S</given-names> </name><name name-style="western"><surname>Krishna Vamsi</surname><given-names>M</given-names> </name></person-group><article-title>Clinical audit to assess whether the current use of proton pump inhibitors in a general practice conforms to standard guidelines</article-title><source>World J Curr Med Pharm Res</source><year>2023</year><volume>5</volume><issue>3</issue><fpage>84</fpage><lpage>89</lpage><pub-id pub-id-type="doi">10.37022/wjcmpr.v5i3.270</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Mondal</surname><given-names>N</given-names> </name><name name-style="western"><surname>Maity</surname><given-names>S</given-names> </name><name name-style="western"><surname>Phawa</surname><given-names>A</given-names> </name><name name-style="western"><surname>Roy</surname><given-names>B</given-names> </name><name name-style="western"><surname>Satheesh Kumar</surname><given-names>E</given-names> </name><name name-style="western"><surname>Narayana Swamy</surname><given-names>VB</given-names> </name></person-group><article-title>A study on appropriate use and stewardship of proton pump inhibitors</article-title><source>Indian J Pharm Pharmacol</source><year>2024</year><volume>11</volume><issue>1</issue><fpage>56</fpage><lpage>61</lpage><pub-id pub-id-type="doi">10.18231/j.ijpp.2024.010</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>H</given-names> </name><name name-style="western"><surname>Guo</surname><given-names>C</given-names> </name><name name-style="western"><surname>Tong</surname><given-names>C</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>G</given-names> </name><name name-style="western"><surname>Tao</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Ren</surname><given-names>F</given-names> </name></person-group><article-title>Analysis and evaluation of outpatient proton pump inhibitor utilization and irrational drug use in our hospital from 2021 to 2023</article-title><source>Panminerva Med</source><year>2024</year><month>02</month><day>2</day><pub-id pub-id-type="doi">10.23736/S0031-0808.24.05109-7</pub-id><pub-id pub-id-type="medline">38305011</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Segal</surname><given-names>G</given-names> </name><name name-style="western"><surname>Segev</surname><given-names>A</given-names> </name><name name-style="western"><surname>Brom</surname><given-names>A</given-names> </name><name name-style="western"><surname>Lifshitz</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Wasserstrum</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zimlichman</surname><given-names>E</given-names> </name></person-group><article-title>Reducing drug prescription errors and adverse drug events by application of a probabilistic, machine-learning based clinical decision support system in an inpatient setting</article-title><source>J Am Med Inform Assoc</source><year>2019</year><month>12</month><day>1</day><volume>26</volume><issue>12</issue><fpage>1560</fpage><lpage>1565</lpage><pub-id pub-id-type="doi">10.1093/jamia/ocz135</pub-id><pub-id pub-id-type="medline">31390471</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zenziper Straichman</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Kurnik</surname><given-names>D</given-names> </name><name name-style="western"><surname>Matok</surname><given-names>I</given-names> </name><etal/></person-group><article-title>Prescriber response to computerized drug alerts for electronic prescriptions among hospitalized patients</article-title><source>Int J Med Inform</source><year>2017</year><month>11</month><volume>107</volume><fpage>70</fpage><lpage>75</lpage><pub-id pub-id-type="doi">10.1016/j.ijmedinf.2017.08.008</pub-id><pub-id pub-id-type="medline">29029694</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="web"><article-title>Notice on issuing the &#x201C;Hospital Prescription Review Management Standards (Trial)&#x201D; [Article in Chinese]</article-title><source>Ministry of Health</source><year>2010</year><month>02</month><day>10</day><access-date>2026-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.nhc.gov.cn/zwgkzt/glgf/201306/094ebc83dddc47b5a4a63ebde7224615.shtml">https://www.nhc.gov.cn/zwgkzt/glgf/201306/094ebc83dddc47b5a4a63ebde7224615.shtml</ext-link></comment></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhuo</surname><given-names>L</given-names> </name><name name-style="western"><surname>Cheng</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>S</given-names> </name><etal/></person-group><article-title>A multiview model for detecting the inappropriate use of prescription medication: machine learning approach</article-title><source>JMIR Med Inform</source><year>2020</year><month>07</month><day>6</day><volume>8</volume><issue>7</issue><fpage>e16312</fpage><pub-id pub-id-type="doi">10.2196/16312</pub-id><pub-id pub-id-type="medline">32209527</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Sang</surname><given-names>R</given-names> </name><name name-style="western"><surname>Jiang</surname><given-names>M</given-names> </name><name name-style="western"><surname>Zhao</surname><given-names>Q</given-names> </name><name name-style="western"><surname>Kong</surname><given-names>L</given-names> </name></person-group><article-title>Evaluating the impact of interventions and improvements in outpatient intravenous infusion therapy at a hospital in China: a comprehensive analysis of prescription patterns and safety measures</article-title><source>Risk Manag Healthc Policy</source><year>2024</year><month>03</month><day>8</day><volume>17</volume><fpage>525</fpage><lpage>533</lpage><pub-id pub-id-type="doi">10.2147/RMHP.S451516</pub-id><pub-id pub-id-type="medline">38476200</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Fan</surname><given-names>X</given-names> </name><name name-style="western"><surname>Yu</surname><given-names>X</given-names> </name><name name-style="western"><surname>Li</surname><given-names>X</given-names> </name><name name-style="western"><surname>Ge</surname><given-names>F</given-names> </name><name name-style="western"><surname>Zhao</surname><given-names>Y</given-names> </name></person-group><article-title>LMGA: lightweight multi-graph augmentation networks for safe medication recommendation</article-title><source>J King Saud Univ - Comput Inf Sci</source><year>2024</year><month>12</month><volume>36</volume><issue>10</issue><fpage>102245</fpage><pub-id pub-id-type="doi">10.1016/j.jksuci.2024.102245</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pashtan</surname><given-names>IM</given-names> </name><name name-style="western"><surname>Kosak</surname><given-names>T</given-names> </name><name name-style="western"><surname>Shin</surname><given-names>KY</given-names> </name><etal/></person-group><article-title>An automated, dynamic radiation oncology prescription checking system</article-title><source>Pract Radiat Oncol</source><year>2024</year><month>07</month><volume>14</volume><issue>4</issue><fpage>343</fpage><lpage>352</lpage><pub-id pub-id-type="doi">10.1016/j.prro.2023.12.002</pub-id><pub-id pub-id-type="medline">38151183</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Hu</surname><given-names>J</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>X</given-names> </name><name name-style="western"><surname>Yao</surname><given-names>K</given-names> </name><etal/></person-group><article-title>FANS: a framework for automatic assessment of nutritional status based on free-text clinical notes</article-title><source>Int J Med Inform</source><year>2026</year><month>02</month><volume>206</volume><fpage>106168</fpage><pub-id pub-id-type="doi">10.1016/j.ijmedinf.2025.106168</pub-id><pub-id pub-id-type="medline">41172788</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Alnor</surname><given-names>AB</given-names> </name><name name-style="western"><surname>H&#x00F8;jer Adelhelm</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Pedersen</surname><given-names>LE</given-names> </name><etal/></person-group><article-title>Early clinical implementation and evaluation of an NLP-based AI system for thrombophilia assessment using electronic health records</article-title><source>Int J Med Inform</source><year>2026</year><month>02</month><volume>206</volume><fpage>106135</fpage><pub-id pub-id-type="doi">10.1016/j.ijmedinf.2025.106135</pub-id><pub-id pub-id-type="medline">41086641</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Xie</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Zhai</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Lu</surname><given-names>G</given-names> </name></person-group><article-title>Evolution of artificial intelligence in healthcare: a 30-year bibliometric study</article-title><source>Front Med (Lausanne)</source><year>2025</year><month>01</month><day>15</day><volume>11</volume><fpage>1505692</fpage><pub-id pub-id-type="doi">10.3389/fmed.2024.1505692</pub-id><pub-id pub-id-type="medline">39882522</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Johns</surname><given-names>E</given-names> </name><name name-style="western"><surname>Alkanj</surname><given-names>A</given-names> </name><name name-style="western"><surname>Beck</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Using machine learning or deep learning models in a hospital setting to detect inappropriate prescriptions: a systematic review</article-title><source>Eur J Hosp Pharm</source><year>2024</year><month>06</month><day>21</day><volume>31</volume><issue>4</issue><fpage>289</fpage><lpage>294</lpage><pub-id pub-id-type="doi">10.1136/ejhpharm-2023-003857</pub-id><pub-id pub-id-type="medline">38050067</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="web"><article-title>Notice from the General Office of the National Health Commission on issuing the Guidelines for Clinical Application of Proton Pump Inhibitors (2020 Edition) [Article in Chinese]</article-title><source>National Health Commission of the People&#x2019;s Republic of China</source><year>2020</year><month>12</month><day>3</day><access-date>2026-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.nhc.gov.cn/yzygj/c100068/202012/b59f1401666645009b64aee17185c87b.shtml">https://www.nhc.gov.cn/yzygj/c100068/202012/b59f1401666645009b64aee17185c87b.shtml</ext-link></comment></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Sun</surname><given-names>A</given-names> </name></person-group><article-title>Jieba</article-title><source>GitHub</source><year>2013</year><access-date>2026-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/fxsjy/jieba">https://github.com/fxsjy/jieba</ext-link></comment></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="web"><article-title>Stopwords</article-title><source>GitHub</source><year>2019</year><access-date>2026-10-16</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/goto456/stopwords">https://github.com/goto456/stopwords</ext-link></comment></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Simon</surname><given-names>C</given-names> </name><name name-style="western"><surname>Davidsen</surname><given-names>K</given-names> </name><name name-style="western"><surname>Hansen</surname><given-names>C</given-names> </name><name name-style="western"><surname>Seymour</surname><given-names>E</given-names> </name><name name-style="western"><surname>Barnkob</surname><given-names>MB</given-names> </name><name name-style="western"><surname>Olsen</surname><given-names>LR</given-names> </name></person-group><article-title>BioReader: a text mining tool for performing classification of biomedical literature</article-title><source>BMC Bioinformatics</source><year>2019</year><month>02</month><day>4</day><volume>19</volume><issue>Suppl 13</issue><fpage>57</fpage><pub-id pub-id-type="doi">10.1186/s12859-019-2607-x</pub-id><pub-id pub-id-type="medline">30717659</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Lundberg</surname><given-names>SM</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>SI</given-names> </name></person-group><article-title>A unified approach to interpreting model predictions</article-title><source>NIPS&#x2019;17: Proceedings of the 31st International Conference on Neural Information Processing Systems</source><year>2017</year><publisher-name>Curran Associates Inc</publisher-name><fpage>4765</fpage><lpage>4774</lpage><pub-id pub-id-type="other">9781510860964</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zhang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Li</surname><given-names>X</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Li</surname><given-names>A</given-names> </name><name name-style="western"><surname>Yang</surname><given-names>X</given-names> </name><name name-style="western"><surname>Tang</surname><given-names>X</given-names> </name></person-group><article-title>A multilabel text classifier of cancer literature at the publication level: methods study of medical text classification</article-title><source>JMIR Med Inform</source><year>2023</year><month>10</month><day>5</day><volume>11</volume><fpage>e44892</fpage><pub-id pub-id-type="doi">10.2196/44892</pub-id><pub-id pub-id-type="medline">37796584</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Wang</surname><given-names>M</given-names> </name><name name-style="western"><surname>Luo</surname><given-names>M</given-names> </name><name name-style="western"><surname>Li</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Primary-care-focused interpretable machine learning model for depression screening in geriatrics: a comparative study of multiple algorithms</article-title><source>J Affect Disord</source><year>2026</year><month>02</month><day>1</day><volume>394</volume><issue>Pt A</issue><fpage>120551</fpage><pub-id pub-id-type="doi">10.1016/j.jad.2025.120551</pub-id><pub-id pub-id-type="medline">41284538</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Frasca</surname><given-names>M</given-names> </name><name name-style="western"><surname>La Torre</surname><given-names>D</given-names> </name><name name-style="western"><surname>Pravettoni</surname><given-names>G</given-names> </name><name name-style="western"><surname>Cutica</surname><given-names>I</given-names> </name></person-group><article-title>Explainable and interpretable artificial intelligence in medicine: a systematic bibliometric review</article-title><source>Discov Artif Intell</source><year>2024</year><month>02</month><day>27</day><volume>4</volume><issue>1</issue><pub-id pub-id-type="doi">10.1007/s44163-024-00114-7</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Simpson</surname><given-names>MD</given-names> </name><name name-style="western"><surname>Qasim</surname><given-names>HS</given-names> </name></person-group><article-title>Clinical and operational applications of artificial intelligence and machine learning in pharmacy: a narrative review of real-world applications</article-title><source>Pharmacy (Basel)</source><year>2025</year><month>03</month><day>7</day><volume>13</volume><issue>2</issue><fpage>41</fpage><pub-id pub-id-type="doi">10.3390/pharmacy13020041</pub-id><pub-id pub-id-type="medline">40126314</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Pingili</surname><given-names>R</given-names> </name></person-group><article-title>AI-driven intelligent document processing for healthcare and insurance</article-title><source>Int J Sci Res Arch</source><year>2025</year><volume>14</volume><issue>1</issue><fpage>1063</fpage><lpage>1077</lpage><pub-id pub-id-type="doi">10.30574/ijsra.2025.14.1.0194</pub-id></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Comprehensive model performance.</p><media xlink:href="medinform_v14i1e103192_app1.xlsx" xlink:title="XLSX File, 10 KB"/></supplementary-material></app-group></back></article>