Versions Compared

Key

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

...

  • UC4-6: assign a credit note to contract: On contract approval, if there is a credit note not assigned to a contract, it will be assigned to the newly approved contract.

  • UC5-1: When a full payment is received for a contract, the policy of the policyholder insuree part of the contact will be renewed if needed

  • UC5-2: When a full payment is received for a contract, the insureepolicy of the policyholder insuree part of the contact will be activated

Authorities

To manage the group insurance several authorities will be added, the existing authorities have a "*" :

  • PolicyHolderContract

    • C/R/U/D (4 authorities)

    • Submit

    • Approve/ask for change

    • Amend

  • PolicyHolderContractDetails

    • C/R/U/D (4 authorities)

    • Approve

  • Payment

    • C*/R*/U*/D*(4 authorities)

    • Submit (TBC)

    • Validate

    • CreditNote

Details design

Back end module

Entities

Contract (Contribution Collection)

...

UUID (char(24) )

...

(HistoryBusinessModel)

  • PolicyHolderUUID (fk policyHolder)

  • AmountNotified (float)

    • Upon Automatic creation

  • AmountRectified (float)

    • Manual update from the policy holder

  • AmountDue (float)

    • Value approved by the Scheme admins

  • PaymentDateDue (date)

  • Status State (ConfigEnum:ContractStatus)

  • PayementReference(string)

  • Json_ext (json)

  • DateCreated(date)

  • DateUpdate(date)

  • UserUpdateUUID(fk users)

  • UserCreateUUID (fk users)

  • ContractFrom (date)

  • ContractTo (date)

Entity ContractDetails (input) -

...

under Contract (HistoryModel)

  • ContractUUID (fk Contract)

  • PolicyHolderInsureeUUID (fk PolicyHolderInsuree)

  • ContributionPlanBundleUUID:Version(fk ContributionPlanBundle)Json_ext (json)

  • Json_param (json)

    • PolicyHolderInsuree parameters

  • Json_param_history (json)

    • Same as Json_ext but for audits

  • DateCreated(date)

  • DateUpdate(date)

  • UserUpdateUUID(fk users)

  • UserCreateUUID (fk users)

Entity ContractContributionPlanDetails (output) - under ContractDetails

...

(

...

HistoryModel)

...

  • Version ( integer - to be used for optimistic locking)

  • ContributionPlanUUID (fk_contributionPlan)

  • PolicyUUID (fk_policy)

  • ContractDetailsUUID 

  • Json_ext (json)

    • ContributionPlan parameters

  • DateCreated(date)

  • DateUpdate(date)

  • UserUpdateUUID(fk users)

  • UserCreateUUID (fk users)

Details design

...

Back end module

Mutations

...

ContributionPlan parameters will be stored in the json_ext part of the HistoryModel

Mutations

Authorities

To manage the group insurance several authorities will be added, the existing authorities have a "*" :

  • PolicyHolderContract

    • C/R/U/D (4 authorities)

    • Submit

    • Approve/ask for change

    • Amend

  • PolicyHolderContractDetails

    • C/R/U/D (4 authorities)

    • Approve

  • Payment

    • C*/R*/U*/D*(4 authorities)

    • Submit (TBC)

    • Validate

    • CreditNote

Services

Front end

search page

...