A Modern, Scalable & AI-Integrated Hospital Management System
Streamlining hospital operations with smart modules for patients, doctors, billing, appointments, and AI prescriptions.
The Hospital Management System (HMS) is a full-featured web application designed to digitize and automate hospital workflows including:
- 👨⚕️ Doctor Management
- 🧑🤝🧑 Patient Records
- 📅 Appointment Scheduling
- 💊 AI Prescription System
- 🧾 Billing & Invoices
- 🛏️ Ward Management
- 📊 Dashboard Analytics
- ⚙️ Admin Settings
This system provides a centralized dashboard for efficient hospital administration and real-time data management.
- 📊 Dashboard — Hospital analytics & overview
- 👨⚕️ Doctors Management — Add, edit, and manage doctors
- 🧑🦽 Patients Management — Patient registration & tracking
- 📅 Appointments System — Smart scheduling system
- 💊 AI Prescription — Intelligent prescription interface
- 🧾 Billing System — Invoice & payment management
- 🛏️ Ward Management — Bed & ward allocation tracking
- 🧭 Hospital Guide — Navigation & information system
- ⚙️ Settings Panel — System configuration
- 🔐 Authentication System — Secure login access
flowchart TD
A[User Accesses Hospital Management System] --> B[Frontend User Interface]
B --> C[Authentication Module]
C --> D[Login and Registration]
D --> E[Role Based Access Control]
E --> F[Admin Module]
E --> G[Doctor Module]
E --> H[Patient Module]
F --> I[Manage Doctors Patients Staff]
G --> J[View Appointments and Medical Records]
H --> K[Book Appointments and View Reports]
I --> L[Application Service Layer]
J --> L
K --> L
L --> M[Database Layer]
M --> N[Patient Records]
M --> O[Doctor Information]
M --> P[Appointment Data]
L --> Q[System Response]
Q --> R[Dashboard Visualization]
R --> S[Tables Charts and Reports]
- Built using React + TypeScript
- Handles UI rendering and user interaction
- Fully responsive using Tailwind CSS
- Clean and modern hospital dashboard design
| Module | Description |
|---|---|
| Dashboard | Analytics and system overview |
| Doctors | Doctor profile management |
| Patients | Patient records and history |
| Appointments | Scheduling and booking |
| Billing | Invoice and payment handling |
| AI Prescription | Smart medical prescription UI |
| Ward Management | Bed and ward tracking |
| Settings | System configuration |
/login → Authentication Page
/dashboard → Main Dashboard
/doctors → Doctor Management
/patients → Patient Records
/appointments → Appointment System
/billing → Billing Module
/ai-prescription → AI Prescription Page
/ward-management → Ward Allocation
/settings → System Settings
src/
│
├── pages/
│ ├── AIPrescription.tsx
│ ├── Appointments.tsx
│ ├── Billing.tsx
│ ├── Dashboard.tsx
│ ├── Doctors.tsx
│ ├── HospitalGuide.tsx
│ ├── Login.tsx
│ ├── Patients.tsx
│ ├── Settings.tsx
│ └── WardManagement.tsx
│
├── components/
├── assets/
├── hooks/
├── utils/
├── services/
└── main.tsx
| Technology | Role |
|---|---|
| ⚛️ React + TypeScript | Frontend Development |
| ⚡ Vite | Fast Build Tool & Dev Server |
| 🎨 Tailwind CSS | Modern UI Styling |
| 🟢 Node.js | Runtime Environment |
| 🧩 Component Architecture | Scalable UI Design |
- Node.js (v16 or higher)
- npm or yarn
git clone https://github.com/LoganthP/Hospital-Management-System.gitcd Hospital-Management-Systemnpm installnpm run devOpen in browser:
http://localhost:5173
- Secure Login Page
- Role-based system ready (Admin / Staff)
- Protected dashboard routes (extendable)
- Secure form validation support
- 📈 Patient statistics
- 👨⚕️ Doctor overview
- 📅 Appointment tracking
- 🏥 Hospital performance insights
- 📊 Real-time analytics (scalable)
- Assist doctors in generating prescriptions
- Improve diagnosis workflow
- Reduce manual medical errors
- Enhance digital healthcare experience
- Future AI API integration ready
- 🧼 Clean & professional hospital UI
- 📱 Fully responsive (Mobile + Desktop)
- 🧩 Modular component architecture
- ⚡ Fast performance with Vite
- 🎯 User-friendly navigation system
- 🔔 Notification System
- 🧬 AI Diagnosis Integration
- 🗃️ Database Integration (MongoDB / MySQL / PostgreSQL)
- 📱 Advanced Mobile Optimization
- 🧾 Advanced Billing Reports & Analytics
- 👨⚕️ Multi-role Admin Panel
- ☁️ Cloud Deployment Support
flowchart TD
A[Frontend React Vite] --> B[Backend Node Express API]
B --> C[Authentication Service]
B --> D[Patient Service]
B --> E[Doctor Service]
B --> F[Billing Service]
B --> G[AI Prescription Service]
C --> H[Database Layer]
D --> H
E --> H
F --> H
G --> H
H --> I[Medical and System Records Storage]