Machine learning for the identification of mild to moderate EDTA contamination of serum samples.
Christopher-John Lancaster Farrell, Julie Sherfan, Tony Badrick
Clinical ChemisrtyRoyal North Shore Hospital. · Chemical PathologyLiverpool Hospital.
Key points
From the paper's conclusion- Conclusions Using machine learning models would enable better detection of mild to moderate K2EDTA serum contamination and improve patient safety.
Abstract
Background K2EDTA contamination of serum samples is a preanalytical error that poses a risk to patient safety. Contamination is most frequently mild to moderate, which standard detection procedures often miss. We examined whether machine learning models could improve the detection of K2EDTA contamination. Methods Artificial neural network, decision tree (both simple and complex), extreme gradient boosting, k-nearest neighbours, logistic regression, naïve Bayes, random forest, and support vector machine models were developed. Models were trained using extracted patient results for electrolytes, urea, creatinine, albumin-adjusted calcium, magnesium, and phosphate, with K2EDTA contamination errors simulated in silico. Model performance was evaluated on 300 real-world samples, half of which were intentionally contaminated with mild to moderate amounts of K2EDTA. Model performance was compared with that of limit checks, multi-analyte rules and two novel parameters, the potassium/calcium ratio and the potassium/magnesium ratio. Results All nine machine learning models identified K2EDTA contamination more accurately than standard approaches (p-values <0.05). Seven models performed similarly, with accuracies of 91.3-93.3%, sensitivities of 88.0-90.0%, specificities of 94.7-96.7%, and area under the receiver operating characteristic curve (AUROC) of 0.9727-0.9787. The simple decision tree and naïve Bayes models performed slightly worse. The potassium/calcium ratio was the most effective of the standard approaches, with accuracy of 79.7%, sensitivity of 68.7%, specificity of 90.7%, and AUROC of 0.9233. Conclusions Using machine learning models would enable better detection of mild to moderate K2EDTA serum contamination and improve patient safety. For laboratories unable to implement machine learning models, the best alternative is the potassium/calcium ratio.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Potassium EDTA Contamination Causing Preanalytical Errors in Canine and Feline Serum Samples.Veterinary clinical pathology · 2026
- Simulation-Based Machine Learning as a Benchmarking Tool for the Retrospective Identification of IV Fluid Contamination in Basic Metabolic Panels.The journal of applied laboratory medicine · 2026
- FluidFlagger: An Open-Source Machine Learning Application for Automated Detection of Intravenous Fluid Contamination in Laboratory Results.The journal of applied laboratory medicine · 2026
- Targeted cystatin C testing for large negative eGFR discordance in adults with diabetes: development and external validation of a machine-learning model.Frontiers in endocrinology · 2026
- 50 Impact and Potential Clinical Consequences of Intravenous Fluid Contamination on Coagulation Testing ResultsAmerican Journal of Clinical Pathology · 2026
- Machine Learning Based Detection of Chronic Kidney Disease using Full Blood Count from a Ghanaian Hospital Population with an Integrated Web ApplicationmedRxiv · 2026