Skip to content

Main content

Dialysis Log Paused Active Time Tool

Recorded session-time accounting from explicit pause durations and their supplied overlap correction, without treatment-duration recommendations.

Loading tool…

Description

Compute grossMinutes as end minus start.

Time-window accounting separates gross duration, overlap, pauses, and eligible exposure. A fraction is interpretable only when its numerator and denominator use compatible intervals and units.

Compute grossMinutes as end minus start.

When to use this tool

Use Dialysis Log Paused Active Time when you need to reconcile explicit durations or interval support.

How to use the tool and how it works

  1. Enter startMinutes, endMinutes, recordedPauses, overlapCorrection. 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 grossMinutes, pauseUnionMinutes, activeMinutes. Use the output convention below.

Compute grossMinutes as end minus start. Subtract overlapCorrection from the sum of recordedPauses, then subtract this pause union from gross time.1

Input fieldMeaning and unitsAccepted input
startMinutesStart MinutesRequired. Finite number.
endMinutesEnd MinutesRequired. Finite number.
recordedPausesRecorded PausesRequired. Array of finite number; maximum items 256.
overlapCorrectionOverlap CorrectionRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
grossMinutesGross MinutesRequired. Finite number.
pauseUnionMinutesPause Union MinutesRequired. Finite number.
activeMinutesActive MinutesRequired. Finite number.
json
{
  "input": {
    "startMinutes": 0,
    "endMinutes": 240,
    "recordedPauses": [
      10,
      20
    ],
    "overlapCorrection": 5
  },
  "output": {
    "grossMinutes": 240,
    "pauseUnionMinutes": 25,
    "activeMinutes": 215
  }
}

Limitations and assumptions

  • The caller must already know overlapCorrection; pauses are durations rather than intervals and cannot be deduplicated automatically.
  • 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 timestamped intervals to calculate overlap unions when summed durations and supplied corrections are insufficient.

References

  1. Calculation and input contract: nephrology/dialysis-log-paused-active-time — tool.io

Similar or alternative tools

  • Collection Pause Support Share

    Sum active time and the active time marked complete; divide supported by all active time.

  • Midwifery Clock Pause Credit

    When creditPauses is true, subtract paused minus overlapWithOtherCredit from elapsed and return that deduction as pauseCredit; otherwise deduct zero.