Skip to content

Main content

Rheumatology Lab Collection Gap

Compare explicit laboratory collection timestamps on a common time axis without determining a testing interval.

Loading tool…

Description

Measure the signed interval between two laboratory collections.

Rheumatology records distinguish observed findings, unassessed joints, anatomical chart labels and instrument/source versions. A not-assessed state differs from an assessed negative finding, while a censored laboratory value differs from an exact measurement. Durations and labels retain their source conventions and do not themselves constitute a diagnosis or disease-activity score.

Measure the signed interval between two laboratory collections.

When to use this tool

Use Rheumatology Lab Collection Gap when you already have firstCollectionSeconds, secondCollectionSeconds and need to measure the signed interval between two laboratory collections.

How to use the tool and how it works

  1. Enter firstCollectionSeconds, secondCollectionSeconds. 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 signedGapSeconds. Use the output convention below.

Return secondCollectionSeconds-firstCollectionSeconds.1

Input fieldMeaning and unitsAccepted input
firstCollectionSecondsFirst Collection SecondsRequired. Finite number.
secondCollectionSecondsSecond Collection SecondsRequired. Finite number.
Output fieldInterpretationReturned shape
signedGapSecondsSigned Gap SecondsRequired. Finite number.
json
{
  "input": {
    "firstCollectionSeconds": 100,
    "secondCollectionSeconds": 400
  },
  "output": {
    "signedGapSeconds": 300
  }
}

Limitations and assumptions

  • Negative gaps are retained; no collection recommendation, sample stability or clinical trend is inferred.
  • 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

Review the original chart, instrument version and laboratory reporting convention for substantive interpretation. Preserve unassessed findings and censoring separately from recorded negatives and exact values; a local label or duration conversion does not assemble a disease-activity assessment.

References

  1. Calculation and input contract: rheumatology/rheumatology-lab-collection-gap — tool.io

Similar or alternative tools