Django Projects

Hospital Management System in Python Django with Source Code

A fully functional project based on Hospital Management System which uses Python with Django Web Framework. Following Django project contains all the important features which can be in use for the first year, second year IT students for their college projects. It has a number of important features that will allow the users to manage the hospital’s records. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free hospital management system project in Python Django with source code files, please scroll down to the bottom of this post for the Download button.

About Hospital Management System Django Project

In particular, this hospital management system project in Python Django focuses mainly on dealing with hospital records. Also, the system displays all the available appointments with their respective details. In addition, the system allows managing patients’ records. Evidently, this project is divided into three categories: Patient, Doctor, and Admin Panel. In an overview of this web application, a patient can simply register and start using it. Initially, the action requires approval from the admin. In fact, he/she has to apply for it. However, each application requires action from the administrator which depends upon their approval or disapproval. By default, every patient needs to provide symptoms details. In addition, the customer can view their appointment and view hospital bills.

Doctor Panel

Likewise, a user can register himself/herself as a doctor. However, each registration requires action from the administrator which depends upon their approval or disapproval. Meanwhile, the user can view their respective patient details as well as their appointments. In fact, the doctor has the right to manage the appointments of their respective patients. Before stepping on to, almost every step requires approval from the admin before the doctor can view the records. With it, the doctor can only view their assigned patient’s record. Although the role of a doctor is a bit minor, it plays an important role in maintaining the flow within the system.

Admin Panel

On the other hand, an admin has full control of the system. An admin manages the proper flow of the system, unlike every other user. The user can have an overview of each data. The admin has the right to approve/decline the various requests. By the way, the admin can only book an appointment and discharge patients. Nevertheless, the admin can proceed with the billing side of patients’ bills. In order to add billings, an admin has to provide details such as room charges, doctor fees with medicine, and other charges. Having said that, the user can also view and download bills receipt. Above all, the user can list patient and doctor’s records too. Apart from these, the system lists out overall records to total applicants under various sections. In fact, these sections include approved, declined, and pending records. Furthermore, the admin can manage all appointments.

Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Hospital Management System Project in Python Django Framework. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Online Hospital System Project in Python Django which includes an admin panel with a patient and doctor panel that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features
  • Patient Panel
  • Doctor Panel
  • Admin Panel
  • Create Appointments
  • Manage Appointments
  • Generate Bills
  • Discharge Patients
  • Approve/Decline Request
  • Download Bills
Project Name:Hospital Management System Django
Language/s Used:Python with Django Web Framework
Database:SQLite
Type:Web Application
Developer:Sumit Kumar
Updates:0
Hospital Management System Django Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to the project root folder.
  • You can also create a Virtual Environment and Activate it.
  • Open your Terminal/Command Prompt on the project’s root folder.
  • Install the Requirements: pip install -r requirements.txt.
  • Then, make database migrations: python manage.py makemigrations
  • python manage.py migrate
  • And finally, after a successful migration run the application: python manage.py runserver
  • At last, open up your favorite web browser
  • Go to URL “http://127.0.0.1/[ PORT_NUMBER ]/“
  • For the Admin Panel credentials, you have to create one with a superuser.

And there you have it, a full setup of the Hospital Management System project in Django. At First, all you need to have is Python and Django installed on your local machine, whereas the remaining modules are under the requirements.txt file. Still, the versions may vary according to different project requirements, you can make use of it with python virtual environments. Also, Download Free Hospital Management System Project in Python Django Source Code. So, this Hospital Management System in Django is a fully functional project for all the beginner levels. Indeed, it helps to broaden vast knowledge into such Django web applications. In conclusion, this whole Django project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Hospital Management System Project in Python Django with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose
adminastro

View Comments

  • (myvenv) C:\Users\NIC\Desktop\Python Docs\Django Installation>python manage.py makemigrations
    System check identified some issues:

    WARNINGS:
    hospital.Appointment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HospitalConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hospital.Doctor: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HospitalConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hospital.Patient: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HospitalConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    hospital.PatientDischargeDetails: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
    HINT: Configure the DEFAULT_AUTO_FIELD setting or the HospitalConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
    No changes detected

    how to resolve

    Thank you
    Randheer Kumar

  • Hello
    excelent project..
    I have a problem with contacts
    When I send information,,, I have error server 500
    this is my setting file
    for contact us give your gmail id and password
    #EMAIL_BACKEND ='django........

  • it's worked find with me without any error, but when you open the project, any one can be admin by registering his information.
    how it can be work like that?

  • Very interesting material, could you please summarise which technologies and methods did you use in this project, I would like to broke in pieces for better study/understanding.

  • hey, i'm getting this error when i run 'manage.py':

    Watching for file changes with StatReloader
    Exception in thread django-main-thread:
    Traceback ................
    ModuleNotFoundError: No module named 'xhtml2pdf'

    could you please help me out?

    • Your issue is mentioned in the error "No module named ‘xhtml2pdf’"
      Simple install xhtml2pdf library

Recent Posts

Membership Management System in PHP with Source Code

A fully functional project based on a membership management system that uses PHP Language with MySQL…

10 months ago

Clinic Management System in PHP Laravel with Source Code

A fully functional project based on a clinic management system that uses PHP Language with Laravel…

10 months ago

Sales and Invoice Management System in PHP Laravel with Source Code

A fully functional project based on a sales and invoice management system that uses PHP Language…

12 months ago

POS and Inventory Management System in PHP CodeIgniter with Source Code

A fully functional project based on POS and Inventory Management System which uses PHP Language with CodeIgniter Web…

12 months ago

Ecommerce Website in PHP Laravel with Source Code

A fully functional project based on an ecommerce website that uses PHP Language with Laravel Web Framework.…

1 year ago

POS System in PHP Laravel with Source Code

A fully functional project based on a POS System that uses PHP Language with Laravel Web Framework. The…

1 year ago

This website uses cookies.