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
Data quality audit record, from System Assurance Review
Written on
The Data quality audit record working paper, which you can download blank
Method phase
Prove
Written for
Head of Global Patient Safety and the computerised system validation lead

Illustrative

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

The dataset

Dataset Intake Assist reference set, version 3
Identified by Hash recorded in the test plan, checked before every run
Size 1,200 adverse event reports, 412 of them serious
Source Reports received in the 18 months before the project, sampled from the safety database
Coded by Safety physicians, one per case for 640 cases and two per case for 560
Used for Acceptance testing of seriousness, validity, product, coded terms and narrative

1. Completeness

Check Result Label
Every case has a physician's seriousness decision 1,200 of 1,200 Verified
Every case has a validity decision 1,200 of 1,200 Verified
Every serious case has its seriousness criterion recorded 401 of 412. Eleven say "serious" with no criterion Verified
Attachments present where the source had them 186 of 193 Verified

2. Consistency between coders

Measure Result Label
Cases with two coders 560 Verified
Agreement on seriousness, two coders 547 of 560, 97.7% Verified
Re-coding of 100 single-coder cases by two physicians Disagreed with the original in 14 Verified
Of the 14, seriousness changed 5, all from non-serious to serious Verified

The 14 were corrected before the re-run. The other 540 single-coder cases were not re-coded.

3. Representation

Dimension In the set In a year's real reports Adequate?
English 72% 54% Over-represented
German and Spanish 17% 15% Yes
Portuguese and Japanese 3% 9% Too few to conclude
The other 26 languages None 22% Absent
Literature reports 6% 11% Under-represented
Reports with attachments over 20 pages 2% 5% Under-represented

4. Leakage

Check Result
Any reference case used in writing the prompt's examples 3 cases found and removed before the re-run
Duplicate reports of the same event across the set 9 pairs, one of each removed and replaced

5. Privacy

The set holds identifiable health data. It stays in Rheinhalt's validated environment. Reviewers worked inside it and took no copy.

Conclusion

Fit for the decision? Yes for English, German and Spanish. No for any other language
Conditions Double coding for every case added. A set per language before that language goes live
Signed by Data owner, Head of Safety Data Management

Limits of this audit

  • It audits the test data, not the training of the supplier's model, which Rheinhalt cannot see.
  • 540 single-coder cases were not re-coded. On the sample's rate, about 75 of them may carry a coding a second physician would change.
  • Representation is compared with one year of reports. Next year's mix may differ.

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

  • 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

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

    Release Gate Implementation

  • 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

The same paper in other case files

Written on the same working paper or as the same deliverable for another invented organisation. Read side by side, they show what stays fixed in the format and what changes with the situation.

Back to the case file · All case files