Objective

Provide a mechanism to increase the performance to calculate the balance per insuree - currently full table scans. It will be used by both modular BE and REST API.

Solution

Create a policy_balance table with those columns per “benefit”

MVP

Initial update

Schedule task to update