Documentation · Working document

Performance qualification protocol (PQ)

The shadow and parallel runs of the go-live plan (7.2 and 8.1): what is compared, for how long, and what passes. A draft.

About this file

Kind of file
Markdown text
Status
Working document
Size
9 KB
File
pq-protocol.md
Fingerprint (SHA-256)
56bed69fb95617b8248b4910f9ee3d3ddb0e3feade2ef0c5edb96e2c57257b6d

This page is drawn from the file itself each time it opens, so it always shows what the download holds.

VERA by Prepaire: performance qualification protocol (shadow and parallel runs)

DocumentVERA-VAL-PQ-001, version 0.3 (draft)
Date16 November 2026
OwnerThe quality manager, named on the signed approval (section 7)
ApproverThe laboratory director, named on the signed approval (section 7)
StatusDraft protocol for review. Not approved. Nothing has been run under it.
BasisGo-live plan sections 7.2 (order and timing), 7.3 (acceptance limits), 8.1 (stages B and C) and 8.2 (the pilot)

1. Purpose

The PQ shows that VERA does on real samples, at IRENA, over weeks, what the IQ and OQ showed on synthetic ones: it captures every result unchanged, translates it with the right code, unit, flag and standard range for the person, and agrees with KERNEL and the analyser on every result, while KERNEL still reports. VERA reports nothing during the PQ.

The PQ is run once per scope (master plan, section 2.1), after that scope's IQ and OQ records are signed and its campaign is open with the scope the IQ recorded (docs/validation/iq-oq.md, section 6).

2. Who

RolePart
Laboratory scientists and operatorsRun the QC material and the samples on the analysers, as today through KERNEL
ITKeeps the copy of the analyser traffic and the route to KERNEL running; runs the packet capture
Quality managerReviews each daily report, keeps the discordance log, posts the trials, prepares the PQ record
Laboratory directorSigns the daily side-by-side reports, decides each discordance's disposition, approves the campaign's scope in VERA once the exit holds (never having posted one of its trials), and signs the PQ record
DeveloperFixes a cause found in VERA, through the change rule; never signs

3. Stage B: shadow (7 consecutive gap-free days)

From about 4 January 2027, after the outside penetration test (go-live plan 7.2). VERA copies every result (pulled from KERNEL first, the analyser's own messages through the listener later), stores, translates and compares it, and never reports.

Each day:

  1. The daily reconciliation report of KERNEL's stream against VERA's copy (pnpm shadow:reconcile, docs/golive/ shadow.md) and, per analyser, the side-by-side report and its review sheet (docs/golive/analysers.md, section 4).
  2. The quality manager reviews both; the laboratory director signs the side-by-side review sheet in VERA.
  3. Any missing, extra or altered message is a discordance (section 5).

Exit, all of:

  • 7 consecutive recorded days with 0 missing and 0 extra messages against the analyser's and KERNEL's counts, an unbroken chain and signed limits (the shadow gate, config/lab/shadow-reconciliation.v1.json);
  • the golden fixtures replay to identical SHA-256 on the node;
  • IT's packet capture over the same days shows no VERA packet to any analyser;
  • no open discordance.

Rollback: stop VERA's capture; patients are not affected (KERNEL reports).

4. Stage C: parallel run (20 working days) and the first 50 patients

From about 4 January for QC material and volunteers, and from about 18 January 2027 for the first patients KERNEL reports (go-live plan 7.2 and 8.1). KERNEL reports; VERA runs each sample in parallel with the graph write off.

4.1 What is run

  • QC material at 2 levels in 2 runs on each of 20 working days, per analyser;
  • the consenting staff volunteers' specimens (validation only: coded, sent to no app, clinic or Malaffi);
  • the first 50 GenetiQ Check patients KERNEL reports, adults only, ordered by the contracted physician or clinic;
  • 3 end-to-end dry-run cycles with injected failures (a QC failure, an unknown code, an identity mismatch, a critical value), then 20 to 40 volunteers on the full panel, and the Malaffi test message.

Operators and reagent lots are varied on purpose: cross-operator trials weigh 1.25 and cross-lot trials 1.5 under the evidence policy (go-live plan 7.1).

4.2 What one trial is

One trial is one specimen's full result set for one scope, compared field by field across the analyser record, KERNEL's report and VERA's normalised record, and, for patients, the clinician's reading (go-live plan 8.2). The fields: the person's identity, each result's code, value, unit, flag and standard range, and the specimen. A trial passes only when every field agrees, or differs exactly as a signed table says (a unit conversion). An identity mismatch is a severe failure (it counts three times). The proposed definition is the laboratory director's to confirm (go-live plan 7.1, VAL A4).

Each trial is posted to the scope's campaign:

POST /api/v1/validation/campaigns/{campaignId}/trials
  { evidenceKind: singleRun | crossOperator | crossLot, passed, severe, fixtureId: <the specimen's coded id>, operatorRef, lotRef,
    resultSha256: <digest of the compared result set>, notes }

The fixture id is the specimen's coded study id or a sample's synthetic id, never a name or an Emirates ID. A specimen is one trial per kind, operator, lot and site: VERA refuses a second posting of the same (409 TRIAL_ALREADY_RECORDED), and the decision scores each once, as failed when any posting of it failed.

4.3 Exit (proposed; the laboratory director decides)

All of:

  • 50 of 50 patient orders reconciled;
  • 0 identity mismatches and 0 altered source values;
  • every unknown code quarantined;
  • value, unit and flag 100% identical to the instrument record, or converted exactly as the signed table says;
  • 100% of persons given the standard range for their sex and age, the report showing the same range;
  • 20 working days of parallel run with the campaign at conditional or better (at least 71 effective clean trials with the lower credible bound at 0.95 or above) and no unresolved discordance;
  • no open SEV-1 or SEV-2 incident;
  • the dry runs and the Malaffi test message passed;
  • a quality officer or the laboratory director records VERA's evidence decision (POST /api/v1/validation/campaigns/{campaignId}/decision), which closes the campaign at conditional or better;
  • the laboratory director, listed in the attested signatory register and having posted none of the campaign's trials, approves the scope in VERA (POST /api/v1/validation/campaigns/{campaignId}/approval) and signs the PQ record.

Only then does an operational copy release clinical results of the scope. The laboratory director may withdraw the approval at any time (the same route, decision: WITHDRAWN), and a later campaign of the same scope that VERA rejects ends it too: either takes effect at once, also for a release already being prepared.

4.4 Stop rules

The pilot stops on any identity mismatch, any altered source value, any result released without passing QC, or any critical value not phoned and logged. Each case gets a root cause (VERA, KERNEL, the mapping or the analyser) before the pilot restarts (go-live plan 8.2).

Rollback: stop VERA's capture; KERNEL's reporting is unaffected.

5. Discordances

Every discordance is logged by the quality manager the day it is found: the specimen's coded id, the field, the three values, the cause once known, the correction, and what was re-run. It counts against the campaign as a failed trial (severe for identity), and the run continues only once its cause is traced. A cause in VERA is fixed through the change rule (master plan, section 7), which may need a new release, a new IQ and OQ and a new campaign; trials already posted stay in their campaign.

6. The PQ record

The quality manager assembles, per scope:

  1. the daily shadow reconciliation reports and the side-by-side reports with their signed review sheets;
  2. IT's packet capture summary;
  3. the campaign printout: every trial, the evidence decision with the policy contract and its digest, and the laboratory director's approval;
  4. the discordance log with each cause and disposition;
  5. the dry-run records and the Malaffi acceptance;
  6. the IQ and OQ records the PQ followed, by digest.

The record names the scope (analyser, assay protocol version, image digests, release and the clinical tables' digest) exactly as the campaign does. It is signed by the quality manager (review) and the laboratory director (approval), listed in config/validation/records.v1.json against REC-177-1, and goes into the scope's evidence pack (go-live plan 7.4, item 9).

7. Approval

  • Prepared by (developer): Prepaire engineering, 16 November 2026
  • Reviewed by (quality manager): name ______________________ date __________ signature ______________________
  • Approved by (laboratory director): name ______________________ date __________ signature ______________________

Change history

VersionDateChangeBy
0.115 Nov 2026First draft (F02 of the readiness fix list)Prepaire engineering
0.216 Nov 2026The laboratory director approves the scope in VERA after the evidence decision, and may withdraw it; one trial per specimen, kind, operator, lot and sitePrepaire engineering
0.316 Nov 2026The owner and the approver are named where they sign, not in advancePrepaire engineering

Demonstration copy