Skip to content

Main content

GCP Query Open Close Clock Pause Tool

Calculate gcp query open close clock pause from explicit caller-supplied inputs.

Loading tool…

Description

Select closed as endpoint when isClosed is true or now otherwise.

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.

Select closed as endpoint when isClosed is true or now otherwise.

When to use this tool

Use GCP Query Open Close Clock Pause when you need an explicit clinical-trial record-duration or overlap calculation.

How to use the tool and how it works

  1. Enter opened, closed, paused, now, isClosed. 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 elapsed, activeDuration, closed. Inspect closed before interpreting the associated values.

Select closed as endpoint when isClosed is true or now otherwise. Require endpoint at least opened and paused between zero and elapsed; return elapsed, elapsed minus pause, and the closed flag.1

Input fieldMeaning and unitsAccepted input
openedOpenedRequired. Finite number.
closedClosure or endpoint state under the documented exact comparison.Required. Finite number.
pausedPausedRequired. Finite number; minimum 0.
nowNowRequired. Finite number.
isClosedIs ClosedRequired. Boolean.
Output fieldInterpretationReturned shape
elapsedElapsedRequired. Finite number.
activeDurationActive DurationRequired. Finite number.
closedClosure or endpoint state under the documented exact comparison.Required. Boolean.
json
{
  "input": {
    "opened": 100,
    "closed": 120,
    "paused": 5,
    "now": 130,
    "isClosed": true
  },
  "output": {
    "elapsed": 20,
    "activeDuration": 15,
    "closed": true
  }
}

Limitations and assumptions

  • Times share a unit and origin and the unused endpoint does not affect chronology. Pause duration is supplied, not reconstructed; no official query deadline or closure validity 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/gcp-query-open-close-clock-pause — tool.io

Similar or alternative tools