Description
When creditPauses is true, subtract paused minus overlapWithOtherCredit from elapsed and return that deduction as pauseCredit; otherwise deduct zero.
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.
When creditPauses is true, subtract paused minus overlapWithOtherCredit from elapsed and return that deduction as pauseCredit; otherwise deduct zero.
When to use this tool
Use Midwifery Clock Pause Credit when you need to reconcile explicit durations or interval support.
How to use the tool and how it works
- Enter elapsed, paused, overlapWithOtherCredit, creditPauses. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read netElapsed, pauseCredit. Use the output convention below.
When creditPauses is true, subtract paused minus overlapWithOtherCredit from elapsed and return that deduction as pauseCredit; otherwise deduct zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| elapsed | Elapsed | Required. Finite number; minimum 0. |
| paused | Paused | Required. Finite number; minimum 0. |
| overlapWithOtherCredit | Overlap With Other Credit | Required. Finite number; minimum 0. |
| creditPauses | Credit Pauses | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| netElapsed | Net Elapsed | Required. Finite number. |
| pauseCredit | Pause Credit | Required. Finite number. |
{
"input": {
"elapsed": 100,
"paused": 20,
"overlapWithOtherCredit": 5,
"creditPauses": true
},
"output": {
"netElapsed": 85,
"pauseCredit": 15
}
} Limitations and assumptions
- Pause overlap must already be known and within paused time; the tool does not infer scheduling or clinical time-credit policy.
- 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
Similar or alternative tools
- Maternity Equipment Rental Credit Balance
Multiply rentalDays by dailyPrice, subtract returnedDeposit from deposit for retainedDeposit, and calculate balance as rental charge + damageCharge + returnedDeposit - deposit - paid.
- Midwifery Study Mother Infant ID Scope
Test link equality and exact membership of purpose and audience in their approved lists; eligible requires all three and not revoked.