Ethiopian-Health-Insurance-Service / openimis-be-insuree_py_old

The openIMIS Backend Insuree reference module
Other
0 stars 0 forks source link

šŸš€ Feature : Members and Families [Beneficiaries] - Adding Custom Field Backend #1

Open mngoe opened 1 month ago

mngoe commented 1 month ago

Based on documents shared, different fields should be adjusted in openIMIS :

- SHI-ID : No structure of code has been shared at this stage, so no control can be done to check if the SHI Id follows the normal structure of SHI organization. We can use Insurance No field to define for each member.

- Kebele ID : No structure of Kebele/National ID is defined for now, so no control can be done to check if this follows the normal structure. This ID is not unique.

- National ID : No structure of National ID is defined for now, so no control can be done to check if this follows the normal structure. This ID should be unique. To control unicity on the frontend , we will use the ValidatedTextInput component that can check unicity of values present in the database linked to a GraphQL Request.

- Employment Type : Select field to define which type of employment has the Member. Value should be :

Permanent Probation Contract

- Remarks : Adding a Textfield in the insuree form and table.

On backend , just add those field in models , also add them in GQL in order for frontend to manage those values.

mngoe commented 1 month ago

Hi @Lishaneticha,

This change seems OK, but please remember to use feature-XXXX branch (you can just create a branch from the github issue interface. Just click on Create a branch on the right panel) for your next changes and do a PR to the develop-ethiopia in order to follow exactly changes done for this tickets.

Lishaneticha commented 1 month ago

@mngoe oh ok I will create a feature branch when I'm done with the rest of the custom fields.