Skip to content

Main content

Trial Sample Parent Visit Label Tool

Compare supplied sample-parent and visit-label references.

Loading tool…

Description

Compare sample-parent and visit labels.

Clinical research distinguishes supplied protocol metadata, participant/event records, allocation bookkeeping and an analysis target. A local count, permission flag or denominator choice can help reconcile records without establishing valid consent, randomization, regulatory compliance or a reliable treatment-effect estimate.

Compare sample-parent and visit labels.

When to use this tool

Use Trial Sample Parent Visit Label when checking the stated clinical-research record, allocation, timing, analysis or evidence-basis convention.

How to use the tool and how it works

  1. Enter sampleParent, expectedParent, sampleVisit, expectedVisit, specimenId. 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, visitMatches, sampleKey. Inspect parentMatches, visitMatches before interpreting the associated values.

Compare sample-parent and visit labels. parentMatches and visitMatches use supplied expected labels; sampleKey serializes [sampleParent,sampleVisit,specimenId].1

Input fieldMeaning and unitsAccepted input
sampleParentSample ParentRequired. Text; maximum UTF-16 length 8192.
expectedParentExpected ParentRequired. Text; maximum UTF-16 length 8192.
sampleVisitSample VisitRequired. Text; maximum UTF-16 length 8192.
expectedVisitExpected VisitRequired. Text; maximum UTF-16 length 8192.
specimenIdSpecimen IdRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
parentMatchesParent MatchesRequired. Boolean.
visitMatchesVisit MatchesRequired. Boolean.
sampleKeySample KeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "sampleParent": "P1",
    "expectedParent": "P1",
    "sampleVisit": "V2",
    "expectedVisit": "V2",
    "specimenId": "S1"
  },
  "output": {
    "parentMatches": true,
    "visitMatches": true,
    "sampleKey": "[\"P1\",\"V2\",\"S1\"]"
  }
}

Limitations and assumptions

  • Metadata agreement does not authenticate specimen identity, provenance, quality or collection procedure.
  • 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

Use the complete approved protocol, authenticated source records and qualified clinical/statistical oversight for actual trial design, conduct and interpretation.

References

  1. Calculation and input contract: clinical-trials/trial-sample-parent-visit-label — tool.io

Similar or alternative tools