SBMU Journals
  • New Submission
  • Register
  • Login
  • English
    • 简体中文

Archives of Academic Emergency Medicine

  • Home
  • About
    • Policies
    • Editorial Team
    • Reviewer guideline
    • Contact
  • Issues
    • Current
    • Archives
  • Announcements
  • Indexing/Abstracting
  • For authors
    • New Submission
    • Author guidelines
    • Article withdrawal
    • Peer review process
    • FAQ
  • Ethics
    • Ethical requirements
    • Plagiarism Policy
    • Authorship conflicts
    • Malpractice statements
    • Copyright Notice
    • Intellectual properties
    • Preprint Policy
    • Privacy Statement
    • Artificial intelligence & Authorship
    • Retraction Cosiderations
Advanced Search
  1. Home
  2. Archives
  3. Vol. 13 No. 1 (2025): Continuous volume
  4. Original/Research Article

Vol. 13 No. 1 (2025)

September 2025

Predicting the Risk of Opioid-induced Respiratory Depression Using ChatGPT-4o and Machine Learning Techniques

  • Mohammad Meshkini
  • Sayed Masoud Hosseini
  • Peyman Erfan Talab Evini
  • Mitra Rahimi
  • Babak Mostafazadeh
  • Pooya Eini
  • Nahal Babaeian Amini
  • Amirhossein Faghihi
  • Farhad Esmailsorkh
  • Sajede Karimi
  • Mohammad Asadi
  • Hadi Jalilvand
  • Nasibeh Rady Raz
  • Iman Alidadiani
  • Hadi Jafari
  • Faraz Zandiyeh
  • Kiandokht Khorshidi
  • Maryam Ahadi
  • Shayesteh Ashrafi-Esfahani
  • Shahin Shadnia

Archives of Academic Emergency Medicine, Vol. 13 No. 1 (2025), 6 September 2025 , Page e85
https://doi.org/10.22037/aaem.v13i1.2832 Published: 2025-11-27

  • View Article
  • Download
  • Cite
  • References
  • Statastics
  • Share

Abstract

Introduction: Opioid-induced respiratory depression is a life-threatening complication of opioid overdose. This study aimed to develop a model for predicting the risk of respiratory depression following opioid overdose using ChatGPT-4o.

Methods: A retrospective cross-sectional study was conducted on 2,005 patients admitted following opioid overdose at Loghman Hakim Hospital, Tehran, Iran, from February 2021 to February 2024. Demographic data, clinical presentations, interventions, and outcomes of patients were extracted from electronic medical records and a predictive model was developed using a no-code methodology with the assistance of ChatGPT-4o.

Results: 2,005 patients with the mean age of 32.97 ± 14.86 (Range: 1-100) years were studied (74.5% male). Respiratory depression was observed in 18% of patients upon admission. Naloxone was administered to 37.6% of patients, with higher usage in those requiring intubation. Key predictors included low oxygen saturation (SpO₂), low respiratory rate (RR), and increased heart rate (HR). The predictive model achieved an accuracy of 94.4% (95% confidence interval (CI): 87.0-96.3), a recall of 81.0% (95% CI: 78.0-84.0) for respiratory depression, and an area under the curve (AUC) of 0.98 (95% CI: 0.95-0.99).

Conclusion: The study highlights critical clinical predictors of respiratory depression risk in opioid overdose patients and demonstrates the potential of machine learning models in enhancing early detection and intervention.

Keywords:
  • Opiate overdose
  • Respiratory insufficiency
  • Machine learning
  • Predictive modeling
  • Generative Artificial intelligence
  • Descriptive Artificial intelligence
  • GPT
  • pdf

How to Cite

1.
Meshkini M, Hosseini SM, Erfan Talab Evini P, Rahimi M, Mostafazadeh B, Eini P, et al. Predicting the Risk of Opioid-induced Respiratory Depression Using ChatGPT-4o and Machine Learning Techniques. Arch Acad Emerg Med [Internet]. 2025 Nov. 27 [cited 2026 Jul. 7];13(1):e85. Available from: https://journals.sbmu.ac.ir/aaem/index.php/AAEM/article/view/2832
  • ACM
  • ACS
  • APA
  • ABNT
  • Chicago
  • Harvard
  • IEEE
  • MLA
  • Turabian
  • Vancouver
  • Endnote/Zotero/Mendeley (RIS)
  • BibTeX

References

1. Dahan A, Aarts L, Smith TW. Incidence, reversal, and prevention of opioid-induced respiratory depression. Anesthesiology. 2010;112(1):226-38.

2. Pattinson KT. Opioids and the control of respiration. British journal of anaesthesia. 2008;100(6):747-58.

3. Kieffer BL, Kieffer BL. Opioids: first lessons from knockout mice. Trends in pharmacological sciences. 1999;20(1):19-26.

4. de Ruiter J, Crawford MW. Dose-response relationship and infusion requirement of cisatracurium besylate in infants and children during nitrous oxide-narcotic anesthesia. Anesthesiology. 2001;94(5):790-2.

5. Volkow ND, Jones EB, Einstein EB, Wargo EM. Prevention and treatment of opioid misuse and addiction: a review. JAMA psychiatry. 2019;76(2):208-16.

6. Jones CM, McAninch JK. Emergency department visits and overdose deaths from combined use of opioids and benzodiazepines. American journal of preventive medicine. 2015;49(4):493-501.

7. Weinger MB, Lee LA. No patient shall be harmed by opioid-induced respiratory depression. APsF Newsletter. 2011;26(2):21-40.

8. Tee ZH, Tsoi EHC, Lee Q, Wong YS, Gibson A, Parsons N, et al. Intrathecal morphine and post-operative pain relief in robotic surgeries: a systematic review and meta-analysis. Journal of Clinical Medicine. 2023;13(1):137.

9. Beach SR, Celano CM, Sugrue AM, Adams C, Ackerman MJ, Noseworthy PA, et al. QT prolongation, torsades de pointes, and psychotropic medications: a 5-year update. Psychosomatics. 2018;59(2):105-22.

10. Wermeling DP. Review of naloxone safety for opioid overdose: practical considerations for new technology and expanded public access. Therapeutic advances in drug safety. 2015;6(1):20-31.

11. Kichloo A, Albosta M, Dettloff K, Wani F, El-Amir Z, Singh J, et al. Telemedicine, the current COVID-19 pandemic and the future: a narrative review and perspectives moving forward in the USA. Family medicine and community health. 2020;8(3):e000530.

12. Esteva A, Robicquet A, Ramsundar B, Kuleshov V, DePristo M, Chou K, et al. A guide to deep learning in healthcare. Nature medicine. 2019;25(1):24-9.

13. Hosseini E, Srinivas A, Nazari N, Hale C, Rafatirad S, Homayoun H. Large Language Models for Opioid-Induced Respiratory Depression Prediction in Hospitalized Patients: A Retrospective Study. ACM Transactions on Computing for Healthcare. 2025;6(2):1-14.

14. Chen JH, Asch SM. Machine learning and prediction in medicine—beyond the peak of inflated expectations. The New England journal of medicine. 2017;376(26):2507.

15. Shickel B, Tighe PJ, Bihorac A, Rashidi P. Deep EHR: a survey of recent advances in deep learning techniques for electronic health record (EHR) analysis. IEEE journal of biomedical and health informatics. 2017;22(5):1589-604.

16. Badillo S, Banfai B, Birzele F, Davydov II, Hutchinson L, Kam‐Thong T, et al. An introduction to machine learning. Clinical pharmacology & therapeutics. 2020;107(4):871-85.

17. Hosseini SM, Rahimi M, Afrash MR, Ziaeefar P, Yousefzadeh P, Pashapour S, et al. Prediction of acute organophosphate poisoning severity using machine learning techniques. Toxicology. 2023;486:153431

18. Reddy S, Fox J, Purohit MP. Artificial intelligence-enabled healthcare delivery. Journal of the Royal Society of Medicine. 2019;112(1):22-8.

19. Sendak MP, D’Arcy J, Kashyap S, Gao M, Nichols M, Corey K, et al. A path for translation of machine learning products into healthcare delivery. EMJ Innov. 2020;10:19-00172.

20. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, et al. Scikit-learn: Machine learning in Python. the Journal of machine Learning research. 2011;12:2825-30.

21. Britch SC, Walsh SL. Treatment of opioid overdose: current approaches and recent advances. Psychopharmacology. 2022;239(7):2063-81.

22. Boom M, Niesters M, Sarton E, Aarts L, W. Smith T, Dahan A. Non-analgesic effects of opioids: opioid-induced respiratory depression. Current pharmaceutical design. 2012;18(37):5994-6004.

23. Buajordet I, Næss A-C, Jacobsen D, Brørs O. Adverse events after naloxone treatment of episodes of suspected acute opioid overdose. European Journal of Emergency Medicine. 2004;11(1):19-23.

24. Dasgupta N, Funk MJ, Proescholdbell S, Hirsch A, Ribisl KM, Marshall S. Cohort study of the impact of high-dose opioid analgesics on overdose mortality. Pain medicine. 2016;17(1):85-98.

25. Mohebbi E, Kamangar F, Rahimi-Movaghar A, Haghdoost AA, Etemadi A, Amirzadeh S, et al. An exploratory study of units of reporting opium use in Iran: Implications for epidemiologic studies. Archives of Iranian medicine. 2019;22(10):541-5.

26. Rafiemanesh H, Rahimi-Movaghar A, Haghdoost AA, Noroozi A, Gholami J, Vahdani B, et al. Opium dependence and the potential impact of changes in treatment coverage level: A dynamic modeling study. Health Promotion Perspectives. 2021;11(2):240.

27. Warner‐Smith M, Darke S, Lynskey M, Hall W. Heroin overdose: causes and consequences. Addiction. 2001;96(8):1113-25.

28. Organization WH. Community management of opioid overdose: World Health Organization; 2014.

29. Davis MP, Walsh D. Methadone for relief of cancer pain: a review of pharmacokinetics, pharmacodynamics, drug interactions and protocols of administration. Supportive Care in Cancer. 2001;9(2):73-83.

30. Liu J, Li X, Wang Y, Xu Z, Lv Y, He Y, et al. Predicting postoperative pulmonary infection in elderly patients undergoing major surgery: a study based on logistic regression and machine learning models. BMC Pulmonary Medicine. 2025;25(1):128.

31. Chrimes D. Using decision trees as an expert system for clinical decision support for COVID-19. Interactive Journal of Medical Research. 2023;12(1):e42540.

32. Yang Q, Li J, Zhang Z, Wu X, Liao T, Yu S, et al. Clinical characteristics and a decision tree model to predict death outcome in severe COVID-19 patients. BMC infectious diseases. 2021;21(1):783.

33. Cheng Q, Chunhong Z, Qianglin L. Development and application of random forest regression soft sensor model for treating domestic wastewater in a sequencing batch reactor. Scientific Reports. 2023;13(1):9149.

34. Hastie T, Tibshirani R, Friedman JH, Friedman JH. The elements of statistical learning: data mining, inference, and prediction: Springer; 2009.

35. Beam AL, Kohane IS. Big data and machine learning in health care. Jama. 2018;319(13):1317-8.

36. Moulaei K, Afrash MR, Parvin M, Shadnia S, Rahimi M, Mostafazadeh B, et al. Explainable artificial intelligence (XAI) for predicting the need for intubation in methanol-poisoned patients: a study comparing deep and machine learning models. Scientific Reports. 2024;14(1):15751.

37. Grinberg M. Flask web development: " O'Reilly Media, Inc."; 2018.

38. Rudin C. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature machine intelligence. 2019;1(5):206-15.

39. Topol EJ. High-performance medicine: the convergence of human and artificial intelligence. Nature medicine. 2019;25(1):44-56.

40. Rajkomar A, Oren E, Chen K, Dai AM, Hajaj N, Hardt M, et al. Scalable and accurate deep learning with electronic health records. NPJ digital medicine. 2018;1(1):18.

41. Lipton ZC. The mythos of model interpretability: In machine learning, the concept of interpretability is both important and slippery. Queue. 2018;16(3):31-57.

42. VanderWeele TJ, Ding P. Sensitivity analysis in observational research: introducing the E-value. Annals of internal medicine. 2017;167(4):268-74.

43. Ulrich RS, Zimring C, Zhu X, DuBose J, Seo H-B, Choi Y-S, et al. A review of the research literature on evidence-based healthcare design. HERD: Health Environments Research & Design Journal. 2008;1(3):61-125.

44. Latifnejad Roudsari R. Methodological issues in conducting retrospective record reviews. Journal of Midwifery and Reproductive Health. 2020;8(4):2383-4.

45. Chicco D, Jurman G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC genomics. 2020;21(1):6.

46. Button KS, Ioannidis JP, Mokrysz C, Nosek BA, Flint J, Robinson ES, et al. Power failure: why small sample size undermines the reliability of neuroscience. Nature reviews neuroscience. 2013;14(5):365-76.

  • Abstract Viewed: 124 times
  • pdf Downloaded: 160 times

Download Statastics

  • Linkedin
  • Twitter
  • Facebook
  • Google Plus
  • Telegram

Make a Submission

Make a Submission

SJR

SCImago Journal & Country Rank

COPE

Current Issue

  • Atom logo
  • RSS2 logo
  • RSS1 logo

Information

  • For Readers
  • For Authors
  • For Librarians
  • Home
  • Archives
  • Submissions
  • About the Journal
  • Editorial Team
  • Contact

This journal is distributed under the terms of CC BY-NC 3.0. Design and publishing by SBMU journals. All credits and honors to PKP for their OJS. 

 Sitemap | ISSN-ONLINE: 2645-4904

Support Contact: ma.saghaei63@gmail.com

With the goal of net zero carbon emissions, this journal is published only in electronic format.

Powered by OJSPlus