Skip to content

4yushP4tel/mchacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CliniQ — Smart Clinic Queue & Triage System

CliniQ is an all‑in‑one clinic management system designed to streamline patient intake, queue prioritization, and wait‑time estimation. Built during McHacks 12, this project combines a web frontend, backend APIs, and data‑driven logic to improve clinic operations and patient experience.


🚀 Project Overview

Clinics often struggle with long waiting times, inefficient triage, and poor communication with patients. CliniQ addresses these challenges by:

  • Allowing patients to submit symptoms digitally
  • Automatically prioritizing patients based on severity and wait time
  • Providing clinics with a real‑time queue dashboard
  • Estimating wait times and notifying patients when they are next

🧠 Features

  • Symptom‑based patient triage
  • Dynamic queue prioritization
  • Estimated wait‑time calculation
  • Clinic dashboard for admitting and dismissing patients
  • Email notifications to patients
  • Full‑stack architecture (frontend, backend, database)

🧰 Tech Stack

Frontend

  • React
  • HTML / CSS / JavaScript

Backend

  • Python
  • Flask

Database

  • PostgreSQL

APIs & Services

  • RESTful API
  • OpenAI API (for prioritization logic)

📂 Repository Structure

mchacks/
├── backend/          # Flask backend & API logic
├── frontend/         # React frontend
├── requirements.txt
├── package.json
├── README.md
└── ...

🛠 Setup Instructions

1️⃣ Clone the repository

git clone https://github.com/4yushP4tel/mchacks.git
cd mchacks

2️⃣ Backend Setup (Python)

Create and activate a virtual environment:

macOS / Linux

python3 -m venv .venv
source .venv/bin/activate

Windows (PowerShell)

py -m venv .venv
.venv\Scripts\Activate.ps1

Install dependencies:

pip install --upgrade pip
pip install -r requirements.txt

3️⃣ Database Setup (PostgreSQL)

Create a PostgreSQL database:

createdb cliniq_db

Set your database connection string (example):

DATABASE_URL=postgresql://username:password@localhost:5432/cliniq_db

Apply any schema or migrations provided in the backend directory.


4️⃣ Frontend Setup (React)

cd frontend
npm install
npm start

The frontend will run at:
👉 http://localhost:3000


▶ Running the Application

  1. Start the backend server:
cd backend
python app.py
  1. Start the frontend (npm start)
  2. Open your browser and interact with the system as a patient or clinic admin

🧪 Example API Endpoints

Method Endpoint Description
POST /triage Submit symptoms & get priority
GET /patients Retrieve current queue
POST /admit Admit next patient
POST /dismiss Remove patient from queue

🧩 How It Works

  1. Patient submits symptoms through the frontend
  2. Backend evaluates severity and priority
  3. Patient is placed into a ranked queue
  4. Clinic staff manage admissions via dashboard
  5. Notifications are sent when patients are next

🏆 Hackathon & Team

Built during McHacks 12 and submitted on Devpost.

Team Members

  • Ayush Patel
  • David Preda
  • Jimmy Zhang
  • Isaiah Abella

Devpost submission:
https://devpost.com/software/cliniq-c702a8

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors