Description
Validate oldDays+newDays within monthDays 1-31 and nonnegative monthly rates and credits.
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.
Validate oldDays+newDays within monthDays 1-31 and nonnegative monthly rates and credits.
When to use this tool
Use Insurance Premium Family Tier Change when you need one transparent benefit or reimbursement component under a declared rule.
How to use the tool and how it works
- Enter oldMonthly, newMonthly, oldDays, newDays, monthDays, credits. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read oldProration, newProration, netPremium. Use the output convention below.
Validate oldDays+newDays within monthDays 1-31 and nonnegative monthly rates and credits. Prorate each tier by its assigned days and subtract credits from their sum.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| oldMonthly | Old Monthly | Required. Finite number; minimum 0. |
| newMonthly | New Monthly | Required. Finite number; minimum 0. |
| oldDays | Old Days | Required. Safe integer; minimum 0. |
| newDays | New Days | Required. Safe integer; minimum 0. |
| monthDays | Month Days | Required. Safe integer; minimum 1; maximum 31. |
| credits | Credits | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| oldProration | Old Proration | Required. Finite number. |
| newProration | New Proration | Required. Finite number. |
| netPremium | Net Premium | Required. Finite number. |
{
"input": {
"oldMonthly": 100,
"newMonthly": 200,
"oldDays": 10,
"newDays": 20,
"monthDays": 30,
"credits": 5
},
"output": {
"oldProration": 33.333333333333336,
"newProration": 133.33333333333334,
"netPremium": 161.66666666666666
}
} Limitations and assumptions
- Unused month days are allowed and netPremium may be negative; dates, tier eligibility, actual insurer policy, and monetary rounding are not inferred.
- 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
Similar or alternative tools
- Premium Proration Calendar Flag
Validate positive calendar and supplied basis periods with covered days within each.
- Provider Payment Capitation Month Term
Multiply nonnegative monthlyRate by riskWeight and enrolled-day share, then add signed adjustment for totalPayment.