PHAR-251 · Lesson 11 of 12 · 21 min
Artificial intelligence tools in drug information
▶ Video coming soon A video version of this lesson is on the way.
Late on a busy evening shift at the fictional Wexcombe General Hospital, a pharmacy resident, Daniel Osei-Hartmann, types a question into a general-purpose AI chatbot on his phone: does a particular antifungal interact with a particular immunosuppressant, and what should be done? The reply arrives in seconds. It is fluent, confident and well organized. It describes the mechanism correctly, recommends monitoring, and cites two journal articles with authors, titles, years and page numbers. When Daniel checks the references the next morning, one is real but says something different from the summary; the other does not exist. The monitoring advice is sensible, but one recommendation reflects a product formulation not marketed in his country. Nothing in the answer signalled which parts were reliable.
Artificial intelligence is changing how information is found and summarized, and drug information is no exception. Used well, AI tools can save time and widen access to knowledge. Used carelessly, they can produce errors that look exactly like expertise. This lesson describes the kinds of AI tools pharmacists encounter, what the evidence says about their performance on drug questions, the specific ways they fail, the legal and ethical issues they raise, and a cautious, practical framework for using them. It is written with the expectation that specific products and capabilities will keep changing; the principles will not.
What we mean by artificial intelligence
Artificial intelligence is a broad term for computer systems that perform tasks usually thought to need human intelligence. Several kinds are relevant to pharmacy:
- Rule-based clinical decision support, such as interaction and allergy alerts in dispensing and prescribing systems, follows explicit rules written by people. It is not usually called AI today, but it illustrates a lasting lesson: alerts that fire too often are ignored, a problem called alert fatigue.
- Machine learning models learn patterns from data to make predictions, such as identifying patients at high risk of an adverse drug event, predicting which patients will need a dose adjustment, or flagging unusual prescriptions.
- Natural language processing extracts information from text, such as identifying adverse events mentioned in clinical notes or social media, or helping to process adverse reaction reports.
- Large language models, the technology behind general-purpose chatbots, generate fluent text in response to prompts. They are trained on very large collections of text to predict likely sequences of words, and then refined to follow instructions and converse.
- Retrieval-augmented tools combine a language model with a search of a defined set of documents, such as a drug database or the medical literature, and are designed to base their answers on, and cite, the retrieved sources.
Many commercial drug information and literature products now include AI features, such as natural-language search, summaries of monographs or guidance, and automated screening of articles for systematic reviews. AI is also increasingly used inside regulators and manufacturers for pharmacovigilance case processing and signal detection.
How language models produce answers, and why they fail
Understanding the basic mechanism explains the characteristic failures. A large language model does not look facts up in a database unless it has been connected to one. It generates text that is statistically plausible given its training and the prompt. Plausible and true often coincide, which is why these tools can be impressively useful. When they diverge, the model has no built-in way to know.
The main failure modes are:
- Fabrication, often called hallucination: confident statements, numbers or references that are invented. Fabricated citations are a particular hazard because they look verifiable and lend false authority.
- Outdated information: a model's knowledge reflects its training data up to a cut-off date. New safety warnings, approvals, withdrawals, shortages and guideline changes after that date are missing unless the tool retrieves current sources.
- Wrong jurisdiction: models trained on international text may describe products, strengths, brand names, approved indications, schedules or regulations from another country without saying so.
- Sensitivity to wording and premise: the same question phrased differently can produce different answers, and models tend to accept the premise of a question, so a leading question invites a confirming answer.
- Omission: an answer can be accurate in what it says but leave out the most important point, such as a contraindication or a serious interaction, and the reader has no way of seeing the gap.
- Inconsistency: asking the same question twice may give two different answers.
- Bias: training data reflect the biases of the literature and the internet, including under-representation of some populations.
Retrieval-augmented tools reduce some of these problems by grounding answers in identified sources, and they make verification easier by citing them. They do not eliminate errors: the tool can retrieve the wrong document, misread or over-summarize the right one, or fill gaps with generated text.
What the evidence shows
Research on AI performance in drug information is growing quickly and is uneven in quality. An early and widely reported study, presented at the American Society of Health-System Pharmacists Midyear Clinical Meeting in December 2023, tested a free version of a popular chatbot against real questions previously received by a university drug information service. Of 39 questions evaluated, the chatbot gave a satisfactory answer to only about a quarter. When asked for references, it supplied them for a minority of answers, and the investigators found that the references it listed did not exist.
Later studies of newer models have generally reported better performance on many question types, and tools grounded in curated drug references tend to do better than general chatbots. But studies continue to find clinically important errors and omissions, performance varies with the question category, and results from one model or version do not transfer reliably to the next. The reasonable conclusion for practice is not that AI is useless or that it is now reliable, but that its output must be treated as an unverified draft.
When you read a study of an AI tool, apply the appraisal skills of this course. What questions were tested, and were they representative of real practice or easy textbook items? Who judged the answers, against what standard, and were they blinded to the source? Which version of the tool was used, on what date? Was performance reported for important errors as well as average accuracy? Reporting guidelines now exist for this research, including TRIPOD+AI for prediction models, TRIPOD-LLM for studies of large language models, and the CONSORT-AI and SPIRIT-AI extensions for trials of AI interventions.
Legal, ethical and professional issues
Responsibility does not transfer to software. A pharmacist who relies on an AI tool's answer is accountable for that answer exactly as if it came from any other source. Professional standards require the use of reliable, current sources and the exercise of professional judgment; an unverified chatbot answer meets neither.
Privacy is a second concern. Typing identifiable patient information into a public AI tool may disclose personal health information to a third party, contrary to provincial health information laws and the Personal Information Protection and Electronic Documents Act where it applies and to institutional policy. Use only tools approved by your employer for any patient-specific use, and remove identifiers otherwise.
Regulation is developing. Some software that informs clinical decisions is regulated as a medical device by Health Canada, depending on its intended use and risk. Regulators have also begun issuing guidance on AI in drug development; for example, in January 2025 the FDA issued draft guidance on considerations for using AI to support regulatory decision-making for drugs and biological products, built around a risk-based framework for establishing the credibility of an AI model for its specific context of use. Professional bodies, including ASHP, have published statements on AI in pharmacy emphasizing pharmacist oversight, transparency and validation.
Equity matters too. Tools trained on data from some populations may perform poorly for others, and access to high-quality tools may be uneven. Questions concerning First Nations, Inuit and Métis communities in Canada, or American Indian and Alaska Native communities in the United States, call for particular care with any automated source, because these populations are often under-represented in training data and health systems and services differ.
A framework for cautious use
The safest way to think about current AI tools is to match the tool to the risk of the task, and to verify in proportion to the stakes.
Reasonable, lower-risk uses include brainstorming search terms and synonyms for a literature search, which you then test in the database; explaining a concept or method you will confirm in a textbook; drafting the structure of a written response or a patient information sheet that you will rewrite and check line by line; summarizing a document that you have in front of you and can compare with the summary; and translating plain-language explanations, with checking. Higher-risk uses, such as any patient-specific recommendation about therapy, an interaction, administration, pregnancy or lactation, or a dose, require that every element be verified against authoritative sources before it influences care. AI output should never be the only source for such a decision.
A practical verification routine applies to any AI-generated content:
- Identify every factual claim: drug names, mechanisms, numbers, warnings, recommendations.
- Check each against authoritative sources: the national product information, a current compendium and, where needed, the primary literature or guideline.
- Confirm that every reference exists, that it says what the summary claims and that it is current; look references up yourself rather than following links supplied by the tool.
- Check jurisdiction: are the products, strengths, indications and rules those of your country?
- Look for omissions by asking what a complete answer would include, using the systematic approach from earlier in the course.
- Document the sources you verified, not the AI tool, as the basis of your answer, and follow your institution's policy on disclosing AI assistance.
Beware automation bias, the tendency to accept a computer's output even when other evidence contradicts it. Fluent, well-formatted text is persuasive, and fatigue increases the temptation to accept it. Deliberately asking what could be wrong with an answer is a useful habit.
Worked problem
Revisiting the Wexcombe question
Daniel has the chatbot's answer about the antifungal and immunosuppressant interaction. How should he turn it into a reliable answer for the team?
Show solution
- Treat the chatbot text as an unverified draft. List its claims: the mechanism, the expected effect on drug levels, the monitoring recommendation, the formulation detail and the two references.
- Verify the interaction in the product information for both drugs and in a current interaction reference; confirm the mechanism and the recommended management.
- Look up both references himself in PubMed. One exists but says something different; the other does not exist. Discard the fabricated one and read the real one in full.
- Check jurisdiction: the formulation mentioned is not marketed locally, so the advice must be adapted to the available products.
- Check for omissions using the systematic approach: patient-specific factors such as kidney function and other interacting drugs were not addressed, so gather that background.
- Write the response from the verified sources, cite them, and do not cite the chatbot as a source of clinical facts.
Answer: The final answer rests entirely on verified product information, an interaction reference and real literature, adapted to local products and the patient; the chatbot's contribution, at most, was a starting outline.
Looking ahead
AI tools will continue to improve, and some will become embedded in the systems pharmacists use every day, from literature databases to dispensing software. Their value will depend on transparency about sources, rigorous independent evaluation, integration with current, jurisdiction-specific references, and users who understand their limits. The skills taught throughout this course, knowing the authoritative sources, asking the right background questions, appraising evidence and documenting reasoning, are exactly the skills needed to use AI safely. They are not made obsolete by it.
Common mistakes
MistakeA confident, well-written AI answer with citations is probably correct.
InsteadFluency and formatting say nothing about accuracy; verify every claim and look up every reference yourself.
MistakeAI tools are always up to date because they are new.
InsteadModels reflect training data up to a cut-off unless they retrieve current sources; new warnings and approvals may be missing.
MistakeRemoving the patient's name makes it safe to paste any record into a public chatbot.
InsteadOther details can identify a person; use only approved tools and follow privacy law and policy.
MistakeIf the AI made the error, the pharmacist is not responsible.
InsteadAccountability stays with the professional who relies on the information.
Summary and key terms
- AI tools in pharmacy include rule-based alerts, machine learning predictions, natural language processing, large language models and retrieval-augmented tools.
- Language models generate plausible text and can fabricate facts and references, be outdated, apply the wrong jurisdiction, omit key points and vary with wording.
- Evidence shows improvement over time but persistent clinically important errors; treat output as an unverified draft.
- Pharmacists remain accountable, must protect patient privacy and should follow regulatory and institutional guidance.
- Match AI use to the consequence of error and ease of verification, and verify every claim and reference against authoritative sources.
- The core drug information skills of this course are what make safe AI use possible.
- Large language model
- An AI model trained on large amounts of text to generate language in response to prompts.
- Hallucination
- Confident AI output that is fabricated or unsupported, such as invented facts or references.
- Retrieval-augmented generation
- An approach that grounds a language model's answer in documents retrieved from a defined source.
- Automation bias
- The tendency to over-rely on automated output, even when contradicted by other information.
- Alert fatigue
- Desensitization to frequent clinical decision support alerts, leading to important alerts being ignored.
- Training cut-off
- The date after which information is not included in a model's training data.
- TRIPOD-LLM
- A reporting guideline for studies that develop or evaluate large language models in health care.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name four characteristic failure modes of large language models in drug information.
Show answer
Fabrication of facts or references, outdated information, wrong jurisdiction, omission of key points, sensitivity to wording, inconsistency, bias.
What did the 2023 ASHP Midyear study find about the chatbot's references?
Show answer
The references it listed did not exist.
Give two lower-risk uses of AI in drug information work.
Show answer
Brainstorming search terms, explaining a concept to be confirmed, drafting a structure or handout for full review, summarizing a document you can compare.
What privacy rule applies to entering patient details into AI tools?
Show answer
Use only employer-approved tools for patient-specific use and comply with applicable health privacy law; remove identifiers otherwise.
What should be documented as the basis of an answer drafted with AI help?
Show answer
The authoritative sources that were checked, not the AI tool.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.