Skip to content

Main content

Biobank Parent Child Quantity Reconcile Tool

Calculate biobank parent child quantity reconcile from explicit caller-supplied inputs.

Loading tool…

Description

Return parent/child quantity discrepancy and allocated share.

Biobank quantity and time budgets use explicit parent/aliquot, dead-volume, clock and billing conventions. A remainder, delay envelope or fee term can reconcile supplied records without establishing specimen stability, safe use or actual contractual rights.

Return parent/child quantity discrepancy and allocated share.

When to use this tool

Use Biobank Parent Child Quantity Reconcile when checking the stated biobank volume, timing, precision or fee convention.

How to use the tool and how it works

  1. Enter parent, children, retained, lost. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read unaccounted, allocatedShare. Use the output convention below.

Return parent/child quantity discrepancy and allocated share. Require parent > 0 and nonnegative children/retained/lost; unaccounted = parent-sum(children)-retained-lost, allocatedShare = childSum/parent.1

Input fieldMeaning and unitsAccepted input
parentParentRequired. Finite number; strictly above 0.
childrenChildrenRequired. Array of finite number; maximum items 256.
retainedRetainedRequired. Finite number; minimum 0.
lostLostRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
unaccountedUnaccountedRequired. Finite number.
allocatedShareAllocated Share Unit: 1.Required. Finite number.
json
{
  "input": {
    "parent": 100,
    "children": [
      20,
      30
    ],
    "retained": 40,
    "lost": 5
  },
  "output": {
    "unaccounted": 5,
    "allocatedShare": 0.5
  }
}

Limitations and assumptions

  • Over-allocation and negative residuals are retained; specimen quality, identity and actual transactions are not verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use verified collection/storage records, suitable quality controls and governing billing/permission rules for actual specimen or payment decisions.

References

  1. Calculation and input contract: biobanking/biobank-parent-child-quantity-reconcile — tool.io

Similar or alternative tools