Skip to content

Main content

Care Hour Weekend Base Flag Tool

Calculate care hour weekend base flag from explicit caller-supplied inputs.

Loading tool…

Description

Return countedHours=weekdayHours plus weekendHours only when includeWeekend.

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.

Return countedHours=weekdayHours plus weekendHours only when includeWeekend.

When to use this tool

Use Care Hour Weekend Base Flag when you need one explicit service-record, clock, consent-annotation, or resource-allocation check.

How to use the tool and how it works

  1. Enter weekdayHours, weekendHours, weekendMultiplier, includeWeekend. 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 countedHours, weightedHours. Use the output convention below.

Return countedHours=weekdayHours plus weekendHours only when includeWeekend. Return weightedHours using weekendHours*weekendMultiplier for that included portion, requiring nonnegative inputs.1

Input fieldMeaning and unitsAccepted input
weekdayHoursWeekday HoursRequired. Finite number; minimum 0.
weekendHoursWeekend HoursRequired. Finite number; minimum 0.
weekendMultiplierWeekend MultiplierRequired. Finite number; minimum 0.
includeWeekendInclude WeekendRequired. Boolean.
Output fieldInterpretationReturned shape
countedHoursCounted HoursRequired. Finite number.
weightedHoursWeighted HoursRequired. Finite number.
json
{
  "input": {
    "weekdayHours": 30,
    "weekendHours": 10,
    "weekendMultiplier": 1.5,
    "includeWeekend": true
  },
  "output": {
    "countedHours": 40,
    "weightedHours": 45
  }
}

Limitations and assumptions

  • The multiplier is supplied and not necessarily a pay rate or clinical weighting. The tool does not establish actual care delivered, staffing requirements, compensation, or entitlement.
  • 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

  1. Calculation and input contract: social-work/care-hour-weekend-base-flag — tool.io

Similar or alternative tools