Guide: what the draft Annex 22 requires of AI in GMPRead the guide

Pharmacovigilance case intake

AI extracts the data from a report that arrives by email, form or literature, checks whether it meets the four minimum criteria, proposes the MedDRA coding and looks for duplicates. The case assessor decides.

How it would work

A report by email, from the inbox to the confirmed case.

  • AI prepares
  • A person decides
  • Recorded in the trail
Illustrative example, not a real case

The process, documents and data in this walkthrough are fictitious. They show how the AI would work; your actual process may be different, and the system is designed around yours.

An email from a pharmacy

It reaches the pharmacovigilance mailbox. The system records the date of receipt on arrival: it is day zero if the case turns out to be valid.

What comes in

Email received

From
Sample pharmacy, Spain
Received
Monday morning

I am writing to report that a 67-year-old woman developed a skin rash three days after starting treatment with the sample product. She has stopped it and is improving. Signed: community pharmacist.

Safety database

Call to the medical information service: woman, sample product, rash.

Today and with AI

What changes in the intake of every case.

TodayWith AI

TodaySomeone transcribes every data point of the report into the safety database

With AIAI extracts each data point and shows the passage of the original it comes from

TodayWhether the case meets the four minimum criteria is checked by hand

With AIAI checks the four criteria and flags the one that is missing

TodayMedDRA coding is looked up term by term

With AIRanked candidate terms arrive, without leaving the dictionary

TodayDuplicates appear when the same case arrives through several channels

With AIAI flags possible duplicates for the assessor to decide

TodayThe clock starts on day zero

With AIThe same: it runs from receipt, not from when AI finishes

Which AI it uses and why

Three tasks, each with its own control.

Extraction
A language model puts the data into a fixed structure with the E2B(R3) fields. Every value carries the passage of the original it comes from.
Coding
A search by meaning over your company's MedDRA version returns ranked candidate terms, without leaving the dictionary.
Duplicates
It compares patient, product, reaction and dates with the cases in the safety database and flags the similar ones.
What it doesn't do
It doesn't assess seriousness, causality or expectedness, and it submits nothing to the authority.

Regulatory fit

Where it sits in the draft Annex 22 and which regulations apply.

  1. CriticalIt decides something GMP: only with a static, deterministic model
  2. Non-criticalAI prepares and a person decides
  3. Outside GMPAnnex 22 doesn't apply directly

Annex 22 is an annex to the GMP guidelines and pharmacovigilance is governed by GVP, so it doesn't apply directly. The system handles patient safety data, so we validate it the same way: with the seven pieces of evidence and a person who decides on every case.

GVP Module VI (Rev 2), VI.B.2
Four minimum criteria for a valid case: an identifiable reporter, an identifiable patient, at least one suspected medicinal product and at least one suspected adverse reaction.
GVP Module VI, VI.B.7
Day zero: the first day any of the marketing authorization holder's personnel learns of a valid case, even on a public holiday. Serious cases are submitted within 15 calendar days at the latest.
ICH E2B(R3)
The electronic format for individual case safety reports (ICSRs).
MedDRA
The terminology used to code adverse reactions.

See the Annex 22 guide

The seven pieces of evidence for this case

What we would deliver for this model.

01Intended use

Extract the data from spontaneous and literature reports, check the minimum criteria, propose MedDRA terms and flag possible duplicates.

02Level of autonomy

Suggests. No data enters the safety database without the assessor's confirmation.

03Test data

Real reports already processed, from every intake channel, with the approved coding as the reference.

04Sources for every proposal

Each field shows the passage of the original it comes from.

05Version under change control

The model, the instructions and the MedDRA version.

06Recorded oversight

What the model proposed and what the assessor changed.

07Monitoring in production

Corrections by field and by intake channel: if a channel gets worse, it shows.

See what the seven pieces of evidence are

Frequently asked questions

About this use case.

  • It can propose the terms: it searches your company's MedDRA version and returns ranked candidates, without leaving the dictionary. The assessor chooses the term, and the audit trail keeps both the proposal and the choice.

  • No. Under GVP Module VI, the clock starts on day zero: the first day any of the marketing authorization holder's personnel learns of a valid case. The system takes the date of receipt, not the moment AI finishes.

  • Annex 22 is an annex to the GMP guidelines, so it doesn't apply directly. Even so, we validate the system with the same seven pieces of evidence, from intended use to monitoring in production, and with a person who decides on every case.

Other use cases

The same way of working in other processes.

Automated visual inspection of injectables

A vision model checks every filled container, separates the defective ones and sends the ones it isn't sure about to a person.

GMPManufacturingComputer visionCritical

Deviation investigation and CAPA

AI finds the deviations in the history that describe the same problem and drafts an investigation with every source cited.

GMPQuality assuranceGenerative AINon-critical

Laboratory equipment qualification

AI drafts the OQ protocol from the URS and the manufacturer's manual, with one test per requirement and the source of every criterion.

GMPQuality controlExtraction and draftingNon-critical

Process validation and ongoing verification

AI gathers batch data against the protocol's criteria, flags what drifts from the trend and drafts the report with its sources.

GMPQuality assuranceExtraction and trendsNon-critical

Tablet and blister inspection

A vision model checks every blister on the packaging line and separates incomplete ones or those with damaged tablets.

GMPManufacturingComputer visionCritical

Laboratory audit trail review

AI ranks the events of the chromatography data system's audit trail by priority, hiding none; the reviewer decides.

GMPQuality controlRules and anomaliesNon-critical

Inspection readiness

For a question from the inspector or a self inspection, AI finds the records that answer it and proposes a reply with its sources.

GMPQuality assuranceSearch with sourcesNon-critical

Material receipt

At each receipt, AI compares the delivery note, the purchase order, the supplier's labels and its certificate of analysis, and flags what doesn't match.

GMPSupply chainExtraction and comparisonNon-critical

What we need from you

To plan the system with real data.

  • Access to the mailboxes and forms reports arrive through
  • Your safety database or its import format
  • The MedDRA version your company uses
  • Cases already processed for testing, pseudonymized if needed

Does it look like your process?

Tell us how you do it today and we'll tell you whether AI adds enough to justify validating it.