Skip to content

Hexagon3/ProjectHospitalManagement

Repository files navigation

Branch and their worker (Temporary Notes)

Chapter 2 : Admin module

Aritra -- working with admin-model

Project Hospital Management

This project is given by SBH sir

Problem Statement :

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.

Probable Algorithm :

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)

End

(Try to improve it in a seperate branch)

Class or data model for Database.

  1. Nurse
  2. Bed / Patient / both
  3. Doctor (Not required in here )
    ...edit if you find more ....

Environment setup and runserver

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

For Windows user

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

For Linux or unix user

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published