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
- Enter plannedDueSeconds, asOfSeconds. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remainingSeconds, overdue. Inspect overdue before interpreting the associated values.
Return plannedDueSeconds-asOfSeconds and overdue when asOf>due.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| plannedDueSeconds | Planned Due Seconds | Required. Finite number. |
| asOfSeconds | As Of Seconds | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remainingSeconds | Remaining Seconds | Required. Finite number. |
| overdue | True only after the supplied due time; equality is not overdue. | Required. Boolean. |
{
"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
Similar or alternative tools
- Nursing Task Interruption Gap
Measure a recorded task interruption from pause to resumption.
- Nursing Observation Charting Delay
Measure signed charting delay after a supplied observation.