Intro
Gallstones are one of the most common gastrointestinal issues in the general population. The incidence of asymptomatic gallstones in the general population is between 10% and 20%, and they are the most common cause of gastrointestinal tract-related (GI) hospital admissions in European countries.[ 1 , 2 ] Acute cholecystitis is an inflammatory disease of the gallbladder, most often caused by gallstones, and is one of the most prevalent surgical conditions globally, constituting a major reason for emergency department visits. Current guidelines do not recommend routine surgery for asymptomatic gallstones.[ 2 ] However, while the gold standard treatment for symptomatic gallstones is cholecystectomy, some studies suggest that acute, uncomplicated cases can be managed without surgery.[ 3 ] Antibiotics, gallbladder drainage, and painkillers are used to treat acute cholecystitis.[ 4 ] Limited studies support conservative treatment in patients with uncomplicated acute cholecystitis.[ 3 , 5 , 6 ] The most common form of complicated cholecystitis is gangrenous cholecystitis or gallbladder perforation, occurring in up to 30% of patients.[ 7 ] In cases of complicated cholecystitis, surgery is necessary. Therefore, distinguishing complicated cholecystitis during diagnosis is crucial for selecting the appropriate treatment in patients presenting with gallstones. While scoring systems cannot reliably differentiate between complicated and uncomplicated acute cholecystitis, imaging studies can aid in this distinction but only in limited instances. Recently, various laboratory parameters have been employed to differentiate between acute and gangrenous cholecystitis,[ 8 , 9 ] and these parameters are not only useful for acute cholecystitis but also for the differential diagnosis of numerous diseases.[ 10 , 11 ] In addition, with advancing technology, artificial intelligence-supported computer-based algorithms can assist clinicians in diagnosis by processing various data.[ 12 , 13 ]
In this study, we aimed to create an algorithm to differentiate among patients with suspected acute cholecystitis: those who may improve with medical treatment, those who require surgery for acute cholecystitis, and those with complicated cholecystitis. Using the decision tree method with laboratory parameters alone, this algorithm seeks to facilitate quick and straightforward differentiation, reducing the need for costly and time-consuming additional tests, such as imaging studies. Ultimately, this algorithm will assist in selecting the most appropriate treatment, benefiting both patient quality of life and cost-effectiveness.
Results
Data from 1,352 patients were analyzed. The mean age of the patients was 61.66±17.15 years. The mean duration of hospitalization was 4 (0-60) days. Of the patients, 41.4% (n=560) were male, and 58.6% (n=792) were female. Statistical findings and ROC analysis results for the comparison of sociodemographic variables and laboratory blood values between the surgery group and the conservative treatment group are presented in Table 1 .
Statistical comparison of sociodemographic variables and laboratory blood values between the operation group and conservative treatment group, along with receiver operating characteristic (ROC) analysis results
WBC: White Blood Cell; MPV: Mean Platelet Volume; CRP: C-Reactive Protein; MPR: Mean Platelet Volume to Platelet Count Ratio; NLR: Neutrophil-to-Lymphocyte Ratio; PLR: Platelet-to-Lymphocyte Ratio.
Mann-Whitney U test results are presented as median (min-max) and mean ± standard deviation.
ROC analysis identified that the most significant parameter for distinguishing between medical treatment and surgical intervention was PLR ( Table 1 ). According to decision tree findings, in patients with a PLR of 45.77 or less, CRP was the primary parameter to evaluate. PLT value becomes crucial in patients with a CRP level above 88.3 mg/dL; according to the algorithm, patients with a CRP level above 88.3 mg/dL and a PLT value above 71.5x10 3 /mm 3 should undergo surgery, while patients with a PLT value of 71.5 x 103/mm 3 or below can be managed with medical therapy. For patients with a CRP level of 88.3 mg/dL or lower, the PLR value becomes relevant again; patients with a PLR value above 43.09 should undergo surgery, while those with a lower value should receive medical treatment ( Fig. 2 ). In patients with a PLR value greater than 45.77, medical treatment may be attempted if the CRP level is 198.5 mg/dL or below. In patients with a serum CRP level above 198.5 mg/dL, those with a WBC count of 8.38x10 3 /mm 3 or below can be considered suitable for medical treatment. For patients with a WBC count above 8.38x10 3 /mm 3 , medical treatment should be attempted in those older than 84 years, while surgical intervention should be considered for those aged 84 years or younger ( Fig. 2 ).
Decision tree for classification of operative versus conservative treatment. PLR: Platelet-to-Lymphocyte Ratio; CRP: C-Reactive Protein; WBC: White Blood Cell; PLT: Platelet.
As a result of ROC analysis, we observed that the NLR was the most significant parameter for distinguishing between cholecystitis with only inflammation and cholecystitis progressing to gangrene ( Table 2 ). According to the decision tree findings, the first parameter to evaluate in patients with an NLR of 8.49 or below is the neutrophil count; patients with a neutrophil count above 20.20 were observed to have gangrenous cholecystitis ( Fig. 3 ). In patients with a neutrophil count of 20.20 or below, the albumin level should be assessed; if the albumin level is 2.65 mg/dL or below, gangrenous cholecystitis is more likely. If the albumin level is above 2.65 mg/dL, the lymphocyte count should be evaluated; if it is 0.75 or below, gangrene is more likely in the gallbladder. In patients with an NLR of 8.49, age should be evaluated; if the age is above 46.5 years, the albumin level becomes relevant. If the albumin level is 4.65 mg/dL or below, gangrene is more likely. If the albumin level is above 4.65 mg/dL, gender should be considered. If the patient is male, gangrene is more likely, whereas if the patient is female, inflammation alone is more likely. When the age is 46.5 years or below, if the PLR is above 30.48, inflammation alone is likely. For values of 30.48 or below, the lymphocyte count should be evaluated; if the lymphocyte count is 1.55 or below, gangrenous cholecystitis is more likely, and if it is above 1.55, inflammation alone is more probable ( Fig. 3 ).
Statistical comparison of sociodemographic variables and laboratory blood values between inflammation and gangrenous patient groups, along with receiver operating characteristic (ROC) analysis results
WBC: White Blood Cell; MPV: Mean Platelet Volume; CRP: C-Reactive Protein; MPR: Mean Platelet Volume to Platelet Count Ratio; NLR: Neutrophil-to-Lymphocyte Ratio; PLR: Platelet-to-Lymphocyte Ratio.
Mann-Whitney U test results are presented as median (min-max) and mean ± standard deviation.
Decision tree for classification differentiating non-gangrenous from gangrenous cases. NLR: Neutrophil-to-Lymphocyte Ratio; PLR: Platelet-to-Lymphocyte Ratio.
The algorithm developed to distinguish eligibility for surgical versus medical conservative treatment demonstrated 53.5% sensitivity, 97.2% specificity, 91.2% positive predictive value (PPV), 79.8% negative predictive value (NPV), and 82.17% diagnostic accuracy. The algorithm created to differentiate between inflammation alone and gangrenous gallbladder demonstrated 52.2% sensitivity, 84.3% specificity, 62% PPV, 78.4% NPV, and 73.86% diagnostic accuracy (Tables 3 and 4 ).
Diagnostic values of the decision tree classification algorithm for distinguishing between operative and medical conservative treatment
LR: Likelihood Ratio.
Diagnostic values of the decision tree classification algorithm for differentiating between inflammation and gangrenous gallbladder
LR: Likelihood Ratio.
Conclusion
This study enhances the diagnostic and treatment processes for acute cholecystitis through the use of decision tree algorithms. The algorithm accurately distinguished cases requiring surgery with an accuracy rate of 82.17% and identified gangrenous cholecystitis cases with an accuracy rate of 73.86%. The PLR emerged as the most critical parameter in determining the need for surgery, with a specificity of 97.2%. These findings highlight the potential to significantly reduce healthcare costs by enabling a rapid and cost-effective diagnostic process while improving patient outcomes.
Discussion
According to the decision tree algorithm developed in our study, PLR is the most important parameter for distinguishing patients who require surgical intervention from those who can be managed conservatively; however, hemoglobin, MPV, and NLR had no effect on this distinction.
The incidence of acute cholecystitis in the general population can vary based on region and demographic factors. In the United States, for instance, the incidence of acute cholecystitis is estimated to be around 10-20 cases per 100,000 people annually.[ 16 ] However, the risk of developing acute cholecystitis increases with age and is more common in women than in men.[ 1 ] It is also more prevalent in populations with risk factors such as obesity, rapid weight loss, and a high-fat diet.[ 1 ]
The severity of acute cholecystitis is determined by the presence of complications. Uncomplicated cases can often be managed on an outpatient basis, whereas complicated cases may require surgical intervention. Cholecystectomy is considered the gold standard for treating complicated acute cholecystitis within the first 72-96 hours. Additionally, indications for open surgery or percutaneous cholecystostomy include a high risk of iatrogenic biliary tract or vascular injury due to the development of fibrosis and edema in the gallbladder in the later stages.[ 17 , 18 ] Given this information, distinguishing between complicated and uncomplicated cases is essential for predicting both mortality and morbidity and determining the most appropriate treatment approach. As a result, numerous studies have focused on developing scoring systems or identifying predictive factors for evaluating complications.[ 19 , 20 ] However, there are limited decision tree studies capable of such evaluation.
In our decision tree algorithm, the PLR value emerged as a critical factor in differentiating between complicated and uncomplicated cases of cholecystitis. PLR is the ratio between the absolute platelet count and the absolute lymphocyte count. PLR has been used as a marker of inflammation in various diseases, including cardiovascular diseases, cancer, and autoimmune disorders.[ 21 ] The affordability of PLR as an inflammation marker, applicable across numerous clinical settings, facilitates straightforward decision-making in decision tree models. This is demonstrated by its convenience in terms of sustainability and accessibility, as evidenced in our study.
Elevated CRP was considered a supportive finding for distinguishing uncomplicated cholecystitis from complicated cholecystitis. In a study by Mok et al., CRP levels in patients with acute cholecystitis were highlighted as an important finding for predicting gangrenous cholecystitis. Monitoring CRP trends was shown to be valuable for early diagnosis and guiding early surgical intervention decisions.[ 22 ] In our study, the integration of CRP levels within the algorithm tree alongside PLR values demonstrated that CRP levels exceeding 198.5 mg/dL and 88.3 mg/dL were indicative of complicated cholecystitis. This observation aligns with the conclusions of other studies that have demonstrated an increased risk at values approaching these thresholds. Consequently, the results were found to be consistent with those reported in the literature.
Numerous previous studies have identified an increase in WBC and neutrophil counts in severe inflammatory conditions of the gallbladder as markers of a severe inflammatory response.[ 23 ] In this study, these counts were significantly higher in the complicated group compared to the uncomplicated groups, with mean values of 8.66 and 10.5, respectively (p<0.001). In a study by Wu et al., the complication rate following cholecystectomy was evaluated, along with the efficacy of various models in predicting complicated cholecystitis. That study found WBC to be an important laboratory marker for the development of gangrenous cholecystitis.[ 24 ] In this study, a WBC count greater than 13.0x103/mm 3 was correlated with similar values reported in the literature. This study further demonstrated that leukocytosis may result from an inflammatory response due to gangrene or tissue necrosis and should, therefore, be regarded with caution.
In cases of severe inflammatory conditions, an increase in NLR is observed as a systemic inflammatory response in the patient’s body due to increased secretion of proinflammatory cytokines in plasma.[ 25 ] Although previous literature indicates that NLR is significantly elevated in determining the necessity for surgery, our study reached a different conclusion, observing no such correlation. Consequently, while NLR is regarded as a pivotal indicator in inflammatory conditions, it did not demonstrate relevance in distinguishing between operative and medical management and was therefore excluded from this decision tree.
Additionally, age was identified as an important parameter in this study. As vascular circulation of the gallbladder wall deteriorates with advancing age due to worsening venous insufficiency, the risk of necrosis and perforation increases.[ 26 ] This positions age as a factor that elevates the risk of developing complicated cholecystitis. In the decision tree model, conservative management was determined to be more suitable for patients with WBC count greater than 8.38x10 3 /mm 3 , particularly for those aged 84 and above.
Given that complete blood count is a simple, rapid, and cost-effective test, parameters such as white blood cell count, neutrophil-to-lymphocyte ratio, and platelet count are commonly used as markers of inflammation and indicators of disease severity.[ 27 ] In a prior study assessing the risk of complicated acute cholecystitis in terms of diagnostic value, PLT count alone was found to be insignificant.[ 28 ] However, in the present study, PLT value was particularly important in distinguishing between complicated and non-complicated cholecystitis. If the ratio between the absolute platelet count and the absolute lymphocyte count is 45.77 and the CRP value is above 88.3 mg/dL, conservative management is advisable for patients with a platelet cut-off value below 71.5.
In this study, cases of free perforation were directly included in the surgical intervention group, which may limit the ability to distinguish between perforated and non-perforated cases. Including perforation cases in this way could impact the predictive accuracy of the decision tree, as immediate surgical intervention may not be required for all cohorts. Larger, more diverse population-based studies are needed to further refine the parameters that differentiate cases requiring immediate surgery from those that could be managed conservatively, particularly in the context of perforated cholecystitis. Such future research could improve decision-making by fine-tuning the algorithm to provide more specific recommendations, thereby reducing unnecessary surgeries while ensuring patient safety. Similar findings in the literature further underscore the need for continued exploration in this area to enhance clinical outcomes and cost-effectiveness.[ 29 ]
The choice of treatment strategy-whether conservative management or surgery-is based on a comprehensive evaluation of the patient’s individual clinical circumstances. Factors such as the severity of cholecystitis, the presence of complications, and the patient’s overall health and preferences are carefully considered. Timely medical attention is essential for individuals with suspected acute cholecystitis, as early intervention can prevent complications and expedite recovery. Ultimately, treatment decisions should be made in consultation with a healthcare provider to optimize patient outcomes.
Materials|Methods
After obtaining ethics committee approval, a total of 1,400 patients treated for gallstones at our hospital over four years were retrospectively analyzed using the hospital automation system. These patients were diagnosed with acute cholecystitis by a general surgeon based on physical examination, radiological examination, and laboratory findings and subsequently treated. Forty-eight patients were excluded from the study due to malignant disease, absence of gallstones in pathological examinations, or a decision not to participate in the study by continuing treatment at another center after visiting our outpatient clinic. Patients were divided into two groups: those who received medical treatment and those who underwent surgery. The group of operated patients (n=467) included cases with inflammatory, gangrenous, and perforated gallbladders, while the medical treatment group comprised the remaining patients (n=885) ( Fig. 1 ). Patients whose physical examination, radiological imaging, and laboratory findings at initial admission indicated perforation were directly included in the operated group. Laboratory findings for these patients were collected at the time of first admission during the diagnostic and treatment process; changes during the course of treatment were not included in the study. Demographic characteristics such as age, gender, length of hospital stay, laboratory results (white blood cell (WBC) count, neutrophil (NE) count, lymphocyte (LY) count, platelet (PLT) count, mean platelet volume (MPV), hemoglobin (HGB) level, albumin (Alb) level, neutrophil-to-lymphocyte ratio (NLR), platelet-to-lymphocyte ratio (PLR), and C-reactive protein (CRP)), and physical examination findings were recorded. This study was approved by the Hitit University Clinical Research Ethics Committee (Date: 12. 29. 2021, Decision Number: 2021-88).
Flowchart of the study population.
In the medical field, the decision tree algorithm performs effectively in solving nonlinear problems and is widely used due to its straightforward interpretability.[ 14 ] The decision tree algorithm is used to assign attributes to the nodes of the tree structure through various statistical calculations.[ 15 ] These calculations are intended to determine which parameter is most influential in homogeneously classifying the dataset. For each node, all accessible parameters are evaluated, and the most significant parameter is selected. The test condition is expressed by branches that link the node to sub-nodes based on the values that the current node can assume. An entropy-based information gain rate is employed to calculate the strongest feature for a given node. In medical research, where patient classification into specific medical conditions (referred to as “classes (C)”) is essential, the dataset consists of patient data points characterized by a set of attributes denoted as “A,” encompassing variables such as age, clinical symptoms, and laboratory test results. The primary objective is to identify the attributes that are most discriminative and informative in the classification process. This goal is achieved using the fundamental metrics of “information (I)” and “entropy (E),” which quantify the degree of inherent uncertainty or disorder within the dataset. An enhanced understanding of patient attributes corresponds to a reduction in uncertainty, thereby facilitating more precise classification. For each attribute contained within the set A, the computation of its associated entropy is conducted. In this context, entropy serves as a quantitative measure of an attribute’s efficacy in dividing patients into distinct subsets that predominantly represent specific medical conditions. An attribute that effectively partitions patients into subsets characterized by a high prevalence of a single medical condition will exhibit lower entropy, thus signifying its informational value. Subsequently, an assessment of “information gain” is conducted, representing the difference between the overall informational content within the dataset and the entropy associated with a specific attribute. Attributes with substantial information gain indicate their potential to significantly enhance the classification process. This metric aids in identifying attributes with the highest discriminative power, assuming paramount importance in medical diagnosis and the stratification of treatment approaches.
In summary, the application of these mathematical computations enables the determination of patient attributes that are most relevant and essential for the accurate classification of medical conditions. Attributes with higher information gain emerge as critical factors in the medical decision-making process, facilitating the classification of patients into appropriate diagnostic and therapeutic categories.
The decision tree algorithm has been configured with specific parameters: a maximum tree depth of 10, a minimum leaf size constraint of 2, and a minimum size for node splitting set at 4. To evaluate the decision model’s performance, a rigorous 10-fold cross-validation approach has been applied. The selection of examples within each fold has been performed randomly to ensure representativeness. Furthermore, to mitigate potential bias, the binary class ratio of the original dataset has been preserved within each fold. As a result of these comprehensive procedures, the model’s accuracy was quantified, achieving 82.17% for distinguishing operative need and 73.86% for identifying gangrenous gallbladder cases.
Statistical analyses of the data obtained in the study were performed using SPSS (Version 22.0, SPSS Inc., Chicago, IL, USA) Continuous variables were presented as median (min-max) with mean ± standard deviation, as the data were not normally distributed. The Shapiro-Wilk test was used to evaluate data normality. The Mann-Whitney U test was employed for comparisons between two independent groups because the data did not meet normality assumptions. To assess the classification success of independent variables, receiver operating characteristic (ROC) analysis and the decision tree method from machine learning algorithms were utilized. A p-value of less than 0.05 was considered statistically significant.
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.