Skip to content

Main content

Trial Document Age At Event Tool

Calculate trial document age at event from explicit caller-supplied inputs.

Loading tool…

Description

Return eventAt minus documentAt as age and flag futureDocument when documentAt is later than eventAt.

Clinical-trial record intervals track events, query clocks, pauses, and delegation periods. Duration arithmetic requires a common time origin and policy for excluded intervals; it does not authenticate records or establish acceptable trial conduct.

Return eventAt minus documentAt as age and flag futureDocument when documentAt is later than eventAt.

When to use this tool

Use Trial Document Age At Event when you need an explicit clinical-trial record-duration or overlap calculation.

How to use the tool and how it works

  1. Enter documentAt, eventAt. 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 age, futureDocument. Inspect futureDocument before interpreting the associated values.

Return eventAt minus documentAt as age and flag futureDocument when documentAt is later than eventAt.1

Input fieldMeaning and unitsAccepted input
documentAtDocument AtRequired. Finite number.
eventAtEvent AtRequired. Finite number.
Output fieldInterpretationReturned shape
ageAgeRequired. Finite number.
futureDocumentFuture DocumentRequired. Boolean.
json
{
  "input": {
    "documentAt": 10,
    "eventAt": 25
  },
  "output": {
    "age": 15,
    "futureDocument": false
  }
}

Limitations and assumptions

  • Times must share a numeric unit and origin. Negative age is retained as a diagnostic; no document version, timestamp authenticity, trial suitability, or retention requirement is established.
  • 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

Use the trial protocol, controlled records, and relevant procedures for actual decisions. Resolve time units, clock references, pause authorization, and source evidence before applying a timing rule.

References

  1. Calculation and input contract: gcp/trial-document-age-at-event — tool.io

Similar or alternative tools