Description
Compute calendar-coordinate overdue span under an explicit completed flag; no business-day calendar.
Support-service records distinguish appointments, action times, review windows, consent annotations, and allocation of shared resources. A supplied flag or time margin can support bookkeeping while case evidence, professional judgment, and applicable obligations remain separate.
Compute calendar-coordinate overdue span under an explicit completed flag; no business-day calendar.
When to use this tool
Use Support Action Overdue Days when you need one explicit service-record, clock, consent-annotation, or resource-allocation check.
How to use the tool and how it works
- Enter dueDay, cutoffDay, completed. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overdueDays. Use the output convention below.
Return overdueDays zero when completed, otherwise max(0,cutoffDay-dueDay).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| dueDay | Due Day | Required. Finite number. |
| cutoffDay | Cutoff Day | Required. Finite number. |
| completed | Completed | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overdueDays | Overdue Days | Required. Finite number. |
{
"input": {
"dueDay": 10,
"cutoffDay": 15,
"completed": false
},
"output": {
"overdueDays": 5
}
} Limitations and assumptions
- The supplied completion flag overrides timing without a completion date. This is a numeric day-index rule, not a business-day calendar, verified case status, or determination of service obligations.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
Check source records, case context, and the applicable professional or legal requirements before using these flags or margins for a service decision.
References
Similar or alternative tools
- Support Action Review Gap
Compare supplied action and review clocks against an explicit interval; no service policy is selected.
- Care Hour Weekend Base Flag
Return countedHours=weekdayHours plus weekendHours only when includeWeekend.