Interpret membership status and continuity by date
Purpose
Rhythm determines a holding’s standing and continuity from its effective periods and configured allowances.
How It Works
The caller supplies the holding’s terms and the date being evaluated. The engine identifies which periods have been effective and which cover that date. Suspension takes precedence over the period-based result. Grace and lapse follow the latest ended effective term when none covers the date. Classification choices distinguish activity with benefits from activity without them. Continuity groups effective periods using the configured gap allowance. The latest episode begun by the date remains the continuity reference even during a later lapse. Cache computation packages the current interpretation for the caller to persist. The sweep decisions identify relevant date boundaries and catch-up work. Membership storage and scheduling remain in the memberships module. The product should review grace-benefit behavior separately from the status vocabulary.
Relationships
- Programs and types supply grace, continuity and benefit inputs.
- Term-date computation determines the periods being interpreted.
- The memberships module persists caches and executes scheduled work.