Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The rules for the Formal Sector can be complex and evolving. Therefore, the "Formal Sector" solution should bring flexibility, to avoid complete redesign and databases change when a parameter to define the contribution value is changed.
To bring that flexibility, the solution described here uses a Calculation Rule (the Calculation Rules are defined in additional openIMIS modules extending the Calculation Module). This module is defining a framework to design calculations and to manage their activation and version versioning in openIMIS. The calculation rule themselves will be in the form of other modules, dependent on the Calculation Module. This solution will deliver a Calculation Module that takes the income (on the level of the contribution collection detailsContract’s insuree) and a rate (on the level of the contribution planContribution Plan) as parameters, make the calculation and updates the payment value of the Contract’s insuree.
The value of the parameters will be saved as a JSON string in the json_ext field.
Later, this module could be used as a framework to create event-based actions

...