Skip to content

Main content

Specimen Site Label Token Tool

Match opaque supplied specimen-site labels without anatomical inference.

Loading tool…

Description

Return literal membership of label and its zero-based index, or -1 when absent.

Gynecologic research and care records can contain specimen labels, questionnaire states, source keys, and consent flags. A local metadata check preserves a supplied convention without determining a clinical finding or verifying permission.

Return literal membership of label and its zero-based index, or -1 when absent.

When to use this tool

Use Specimen Site Label Token when you need one explicit research-record or permission-metadata component.

How to use the tool and how it works

  1. Enter label, suppliedLabels. 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 recognized, index. Inspect recognized before interpreting the associated values.

Require distinct suppliedLabels. Return literal membership of label and its zero-based index, or -1 when absent.1

Input fieldMeaning and unitsAccepted input
labelFormatted representation of the supplied record; not independent verification.Required. Text; maximum UTF-16 length 8192.
suppliedLabelsSupplied LabelsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
recognizedWhether the token matches the supplied vocabulary or supported mapping.Required. Boolean.
indexZero-based position under the stated lookup convention, including any -1 sentinel.Required. Safe integer.
json
{
  "input": {
    "label": "A",
    "suppliedLabels": [
      "A",
      "B"
    ]
  },
  "output": {
    "recognized": true,
    "index": 0
  }
}

Limitations and assumptions

  • The supplied vocabulary does not establish anatomical correctness, specimen identity, site verification, or a clinical finding.
  • 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 verified records, privacy and consent requirements, and appropriate professional interpretation before clinical or contact decisions.

References

  1. Calculation and input contract: gynecology/specimen-site-label-token — tool.io

Similar or alternative tools