Complete Hospital Management System

Modern Healthcare
Management Platform

25+ fully integrated modules covering every aspect of hospital operations โ€” from patient registration to discharge, pharmacy to payroll, pathology to reporting. Built with Next.js, TypeScript, and MongoDB.

Next.js 15TypeScriptMongoDBTailwind CSSJWTREST API
๐Ÿ“ฆ

0+

Integrated Modules

๐Ÿ”—

0+

API Endpoints

๐Ÿ‘ฅ

0

Role Types

๐Ÿ“Š

0+

Report Types

๐Ÿ›ก๏ธ

0

Permission Modules

๐ŸŒ

0+

Languages

Platform Features

Everything You Need to
Run a Hospital

Built for real-world hospital workflows with modern technology and thoughtful UX.

๐Ÿ›ก๏ธ

Role-Based Access Control

12 distinct role types with a 24-module permission matrix. Each role has granular view, add, edit, delete permissions. Admin role bypasses all checks. Seeded with default permissions.

๐ŸŒ

Multi-Language Support

30+ languages powered by Google Translate with a native-feeling UI. Language selector with country flags in the header. Persists language preference across sessions.

๐ŸŒ™

Dark / Light Mode

Full dark and light theme toggle with localStorage persistence. CSS custom properties applied globally. All components, modals, and charts adapt to the current theme.

๐ŸŽจ

Advanced Theme Engine

Customizable primary, secondary, and accent colors with live preview. Font family and size selection. Border radius sliders. Preset themes. Changes apply globally via CSS variables.

๐Ÿ–จ๏ธ

Print & Export System

Print-ready layouts with configurable hospital header and footer. QR codes and barcodes on patient wristbands and reports. CSV and PDF export available across all DataTables and reports.

๐Ÿ“บ

Real-time Queue Display

Live waiting room display screen with auto-refresh. Shows current patient being seen, waiting list, and doctor assignments. Designed for TV/monitor display in waiting areas.

๐ŸŽฏ

Demo Mode System

Toggle demo mode from settings. When active, login pages show role-type buttons with auto-fill credentials. Any demo password works for any user. One demo user per role type for quick testing.

๐Ÿ“ฑ

Responsive & Collapsible UI

Fully responsive design for desktop, tablet, and mobile. Collapsible sidebar (260px โ†’ 70px) with icon-only mode and flyout submenus. Content area adjusts automatically with smooth transitions.

๐Ÿ”

Global Search

Unified search across 7 data categories with role-based filtering. Header search with grouped dropdown results. Full search page with recent history and quick access links.

๐Ÿ””

Notification System

Real-time notifications with 30-second polling. Categorized alerts for appointments, IPD, pharmacy, system events. Full notification management page with read/unread tracking.

๐Ÿ”ข

Configurable Prefixes

Auto-generated IDs for all modules using configurable prefix patterns. Case ID, IPD No, Bill No, UHID โ€” all customizable from settings with live preview.

๐Ÿ“Ž

File Upload System

Drag-and-drop file uploads for documents, images, and reports. Used in finance transactions, patient records, staff profiles, and more. Stored in public/uploads directory.

Module Suite

25+ Modules โ€” Every Department Covered

Each module is fully functional with CRUD, search, filtering, printing, role-based access, and configurable settings.

๐Ÿ“Š

Dashboard

10 features ยท 1 pages

Real-time analytics dashboard with role-based views. Interactive SVG charts for weekly appointment trends, revenue vs expense comparison, bed occupancy gauge, and department revenue donut charts. Smart widgets adapt based on user role โ€” admin sees everything, doctors see their patients, nurses see IPD stats.

Click to expand
๐Ÿ“…

Appointment Management

12 features ยท 3 pages

Complete appointment lifecycle from booking to completion. Multi-shift doctor scheduling, online and walk-in booking, real-time queue management with TV display screen, consultation workflow with prescription generation, and automated SMS/email reminders.

Click to expand
๐Ÿจ

OPD (Outpatient)

10 features ยท 2 pages

Streamlined outpatient department workflow with patient consultation, vitals recording, prescriptions, follow-up tracking, and OPD billing. Doctors can manage their queue, view patient history, and generate prescriptions in a single flow.

Click to expand
๐Ÿฅ

IPD (Inpatient)

15 features ยท 2 pages

Comprehensive inpatient management with 15+ tabs: admission with bed allocation, vitals & nurse notes, I/O chart tracking, medication administration history, operations, charges & billing, consultant register, bed transfers, discharge summary with print, and a complete patient timeline.

Click to expand
๐Ÿ’Š

Pharmacy

12 features ยท 3 pages

Full pharmacy management with medicine inventory, batch & expiry tracking, POS billing interface, purchase orders, supplier management, sale returns, and stock alerts. 8 types of pharmacy reports available.

Click to expand
๐Ÿ”ฌ

Pathology / Lab

10 features ยท 2 pages

Pathology lab module for test catalog management, sample collection tracking, automated report generation with parameter ranges, and comprehensive bill management. Supports test categories, parameters with normal ranges, and print-ready reports.

Click to expand
๐Ÿ“ก

Radiology

7 features ยท 3 pages

Radiology department management with test setup, charge categories, report generation, and billing. Supports all imaging modalities with parameter configuration and print-ready reports.

Click to expand
๐Ÿฉธ

Blood Bank

6 features ยท 1 pages

Blood bank inventory management with donor records, blood group stock tracking, component separation, issue records, and donor history.

Click to expand
๐Ÿš‘

Ambulance

6 features ยท 1 pages

Ambulance fleet management with vehicle tracking, trip records, driver assignment, call management, and billing integration.

Click to expand
๐Ÿ’ฐ

Finance & Billing

10 features ยท 2 pages

Complete financial tracking with income and expense management, category heads from settings, file attachments, monthly profit/loss summaries, and detailed financial reports. Currency symbol configurable from settings.

Click to expand
๐Ÿ‘จโ€๐Ÿ’ผ

Human Resource & Payroll

12 features ยท 11 pages

Complete HR suite with staff management, QR code attendance, leave management, duty roster, salary & hourly templates, overtime tracking, and payroll processing. Attendance settings fully configurable.

Click to expand
๐Ÿข

Front Office

6 features ยท 5 pages

Front desk operations including visitor management, phone call log, postal dispatch and receive, complaint tracking, and enquiry management.

Click to expand
๐Ÿ“‹

Birth & Death Records

6 features ยท 2 pages

Official birth and death record management with certificate generation, delivery type tracking, and statistical reporting.

Click to expand
๐Ÿฆ

TPA / Insurance

5 features ยท 1 pages

Third Party Administrator management for insurance claim handling, TPA organization setup, and claim tracking integrated with billing.

Click to expand
๐Ÿ“Š

Reports Center

12 features ยท 1 pages

Comprehensive reporting hub with 15 module categories and 50+ report types. Finance (daily, balance, group), Pharmacy (8 sub-reports: bill, stock, expiry, purchase, etc.), and server-side DataTables with search, pagination, and CSV/PDF export.

Click to expand
โš™๏ธ

System Settings

12 features ยท 2 pages

Comprehensive configuration center with General Settings, Theme Engine (preset colors, typography, radius), Notification Rules, Roles & Permissions (12 roles ร— 24 modules), Prefix Settings, Attendance Config, and Demo Mode toggle.

Click to expand
๐Ÿ—“๏ธ

Calendar

5 features ยท 1 pages

Visual appointment calendar with day, week, and month views. Overlay of appointments and events with doctor schedule integration.

Click to expand
๐Ÿ””

Notifications

8 features ยท 1 pages

Real-time notification system with categorized alerts, read/unread tracking, 30-second polling, configurable notification rules, and a full notifications management page.

Click to expand
๐Ÿ”

Global Search

7 features ยท 1 pages

Unified search across 7 categories: Patients, Staff, Appointments, IPD, Pharmacy, Pathology, Radiology. Results filtered by role permissions with highlighted matches and recent search history.

Click to expand
๐Ÿ‘ค

Profile & Security

7 features ยท 1 pages

User profile management with avatar, personal details editing, password change with strength meter, and account details view.

Click to expand
Technology Stack

Built with Modern Tech

Production-ready architecture with industry-standard tools.

โ–ฒ

Next.js 15

App Router, Server Components, API Routes

TS

TypeScript

Full type safety across the entire codebase

๐Ÿƒ

MongoDB

NoSQL database with Mongoose ODM

๐ŸŽจ

Tailwind CSS 4

Utility-first CSS with custom theme engine

๐Ÿ”’

JWT Auth

Secure token-based authentication & RBAC

๐Ÿ”—

REST APIs

100+ endpoints with validation & error handling

architecture.ts

const architecture = {

framework: "Next.js 15 App Router",

language: "TypeScript (strict mode)",

database: "MongoDB + Mongoose ODM",

auth: "JWT + bcrypt + Role-Based Access",

styling: "Tailwind CSS 4 + CSS Variables",

api: "100+ REST endpoints with validation",

modules: 25,

roles: 12,

permissionModules: 24,

};

Complete Sitemap

All 65+ Pages โ€” Direct Links

Every page in the application with direct links to the live demo.

12 Role Types

Each with configurable permissions across 24 modules

Admin
Super Admin
Doctor
Nurse
Pharmacist
Receptionist
Accountant
HR Manager
Lab Technician
Pathologist
Radiologist
Other

Try it Now

Demo mode is enabled with auto-fill credentials. Pick any role and explore the entire system instantly.

๐Ÿฅ

Ready to Explore the
Complete HMS?

25+ modules, 65+ pages, 100+ APIs, 12 role types. All running live with demo data ready for you to explore.