<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article article-type="research-article" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" dtd-version="1.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Surg.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Surgery</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Surg.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2296-875X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fsurg.2025.1628956</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Development and validation of a practical prediction model for post-ERCP pancreatitis using machine learning</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>De</surname><given-names>Tianyu</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role></contrib>
<contrib contrib-type="author">
<name><surname>Du</surname><given-names>Guohui</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role></contrib>
<contrib contrib-type="author">
<name><surname>Yin</surname><given-names>Hongkun</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role></contrib>
<contrib contrib-type="author">
<name><surname>Wang</surname><given-names>Hao</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/879732/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Wang</surname><given-names>Wei</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role></contrib>
<contrib contrib-type="author">
<name><surname>Ma</surname><given-names>Tian</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role></contrib>
<contrib contrib-type="author">
<name><surname>Ma</surname><given-names>Junbai</given-names></name>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role></contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Wang</surname><given-names>Hao</given-names></name>
<xref ref-type="aff" rid="aff6"><sup>6</sup></xref>
<xref ref-type="corresp" rid="cor1">&#x002A;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/879732/overview" />
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Wang</surname><given-names>Qi</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="cor1">&#x002A;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2423831/overview" />
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
</contrib-group>
<aff id="aff1"><label>1</label><institution>Department of Hepatobiliary Surgery, General Hospital of Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<aff id="aff2"><label>2</label><institution>School of Clinical Medicine, General Hospital of Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<aff id="aff3"><label>3</label><institution>Neonatal Intensive Care, General Hospital of Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<aff id="aff4"><label>4</label><institution>Department of Thoracic and Cardiovascular Surgery, General Hospital of Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<aff id="aff5"><label>5</label><institution>School of Basic Medical Sciences, Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<aff id="aff6"><label>6</label><institution>Department of Pathogenic Biology and Medical Immunology, School of Basic Medical Sciences, Ningxia Medical University</institution>, <city>Yinchuan</city>, <country country="cn">China</country></aff>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label><bold>Correspondence:</bold> Qi Wang <email xlink:href="mailto:wq-6562@163.com">wq-6562@163.com</email> Hao Wang <email xlink:href="mailto:wanghaograduate@126.com">wanghaograduate@126.com</email></corresp>
</author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2025-11-03"><day>03</day><month>11</month><year>2025</year></pub-date>
<pub-date publication-format="electronic" date-type="collection"><year>2025</year></pub-date>
<volume>12</volume><elocation-id>1628956</elocation-id>
<history>
<date date-type="received"><day>15</day><month>05</month><year>2025</year></date>
<date date-type="accepted"><day>03</day><month>10</month><year>2025</year></date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2025 De, Du, Yin, Wang, Wang, Ma, Ma, Wang and Wang.</copyright-statement>
<copyright-year>2025</copyright-year><copyright-holder>De, Du, Yin, Wang, Wang, Ma, Ma, Wang and Wang</copyright-holder><license><ali:license_ref start_date="2025-11-03">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</license-p></license>
</permissions>
<abstract><sec><title>Background</title>
<p>Post-endoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) is one most frequent and severe complication of ERCP. In consideration of recent advancements in both endoscopic and artificial intelligence research, it is possible to construct a practical risk prediction model to facilitate the identification of PEP patients at elevated risk.</p>
</sec><sec><title>Aim</title>
<p>We developed and validated a concise predictive model for post-ERCP pancreatitis risk with logistic regression (LR), LightGBM, Support Vector Machine (SVM), XGBoost, and Multilayer Perceptron (MLP) neural network models.</p>
</sec><sec><title>Methods</title>
<p>We selected 688 patients undergone ERCP to form the basic dataset, with 70&#x0025; for training and 30&#x0025; for validation. Subsequently, Stepwise Backward Selection Based on Logistic Regression was utilized to select pertinent clinical features, incorporating the machine learning (ML) models to construct the final predictive model. The efficacy of the model was evaluated by various metrics. These newly identified clinical features were then incorporated into a simplified, points-based risk scoring system for potential bedside application and further evaluation.</p>
</sec><sec><title>Results</title>
<p>Based on the collected data and the results of stepwise backward regression, we identified the following features as potentially significant clinical variables that influence the risk of post-ERCP pancreatitis: periampullary diverticulum, pancreatic stent placement, pancreatic guidewire passages, dilation of the extrahepatic bile duct, age, and coronary artery disease, and constructed a prediction model. Following this, several ML models were constructed to assess the performance of this model. All ML models demonstrated superior performance to conventional logistic regression (LR) models in terms of AUC curves, with XGBoost, SVM, LightGBM, and MLP models all achieving at least acceptable performance levels. Finally, we developed a simplified scoring system based on LightGBM model with an AUC of 0.75.</p>
</sec><sec><title>Conclusions</title>
<p>We developed and validated a concise predictive model for post-ERCP pancreatitis risk, and a simplified scoring system based on the LightGBM model. This model facilitates individual risk prediction and preventive strategy selection.</p>
</sec>
</abstract>
<kwd-group>
<kwd>post-ERCP pancreatitis</kwd>
<kwd>artificial intelligence</kwd>
<kwd>predictive model</kwd>
<kwd>machine learning</kwd>
<kwd>risk prediction</kwd>
</kwd-group><funding-group>
<award-group id="gs1">
<funding-source id="sp1">
<institution-wrap>
<institution>Ningxia Autonomous Region Key R&#x0026;D Program Project</institution>
</institution-wrap>
</funding-source>
<award-id rid="sp1">2021BEG02038</award-id>
</award-group>
<funding-statement>The author(s) declare that financial support was received for the research and/or publication of this article. This research was supported by the Ningxia Autonomous Region Key R&#x0026;D Program Project (2021BEG02038).</funding-statement>
</funding-group>
<counts>
<fig-count count="6"/>
<table-count count="5"/><equation-count count="2"/><ref-count count="38"/><page-count count="15"/><word-count count="4845745"/></counts><custom-meta-group><custom-meta><meta-name>section-at-acceptance</meta-name><meta-value>Visceral Surgery</meta-value></custom-meta></custom-meta-group>
</article-meta>
</front>
<body><sec id="s1" sec-type="intro"><title>Introduction</title>
<p>Post-endoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) is one most frequent and serious complication following ERCP, with an incidence rate from 2.1&#x0025; to 15.1&#x0025; (<xref ref-type="bibr" rid="B1">1</xref>). Although most PEP cases are mild or moderate, specific conditions can significantly extend hospitalization for patients and be fatal in severe instances (<xref ref-type="bibr" rid="B2">2</xref>). Based on these concerns, multitude of risk prediction models for PEP have been suggested, incorporating various patient and procedure-related factors such as gender, difficult cannulation, history of pancreatitis, pancreatic duct cannulation, etc. (<xref ref-type="bibr" rid="B3">3</xref>). However, due to the intricate interplay of risk factors that may even synergize, these models often suffer from limited discriminative power, complexity, or lack of external validation, making their limited application in clinical practice.</p>
<p>In recent years, machine learning (ML) has gained considerable attention in clinical medical settings. ML algorithms analyze a wealth of variables with complex relationships using methods such as supervised, unsupervised, and semi-supervised learning, offering advantages such as intuitiveness and high predictive efficiency (<xref ref-type="bibr" rid="B4">4</xref>). Research indicates that computer-aided diagnostic models substantially assist clinicians in diagnosing and predicting diseases (<xref ref-type="bibr" rid="B4">4</xref>). At present, many ML models and algorithms based on diverse architectures have been developed, showing impressive performance in predicting significant diseases in the medical field (<xref ref-type="bibr" rid="B5">5</xref>). Hence, our goal is to develop and validate practical PEP prediction models using the latest ERCP database from General Hospital of Ningxia Medical University. This study pursues two objectives: (1) to compare the performance of different ML models in predicting PEP with stringent inclusion and exclusion criteria; (2) to identify a clinically relevant model with as few predictive factors as possible through innovative approaches, aiding endoscopists in decision-making and planning postoperative management.</p>
</sec>
<sec id="s2" sec-type="methods"><title>Materials and methods</title>
<sec id="s2a"><title>Patient characteristics</title>
<p>We conducted a retrospective analysis of patients&#x0027; clinical data from diagnostic or therapeutic ERCPs at General Hospital of Ningxia Medical University from May 2022 to June 2023. After applying rigorous inclusion and exclusion criteria, we included a total of 688 cases in the training and validation sets. Eligible patients were those with relevant biliary-pancreatic diseases indicated for ERCP, who had provided written informed consent for the procedure and had granted verbal or written permission for postoperative examinations. Patients were excluded if they presented with acute pancreatitis, had a history of previous ERCP or gastrointestinal reconstructive surgery. Patients that were under 18 years-old (<xref ref-type="bibr" rid="B6">6</xref>), had incomplete medical records or surgical videos, did not complete necessary follow-up examinations in a timely manner, did not undergo a full cannulation attempt and abandoned the surgery, or were treated by an endoscopist with less than 50 cannulate procedures (<xref ref-type="bibr" rid="B7">7</xref>), were also excluded (<xref ref-type="fig" rid="F1">Figure&#x00A0;1</xref>).</p>
<fig id="F1" position="float"><label>Figure&#x00A0;1</label>
<caption><p>The pipeline and criteria for ERCP patient selection and exclusion in this study <bold>(A)</bold> and the PCA plot for ADASYN <bold>(B</bold><bold>)</bold>.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g001.tif"><alt-text content-type="machine-generated">Flowchart and scatterplot image depicting patient data and analysis. \n\nA) Flowchart showing patient selection: 1,748 ERCP patients with 142 missing data. Final analysis included 688 patients. Exclusions: 1,060 for various reasons like pancreatitis, prior procedures, anatomy issues, refusals, incomplete records, and untrained intervention.\n\nB) Scatterplot of PCA results displaying two dimensions. Data points represent two groups: &#x201C;happen&#x201D; and &#x201C;not,&#x201D; differentiated by color and shape. Axes labeled Dim1 (12.4%) and Dim2 (6.5%), indicating variance percentages.</alt-text>
</graphic>
</fig>
</sec>
<sec id="s2b"><title>Study endpoint and definitions of outcomes</title>
<p>The primary endpoint was established according to current international guidelines and consensus on the incidence of PEP. The criteria for the occurrence of PEP were defined as follows: (1) New onset of abdominal pain was consistent with pancreatitis (acute persistent upper left abdominal pain); (2) Serum amylase levels were three times greater than the upper limit of normal within 24&#x2005;h after the procedure; (3) Imaging evidence of pancreatitis such as peripancreatic fluid extravasation, pancreatic gland enlargement due to edema, pancreatic duct dilation, pancreatic tissue necrosis, or formation of a pancreatic pseudocyst (two out of these three criteria must be met by the Atlanta Consensus 2012) (<xref ref-type="bibr" rid="B7">7</xref>, <xref ref-type="bibr" rid="B8">8</xref>). Failed cannulation was defined as the inability to correctly enter the bile or pancreatic duct despite all techniques and efforts (<xref ref-type="bibr" rid="B9">9</xref>). Difficult cannulation was characterized by a cannulation time exceeding 5&#x2005;min, more than five papillary contacts, or incorrect entry into the pancreatic duct more than once by ESGE Guidelines 2019 (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B10">10</xref>). We further monitored preoperative serum calcium ion levels, classifying them using our hospital&#x0027;s upper limit of normal value at 2.12&#x2005;mmol. In this study, the threshold of patient&#x0027;s age was set at &#x003C;60. The biliary brush cytology sampling methods included cytological brushing or forceps biopsy (<xref ref-type="bibr" rid="B11">11</xref>). &#x201C;Failure to clear bile duct stones&#x201D; was determined as stones that were not retrieved or not completely retrieved following the full cannulation process. The patient retained a nasobiliary drain at the conclusion of the procedure (<xref ref-type="bibr" rid="B12">12</xref>).</p>
</sec>
<sec id="s2c"><title>Data processing</title>
<p>To ensure the stability of the results, patients with missing video recording data were excluded (<italic>n</italic>&#x2009;&#x003D;&#x2009;142), which did not affect the results of this study. As the incidence of patients with PEP at our institution was approximately 11&#x0025;, there was an imbalance in the proportion of patients with and without PEP. To address the imbalance in sample sizes at different levels of the outcome variable, we used the Adaptive Synthetic Sampling (ADASYN) algorithm. This approach was used to survey patients with PEP and normal samples accordingly, achieving a 1:1 match with patients who did not develop PEP postoperatively (<xref ref-type="bibr" rid="B13">13</xref>).</p>
</sec>
<sec id="s2d"><title>Data separation and feature filtering</title>
<p>Prior to oversampling with ADASYN, we performed data separation by randomly dividing the dataset into two subsets (training and test) with a 7:3 ratio. These subsets were used for modelling and validation, respectively. To minimize the overfitting risk introduced by ADASYN oversampling, we implemented a robust validation strategy. Specifically, we employed 10-fold cross-validation during the model training and tuning phase. Furthermore, the final model was evaluated on a completely independent test set that was not involved in either the oversampling or cross-validation processes. Feature selection within the training set was conducted by a stepwise regression approach grounded in logistic regression with backward elimination (<xref ref-type="bibr" rid="B14">14</xref>). Covariance test showed no significant abnormality. This procedure was implemented using the Mass package in R software (version 4.2.2). Variables were selected according to the principle of minimising the Akaike Information Criterion (AIC) and a threshold of <italic>p</italic>-value&#x2009;&#x003C;&#x2009;0.01. This process aimed to identify a subset of features that provided an optimal balance between power and dimensionality (<xref ref-type="bibr" rid="B15">15</xref>).</p>
</sec>
<sec id="s2e"><title>ML model building, evaluation and interpretation</title>
<p>The dataset was subjected to both linear and non-linear ML models, including logistic regression (LR), support vector machines (SVM), gradient boosting trees (GBT) and neural network models. The SVM was implemented using both Linear and Radial Basis Function (RBF) kernels, the GBT was implemented using XGBoost (eXtreme Gradient Boosting) and LightGBM (Light Gradient Boosting Machine), while the neural network model was implemented using a Multi-Layer Perceptron (MLP). The predictive performance of all models was evaluated using five metrics: Area Under the Receiver Operating Characteristic Curve (AUROC), precision, recall, F1 score and accuracy. Finally, ML models with acceptable performance were selected based on the AUC curve.</p>
</sec>
<sec id="s2f"><title>Statistical analyses</title>
<p>Categorical variables were assigned numerical codes, and categorical variables were assigned numerical codes, and ization was conducted using EXCEL 2018. Python was used for data processing and model development, relying on the scikit-learn library for the construction of machine learning algorithms. Data statistics, variable selection and construction of conventional LR models were performed using R software (R4.2.2), with a <italic>p</italic>-value&#x2009;&#x003C;&#x2009;0.01 indicating statistical significance. All authors of this article had access to the research data, participated in data collection, reviewed and approved the final manuscript.</p>
</sec>
</sec>
<sec id="s3" sec-type="results"><title>Results</title>
<sec id="s3a"><title>Study population and baseline characteristics</title>
<p>A total of 1,748 patients who underwent ERCP procedures met the criteria for this study. Of these, 514 patients with pre-operative acute pancreatitis (hyperamylasemia) were excluded. Further 396 patients with previous ERCP or gastrointestinal reconstruction history were also excluded. A further 150 patients were excluded because the procedure was abandoned or performed by inexperienced endoscopist, the medical records or video data were incomplete. Each exclusion criterion was counted only once. Therefore, 688 patients were included in the final analysis. The study flow chart was shown in <xref ref-type="fig" rid="F1">Figure&#x00A0;1</xref>. <xref ref-type="table" rid="T1">Table&#x00A0;1</xref> showed the baseline characteristics of the study population, focusing on the variable PEP. The distribution of key characteristics, including sex, age, presence of diabetes, coronary heart disease, hypertension, history of biliary surgery, cholecystectomy, acute pancreatitis, Ca&#x2009;&#x002B;&#x2009;and total bilirubin levels, and various clinical procedures and interventions, were reported. We then performed the PCA dimensionality reduction plot for ADASYN and found on difference between PEP (happen) and non-PEP (Not) patients (<xref ref-type="fig" rid="F1">Figure&#x00A0;1B</xref>).</p>
<table-wrap id="T1" position="float"><label>Table&#x00A0;1</label>
<caption><p>The characteristics and their values considered in this study.</p></caption>
<table>
<thead>
<tr>
<th valign="top" align="left" rowspan="2">Characteristic</th>
<th valign="top" align="center" colspan="2">PEP</th>
</tr>
<tr>
<th valign="top" align="center">Y, <italic>N</italic>&#x2009;&#x003D;&#x2009;88<xref ref-type="table-fn" rid="TF1"><sup>a</sup></xref></th>
<th valign="top" align="center">N, <italic>N</italic>&#x2009;&#x003D;&#x2009;600<xref ref-type="table-fn" rid="TF1"><sup>a</sup></xref></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Sex</td>
</tr>
<tr>
<td valign="top" align="left">Male</td>
<td valign="top" align="center">45 (51.1&#x0025;)</td>
<td valign="top" align="center">327 (54.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Female</td>
<td valign="top" align="center">43 (48.9&#x0025;)</td>
<td valign="top" align="center">273 (45.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Age</td>
</tr>
<tr>
<td valign="top" align="left">&#x003E;60</td>
<td valign="top" align="center">41 (46.6&#x0025;)</td>
<td valign="top" align="center">392 (65.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;60</td>
<td valign="top" align="center">47 (53.4&#x0025;)</td>
<td valign="top" align="center">208 (34.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Diabetes</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">76 (86.4&#x0025;)</td>
<td valign="top" align="center">517 (86.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">12 (13.6&#x0025;)</td>
<td valign="top" align="center">83 (13.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Coronary heart disease</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">81 (92.0&#x0025;)</td>
<td valign="top" align="center">535 (89.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">7 (8.0&#x0025;)</td>
<td valign="top" align="center">65 (10.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Hypertension</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">68 (77.3&#x0025;)</td>
<td valign="top" align="center">452 (75.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">20 (22.7&#x0025;)</td>
<td valign="top" align="center">148 (24.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">History of biliary surgery</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">79 (89.8&#x0025;)</td>
<td valign="top" align="center">556 (92.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">9 (10.2&#x0025;)</td>
<td valign="top" align="center">44 (7.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">History of cholecystectomy</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">80 (90.9&#x0025;)</td>
<td valign="top" align="center">542 (90.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">8 (9.1&#x0025;)</td>
<td valign="top" align="center">58 (9.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">History of acute pancreatitis</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">10 (11.4&#x0025;)</td>
<td valign="top" align="center">33 (5.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">78 (88.6&#x0025;)</td>
<td valign="top" align="center">567 (94.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Ca&#x2009;&#x002B;&#x2009;(mmol/L)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003E;22.1</td>
<td valign="top" align="center">40 (45.5&#x0025;)</td>
<td valign="top" align="center">307 (51.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;22.1</td>
<td valign="top" align="center">48 (54.5&#x0025;)</td>
<td valign="top" align="center">293 (48.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Total bilirubin level (umol/L)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;22&#x2005;umol/L</td>
<td valign="top" align="center">69 (78.4&#x0025;)</td>
<td valign="top" align="center">453 (75.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;22&#x2005;umol/L</td>
<td valign="top" align="center">19 (21.6&#x0025;)</td>
<td valign="top" align="center">147 (24.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Dilatation of extrahepatic bile ducts</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">65 (73.9&#x0025;)</td>
<td valign="top" align="center">503 (83.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">23 (26.1&#x0025;)</td>
<td valign="top" align="center">97 (16.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Direct bilirubin level (umol/L)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;5&#x2005;umol/L</td>
<td valign="top" align="center">34 (38.6&#x0025;)</td>
<td valign="top" align="center">249 (41.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;5&#x2005;umol/L</td>
<td valign="top" align="center">54 (61.4&#x0025;)</td>
<td valign="top" align="center">351 (58.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Gallbladder stone</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">64 (72.7&#x0025;)</td>
<td valign="top" align="center">433 (72.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">24 (27.3&#x0025;)</td>
<td valign="top" align="center">167 (27.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Common bile duct stones</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">61 (69.3&#x0025;)</td>
<td valign="top" align="center">422 (70.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">27 (30.7&#x0025;)</td>
<td valign="top" align="center">178 (29.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Acute cholangitis</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">67 (76.1&#x0025;)</td>
<td valign="top" align="center">432 (72.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">21 (23.9&#x0025;)</td>
<td valign="top" align="center">168 (28.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Benign biliary stricture</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">82 (93.2&#x0025;)</td>
<td valign="top" align="center">569 (94.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">6 (6.8&#x0025;)</td>
<td valign="top" align="center">31 (5.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Malignancy biliary stricture</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">73 (83.0&#x0025;)</td>
<td valign="top" align="center">523 (87.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">15 (17.0&#x0025;)</td>
<td valign="top" align="center">77 (12.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Malignant diseases of the pancreas</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">80 (90.9&#x0025;)</td>
<td valign="top" align="center">527 (87.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">8 (9.1&#x0025;)</td>
<td valign="top" align="center">73 (12.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">pancreatic duct calculus</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">87 (98.9&#x0025;)</td>
<td valign="top" align="center">597 (99.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1 (1.1&#x0025;)</td>
<td valign="top" align="center">3 (0.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Mechanical stone crushing</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">85 (96.6&#x0025;)</td>
<td valign="top" align="center">589 (98.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">3 (3.4&#x0025;)</td>
<td valign="top" align="center">11 (1.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Stone residue</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">9 (10.2&#x0025;)</td>
<td valign="top" align="center">27 (4.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">79 (89.8&#x0025;)</td>
<td valign="top" align="center">573 (95.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Total duration of cannulation</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;5min</td>
<td valign="top" align="center">23 (26.1&#x0025;)</td>
<td valign="top" align="center">94 (15.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;5min</td>
<td valign="top" align="center">65 (73.9&#x0025;)</td>
<td valign="top" align="center">506 (84.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Total number of cannulation</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;5 times</td>
<td valign="top" align="center">24 (27.3&#x0025;)</td>
<td valign="top" align="center">73 (12.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;5 times</td>
<td valign="top" align="center">64 (72.7&#x0025;)</td>
<td valign="top" align="center">527 (87.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Number of guidewire entries into the pancreatic duct</td>
</tr>
<tr>
<td valign="top" align="left">Pancreatic guidewire passages &#x2264;1</td>
<td valign="top" align="center">66 (75.0&#x0025;)</td>
<td valign="top" align="center">545 (90.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Pancreatic guidewire passages &#x003E;1</td>
<td valign="top" align="center">22 (25.0&#x0025;)</td>
<td valign="top" align="center">55 (9.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Pancreatic injection</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">72 (81.8&#x0025;)</td>
<td valign="top" align="center">556 (92.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">16 (18.2&#x0025;)</td>
<td valign="top" align="center">44 (7.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Pancreatic stent placement</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">82 (93.2&#x0025;)</td>
<td valign="top" align="center">524 (87.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">6 (6.8&#x0025;)</td>
<td valign="top" align="center">76 (12.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Endoscopic biliary stenting</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">74 (84.1&#x0025;)</td>
<td valign="top" align="center">521 (86.8&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">14 (15.9&#x0025;)</td>
<td valign="top" align="center">79 (13.2&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">EST</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">77 (87.5&#x0025;)</td>
<td valign="top" align="center">540 (90.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">11 (12.5&#x0025;)</td>
<td valign="top" align="center">60 (10.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Endoscopic nasobiliary drainage</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">78 (88.6&#x0025;)</td>
<td valign="top" align="center">537 (89.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">10 (11.4&#x0025;)</td>
<td valign="top" align="center">63 (10.5&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Sampling from the biliary tract</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">82 (93.2&#x0025;)</td>
<td valign="top" align="center">582 (97.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">6 (6.8&#x0025;)</td>
<td valign="top" align="center">18 (3.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Periampullary diverticulum</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">40 (45.5&#x0025;)</td>
<td valign="top" align="center">466 (77.7&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">48 (54.5&#x0025;)</td>
<td valign="top" align="center">134 (22.3&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left" colspan="3" style="background-color:#d9d9d9">Balloon dilatation</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">62 (70.5&#x0025;)</td>
<td valign="top" align="center">450 (75.0&#x0025;)</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">26 (29.5&#x0025;)</td>
<td valign="top" align="center">150 (25.0&#x0025;)</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="TF1"><label>a</label>
<p><italic>n</italic> (&#x0025;).</p></fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3b"><title>Feature filtering and prediction model construction</title>
<p>Based on the characteristic sets listed in <xref ref-type="table" rid="T1">Table&#x00A0;1</xref>, we used a stepwise regression method with logistic regression and backward elimination to select variables for feature filtering. Seven characteristic sets were included in the features with smaller AIC curves in the training set and a <italic>p</italic>-value&#x2009;&#x003C;&#x2009;0.01: Periampullary diverticulum (PAD), pancreatic stent placement (PSP), Pancreatic injection (PI), number of guidewire passages into the pancreatic duct (NGP), dilatation of extrahepatic bile ducts (DEBD), age, and coronary heart disease (CHD). Based on the logistic regression analysis results table (<xref ref-type="table" rid="T2">Tables&#x00A0;2</xref>&#x2013;<xref ref-type="table" rid="T4">4</xref>), the conventional LR model predicts the probability of pancreatitis using the following equation:<disp-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="UDM1"><mml:mtable columnalign="right left" rowspacing=".5em" columnspacing="thickmathspace" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>0.154</mml:mn><mml:mo>+</mml:mo><mml:mn>1.767</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PAD</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.624</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PSP</mml:mi></mml:mrow><mml:mo>;</mml:mo><mml:mo>+</mml:mo><mml:mn>0.567</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PI</mml:mi></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mrow><mml:mrow><mml:mrow><mml:mspace width="2em" /><mml:mo>+</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>1.075</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">NGP</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.383</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">DEBD</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.639</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">CHD</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1.176</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">Age</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mspace width="thickmathspace" /><mml:mspace width="thinmathspace" /><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>0.154</mml:mn><mml:mo>+</mml:mo><mml:mn>1.767</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PAD</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.624</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PST</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mrow><mml:mrow><mml:mo>+</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>0.567</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PI</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mo>+</mml:mo><mml:mn>1.075</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">NGP</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.383</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">DEBD</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.639</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">CHD</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>1.176</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">Age</mml:mi></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<table-wrap id="T2" position="float"><label>Table&#x00A0;2</label>
<caption><p>Logistic regression with stepwise variable reduction.</p></caption>
<table>
<thead>
<tr>
<th valign="top" align="left">Dependent: PEP</th>
<th valign="top" align="center">Value</th>
<th valign="top" align="center">OR (univariable)</th>
<th valign="top" align="center">OR (multivariable)</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left" rowspan="2">History of cholecystectomy</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.55 (0.35&#x2013;0.85, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.008)</td>
<td valign="top" align="center">0.63 (0.36&#x2013;1.08, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.097)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Balloon dilatation</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.04 (0.81&#x2013;1.35, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.744)</td>
<td valign="top" align="center">1.35 (0.97&#x2013;1.87, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.072)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">EST</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.81 (0.56&#x2013;1.16, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.246)</td>
<td valign="top" align="center">0.63 (0.39&#x2013;1.00, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.051)</td>
</tr>
<tr>
<td valign="top" align="left">Periampullary diverticulum</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Endoscopic biliary stenting</td>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">4.26 (3.33&#x2013;5.48, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">7.06 (5.16&#x2013;9.76, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">&#x2013;</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">-</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.05 (0.75&#x2013;1.46, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.776)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Pancreatic duct calculus</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.98 (0.18&#x2013;5.31, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.981)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Sampling from the biliary tract</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="3">Pancreatic stent placement</td>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.78 (1.00&#x2013;3.28, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.054)</td>
<td valign="top" align="center">4.08 (2.01&#x2013;8.53, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.38 (0.24&#x2013;0.58, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">0.40 (0.23&#x2013;0.67, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Pancreatic injection</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.82 (1.24&#x2013;2.70, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.003)</td>
<td valign="top" align="center">1.70 (1.04&#x2013;2.80, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.036)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Number of guidewire entries into the pancreatic duct</td>
<td valign="top" align="left">Pancreatic guidewire passages &#x2264;1</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Pancreatic guidewire passages &#x003E;1</td>
<td valign="top" align="center">2.99 (2.15&#x2013;4.21, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">3.92 (2.58&#x2013;6.01, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Total number of cannulations</td>
<td valign="top" align="left">&#x2265;5 times</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;5 times</td>
<td valign="top" align="center">1.95 (1.43&#x2013;2.67, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Total duration of cannulation</td>
<td valign="top" align="left">&#x2265;5min</td>
<td valign="top" align="center">-</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;5min</td>
<td valign="top" align="center">1.66 (1.24&#x2013;2.22, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.001)</td>
<td valign="top" align="center">1.34 (0.94&#x2013;1.93, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.109)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Stone residue</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.97 (1.23&#x2013;3.22, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.006)</td>
<td valign="top" align="center">2.20 (1.21&#x2013;4.07, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.010)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Dilatation of extrahepatic bile ducts</td>
<td valign="top" align="left">Nondilated extrahepatic bile duct</td>
<td valign="top" align="center">1.80 (1.36&#x2013;2.40, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">1.85 (1.30&#x2013;2.65, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left">Dilatation of extrahepatic bile ducts</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Malignancy biliary stricture</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.37 (1.00&#x2013;1.90, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.051)</td>
<td valign="top" align="center">2.34 (1.44&#x2013;3.84, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Malignant diseases of the pancreas</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.61 (0.42&#x2013;0.90, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.013)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Benign biliary stricture</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.81 (0.47&#x2013;1.39, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.451)</td>
<td valign="top" align="center">0.52 (0.26&#x2013;1.02, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.057)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Acute cholangitis</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.28 (0.99&#x2013;1.65, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.065)</td>
<td valign="top" align="center">3.74 (2.01&#x2013;7.08, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Gallbladder stone</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.91 (0.71&#x2013;1.17, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.467)</td>
<td valign="top" align="center">0.78 (0.57&#x2013;1.07, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.129)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Mechanical stone crushing</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.98 (0.42&#x2013;2.31, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.963)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Endoscopic nasobiliary drainage</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.16 (0.80&#x2013;1.70, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.430)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Total bilirubin level (umol/L)</td>
<td valign="top" align="left">&#x003C;22&#x2005;umol/L</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;22&#x2005;umol/L</td>
<td valign="top" align="center">1.45 (1.10&#x2013;1.91, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.009)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">History of acute pancreatitis</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.53 (0.97&#x2013;2.43, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.067)</td>
<td valign="top" align="center">1.87 (1.07&#x2013;3.30, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.029)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Direct bilirubin level (umol/L)</td>
<td valign="top" align="left">&#x003C;5&#x2005;umol/L</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x2265;5&#x2005;umol/L</td>
<td valign="top" align="center">1.21 (0.96&#x2013;1.53, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.103)</td>
<td valign="top" align="center">1.31 (0.98&#x2013;1.75, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.068)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Common bile duct stones</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">1.04 (0.82&#x2013;1.34, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.728)</td>
<td valign="top" align="center">0.33 (0.18&#x2013;0.59, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">History of biliary surgery</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.98 (0.63&#x2013;1.51, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.923)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Sex</td>
<td valign="top" align="left">Male</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Female</td>
<td valign="top" align="center">0.83 (0.66&#x2013;1.04, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.104)</td>
<td valign="top" align="center">-</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Diabetes</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.82 (0.58&#x2013;1.15, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.244)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Age</td>
<td valign="top" align="left">&#x003E;60</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;60</td>
<td valign="top" align="center">0.43 (0.34&#x2013;0.54, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
<td valign="top" align="center">0.29 (0.22&#x2013;0.39, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Hypertension</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.65 (0.49&#x2013;0.86, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.003)</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Coronary heart disease</td>
<td valign="top" align="left">N</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">Y</td>
<td valign="top" align="center">0.54 (0.36&#x2013;0.82, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.004)</td>
<td valign="top" align="center">0.44 (0.26&#x2013;0.75, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.003)</td>
</tr>
<tr>
<td valign="top" align="left" rowspan="2">Ca&#x2009;&#x002B;&#x2009;(mmol/L)</td>
<td valign="top" align="left">&#x003E;22.1</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="top" align="left">&#x003C;22.1</td>
<td valign="top" align="center">0.78 (0.62&#x2013;0.98, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.030)</td>
<td valign="top" align="center">0.73 (0.55&#x2013;0.96, <italic>p</italic>&#x2009;&#x003D;&#x2009;0.024)</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float"><label>Table&#x00A0;3</label>
<caption><p>Logistic regression with stepwise variable reduction.</p></caption>
<table>
<thead>
<tr>
<th valign="top" align="left">Step Df</th>
<th valign="top" align="center">Deviance</th>
<th valign="top" align="center">Resid. Df</th>
<th valign="top" align="center">Resid. Dev</th>
<th valign="top" align="center">AIC</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Sex</td>
<td valign="top" align="center">0.002127310</td>
<td valign="top" align="center">1,180</td>
<td valign="top" align="center">1,282.551</td>
<td valign="top" align="center">1,346.551</td>
</tr>
<tr>
<td valign="top" align="left">Mechanical stone crushing</td>
<td valign="top" align="center">0.007754036</td>
<td valign="top" align="center">1,181</td>
<td valign="top" align="center">1,282.559</td>
<td valign="top" align="center">1,344.559</td>
</tr>
<tr>
<td valign="top" align="left">Endoscopic biliary stenting</td>
<td valign="top" align="center">0.077781737</td>
<td valign="top" align="center">1,282</td>
<td valign="top" align="center">1,282.637</td>
<td valign="top" align="center">1,342.637</td>
</tr>
<tr>
<td valign="top" align="left">Total bilirubin level</td>
<td valign="top" align="center">0.110931218</td>
<td valign="top" align="center">1,183</td>
<td valign="top" align="center">1,282.747</td>
<td valign="top" align="center">1,340.747</td>
</tr>
<tr>
<td valign="top" align="left">pancreatic duct calculus</td>
<td valign="top" align="center">0.593770974</td>
<td valign="top" align="center">1,184</td>
<td valign="top" align="center">1,283.341</td>
<td valign="top" align="center">1,339.341</td>
</tr>
<tr>
<td valign="top" align="left">Malignant diseases of the pancreas</td>
<td valign="top" align="center">0.476935189</td>
<td valign="top" align="center">1,185</td>
<td valign="top" align="center">1,283.818</td>
<td valign="top" align="center">1,337.818</td>
</tr>
<tr>
<td valign="top" align="left">Total number of cannulations</td>
<td valign="top" align="center">0.476935189</td>
<td valign="top" align="center">1,186</td>
<td valign="top" align="center">1,284.450</td>
<td valign="top" align="center">1,336.450</td>
</tr>
<tr>
<td valign="top" align="left">History of biliary surgery</td>
<td valign="top" align="center">0.568842898</td>
<td valign="top" align="center">1,187</td>
<td valign="top" align="center">1,285.019</td>
<td valign="top" align="center">1,335.019</td>
</tr>
<tr>
<td valign="top" align="left">Hypertension</td>
<td valign="top" align="center">0.843645419</td>
<td valign="top" align="center">1,188</td>
<td valign="top" align="center">1,286.421</td>
<td valign="top" align="center">1,334.421</td>
</tr>
<tr>
<td valign="top" align="left">Diabetes</td>
<td valign="top" align="center">0.843645419</td>
<td valign="top" align="center">1,189</td>
<td valign="top" align="center">1,287.265</td>
<td valign="top" align="center">1,333.265</td>
</tr>
<tr>
<td valign="top" align="left">Endoscopic nasobiliary drainage</td>
<td valign="top" align="center">1.511438520</td>
<td valign="top" align="center">1,190</td>
<td valign="top" align="center">1,288.776</td>
<td valign="top" align="center">1,332.77</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T4" position="float"><label>Table&#x00A0;4</label>
<caption><p>Covariance diagnostics.</p></caption>
<table>
<thead>
<tr>
<th valign="top" align="left">Term</th>
<th valign="top" align="center">VIF</th>
<th valign="top" align="center">VIFCI_low</th>
<th valign="top" align="center">VIF_CI_high</th>
<th valign="top" align="center">Tolerance</th>
<th valign="top" align="center">Tolerance_CI_low</th>
<th valign="top" align="center">Tolerance_CI_high</th>
<th valign="top" align="center">SE_factor</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Sex</td>
<td valign="top" align="center">1.221</td>
<td valign="top" align="center">1.155</td>
<td valign="top" align="center">1<italic>.316</italic></td>
<td valign="top" align="center">1.105</td>
<td valign="top" align="center">0.819</td>
<td valign="top" align="center">0.760</td>
<td valign="top" align="center">0.866</td>
</tr>
<tr>
<td valign="top" align="left">Age</td>
<td valign="top" align="center">1.231</td>
<td valign="top" align="center">1.163</td>
<td valign="top" align="center">1.326</td>
<td valign="top" align="center">1.109</td>
<td valign="top" align="center">0.812</td>
<td valign="top" align="center">0.754</td>
<td valign="top" align="center">0.860</td>
</tr>
<tr>
<td valign="top" align="left">Diabetes</td>
<td valign="top" align="center">1.856</td>
<td valign="top" align="center">1.720</td>
<td valign="top" align="center">2.018</td>
<td valign="top" align="center">1.362</td>
<td valign="top" align="center">0.539</td>
<td valign="top" align="center">0.496</td>
<td valign="top" align="center">0.581</td>
</tr>
<tr>
<td valign="top" align="left">coronary heart disease</td>
<td valign="top" align="center">1.702</td>
<td valign="top" align="center">1.582</td>
<td valign="top" align="center">1.847</td>
<td valign="top" align="center">1.305</td>
<td valign="top" align="center">0.587</td>
<td valign="top" align="center">0.541</td>
<td valign="top" align="center">0.632</td>
</tr>
<tr>
<td valign="top" align="left">Hypertension</td>
<td valign="top" align="center">1.504</td>
<td valign="top" align="center">1.405</td>
<td valign="top" align="center">1.627</td>
<td valign="top" align="center">1.226</td>
<td valign="top" align="center">0.665</td>
<td valign="top" align="center">0.615</td>
<td valign="top" align="center">0.712</td>
</tr>
<tr>
<td valign="top" align="left">History of biliary surgery</td>
<td valign="top" align="center">1.168</td>
<td valign="top" align="center">1.109</td>
<td valign="top" align="center">1.259</td>
<td valign="top" align="center">1.081</td>
<td valign="top" align="center">0.856</td>
<td valign="top" align="center">0.794</td>
<td valign="top" align="center">0.902</td>
</tr>
<tr>
<td valign="top" align="left">History of cholecystectomy</td>
<td valign="top" align="center">1.110</td>
<td valign="top" align="center">1.060</td>
<td valign="top" align="center">1.202</td>
<td valign="top" align="center">0.900</td>
<td valign="top" align="center">0.832</td>
<td valign="top" align="center">0.943</td>
<td valign="top" align="center">1.054</td>
</tr>
<tr>
<td valign="top" align="left">History of acute pancreatitis</td>
<td valign="top" align="center">1.092</td>
<td valign="top" align="center">1.045</td>
<td valign="top" align="center">1.186</td>
<td valign="top" align="center">0.915</td>
<td valign="top" align="center">0.843</td>
<td valign="top" align="center">0.956</td>
<td valign="top" align="center">1.045</td>
</tr>
<tr>
<td valign="top" align="left">Ca&#x2009;&#x002B;&#x2009;(mmol/L)</td>
<td valign="top" align="center">1.092</td>
<td valign="top" align="center">1.046</td>
<td valign="top" align="center">1.186</td>
<td valign="top" align="center">1.045</td>
<td valign="top" align="center">0.915</td>
<td valign="top" align="center">0.843</td>
<td valign="top" align="center">0.956</td>
</tr>
<tr>
<td valign="top" align="left">Total bilirubin level (umol/L)<break/>Dilatation of</td>
<td valign="top" align="center">1.761</td>
<td valign="top" align="center">1.635</td>
<td valign="top" align="center">1.913</td>
<td valign="top" align="center">1.327</td>
<td valign="top" align="center">0.568</td>
<td valign="top" align="center">0.523</td>
<td valign="top" align="center">0.612</td>
</tr>
<tr>
<td valign="top" align="left">Extrahepatic bile ducts</td>
<td valign="top" align="center">1.138</td>
<td valign="top" align="center">1.084</td>
<td valign="top" align="center">1.229</td>
<td valign="top" align="center">1.067</td>
<td valign="top" align="center">0.878</td>
<td valign="top" align="center">0.813</td>
<td valign="top" align="center">0.923</td>
</tr>
<tr>
<td valign="top" align="left">Direct bilirubin level(umol/L)</td>
<td valign="top" align="center">1.874</td>
<td valign="top" align="center">1.736</td>
<td valign="top" align="center">2.038</td>
<td valign="top" align="center">1.369</td>
<td valign="top" align="center">0.534</td>
<td valign="top" align="center">0.491</td>
<td valign="top" align="center">0.576</td>
</tr>
<tr>
<td valign="top" align="left">Gallbladder stone</td>
<td valign="top" align="center">1.179</td>
<td valign="top" align="center">1.118</td>
<td valign="top" align="center">1.271</td>
<td valign="top" align="center">1.086</td>
<td valign="top" align="center">0.848</td>
<td valign="top" align="center">0.787</td>
<td valign="top" align="center">0.894</td>
</tr>
<tr>
<td valign="top" align="left">Common bile duct stones</td>
<td valign="top" align="center">2.682</td>
<td valign="top" align="center">2.460</td>
<td valign="top" align="center">2.939</td>
<td valign="top" align="center">1.638</td>
<td valign="top" align="center">0.373</td>
<td valign="top" align="center">0.340</td>
<td valign="top" align="center">0.407</td>
</tr>
<tr>
<td valign="top" align="left">Acute cholangitis</td>
<td valign="top" align="center">3.525</td>
<td valign="top" align="center">3.215</td>
<td valign="top" align="center">3.879</td>
<td valign="top" align="center">1.878</td>
<td valign="top" align="center">0.284</td>
<td valign="top" align="center">0.258</td>
<td valign="top" align="center">0.311</td>
</tr>
<tr>
<td valign="top" align="left">Benign biliary stricture</td>
<td valign="top" align="center">1.330</td>
<td valign="top" align="center">1.251</td>
<td valign="top" align="center">1.435</td>
<td valign="top" align="center">1.153</td>
<td valign="top" align="center">0.752</td>
<td valign="top" align="center">0.697</td>
<td valign="top" align="center">0.799</td>
</tr>
<tr>
<td valign="top" align="left">Malignancy biliary stricture</td>
<td valign="top" align="center">2.784</td>
<td valign="top" align="center">2.551</td>
<td valign="top" align="center">3.052</td>
<td valign="top" align="center">1.668</td>
<td valign="top" align="center">0.359</td>
<td valign="top" align="center">0.328</td>
<td valign="top" align="center">0.392</td>
</tr>
<tr>
<td valign="top" align="left">Malignant diseases of the pancreas</td>
<td valign="top" align="center">2.014</td>
<td valign="top" align="center">1.861</td>
<td valign="top" align="center">2.193</td>
<td valign="top" align="center">1.419</td>
<td valign="top" align="center">0.497</td>
<td valign="top" align="center">0.456</td>
<td valign="top" align="center">0.537</td>
</tr>
<tr>
<td valign="top" align="left">pancreatic duct calculus</td>
<td valign="top" align="center">1.130</td>
<td valign="top" align="center">1.077</td>
<td valign="top" align="center">1.221</td>
<td valign="top" align="center">1.063</td>
<td valign="top" align="center">0.885</td>
<td valign="top" align="center">0.819</td>
<td valign="top" align="center">0.929</td>
</tr>
<tr>
<td valign="top" align="left">Mechanical stone crushing</td>
<td valign="top" align="center">1.000</td>
<td valign="top" align="center">1.000</td>
<td valign="top" align="center">Inf</td>
<td valign="top" align="center">1.000</td>
<td valign="top" align="center">1.000</td>
<td valign="top" align="center">0.000</td>
<td valign="top" align="center">1.000</td>
</tr>
<tr>
<td valign="top" align="left">Stone residue</td>
<td valign="top" align="center">1.283</td>
<td valign="top" align="center">1.209</td>
<td valign="top" align="center">1.383</td>
<td valign="top" align="center">1.133</td>
<td valign="top" align="center">0.779</td>
<td valign="top" align="center">0.723</td>
<td valign="top" align="center">0.827</td>
</tr>
<tr>
<td valign="top" align="left">Total duration of cannulation</td>
<td valign="top" align="center">1.124</td>
<td valign="top" align="center">1.071</td>
<td valign="top" align="center">1.215</td>
<td valign="top" align="center">1.060</td>
<td valign="top" align="center">0.890</td>
<td valign="top" align="center">0.823</td>
<td valign="top" align="center">0.933</td>
</tr>
<tr>
<td valign="top" align="left">Total number of cannulations</td>
<td valign="top" align="center">1.300</td>
<td valign="top" align="center">1.224</td>
<td valign="top" align="center">1.401</td>
<td valign="top" align="center">1.140</td>
<td valign="top" align="center">0.769</td>
<td valign="top" align="center">0.714</td>
<td valign="top" align="center">0.817</td>
</tr>
<tr>
<td valign="top" align="left">Number of guidewire entries into the pancreatic duc</td>
<td valign="top" align="center">1.275</td>
<td valign="top" align="center">1.202</td>
<td valign="top" align="center">1.374</td>
<td valign="top" align="center">1.129</td>
<td valign="top" align="center">0.784</td>
<td valign="top" align="center">0.728</td>
<td valign="top" align="center">0.832</td>
</tr>
<tr>
<td valign="top" align="left">Pancreatic injection</td>
<td valign="top" align="center">1.336</td>
<td valign="top" align="center">1.256</td>
<td valign="top" align="center">1.441</td>
<td valign="top" align="center">1.156</td>
<td valign="top" align="center">0.749</td>
<td valign="top" align="center">0.694</td>
<td valign="top" align="center">0.796</td>
</tr>
<tr>
<td valign="top" align="left">Pancreatic stent placement</td>
<td valign="top" align="center">1.279</td>
<td valign="top" align="center">1.205</td>
<td valign="top" align="center">1.378</td>
<td valign="top" align="center">1.131</td>
<td valign="top" align="center">0.782</td>
<td valign="top" align="center">0.726</td>
<td valign="top" align="center">0.830</td>
</tr>
<tr>
<td valign="top" align="left">Endoscopic biliary stenting</td>
<td valign="top" align="center">2.975</td>
<td valign="top" align="center">2.722</td>
<td valign="top" align="center">3.265</td>
<td valign="top" align="center">1.725</td>
<td valign="top" align="center">0.336</td>
<td valign="top" align="center">0.306</td>
<td valign="top" align="center">0.367</td>
</tr>
<tr>
<td valign="top" align="left">EST</td>
<td valign="top" align="center">1.452</td>
<td valign="top" align="center">1.359</td>
<td valign="top" align="center">1.569</td>
<td valign="top" align="center">1.205</td>
<td valign="top" align="center">0.689</td>
<td valign="top" align="center">0.637</td>
<td valign="top" align="center">0.736</td>
</tr>
<tr>
<td valign="top" align="left">Endoscopic nasobiliary drainage</td>
<td valign="top" align="center">2.624</td>
<td valign="top" align="center">2.407</td>
<td valign="top" align="center">2.874</td>
<td valign="top" align="center">1.620</td>
<td valign="top" align="center">0.381</td>
<td valign="top" align="center">0.348</td>
<td valign="top" align="center">0.415</td>
</tr>
<tr>
<td valign="top" align="left">Sampling from the biliary tract</td>
<td valign="top" align="center">1.573</td>
<td valign="top" align="center">1.466</td>
<td valign="top" align="center">1.703</td>
<td valign="top" align="center">1.254</td>
<td valign="top" align="center">0.636</td>
<td valign="top" align="center">0.587</td>
<td valign="top" align="center">0.682</td>
</tr>
<tr>
<td valign="top" align="left">Periampullary diverticulum</td>
<td valign="top" align="center">1.243</td>
<td valign="top" align="center">1.174</td>
<td valign="top" align="center">1.339</td>
<td valign="top" align="center">1.115</td>
<td valign="top" align="center">0.805</td>
<td valign="top" align="center">0.747</td>
<td valign="top" align="center">0.852</td>
</tr>
<tr>
<td valign="top" align="left">Balloon dilatation</td>
<td valign="top" align="center">1.255</td>
<td valign="top" align="center">1.185</td>
<td valign="top" align="center">1.353</td>
<td valign="top" align="center">1.120</td>
<td valign="top" align="center">0.797</td>
<td valign="top" align="center">0.739</td>
<td valign="top" align="center">0.844</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>To enhance the interpretability and clinical reliability of our model, we conducted a comprehensive Shapley additive explanations (SHAP) analysis and calibration analysis. For the five models, the SHAP summary figures intuitively showed the contribution of each feature to the model prediction, and highlights the most influential clinical variables (<xref ref-type="fig" rid="F2">Figure&#x00A0;2</xref>). After that, we chose the intersection features selected by LASSO regression and stepwise methods for modeling, and finally removed the pancreatic injection (PI) feature from the equation. The final prediction equation was:<disp-formula><mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" id="UDM2"><mml:mtable columnalign="right left" rowspacing=".5em" columnspacing="thickmathspace" displaystyle="true"><mml:mtr><mml:mtd /><mml:mtd><mml:mrow><mml:mrow><mml:mi>P</mml:mi><mml:mspace width="thinmathspace" /><mml:mo>=</mml:mo><mml:mspace width="thinmathspace" /><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.226</mml:mn><mml:mspace width="thinmathspace" /><mml:mo>+</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>1.739</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PAD</mml:mi></mml:mrow><mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.617</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PSP</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /><mml:mo>+</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>1.235</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">NGP</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mrow><mml:mrow><mml:mrow><mml:mspace width="2em" /><mml:mspace width="thickmathspace" /><mml:mspace width="thickmathspace" /><mml:mo>+</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>0.43</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">DEBD</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /><mml:mo>&#x2212;</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>0.601</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">CHD</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /><mml:mo>&#x2212;</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>1.128</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">Age</mml:mi></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mspace width="thickmathspace" /><mml:mspace width="thickmathspace" /><mml:mspace width="thickmathspace" /><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mspace width="thinmathspace" /><mml:mo>+</mml:mo><mml:mspace width="thinmathspace" /><mml:mrow><mml:mi mathvariant="normal">exp</mml:mi></mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.226</mml:mn><mml:mspace width="thinmathspace" /><mml:mo>+</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>1.739</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PAD</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /><mml:mo>&#x2212;</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>0.617</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">PSP</mml:mi></mml:mrow><mml:mspace width="thickmathspace" /></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mspace width="thickmathspace" /><mml:mspace width="thickmathspace" /><mml:mrow><mml:mrow><mml:mo>+</mml:mo><mml:mspace width="thickmathspace" /><mml:mn>1.235</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">NGP</mml:mi></mml:mrow><mml:mo>+</mml:mo><mml:mn>0.43</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">DEBD</mml:mi></mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mn>0.601</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">CHD</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd /><mml:mtd><mml:mspace width="2em" /><mml:mspace width="thickmathspace" /><mml:mspace width="thickmathspace" /><mml:mrow><mml:mrow><mml:mo>&#x2212;</mml:mo><mml:mspace width="thinmathspace" /><mml:mn>1.128</mml:mn><mml:mspace width="thickmathspace" /><mml:mo>&#x2217;</mml:mo><mml:mspace width="thickmathspace" /><mml:mrow><mml:mi mathvariant="normal">Age</mml:mi></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<fig id="F2" position="float"><label>Figure&#x00A0;2</label>
<caption><p>Bar plot showing the absolute mean SHAP values for the seven features in each model.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g002.tif"><alt-text content-type="machine-generated">Bar charts illustrating feature importance for five models: LightGBM, LR, MLP, SVM, and XGBoost. Each chart ranks features PAD, Age, NGP, DEBD, PSP, CHD, and PI by mean SHAP values. PAD consistently shows high importance across models.</alt-text>
</graphic>
</fig>
<p>At the same time, we considered the CHD patients taking aspirin. Among 72 patients diagnosed with CHD, 50 patients (69.4&#x0025;) regularly took aspirin before ERCP surgery, and only one patient (2.0&#x0025;) had PEP incidence. For the 22 non-aspirin group, the PEP incidence rate was 18.2&#x0025; (4/22), showing significant difference compared with aspirin-taken group (<italic>p</italic>-value&#x2009;&#x003D;&#x2009;0.024), indicating that aspirin effect on PEP incidence for CHD patients.</p>
</sec>
<sec id="s3c"><title>Model performance evaluation</title>
<p>The predictive performance that was measured by the receiver operating characteristic (ROC) model by comparing to the conventional logistic regression (LR) model, was depicted (<xref ref-type="fig" rid="F3">Figures&#x00A0;3A&#x2013;F</xref>). Models with an area under the ROC curve (AUC) exceeding 0.75 were considered as acceptable. This criterion was met by the following models: LR (<xref ref-type="fig" rid="F3">Figure&#x00A0;3A</xref>) with a test AUC of 0.775 [95&#x0025; confidence interval (CI) 0.727&#x2013;0.823]; LR (ML) (<xref ref-type="fig" rid="F3">Figure&#x00A0;3B</xref>) with a test AUC of 0.788 (95&#x0025; CI 0.7347&#x2013;0.8408); support vector machine (SVM) (<xref ref-type="fig" rid="F3">Figure&#x00A0;3C</xref>) with a test AUC of 0.812 (95&#x0025; CI 0.7612&#x2013;0.8624); XGBoost (<xref ref-type="fig" rid="F3">Figure&#x00A0;3D</xref>) with a test AUC of 0.840 (95&#x0025; CI 0.7955&#x2013;0.8851); LightGBM (<xref ref-type="fig" rid="F3">Figure&#x00A0;3E</xref>) with a test AUC of 0.807 (95&#x0025; CI 0.7575&#x2013;0.8574); and the multilayer perceptron (MLP) model (<xref ref-type="fig" rid="F3">Figure&#x00A0;3F</xref>) with a test AUC of 0.835 (95&#x0025; CI 0.7887&#x2013;0.8822). A detailed performance description for each ML model is supplemented in <xref ref-type="table" rid="T5">Table&#x00A0;5</xref>.</p>
<fig id="F3" position="float"><label>Figure&#x00A0;3</label>
<caption><p>Assessment of the AUC values for multiple models. <bold>(A&#x2013;F)</bold> Line plot represented the ROC curves for different models. <italic>X</italic>-axis is specificity, and <italic>Y</italic>-axis is sensitivity. Red solid line and blue dashed line represented train and test AUC, respectively.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g003.tif"><alt-text content-type="machine-generated">Six ROC curves illustrating the performance of different models in binary classification tasks. \n\nPanel A: Logistic Regression with an AUC of 0.775.\nPanel B: Logistic Regression showing Train AUC of 0.762 and Test AUC of 0.788.\nPanel C: SVM with Train AUC of 0.796 and Test AUC of 0.812.\nPanel D: XGBoost with Train AUC of 0.834 and Test AUC of 0.840.\nPanel E: LightGBM showing Train AUC of 0.810 and Test AUC of 0.807.\nPanel F: MLP with Train AUC of 0.820 and Test AUC of 0.835. \n\nAxes represent sensitivity and specificity.</alt-text>
</graphic>
</fig>
<table-wrap id="T5" position="float"><label>Table&#x00A0;5</label>
<caption><p>The performance of all ML models.</p></caption>
<table>
<thead>
<tr>
<th valign="top" align="left">model name</th>
<th valign="top" align="center">Accuracy</th>
<th valign="top" align="center">AUC</th>
<th valign="top" align="center">95&#x0025; CI</th>
<th valign="top" align="center">Sensitivity</th>
<th valign="top" align="center">Specificity</th>
<th valign="top" align="center">PPV</th>
<th valign="top" align="center">NPV</th>
<th valign="top" align="center">Precision</th>
<th valign="top" align="center">Recall</th>
<th valign="top" align="center">F1</th>
<th valign="top" align="center">Threshold</th>
<th valign="top" align="left">Task</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">LR</td>
<td valign="top" align="center">0.687</td>
<td valign="top" align="center">0.762</td>
<td valign="top" align="center">0.7336&#x2013;0.7905</td>
<td valign="top" align="center">0.489</td>
<td valign="top" align="center">0.850</td>
<td valign="top" align="center">0.729</td>
<td valign="top" align="center">0.669</td>
<td valign="top" align="center">0.729</td>
<td valign="top" align="center">0.489</td>
<td valign="top" align="center">0.585</td>
<td valign="top" align="center">0.518</td>
<td valign="top" align="center">PEP-train</td>
</tr>
<tr>
<td valign="top" align="left">LR</td>
<td valign="top" align="center">0.707</td>
<td valign="top" align="center">0.788</td>
<td valign="top" align="center">0.7347&#x2013;0.8408</td>
<td valign="top" align="center">0.516</td>
<td valign="top" align="center">0.864</td>
<td valign="top" align="center">0.756</td>
<td valign="top" align="center">0.686</td>
<td valign="top" align="center">0.756</td>
<td valign="top" align="center">0.516</td>
<td valign="top" align="center">0.613</td>
<td valign="top" align="center">0.518</td>
<td valign="top" align="center">PEP-test</td>
</tr>
<tr>
<td valign="top" align="left">SVM</td>
<td valign="top" align="center">0.754</td>
<td valign="top" align="center">0.796</td>
<td valign="top" align="center">0.7696&#x2013;0.8230</td>
<td valign="top" align="center">0.697</td>
<td valign="top" align="center">0.801</td>
<td valign="top" align="center">0.743</td>
<td valign="top" align="center">0.762</td>
<td valign="top" align="center">0.743</td>
<td valign="top" align="center">0.697</td>
<td valign="top" align="center">0.719</td>
<td valign="top" align="center">0.430</td>
<td valign="top" align="center">PEP-train</td>
</tr>
<tr>
<td valign="top" align="left">SVM</td>
<td valign="top" align="center">0.743</td>
<td valign="top" align="center">0.812</td>
<td valign="top" align="center">0.7612&#x2013;0.8624</td>
<td valign="top" align="center">0.698</td>
<td valign="top" align="center">0.779</td>
<td valign="top" align="center">0.721</td>
<td valign="top" align="center">0.759</td>
<td valign="top" align="center">0.721</td>
<td valign="top" align="center">0.698</td>
<td valign="top" align="center">0.710</td>
<td valign="top" align="center">0.246</td>
<td valign="top" align="center">PEP-test</td>
</tr>
<tr>
<td valign="top" align="left">XGBoost</td>
<td valign="top" align="center">0.750</td>
<td valign="top" align="center">0.834</td>
<td valign="top" align="center">0.8110&#x2013;0.8567</td>
<td valign="top" align="center">0.701</td>
<td valign="top" align="center">0.790</td>
<td valign="top" align="center">0.733</td>
<td valign="top" align="center">0.762</td>
<td valign="top" align="center">0.733</td>
<td valign="top" align="center">0.701</td>
<td valign="top" align="center">0.717</td>
<td valign="top" align="center">0.451</td>
<td valign="top" align="center">PEP-train</td>
</tr>
<tr>
<td valign="top" align="left">XGBoost</td>
<td valign="top" align="center">0.750</td>
<td valign="top" align="center">0.840</td>
<td valign="top" align="center">0.7955&#x2013;0.8851</td>
<td valign="top" align="center">0.690</td>
<td valign="top" align="center">0.799</td>
<td valign="top" align="center">0.737</td>
<td valign="top" align="center">0.759</td>
<td valign="top" align="center">0.737</td>
<td valign="top" align="center">0.690</td>
<td valign="top" align="center">0.713</td>
<td valign="top" align="center">0.451</td>
<td valign="top" align="center">PEP-test</td>
</tr>
<tr>
<td valign="top" align="left">LightGBM</td>
<td valign="top" align="center">0.734</td>
<td valign="top" align="center">0.810</td>
<td valign="top" align="center">0.7852&#x2013;0.8346</td>
<td valign="top" align="center">0.657</td>
<td valign="top" align="center">0.798</td>
<td valign="top" align="center">0.728</td>
<td valign="top" align="center">0.739</td>
<td valign="top" align="center">0.728</td>
<td valign="top" align="center">0.657</td>
<td valign="top" align="center">0.691</td>
<td valign="top" align="center">0.468</td>
<td valign="top" align="center">PEP-train</td>
</tr>
<tr>
<td valign="top" align="left">LightGBM</td>
<td valign="top" align="center">0.718</td>
<td valign="top" align="center">0.807</td>
<td valign="top" align="center">0.7575&#x2013;0.8574</td>
<td valign="top" align="center">0.865</td>
<td valign="top" align="center">0.597</td>
<td valign="top" align="center">0.637</td>
<td valign="top" align="center">0.844</td>
<td valign="top" align="center">0.637</td>
<td valign="top" align="center">0.865</td>
<td valign="top" align="center">0.734</td>
<td valign="top" align="center">0.406</td>
<td valign="top" align="center">PEP-test</td>
</tr>
<tr>
<td valign="top" align="left">MLP</td>
<td valign="top" align="center">0.729</td>
<td valign="top" align="center">0.820</td>
<td valign="top" align="center">0.7957&#x2013;0.8444</td>
<td valign="top" align="center">0.875</td>
<td valign="top" align="center">0.608</td>
<td valign="top" align="center">0.648</td>
<td valign="top" align="center">0.856</td>
<td valign="top" align="center">0.648</td>
<td valign="top" align="center">0.875</td>
<td valign="top" align="center">0.745</td>
<td valign="top" align="center">0.430</td>
<td valign="top" align="center">PEP-train</td>
</tr>
<tr>
<td valign="top" align="left">MLP</td>
<td valign="top" align="center">0.750</td>
<td valign="top" align="center">0.835</td>
<td valign="top" align="center">0.7887&#x2013;0.8822</td>
<td valign="top" align="center">0.905</td>
<td valign="top" align="center">0.623</td>
<td valign="top" align="center">0.663</td>
<td valign="top" align="center">0.889</td>
<td valign="top" align="center">0.663</td>
<td valign="top" align="center">0.905</td>
<td valign="top" align="center">0.765</td>
<td valign="top" align="center">0.430</td>
<td valign="top" align="left">PEP-test</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Then we performed calibration analysis for each model, the calibration curves indicated that Logistic Regression (LR) demonstrated nearly ideal calibration, while LightGBM and Xgboost also showed reasonable calibration performance. In contrast, the calibration curves for SVM and MLP exhibit minor deviations from the ideal line, which remain within acceptable limits and do not substantially affect the clinical interpretability of the predictions (<xref ref-type="fig" rid="F4">Figure&#x00A0;4A</xref>). Finally, we included a decision-curve analysis (DCA) to evaluate clinical benefit at different thresholds. This analysis allows for a direct comparison of the net clinical benefit across a range of threshold probabilities, providing a crucial perspective on the model&#x0027;s value in clinical decision-making beyond traditional discrimination metrics (<xref ref-type="fig" rid="F4">Figure&#x00A0;4B</xref>).</p>
<fig id="F4" position="float"><label>Figure&#x00A0;4</label>
<caption><p>Assessment of the five models. <bold>(A)</bold> Line plot showing the calibration analysis results for each model. <bold>(B)</bold> Line plot showing the decision-curve analysis results to evaluate clinical benefit for each model.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g004.tif"><alt-text content-type="machine-generated">Panel A shows calibration curves for five models: LR, LightGBM, MLP, SVM, and XGBoost. Each graph plots actual frequency versus average predicted probability. Panel B displays decision curve analyses for the same models, presenting net benefit against threshold probability with plotted lines for model performance, treat all, and treat none strategies.</alt-text>
</graphic>
</fig>
<p>Finally, we developed a simplified, points-based risk scoring system for potential bedside application based on the relative SHAP importance using the LightGBM model, which showed higher AUC score than other models. Using a pre-specified threshold of 3.46 points (derived from the risk distribution in our cohort), patients can be stratified into a Low-Risk group (score &#x2264;3.46) and a High-Risk group (score &#x003E;3.46) (<xref ref-type="fig" rid="F5">Figure&#x00A0;5A</xref>). This simplified model, despite its ease of use, retained a clinically acceptable discriminative ability with an AUC of 0.75 on our validation set (<xref ref-type="fig" rid="F5">Figure&#x00A0;5B</xref>).</p>
<fig id="F5" position="float"><label>Figure&#x00A0;5</label>
<caption><p>Construction of a simplified, points-based risk scoring system. <bold>(A)</bold> The points-based risk scoring system for potential bedside application. <bold>(B)</bold> Line plot represented the ROC curve for the system.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g005.tif"><alt-text content-type="machine-generated">Table A lists weight scores, coefficients, and order weight scores for parameters: PAD (2.77, 0.8, 3.46), Age (2.37, 0.8, 2.96), NGP (2.04, 1.3, 1.57), DEBD (1.19, 1.0, 1.19), PI (1.07, 1.3, 0.82), and Risk threshold (3.46). Graph B shows an ROC curve with an AUC of 0.76, plotting sensitivity against 1-specificity, highlighting a risk threshold at 3.46.</alt-text>
</graphic>
</fig>
</sec>
</sec>
<sec id="s4" sec-type="discussion"><title>Discussion</title>
<sec id="s4a"><title>Major findings</title>
<p>In this study, we developed a predictive model for post-ERCP pancreatitis using ML techniques, employing stepwise regression for feature selection. Based on stringent inclusion and exclusion criteria, we independently identified six factors showing highest correlation with outcomes. We consider periampullary diverticulum, pancreatic duct stent placement, more than one guidewire passage into the pancreatic duct, non-dilated extrahepatic bile duct, age, and coronary heart disease as the most significant clinical variables affecting the risk of PEP. In subsequent ML model development, all ML models outperformed the conventional LR model, with Support Vector Machines (SVM), Gradient Boosting Trees (GBT), and Multi-Layer Perceptron (MLP) models achieving acceptable or superior performance. <xref ref-type="fig" rid="F6">Figure&#x00A0;6</xref> depicts the overall research process.</p>
<fig id="F6" position="float"><label>Figure&#x00A0;6</label>
<caption><p>The ERCP patient selection and model construction pipeline in this study.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="fsurg-12-1628956-g006.tif"><alt-text content-type="machine-generated">Flowchart detailing the process of selecting 688 patients from 1,748 who underwent ERCP procedures. The dataset is divided into a training set and a validation set. The training set undergoes ADASYN oversampling, stepwise backward regression, and feature selection, resulting in six features. These are used to develop machine learning and logistic regression models, which are then assessed for performance.</alt-text>
</graphic>
</fig>
</sec>
<sec id="s4b"><title>Comparison with the current models</title>
<p>Post-ERCP pancreatitis (PEP) represents one of the most frequent and severe complications associated with ERCP (<xref ref-type="bibr" rid="B16">16</xref>). This complication can substantially diminish patients&#x0027; quality of life, augment healthcare expenditures, and in its gravest manifestations, result in patient mortality (<xref ref-type="bibr" rid="B17">17</xref>). Although a multitude of predictive models have been developed that demonstrate adept performance, their implementation is often impeded by their complexity, which hinders their integration into routine clinical practice. Furthermore, there may be an insufficient level of recognition among younger endoscopists regarding the potential risk of PEP occurrence. Therefore, it is necessary to develop a prediction model with acceptable accuracy and relatively straightforward predictors for clinical use. In 2021, Koichi Fujita et al. created a practical scoring system for PEP based on a multicenter study in Japan. Considering the weight of seven predictive factors, they developed a model with an acceptable fit and accuracy (AUROC&#x2009;&#x003D;&#x2009;0.791) (<xref ref-type="bibr" rid="B18">18</xref>). In 2022, Chan Hyuk Park et al. proposed a model based on high-risk factors before and after ERCP but failed to validate the effectiveness of their preoperative risk prediction model (<xref ref-type="bibr" rid="B19">19</xref>). Recently, our group used a logistic regression-based backward algorithm to select predictive factors for the establishment of traditional and machine learning models for PEP. Our machine learning model showed better performance and prospects for clinical application than previous models. Traditional multivariate regression is susceptible to small sample bias, particularly in the context of low probability events such as PEP. This approach may also exhibit limited generalization capabilities when addressing complex nonlinear relationships and instances where positive event samples are scarce. To circumvent these constraints, employing distinct ML algorithm-based models using preoperative and postoperative data can potentially enhance predictive performance and surpass the limitations inherent in existing models (<xref ref-type="bibr" rid="B20">20</xref>).</p>
</sec>
<sec id="s4c"><title>ML model performance</title>
<p>ML models have been widely applied in the medical field due to their advantages in handling complex nonlinear relationships and high-dimensional data (<xref ref-type="bibr" rid="B21">21</xref>). Substantial literatures have discussed the establishment of ML models related to acute pancreatitis. Our group also paid attention to the work published by Livia Archibugi and colleagues in May 2023, which may be the first discussion on using ML to predict the risk of PEP. They innovatively used the SHapley Additive exPlanations (SHAP) method to open the &#x201C;black box&#x201D; of algorithms and study how each feature contributes to the model. Unfortunately, neither traditional nor ML models showed AUROC curve values that could be referenced and applied clinically (Gradient Boosting&#x2009;&#x003D;&#x2009;0.67, LR&#x2009;&#x003D;&#x2009;0.56). They suggested that this might be related to insufficient model training due to data imbalance caused by the low incidence rate (6&#x0025;) of PEP (<xref ref-type="bibr" rid="B22">22</xref>). After augmenting the training set data using the ADASYN method, all models satisfactorily predicted the occurrence of postoperative pancreatitis in the validation set, with XGBoost showing the best AUC: 0.840 (95&#x0025; Cl 0.7955&#x2013;0.8851). Meanwhile, the above results also need to be further validated by statistical comparison such as DeLong test using bigger sample size in future. We recognize that ADASYN may induce the risk of overfitting, leading to forecast deviation. Meanwhile, it can indeed effectively improve the performance of classifiers and neural networks when the dataset is highly imbalanced; therefore, it is feasible to use these data to predict PEP events. That is, endoscopists can achieve dynamic prediction based on these features and decide on perioperative strategies, allowing nursing decisions to be more precise and personalized.</p>
</sec>
<sec id="s4d"><title>Features for PEP prediction</title>
<p>After ERCP, the interpretation and communication of ML models pose a challenge due to the existence of algorithmic &#x201C;black boxes&#x201D;. In this investigation, a model-agnostic interpretive approach was employed to discern the underlying clinical elements that may contribute to the onset of post-endoscopic pancreatitis in patients. Using a sequence backward stepwise regression algorithm, we are instrumental in predicting post we identified key clinical variables that are instrumental in predicting PEP. These variables include the presence of periampullary diverticulum, placement of a pancreatic duct stent, the frequency of guidewire cannulation into the pancreatic duct, non-dilated extrahepatic bile ducts, patient age, and the presence of coronary heart disease. Notably, pancreatic duct stent placement, guidewire passages, non-dilated extrahepatic bile ducts, and patient age are all recognized as either risk or protective factors according to the guidelines set forth by the European Society of Gastrointestinal Endoscopy (ESGE) or the American Society for Gastrointestinal Endoscopy (ASGE) (<xref ref-type="bibr" rid="B7">7</xref>, <xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B23">23</xref>). NGP has been used as an independent risk factor for PEP in one recent study (<xref ref-type="bibr" rid="B24">24</xref>). In another study, the non-dilated extrahepatic bile ducts factor was found to be a significant predictor for PEP using the comprehensive systematic review and meta-analysis method (<xref ref-type="bibr" rid="B25">25</xref>). Periampullary diverticulum may be somewhat controversial. From the data collected, most of the patients with periampullary diverticulum (PAD) included in our study had intra-diverticular papilla or a papilla less than 2&#x2005;cm from the diverticulum. These diverticula could potentially affect the sphincter of Oddi, which normally serves as the main valve for the pancreaticobiliary tract. In patients with PAD, the presence of a diverticulum often causes the papilla to lose its normal morphology partially or completely, leading to variations in the direction of the pancreaticobiliary ducts (<xref ref-type="bibr" rid="B26">26</xref>&#x2013;<xref ref-type="bibr" rid="B28">28</xref>). Additionally, the lack of duodenal smooth muscle support at the site of the diverticulum can lead to reduced tension in the distal walls of the pancreaticobiliary ducts, diminished emptying capacity, and post-sphincterotomy tissue edema exacerbates this condition (<xref ref-type="bibr" rid="B29">29</xref>). A compelling piece of evidence is that sphincter of Oddi dysfunction (SOD) has been identified as an important and independent risk factor for PEP in most studies (<xref ref-type="bibr" rid="B10">10</xref>). However, regarding coronary heart disease (CHD), current guidelines do not indicate it as an independent protective or risk factor for PEP. Patients with CHD are often on long-term medications, including aspirin. Yet, in our data, the group with CHD exhibited a lower incidence of PEP, aligning with the findings of a study published by Harsh K. Patel et al. They compared 1,374,773 ERCP procedures and found a lower incidence of PEP in patients with a history of myocardial infarction (MI) or coronary revascularization surgery (PCI or CABG) (14.1&#x0025; vs. 15.4&#x0025;, <italic>p</italic>&#x2009;&#x003C;&#x2009;0.001), though they did not discuss the reasons for this finding in their conclusion (<xref ref-type="bibr" rid="B30">30</xref>). In many cases, patients undergoing urgent ERCP for conditions such as common bile duct stones or suppurative cholangitis may not switch to heparin bridging therapy in a timely manner. It is speculated that the lower incidence rate of PEP observed in this patient group could be attributed to the protective effect of nonsteroidal anti-inflammatory drugs (NSAIDs) administered preoperatively to those with CHD against PEP. This reflects the interaction between model variables, and since the Backward selection algorithm is generally more flexible in variable selection, considering more interactions and nonlinear relationships, it is better equipped to capture the complex influences and obtain solid association between CHD and other variables in future (<xref ref-type="bibr" rid="B31">31</xref>). It also reminds us that when assessing a patient&#x0027;s PEP risk, it may be necessary to consider the impact of medications routinely taken by the patient on PEP, which could affect the choice of preventive measures and treatment strategies (<xref ref-type="bibr" rid="B32">32</xref>).</p>
</sec>
<sec id="s4e"><title>Clinical implication and future application</title>
<p>Amidst the extensive discourse on the application and dosage of NSAIDs and other potential prophylactic medications for PEP, as proposed by various clinical guidelines&#x2014;including those from ESGE, ASGE, and the Chinese Guideline for ERCP (2018 Edition)&#x2014;it is imperative to consider the evidence underpinning these recommendations. it is questionable how many patients undergo a comprehensive PEP risk assessment preoperatively (<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B10">10</xref>, <xref ref-type="bibr" rid="B33">33</xref>, <xref ref-type="bibr" rid="B34">34</xref>). Therefore, the development of a streamlined predictive model for this population is worthy considering for endoscopists. Initially, a thorough evaluation based on the patient&#x0027;s physical condition and radiological findings should be conducted by endoscopists preoperatively. Patients with pre-existing CHD often took aspirin, which, although found to reduce the incidence of PEP in our data, increases the risk of bleeding due to the continued use of anticoagulants when the sphincterotomy is performed during the ERCP procedure (<xref ref-type="bibr" rid="B3">3</xref>, <xref ref-type="bibr" rid="B19">19</xref>). Furthermore, if a periampullary diverticulum is discovered during the procedure, particularly Li-Tanaka type I or II diverticula that severely affect the papillary morphology (<xref ref-type="bibr" rid="B35">35</xref>), the relationship between the opening of the papilla and the axis of the bile duct should be carefully considered to choose an appropriate cannulation method to reduce the incidence of postoperative complications (<xref ref-type="bibr" rid="B36">36</xref>). In this study, we have identified some unique factors for early identification of PEP, which can provide guidance for future multicenter clinical trials. In future multicenter experiments, with independent validation and more case data, a scoring system for PEP can be established. Based on the confirmed model, we could develop an online risk assessment tool in the future to estimate the risk of PEP in ERCP patients (<xref ref-type="bibr" rid="B37">37</xref>). In summary, if patients present with the high-risk factors mentioned above, clinicians should take corresponding measures to improve patient outcomes and expedite discharge.</p>
</sec>
<sec id="s4f"><title>Strengths and limitations</title>
<p>This investigation exhibited several notable strengths that warrant emphasis. Firstly, the study implemented a rigorous modeling procedure that encompassed stringent criteria for inclusion and exclusion, exhaustive data processing, meticulous feature selection, model construction, and assessment. This methodological approach yielded a predictive model characterized by streamlined factors yet relatively practical outcomes. Meanwhile, a checklist of reporting guidelines such as transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD) should be performed to improve reproducibility (<xref ref-type="bibr" rid="B38">38</xref>). Secondly, this study applied ML methods for the first time to validate the filtered model features, offering higher predictive accuracy than traditional linear models even when dealing with complex data patterns and associations. However, there are several limitations to acknowledge. Primarily, this study utilized a retrospective single-center cohort study due to the limitation of time and resource, limiting the generalizability of this model to other regions due to the differences in patient demographics or procedural practices. Despite the strictest inclusion and exclusion criteria, the small sample size necessitates prospective observational studies for more rigorous validation. The smaller sample size also poses the risk of overfitting in ML models. Secondly, due to the low incidence of PEP postoperatively at our institution, there is a significant imbalance between the samples of PEP patients and non-PEP patients. For model evaluation, precision, recall, and other metrics of the predicted model at different thresholds should be reported besides the AUC assessment. This study relies on stepwise logistic regression for feature screening, which may miss prediction patterns that can only be recognized by nonlinear models (such as high-order interaction terms or threshold effects). Although the final XGBoost model can still partially compensate for such omissions through tree structure, future research should explore ML methods based on regularization to better adapt to the needs of complex models. The interpretability tools for ML models such as SHAP or LIME also should be considered to confirm the model&#x0027;s clinical decision-making basis. Meanwhile, the information about drugs usage was not fully considered in this study because of the limitation of clinical information of patients. Although an adaptive synthetic sampling algorithm is used to balance the sample sizes, external validation is still required in future research. In summary, these limitations call for a large-scale and multicenter cohort study in future to validate this model.</p>
</sec>
</sec>
<sec id="s5" sec-type="conclusions"><title>Conclusion</title>
<p>In conclusion, we developed and validated a streamlined predictive model for PEP, enhancing our understanding of PEP risk factors in our population. The XGBoost and MLP models outperformed other algorithms, highlighting key preoperative and intraoperative variables. These findings can be used to construct specific clinical application scenarios or tool to guide endoscopists in optimizing clinical outcomes for patients with biliary and pancreatic conditions.</p>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability"><title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding authors.</p>
</sec>
<sec id="s7" sec-type="ethics-statement"><title>Ethics statement</title>
<p>The studies involving humans were approved by Ningxia Medical University General Hospital Medical Research Ethics Review Committee with Clinical trial number: 2020-633. The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.</p>
</sec>
<sec id="s8" sec-type="author-contributions"><title>Author contributions</title>
<p>TD: Conceptualization, Data curation, Investigation, Validation, Writing &#x2013; original draft. GD: Writing &#x2013; review &#x0026; editing. HY: Writing &#x2013; review &#x0026; editing. HW: Writing &#x2013; review &#x0026; editing. WW: Writing &#x2013; review &#x0026; editing. TM: Writing &#x2013; review &#x0026; editing. JM: Writing &#x2013; review &#x0026; editing. HW: Writing &#x2013; review &#x0026; editing. QW: Writing &#x2013; review &#x0026; editing.</p>
</sec>
<ack><title>Acknowledgments</title>
<p>We thank the collaborators for their contribution and involvement in the study.</p>
</ack>
<sec id="s10" sec-type="COI-statement"><title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s11" sec-type="ai-statement"><title>Generative AI statement</title>
<p>The author(s) declare that no Generative AI was used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p>
</sec>
<sec id="s12" sec-type="disclaimer"><title>Publisher&#x0027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list><title>References</title>
<ref id="B1"><label>1.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Simuni&#x0107;</surname> <given-names>M</given-names></name></person-group>. <article-title>[ERCP and acute pancreatitis]</article-title>. <source>Lijec Vjesn</source>. (<year>2009</year>) <volume>131</volume>(<issue>Suppl 3</issue>):<fpage>25</fpage>&#x2013;<lpage>6</lpage>.</mixed-citation></ref>
<ref id="B2"><label>2.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Testoni</surname> <given-names>PA</given-names></name> <name><surname>Testoni</surname> <given-names>S</given-names></name> <name><surname>Giussani</surname> <given-names>A</given-names></name></person-group>. <article-title>Difficult biliary cannulation during ERCP: how to facilitate biliary access and minimize the risk of post-ERCP pancreatitis</article-title>. <source>Dig Liver Dis</source>. (<year>2011</year>) <volume>43</volume>:<fpage>596</fpage>&#x2013;<lpage>603</lpage>. <pub-id pub-id-type="doi">10.1016/j.dld.2011.01.019</pub-id><pub-id pub-id-type="pmid">21377432</pub-id></mixed-citation></ref>
<ref id="B3"><label>3.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Syren</surname> <given-names>E</given-names></name> <name><surname>Eriksson</surname> <given-names>S</given-names></name> <name><surname>Enochsson</surname> <given-names>L</given-names></name> <name><surname>Eklund</surname> <given-names>A</given-names></name> <name><surname>Sandblom</surname> <given-names>G</given-names></name></person-group>. <article-title>Risk factors for pancreatitis following endoscopic retrograde cholangiopancreatography</article-title>. <source>BJS Open</source>. (<year>2019</year>) <volume>3</volume>:<fpage>485</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1002/bjs5.50162</pub-id><pub-id pub-id-type="pmid">31406957</pub-id></mixed-citation></ref>
<ref id="B4"><label>4.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yan</surname> <given-names>YD</given-names></name> <name><surname>Yu</surname> <given-names>Z</given-names></name> <name><surname>Ding</surname> <given-names>LP</given-names></name> <name><surname>Zhou</surname> <given-names>M</given-names></name> <name><surname>Zhang</surname> <given-names>C</given-names></name> <name><surname>Pan</surname> <given-names>MM</given-names></name><etal/></person-group> <article-title>Machine learning to dynamically predict in-hospital venous thromboembolism after inguinal hernia surgery: results from the CHAT-1 study</article-title>. <source>Clin Appl Thromb Hemost</source>. (<year>2023</year>) <volume>29</volume>:<fpage>10760296231171082</fpage>. <pub-id pub-id-type="doi">10.1177/10760296231171082</pub-id><pub-id pub-id-type="pmid">37094089</pub-id></mixed-citation></ref>
<ref id="B5"><label>5.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nemoto</surname> <given-names>M</given-names></name> <name><surname>Masutani</surname> <given-names>Y</given-names></name> <name><surname>Nomura</surname> <given-names>Y</given-names></name> <name><surname>Hanaoka</surname> <given-names>S</given-names></name> <name><surname>Miki</surname> <given-names>S</given-names></name> <name><surname>Yoshikawa</surname> <given-names>T</given-names></name><etal/></person-group> <article-title>[Machine learning for computer-aided diagnosis]</article-title>. <source>Igaku Butsuri</source>. (<year>2016</year>) <volume>36</volume>:<fpage>29</fpage>&#x2013;<lpage>34</lpage>. <pub-id pub-id-type="doi">10.11323/jjmp.36.1_29</pub-id><pub-id pub-id-type="pmid">28428494</pub-id></mixed-citation></ref>
<ref id="B6"><label>6.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Bang</surname> <given-names>JY</given-names></name> <name><surname>Varadarajulu</surname> <given-names>S</given-names></name></person-group>. <article-title>Pediatrics: ERCP in children</article-title>. <source>Nat Rev Gastroenterol Hepatol</source>. (<year>2011</year>) <volume>8</volume>:<fpage>254</fpage>&#x2013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1038/nrgastro.2011.63</pub-id><pub-id pub-id-type="pmid">21487381</pub-id></mixed-citation></ref>
<ref id="B7"><label>7.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cotton</surname> <given-names>PB</given-names></name></person-group>. <article-title>ASGE guidelines for ERCP competence</article-title>. <source>Gastrointest Endosc</source>. (<year>2017</year>) <volume>86</volume>:<fpage>1190</fpage>. <pub-id pub-id-type="doi">10.1016/j.gie.2017.07.008</pub-id><pub-id pub-id-type="pmid">29146089</pub-id></mixed-citation></ref>
<ref id="B8"><label>8.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sureka</surname> <given-names>B</given-names></name> <name><surname>Bansal</surname> <given-names>K</given-names></name> <name><surname>Patidar</surname> <given-names>Y</given-names></name> <name><surname>Arora</surname> <given-names>A</given-names></name></person-group>. <article-title>Imaging lexicon for acute pancreatitis: 2012 Atlanta classification revisited</article-title>. <source>Gastroenterol Rep (Oxf)</source>. (<year>2016</year>) <volume>4</volume>:<fpage>16</fpage>&#x2013;<lpage>23</lpage>. <pub-id pub-id-type="doi">10.1093/gastro/gov036</pub-id><pub-id pub-id-type="pmid">26224684</pub-id></mixed-citation></ref>
<ref id="B9"><label>9.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Williams</surname> <given-names>EJ</given-names></name> <name><surname>Ogollah</surname> <given-names>R</given-names></name> <name><surname>Thomas</surname> <given-names>P</given-names></name> <name><surname>Logan</surname> <given-names>RF</given-names></name> <name><surname>Martin</surname> <given-names>D</given-names></name> <name><surname>Wilkinson</surname> <given-names>ML</given-names></name><etal/></person-group> <article-title>What predicts failed cannulation and therapy at ERCP? Results of a large-scale multicenter analysis</article-title>. <source>Endoscopy</source>. (<year>2012</year>) <volume>44</volume>:<fpage>674</fpage>&#x2013;<lpage>83</lpage>. <pub-id pub-id-type="doi">10.1055/s-0032-1309345</pub-id><pub-id pub-id-type="pmid">22696192</pub-id></mixed-citation></ref>
<ref id="B10"><label>10.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Testoni</surname> <given-names>PA</given-names></name> <name><surname>Mariani</surname> <given-names>A</given-names></name> <name><surname>Aabakken</surname> <given-names>L</given-names></name> <name><surname>Arvanitakis</surname> <given-names>M</given-names></name> <name><surname>Bories</surname> <given-names>E</given-names></name> <name><surname>Costamagna</surname> <given-names>G</given-names></name><etal/></person-group> <article-title>Papillary cannulation and sphincterotomy techniques at ERCP: European society of gastrointestinal endoscopy (ESGE) clinical guideline</article-title>. <source>Endoscopy</source>. (<year>2016</year>) <volume>48</volume>:<fpage>657</fpage>&#x2013;<lpage>83</lpage>. <pub-id pub-id-type="doi">10.1055/s-0042-108641</pub-id><pub-id pub-id-type="pmid">27299638</pub-id></mixed-citation></ref>
<ref id="B11"><label>11.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Boos</surname> <given-names>J</given-names></name> <name><surname>Yoo</surname> <given-names>RJ</given-names></name> <name><surname>Steinkeler</surname> <given-names>J</given-names></name> <name><surname>Ayata</surname> <given-names>G</given-names></name> <name><surname>Ahmed</surname> <given-names>M</given-names></name> <name><surname>Sarwar</surname> <given-names>A</given-names></name><etal/></person-group> <article-title>Fluoroscopic percutaneous brush cytology, forceps biopsy and both in tandem for diagnosis of malignant biliary obstruction</article-title>. <source>Eur Radiol</source>. (<year>2018</year>) <volume>28</volume>:<fpage>522</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1007/s00330-017-4987-5</pub-id><pub-id pub-id-type="pmid">28779396</pub-id></mixed-citation></ref>
<ref id="B12"><label>12.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Itoi</surname> <given-names>T</given-names></name> <name><surname>Wang</surname> <given-names>HP</given-names></name></person-group>. <article-title>Endoscopic management of bile duct stones</article-title>. <source>Dig Endosc</source>. (<year>2010</year>) <volume>22</volume>(<issue>Suppl 1</issue>):<fpage>S69</fpage>&#x2013;<lpage>75</lpage>. <pub-id pub-id-type="doi">10.1111/j.1443-1661.2010.00953.x</pub-id><pub-id pub-id-type="pmid">20590776</pub-id></mixed-citation></ref>
<ref id="B13"><label>13.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ahmed</surname> <given-names>G</given-names></name> <name><surname>Er</surname> <given-names>MJ</given-names></name> <name><surname>Fareed</surname> <given-names>MMS</given-names></name> <name><surname>Zikria</surname> <given-names>S</given-names></name> <name><surname>Mahmood</surname> <given-names>S</given-names></name> <name><surname>He</surname> <given-names>J</given-names></name><etal/></person-group> <article-title>DAD-Net: classification of Alzheimer&#x2019;s disease using ADASYN oversampling technique and optimized neural network</article-title>. <source>Molecules</source>. (<year>2022</year>) <volume>27</volume>:<fpage>1</fpage>&#x2013;<lpage>21</lpage>. <pub-id pub-id-type="doi">10.3390/molecules27207085</pub-id></mixed-citation></ref>
<ref id="B14"><label>14.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>CY</given-names></name> <name><surname>Chou</surname> <given-names>YC</given-names></name></person-group>. <article-title>A novel machine learning strategy for model selections&#x2014;stepwise support vector machine (StepSVM)</article-title>. <source>PLoS One</source>. (<year>2020</year>) <volume>15</volume>:<fpage>e0238384</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0238384</pub-id><pub-id pub-id-type="pmid">32853243</pub-id></mixed-citation></ref>
<ref id="B15"><label>15.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Livingston</surname> <given-names>E</given-names></name> <name><surname>Cao</surname> <given-names>J</given-names></name> <name><surname>Dimick</surname> <given-names>JB</given-names></name></person-group>. <article-title>Tread carefully with stepwise regression</article-title>. <source>Arch Surg</source>. (<year>2010</year>) <volume>145</volume>:<fpage>1039</fpage>&#x2013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1001/archsurg.2010.240</pub-id><pub-id pub-id-type="pmid">21079090</pub-id></mixed-citation></ref>
<ref id="B16"><label>16.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tryliskyy</surname> <given-names>Y</given-names></name> <name><surname>Bryce</surname> <given-names>GJ</given-names></name></person-group>. <article-title>Post-ERCP pancreatitis: pathophysiology, early identification and risk stratification</article-title>. <source>Adv Clin Exp Med</source>. (<year>2018</year>) <volume>27</volume>:<fpage>149</fpage>&#x2013;<lpage>54</lpage>. <pub-id pub-id-type="doi">10.17219/acem/66773</pub-id><pub-id pub-id-type="pmid">29521055</pub-id></mixed-citation></ref>
<ref id="B17"><label>17.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Baillie</surname> <given-names>J</given-names></name></person-group>. <article-title>Management of post-ERCP pancreatitis</article-title>. <source>Gastroenterol Hepatol (N Y)</source>. (<year>2011</year>) <volume>7</volume>:<fpage>390</fpage>&#x2013;<lpage>2</lpage>.<pub-id pub-id-type="pmid">21869870</pub-id></mixed-citation></ref>
<ref id="B18"><label>18.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Fujita</surname> <given-names>K</given-names></name> <name><surname>Yazumi</surname> <given-names>S</given-names></name> <name><surname>Uza</surname> <given-names>N</given-names></name> <name><surname>Kurita</surname> <given-names>A</given-names></name> <name><surname>Asada</surname> <given-names>M</given-names></name> <name><surname>Kodama</surname> <given-names>Y</given-names></name><etal/></person-group> <article-title>New practical scoring system to predict post-endoscopic retrograde cholangiopancreatography pancreatitis: development and validation</article-title>. <source>JGH Open</source>. (<year>2021</year>) <volume>5</volume>:<fpage>1078</fpage>&#x2013;<lpage>84</lpage>. <pub-id pub-id-type="doi">10.1002/jgh3.12634</pub-id><pub-id pub-id-type="pmid">34584978</pub-id></mixed-citation></ref>
<ref id="B19"><label>19.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Park</surname> <given-names>CH</given-names></name> <name><surname>Park</surname> <given-names>SW</given-names></name> <name><surname>Yang</surname> <given-names>MJ</given-names></name> <name><surname>Moon</surname> <given-names>SH</given-names></name> <name><surname>Park</surname> <given-names>DH</given-names></name></person-group>. <article-title>Pre- and post-procedure risk prediction models for post-endoscopic retrograde cholangiopancreatography pancreatitis</article-title>. <source>Surg Endosc</source>. (<year>2022</year>) <volume>36</volume>:<fpage>2052</fpage>&#x2013;<lpage>61</lpage>. <pub-id pub-id-type="doi">10.1007/s00464-021-08491-1</pub-id><pub-id pub-id-type="pmid">34231067</pub-id></mixed-citation></ref>
<ref id="B20"><label>20.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ba&#x015F;tanlar</surname> <given-names>Y</given-names></name> <name><surname>Ozuysal</surname> <given-names>M</given-names></name></person-group>. <article-title>Introduction to machine learning</article-title>. <source>Methods Mol Biol</source>. (<year>2014</year>) <volume>1107</volume>:<fpage>105</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-62703-748-8_7</pub-id></mixed-citation></ref>
<ref id="B21"><label>21.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Badillo</surname> <given-names>S</given-names></name> <name><surname>Banfai</surname> <given-names>B</given-names></name> <name><surname>Birzele</surname> <given-names>F</given-names></name> <name><surname>Davydov</surname> <given-names>I</given-names></name> <name><surname>Hutchinson</surname> <given-names>L</given-names></name> <name><surname>Kam-Thong</surname> <given-names>T</given-names></name><etal/></person-group> <article-title>An Introduction to machine learning</article-title>. <source>Clin Pharmacol Ther</source>. (<year>2020</year>) <volume>107</volume>:<fpage>871</fpage>&#x2013;<lpage>85</lpage>. <pub-id pub-id-type="doi">10.1002/cpt.1796</pub-id><pub-id pub-id-type="pmid">32128792</pub-id></mixed-citation></ref>
<ref id="B22"><label>22.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Archibugi</surname> <given-names>L</given-names></name> <name><surname>Ciarfaglia</surname> <given-names>G</given-names></name> <name><surname>Cardenas-Jaen</surname> <given-names>K</given-names></name> <name><surname>Poropat</surname> <given-names>G</given-names></name> <name><surname>Korpela</surname> <given-names>T</given-names></name> <name><surname>Maisonneuve</surname> <given-names>P</given-names></name><etal/></person-group> <article-title>Machine learning for the prediction of post-ERCP pancreatitis risk: a proof-of-concept study</article-title>. <source>Dig Liver Dis</source>. (<year>2023</year>) <volume>55</volume>:<fpage>387</fpage>&#x2013;<lpage>93</lpage>. <pub-id pub-id-type="doi">10.1016/j.dld.2022.10.005</pub-id><pub-id pub-id-type="pmid">36344369</pub-id></mixed-citation></ref>
<ref id="B23"><label>23.</label><mixed-citation publication-type="journal"><collab>Committee ASOP</collab>, <person-group person-group-type="author"><name><surname>Buxbaum</surname> <given-names>JL</given-names></name> <name><surname>Abbas Fehmi</surname> <given-names>SM</given-names></name> <name><surname>Sultan</surname> <given-names>S</given-names></name> <name><surname>Fishman</surname> <given-names>DS</given-names></name> <name><surname>Qumseya</surname> <given-names>BJ</given-names></name><etal/></person-group> <article-title>ASGE guideline on the role of endoscopy in the evaluation and management of choledocholithiasis</article-title>. <source>Gastrointest Endosc</source>. (<year>2019</year>) <volume>89</volume>:<fpage>1075</fpage>&#x2013;<lpage>105.e15</lpage>. <pub-id pub-id-type="doi">10.1016/j.gie.2018.10.001</pub-id><pub-id pub-id-type="pmid">30979521</pub-id></mixed-citation></ref>
<ref id="B24"><label>24.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Goenka</surname> <given-names>MK</given-names></name> <name><surname>Akshintala</surname> <given-names>VS</given-names></name> <name><surname>Kamal</surname> <given-names>A</given-names></name> <name><surname>Bhullar</surname> <given-names>FA</given-names></name> <name><surname>Bush</surname> <given-names>N</given-names></name> <name><surname>Kumar</surname> <given-names>V</given-names></name><etal/></person-group> <article-title>Frequent guidewire passage into the pancreatic duct is an independent risk factor for postendoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) among high-risk individuals: a <italic>post-hoc</italic> analysis of a randomized controlled trial data</article-title>. <source>J Dig Dis</source>. (<year>2023</year>) <volume>24</volume>:<fpage>427</fpage>&#x2013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1111/1751-2980.13208</pub-id><pub-id pub-id-type="pmid">37505932</pub-id></mixed-citation></ref>
<ref id="B25"><label>25.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Beran</surname> <given-names>A</given-names></name> <name><surname>Aboursheid</surname> <given-names>T</given-names></name> <name><surname>Ali</surname> <given-names>AH</given-names></name> <name><surname>Nayfeh</surname> <given-names>T</given-names></name> <name><surname>Albunni</surname> <given-names>H</given-names></name> <name><surname>Vargas</surname> <given-names>A</given-names></name><etal/></person-group> <article-title>Predictors of post-endoscopic retrograde cholangiopancreatography pancreatitis: a comprehensive systematic review and meta-analysis</article-title>. <source>Clin Gastroenterol Hepatol</source>. (<year>2024</year>).<pub-id pub-id-type="pmid">39694210</pub-id></mixed-citation></ref>
<ref id="B26"><label>26.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cryderman</surname> <given-names>WJ</given-names></name></person-group>. <article-title>Duodenal diverticula</article-title>. <source>Can Med Assoc J</source>. (<year>1927</year>) <volume>17</volume>:<fpage>1455</fpage>&#x2013;<lpage>61</lpage>.<pub-id pub-id-type="pmid">20316617</pub-id></mixed-citation></ref>
<ref id="B27"><label>27.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zippi</surname> <given-names>M</given-names></name> <name><surname>Traversa</surname> <given-names>G</given-names></name> <name><surname>Pica</surname> <given-names>R</given-names></name> <name><surname>De Felici</surname> <given-names>I</given-names></name> <name><surname>Cassieri</surname> <given-names>C</given-names></name> <name><surname>Marzano</surname> <given-names>C</given-names></name><etal/></person-group> <article-title>Efficacy and safety of endoscopic retrograde cholangiopancreatography (ERCP) performed in patients with periampullary duodenal diverticula (PAD)</article-title>. <source>Clin Ter</source>. (<year>2014</year>) <volume>165</volume>:<fpage>e291</fpage>&#x2013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.7417/CT.2014.1745</pub-id><pub-id pub-id-type="pmid">25203345</pub-id></mixed-citation></ref>
<ref id="B28"><label>28.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Chowdhury</surname> <given-names>MZI</given-names></name> <name><surname>Turin</surname> <given-names>TC</given-names></name></person-group>. <article-title>Variable selection strategies and its importance in clinical prediction modelling</article-title>. <source>Fam Med Community Health</source>. (<year>2020</year>) <volume>8</volume>:<fpage>e000262</fpage>. <pub-id pub-id-type="doi">10.1136/fmch-2019-000262</pub-id><pub-id pub-id-type="pmid">32148735</pub-id></mixed-citation></ref>
<ref id="B29"><label>29.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Romagnuolo</surname> <given-names>J</given-names></name></person-group>. <article-title>Recent research on sphincter of oddi dysfunction</article-title>. <source>Gastroenterol Hepatol (N Y)</source>. (<year>2014</year>) <volume>10</volume>:<fpage>441</fpage>&#x2013;<lpage>3</lpage>.<pub-id pub-id-type="pmid">25904832</pub-id></mixed-citation></ref>
<ref id="B30"><label>30.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Patel</surname> <given-names>HK</given-names></name> <name><surname>Desai</surname> <given-names>R</given-names></name> <name><surname>Doshi</surname> <given-names>S</given-names></name> <name><surname>Haider</surname> <given-names>M</given-names></name> <name><surname>Lakhani</surname> <given-names>N</given-names></name> <name><surname>Abu Hassan</surname> <given-names>F</given-names></name><etal/></person-group> <article-title>Endoscopic retrograde cholangiopancreatography in patients with versus without prior myocardial infarction or coronary revascularization: a nationwide cohort study</article-title>. <source>Cureus</source>. (<year>2021</year>) <volume>13</volume>:<fpage>e13921</fpage>. <pub-id pub-id-type="doi">10.7759/cureus.13921</pub-id><pub-id pub-id-type="pmid">33880272</pub-id></mixed-citation></ref>
<ref id="B31"><label>31.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>H</given-names></name> <name><surname>Jiang</surname> <given-names>H</given-names></name> <name><surname>Zheng</surname> <given-names>R</given-names></name></person-group>. <article-title>The hybrid feature selection algorithm based on Maximum Minimum backward selection search strategy for liver tissue pathological image classification</article-title>. <source>Comput Math Methods Med</source>. (<year>2016</year>) <volume>2016</volume>:<fpage>7369137</fpage>. <pub-id pub-id-type="doi">10.1155/2016/7369137</pub-id><pub-id pub-id-type="pmid">27563344</pub-id></mixed-citation></ref>
<ref id="B32"><label>32.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Boskoski</surname> <given-names>I</given-names></name> <name><surname>Costamagna</surname> <given-names>G</given-names></name></person-group>. <article-title>How to prevent post-endoscopic retrograde cholangiopancreatography pancreatitis</article-title>. <source>Gastroenterology</source>. (<year>2020</year>) <volume>158</volume>:<fpage>2037</fpage>&#x2013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1053/j.gastro.2020.03.019</pub-id><pub-id pub-id-type="pmid">32197979</pub-id></mixed-citation></ref>
<ref id="B33"><label>33.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Testoni</surname> <given-names>PA</given-names></name></person-group>. <article-title>Therapy: can rectal NSAIDs prevent post-ERCP pancreatitis?</article-title> <source>Nat Rev Gastroenterol Hepatol</source>. (<year>2012</year>) <volume>9</volume>:<fpage>429</fpage>&#x2013;<lpage>30</lpage>. <pub-id pub-id-type="doi">10.1038/nrgastro.2012.117</pub-id><pub-id pub-id-type="pmid">22710572</pub-id></mixed-citation></ref>
<ref id="B34"><label>34.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Thiruvengadam</surname> <given-names>NR</given-names></name> <name><surname>Kochman</surname> <given-names>ML</given-names></name></person-group>. <article-title>Emerging therapies to prevent post-ERCP pancreatitis</article-title>. <source>Curr Gastroenterol Rep</source>. (<year>2020</year>) <volume>22</volume>:<fpage>59</fpage>. <pub-id pub-id-type="doi">10.1007/s11894-020-00796-w</pub-id><pub-id pub-id-type="pmid">33188441</pub-id></mixed-citation></ref>
<ref id="B35"><label>35.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Yue</surname> <given-names>P</given-names></name> <name><surname>Zhu</surname> <given-names>KX</given-names></name> <name><surname>Wang</surname> <given-names>HP</given-names></name> <name><surname>Meng</surname> <given-names>WB</given-names></name> <name><surname>Liu</surname> <given-names>JK</given-names></name> <name><surname>Zhang</surname> <given-names>L</given-names></name><etal/></person-group> <article-title>Clinical significance of different periampullary diverticulum classifications for endoscopic retrograde cholangiopancreatography cannulation</article-title>. <source>World J Gastroenterol</source>. (<year>2020</year>) <volume>26</volume>:<fpage>2403</fpage>&#x2013;<lpage>15</lpage>. <pub-id pub-id-type="doi">10.3748/wjg.v26.i19.2403</pub-id><pub-id pub-id-type="pmid">32476801</pub-id></mixed-citation></ref>
<ref id="B36"><label>36.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cunningham</surname> <given-names>JT</given-names></name></person-group>. <article-title>The art of selective cannulation at ERCP</article-title>. <source>Curr Gastroenterol Rep</source>. (<year>2019</year>) <volume>21</volume>:<fpage>7</fpage>. <pub-id pub-id-type="doi">10.1007/s11894-019-0673-x</pub-id><pub-id pub-id-type="pmid">30741352</pub-id></mixed-citation></ref>
<ref id="B37"><label>37.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Anderloni</surname> <given-names>A</given-names></name></person-group>. <article-title>Biliary cannulation in ERCP: you don&#x2019;t need to be a shark if you now can be sharp!</article-title> <source>Endoscopy</source>. (<year>2023</year>) <volume>55</volume>:<fpage>1043</fpage>&#x2013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1055/a-2164-9565</pub-id><pub-id pub-id-type="pmid">37722408</pub-id></mixed-citation></ref>
<ref id="B38"><label>38.</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Collins</surname> <given-names>GS</given-names></name> <name><surname>Reitsma</surname> <given-names>JB</given-names></name> <name><surname>Altman</surname> <given-names>DG</given-names></name> <name><surname>Moons</surname> <given-names>KG</given-names></name></person-group>. <article-title>Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement</article-title>. <source>Br J Surg</source>. (<year>2015</year>) <volume>102</volume>:<fpage>148</fpage>&#x2013;<lpage>58</lpage>. <pub-id pub-id-type="doi">10.1002/bjs.9736</pub-id><pub-id pub-id-type="pmid">25627261</pub-id></mixed-citation></ref></ref-list>
<fn-group>
<fn id="n1" fn-type="custom" custom-type="edited-by"><p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/726000/overview">Wandong Hong</ext-link>, First Affiliated Hospital of Wenzhou Medical University, China</p></fn>
<fn id="n2" fn-type="custom" custom-type="reviewed-by"><p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1567855/overview">Livia Archibugi</ext-link>, San Raffaele Hospital (IRCCS), Italy</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2882288/overview">Md.Enamul Hoq</ext-link>, University of Arkansas for Medical Sciences, United States</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2888059/overview">Muhammad Daniyal Waheed</ext-link>, Maroof International Hospital, Pakistan</p></fn>
</fn-group>
</back>
</article>