Unit 1 / 12

Introduction to Artificial Intelligence in Pharmacy: Boundaries, Validation, Responsibility and Ethics

Gains:

  • Being able to distinguish where artificial intelligence saves real time in the pharmacy workflow and where the safety-critical responsibility should remain with the competent pharmacist and physician, according to the risk level
  • Ability to implement a multi-layered verification discipline that tests each AI output against up-to-date product information (SPC/KT), applicable legislation and independent expert control
  • Ability to acquire the habit of choosing safe tools in terms of anonymization of context, privacy (KVKK) and ethics to protect patient personal and health data.

Pharmacy is a profession of trust that sees the patient behind a prescription and delivers the medicine to him/her in a safe, accurate and rational manner. The source of this trust is that the pharmacist bases every decision on knowledge and responsibility. Artificial intelligence (AI for short; software that learns patterns from data and produces text, tables and suggestions) enters this profession as a very powerful assistant: scanning an interaction, writing a patient information text, drafting a notification, summarizing a legislative text. But AI is not a pharmacist; He neither takes responsibility, nor carries a diploma, nor stands legally against the patient. In this unit, you will learn where to use artificial intelligence in the pharmacy business, where to stand and how to verify each output. The aim is to make you a professional who controls artificial intelligence, not dependent on it.

What can artificial intelligence do and cannot do in pharmacy?

The real power of artificial intelligence is to produce language, patterns and blueprints. A patient counseling text, an adverse effect (side effect) reporting framework, a rational drug use (RAH; principle of using the drug with the right drug, the right dose, for the right duration) brochure, a stock analysis table, and a literature summary appear in seconds. In these tasks, artificial intelligence saves you hours and eases the mental load.

What artificial intelligence cannot do is the decision that requires clinical responsibility. Adjusting a patient's dose based on renal function, whether the interaction of two drugs is clinically significant for that patient, the safety of a drug in a pregnant woman, whether a prescription should be approved; None of this can be determined by the logic of "this is how it usually happens." AI hallucinates because it learns from texts on the internet and in books: that is, it can make up a false dose, interaction, or source that appears real but is false. In pharmacy, this type of error is not just a typo; Wrong dose means serious adverse effects or even patient harm.

Attention: The AI ​​output is a draft, not an expert opinion. No safety-critical decisions regarding medication, dosage and treatment can be made without the approval of a competent pharmacist and physician. The decision to diagnose and treat belongs to the human; AI does not replace this consent.

Three regions according to risk level

The most practical way to use artificial intelligence safely is to divide each task into three zones based on risk level. This distinction provides a quick and accurate answer to the question "should artificial intelligence do this?"

Region

Sample tasks

The role of artificial intelligence

Verification level

Green (low risk)

Blog draft, shelf label, meeting note, email, general information text

free production

Quick review

Yellow (medium risk)

Patient information text, legislative summary, stock analysis, literature summary, notification draft

Draft + proposal

Expert control + SmPC/source confirmation

Red (security-critical)

Dose determination, interaction decision, prescription approval, special group (pregnant/child/insufficiency) evaluation

Pre-screen/checklist only

Approval from a competent pharmacist and, if necessary, a physician is mandatory.

Be fast in the green zone. Use AI in the yellow zone, but fact-check every medical claim and source. In the red zone, AI never has the final say; It is merely an aid that speeds up the expert's work.

Multi-layer verification discipline

Verification is not something to be postponed thinking "I'll check it out later"; is part of the workflow. Robust validation in pharmacy consists of five layers:

  1. Return to the source. If the AI ​​has given a dose, interaction or condition, open and confirm it from the current product information (SmPC: Summary Product Information; official drug information for the physician. KT: Instructions for Use; for the patient) or the applicable guidance/legislation.
  2. Independent account. Recalculate a dose or concentration (mg/kg, mL, %) manually or using a validated method.
  3. Test with patient context. Compare the claim to this actual patient's age, weight, kidney/liver function, pregnancy, and other medications.
  4. Expert eye. If the decision is clinical and there is hesitation, consult a physician; Final approval lies with the competent pharmacist.
  5. Leave your mark. Record which output was validated and how; Let it be checked later.
Hint: “The AI ​​said” is not a justification. The justification for a pharmacy decision is always the current SmPC/PI, current guidance/legislation, independent calculation or competent expert approval. AI helps you prepare these justifications, it doesn't replace them.

Privacy, KVKK and ethics

Health data is the most sensitive type of personal data; It is subject to the highest protection as "personal data of special nature" in the legislation. The patient's name, TR ID number, diagnosis, medications used; All of this is confidential. Before giving this data to a cloud-based AI tool, ask three questions: Is this data really necessary? Can it be anonymized? Does the tool I use use data in training?

The ethical dimension does not end there. Artificial intelligence cannot directly diagnose a patient, recommend treatment, or replace a physician. Even for over-the-counter (OTC) products, it is irresponsible to transfer the AI ​​output to the patient without passing it through the pharmacist filter. Use AI as an internal tool; Never bypass professional judgment between you and the patient.

three mini cases

Case 1 — Validation catches an error. A pharmacist consulted AI to quickly check the dose for a 18kg child; The AI ​​mistakenly suggested a total dose of 150 mg instead of 15 mg/kg. The pharmacist considered the printout as a draft and made an independent calculation: 18 × 15 = 270 mg/day. He saw the difference, confirmed it on the SPC and applied the correct dose. Without the discipline of verification, the child would have received approximately half the dose; Blind trust in AI would produce an error.

Case 2 — Protection of confidentiality. A pharmacist was about to write down the patient's name and ID number while asking the artificial intelligence about a complex case. Thanks to his own habit of anonymization, he replaced these with clinical equivalents such as “65 years old, male, chronic kidney disease.” The quality of the output never decreased, but the patient's private data did not go to any cloud. Confidentiality was protected without compromising the quality of the results.

Case 3 — Speeding in the green zone. The same pharmacy would write a cold chain delivery procedure for staff. This mission was low risk (green zone); The pharmacist took a draft from the artificial intelligence and adapted it to the real flow, reducing the hourly work to half an hour. Since he knew the correct zoning, he accelerated here, whereas in a clinical decision, he would slow down and verify.

Step by step: Introducing AI safely into a task

  1. Place the task in the region. Green, yellow or red?
  2. Anonymize context. Clear real name, ID, ID and personal information.
  3. Give a clear brief. Clearly write out the patient's characteristics (age, weight, function), goal, and format.
  4. Consider the output a draft. Never use it like the final product.
  5. Apply layers of verification. Source, account, patient context, expert, trace.
  6. Record the decision and its reasoning.

Four copyable templates

Role: You are a pharmacy assistant (NOT making clinical decisions).Task: Produce a DRAFT for [task].Context: Patient age [...], weight [...], kidney/liver status [...],other medications [...]. (NO real identification information.)Rule: Label "SmPC/SOURCE CONFIRMATION REQUIRED" for each dose/interaction/condition you are unsure of.Format: In bullet points, with justification.

Task: LIST medical claims, dosage values, and regulatory references in the text below. Add a "source must be verified" note for each. Don't verify it yourself, just mark it.Text: [...]

Task: Classify this artificial intelligence output according to the risk level through the eyes of a pharmacist. For each item: green / yellow / red and give a single sentence justification. Write "qualified pharmacist/physician approval required" in the red items. Output: [...]

Task: Anonymize the patient/prescription text below. Replace real name, ID, address, phone and identifier with [TAGET]; retain clinical meaning.Text: [...]

Weak prompt / Strong prompt

Weak: "Which medicine should I give to this patient?"

Güçlü: "For a 65-year-old patient with an estimated creatinine clearance of 40 mL/min, using warfarin and metformin, list the possible interactions of a new antibiotic prescribed by the physician and the need for dose adjustment as a pre-screening. State that each item must be confirmed from the SmPC. Do not make a decision; just remove the points to be checked."

In the powerful prompt, the patient context, number, constraint and limit are clearly given; It is clear where artificial intelligence will stand and the decision is left to the pharmacist.

Common mistakes

  • Mistaking artificial intelligence output for expert opinion. AI produces outlines, not clinical decisions.
  • Delegating security-critical decision making to artificial intelligence. Dose, interaction and prescription approval are never left to artificial intelligence.
  • Using information without confirming the SmPC/source. Every dosage, interaction and condition must be confirmed from the official source.
  • Loading patient data directly. Anonymization and safe tool selection should not be neglected.
  • Not noticing the hallucination. While AI may seem confident, it can be wrong; A sure statement is not a proof of truth.

In summary

AI is a real accelerator in pharmacy, but it is not a replacement for a pharmacist. Divide tasks into green, yellow and red zones; Be quick on green, confirm on yellow, never give the AI ​​the final say on red. Consider every output a draft and pass it through five-layer verification. Take patient confidentiality and KVKK seriously. Responsibility always remains with the competent pharmacist and physician; AI does not share this responsibility.

Application task

Choose three tasks from your own daily practice (e.g. patient information text, regulatory summary, checking a patient's dose). Classify each as green/yellow/red. Write down what verification layers you will apply for the yellow and red tasks and whose approval is required for the red task. Also, find and note in the privacy policy of an artificial intelligence tool you use whether it uses patient data in education.

checklist

  • [ ] I placed the task in the risk zone.
  • [ ] I anonymized the context (name, ID, diagnosis clear).
  • [ ] I gave a clear, patient-contextual brief.
  • [ ] I treated the output as a draft.
  • [ ] I have confirmed the dose/interaction/conditions from the current SmPC/reference.
  • [ ] I left the safety-critical decision to the competent pharmacist/physician.
  • [ ] I saved the verification trace.