Skip to content

Main content

Public Health Voucher Expiry Credit Term Tool

Calculate public health voucher expiry credit term from explicit caller-supplied inputs.

Loading tool…

Description

Return unspent value as usableCredit before expiry under the supplied equality rule, otherwise return its refundable fraction.

Health-benefit calculations depend on explicit eligibility flags, coverage periods, caps, exclusions, and payment order. Applying supplied arithmetic is separate from determining actual insurance terms or a legally payable claim.

Return unspent value as usableCredit before expiry under the supplied equality rule, otherwise return its refundable fraction.

When to use this tool

Use Public Health Voucher Expiry Credit Term when you need one transparent benefit or reimbursement component under a declared rule.

How to use the tool and how it works

  1. Enter faceValue, redeemed, expiryDay, useDay, inclusive, refundableFraction. 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 unspent, usableCredit, refundableCredit. Use the output convention below.

Require faceValue at least nonnegative redeemed and refundableFraction in [0, 1]. Return unspent value as usableCredit before expiry under the supplied equality rule, otherwise return its refundable fraction.1

Input fieldMeaning and unitsAccepted input
faceValueFace ValueRequired. Finite number.
redeemedRedeemedRequired. Finite number; minimum 0.
expiryDaySupplied numeric expiry-day coordinate; endpoint inclusion follows the stated rule.Required. Safe integer.
useDayUse DayRequired. Safe integer.
inclusiveInclusiveRequired. Boolean.
refundableFractionRefundable FractionRequired. Finite number; minimum 0; maximum 1.
Output fieldInterpretationReturned shape
unspentUnspentRequired. Finite number.
usableCreditUsable CreditRequired. Finite number.
refundableCreditRefundable CreditRequired. Finite number.
json
{
  "input": {
    "faceValue": 100,
    "redeemed": 30,
    "expiryDay": 100,
    "useDay": 101,
    "inclusive": true,
    "refundableFraction": 0.5
  },
  "output": {
    "unspent": 70,
    "usableCredit": 0,
    "refundableCredit": 35
  }
}

Limitations and assumptions

  • Day inputs are numeric coordinates; expiry handling and refund fractions are supplied rather than actual program terms or legal rights.
  • 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

Confirm policy terms, verified enrollment, claim eligibility, and appropriate accounting or legal interpretation before relying on a payment result.

References

  1. Calculation and input contract: health-policy/public-health-voucher-expiry-credit-term — tool.io

Similar or alternative tools