Coder Social home page Coder Social logo

hospital-management-system's Introduction

Hospital Management System

Developer - Aarya Chaumal

Functions

Admin

  • Signup their account. Then Login (No approval Required).
  • Can register/view/approve/reject/delete doctor (approve those doctor who applied for job in their hospital).
  • Can admit/view/approve/reject/discharge patient (discharge patient when treatment is done).
  • Can Generate/Download Invoice pdf (Generate Invoice according to medicine cost, room charge, doctor charge and other charge).
  • Can view/book/approve Appointment (approve those appointments which is requested by patient).

Doctor

  • Apply for job in hospital. Then Login (Approval required by hospital admin, Then only doctor can login).
  • Can only view their patient details (symptoms, name, mobile ) assigned to that doctor by admin.
  • Can view their discharged(by admin) patient list.
  • Can view their Appointments, booked by admin.
  • Can delete their Appointment, when doctor attended their appointment.

Patient

  • Create account for admit in hospital. Then Login (Approval required by hospital admin, Then only patient can login).
  • Can view assigned doctor's details like ( specialization, mobile, address).
  • Can view their booked appointment status (pending/confirmed by admin).
  • Can book appointments.(approval required by admin)
  • Can view/download Invoice pdf (Only when that patient is discharged by admin).

HOW TO RUN THIS PROJECT

  • Install Python(3.7.6) (Dont Forget to Tick Add to Path while installing Python)
  • Open Terminal and Execute Following Commands :
pip install django==3.0.5
pip install django-widget-tweaks
pip install xhtml2pdf

py manage.py makemigrations py manage.py migrate py manage.py runserver

- Now enter following URL in Your Browser Installed On Your PC

http://127.0.0.1:8000/


## CHANGES REQUIRED FOR CONTACT US PAGE
- In settins.py file, You have to give your email and password

EMAIL_HOST_USER = '[email protected]' EMAIL_HOST_PASSWORD = 'your email password' EMAIL_RECEIVING_USER = '[email protected]'

- Login to gmail through host email id in your browser and open following link and turn it ON

https://myaccount.google.com/lesssecureapps

## Drawbacks/LoopHoles
- Any one can be Admin. There is no Approval required for admin account. So you can disable admin signup process and use any logic like creating superuser.
- There should be at least one doctor in hospital before admitting patient. So first add doctor.
- On update page of doctor/patient you must have to update password.

hospital-management-system's People

Contributors

light2802 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.