Laboratory sample chain-of-custody calculator

Calculate missing expected handoffs and duplicate handoffs with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Use missing expected handoffs and duplicate handoffs to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Expected handoffs [sample ID,from,to]
[["A","Lab1","Lab2"],["B","Lab1","Lab2"]]
Observed handoffs [sample ID,from,to,time seconds]
[["A","Lab1","Lab2",100]]
Missing expected handoffs
[["B","Lab1","Lab2"]]
Duplicate handoffs
[]
Unexpected handoffs
[]
Observed handoff time and location gaps
[]

Try another scenario

Expected handoffs [sample ID,from,to]
[["A","Lab1","Lab2"],["B","Lab1","Lab2"]]
Observed handoffs [sample ID,from,to,time seconds]
[["A","Lab1","Lab2",100],["B","Lab1","Lab2",110]]
Missing expected handoffs
[]
Duplicate handoffs
[]
Unexpected handoffs
[]
Observed handoff time and location gaps
[]
Calculation method

Calculation method

Missing expected handoffs

Expected triples absent from observations.

Duplicate handoffs

Observed triples appearing multiple times.

Unexpected handoffs

Observed triples not expected; timestamps are supplied event evidence.

Observed handoff time and location gaps

Per sample, order event timestamps and report consecutive elapsed times and whether previous destination equals next origin. Gaps are observed, no maximum is inferred.

Symbols and units
a
Expected handoffs [sample ID,from,to]
b
Observed handoffs [sample ID,from,to,time seconds]

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Sample events, expected transfers, identifiers. Returns Missing handoffs and timeline gaps. All coefficients and observations are user supplied; results describe only the stated mathematical model. Quantities are deterministic calculations from supplied observations and assumptions; no external data is fetched. Supported limits: Finite inputs only; numeric fields bounded as labelled. Lists and JSON records are limited to 256 entries unless a stricter tool bound is stated. No automatic design approval, legal conclusion, treatment recommendation or safety certification.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.