Versions Compared

Key

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

...

This module will use a "generic contribution" to get the required parameters and the ExtJson database field will be used to save the parameters (generic backend feature) finally a signal will trigger the calculation/actions. Image Removed 

Plantumlcloud
filenameprocess.png
dataxVZta9swEP41hvRDwUu6HxDSDfJhUCiB7aMsXRw1smQkOY3//U4ny1FTu80YY2CCHN3Lc889d0nxUDrPrO8aVZRrxr2xxbKkZ+n4ARrA81o0UuMXeGQOPzh7ZwvaW2itdMGeK7DHzB442qOF9H20Ni3o7Y/tM77trdEetIgXycPIPcz7VIwfJ1yq4IJPbU3X4jePsJc64PEHQsUU75j0Roe0hH24QARWVp2XdNUqpjEKFrks7++L1beEZ7WmXE7WOg/acTZ4NkZ0ihKaYDkTGlF/3WimjK7HMK1FV+6DF9XVgpVGIApKnOOoBhyOneCTCsh40jeSF33hhCxHKvMwTxhjJ5gHETgmXgfK6ZzRzMQlWMssa8CDdcGezzB4nAPOjVLAUxWshikGUhzEpQwTUQJ5i6+7cZXkErNYbd6TswfPD2NEZAD7uMGT1Fx1QlLTKI9KiRDBgfmIgwjI9CVpXhSqZuytqV6AWi01jp7msNjtto93cZTkPrTkLJ0PmYjnWQLcwbyOQC0oODHq5C1NACH9VNcSyDfymuvEpJ6azidicsomMp1wdiAcFnD2L45cXll/dyW1pDNhrocYzl8GZU4X6bqqycr8SGz5PhiGb1n+/POib526sDLj4C3j2yYDtxmRPVMF4xDOxt68EeSofJIlTTYjUV8mJU29oB0pinGzZwOEeOoaLG2rtJWQp2Z63KIJI9gu+Cy6NuyPOfqp+0VY5o7yJ8WYBlySwKf9HzbT3K5+s5n6Jpb8weq/RRLpAppWmR7C8dd/18n3Tqn+ifX/VigRWCaUoQ9/I5T4a7gIr6dcLbgcOwvEvVGS95kkHko84B+W3w==
width
compressedtrue
revision1

Use cases

Back-end

UC14-1: add a new calculation (needs to change the openimis.json).
UC14-2: use the front end contribution to select a calculation.
UC14-3: use the fron end contribution to display the parameters required by multiple calculation for on object.
UC14-4: replace a calculation,
UC14-5: remove a calculation,

...

This method runs the calculation based on the object sending the signal, this means that the relationship with the other item required for the calculation could be found from the object sending the signal. (e.g., link to the product can be found in the policy as foreign key.)
This function should call the calculate(*args) function
Signal need to be set up on the ready function to call it

calculateUUID(*UUID)

Function that fetches the args from the UUID [order specific ?] then run the calculate(*args) function.

...

Standard contributions should be available for most of the entities (claims, contribution, contribution collection, policies, insuree ....)
Those contributions should get the parameters template from the backend and display the relevant ones. The values should be saved in the JsonExt fields