Skip to content

Main content

Assistive Device Loan Balance

Reconcile explicit assistive-device loan movements with exact integer arithmetic and a signed closing discrepancy.

Loading tool…

Description

Calculate an outstanding assistive-device loan balance.

Occupational-therapy records preserve the user's stated roles, goals, assistance and task context. Time shares and normalized preferences depend on their declared denominator or scale, while prompt counts are observations rather than measures of independence by themselves. Device geometry and loan balances need verified source records before broader interpretation.

Calculate an outstanding assistive-device loan balance.

When to use this tool

Use Assistive Device Loan Balance when you already have openingCount, issuedCount, returnedCount, writtenOffCount and need to calculate an outstanding assistive-device loan balance.

How to use the tool and how it works

  1. Enter openingCount, issuedCount, returnedCount, writtenOffCount. 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 outstandingCount. Use the output convention below.

Require nonnegative safe whole opening/issued/returned/written-off counts; compute opening+issued-returned-writtenOff using BigInt and export a safe integer.1

Input fieldMeaning and unitsAccepted input
openingCountOpening CountRequired. Safe integer; minimum 0.
issuedCountIssued CountRequired. Safe integer; minimum 0.
returnedCountReturned CountRequired. Safe integer; minimum 0.
writtenOffCountWritten Off CountRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
outstandingCountOpening+issued-returned-writtenOff; signed safe integer, so inconsistent records can yield a negative balance.Required. Safe integer.
json
{
  "input": {
    "openingCount": 10,
    "issuedCount": 4,
    "returnedCount": 3,
    "writtenOffCount": 1
  },
  "output": {
    "outstandingCount": 10
  }
}

Limitations and assumptions

  • Negative balances are retained and unsafe outputs rejected; actual stock, ownership, condition and suitable device use are not established.
  • 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

Review the original activity record, client-stated priorities and assessment instrument for a substantive assessment. Inspect actual devices and inventory when fit, condition or availability matters; scalar offsets and record counts preserve narrower facts.

References

  1. Calculation and input contract: occupational-therapy/assistive-device-loan-balance — tool.io

Similar or alternative tools