Skip to content

This project implements a machine learning-based triage system for emergency rooms, which classifies patients based on their symptoms and vitals using a Random Forest Classifier. The system features real-time patient data integration, a user-friendly GUI built with Tkinter, and secure patient data encryption using Fernet from the cryptography lib

Notifications You must be signed in to change notification settings

Yuji1702/AI--Powered-Triage-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation


AI-Powered Triage System for Emergency Rooms

This project implements an AI-powered triage system designed to streamline the triage process in emergency rooms by prioritizing patients based on the severity of their condition using machine learning techniques.

Features

  • Patient Data Management: Load, preprocess, and manage patient data from a CSV file.
  • Triage Classification: The system determines a patient’s triage level based on their symptoms and vitals.
  • Machine Learning: Utilizes a Random Forest Classifier to predict triage levels based on historical data.
  • Real-Time Data Integration: Simulates real-time patient data and integrates it into the triage queue.
  • Graphical User Interface (GUI): Built with Tkinter to allow for easy data entry, display the patient queue, and visualize triage distribution.
  • Data Security: Incorporates encryption and decryption of sensitive patient data using cryptography's Fernet module.

Prerequisites

Install the necessary Python libraries using: bash pip install -r requirements.txt

requirements.txt includes:

  • pandas
  • numpy
  • scikit-learn
  • tkinter
  • matplotlib
  • seaborn
  • cryptography

Running the System

  1. Load Patient Data: The patient data is loaded from a CSV file.
  2. Preprocess the Data: The data undergoes preprocessing, which includes imputation of missing values, scaling of numeric data, and encoding of categorical variables.
  3. Model Training: The system trains a Random Forest Classifier to predict triage levels.
  4. GUI: The user can input new patient data via the GUI and view real-time updates of the triage queue and distribution graph.

To run the program: bash python main.py

GUI Overview

The GUI enables the user to:

  • Enter patient details like age, gender, symptoms, and vitals.
  • View the patient queue sorted by triage level.
  • See a graphical representation of the current triage level distribution.

Encryption & Decryption

Patient data is encrypted using the Fernet encryption system to ensure confidentiality.


This structure includes essential project details, setup instructions, and how to run the system. Let me know if you need any specific tweaks!

About

This project implements a machine learning-based triage system for emergency rooms, which classifies patients based on their symptoms and vitals using a Random Forest Classifier. The system features real-time patient data integration, a user-friendly GUI built with Tkinter, and secure patient data encryption using Fernet from the cryptography lib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages