Documentation · Working document

Risk assessment of the result path (ISO 22367)

Every hazard from the analyser to the released result, each with its severity, probability and detectability, its requirement, control and test. A draft for the laboratory director's approval.

About this file

Kind of file
Markdown text
Status
Working document
Size
36 KB
File
risk-assessment.md
Fingerprint (SHA-256)
12abfc1f4f709ebc357004885335428c3fb34510860f167011c7932661c1dd5e

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

Test names, file names and code are quoted as the code writes them, so some keep American spelling.

VERA by Prepaire: risk assessment of the result path

DocumentVERA-VAL-RA-001, version 0.3 (draft)
Date16 November 2026
MethodISO 22367:2020 (risk management for medical laboratories), with an FMEA scoring of severity, probability and detectability
OwnerThe quality manager, named on the signed approval (section 5)
ApproverThe laboratory director, named on the signed approval (section 5)
StatusDraft for review. Not approved. Every score is a proposal for the laboratory director.
NeededApproved before the first volunteer sample (week of 23 November 2026), with the master plan

1. What is assessed

The path of one result through VERA by Prepaire, from the person and the sample to every recipient outside the laboratory: sample and identification, order, analyser, capture, translation (calculated results included), checks, review, release, report, messages (the clinic's HL7 ORU^R01 and FHIR Bundle, Malaffi), the person's knowledge graph, the other recipients (the partner port, the Oracle Health record, twin sharing), and the operations that keep the path whole. The analysers' own measurement is assessed by the laboratory in its analytical verification; here it enters as what VERA must catch (QC, calibration, flags).

Every control named here is in the code; every test named here runs in CI and, where marked OQ, in the operational qualification on the installed node (docs/validation/iq-oq.md). Requirement ids are those of config/validation/requirements.v1.json.

2. Method

  1. Hazard identification per step of the path: what can go wrong, its cause, and the harm to the person.

  2. Risk estimation before VERA's controls, on three scales:

    ScoreSeverity (S): the harmProbability (P): of the harm, per resultDetectability (D): before the result reaches anyone
    1No harmImprobable (fewer than 1 in 1,000,000)A hard gate always refuses it
    2Inconvenience: a repeat draw or a delay of hoursRemote (about 1 in 100,000)Shown to the reviewer, who must act on it
    3Delayed or repeated testing with temporary harmOccasional (about 1 in 10,000)Likely found at review or by the clinician
    4Wrong or missed treatment needing interventionProbable (about 1 in 1,000)Unlikely to be found
    5Death or permanent harmFrequent (1 in 100 or more)Cannot be found

    The probabilities before controls are estimates from the August 2026 data incidents and general laboratory experience, not measured rates [to confirm by the laboratory director]; the PQ measures the rates after controls.

  3. Priority number RPN = S x P x D (1 to 125).

  4. Risk evaluation against the acceptability criteria (proposed; the laboratory director decides):

    • residual RPN 12 or less: acceptable, monitored in use;
    • residual RPN 13 to 24: acceptable only with the laboratory director's recorded acceptance and the monitoring named;
    • residual RPN above 24, or any residual risk with S 5 and D above 2: not acceptable; it is reduced before go-live. Such a hazard is a go-live condition: the further control it needs is named, and the hazard is scored again once that control is in place.
  5. Risk control in this order: safety by design (VERA refuses), protective measures (VERA holds for a person), information (the reviewer and the report say it). Each control is tied to a requirement and a test. A control cited for a refusal names a test of the refusal.

  6. Residual risk scored again after VERA's controls as built ("After"): a control that is a procedure, or that is not built, does not lower that score; the Open column names it. Review after the PQ with the measured rates, after every incident and with every change (master plan, section 7).

3. The hazards

Scores are given as S/P/D = RPN, before and after VERA's controls as built.

3.1 Sample and identification

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-01The person is not identified at the draw, or another person's document number, name or birth date is enteredAnother person's results acted on5/3/4 = 60170, 150, 002The vial is recorded only after the person is identified against the identity vault (document number or full name with birth date); a mismatch is refused (409 IDENTITY_NOT_CONFIRMED)src/lib/collection/identification.test.ts "refuses no check, another person's document, a wrong birth date and an unregistered person"5/1/1 = 5The identification procedure at collection (SOP, REC-150-1)
HZ-02A person presents another person's genuine identity document, for that other person's orderThe other person's record gets this person's results5/1/5 = 25170, 150None that can find it: the vault check matches the genuine document to the order's person. VERA records how the person was identified (the method), so the check that was made is knownsrc/lib/collection/identity-at-draw.migration.pglite.test.ts "is recorded whole, with a method and result that belong together"5/1/5 = 25Go-live condition (S 5, D 5): the draw SOP compares the document's photograph with the person, and the laboratory director decides whether the identity card's chip and the holder's fingerprint are read at the draw (Emirates ID card reader) [to confirm availability]. A fingerprint match recorded as the method would refuse it at the draw: proposed 5/1/1 = 5 once in place
HZ-03A tube or label error that leaves the analyser's sample reference, the vial, its order or its type inconsistentAnother person's results acted on5/3/4 = 60171, 004The analyser's sample reference must be the vial's barcode, the run's subject the vial's order's, the specimen coding the vial's type; any mismatch holds every result of the runOQ-06; src/lib/lab/critical-values-flow.test.ts "blocks approval and release when the analyzer's sample reference is another tube's barcode"5/1/1 = 5None
HZ-04Wrong blood in tube: two people's labels swapped at the draw, or a tube labelled for one person filled from another, so that the label, the vial and its order all agreeAnother person's results acted on5/3/5 = 75171, 163, 150Only the delta check can find it, and only for a person with an earlier released result. At launch almost no one has one: the volunteers and the first 50 patients are new, and KERNEL's earlier results are not pulled (HZ-21). It does not lower the probabilitysrc/lib/lab/critical-values-flow.test.ts "raises DELTA_CHECK_FAILED on the person's second vial"5/3/5 = 75Go-live condition (RPN 75; S 5, D 5). Before the first volunteer sample: (1) the draw SOP draws one person at a time, prints the labels for that person only after VERA's identification and applies them in front of the person, never pre-labelled tubes (REC-150-1), lowering P to 2; (2) a critical or markedly abnormal first result of a person with no earlier released result is confirmed before it is reported, by a second draw or the laboratory director's recorded decision for the test [to decide by the laboratory director: an SOP, or a hold VERA builds], which shows the discordance to a person (D 2). Proposed 5/2/2 = 20 with both in place, for the laboratory director's recorded acceptance; scored again after the PQ with the measured rate
HZ-05Unsuitable specimen: haemolysed, wrong tube, outside its time or temperature limits, not fastingMisleading result3/4/3 = 36169The pre-analytical gate under the signed limits rejects the vial; serum indices above a hold limit hold the result (analyser flags)src/lib/collection/pre-analytical.test.ts "rejects a tube centrifuged too late, and a haemolysed specimen"; src/lib/collection/pre-analytical.test.ts "rejects a vial received too late or transported at a temperature not allowed"; src/lib/lab/holds.test.ts "holds a result flagged outside the signed releasable flags"3/2/2 = 12The limits are signed by the laboratory director (order rules, analyser flags)
HZ-06Order without a licensed ordering clinician, without consent, or for a minorResult with no one accountable to act on it; unlawful processing4/3/2 = 24169, 001The order is refused (clinician with DoH licence, collection and data-sharing consents, adult); a clinical result is released only for a vial of a conformant orderOQ-21; src/lib/collection/order-conformance.test.ts "refuses an order without a clinician, without a consent reference, and for a 17-year-old"; src/lib/collection/order-gates.test.ts "fails an order from before the rules, a cancelled order, and every clinical result while the rules are unsigned"4/1/1 = 4Consent forms and the ordering route (checklist B3, B4)

3.2 Analyser

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-07The analyser is out of control (QC rejected) when the sample is measuredSystematically wrong results4/3/4 = 48161, 043VERA's own Westgard evaluation of the analyser's QC under the signed rules (1-2s warns; 1-3s, 2-2s, R-4s, 4-1s, 10x reject) before and after the measurement; a rejected run locks out its results and opens a look-back of results released since the last accepted runOQ-04, OQ-18 ("blocks 100% of seeded QC failures")4/1/1 = 4The QC rules and targets signed per analyser and analyte (config/lab/qc-rules.v1.json)
HZ-08Calibration failed, expired, or not recordedWrong results4/3/3 = 36161No quantitative result is released without an accepted calibration within the signed intervalsrc/lib/lab/qc/assess.test.ts "locks out a result with no calibration, a failed one, or an expired one"4/1/1 = 4Calibration intervals in the signed QC rules
HZ-09An analyser warning (W flag, interpretive message, index) is ignoredMisleading result4/3/3 = 36163A flag outside the signed releasable list holds the result until the reviewer records what was donesrc/lib/lab/critical-values-flow.test.ts "a result the analyser flagged W is approved only with what was done"4/1/2 = 8Releasable flags and index limits signed (config/lab/analyser-flags.v1.json)
HZ-10QC recorded by hand by the person who then releases, or QC said to pass without evidenceOut-of-control results released4/2/4 = 32165, 161Only the analyser's own timely capture or a second person's confirmation clears a result; the recorder never releases what their QC clearssrc/lib/lab/qc/provenance.test.ts "clears once a second person confirms the run before the release; never by its recorder"4/1/1 = 4None

3.3 Capture

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-11A message is lost or duplicated between the analyser, KERNEL and VERAA result missing or reported twice3/3/3 = 27177, 012, 155The listener keeps every byte in a hash-chained log; the KERNEL copy keeps one row per message and a replay adds none; the daily comparator lists every missing or extra message; the shadow gate needs 7 consecutive clean days, and a day with no comparison counts as a gapOQ-23; src/lib/shadow/gate.test.ts "counts a missing day as a gap, never as a pass"; src/lib/lis/kernel-shadow.pglite.test.ts "a second replay of the same fixture adds none"3/1/1 = 3PQ measures it (docs/validation/pq-protocol.md)
HZ-12A message is altered in capture (bytes changed, a frame dropped, a checksum ignored)A wrong value reported5/2/4 = 40017, 176, 155Exact bytes kept and sealed with their SHA-256; a frame whose checksum fails is accepted only when retransmitted intact; replays reproduce the digestOQ-17; src/lib/analysers/host/e1381.test.ts "NAKs a frame with a wrong checksum and takes its retransmission once"5/1/1 = 5None
HZ-13VERA sends to an analyser while it should only listenAn analyser disturbed, an order or acknowledgement it should not get4/2/3 = 24123, 154, 176The listener cannot be configured to answer, acknowledge or send; it drops an analyser's own address; a packet capture fails on one VERA packet to an analyserOQ-164/1/1 = 4IT's packet capture during the 7-day shadow (PQ)
HZ-14In host mode, a wrong order is sent to an analyser, or host mode starts without the decisionThe wrong tests run, or a tube's tests are missed4/2/3 = 24178VERA hosts a link only on the laboratory director's recorded takeover for exactly that analyser, sends only orders built from VERA's own conformant orders, and never a Sysmex host code not confirmed against the analyserOQ-24; src/lib/analysers/host/orders.test.ts "never orders a Sysmex host code not yet confirmed against the analyser"4/1/2 = 8Host mode is validated per analyser before its takeover (master plan 2.4)

3.4 Translation and calculation

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-15Wrong code: a local code mapped to the wrong marker or LOINCA result reported under another test's name5/3/3 = 45018, 019, 186Every result is read through the signed catalogue; a code it does not hold, or a demonstration-signed table on a real subject, quarantines the resultOQ-07; src/lib/lab/reference/gate.test.ts "hold a result that is not a catalog marker, or not in its unit"5/1/1 = 5The catalogue's 105 rows reconciled with KERNEL and signed (checklist B9); the 5 key mismatches and 4 LOINC disagreements resolved
HZ-16Wrong unit or conversion (as in August 2026: calcium judged against a mg/dL range; protein 1,248 g/L)A value off by a factor, read as normal or critical5/3/3 = 45107, 018, 019A result in another unit than the catalogue's is held; conversions only by the signed table; the past incidents are regression testsOQ-225/1/1 = 5Unit conversions signed (config/ingestion/loinc-conversions.v1.json is an example today)
HZ-17Wrong standard range: another sex or age band, an overlapping band, a range for the wrong unitA result flagged wrongly4/3/3 = 36167, 140The range is assigned from the person's recorded sex and age at collection under the signed table; overlapping bands are refused; a person of other or unrecorded sex gets the signed rule's range; the report prints the range VERA assignedOQ-144/1/1 = 4Ranges verified in 20 reference individuals of each sex (CLSI EP28) and signed (REC-167-1)
HZ-18A personal range misleads: drawn from too few results, wider than the standard range, or from another methodA real change missed, or a false alarm3/3/3 = 27168, 141, 021No personal range before the signed minimum of eligible results; never wider than the standard range; another method group pooled only when declared harmonised; the standard range stays beside it, labelled; the reason is shown while VERA stays on the standard rangesrc/lib/personal-ranges/present.test.ts "is never wider than the standard range"; src/lib/personal-ranges/engine.test.ts "names why it stays on the population basis"3/1/2 = 6The biological variation table signed (config/vera/biological-variation.v1.json)
HZ-19A calculated result is computed wrongly: a wrong formula, constant or input in the indices table (config/vera/indices.v1.json), or a formula changed after reviewA wrong calculated value acted on4/3/4 = 48186, 019, 041Each index is computed by its registered implementation, whose constants hash to the entry's formula digest; an entry whose constants or implementation changed under it is refused; the published worked examples are tests; the table is a clinical table, signed and attested, and part of the validated scope's digest; a calculated marker takes its parents' QCsrc/lib/indices/registry.test.ts "refuses an entry whose implementation changed under it"; src/lib/indices/registry.test.ts "refuses an entry whose constants no longer hash to its formulaHash"4/1/2 = 8The indices table reviewed and signed by the laboratory director (it ships pending)

3.5 Checks

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-20A critical value is not communicated in timeDelayed urgent treatment5/3/3 = 45162The result is held until a laboratory member logs a call with read-back; a failed attempt does not clear it; due times and escalation on the signed clock; the worklist puts open critical results firstOQ-135/1/2 = 10Critical limits and escalation chain signed; the alert channel connected by IT (go-live plan decision 16)
HZ-21A delta-check failure is missed (a sample of another person, or a real change)Wrong-patient result or missed change4/3/3 = 36163, 171The delta check reads the same person's earlier released results, across vials, and holds the result for the reviewersrc/lib/lab/critical-values-flow.test.ts "raises DELTA_CHECK_FAILED on the person's second vial"4/1/2 = 8Delta rules signed; the KERNEL pull for earlier hospital results opened by IT and the KERNEL team; for a person with no earlier result, see HZ-04
HZ-22A result is released while a rule table is unsigned or still a draft, or its file is marked signed by someone with push accessRules nobody approved decide a result4/3/3 = 36186, 196, 050, 160Every clinical result is held while any table it depends on is unsigned or signed with the demonstration sign-off for a real subject; on an operational copy a clinical release, and a report, also need every clinical table's exact content and the table of validated releases attested in the database by the laboratory director (and the quality manager where the plan asks for both), two different peopleOQ-05, OQ-26, OQ-274/1/1 = 4One sign-off on /lab/sign-off is the signature the loaders and every release gate read; the gates that read the tables of intake and personal ranges, the shadow gate and the analyser takeover through their own loaders still read the file's review fields (F18 step 3)

3.6 Review and release

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-23A result is released without an independent reviewAn error not caught by a second person4/3/3 = 36164, 029Each clinical result is approved by a pathologist or the laboratory director who did not submit the run, for the result exactly as it stands in the bundleOQ-01; src/lib/lab/review.test.ts "fails a result with no review, a rejected one, one reviewed by the submitter, one changed since"4/1/1 = 4Named accounts with MFA for each person (checklist A11)
HZ-24The submitter or the reviewer releases the result themselvesThe two-person rule bypassed4/3/2 = 24029, 165The route refuses (403) and the database refuses such a release record (trigger release_record_independent)OQ-02, OQ-03, OQ-254/1/1 = 4A second quality officer named (F52)
HZ-25A result is released by a build or a configuration that was not validated, or after the validation was withdrawnGates that were never qualified decide a result5/3/4 = 60184, 185, 043, 044On an operational copy only a numbered release in the attested table of validated releases, running the images and clinical tables of a scope the laboratory director approved (and has not withdrawn, and no later campaign of the scope rejected), releases a clinical result; checked again inside the release's transactionOQ-08 to OQ-11, OQ-275/1/1 = 5The deploy sets VERA_IMAGE_DIGEST and VERA_WORKER_IMAGE_DIGEST (docs/validation/README.md); the laboratory director attests the validated releases and approves each scope
HZ-26A result changes after its review (a new bundle, a re-run)A result released that nobody reviewed4/2/3 = 24164The review is for the result's digest; a changed result needs a new reviewsrc/lib/lab/review-release-route.test.ts "a result without its own approval, or a result changed since review, holds the release"4/1/1 = 4None
HZ-27One failed result holds back the rest of the run, or is silently left outDelay of valid results; a test not reported without saying so3/3/3 = 27166Release per result: approved results go out, each one left out is recorded with why, and the report says what was not reportedsrc/lib/report/issue.test.ts "issues a report whose release left a result out"3/1/1 = 3None

3.7 Report

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-28The report lacks an item the clinician needs (ordering clinician, units, collection time, specimen condition, range, performing laboratory, who performed and approved)Misread result; a DoH finding3/3/3 = 27172The report is refused unless every HAAD CLS p13 item is in the PDF, the ORU^R01 and the FHIR Bundle; authorised only by a registered pathologist or the laboratory director independent of every runOQ-193/1/1 = 3Report tables signed; KERNEL's own report checked while KERNEL reports (checklist B19)
HZ-29The report shows a different range or flag than the system decidedA result read against the wrong range4/2/3 = 24167The report prints the range VERA assigned; the test compares both for every personOQ-144/1/1 = 4None
HZ-30A released result is wrong and its correction does not reach the clinician, or the original is lostTreatment on a withdrawn result4/2/3 = 24173, 015, 031A correction revokes the release with a printable reason, issues a corrected revision that keeps the original, notifies the clinic (read back for a critical result) and retracts the message under its first identifiers; a correction case closes only once its corrected revision is delivered and the clinic toldOQ-20; src/lib/report/corrections.test.ts "closes a case only when a corrected revision was issued after it opened, delivered, and the clinic was told"4/1/2 = 8The correction status of Malaffi's HL7 profile waits on Malaffi's document

3.8 Messages

The clinic's messages: VERA builds the HL7 ORU^R01 and the FHIR Bundle of each issued revision with its signed PDF and hands them to the caller; the hand-over to the clinic is recorded (who received it, when). No VERA transport sends them to a clinic at launch [to confirm: the delivery route of go-live plan C3].

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-31The Malaffi message of a release is lostA result missing from the person's shared record3/3/3 = 27174Each clinical release queues its message in the same transaction; the outbox keeps it until acknowledged and alerts on a backlogOQ-12; src/lib/ops/monitoring.pglite.test.ts "turns a dependency down, unreadable keys, a verification backlog and an outbox backlog into their alerts"3/1/2 = 6Malaffi onboarding and the one sender (checklist B5, C4)
HZ-32A Malaffi message is sent twiceDuplicate results in the shared record2/3/3 = 18174At most once: a replay sends nothing, two dispatchers send each message onceOQ-152/1/1 = 2None
HZ-33A Malaffi message is altered: wrong LOINC, unit, section or rangeA wrong result in the shared record4/2/3 = 24174, 018The message is built from the released result and checked (LOINC per result, DSSID section, range, UCUM unit) before it is queuedsrc/lib/malaffi/malaffi.test.ts "send LOINC in OBX-3, the section in OBR-24, the range in OBX-7"4/1/1 = 4The DSSID map is a placeholder until Malaffi confirms its codeset [to confirm]
HZ-34A withdrawn result is retracted under the wrong identifiersThe receiver keeps the wrong result4/2/3 = 24173Retraction under the identifiers the result was first sent with (OBR-3, OBR-4, OBX-3; OBX-11 W)src/lib/report/oru-corrections.test.ts "retracts each withdrawn result under the identifiers it was sent with"4/1/1 = 4None
HZ-35The clinic's ORU^R01 or FHIR Bundle is lost: issued but never handed overThe clinician never sees the result3/3/3 = 27172, 173Each issue is recorded in the hash-chained issue log with each rendering's digest; the hand-over is recorded with the recipient and the time, never before the issue; a correction case stays open until its corrected revision is deliveredsrc/lib/report/corrections.test.ts "records a hand-over of an issued revision, not before it was issued"3/2/3 = 18For the laboratory director's recorded acceptance: VERA does not yet list a first revision issued and never handed over [to build: an undelivered-report worklist], nor send it itself (go-live plan C3) [to confirm]
HZ-36The clinic's ORU^R01 or FHIR Bundle is altered: a value, unit, range or patient other than the report'sA wrong result acted on4/2/4 = 32172Every rendering is built from the one canonical report and checked for every HAAD item before the issue is recorded; a message that drops a result fails; the issue records each rendering's SHA-256; the PDF is sealed and fails on any changed byte or another certificate; a PDF of another patient's report fails the patient itemsOQ-19; src/lib/report/haad.test.ts "an ORU^R01 that drops one result fails TESTS_AND_RESULTS"; src/lib/report/haad.test.ts "a PDF changed after signing, or signed with another certificate, fails SIGNATURE"; src/lib/report/haad.test.ts "a PDF of another report (another patient) fails the patient and result items"4/1/3 = 12The ORU^R01 and the FHIR Bundle travel unsealed: their transport's integrity (TLS or the clinic's VPN) is IT's [to confirm]; the signed PDF is the authoritative copy
HZ-37The clinic's report is sent twice, or two revisions contradict each otherDuplicate or conflicting results in the clinic's record2/3/3 = 18172, 173An issue that would report exactly what the last revision did is refused; each later revision is numbered and either appends results or corrects with the printed reasonsrc/lib/report/issue.test.ts "refuses to re-issue an unchanged report, and issues a corrected revision 2 when a release is revoked"2/1/2 = 4None
HZ-38The report reaches another clinic or clinician than the one who orderedThe ordering clinician does not get the result; another person's data disclosed3/3/4 = 36172, 169The report is built for one order and names its ordering clinician with the DoH licence and the person; an identity that contradicts VERA's record of sex or age is refused; the hand-over records the recipient by a governed referencesrc/lib/report/assemble.test.ts "refuses an identity that contradicts VERA's record of sex or age (a wrong-patient lookup)"; src/lib/report/corrections.test.ts "records a hand-over of an issued revision, not before it was issued"3/2/3 = 18For the laboratory director's recorded acceptance: the hand-over is a person's act; VERA does not check the recipient against the order's clinician [to build], and the hand-over procedure is an SOP [to confirm]

3.9 The person's knowledge graph

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-39The graph is written to the wrong subjectAnother person's results in a person's record5/2/4 = 40175, 004The write is for the subject of the vial's order, sealed under that person's own data key; a key of another subject does not open itsrc/lib/patient-kg/crypto.test.ts "wraps a per-subject DEK and unwraps it only for the same subject and KEK"5/1/1 = 5None
HZ-40A held or quarantined run is written to the graphUnreleased results in the record4/2/3 = 24146Only a release queues a graph writesrc/lib/patient-kg/outbox.test.ts "queues one WRITE per release"4/1/1 = 4None
HZ-41A revoked result stays in the graphA withdrawn result still used4/2/3 = 24031, 175A revocation queues a supersede of the writesrc/lib/patient-kg/outbox.test.ts "queues SUPERSEDE only when a WRITE was queued for the revoked release"4/1/1 = 4None

3.10 The other recipients

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-42A result reaches the wrong partner through the partner portAnother organisation sees a person's results; the right one does not4/2/4 = 32180The port stays off until switched on; a partner is approved by two different administrators before a credential is issued; a partner reads and sends only its own orders and files; results are served only after someone other than the sender releases them, and on an operational copy each release passes the clinical release route's gates (the validated build, the approved scope, the signed tables); sandbox and real subjects never mixsrc/lib/partner-port/service.pglite.test.ts "a file of someone else"; src/lib/partner-port/migration.pglite.test.ts "approves a partner only after two different administrators approved it in the current round"; src/lib/partner-port/migration.pglite.test.ts "never mixes sandbox and real subjects"; src/lib/partner-port/release-gates.pglite.test.ts "releaseResults: refused by an unvalidated build, outside an approved scope and while a table is unsigned, and released once all three hold"4/1/2 = 8Validated before the port is switched on for a partner (master plan 2.4)
HZ-43VERA's summary is filed in another patient's Oracle Health recordAnother patient's record carries a person's results4/2/4 = 32181VERA opens only inside a registered, switched-on tenant with the launch/patient scope, so it files into the record the clinician launched from; one pseudonymous subject per record and patient; the summary is filed under the hospital's own document typesrc/lib/smart/config.test.ts "asks for exactly the scopes of the brief, launch/patient for a standalone launch"; src/lib/smart/config.test.ts "makes a pseudonymous subject per record and patient"4/1/3 = 12Validated with the hospital before a tenant is switched on (master plan 2.4) [to confirm with the hospital]
HZ-44A person's twin is shared with a recipient without a current consent, past its period, or by an officer granting their own accessA person's data used without their permission4/2/4 = 32190, 002Twin access only under a current decision for that recipient, its products, purposes and period; a withdrawn data-sharing consent revokes every recipient's access at once; an officer cannot grant their own recipient accesssrc/lib/consent/consent-route.test.ts "revokes every recipient's current twin access when data sharing is withdrawn"; src/lib/twin-access-api.test.ts "rejects an officer assigning their own recipient access"4/1/2 = 8None

3.11 Operations, data and security

IDHazard and causeHarmBeforeRequirementsControl in VERATestAfterOpen
HZ-45Patient data leaves the UAE or reaches an operations toolBreach of Law 2/2019 and ADHICS4/3/3 = 36189, 138Outbound connections only to the node, the site and the signed UAE allow-list; operations tools answer counts, states and codes onlysrc/lib/egress/connect.test.ts "allows the node, the site and a signed UAE host, and refuses anything else"; src/lib/ops-guard/guard.test.ts "refuses row ids, Emirates IDs and raw HL7 or ASTM messages under any key"4/1/2 = 8The allow-list signed by the information security officer; host hardening (checklist A12)
HZ-46The audit trail or a decision record is alteredEvidence of who decided what is lost4/2/4 = 32187Append-only, hash-chained records that the database protects against update, delete and truncate; a verifier re-walks every chainOQ-25; src/lib/ops/chains.pglite.test.ts "finds a changed event"4/1/1 = 4The daily signed chain head copied off the node (checklist A17, backlog #9); the platform connects as a role that owns no table (IQ-07)
HZ-47A key is lost or differs between processesStored data cannot be read; seals fail4/2/2 = 16191Keys configured once per copy and checked by fingerprint in every process; the IQ checks each process states its keys presentsrc/lib/kept-keys-operational.pglite.test.ts "refuses a worker whose key differs from the platform's"; IQ-094/1/1 = 4Key escrow with two named key holders (docs/golive/keys.md)
HZ-48Evidence kept for less than the law asksRecords unavailable when needed3/2/2 = 12188An operational copy refuses a lock below 9,132 dayssrc/lib/patient-kg/erasure.test.ts "refuses an operational copy below 25 years"; IQ-103/1/1 = 3None
HZ-49The node failsVERA's data lost; no VERA release3/3/2 = 18046, 114Backups restored and reconciled; release stays closed after a restore until its checks pass; KERNEL keeps reporting in shadow and pilotsrc/app/api/v1/ops/switches/routes.test.ts "the lab director closes and opens a switch with a reason, and each change is audited"3/2/1 = 6A second Spark before the first VERA release (checklist C7); the written acceptance of the single-Spark recovery time (A27)

4. Summary

Before VERA's controls, 33 of the 49 hazards score an RPN above 24. After VERA's controls as built, two still do, and both are go-live conditions under section 2 item 4 (S 5 with D above 2):

  • HZ-04, wrong blood in tube (RPN 75). Only the delta check can find it, and at launch almost no person has an earlier released result. Before the first volunteer sample the draw SOP labels one person's tubes in front of that person after VERA's identification, and a critical or markedly abnormal first result is confirmed before it is reported; whether that confirmation is an SOP or a hold VERA builds is the laboratory director's decision. Proposed 5/2/2 = 20 once both are in place, for the laboratory director's recorded acceptance.
  • HZ-02, another person's genuine document (RPN 25). The identity vault cannot tell. The photograph check at the draw, and the laboratory director's decision on reading the identity card's chip and fingerprint, are the further controls.

Two hazards score 13 to 24 after the controls and need the laboratory director's recorded acceptance with the monitoring named: HZ-35 (a clinic report issued and never handed over, 18) and HZ-38 (a report handed to the wrong clinic, 18). HZ-20 (critical values, RPN 10) depends on the signed escalation chain and a connected alert channel. HZ-22 and HZ-25 rest on the attested table signatures and the laboratory director's approval of each scope; the other gates still read the file's own signature (F18).

These scores are proposals. The laboratory director reviews each, sets the acceptability criteria (section 2), and the assessment is reviewed after the PQ with the measured rates, after every incident and with every change.

5. 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 2026Wrong blood in tube and a genuine document of another person scored as go-live conditions; the clinic's ORU^R01 and FHIR Bundle lost, altered, sent twice or to the wrong clinic; a calculated result computed wrongly; results reaching the wrong partner, Oracle Health record or twin recipient; refusal tests cited for the refusing controls; the withdrawal of a scopePrepaire engineering
0.316 Nov 2026The owner and the approver are named where they sign, not in advance; HZ-22: one sign-off per table on /lab/sign-off, read by the loaders and every release gate; HZ-42: each release through the partner port passes the clinical release route's gatesPrepaire engineering

Demonstration copy