Skip to main content
European Journal of Hospital Pharmacy logoLink to European Journal of Hospital Pharmacy
. 2023 Jun 1;31(6):e003750. doi: 10.1136/ejhpharm-2023-003750

Performance and risks of ChatGPT used in drug information: an exploratory real-world analysis

Benedict Morath 1,, Ute Chiriac 1, Elena Jaszkowski 1, Carolin Deiß 1, Hannah Nürnberg 1, Katrin Hörth 1, Torsten Hoppe-Tichy 1, Kim Green 1
PMCID: PMC11672346  PMID: 37263772

Abstract

ABSTRACT

Objectives

To investigate the performance and risk associated with the usage of Chat Generative Pre-trained Transformer (ChatGPT) to answer drug-related questions.

Methods

A sample of 50 drug-related questions were consecutively collected and entered in the artificial intelligence software application ChatGPT. Answers were documented and rated in a standardised consensus process by six senior hospital pharmacists in the domains content (correct, incomplete, false), patient management (possible, insufficient, not possible) and risk (no risk, low risk, high risk). As reference, answers were researched in adherence to the German guideline of drug information and stratified in four categories according to the sources used. In addition, the reproducibility of ChatGPT’s answers was analysed by entering three questions at different timepoints repeatedly (day 1, day 2, week 2, week 3).

Results

Overall, only 13 of 50 answers provided correct content and had enough information to initiate management with no risk of patient harm. The majority of answers were either false (38%, n=19) or had partly correct content (36%, n=18) and no references were provided. A high risk of patient harm was likely in 26% (n=13) of the cases and risk was judged low for 28% (n=14) of the cases. In all high-risk cases, actions could have been initiated based on the provided information. The answers of ChatGPT varied over time when entered repeatedly and only three out of 12 answers were identical, showing no reproducibility to low reproducibility.

Conclusion

In a real-world sample of 50 drug-related questions, ChatGPT answered the majority of questions wrong or partly wrong. The use of artificial intelligence applications in drug information is not possible as long as barriers like wrong content, missing references and reproducibility remain.

Keywords: EVIDENCE-BASED MEDICINE; PHARMACY SERVICE, HOSPITAL; HEALTH SERVICES ADMINISTRATION; Medical Informatics; JOURNALISM, MEDICAL


What is already known on this topic

  • Drug information is a key clinical pharmacy service that ensures safe and effective pharmacotherapy.

  • ChatGPT is an artificial intelligence (AI) tool that is able to create content, answer questions and write and correct software code.

  • Currently it is debated how the use of AI tools will influence science and writing, but no data are available on its performance in drug information.

What this study adds

  • ChatGPT partially answered questions correctly if information was available in the summary of product characteristics.

  • Most questions were answered incompletely or incorrectly with a high risk of patient harm if actions would have been initiated based on the provided information.

  • However, profound knowledge is needed to identify wrong answers, further highlighting the risk of ChatGPT in real-world scenarios.

How this study might affect research, practice or policy

  • This study highlights barriers that need to be addressed in future AI tools used in clinical contexts for example, referencing, reproducibility and grading of evidence.

  • Policies and regulations are needed that allow to assess performance and risk of such tools if these should be used in future practice scenarios

  • Currently, established processes should be followed to answer queries on medicines that do not rely on ChatGPT.

INTRODUCTION

Drug information is a key pharmacy service provided by hospital pharmacies, specialised drug information centres or directly on ward rounds by clinical pharmacists.1 2 Advice ranges from general compatibility information up to special individual recommendations on the basis of extensive literature research. The general aim is to enable correct drug use as a pillar of safe and effective pharmacotherapy.3 4 To ensure consistent high quality in drug information, various guidelines from different national and international bodies have been issued on how to assess the different sources and compile specific answers on inquiries.3 5 6 However, drug information centres or hospital pharmacies might not always be available owing to lacking resources, although they have been shown to be cost-effective.7 Indeed, patients and healthcare professionals also search independently for information on the internet and might also use innovative open access tools.8 9 These might include tools like the chatbot Chat Generative Pre-trained Transformer (ChatGPT). ChatGPT is a freely available software that is based on artificial intelligence (AI) and machine learning.9 10 Although ChatGPT is primarily designed as a chatbot, it was trained with a broad data base and is able to provide comprehensive answers on a plethora of topics, mainly as part of communication.10 The quality of ChatGPT has raised an ongoing wide discussion on its implications on research, education or writing.11,13 As an example, ChatGPT was able to pass exams of law and business schools as well as medical exams.14 15

Drug information is based on communication and in brief on profound answering of questions with different complexity. It appears reasonable to assume that AI tools answering questions and searching data will increasingly be issued, and furthermore, that there might be use cases also in drug information. Currently, there is no analysis on the quality of answers provided by ChatGPT in the area of drug information and its implications on practice. It is unclear whether and how this tool offers opportunities to positively influence clinical practice, or whether it mainly poses a risk to patients. We therefore investigated its performance on 50 questions gathered by a team of clinical pharmacists in clinical routine, and analysed content, implications for practices and risk.

Methods

Setting

This study was conducted by a team of pharmacists that consecutively collected and documented questions that were asked in clinical routine on two consecutive working days. Questions were gathered during regular clinical pharmacy services hours, that is, during ward rounds, while counseling physicians or in the drug information centre. The senior clinical pharmacists are based in a large hospital pharmacy in a tertiary care centre with over 2000 beds. In this centre, pharmacists are involved in the medication process in a wide range of specialties: surgery (cardiothoracic, vascular, visceral), intensive care (surgical, internal medicine, neurology), neurology, ear-nose-throat and radiotherapy. Furthermore, a regional drug information centre of the chamber of pharmacist is affiliated to this hospital pharmacy department.

Data collection

The study was conducted in Germany. All questions were documented in German and translated by two pharmacists and verified using an online translator (deepl.com). If follow-up questions were needed to answer the query (eg, renal function), this information was included in the final question version. The final question version reflected the question that was answered by the clinical pharmacist and was entered in English in ChatGPT (version 3). All questions were consecutively documented in a prespecified Excel sheet by senior clinical pharmacists until a total of 50 questions was reached. If additional information was needed to answer the initial question, these facts were included in the documented question, for example, lab results or patient characteristics. All questions were entered in ChatGPT once in January 2023 and the results were documented. Questions were only entered once and no additional follow-up questions were asked in ChatGPT. For each question a new dialogue was started in ChatGPT and no answer was rated to not bias results by machine learning during the analysis.

All 50 questions were analysed and rated by predefined and standardised domains. In addition, three questions were repeatedly entered at day 1, day 2, week 2, and week three to investigate whether and how answers differ over time.

Analysis

Rating process

All answers were independently rated by six senior clinical pharmacists who have at least 5 years of clinical experience and hold a certificate of specialty training in clinical pharmacy practice. In case of discrepancies, results were determined by consensus after group discussion.

As rating reference, all answers were searched in the literature and referenced by the pharmacists. The research was performed according to the guideline of drug information of the German Association of Hospital Pharmacists.6 All researched answers were reviewed independently by two other pharmacists that needed to agree on the answer. If consensus was not reached, the answer was discussed among all authors until these consented. Answers were aimed to be concise and to include a recommendation on treatment. To increase plausibility and standardise the answers, the sources used for each answer were divided in four categories.

For category I, the answer was provided in the summary of product characteristics (SmPC) or was available on a public accessible medical website. In category II, the answer was found in the standard medical literature (eg, books) or international guidelines. Category III was used for answers that were available in non-public medicinal databases or regional/local guidelines. The final category IV was used for answers that required individual literature research or were based on expert knowledge. In cases with sources of different categories, the lowest category is shown. When established databases (eg, UpToDate database) were used to answer the question, the responses were not referenced down on the level of primary literature. This approach was chosen to be practice-orientated as answers in daily routine might also come from established and profound databases (eg, UpToDate database). It was assumed that ChatGPT will most likely have access to open access data, therefore the aim was to use comparable resources.

Rating domains and categories

Three main domains (content, patient management and risk) were defined for the rating process and further divided in three categories. Content was split into the following three categories: complete, incomplete/inconsistent and false. Content was rated as complete when all aspects to answer the question were stated by ChatGPT and were correct. Incomplete/inconsistent answers consisted of partially correct, partially wrong or incomplete information. When content was false or not applicable, the answers was rated as false.

The domain patient management assessed whether the provided information could be used to initiate actions and manage the patient. It was subdivided into three categories: possible, insufficient and not possible/suitable. Management was rated possible if actions could or likely would be initiated based on the answer, even if the content was false; for example, if a wrong dose was recommended by ChatGPT. Management insufficient was chosen if answers did not allow an immediate management and additional information was needed. The category ‘not possible’ was applicable for answers for which no management was possible based on the answer.

The third domain risk was divided into the categories high, low and no risk. High risk was defined as a high risk of patient harm (ie, prolonged hospital stay, occurrence of adverse events, death or ineffective treatment in an acute situation) if healthcare professionals had acted according to the provided information. Answers were rated as low risk if actions based on the answer would likely cause no harm, despite potentially being wrong. As an example, a wrong conversion dose for a statin was recommended that would not likely cause any acute harm or harm in short term. No risk was chosen if the answer had no risk to cause patient harm; for example, if the answer was correct.

Reproducibility

To investigate potential variance in ChatGPT’s answers over time, three questions had been selected by randomly sorting the list of questions in Excel. The first three questions were chosen for analysis.

Questions were repeatedly entered in ChatGPT at following points in time: day 1, day 2, 1 week after day 1 (week 2) and 2 weeks after day 1 (week 3). Answers were checked for variance in content to initiate actions and were rated in the binary categories: identical and different. In both cases, baseline was the first given answer on day 1. All answers were rated by two independent pharmacists that needed to consent. If consensus was not reached, a third adjudicator decided. Content, management and risk were not rated again in this subanalysis.

Results

Overall, 50 questions were collected and stratified according to the sources used for answering the question (table 1, online supplemental table S1 electronic supplementary). The questions were distributed over four categories and most questions could be answered by using the SmPC or publicly accessible websites (category I, n=27). Further, 10 questions were grouped in category II, 3 questions in category III and 10 questions needed an individual literature research to be answered.

Table 1. Questions entered in ChatGPT and rating of the answer in the categories content, patient management and risk.

Answercategory Question to ChatGPT C M R
I What is the labelled standard dose of apixaban in atrial fibrillation? graphic file with name ejhpharm-31-6-i001.jpg graphic file with name ejhpharm-31-6-i002.jpg graphic file with name ejhpharm-31-6-i003.jpg
I Which antibiotic can be administered in a patient with reported penicillin allergy and nosocomial pneumonia? The allergy occurred 7 years ago and showed a rash on the whole body 7 days after amoxicillin intake. graphic file with name ejhpharm-31-6-i004.jpg graphic file with name ejhpharm-31-6-i005.jpg graphic file with name ejhpharm-31-6-i006.jpg
I What is the labelled standard dose of apixaban in a patient with CrCl 20 mL/min and atrial fibrillation? graphic file with name ejhpharm-31-6-i007.jpg graphic file with name ejhpharm-31-6-i008.jpg graphic file with name ejhpharm-31-6-i009.jpg
I Can a patient who reacted with a rash to penicillin in the past be treated with cephalosporins? graphic file with name ejhpharm-31-6-i010.jpg graphic file with name ejhpharm-31-6-i011.jpg graphic file with name ejhpharm-31-6-i012.jpg
I What is the common starting dose of valsartan/sacubitril? graphic file with name ejhpharm-31-6-i013.jpg graphic file with name ejhpharm-31-6-i014.jpg graphic file with name ejhpharm-31-6-i015.jpg
I How should ciprofloxacin be dosed in a patient with eGFR 27 mL/min and Enterobacter cloacae in the sternal wound? graphic file with name ejhpharm-31-6-i016.jpg graphic file with name ejhpharm-31-6-i017.jpg graphic file with name ejhpharm-31-6-i018.jpg
I What is the recommended initial dose of vancomycin for an 80 kg patient? graphic file with name ejhpharm-31-6-i019.jpg graphic file with name ejhpharm-31-6-i020.jpg graphic file with name ejhpharm-31-6-i021.jpg
I Should the caspofungin dose be adjusted in a patient with bilirubin of 17 mg/dL, AST of 400 U/L and ALT of 100 U/L? graphic file with name ejhpharm-31-6-i022.jpg graphic file with name ejhpharm-31-6-i023.jpg graphic file with name ejhpharm-31-6-i024.jpg
I Can rilpivirine be taken with a proton pump inhibitor in a HIV patient on dolutegravir and rilpivirine with concomitant gastro intestinal bleeding? graphic file with name ejhpharm-31-6-i025.jpg graphic file with name ejhpharm-31-6-i026.jpg graphic file with name ejhpharm-31-6-i027.jpg
I When should empagliflozin be paused before surgery? graphic file with name ejhpharm-31-6-i028.jpg graphic file with name ejhpharm-31-6-i029.jpg graphic file with name ejhpharm-31-6-i030.jpg
I When should cotrimoxazole/trimethoprim be adjusted to the renal function? graphic file with name ejhpharm-31-6-i031.jpg graphic file with name ejhpharm-31-6-i032.jpg graphic file with name ejhpharm-31-6-i033.jpg
I How can olmesartan 20 mg be converted to irbesartan? graphic file with name ejhpharm-31-6-i034.jpg graphic file with name ejhpharm-31-6-i035.jpg graphic file with name ejhpharm-31-6-i036.jpg
I When can dabigatran be restarted after rifampicin therapy? graphic file with name ejhpharm-31-6-i037.jpg graphic file with name ejhpharm-31-6-i038.jpg graphic file with name ejhpharm-31-6-i039.jpg
I What is the dose of atorvastatin that is equivalent to simvastatin 40 mg?? graphic file with name ejhpharm-31-6-i040.jpg graphic file with name ejhpharm-31-6-i041.jpg graphic file with name ejhpharm-31-6-i042.jpg
I What is the maximum recommended daily dose of diclofenac? graphic file with name ejhpharm-31-6-i043.jpg graphic file with name ejhpharm-31-6-i044.jpg graphic file with name ejhpharm-31-6-i045.jpg
I How should vancomycin be dosed in a patient (83 kg) with meningitis and an eGFR 20 mL/min? graphic file with name ejhpharm-31-6-i046.jpg graphic file with name ejhpharm-31-6-i047.jpg graphic file with name ejhpharm-31-6-i048.jpg
I How should caspofungin be diluted prior to infusion? graphic file with name ejhpharm-31-6-i049.jpg graphic file with name ejhpharm-31-6-i050.jpg graphic file with name ejhpharm-31-6-i051.jpg
I How long does it take until haemoglobin targets are reached under darbepoetin therapy? graphic file with name ejhpharm-31-6-i052.jpg graphic file with name ejhpharm-31-6-i053.jpg graphic file with name ejhpharm-31-6-i054.jpg
I Is there an interaction between apixaban and nirmatrelvir/ritonavir(Paxlovid)? graphic file with name ejhpharm-31-6-i055.jpg graphic file with name ejhpharm-31-6-i056.jpg graphic file with name ejhpharm-31-6-i057.jpg
I What is the maximum daily dose of amlodipine? graphic file with name ejhpharm-31-6-i058.jpg graphic file with name ejhpharm-31-6-i059.jpg graphic file with name ejhpharm-31-6-i060.jpg
I What is the standard dose of carbamazepine for trigeminal neuralgia? graphic file with name ejhpharm-31-6-i061.jpg graphic file with name ejhpharm-31-6-i062.jpg graphic file with name ejhpharm-31-6-i063.jpg
I Can citalopram tablets(Cipramil)20 mg be crushed and administered over a gastric feeding tube? graphic file with name ejhpharm-31-6-i064.jpg graphic file with name ejhpharm-31-6-i065.jpg graphic file with name ejhpharm-31-6-i066.jpg
I Can oxycodone capsules(Oxygesic)10 mg be administered over a gastric feeding tube? graphic file with name ejhpharm-31-6-i067.jpg graphic file with name ejhpharm-31-6-i068.jpg graphic file with name ejhpharm-31-6-i069.jpg
I Is there a need to adjust bismuth quadruple therapy to the renal function? graphic file with name ejhpharm-31-6-i070.jpg graphic file with name ejhpharm-31-6-i071.jpg graphic file with name ejhpharm-31-6-i072.jpg
I How should the vancomycin dose be adjusted in a 56 kg patient with catheter-related blood stream infection with a trough level of 25.6 mg/L? The current dose is 1000 mg q12h and eGFR 55.4 mL/min. graphic file with name ejhpharm-31-6-i073.jpg graphic file with name ejhpharm-31-6-i074.jpg graphic file with name ejhpharm-31-6-i075.jpg
I What is the imipenem dose for a 6 year old patient with meningitis and multiple brain abscesses? graphic file with name ejhpharm-31-6-i076.jpg graphic file with name ejhpharm-31-6-i077.jpg graphic file with name ejhpharm-31-6-i078.jpg
I What is the recommended dose of linezolid in a 6 year old patient with CNS infection? graphic file with name ejhpharm-31-6-i079.jpg graphic file with name ejhpharm-31-6-i080.jpg graphic file with name ejhpharm-31-6-i081.jpg
II How should tobramycin be dosed in a patient with 190 kg on CVVHD? graphic file with name ejhpharm-31-6-i082.jpg graphic file with name ejhpharm-31-6-i083.jpg graphic file with name ejhpharm-31-6-i084.jpg
II Which antibiotic therapy is recommended for endocarditis and penicillin allergy in Staphylococcus aureus endocarditis? graphic file with name ejhpharm-31-6-i085.jpg graphic file with name ejhpharm-31-6-i086.jpg graphic file with name ejhpharm-31-6-i087.jpg
II In which cases is acyclovir prophylaxis recommended in patients with solid tumours? graphic file with name ejhpharm-31-6-i088.jpg graphic file with name ejhpharm-31-6-i089.jpg graphic file with name ejhpharm-31-6-i090.jpg
II Which drug improves outcomes in patients with heart failure with preserved ejection fraction? graphic file with name ejhpharm-31-6-i091.jpg graphic file with name ejhpharm-31-6-i092.jpg graphic file with name ejhpharm-31-6-i093.jpg
II How is ceftazidime dosed at an eGFR of 14 mL/min? graphic file with name ejhpharm-31-6-i094.jpg graphic file with name ejhpharm-31-6-i095.jpg graphic file with name ejhpharm-31-6-i096.jpg
II How should a catheter-related blood stream infection with Staphylococcus epidermidis be treated? graphic file with name ejhpharm-31-6-i097.jpg graphic file with name ejhpharm-31-6-i098.jpg graphic file with name ejhpharm-31-6-i099.jpg
II Which antibiotic is recommended for treatment of surgical site infections after spondylodesis? graphic file with name ejhpharm-31-6-i100.jpg graphic file with name ejhpharm-31-6-i101.jpg graphic file with name ejhpharm-31-6-i102.jpg
II How is tinzaparin therapeutically dosed in a patient on intermittent hemodialysis? graphic file with name ejhpharm-31-6-i103.jpg graphic file with name ejhpharm-31-6-i104.jpg graphic file with name ejhpharm-31-6-i105.jpg
II Which antibiotics should be used in a patient with an ear infection due to Pseudomonas and Streptococcus? graphic file with name ejhpharm-31-6-i106.jpg graphic file with name ejhpharm-31-6-i107.jpg graphic file with name ejhpharm-31-6-i108.jpg
II How should aztreonam be dosed on a CVVHD with dialysis flow rate of 2 L/h? graphic file with name ejhpharm-31-6-i109.jpg graphic file with name ejhpharm-31-6-i110.jpg graphic file with name ejhpharm-31-6-i111.jpg
III What is the recommended initial dose of insulin glargine in a patient with steroid-induced diabetes? graphic file with name ejhpharm-31-6-i112.jpg graphic file with name ejhpharm-31-6-i113.jpg graphic file with name ejhpharm-31-6-i114.jpg
III Which interactions can occur in a patient treated with nirmatrelvir/ritonavir (Paxlovid), atorvastatin, trazodone, paroxetine, acetylic salicylic acid, and candesartan and how should these be managed? graphic file with name ejhpharm-31-6-i115.jpg graphic file with name ejhpharm-31-6-i116.jpg graphic file with name ejhpharm-31-6-i117.jpg
III How should tobramycin be dosed in a patient with 190 kg on CVVHD? graphic file with name ejhpharm-31-6-i118.jpg graphic file with name ejhpharm-31-6-i119.jpg graphic file with name ejhpharm-31-6-i120.jpg
IV How much vitamin K can be used to lower the INR to two in a LVAD patient before surgery currently with an INR of 3.5? graphic file with name ejhpharm-31-6-i121.jpg graphic file with name ejhpharm-31-6-i122.jpg graphic file with name ejhpharm-31-6-i123.jpg
IV Which painkiller should be used in a patient on lithium therapy? graphic file with name ejhpharm-31-6-i124.jpg graphic file with name ejhpharm-31-6-i125.jpg graphic file with name ejhpharm-31-6-i126.jpg
IV What is the equivalent dose of glibenclamide to glimepiride? graphic file with name ejhpharm-31-6-i127.jpg graphic file with name ejhpharm-31-6-i128.jpg graphic file with name ejhpharm-31-6-i129.jpg
IV What is the recommended dose of meropenem in paediatric patients with CRRT? graphic file with name ejhpharm-31-6-i130.jpg graphic file with name ejhpharm-31-6-i131.jpg graphic file with name ejhpharm-31-6-i132.jpg
IV How is ceftolozane/tazobactam dosed in a patient with 198 kg? graphic file with name ejhpharm-31-6-i133.jpg graphic file with name ejhpharm-31-6-i134.jpg graphic file with name ejhpharm-31-6-i135.jpg
IV How should ceftazidime/avibactam be dosed on a CVVHD with dialysis flow rate of 2 L/h? graphic file with name ejhpharm-31-6-i136.jpg graphic file with name ejhpharm-31-6-i137.jpg graphic file with name ejhpharm-31-6-i138.jpg
IV How is the conversion dose from 10 mg escitalopram oral to citalopram i.v.? graphic file with name ejhpharm-31-6-i139.jpg graphic file with name ejhpharm-31-6-i140.jpg graphic file with name ejhpharm-31-6-i141.jpg
IV How should enoxaparin be dosed in a 2 month old infant with recurrent thrombosis on dialysis? graphic file with name ejhpharm-31-6-i142.jpg graphic file with name ejhpharm-31-6-i143.jpg graphic file with name ejhpharm-31-6-i144.jpg
IV Can ibrutinib be administered over a gastric feeding tube? graphic file with name ejhpharm-31-6-i145.jpg graphic file with name ejhpharm-31-6-i146.jpg graphic file with name ejhpharm-31-6-i147.jpg
IV How should flucloxacillin be dosed in a patient with Staphylococcus aureus endocarditis on CVVHD with dialysate flow rate of 3 L/h? graphic file with name ejhpharm-31-6-i148.jpg graphic file with name ejhpharm-31-6-i149.jpg graphic file with name ejhpharm-31-6-i150.jpg

Legend: Content: Inline graphic: Complete. Inline graphic: Incomplete/Inconsistent. Inline graphic: False/Not applicable. Patient management Inline graphic: Possible Inline graphic: Insufficient Inline graphic: Not possible. Risk: Inline graphic: No risk of patient harm Inline graphic: Low risk of patient harm Inline graphic: High risk of patient harm.

ALTAlanine transaminaseASTAspartate transaminaseCContent CNSCentral nervous systemCrClCreatinine clearanceCRRTContinuous renal replacement therapyCVVHDContinuous veno-venous hemodialysiseGFREstimated glomerular filtration rateHIVHuman immunodeficiency virusesINRInternational normalised ratioi.v.IntravenousLAVDLeft ventricular assist deviceMPatient managementRRiskUUnit

Out of the 50 provided answers, around a quarter (26%) were rated as correct, whereas 36% (n=18) of the answers were only partially correct, had missing information or were ambiguous or vague (table 2, figure 1). The category false was applicable in 38% (n=19) of the answers which provided false information. In addition, no references were provided for all answers by ChatGPT.

Table 2. Questions entered in ChatGPT that were rated either completely correct or completely wrong, that is, rated in the highest or lowest category of all three domains.

Answercategory Question to ChatGPT Overall rating
I What is the labelled standard dose of apixaban in atrial fibrillation? graphic file with name ejhpharm-31-6-i160.jpg
I What is the labelled standard dose of apixaban in a patient with CrCl 20 mL/min and atrial fibrillation? graphic file with name ejhpharm-31-6-i161.jpg
I Can a patient who reacted with a rash to penicillin in the past be treated with cephalosporins? graphic file with name ejhpharm-31-6-i162.jpg
I Should the caspofungin dose be adjusted in a patient with bilirubin of 17 mg/dL, AST of 400 U/L and ALT of 100 U/L? graphic file with name ejhpharm-31-6-i163.jpg
I When should empagliflozin be paused before surgery? graphic file with name ejhpharm-31-6-i164.jpg
I What is the maximum recommended daily dose of diclofenac? graphic file with name ejhpharm-31-6-i165.jpg
I How should caspofungin be diluted prior to infusion? graphic file with name ejhpharm-31-6-i166.jpg
I What is the maximum daily dose of amlodipine? graphic file with name ejhpharm-31-6-i167.jpg
I What is the standard dose of carbamazepine for trigeminal neuralgia? graphic file with name ejhpharm-31-6-i168.jpg
II How should aztreonam be dosed on a CVVHD with dialysis flow rate of 2 L/h? graphic file with name ejhpharm-31-6-i169.jpg
II How is tinzaparin therapeutically dosed in a patient on intermittent hemodialysis? graphic file with name ejhpharm-31-6-i170.jpg
III What is the recommended initial dose of insulin glargine in a patient with steroid-induced diabetes? graphic file with name ejhpharm-31-6-i171.jpg
IV Which painkiller should be used in a patient on lithium therapy? graphic file with name ejhpharm-31-6-i172.jpg
III Which interactions can occur in patient treated with nirmatrelvir/ritonavir(Paxlovid), atorvastatin, trazodone, paroxetine, acetylic salicylic acid, and candesartan and how should these be managed? graphic file with name ejhpharm-31-6-i173.jpg
IV How much vitamin K can be used to lower the INR to two in a LVAD patient before surgery currently with an INR of 3.5? graphic file with name ejhpharm-31-6-i174.jpg

Legend:Inline graphic : Content, patient management, and risk rated in the highest category. Inline graphic: Content, patient management, and risk rated in the lowest category.

ALTAlanine transaminaseASTAspartate transaminaseCrClCreatinine clearanceCVVHDContinuous veno-venous hemodialysisINRInternational normalised ratioLVADLeft ventricular assist deviceUUnit

Figure 1. Rating of ChatGPT answers in the categories content, patient management and risk (n=50).

Figure 1

However, a majority of answers were quite comprehensive and specific enough to start actions or initiate a management based on the provided information (72%, n=36); also, unfortunately, in cases with wrong content (figure 1). In 14% of the cases, answers were either insufficient to manage the patient (n=7) or management was not possible (n=7) for each category. Nearly half of the answers (46%, n=23) were rated with no risk of patient harm. However, patient harm was likely to be caused in 26% of the cases (n=13) with a high risk of adverse outcomes.

Special scenarios

The highest risk combination consisted of answers that provided wrong content but on the other hand sufficient information to start actions with a high risk of harming a patient (eg, wrong doses). This scenario occurred in 11 answers (22 %), and in addition, two answers had a low risk of harm but still wrong information paired with possible management. In contrast, 13 answers (26%) were correct, provided information to initiate actions and had no risk of harm at all.

When information was not provided in the SmPC and non-public databases (category III) or an individual literature research (category IV) was needed, the answer quality was negatively affected. The content of these answers was false in the majority of the cases (76%) and had a high risk of harm in every second case (53%).

Reproducibility and variance in answers over time

Three questions were entered in ChatGPT at prespecified points in time. For two questions, none of the subsequent answers were identical to the initially provided answer and these answers differed substantially. Overall, only two answers were identical (table 3) (online supplemental table S2 electronic supplementary).

Table 3. Reproducibility and variance in ChatGPT answers over time. Answers were shortened by text without information. Complete answers are available in the electronic online supplemental table S2.

Rating
Question I What is the recommended initial dose of insulin glargine in a patient with steroid-induced diabetes and a body-weight of 65 kg, and blood glucose measurements of 500 mg/dL?
Answer ChatGPT day 1 The recommended initial dose of insulin glargine in a patient with steroid-induced diabetes and a body weight of 65 kg and blood glucose measurements of 500 mg/dL would likely be around 0.2 units/kg/day, which would be a total of 13 units/day. N/A
Answer ChatGPT day 2 The recommended initial dose of insulin glargine (Lantus) in a patient with steroid-induced diabetes and a body weight of 65 kg, and blood glucose measurements of 500 mg/dL, would typically be 0.1 units/kg/day or 6.5 units once daily. graphic file with name ejhpharm-31-6-i177.jpg
Answer ChatGPT week 2 The recommended initial dose of insulin glargine for a patient with steroid-induced diabetes and a body weight of 65 kg, and blood glucose measurements of 500 mg/dL would be 0.1–0.2 units/kg/day. graphic file with name ejhpharm-31-6-i178.jpg
Answer ChatGPT week 3 The initial dose of insulin glargine for a patient with steroid-induced diabetes and a body weight of 65 kg, and blood glucose measurements of 500 mg/dL is typically 0.5 to 1 unit per kilogram of body weight per day, or 32.5 to 65 units per day. graphic file with name ejhpharm-31-6-i179.jpg
Question II What is the dosing weight for aminoglycosides in a patient with a body weight of 190 kg and a height of 165 cm?
Answer ChatGPT day 1 The dosing weight for aminoglycosides in a patient with a body weight of 190 kg and a height of 165 cm would typically be calculated using the patient’s ideal body weight (IBW). The most commonly used formulas for calculating IBW are the Devine formula for males (IBW=50 + 2.3(height (in) - 60) and the Robinson formula for females (IBW=45.5 + 2.3(height (in) - 60). Since we don't know the gender of this patient, we would use the Devine formula. 165 cm=64.96 inches, IBW=50 + 2.3(64.96–60) = 72.986 kg . N/A
Answer ChatGPT day 2 The dosing weight for aminoglycosides in patients with a body weight of 190 kg and a height of 165 cm is typically calculated using an adjusted body weight (ABW) formula, which takes into account both weight and height. One commonly used formula is: ABW = (0.4 × (height in cm - 152)) + 50 For a patient with a height of 165 cm, this would give an adjusted body weight of: ABW = (0.4 x (165 - 152)) + 50 = 77 + 50 = 127 kg. So, for a patient with a body weight of 190 kg and an ABW of 127 kg. graphic file with name ejhpharm-31-6-i180.jpg
Answer ChatGPT week 2 The dosing weight for aminoglycosides in patients is typically based on their ideal body weight (IBW) rather than their actual body weight. To calculate the IBW for a patient with a height of 165 cm, the following formula can be used: IBW (kg) =(height (cm) - 100)x 0.9. For a patient with a height of 165 cm, the IBW would be:(165 - 100)x 0.9=65 kgTherefore, the dosing weight for aminoglycosides in a patient with a body weight of 190 kg and a height of 165 cm would be 65 kg. graphic file with name ejhpharm-31-6-i181.jpg
Answer ChatGPT week 3 The dosing weight for aminoglycosides, such as gentamicin, is typically adjusted based on the patient’s ideal body weight (IBW) rather than their actual body weight. The IBW can be estimated using various formulas, but a commonly used one is the Devine formula: IBW (kg)=50 + 2.3 kg/inch x (height in inches - 60) For a patient with a height of 165 cm (5 ft five in), the formula would be: IBW (kg)=50 + 2.3 kg/inch x (65 - 60) = 50 + 2.3 x 5=60 kg. graphic file with name ejhpharm-31-6-i182.jpg
Question III What is the dose of atorvastatin that is equivalent to simvastatin 40 mg?
Answer ChatGPT day 1 The equivalent dose of Simvastatin 40 mg in Atorvastatin is approximately 10 mg. N/A
Answer ChatGPT day 2 The equivalent dose of simvastatin to atorvastatin can vary depending on the individual patient and their response to the medication. However, in general, a dose of atorvastatin 20–40 mg is considered equivalent to a dose of simvastatin 40 mg. graphic file with name ejhpharm-31-6-i183.jpg
Answer ChatGPT week 2 The equivalent dose of simvastatin 40 mg in atorvastatin is approximately 10 mg. graphic file with name ejhpharm-31-6-i184.jpg
Answer ChatGPT week 3 The equivalent dose of Simvastatin 40 mg in Atorvastatin is approximately 10 mg. graphic file with name ejhpharm-31-6-i185.jpg

Legend:Inline graphic: Answer varies, no reproducibility. Inline graphic: Answer is identical with first answer.

In the case of insulin dosage recommendations, dosages varied by a factor of 10 with a serious risk of hypoglycaemia. For aminoglycoside dosing, different and most often wrong formulas were recommended. Additionally, the recommended dosing weight differed by 8.3%−111.7%. Moreover, the recommended weights were miscalculated by ChatGPT (table 3). Only two questions for conversion doses of statins were identical over time, but also in this scenario one answer differed.

Discussion

To our knowledge, this is the first study that investigated ChatGPT in the context of drug information which assessed quality and potential risks of ChatGPT answers if hypothetically applied in clinical practice. Interestingly, 13 out of the 50 questions asked were answered correctly in all domains and information could have been used to initiate actions on this information. On the other hand, the majority of the answers were either insufficient (36%) or false (38%). Consequently, in case of wrong answers with enough information to start actions, there was a high risk of severe patient harm (26%), if instructions of ChatGPT would have been followed in practice. In addition, in a subanalysis answers appeared to change over time for exact the same question showing no reproducibility.

Yet, one has to keep in mind that ChatGPT was developed as a chatbot that should engage in conversation with the capability to write and correct software code.10 The intended use case is currently neither patient care nor the healthcare setting in general. But this does not preclude that it is used within these areas, hopefully not by healthcare professionals, but possibly by patients familiar with the tool in other areas (eg, writing or for searching general information).9 The high risk lies not only in the fact that the majority of information is false or partially false, but a relevant factor is that profound knowledge is needed to identify misleading or false information.16 17 As shown in the study (online supplemental table S1), ChatGPT always provides an answer and often professional terms, dosages or formulas are included. At first glance, answers appear to be plausible.18 In a question on how to determine dosing weight of aminoglycosides in obese patients, different but often wrong formulas were provided and results were miscalculated.19 But these answers appeared quick and often sounded confident which could mislead the asking person. Because if the answer was already known, the question would not have been asked.

A machine learning tool can only be as good as the dataset used to train it.20 ChatGPT appeared to perform well if information was available in the SmPC. In fact SmPCs are often publicly accessible as well as regularly updated, and AI tools might be helpful to query SmPCs or books in future. But the more complex inquiries became, or when answers needed to be individualised and derived from evidence, unreliable and often high-risk answers were provided. The biggest problem was that information was not referenced and answers were not traceable. In addition, a recent study showed that ChatGPT makes up wrong references, that is, references that do not exist.21 In combination with a lack of reproducibility and varying answers, this currently excludes any real-world use cases in connection with patient care. Nevertheless, these concerns raise important points that need to be addressed in future AI development. In the future, AI tools will become increasingly available. But if these should be used in practice, frameworks are needed for the performance assessment and continuous monitoring. In healthcare use cases, AI tools need to at least correctly reference the data they present, reproducibly create content and, at best, grade evidence. If developed for the use in patient care, approval as a medical device is needed according to the medical device regulations.22

Aside from ChatGPT’s limitations, there are also limitations in regards to this study. We performed a single-centre pilot analysis with a consequent set of questions. Also, the sample size of 50 questions was chosen to reflect the workload of two regular working days and was not determined by a power calculation. However, as this is an exploratory analysis aiming to describe potential implications on clinical practice, this approach appears to be feasible. The associated answers might be influenced by local guidance and processes. It appears likely that other approaches and answers are suitable. Therefore, the German national guideline for drug information was consequently followed and two independent sources were provided if information was not provided in the SmPC. Besides, all involved pharmacists have completed specialty training and a consensus based and standardised rating process was used for the assessment. Moreover, the ChatGPT database is from 2021, and therefore, new data had not been included. Nevertheless, in our opinion all questions could have been answered with data provided from 2021, and therefore the risk of bias seems to be low within this regard. Another issue was that ChatGPT’s answers appear to be not reproducible. Therefore, the rating is a snapshot of the day the question was asked. Possibly, wrong answered questions theoretically could be answered in a correct way, the next time entered. However, this reflects the current functionality of ChatGPT and also with repetitive entries of questions, this issue cannot be solved. Our analysis, therefore, represents a real-world scenario that shows potential implications if ChatGPT would have been used in a specific situation in patient care.

Conclusion

In an analysis of 50 questions asked in clinical routine, ChatGPT partially answered questions correctly, mostly if information was available in the SmPC. However, currently there is no use case in clinical practice, as answers were often false, insufficient and associated with a great risk of patient harm. In addition, answers appeared to be not reproducible and were not referenced. However, AI tools might become part of the healthcare practice in the future. Therefore, frameworks for evaluation as well as regulations for these tools are needed to ensure the best use in the interest of the patient. Clinical pharmacists should take a leading role in the evaluation of these tools and define the use cases that help to ensure best use in the patient’s interest.

supplementary material

online supplemental file 1
ejhpharm-31-6-s001.pdf (412.3KB, pdf)
DOI: 10.1136/ejhpharm-2023-003750

Footnotes

Funding: The authors have not declared a specific grant for this research from any funding agency in the public, commercial or not-for-profit sectors.

EAHP statement: EAHP Statement 4: Clinical Pharmacy Services.

Provenance and peer review: Not commissioned; externally peer reviewed.

Patient consent for publication: Not applicable.

Ethics approval: Not applicable.

Data availability free text: N/A.

Collaborators: N/A.

Contributor Information

Benedict Morath, Email: benedict.morath@med.uni-heidelberg.de.

Ute Chiriac, Email: ute.chiriac@med.uni-heidelberg.de.

Elena Jaszkowski, Email: elena.jaszkowski@med.uni-heidelberg.de.

Carolin Deiß, Email: carolin.deiss@med.uni-heidelberg.de.

Hannah Nürnberg, Email: hannah.nuernberg@med.uni-heidelberg.de.

Katrin Hörth, Email: katrin.hoerth@med.uni-heidelberg.de.

Torsten Hoppe-Tichy, Email: Torsten.Hoppe-Tichy@med.uni-heidelberg.de.

Kim Green, Email: kim.green@med.uni-heidelberg.de.

Data availability statement

Data are available upon reasonable request.

References

  • 1.Gabay MP. The evolution of drug information centers and specialists. Hosp Pharm. 2017;52:452–3. doi: 10.1177/0018578717724235. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.SPS Specialist Pharmacy service-the first stop for professional medicines advice. 2023. https://www.sps.nhs.uk/ Available.
  • 3.Ghaibi S, Ipema H, Gabay M, et al. ASHP guidelines on the pharmacist’s role in providing drug information. Am J Health Syst Pharm. 2015;72:573–7. doi: 10.2146/sp150002. [DOI] [PubMed] [Google Scholar]
  • 4.SPS Specialist Pharmacy service-The first stop for professional medicines advice. 2023. https://www.sps.nhs.uk/home/about-sps/ Available.
  • 5.Canadian Society of Hospital Pharmacist Drug information services: Guidelines. 2023. [28-Feb-2023]. https://www.cshp.ca/docs/pdfs/DrugInformationServicesGuidelines%20(2015).pdf Available. Accessed.
  • 6.Strobach D, Mildner C, Amann S, et al. The Federal Association of German hospital Pharmacists- guideline on drug information. Krankenhausapharmazie. 2021;42:452–65. [Google Scholar]
  • 7.Brown JN. Cost savings associated with a dedicated drug information service in an academic medical center. Hosp Pharm. 2011;46:680–4. doi: 10.1310/hpj4609-680. [DOI] [Google Scholar]
  • 8.Kusch MK, Haefeli WE, Seidling HM. How to meet patients' individual needs for drug information - a Scoping review. Patient Prefer Adherence. 2018;12:2339–55. doi: 10.2147/PPA.S173651. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Hopkins AM, Logan JM, Kichenadasse G, et al. AI Chatbots will revolutionize how cancer patients access information: ChatGPT represents a paradigm-shift. JNCI Cancer Spectr. 2023;7:pkad010. doi: 10.1093/jncics/pkad010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.OpenAI ChatGPT: Optimizing language models for dialogue. 2023. [28-Feb-2023]. https://openai.com/blog/chatgpt Available. Accessed.
  • 11.Stokel-Walker C, Van Noorden R. What ChatGPT and Generative AI mean for science. Nature. 2023;614:214–6. doi: 10.1038/d41586-023-00340-6. [DOI] [PubMed] [Google Scholar]
  • 12.Park SH, Do K-H, Kim S, et al. What should medical students know about artificial intelligence in medicine? J Educ Eval Health Prof. 2019;16:18. doi: 10.3352/jeehp.2019.16.18. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Tools such as ChatGPT threaten transparent science; here are our ground rules for their use. Nature. 2023;613:612. doi: 10.1038/d41586-023-00191-1. [DOI] [PubMed] [Google Scholar]
  • 14.Gilson A, Safranek CW, Huang T, et al. How does ChatGPT perform on the United States medical licensing examination? the implications of large language models for medical education and knowledge assessment. JMIR Med Educ. 2023;9:e45312. doi: 10.2196/45312. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.CNN ChatGPT passes exams from law and business schools. 2023. [28-Feb-2023]. https://edition.cnn.com/2023/01/26/tech/chatgpt-passes-exams/index.html Available. Accessed.
  • 16.Sallam M, Salim NA, Al-Tammemi AB, et al. ChatGPT output regarding compulsory vaccination and COVID-19 vaccine conspiracy: A descriptive study at the outset of a paradigm shift in Online search for information. Cureus. 2023;15 doi: 10.7759/cureus.35029. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.NY Disinformation researchers raise alarms about A.I. 2023. [28-Feb-2023]. https://www.nytimes.com/2023/02/08/technology/ai-chatbots-disinformation.html Available. Accessed.
  • 18.Korngiebel DM, Mooney SD. Considering the possibilities and pitfalls of Generative pre-trained transformer 3 (GPT-3) in Healthcare delivery. NPJ Digit Med. 2021;4:93. doi: 10.1038/s41746-021-00464-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Murphy JE. Clinical pharmacokinetics. 6th. Bethesda, Maryland: American Society of Health-System Pharmacists; 2017. edn. [Google Scholar]
  • 20.Sidey-Gibbons JAM, Sidey-Gibbons CJ. Machine learning in medicine: A practical introduction. BMC Med Res Methodol. 2019;19 doi: 10.1186/s12874-019-0681-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Alkaissi H, McFarlane SI. Artificial hallucinations in ChatGPT: Implications in scientific writing. Cureus. 2023;15:e35179. doi: 10.7759/cureus.35179. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.European Regulation (EU) 2017/745 of the European Parliament and of the Council of 5 April 2017 on medical devices, amending directive 2001/83/EC, regulation (EC) no 178/2002 and regulation (EC) no 1223/2009 and repealing Council directives 90/385/EEC and 93/42/EEC (text with EEA relevance.) 2023. [28-Feb-2023]. http://data.europa.eu/eli/reg/2017/745/oj Available. Accessed.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

online supplemental file 1
ejhpharm-31-6-s001.pdf (412.3KB, pdf)
DOI: 10.1136/ejhpharm-2023-003750

Data Availability Statement

Data are available upon reasonable request.


Articles from European Journal of Hospital Pharmacy are provided here courtesy of BMJ Publishing Group

RESOURCES