System Design Atlas

Laboratory samples with a complete chain of custody

08 / 10Worked example

Bottlenecks and trade-offs

Unassigned data is a domain workflow bottleneck. What conditions ensure the result?

A fast adapter can create many unusable associations.

Starting point Write the version check and receipt atomically.

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.

Diagnosing assignment

Measurement without result

Raw file missingSymptom
Platform operationsClarification of the transfer
Sample reference missingSymptom
Laboratory teamClarification of assignment
Release missingE-40 remains measured
Authorised reviewerChecking status
Path + hashMeasuring object store
Run referenceDevice + Order
Domain stateHash + Procedure
Rohdatei fehlt → Pfad + HashMeasure
Pfad + Hash → PlattformbetriebTransport trail
Probenbezug fehlt → LaufreferenzMeasure
Laufreferenz → LaborteamMapping
Freigabe fehlt → FachstandMeasure
Fachstand → FachfreigabeValidation

File availability, sample association and authorised review each have separate measurements and responsibilities.

Measurement without a result → missing file, missing sample reference or missing review approval; each branch has its own responsible role.

From symptom to targeted action

SignalValidationAction and limit
Many unrelated measurementsCheck device run reference against order and sample labelIncorrect assignment to clarification list; only similar names do not allow release.
Scan acceptance slowSeparate blocking waiting time per sample and object storage latencyLoad raw files outside the receiving commit.

Many unrelated measurements

Validation
Check device run reference against order and sample label
Action and limit
Incorrect assignment to clarification list; only similar names do not allow release.

Scan acceptance slow

Validation
Separate blocking waiting time per sample and object storage latency
Action and limit
Load raw files outside the receiving commit.

Unassigned data is a business workflow bottleneck.

Unassigned data is a business workflow bottleneck.

Count unassigned measurements separately by cause.

A fast adapter can create many unusable associations.

Check adapter status and raw data store, repeat missing transmission in a targeted manner. Laboratory team compares label and order; automatic assignment based on similar names remains blocked.

Alternative considered
More workers don’t fix a wrong label.
Trade-off
Clarification lists require domain expertise.
Reassess
A high proportion of real transmission gaps justifies retransmission.

Try it yourself

Distinguish missing file and incorrect sample reference; select one action each.

A hint for your attempt

A fast adapter can create many unusable associations.

Compare with a possible solution
File gap
Check adapter status and raw data store, repeat missing transmission in a targeted manner.
Reference error
Laboratory team compares label and order; automatic assignment based on similar names remains blocked.

Apply to your project

Which equivalent has “Unallocated data is a domain workflow bottleneck” in your own project?

Step 9: Each release needs recoverable origin. What conditions ensure the result?