On this page 8 sections
Case file
Rheinhalt Pharma: A language model is due to read safety reports in five weeks, and the QPPV will not sign
A sample of
Gate criteria by tier, from Release Gate Implementation
Written on
The house format. The toolkit has no blank paper for this one
Method phase
Design
Written for
Head of Pharmacovigilance Quality Assurance, the computerised system validation lead and product owners

Illustrative

Illustrative. Rheinhalt Pharma is an invented organisation. No finding, figure or person here describes a real one.

What this paper settles

Rheinhalt validates every computerised system in a regulated process. That discipline was not in question. The question was how a language model fits it, when the supplier can change the model and the model can answer the same question two ways.

Patient safety and quality assurance agreed the answer below in weeks 4 to 9. Both have signed this version. It applies to High-tier AI systems in regulated processes. Medium and Low tiers use a shorter form, set out at the end.

Three principles

  1. The validated thing is a configuration. A model version, a prompt version, the sampling settings, the product dictionary and the application version, together. Change any one and it is a different configuration.
  2. Evidence belongs to a configuration. A test result is filed against the configuration it was run on. A result with no configuration recorded is not evidence.
  3. A supplier's change is our change. If the supplier alters the model, Rheinhalt raises the change, runs the tests and approves the result, before the new version serves a real case.

How the gates sit on the validation lifecycle

Validation step, as Rheinhalt already runs it Gate What is added for a model Evidence filed Signs
User requirements and intended use Before Gate 1 The purpose statement names each phase of autonomy separately. Thresholds are written and dated here Requirements, purpose statement, dated criteria table System owner, quality assurance
Risk assessment Before Gate 1 Each risk maps to a test or is listed as untested Risk assessment with test references System owner
Supplier assessment Gate 1 Notice of model changes, access to version identifiers, and the right to pin a version Supplier assessment, contract clauses Procurement, quality assurance
Test data qualification Gate 1 Reference set double-coded by physicians and fixed by hash. One set per language in scope Data quality audit record Data owner
Functional testing Gate 2 Scorecard on the reference set, by language. Challenge set owned outside the product team Evaluation scorecard, defect log Validation lead
User acceptance Gate 3 Review exercise with seeded errors. Return to manual intake rehearsed Exercise record, rehearsal record System owner
Release approval Gate 3 Monitoring thresholds, alert routes and owners in place. Configuration pinned Gate record, configuration record AI governance forum
Periodic review Gate 4, then quarterly Production results against the scorecard. Seeded exercise repeated Quarterly quality report System owner, quality assurance

Nothing in the left-hand column is new. The fourth column is where the additions are filed, in the same evidence repository as every other validation record.

What counts as a change

Change Who raises it Tests re-run before it takes effect Approves
Model version, by Rheinhalt or by the supplier Product owner Reference set, challenge set, five-run stability Quality assurance. The forum if any mandatory threshold moves by more than half a point
Prompt wording Product owner Reference set, challenge set Quality assurance
Sampling settings Product owner Five-run stability, reference set Quality assurance
Product dictionary update Safety Systems Lead The cases in the reference set that name an affected product System owner
A language added System owner A new reference set for that language, then everything above AI governance forum, through Gate 3
A phase of autonomy added, such as unattended processing System owner A new risk assessment and all four gates AI governance forum
Review screen or second-check rules Head of Outsourced Operations Review exercise with seeded errors System owner

An emergency change by the supplier, such as a security fix it will not delay, is handled as a deviation: the system returns to manual intake for the languages affected until the tests have run.

The test packs

Pack Size Owned by Run when
Reference set 1,200 cases, five languages, fixed by hash Safety physicians Every change above, and each quarter
Challenge set 300 cases in seven groups Quality assurance, with two safety physicians Every model or prompt change. Twenty new cases added each quarter
Stability run 200 cases, five runs Product team Every model, prompt or settings change
Review exercise 300 cases, 30 seeded Head of Outsourced Operations, observed by quality assurance Before launch, each quarter, and after any change to the review screen

The product team may run any pack at any time. A run counts as evidence only when the configuration is recorded and someone outside the team has observed it or re-performed a sample.

Thresholds for Intake Assist, phase one

Attribute Threshold Mandatory?
Recall on serious cases, each language in scope At least 98.0% Yes
Valid cases marked invalid At most 0.5% Yes
Narratives naming a product not in the source None Yes
Seeded wrong labels corrected in review At least 27 of 30 Yes
Hidden instructions that change seriousness None of 40 Yes
Label changes across five runs At most 1.0% No
Coded terms, first suggestion agrees At least 80.0% No

These are the tolerances of the QPPV and the system owner, fixed on the date beside their signatures. They are not standards, and another company would set its own.

Medium and Low tier

Tier Gates Approver
High All four, as above AI governance forum
Medium Gates 2 and 3 on a shortened checklist, and a review at 30 days Risk lead and system owner
Low Intake form and a pinned configuration System owner

What this paper does not settle

  • Whether a regulator will accept this approach. It follows Rheinhalt's existing validation procedure and adds to it. Nobody has inspected it.
  • How to validate a model that learns in production. Intake Assist does not, and the criteria assume a fixed version.
  • The other AI systems in regulated processes. The criteria were written on one system. The literature screening classifier is next, and we expect it to change them.

Controls this paper works on

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.

Other papers in this file

  • 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.

    System Assurance ReviewWritten on: Evidence request list

  • 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.

    System Assurance ReviewWritten on: AI test plan

  • 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.

    System Assurance ReviewWritten on: Model evaluation scorecard

  • 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.

    System Assurance ReviewWritten on: Data quality audit record

  • 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.

    System Assurance ReviewWritten on: Defect and anomaly log

  • 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.

    System Assurance ReviewWritten on: Finding record

  • 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.

    System Assurance ReviewWritten on: Gap register

  • 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.

    System Assurance ReviewWritten on: Quality gate checklist

  • 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.

    Release Gate Implementation

  • 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.

    Release Gate Implementation

  • 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.

    EU AI Act Readiness

Back to the case file · All case files