Documentation · Working document

Validation master plan

VERA's own validation: scope, roles, stages, acceptance limits, the change rule and the interfaces in scope, on the basis of ISO 15189:2022 7.6.3 a). A draft the quality manager owns, for the laboratory director's approval before the first volunteer sample.

About this file

Kind of file
Markdown text
Status
Working document
Size
21 KB
File
master-plan.md
Fingerprint (SHA-256)
8f6f9b7c8fb8c4cfe9a230e5e10709d1baea471bd62364ec7e66fea53342ef7f

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

VERA by Prepaire: validation master plan

DocumentVERA-VAL-MP-001, version 0.3 (draft)
Date16 November 2026
OwnerThe quality manager of IRENA's clinical laboratory, named on the signed approval (section 10)
ApproverThe laboratory director, named on the signed approval (section 10)
StatusDraft for review. Not approved. Nothing in it is signed.
NeededApproved before the first volunteer sample (week of 23 November 2026, go-live plan 3.1 item A2)

1. Purpose and basis

This plan says how VERA by Prepaire is validated before it reports a patient result at IRENA's clinical laboratory, and after every change. It covers VERA's part of each scope: capturing the analyser's result, translating it, checking it, releasing it after review, reporting it and sending it on. The analysers' own analytical verification (precision, trueness, method comparison, reportable range, carryover, interference, measurement uncertainty and each standard range, checked in 20 reference individuals of each sex) is the laboratory's work on the analysers and is planned separately (go-live plan checklist B1, evidence pack item 4). VERA's validation complements it and never replaces it.

The basis:

  • ISO 15189:2022, clause 7.6.3 a). The laboratory information system is verified for its functions by the laboratory before it is introduced, and every change to it, its configuration included, is authorised, documented and validated before it is put into use. VERA is that system for every scope it releases.
  • The go-live plan's own rule (VERA in production, 9 November 2026, sections 1 and 7): no test is reported to a patient, by KERNEL or by VERA, before the laboratory director has signed its verification, and VERA reports nothing until its evidence pack for that scope is signed.
  • DoH's request to validate each analyser and test before patient testing (go-live plan 6.2, REG A3).
  • ISO 22367:2020 for the risk assessment of the result path (docs/validation/risk-assessment.md).
  • The requirements of the Prepaire VERA Platform Operating Bible v3.0, Appendix A.1, and the launch functions added since (section 5).

2. Scope

2.1 What one scope is

A scope is the unit that is validated, signed and released (go-live plan 7.4). It is exactly:

  1. one analyser: its register entry (asset id and serial) and its middleware and firmware versions;
  2. one assay protocol version on that analyser;
  3. one VERA platform image and one VERA worker image, each by digest (sha256:...), and the numbered release they were built from (vera-YYYY.MM.DD-n and its commit);
  4. one pipeline definition (its SHA-256);
  5. the clinical tables VERA applies, each by its content digest (src/lib/validation/clinical-tables.ts): the catalogue (code map, units, specimens and tubes), the standard ranges by sex and age, the QC rules and targets, the critical limits and their call clock, the delta checks, the releasable analyser flags, the order rules, the report's laboratory facts, signatories and coded references, the Malaffi section map and profile, KERNEL's code crosswalk, the unit conversions, the Sysmex host codes, the parameters of the ingestion gate, the biological variation and the genotype-specific starting ranges behind personal ranges, and the calculated indices. The other tables of F18's list (the PQ limits, the ingestion framework's descriptive tables, the Olink and report-import terms, the analyser register's side-by-side block) are governed and attested too, but are not part of a release's scope.

VERA enforces the scope itself. A validation campaign records it (POST /api/v1/validation/campaigns with scope, which must name the worker image and the pipeline definition as well as the platform image and the tables); a campaign whose scope lacks any of them, or that was opened on a copy that is not a numbered release, validates no scope. VERA scores the campaign's trials (its evidence decision); the laboratory director approves that decision in VERA (POST /api/v1/validation/campaigns/{campaignId}/approval), and may withdraw the approval. On an operational copy the release route refuses a clinical run unless the copy and the run are in a scope whose latest word is the director's current approval: a withdrawal, or a later campaign of the same scope that VERA rejected, ends it at once, also for a release already being prepared (409 VALIDATION_SCOPE_NOT_APPROVED or VALIDATION_SCOPE_MISMATCH, F02 step 4). A build not listed in the laboratory director's table of validated releases cannot release either (409 VERA_BUILD_NOT_VALIDATED, F53). A clinical table counts as signed for the release, and for report issue, only when its exact content has its attested approvals in VERA's database: the laboratory director's, and the quality manager's as well for the catalogue, the standard ranges, the QC rules, the critical values and the delta checks, by two different people; the table of validated releases needs the laboratory director's attestation too (POST /api/v1/governed-tables/attestations; 409 TABLES_NOT_ATTESTED otherwise, F18). The file's own review fields are display only.

2.2 The scopes, in order

The order follows go-live plan 7.2. The serials, software and firmware versions are read from the nameplates (checklist A7) and are not yet known.

OrderAnalyserTestsAsset id and serial
1Roche cobas pure (c 303 and e 402)Chemistry and immunoassay of GenetiQ Check[to confirm]
2Roche cobas i 601, only if founder decision 7 keeps the hormones thereHormones[to confirm]
3Sysmex XR-1000Blood count (20 markers)SRA-SXA-000001 in the register; serial [to confirm]
4Sysmex urine line (UC-3500, UF-5000, UD-10 through U-WAM)Urinalysis (20 markers)[to confirm]

The stool track (MGI DNBSEQ-T20) is validated on its own plan and is not part of this one (go-live plan 3.3, S1 to S8).

2.3 What VERA does in a scope, and what is validated

StepWhat VERA doesValidated by
Order and vialAccepts an order only with a licensed ordering clinician, consents and an adult; identifies the person at the draw; checks the vial's pre-analytical limitsOQ-21; VERA-REQ-169, 170
CaptureKeeps KERNEL's results as a separate copy; reads a copy of the analyser's own messages and never sends to it; after the laboratory director's recorded takeover, hosts that analyser's linkOQ-16, OQ-17, OQ-24; PQ shadow stage
TranslateMaps each result to the catalogue's marker, LOINC code and UCUM unit, and assigns the standard range for the person's sex and ageOQ-14, OQ-22; PQ parallel run
CheckWestgard QC and calibration lockout, critical values held until the call is logged, delta checks, analyser flags, unsigned tables hold every resultOQ-04, OQ-05, OQ-13, OQ-18
Review and releaseEach result approved by a pathologist or the laboratory director who did not submit the run; released by a second person, per result; only by a validated release in a scope the laboratory director approved; the clinical routes keep the sign-in gateOQ-01 to OQ-03, OQ-08 to OQ-11, OQ-27 to OQ-29
ReportSigned PDF, HL7 ORU^R01 to the clinic and FHIR, with every item HAAD CLS p13 lists; corrected reports keep the originalOQ-19, OQ-20
MessagesOne Malaffi message per release, sent at most once by the one senderOQ-12, OQ-15
RecordWrites only released results to the person's encrypted knowledge graph; reads each result against the person's own range once enough results existVERA-REQ-146, 168, 175

2.4 Interfaces in scope

InterfaceDirectionIn this plan
Analyser listener (ASTM E1381/E1394, HL7 MLLP)Copy of the analyser link, read onlyYes, every scope
Analyser host modeVERA answers the analyser and sends its orders, per analyser, only after the laboratory director's recorded takeoverYes, per analyser, before its takeover (docs/golive/analysers.md)
KERNELVERA reads KERNEL's finished results (the shadow copy); KERNEL is recommended to keep the accession and the patient's identity at launch (founder decision 5, a recommendation due 23 November 2026 [to confirm])Yes
MalaffiVERA builds and checks the result message; one sender sends it (recommended: KERNEL, triggered by a VERA release; founder decision 6, a recommendation due 23 November 2026 [to confirm])Yes, before the first VERA release (checklist C4)
Clinic reportSigned PDF, HL7 ORU^R01, FHIR Bundle, handed over with the hand-over recorded; no VERA transport sends them at launch [to confirm, go-live plan C3]Yes
Hospital orders and Oracle Health (SMART on FHIR)Orders in; VERA's summary filed in the hospital recordValidated before a hospital tenant is switched on [to confirm with the hospital]
Partner portPartner data in, results out, two administrators approve each partnerValidated before the port is switched on for a partner

Interfaces outside VERA (the analysers' own interfaces, KERNEL's Malaffi sender, the hospital's record) are qualified by their owners; VERA's records name the versions it was validated against.

3. Roles

RoleWhat the role does hereCannot
Laboratory director, named on each record they sign, and by their own sign-in on each approval and attestation they make in VERAApproves this plan, the risk assessment, the requirements register's scope decisions, each IQ, OQ and PQ record; attests each clinical table and the table of validated VERA releases in VERA; approves each campaign's scope in VERA and withdraws it when it no longer holds; signs the evidence packApprove a record they performed; approve a campaign whose trials they posted
Quality manager, a different person from the laboratory director, named on each record they sign, and by their own sign-in on each attestation they make in VERAOwns this plan and every validation document and record; reviews each record; attests the tables the plan gives both people; keeps the change records and the deviation log; adds signed records to config/validation/records.v1.jsonBe the laboratory director; review a record they performed (the laboratory director, or a second reviewer, reviews it [to confirm])
Tester: IT, a laboratory scientist or the quality manager, never the developerRuns the IQ and OQ scripts and the PQ steps, and is named as performedBy in each record (the tester's own statement: the scripts run where there is no sign-in, and the signed page binds it)Run a test of their own code
Developer (Prepaire engineering, with Claude)Drafts these documents; builds and tests the code; writes the trace matrixSign, approve or run a qualification record
IT and release engineeringDeploy the release, read the image digests, set VERA_IMAGE_DIGEST and VERA_WORKER_IMAGE_DIGEST, give the platform a database role that owns no table, wire the CI job that keeps the records (docs/validation/README.md)Change the code or the tables
Executive go-live authority (the founder)Signature 8 of the evidence packSign a laboratory record

The evidence pack carries eight signatures (laboratory director, quality manager, clinical safety officer, information security officer, privacy and legal, LIM product owner, KG owner, executive go-live authority) and two VERA attestations made by different named people (go-live plan 7.4 item 14). Several of these people are not yet named (go-live plan decision 3).

4. Stages and their exit

StageWhat happensExit (signed by the laboratory director)When (go-live plan 7.2)
PlanThis plan, the risk assessment and the acceptance limitsSigned before the first volunteer sampleweeks 1-2, 16-29 Nov
RequirementsThe register (config/validation/requirements.v1.json) and its trace; CI keeps the trace matrix of every commitRegister signed; the trace matrix of the release passeswith each release
IQscripts/validation/iq.ts on each node that will release, for each releaseSigned IQ recordbefore OQ
OQscripts/validation/oq.ts: 29 cases, 27 acceptance and refusal cases on synthetic samples through the release path and 2 asked of the installed nodeSigned OQ record citing the IQ recordbefore PQ counts
PQShadow (7 days gap-free) and parallel run against KERNEL (20 working days), docs/validation/pq-protocol.mdSigned PQ record; the campaign's evidence decision at conditional or better, approved by the laboratory director in VERAweeks 5-11, Dec to Jan
Evidence packOne per scope (go-live plan 7.4)8 signatures and 2 attestations; the release listed in config/lab/validated-vera-releases.v1.json and that table attested; the director's approval of the campaignweek 13, Feb

IQ, OQ and PQ are repeated on every change that the change rule (section 7) says needs them.

5. Requirements and traceability

  • The register: config/validation/requirements.v1.json. VERA-REQ-001 to 160 are Appendix A.1 of the Operating Bible v3.0, word for word; VERA-REQ-161 onward are the launch functions built since (QC lockout, critical hold and call clock, per-result review, release by a second person, release per result, the standard range by sex and age, personal ranges, orders, identity, the HAAD CLS report, corrected reports, Malaffi send-once, the patient graph, the listener, the KERNEL shadow, host mode, sign-in on record pages, the partner port, Oracle Health, wearables, CKM, the validated build and scope, the attested table signatures, and the operations requirements). Each requirement is in or out of launch scope with its reason; 108 of the 196 are in, 3 of them in part (said in words). The scope decisions are proposals for the laboratory director.
  • The trace: config/validation/trace.v1.json links each in-scope requirement to the tests that prove it; a test whose title names a requirement id is linked too. src/lib/validation/trace-matrix.test.ts fails the build while an in-scope requirement has no test. Where the tests show only part of what is in scope, the trace map says what they do not show (partial), and the matrix reports the requirement as shown in part, never as passed. Where only part of a requirement's text is in launch scope, the register says which part in words (launchPart), and "passed" is for that part.
  • Signed records: where a test cannot show a requirement (an SOP, a network record, a signed table), the register names the record and its owner, and config/validation/records.v1.json links it once signed.
  • The trace matrix: scripts/validation/trace-matrix.ts joins a test run with the register and writes the matrix and a JUnit report, with the commit and the image digests; CI keeps them for 7 years (docs/validation/README.md). Its --strict mode, which also waits for every signed record and every requirement shown only in part, is the gate for a release that will report patients.

6. Acceptance limits

Proposed in go-live plan 7.3. The laboratory director decides each.

CheckPass ruleHow VERA shows it
Capture completeness0 missing or extra messages over 7 consecutive days, against analyser and KERNEL countsThe shadow gate and the daily reconciliation report (PQ)
Byte fidelityReplayed fixtures give identical SHA-256OQ-17; the listener's replay check
Value, unit, flag100% identical to the instrument record, or converted exactly as the signed table saysThe side-by-side and parallel-run comparisons (PQ)
Standard range assignment100% of persons get the standard range for their sex and age; the report matches the systemOQ-14
QC lockout100% of seeded failures blockedOQ-04, OQ-18
Transfer of a standard rangeNo more than 2 of 20 per group fall outside (CLSI EP28)The laboratory's verification, recorded through VERA's EP28 checker
Evidence decisionConditional at 71 effective clean trials (lower bound 0.95); approved at 367 (0.99); each specimen counts once per kind, operator, lot and siteThe campaign's evidence decision under PREPAIRE-VENDOR-EVIDENCE-POLICY@1.0.0, then the laboratory director's approval in VERA

"Conditional" is how much evidence VERA's own copying and translating has earned; it is not a lower bar for the patient. A result released under it has passed every limit above (go-live plan 7.1).

7. The change rule

Every change that can reach a node is authorised, documented and validated before it reaches the node. This covers the code, the images, the clinical tables and every other file under config/, the database migrations, the dependencies, and the deployment settings of an operational node.

  1. Record. The change has a change record: what changes, why, and its effect on the risk assessment (which hazards, which controls). The quality manager owns the record.
  2. Authorise. The quality manager authorises it; a change to a clinical table is also signed by the laboratory director in the table itself and attested in VERA for its new content (and both people where the plan asks for both: catalogue, ranges, QC rules, critical values, delta checks). An edit after an attestation is unsigned until it is attested again.
  3. Build and test. The change is made on a branch, every migration stays additive (scripts/release/check-migrations.ts), and the trace matrix of its commit passes in CI.
  4. Validate. The release is cut (vera-YYYY.MM.DD-n) and its scope sheet written (iq.ts sheet). On each node: IQ, then OQ. The quality manager and the laboratory director decide, with the risk assessment, whether the PQ is repeated in full, in part or not (proposal: in full when a clinical table, the catalogue, the capture or the release path changes; the OQ alone for a change that touches none of them; [to confirm] by the laboratory director).
  5. Approve. The laboratory director adds the release to config/lab/validated-vera-releases.v1.json and attests that table's new content in VERA, and approves in VERA the campaign that records the new scope. VERA enforces this step: a release outside the attested table or an approved scope cannot release a clinical result, and a changed clinical table changes the scope's digest. The director withdraws an approval in VERA when its scope no longer holds.
  6. Keep. The change record, the trace matrix, the IQ, OQ and PQ records and the approvals are kept together with the commit and the image digests.

There is no emergency path around these steps in VERA. In an emergency the operations switches close the release path, KERNEL keeps reporting, and the change follows the rule before VERA releases again (go-live plan 8.3; downtime and return-to-KERNEL procedures, checklist B16).

8. Deviations

A failed check, a failed test or a discordance is a deviation. It is logged by the quality manager with its root cause (VERA, KERNEL, the mapping or the analyser), its correction and what is re-tested. A record with a failed check is signed only with the deviation and its disposition attached. In the parallel run every discordance is traced to its cause before the run continues and counts against the evidence score (go-live plan 7.1 and 8.2). An identity mismatch, an altered source value, a release without QC or a critical value not called stops the pilot.

9. Documents and records

Document or recordWhereKept
This plan, the risk assessment, the IQ, OQ and PQ protocolsdocs/validation/ (under version control)With the release
Requirements register, trace map, signed records, OQ protocolconfig/validation/With the release
Trace matrix and JUnit report of each commitCI artefacts, then the evidence store7 years [to confirm against the laboratory's retention schedule]
IQ and OQ records (JSON, the page signed, the test reports)validation-records/ on the node, then the evidence store7 years [to confirm]
PQ records: daily shadow reports, side-by-side reports and review sheets, campaign trials and decisionsVERA's database (append-only), the evidence storeWith the laboratory's records (25 years for records tied to patient results, F12)
Change records and deviation logThe quality manager's document system [to confirm which]7 years [to confirm]

10. Approval

Signing this plan approves it for the validation of VERA's scopes at IRENA. Each signature names the version above.

  • 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 each scope in VERA and may withdraw it; a scope names the worker image and the pipeline; the tables of validated releases attested; partial coverage in the trace; founder decisions 5 and 6 as recommendations; roles by role, and no one reviews a record they performedPrepaire engineering
0.316 Nov 2026The owner and the approver are named where they sign, not in advance; the standard range in VERA's own words (section 1 and the acceptance limits)Prepaire engineering

Demonstration copy