Skip to content

Main content

Care Plan Task Due Time

Compare an explicit care-plan due timestamp with supplied as-of time without selecting a task deadline.

Loading tool…

Description

Measure remaining seconds to a supplied care-task due time.

Nursing records connect observations, chart-entry times, handoff identifiers, device assignments and task status. A timestamp delay differs from verified retrospective documentation, and a matching identifier differs from an authenticated specimen or handoff. Time windows and due times must retain their stated boundary rules.

Measure remaining seconds to a supplied care-task due time.

When to use this tool

Use Care Plan Task Due Time when you already have plannedDueSeconds, asOfSeconds and need to measure remaining seconds to a supplied care-task due time.

How to use the tool and how it works

  1. Enter plannedDueSeconds, asOfSeconds. 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 remainingSeconds, overdue. Inspect overdue before interpreting the associated values.

Return plannedDueSeconds-asOfSeconds and overdue when asOf>due.1

Input fieldMeaning and unitsAccepted input
plannedDueSecondsPlanned Due SecondsRequired. Finite number.
asOfSecondsAs Of SecondsRequired. Finite number.
Output fieldInterpretationReturned shape
remainingSecondsRemaining SecondsRequired. Finite number.
overdueTrue only after the supplied due time; equality is not overdue.Required. Boolean.
json
{
  "input": {
    "plannedDueSeconds": 600,
    "asOfSeconds": 500
  },
  "output": {
    "remainingSeconds": 100,
    "overdue": false
  }
}

Limitations and assumptions

  • Equality is not overdue; no task priority, appropriate due time, actual completion or required clinical action is determined.
  • 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

Reconcile original chart, specimen and handoff records when identity or completion matters. Use the documented workflow and actual care context for task timing; a literal match or supplied time margin is only one local record check.

References

  1. Calculation and input contract: nursing/care-plan-task-due-time — tool.io

Similar or alternative tools