This project is given by SBH sir
In a hospital there are N no of nurse in duty B no of working bed. We need to schedule the nurse in working bed such a way that duty of nurse will be equally distributed.
Begin
update(current_working_bed)
update(availabel nurse)
Sort the queue array of nurse respect of no_duty value in assending order.
for bed in (set of bed):
Chose a bed and 3 nurse from front of queue (delete)
nurse.bed <--- bed & duity_time
Increase the no_duty value of chosen nurse
Add those 3 nurse at the rear of the queue.
End for
suppress (queue of nurse)
(Try to improve it in a seperate branch)
- Nurse
- Bed / Patient / both
- Doctor (Not required in here )
...edit if you find more ....
A script has been created that is Backend/environment_setup.sh this file creat the django environment for first time
Prerequisits : Python and bash schould be installed
git clone https://github.com/Hexagon3/ProjectHospitalManagement.git
cd ProjectHospitalManagement
git checkout backend-django
bash ./windows_environment_setup.sh
To run Django server in local host the runserver scripts is also available
cd ProjectHospitalManagement
bash ./windows_runserver.sh
git clone https://github.com/Hexagon3/ProjectHospitalManagement.git
cd ProjectHospitalManagement
git checkout backend-django
bash ./linux_environment_setup.sh
To run Django server in local host the runserver scripts is also available
cd ProjectHospitalManagement
bash ./linux_runserver.sh