Skip to content

Main content

Newborn Sample Parent Label Check Tool

Check supplied sample-parent and aliquot label references.

Loading tool…

Description

Compare parent and aliquot labels exactly and combine both flags into matches; serialize expectedParent, sampleId, and recordedAliquot as a JSON array key.

Exact label matching answers whether supplied strings agree under a chosen vocabulary. It preserves a useful distinction between missing, unknown, ambiguous, and unrecognized records.

Compare parent and aliquot labels exactly and combine both flags into matches; serialize expectedParent, sampleId, and recordedAliquot as a JSON array key.

When to use this tool

Use Newborn Sample Parent Label Check when you need an explicit record-label comparison or deterministic key.

How to use the tool and how it works

  1. Enter sampleId, labelParent, expectedParent, labelAliquot, recordedAliquot. 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 parentMatches, aliquotMatches, matches, key. Inspect parentMatches, aliquotMatches, matches before interpreting the associated values.

Require nonempty identifiers. Compare parent and aliquot labels exactly and combine both flags into matches; serialize expectedParent, sampleId, and recordedAliquot as a JSON array key.1

Input fieldMeaning and unitsAccepted input
sampleIdSample IdRequired. Text; maximum UTF-16 length 8192.
labelParentLabel ParentRequired. Text; maximum UTF-16 length 8192.
expectedParentExpected ParentRequired. Text; maximum UTF-16 length 8192.
labelAliquotLabel AliquotRequired. Text; maximum UTF-16 length 8192.
recordedAliquotRecorded AliquotRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
parentMatchesParent MatchesRequired. Boolean.
aliquotMatchesAliquot MatchesRequired. Boolean.
matchesMatchesRequired. Boolean.
keyJSON-array serialization of the stated identifying fields, preserving exact strings.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "sampleId": "S1",
    "labelParent": "P1",
    "expectedParent": "P1",
    "labelAliquot": "A2",
    "recordedAliquot": "A2"
  },
  "output": {
    "parentMatches": true,
    "aliquotMatches": true,
    "matches": true,
    "key": "[\"P1\",\"S1\",\"A2\"]"
  }
}

Limitations and assumptions

  • A matching string is not proof of biological identity, correct sampling, or custody.
  • 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.

Alternative or Complementary methods

Normalize or reconcile identifiers only under a documented policy, then verify the underlying source records separately.

References

  1. Calculation and input contract: neonatology/newborn-sample-parent-label-check — tool.io

Similar or alternative tools