Skip to content

An online based platform for multiple hospitals. Ability to track, monitor, and share a patient's health records between all hospitals. Patients can also see information regarding multiple hospitals and doctors, as well as take appointments via online. Pay laboratory tests via online as well as chat with appointed doctors.

License

Notifications You must be signed in to change notification settings

Jawwad-Fida/HealthStack-System

Repository files navigation

HealthStack-System

  • An online platform that caters to multiple hospitals, enabling efficient tracking, monitoring, and sharing of patient health records between themselves. Patients can access information on various hospitals and doctors, book appointments online, purchase medicines from an online pharmacy, pay for laboratory tests via an integrated payment gateway, and even chat with their appointed doctors.
  • Software Engineering Project - B.Sc. in Computer Science and Engineering (CSE)

Contributors

Tools used:

  1) Programming Language and Libraries: Django (Python web framework), Bootstrap, JavaScript, Ajax, Django REST framework.
  2) Database: SQLite
  3) APIs used: MailTrap, SSLCommerz Payment Gateway, , Django PDF library, Django channels for chat, ngrok HTTP, PyPI packages.

Features

  • Users: Patient, Doctor, Hospital Admin, Lab Worker, Pharmacist

Patient

  1)  Search multiple Hospital → Department List → Search for Doctors
  2)  Doctor Profile → Book Appointment
  3)  Pay Appointment + Mail Confirmation 
  4)  Search all Doctors in all hospitals
  5)  Chat with appointed Doctor
  6)  View Prescription, Download Prescription (PDF)
  7)  Choose which tests to pay (Cart System, payment + mail confirmation)
  8)  View Report, Download Report (PDF)
  9)  Give Doctor Review
  10) Search for Medicines in Medical Shop (Pharmacy)
  11) Select which medicines to purchase (Cart system), pay total amount for medicines (payment + mail confirmation)

Doctor

  1)  Doctor Profile Settings (Add More feature)
  2)  Search multiple Hospital → Doctor register to hospital + upload certificate
  3)  (Once registered by admin) accept or reject patients appointment (mail confirmation send to patient)
  4)  Search patient profile → Create and view Prescription, view report
  5)  Chat with appointed Patient

Hospital Admin

  1)  Admin Dashboard
  2)  Accept or reject doctor registration (view doctor profile to see details)
  3)  CRUD Hospitals (Add more)
  4)  View Hospital List → CRUD Departments within hospital
  5)  CRUD Lab Worker
  6)  CRUD Pharmacist

Lab worker

  1)  Lab Worker Dashboard
  2)  Create Report for patient.
  3)  Create Tests for hospitals, View Tests

Pharmacist

  1)  Pharmacist Dashboard
  2)  CRUD Medicines
  3)  Search Medicine

APIs and PyPI packages used:

Django Rest Framework - toolkit for building web APIs

Django Widget Tweaks - tweak form field rendering in templates

Pillow - Python imaging library

Mailtrap API - smtp fake testing server

Django Environ - protecting credentials online (.env file)

SSLCommerz API - a payment gateway that provides various payment options in Bangladesh (debit card, credit card, mobile banking, etc.)

Django Debug Toolbar - configurable set of panels that display various debug information about the current request/response and when clicked

xhtml2pdf - to generate and download pdf documents.

Installation Details

  1) Create an environment to run django project  
  2) Migrate to create dbsqlite database 
  3) Look for .env.example and settings.py files to see what credentials to set up, and then create .env files
  
  The credentials that you need to set up are: Mailtrap credentials, SSLCommerz Credentials. 

Steps to start the app

  1) Start python virtual env
        python -m venv venv
  2) Activate the virtual environment venv
        source venv/bin/activate
  3) Install python pip paclages
        pip install -r requirements
  4) Create .env from  .env.example and add secret key
        cp .env.example .env
  5) Upgrade django framework
        pip install --upgrade djangorestframework-simplejwt
  6) Migrate DB 
        python manage.py migrate
  7) Start the application
        python manage.py runserver

MKDocs Documentation, Youtube Video and Presentation

Some Screenshots

Home page

Patient

Doctor

Hospital Admin

Pharmacist and Pharmacy

Lab Worker

About

An online based platform for multiple hospitals. Ability to track, monitor, and share a patient's health records between all hospitals. Patients can also see information regarding multiple hospitals and doctors, as well as take appointments via online. Pay laboratory tests via online as well as chat with appointed doctors.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks