System Design Atlas

Laboratory samples with a complete chain of custody

09 / 10Worked example

Operations and security

Any release needs to be of recoverable origin. What conditions ensure the result?

A restore operation can reset metadata and raw files differently.

Starting point Count unassigned measurements separately by cause.

Assumptions for the example case

Fictitious training laboratory with an aqueous control sample. The draft documents custody changes and results; diagnostic interpretation and clinical decisions are outside the case. All quantities, thresholds and operational objectives of this design are illustrative assumptions.

Checking handover and raw data

Transfer alert and hash gap

Laboratory teamOn-site reception
Platform operationsTransport trail
Handover > 5 minPending custody change
Receipt recordCustodian confirmed
Hash gapFile or transfer
Hash evidenceFile + Content
Übergabe > 5 min → LaborteamAlarm
Laborteam → EmpfangsbelegCloses the transfer
Hashlücke → PlattformbetriebAlarm
Plattformbetrieb → HashbelegCloses the gap

Each operational issue ends with evidence that resolves its specific cause.

A 5-min handover alert goes to the laboratory team; a missing hash goes to platform operations. Each path ends with its own evidence of resolution.

Access and recovery

Roles and protection
Submitting facilities see their own orders; the laboratory team records data; only the authorised reviewer approves results. Logs use sample references without personal content.
Recovery
Platform operations checks every referenced raw data hash after restoration. Missing files lock releases; custody chains are matched with handover records.

Business outcome and completion

Evidence ownership
Rejected samples and invalid measurements require a reason documented by the laboratory team. Released results require the authorised reviewer’s signature and the raw data hash. A correction creates a new result revision linked to the old one.

Every approval requires recoverable provenance.

Every approval requires recoverable provenance.

Hash verification blocks incomplete result versions.

A restore operation can reset metadata and raw files differently.

The laboratory team confirms actual receipt or documents loss using the chain of custody. Platform operations restores the matching file; the authorised reviewer rechecks the complete, linked result revision.

Alternative considered
A readable result value alone does not prove its origin.
Trade-off
Restore takes longer until the comparison of origin.
Reassess
New storage layers require a shared backup strategy.

Try it yourself

Determine responsible role and evidence of resolution in case of open handover and lack of raw data hash.

A hint for your attempt

A restore operation can reset metadata and raw files differently.

Compare with a possible solution
Transfer
Laboratory team confirms actual receipt or documents loss based on the chain of custody.
Raw data
Platform operations restores the matching file; the authorised reviewer rechecks the complete, linked result revision.

Apply to your project

What is the equivalent of "Every release needs recoverable origin." in your own project?

Step 10: The end-to-end path comprises a valid path and a discarded path. What conditions ensure the result?