Skip to main content
Log in

Artificial neural network to predict post-operative hypocalcemia following total thyroidectomy

  • Original Article
  • Published:
Indian Journal of Otolaryngology and Head & Neck Surgery Aims and scope Submit manuscript

Abstract

The primary objective of this study was to use artificial neural network (ANN) to predict the post operative hypocalcemia and severity of hypocalcemia following total thyroidectomy. The secondary objective was to determine the weightage for the factors predicting the hypocalcemia with the ANN. A single center, retrospective case series included treatment-naive patients undergoing total thyroidectomy for benign or malignant thyroid nodules from January 2020 to December 2022. Artificial neural network (ANN) - Multilayer Perceptron (MLP) used to predict post-operative hypocalcemia in ANN. Multivariate analysis was used construct validity. The data of 196 total thyroidectomy cases was used for training and testing. The mean incorrect prediction during training and testing was 3.18% (± σ = 0.65%) and 3.66% (± σ = 1.88%) for hypocalcemia. The cumulative Root-Mean-Square-Error (RMSE) for MLP model was 0.29 (± σ = 0.02) and 0.32 (± σ = 0.04) for training and testing, respectively. Area under ROC was 0.98 for predicting hypocalcemia 0.942 for predicting the severity of hypocalcemia. Multivariate analysis showed lower levels of post operative parathormone levels to be predictor of hypocalcemia (p < 0.01). The maximum weightage given to iPTH (100%) > Need for sternotomy (28.55%). Our MLP NN model predicted the post-operative hypocalcemia in 96.8% of training samples and 96.3% of testing samples, and severity in 92.8% of testing sample in 10 generations. however, it must be used with caution and always in conjunction with the expertise of the surgical team. Level of Evidence – 3b.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Data availability

Data is available with the Corresponding Author.

References

  1. Abiodun OI, Jantan A, Omolara AE, Dada KV, Mohamed NA, Arshad H (2018) State-of-the-art in artificial neural network applications: a survey. Heliyon 4(11):e00938

    Article  PubMed  PubMed Central  Google Scholar 

  2. Mencio M, Calcatera N, Ogola G, Mahady S, Shiller M, Roe E et al (2019) Factors contributing to unintentional parathyroidectomy during thyroid surgery. Proc Bayl Univ Med Cent 33(1):19–23

    Article  PubMed  PubMed Central  Google Scholar 

  3. Noureldine SI, Genther DJ, Lopez M, Agrawal N, Tufano RP (2014) Early predictors of Hypocalcemia after total thyroidectomy. JAMA Otolaryngol– Head Neck Surg 140(11):1006–1013

    Article  PubMed  PubMed Central  Google Scholar 

  4. Kourou K, Exarchos TP, Exarchos KP, Karamouzis MV, Fotiadis DI (2015) Machine learning applications in cancer prognosis and prediction. Comput Struct Biotechnol J 13:8–17

    Article  CAS  PubMed  Google Scholar 

  5. McHugh ML (2013) The Chi-square test of independence. Biochem Med 23(2):143–149

    Article  CAS  Google Scholar 

  6. Abirami S, Chitra P Chapter Fourteen - Energy-efficient edge based real-time healthcare support system. In: Raj P, Evangeline P, editors. Advances in Computers [Internet]. Elsevier; 2020 [cited 2023 Jan 25]. p. 339–68. (The Digital Twin Paradigm for Smarter Systems and Environments: The Industry Use Cases; vol. 117). Available from: https://www.sciencedirect.com/science/article/pii/S0065245819300506

  7. Mathew G, Agha R (2021) STROCSS 2021 guidelines: what is new? Ann Med Surg 72:103121

    Article  Google Scholar 

  8. Shuchleib-Cung A, Garcia-Gordillo JA, Ferreira-Hermosillo A, Mercado M (2022) Risk factors for hypocalcemia after total thyroidectomy. Cir Cir 90(6):765–769

    PubMed  Google Scholar 

  9. Qin Y, Sun W, Wang Z, Dong W, He L, Zhang T et al (2021) A Meta-analysis of risk factors for transient and permanent Hypocalcemia after total thyroidectomy. Front Oncol 10:614089

    Article  PubMed  PubMed Central  Google Scholar 

  10. Chen Z, Zhao Q, Du J, Wang Y, Han R, Xu C et al (2021) Risk factors for postoperative hypocalcaemia after thyroidectomy: a systematic review and meta-analysis. J Int Med Res 49(3):0300060521996911

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  11. Edafe O, Balasubramanian SP (2017) Incidence, prevalence and risk factors for post-surgical hypocalcaemia and hypoparathyroidism. Gland Surg 6(Suppl 1):S59–68

    Article  PubMed  PubMed Central  Google Scholar 

  12. Bai B, Chen Z, Chen W (2018) Risk factors and outcomes of incidental parathyroidectomy in thyroidectomy: a systematic review and meta-analysis. PLoS ONE 13(11):e0207088

    Article  PubMed  PubMed Central  Google Scholar 

  13. Al Qubaisi M, Haigh PI (2019) Hypocalcemia after Total Thyroidectomy in Graves Disease. Perm J 23:18–188

    Article  PubMed  PubMed Central  Google Scholar 

  14. Nagel K, Hendricks A, Lenschow C, Meir M, Hahner S, Fassnacht M et al (2022) Definition and diagnosis of postsurgical hypoparathyroidism after thyroid surgery: meta-analysis. BJS Open 6(5):zrac102

    Article  PubMed  PubMed Central  Google Scholar 

  15. Noordzij JP, Lee SL, Bernet VJ, Payne RJ, Cohen SM, McLeod IK et al (2007) Early prediction of hypocalcemia after thyroidectomy using parathyroid hormone: an analysis of pooled individual patient data from nine observational studies. J Am Coll Surg 205(6):748–754

    Article  PubMed  Google Scholar 

  16. Keijsers NLW (2010) Neural Networks. In: Kompoliti K, Metman LV, editors. Encyclopedia of Movement Disorders [Internet]. Oxford: Academic Press; [cited 2023 May 4]. p. 257–9. Available from: https://www.sciencedirect.com/science/article/pii/B9780123741059004937

  17. Sarker IH, Kayes ASM, Watters P (2019) Effectiveness analysis of machine learning classification models for predicting personalized context-aware smartphone usage. J Big Data 6(1):57

    Article  Google Scholar 

  18. Jiang L, Wu Z, Xu X, Zhan Y, Jin X, Wang L et al (2021) Opportunities and challenges of artificial intelligence in the medical field: current application, emerging problems, and problem-solving strategies. J Int Med Res 49(3):03000605211000157

    Article  PubMed  PubMed Central  Google Scholar 

  19. Chaquet-Ulldemolins J, Gimeno-Blanes FJ, Moral-Rubio S, Muñoz-Romero S, Rojo-Álvarez JL (2022) On the Black-Box Challenge for Fraud Detection Using Machine Learning (I): Linear models and informative feature selection. Appl Sci 12(7):3328

    Article  CAS  Google Scholar 

  20. Belenguer L (2022) AI bias: exploring discriminatory algorithmic decision-making models and the application of possible machine-centric solutions adapted from the pharmaceutical industry. AI Ethics 2(4):771–787

    Article  PubMed  PubMed Central  Google Scholar 

  21. Kelly CJ, Karthikesalingam A, Suleyman M, Corrado G, King D (2019) Key challenges for delivering clinical impact with artificial intelligence. BMC Med 17(1):195

    Article  PubMed  PubMed Central  Google Scholar 

  22. Naik N, Hameed BMZ, Shetty DK, Swain D, Shah M, Paul R et al Legal and Ethical Consideration in Artificial Intelligence in Healthcare: Who Takes Responsibility? Front Surg [Internet]. 2022 [cited 2023 Jan 25];9. Available from: https://www.frontiersin.org/articles/https://doi.org/10.3389/fsurg.2022.862322

  23. Graff AT, Miller FR, Roehm CE, Prihoda TJ (2010) Predicting hypocalcemia after total thyroidectomy: parathyroid hormone level vs. serial calcium levels. Ear Nose Throat J 89(9):462–465

    PubMed  Google Scholar 

  24. Selberherr A, Scheuba C, Riss P, Niederle B (2015) Postoperative hypoparathyroidism after thyroidectomy: efficient and cost-effective diagnosis and treatment. Surgery 157(2):349–353

    Article  PubMed  Google Scholar 

  25. Carr AA, Yen TW, Fareau GG, Cayo AK, Misustin SM, Evans DB et al (2014) A single parathyroid hormone level obtained 4 hours after total thyroidectomy predicts the need for postoperative calcium supplementation. J Am Coll Surg 219(4):757–764

    Article  PubMed  Google Scholar 

  26. Lombardi CP, Raffaelli M, Princi P, Santini S, Boscherini M, De Crea C et al (2004) Early prediction of postthyroidectomy hypocalcemia by one single iPTH measurement. Surgery 136(6):1236–1241

    Article  PubMed  Google Scholar 

  27. Gupta S, Chaudhary P, Durga CK, Naskar D (2015) Validation of intra-operative parathyroid hormone and its decline as early predictors of hypoparathyroidism after total thyroidectomy: a prospective cohort study. Int J Surg Lond Engl 18:150–153

    Article  Google Scholar 

  28. Reddy AC, Chand G, Sabaretnam M, Mishra A, Agarwal G, Agarwal A et al (2016) Prospective evaluation of intra-operative quick parathyroid hormone assay as an early predictor of post thyroidectomy hypocalcaemia. Int J Surg Lond Engl 34:103–108

    Article  Google Scholar 

  29. Sywak MS, Palazzo FF, Yeh M, Wilkinson M, Snook K, Sidhu SB et al (2007) Parathyroid hormone assay predicts hypocalcaemia after total thyroidectomy. ANZ J Surg 77(8):667–670

    Article  PubMed  Google Scholar 

  30. Lecerf P, Orry D, Perrodeau E, Lhommet C, Charretier C, Mor C et al (2012) Parathyroid hormone decline 4 hours after total thyroidectomy accurately predicts hypocalcemia. Surgery 152(5):863–868

    Article  PubMed  Google Scholar 

  31. Lang BHH, Wong KP, Cowling BJ, Fong YK, Chan DKK, Hung GKY (2013) Do low preoperative vitamin D levels reduce the accuracy of quick parathyroid hormone in predicting postthyroidectomy hypocalcemia? Ann Surg Oncol 20(3):739–745

    Article  PubMed  Google Scholar 

  32. Richards ML, Bingener-Casey J, Pierce D, Strodel WE, Sirinek KR (2003) Intraoperative parathyroid hormone assay: an accurate predictor of symptomatic hypocalcemia following thyroidectomy. Arch Surg Chic Ill 1960 138(6):632–635 discussion 635–636

    Google Scholar 

  33. Alía P, Moreno P, Rigo R, Francos JM, Navarro MA (2007) Postresection parathyroid hormone and parathyroid hormone decline accurately predict hypocalcemia after thyroidectomy. Am J Clin Pathol 127(4):592–597

    Article  PubMed  Google Scholar 

  34. Lombardi CP, Raffaelli M, Princi P, Dobrinja C, Carrozza C, Di Stasio E et al (2006) Parathyroid hormone levels 4 hours after surgery do not accurately predict post-thyroidectomy hypocalcemia. Surgery 140(6):1016–1023 discussion 1023–1025

    Article  PubMed  Google Scholar 

  35. Cayo AK, Yen TWF, Misustin SM, Wall K, Wilson SD, Evans DB et al (2012) Predicting the need for calcium and calcitriol supplementation after total thyroidectomy: results of a prospective, randomized study. Surgery 152(6):1059–1067

    Article  PubMed  Google Scholar 

Download references

Funding

No Funding Received.

Author information

Authors and Affiliations

Authors

Contributions

Conceptualization – KNR

Conceptualization – KNR

Data collection—KNR, RDA

Statistics and ANN development—KNR

Data analysis and interpretation—KNR

Drafting the article—All Authors

Critical revision of the article—All Authors

Final approval of the version to be published - All Authors

Corresponding author

Correspondence to Karthik Nagaraja Rao.

Ethics declarations

Financial Disclosure

None.

Ethical Review

Exempted vide letter no. 2848/IEC-AIIMSRPR/2023 dated 6th May 2023 (retrospective study).

Conflict of Interest

None.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Electronic Supplementary Material

Below is the link to the electronic supplementary material.

Supplementary Material 1

Supplementary Material 2

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rao, K.N., Arora, R., Rajguru, R. et al. Artificial neural network to predict post-operative hypocalcemia following total thyroidectomy. Indian J Otolaryngol Head Neck Surg (2024). https://doi.org/10.1007/s12070-024-04608-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s12070-024-04608-9

Keywords

Navigation