Closed ChiragGupta16 closed 3 months ago
Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.
@ChiragGupta16 But always raise the pr by creating your own seprate branch never commit in main branch
Closes: Issue #34
Describe the add-ons or changes you've made 📃
Firstly I inserted a new option under Service dropdown named "Healthcare Programs". Then I inserted a option named "Diabetes Test" under it. For implementing it, I trained a model which I saved in ".keras" format and uploaded it in a new folder "dlModels" under models folder. The main code lies in the "source\features\healthcarePrograms\diabetes_test.py" where I created functions containing the form to be filled by the user, loading the model and returning the test result. I imported these functions in "main.py" and implemented it in a short & neat manner using "if statements".
During testing, I found a bug which greeted me every time when I change options, so I fixed the issue by adding a few statements it in "mains.py". Added a comment line before the new greetings code.
Before making the modifications, I gone through whole code and contributed in the same style of the project maintaining the project layout and all new created variables in "main.py" are named after diabetes test to avoid conflicts in future. Also the number of new variables are kept to minimum.
Type of change ☑️
What sort of change have you made:
How Has This Been Tested? ⚙️
I logged in using SuperAdmin, Admin, user and also a created a new ID to test out the features. After login, the greetings were given only once. On selecting the "Diabetes Test" from dropdown, a form appears in which I submitted the validation data of the model. The correct results were shown in the desired manner.
Checklist: ☑️
Screenshots 📷
The userName, service type and Program
Diabetes Test Form
Example Result
Note to reviewers 📄
I created a new Service for Healthcare because I did not find Diabetes Test fit among Basic Programs. Moreover, I intend to contribute more in Healthcare section.