Department of Biology - University of South Carolina, Columbia, SC, USA.
Professional Pathology Services, Columbia, SC, USA.
Transfus Apher Sci. 2024 Dec;63(6):104001. doi: 10.1016/j.transci.2024.104001. Epub 2024 Sep 10.
Blood and plasma volume calculations are a daily part of practice for many Transfusion Medicine and Apheresis practitioners. Though many formulas exist, each facility may have their own modifications to consider. ChatGPT (Generative Pre-trained Transformer) provides a new and exciting pathway for those with no programming experience to create personalized programs to meet the demands of daily practice. Additionally, this pathway creates computer programs that provide accurate and reproducible outputs. Herein, we aimed to create a step-by-step process for clinicians to create customized computer programs for use in everyday practice.
We created a process of inputs to ChatGPT-4, which generated computer programming code. This code was copied and pasted into Notepad (and saved as a Python file) and Google Colaboratory to verify functionality. We validated the durability of our process by repeating it over a 5-day timeframe and by recruiting volunteers to reproduce our outputs using the suggested process.
Computer code generated by ChatGPT-4 in response to our common language inputs was accurate and durable over time. The code was fully functional in both Python and Colaboratory. Volunteers reproduced our process and outputs with minimal assistance.
We analyzed the practical application of ChatGPT-4 and artificial intelligence (AI) to perform daily calculations encountered in Transfusion Medicine. Our results provide a proof of concept that people with no programming experience can create customizable solutions for their own facilities. Our future work will expand to the creation of comprehensive and customizable websites designed for each individual user.
血液和血浆量的计算是许多输血医学和血浆分离从业者日常实践的一部分。虽然有许多公式,但每个机构都可能有自己的修改方案需要考虑。ChatGPT(生成式预训练转换器)为那些没有编程经验的人提供了一条新的、令人兴奋的途径,可以创建满足日常实践需求的个性化程序。此外,这种途径还可以创建提供准确和可重复输出的计算机程序。在此,我们旨在为临床医生创建一个逐步的过程,以便为日常实践创建定制的计算机程序。
我们创建了一个向 ChatGPT-4 输入的过程,该过程生成了计算机编程代码。然后将该代码复制并粘贴到记事本(并保存为 Python 文件)和 Google Colaboratory 中,以验证功能。我们通过在 5 天的时间内重复该过程,并招募志愿者使用建议的过程重现我们的输出,来验证我们过程的耐久性。
ChatGPT-4 针对我们的常用语言输入生成的计算机代码是准确的,并且随着时间的推移具有耐久性。该代码在 Python 和 Colaboratory 中都完全可用。志愿者在最小的帮助下重现了我们的过程和输出。
我们分析了 ChatGPT-4 和人工智能 (AI) 在执行输血医学中日常计算方面的实际应用。我们的结果提供了一个概念验证,即没有编程经验的人可以为自己的机构创建可定制的解决方案。我们未来的工作将扩展到创建为每个用户量身定制的全面和可定制的网站。