Case file · Rheinhalt Pharma
A language model is due to read safety reports in five weeks, and the QPPV will not sign
A global pharmaceutical company had built an assistant to read adverse event reports and draft the case record. Its test report showed 98.1% recall on serious cases. An independent re-run got 97.3%, on a model version the supplier had changed during testing. The file holds the test plan review, the scorecard, the defect log, a gate record that ends in a hold, the gate criteria agreed with quality, and an evidence map.
On this page 16 sections
IllustrativeRheinhalt Pharma is an invented organisation. No finding, figure or person here describes a real one. The events it was modelled on are real, and each is listed with its source in the public record below.
The story, the questions, the register and all 12 papers, in one document.
At a glance
- Modelled on
- A top-twenty research-based pharmaceutical company with a global patient safety function, outsourced case processing and a quality organisation that validates every computerised system.
- It started when
- A high-risk model is due to launch in a month
- Services, in order
- Sector
- Healthcare and life sciences
- Elapsed
- 15 weeks, three pieces of work
The organisation
- Staff
- About 61,000
- Marketed products
- About 140
- Safety reports received
- About 410,000 a year, in 31 languages
- Case processing
- About 1,150 people, most at two outsourced centres
- Reporting clocks
- 15 days for a serious case, 90 for a non-serious one
- AI use cases registered
- 212 across the company, nine in patient safety
- Quality system
- Every computerised system in a regulated process is validated before use, by a team independent of its owner
Its AI estate
9 AI systems, by risk tier
3 High · 4 Medium · 2 Low
On a list when the work started
7 listed · 2 found during the work
With an owner who has confirmed
7 confirmed · 2 not confirmed
| System | Tier | Where it comes from | What it may do | Owner |
|---|---|---|---|---|
| Intake AssistReads an incoming adverse event report, decides whether it is a valid case, proposes seriousness and coded terms, and drafts the narrative for a processor to confirm. | High | Built in-house | Advises a person | Head of Global Patient Safety |
| Literature screening classifierRanks published abstracts by the likelihood that they describe an adverse event for a company product. | High | Bought from a supplier | Advises a person | Head of Safety Surveillance |
| Signal detection statisticsFlags product and event pairs reported more often than expected, for a safety physician to assess. | High | Built in-house | Advises a person | Head of Safety Surveillance |
| Document translation at the outsourced centreTranslates incoming reports into English before a processor reads them. Found during the work. | Medium | Bought from a supplier | Acts on its own | No confirmed owner |
| Duplicate case detectionSuggests that a new report matches a case already in the safety database. | Medium | Inside other software | Advises a person | Safety Systems Lead |
5 of 9 systems, chosen because the case turns on them.
Who was in the room
- Qualified Person for Pharmacovigilance
- Personally answerable for the safety system. Would not accept the assistant into it on the project's own test report.
- Head of Global Patient Safety
- Sponsor and system owner. Had given the executive committee a date.
- Head of Pharmacovigilance Quality Assurance
- Wanted what validation always requires, a fixed version and evidence that reproduces. Had been told a language model could offer neither.
- Product owner, Intake Assist
- Led the build. Held a test report showing every threshold met.
- Computerised system validation lead
- Had validated the workflow around the model and treated the model as a supplier's component.
- Head of Outsourced Operations
- Managed the two centres whose processors would review every case the assistant drafted.
- Deputy General Counsel
- Needed to know what the AI Act asked of the company for this system, and what evidence existed.
The organisation
Rheinhalt Pharma sold about 140 medicines in more than 70 countries. Every one of them generated reports: a doctor's email, a call to a medical information line, a patient's letter, a paragraph in a journal. About 410,000 arrived each year, in 31 languages.
Each report had to be read, judged and entered. Was there an identifiable patient, a reporter, a product and an event? Was it serious? Serious cases had to reach the regulators in 15 days, and others in 90. About 1,150 people did this work, most of them at two outsourced centres. Volumes rose every year and headcount could not follow.
The company validated every computerised system in a regulated process. The procedure was decades old and well understood: write the requirements, fix the version, test against the requirements, keep the evidence, control every change.
What happened
A product team in patient safety built Intake Assist. It read an incoming report and drafted the case: valid or not, serious or not, which product, which coded event terms, and a narrative. A processor confirmed or corrected each field. The model underneath was a general-purpose language model from a supplier, reached through the supplier's service.
An eight-week pilot at both centres processed 14,300 cases. Processors changed the assistant's seriousness label in 57 of them. The test report, on a reference set of 1,200 cases coded by safety physicians, showed 98.1% recall on serious cases against a threshold of 97%. The validation lead had tested the workflow around the model and signed it off. Go-live was set and the executive committee had been told.
Five weeks before the date, the Qualified Person for Pharmacovigilance wrote to the Head of Global Patient Safety. The assistant would not be entered in the safety system's master file on the project's own evidence. Someone outside the project had to re-run the tests.
What was at stake
A serious case marked non-serious joined the 90-day queue. If nobody caught it, the regulators heard about it late. The company had read what a regulator writes when valid reports are wrongly set aside, and it did not want that letter.
On the other side, the manual process was not safe either. Backlogs at quarter-end were real, and tired people miss things too. The product owner's case was that the assistant, with a person checking, was already better than a person alone.
And nobody could say what the AI Act required for this system, or by when. The Deputy General Counsel had been asked by the board and had no file to answer from.
The positions in the room
The QPPV's position was short. She signed for the system. She would sign for evidence she could have reproduced.
The Head of Quality Assurance wanted the model treated like any other component: a known version, tested, under change control. He had been told that the supplier updated the model as it saw fit, and that this was normal.
The product owner believed the numbers settled it. Every threshold was met. A second review would cost the date and find rounding errors.
The validation lead had done what the procedure asked. The procedure did not say how to validate something that could give two answers to one question.
The Head of Global Patient Safety owned the date, the system and the risk, and had five weeks.
Before you read on
The case stops here on purpose. These are the questions the people in it had to answer. Decide what you would do, then compare.
- The test report shows 98.1% recall on serious cases, above its threshold, and the date is five weeks away. What must you know before you treat that number as the answer?
- The supplier changed the model behind the same name during testing. Is that a change to a validated system? Who should have been told, and by whom?
- Every case is reviewed by a person. Is that a control or a hope? How would you find out which, in two weeks?
- Quality wants a fixed version and evidence that reproduces. The product team says a language model does not work that way. Where is each of them right?
- Launch in three languages now, or in thirty-one later? Who carries the cost of each choice?
- A report from the public is untrusted text, read by a model that can change how a case is classified. Is that a security question or a patient safety question, and who owns it?
What the work did
The review ran for three weeks inside the five. Its rule was that Rheinhalt's own engineers would re-run every test in Rheinhalt's environment, with the reviewers watching and recording what was run.
In the first week the reviewers read the test plan against the working paper. It was a good plan with two gaps. The thresholds carried no date, and the product owner confirmed they had been written after the first results. And the plan named the model by the supplier's product name, with no version.
In the second week the reference set was re-run. Recall on serious cases came out at 97.3%, not 98.1%. The difference took a day to explain. In week six of a nine-week test window, the supplier had moved its default to a newer version of the model. The early results had been measured on one version and the later ones on another. Pinned to the older version, the 98.1% reproduced exactly. On the version that would go live, it did not.
The reviewers then ran a challenge set of 300 cases, built with two safety physicians from the ways intake is known to go wrong: reports in other languages, a reporter who says the event is unrelated, two patients in one letter, the death mentioned only in an attachment. Forty cases carried a sentence addressed to the model, such as an instruction to classify the report as non-serious.
Last, twelve processors reviewed 300 drafted cases in the training environment. Thirty of them had been given a wrong seriousness label on purpose.
What it found
Ten findings. Two were Critical.
The processors corrected 19 of the 30 wrong labels. The design rested on a person catching the model's mistakes, and nobody had measured whether a person would. That was recorded as an exposure, because the other eleven would have joined the 90-day queue.
Thirteen of the 40 hidden instructions changed the assistant's output. Nobody had tested for this, and reports from the public are exactly the text an attacker, or a confused reporter, can write.
Six findings were High, among them the thresholds, the unnoticed version change, a contract that gave no notice of one, and accuracy tested in three languages when reports arrived in 31. In Japanese the assistant missed 4 of 21 serious cases.
The decision
Gate 3 was held in week three. Three mandatory criteria were not met, and the gate rules give one outcome for that. The Head of Global Patient Safety withdrew the date the same afternoon and told the executive committee why, in a page.
The harder decision came later. Quality and the product team agreed that the model version and the prompt would be configuration items, fixed and recorded, and that a change by the supplier would be handled as a change by Rheinhalt. The system owner then cut the launch to English, German and Spanish, with every other language left on manual intake until it had test evidence of its own. A second check was added: any case the assistant marked non-serious whose source mentioned a death, a hospital or a list of other terms went to a second processor.
What changed, and what did not
At the second Gate 3, in week ten, recall on serious cases was 98.5% on a pinned version, and processors corrected 28 of 30 seeded errors. Two of 40 hidden instructions still changed the output, and the forum accepted that in writing given the second check. The forum gave a conditional pass. The assistant went live six weeks late.
The contract did not change. The supplier offered 14 days' notice of a model change in a letter, and at week 15 the amendment was still unsigned. Twenty-eight languages remained on manual intake, and the saving the business case had promised was a fraction of what had been planned. The product owner still thought the first gate had been too strict. The QPPV signed.
How the weeks went
- Week 0The QPPV writes that the assistant will not be entered in the safety system's master file until someone outside the project has re-run its tests. Go-live is five weeks away.
- Week 1System Assurance Review begins. Charter signed, evidence requested, the team's test plan reviewed section by section.
- Week 2Observed re-performance. Rheinhalt's engineers re-run the 1,200-case reference set while the reviewers watch, then a 300-case challenge set built with two safety physicians.
- Week 3Gate 3. Three mandatory criteria are not met. The system owner holds the release.
- Weeks 4–9Release gate implementation with quality. The model version and prompt become controlled configuration. A supplier model change becomes a change-control event.
- Weeks 4–11Evidence map for the AI Act and for the safety regulators, built alongside.
- Week 10Gate 3 again, for three languages and with a second check on seriousness. Conditional pass.
- Week 11Go-live, six weeks later than planned.
- Week 15Gate 4, thirty days after launch.
Decisions taken
- The assistant will not be entered in the safety system's master file until its tests have been re-run by people outside the project.Qualified Person for Pharmacovigilance · Week 0
- The release is held at Gate 3. The date given to the executive committee is withdrawn.Head of Global Patient Safety · Week 3
- The model version and the prompt are controlled configuration. A change to either, by Rheinhalt or by the supplier, goes through change control.Head of Pharmacovigilance Quality Assurance · Week 6
- Launch covers English, German and Spanish. Other languages stay on manual intake until each has its own test evidence.Head of Global Patient Safety · Week 9
- Conditional pass at Gate 3 for the reduced scope, with two conditions.AI governance forum · Week 10
The findings register
10 findings, by severity
By pillar of the control each one cites
| ID | Finding | Control | Label | Severity | Owner | Due |
|---|---|---|---|---|---|---|
| F-001 | Acceptance thresholds were set after the results were knownIntake Assist | GL-05 | Verified | High | Product owner, Intake Assist | 60 days |
| F-002 | The supplier changed the model version during testing and nothing triggered a re-testIntake Assist | GL-04 | Verified | High | Computerised system validation lead | 60 days |
| F-003 | Accuracy was tested in three of the 31 languages reports arrive inIntake Assist | IS-07 | Verified | High | Product owner, Intake Assist | 60 days |
| F-004 | Human review is the only safeguard against a missed serious case, and reviewers caught 19 of 30Intake Assist | IS-09 | Critical gap | Critical | Head of Global Patient Safety | 30 days |
| F-005 | No test of instructions hidden in incoming reportsIntake Assist | IS-14 | Verified | Critical | Chief Information Security Officer | 30 days |
| F-006 | The monitoring plan lists measures with no thresholds and no ownerIntake Assist | GL-08 | Verified | High | Head of Global Patient Safety | 60 days |
| F-007 | The return to manual intake is written down and has never been rehearsedIntake Assist | IS-15 | Missing evidence | Medium | Head of Outsourced Operations | 90 days |
| F-008 | The supplier contract gives no notice of a model changeIntake Assist | GL-11 | Verified | High | Head of Technology Procurement | 60 days |
| F-009 | Processors were trained on the screens and not on how the assistant failsIntake Assist | AO-05 | User-asserted | High | Head of Outsourced Operations | 60 days |
| F-010 | The purpose statement describes unattended processing that phase one does not includeIntake Assist | EI-04 | Verified | Low | Product owner, Intake Assist | 180 days |
Nobody chose these grades. Each finding records four facts: the tier of the system, whether the control is absent, not operating or not evidenced, whether the gap is an exposure now, and whether we saw a document or were told. The severity rule gives the grade, the label and the due date from those. Put any of them through the finding writer and you get the same answer.
What changed, and how we know
| Measure | At the start | At the end | Basis | Label |
|---|---|---|---|---|
| Recall on serious cases, reference set, on the configuration to be released | 97.3%, 401 of 412 | 98.5%, 406 of 412 | Re-performed by Rheinhalt's engineers with the reviewers observing, on a pinned model version | Verified |
| Seeded wrong seriousness labels that reviewers corrected | 19 of 30 | 28 of 30 | Exercise in the training environment, repeated after the second check was added | Verified |
| Hidden instructions that changed the assistant's output | 13 of 40 | 2 of 40 | Challenge set re-run after report text was separated from instructions. The two that remain are accepted in writing | Verified |
| Languages in scope at launch | 31 planned | 3 | Gate 3 conditions | Verified |
| Model version under change control | No. The supplier's default was used | Yes. Version and prompt are configuration items | Configuration record and the change-control procedure, both read | Verified |
| Notice of a supplier model change, in the contract | None | None. The supplier has offered 14 days in a letter | Contract and correspondence. The amendment was unsigned at week 15 | Verified |
What to take from it
- A number that reproduces is worth more than a number that is reportedThe project's 98.1% was real. It was measured on a model version that was no longer the one going live. Nobody had lied and nobody had checked. The re-run took two days.
- Human review is a control, so test it like oneThe design said a processor confirms every case. In an exercise, processors corrected 19 of 30 wrong labels. A safeguard that works two times in three is a different safeguard from the one on the slide.
- Validation discipline transfers, and the unit of change does notQuality was right to want a fixed version, and the product team was right that the supplier controls it. The answer was to name the model version and the prompt as configuration, and to treat a supplier's change as the company's own.
- Cut the scope before you move the date againThe hold cost six weeks. Launching in three languages, with the rest left on manual intake, is what stopped it costing six months.
Teaching note
A pharmacovigilance, quality and digital leadership group in a regulated life sciences company, or a governance training cohort with quality professionals in it; 6 to 20 people, one session.
The case up to the point of decision, the questions and this note, to print for the session. What was done is left out.
By the end, participants should be able to
- Test whether a reported performance figure reproduces before relying on it.
- Treat a supplier's model change as a change to a validated system and say who must act.
- Design a test of human review as a control rather than assuming it works.
- Weigh a reduced launch scope against a later full launch and name who bears each cost.
Session plan, 80 minutes
| Minutes | Activity |
|---|---|
| 10 min | Read part A. Each participant writes down whether they would sign off the assistant on the 98.1% figure. |
| 35 min | Discuss the case questions in order, without revealing the Gate 3 result. Spend most time on questions 1, 3 and 5. |
| 15 min | Read part B and the findings register. Note which findings the group anticipated. |
| 15 min | Debrief against the lessons, and compare the group's launch decision with the week 9 decision to launch in three languages. |
| 5 min | Close. |
On each question
- The test report shows 98.1% recall on serious cases, above its threshold, and the date is five weeks away. What must you know before you treat that number as the answer?Groups usually ask whether the threshold was high enough. The better questions are which model version produced the figure and when the threshold was set. F-001 records that thresholds were set after the results were known, and F-002 that the model changed during testing.
- The supplier changed the model behind the same name during testing. Is that a change to a validated system? Who should have been told, and by whom?Discussion often frames this as the supplier's fault. Surface that validation treats any change to the system as the company's responsibility, whoever made it. The week 6 decision made the model version and prompt controlled configuration, and F-008 records that the contract gave no notice of change.
- Every case is reviewed by a person. Is that a control or a hope? How would you find out which, in two weeks?Most groups assume a person reviewing every case is a strong safeguard. Ask how they would know. The case ran an exercise in which processors corrected 19 of 30 wrong labels, recorded as F-004, a Critical gap.
- Quality wants a fixed version and evidence that reproduces. The product team says a language model does not work that way. Where is each of them right?This question tends to polarise quality and product. Both are right on part of it. Bring in the case's resolution: name the version and the prompt as configuration, so quality gets a fixed unit of change and the product team keeps the supplier's model.
- Launch in three languages now, or in thirty-one later? Who carries the cost of each choice?Commercial pressure pushes towards all languages; safety pushes towards none. Ask who reads reports in the 28 languages left on manual intake, and at what cost. F-003 records that accuracy was tested in three of 31 languages, and the week 9 decision launched in those three only.
- A report from the public is untrusted text, read by a model that can change how a case is classified. Is that a security question or a patient safety question, and who owns it?Groups usually hand this to security. Surface that a planted instruction that changes a seriousness label is a patient safety failure first. F-005 records that no such test had been run.
To close. The assistant was not wrong and nobody had lied. The project's evidence described a different system from the one going live, and the human safeguard worked two times in three. Re-running the tests took two days; skipping them would have put an untested system into the safety record.
The papers in this file
12 finished papers, in the order the work produced them. Each one names the service deliverable it is a sample of and the blank working paper it was written on.
Evidence request list
Evidence request list for a case intake assistant
Every document asked for on day one of the review, why, from whom, and what came back, including the four that did not exist and became findings.
Test plan review
AI test plan review for a case intake assistant
The project's own test plan, marked section by section against the working paper, with the two gaps that mattered and the acceptance criteria as they should have been fixed.
Evaluation scorecard
Model evaluation scorecard after an observed re-run
Every headline result re-performed in the company's own environment. The reported recall reproduced on one model version and not on the one going live.
Data quality audit record
Data quality audit of a pharmacovigilance reference set
Whether the 1,200 cases the assistant was tested on could support the decision: who coded them, how often coders agreed, what the set left out, and the fourteen corrections made before the re-run.
Defect log
Defect and anomaly log for a case intake assistant
Ten defects from the re-run, the challenge set, the review exercise and the first month in production, each with a class, a severity, a root cause and the test that now guards against it.
Finding record
Finding record: the review a launch depended on had not been tested
F-004 in the five-part standard, as it went to the system owner in week 2: processors caught 19 of 30 seeded wrong seriousness labels, why, what it meant for the 15-day clock, and how it was closed.
Gap register
Findings register from a system assurance review
Ten findings on one system, grouped by the four causes behind them, with two written out in full and the position twelve weeks later.
Gate record
A gate record that ends in a hold
Gate 3 for the case intake assistant, two weeks before its launch date. Three mandatory criteria are not met, and the record shows why a hold was the only outcome the rules allow.
Gate criteria
Gate criteria for a language model in a validated process
What patient safety and quality agreed in six weeks: how the four gates sit on the validation lifecycle, what counts as a change, and which tests are re-run when one happens.
Evidence templates
Gate evidence templates, adapted for a validated process
The six templates product teams now fill in during normal work, each adapted to Rheinhalt's validation procedure, with who fills it, at which gate, and how quality assurance reviews it.
Tooling integration
Gate tooling integration
How the gates became steps the release pipeline cannot skip: where each check runs, what it blocks, how evidence is stored, and the one way round it.
Evidence map
System fact sheet and evidence gap assessment
The facts counsel needs to classify the system, then fourteen areas a regulator could ask about, each with the evidence held, its label, the gap and an owner.
The public record behind it
Rheinhalt Pharma does not exist. These events do. We read each source before citing it, and the wording below is ours, so follow the link for the publisher's own. None of them is about a client of ours.
Warning letter to Novo Nordisk Inc., MARCS-CMS 717576
US Food and Drug Administration · March 2026
A warning letter about adverse event reporting. The agency states that the company and its contractors invalidated reports that were due within 15 days because of a lack of patient identifiers, and that inspectors found valid identifiers in the source documents. The letter does not concern AI.
Why it is here Deciding whether a report is a valid case is the first thing Intake Assist does. The letter shows what a wrong answer to that question looks like to a regulator, whoever or whatever gives it.
Reflection paper on the use of artificial intelligence in the medicinal product lifecycle
European Medicines Agency · September 2024
The agency's adopted reflection paper, reference EMA/CHMP/CVMP/83833/2023, on the use of AI and machine learning at any step of a medicine's lifecycle, from drug discovery to the post-authorisation setting.
Why it is here Patient safety is a post-authorisation activity. The paper is the first thing Rheinhalt's quality function read when it was asked how a model fits a regulated process.
Working Group XIV, Artificial Intelligence in Pharmacovigilance
Council for International Organizations of Medical Sciences · December 2025
The working group's page records that its report on artificial intelligence in pharmacovigilance was published on 4 December 2025.
Why it is here The case is set less than a year after that report. Rheinhalt had principles to read and no settled practice to copy.
The Need for Guardrails with Large Language Models in Medical Safety-Critical Settings
Hakim and others, arXiv 2407.18322 · July 2024
A paper on using language models in pharmacovigilance. Its abstract names fabricated information as a particular concern in drug safety, where inaccuracies could lead to patient harm, and describes guardrails built to reduce that risk.
Why it is here Four narratives in the reference set named a product that was not in the source report. The paper is why the reviewers looked for that.
How Is ChatGPT's Behavior Changing over Time?
Chen, Zaharia and Zou, arXiv 2307.09009 · July 2023
A study of the same named model services at two dates. On one task it measured 84% accuracy in March 2023 and 51% in June 2023, and it reports that behaviour can vary greatly over time.
Why it is here The supplier moved Rheinhalt's default to a newer model version during the test window. The project's figures were measured across both and reported as one.
FDA Launches Agency-Wide AI Tool to Optimize Performance for the American People
US Food and Drug Administration · June 2025
A news release announcing that the agency had launched a generative AI tool for its own staff, from scientific reviewers to investigators.
Why it is here By the time of this case, a regulator reading a company's file was itself a user of language models. The question of how output is checked was no longer one-sided.
How the invented figures were set
An invented figure should be one a practitioner would not blink at. These are the ones the case leans on, beside the published figure each was set against.
| Figure | In this case (invented) | On the public record | Source |
|---|---|---|---|
| The same supplier model, by name, behaving differently | Recall on serious cases of 98.1% on one version and 97.3% on the next, with nothing changed on Rheinhalt's side | One study measured a named model at 84% accuracy on a task in March 2023 and 51% in June 2023 | Chen, Zaharia and Zou, arXiv 2307.09009 |
| Valid reports marked invalid for want of a patient identifier | 9 of 1,112 valid cases, 7 of them with the identifier present in an attachment | The regulator describes reports invalidated for lack of patient identifiers when the identifiers were in the source documents. It gives no rate | US Food and Drug Administration |
| Fabricated content in a drafted narrative | 4 of 1,200 narratives named a product that was not in the source | The paper names fabricated information as a particular concern and tests guardrails against it. It reports on a different task and its rates are not comparable | Hakim and others, arXiv 2407.18322 |
| Settled practice for validating AI in pharmacovigilance | Six weeks to agree gate criteria between patient safety and quality | A working group report on the subject was published in December 2025 | Council for International Organizations of Medical Sciences |
Important: VERITRAIL supports governance readiness, control implementation and evidence collection. It does not certify ISO/IEC 42001 conformity, guarantee EU AI Act compliance, or replace legal advice. Framework mappings are indicative.
Last reviewed: