Description
Validate positive calendar and supplied basis periods with covered days within each.
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 positive calendar and supplied basis periods with covered days within each.
When to use this tool
Use Premium Proration Calendar Flag when you need one transparent benefit or reimbursement component under a declared rule.
How to use the tool and how it works
- Enter premium, calendarCoveredDays, calendarPeriodDays, suppliedCoveredBasisDays, suppliedPeriodBasisDays, useCalendar. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fraction, proratedPremium. Use the output convention below.
Validate positive calendar and supplied basis periods with covered days within each. Select the corresponding day fraction using useCalendar and multiply nonnegative premium by it.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| premium | Premium | Required. Finite number; minimum 0. |
| calendarCoveredDays | Calendar Covered Days | Required. Safe integer; minimum 0. |
| calendarPeriodDays | Calendar Period Days | Required. Safe integer; minimum 1. |
| suppliedCoveredBasisDays | Supplied Covered Basis Days | Required. Safe integer; minimum 0. |
| suppliedPeriodBasisDays | Supplied Period Basis Days | Required. Safe integer; minimum 1. |
| useCalendar | Use Calendar | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fraction | Dimensionless fraction on the stated basis; 0.1 represents 10%. | Required. Finite number. |
| proratedPremium | Prorated Premium | Required. Finite number. |
{
"input": {
"premium": 120,
"calendarCoveredDays": 15,
"calendarPeriodDays": 30,
"suppliedCoveredBasisDays": 14,
"suppliedPeriodBasisDays": 28,
"useCalendar": true
},
"output": {
"fraction": 0.5,
"proratedPremium": 60
}
} Limitations and assumptions
- Both bases must be supplied even when unused; no dates, insurer proration convention, eligibility, or contract terms are 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
- Health Benefit Coverage Calendar Proration
Calculate overlapping duration, divide by period duration, and multiply fullBenefit by that fraction.
- Insurance Premium Family Tier Change
Validate oldDays+newDays within monthDays 1-31 and nonnegative monthly rates and credits.