Description
Compare declaredParent with expectedParent and studyId with expectedStudy literally.
Laboratory study records distinguish observations, sample identities, personnel, and supporting sources. Missingness and duplication depend on record scope; a metadata check cannot establish scientific validity or regulatory acceptance.
Compare declaredParent with expectedParent and studyId with expectedStudy literally.
When to use this tool
Use GLP Study Sample Aliquot Parent Pair when you need a laboratory-record consistency or source-support check.
How to use the tool and how it works
- Enter sampleId, aliquotId, declaredParent, expectedParent, studyId, expectedStudy. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read parentMatches, studyMatches, aliquotKey. Inspect parentMatches, studyMatches before interpreting the associated values.
Compare declaredParent with expectedParent and studyId with expectedStudy literally. Return a JSON-array aliquotKey of studyId, sampleId, and aliquotId.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| sampleId | Sample Id | Required. Text; maximum UTF-16 length 8192. |
| aliquotId | Aliquot Id | Required. Text; maximum UTF-16 length 8192. |
| declaredParent | Declared Parent | Required. Text; maximum UTF-16 length 8192. |
| expectedParent | Expected Parent | Required. Text; maximum UTF-16 length 8192. |
| studyId | Study Id | Required. Text; maximum UTF-16 length 8192. |
| expectedStudy | Expected Study | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| parentMatches | Parent Matches | Required. Boolean. |
| studyMatches | Study Matches | Required. Boolean. |
| aliquotKey | Aliquot Key | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"sampleId": "S1",
"aliquotId": "A1",
"declaredParent": "P1",
"expectedParent": "P1",
"studyId": "ST1",
"expectedStudy": "ST1"
},
"output": {
"parentMatches": true,
"studyMatches": true,
"aliquotKey": "[\"ST1\",\"S1\",\"A1\"]"
}
} Limitations and assumptions
- Identity flags are independent and the key does not include declaredParent; no specimen lineage, sample contents, study authority, or chain of custody is 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.
Alternative or Complementary methods
Review the controlled study records and audit trail for the complete evidentiary chain. Resolve duplicate identifiers, sampling units, and authorization rules before drawing study-level conclusions.
References
Similar or alternative tools
- GLP Sample Lot Parent Token
Test lotId in knownLotIds and flag any prior record linking the same sampleId to a different lot, then return a lot/sample JSON-array key.
- GLP Study Personnel Role Window
Independently test personId in authorizedPeople, role in authorizedRoles, and eventDay inside the inclusive window.