AI Hospital - Complete AI Powered Healthcare / Hospital Management System (HMS)
AI Hospital – Complete AI Powered Healthcare / Hospital Management System (HMS) AI Hospital is a comprehensive Hospital / Clinic Management System built around
AI Hospital – Complete AI Powered Healthcare / Hospital Management System (HMS)
AI Hospital is a comprehensive Hospital / Clinic Management System built around AI-assisted clinical workflows. Powered by GPT-4.1 and GPT-4.1 Vision, it includes an AI medical assistant, treatment plan suggestions, drug interaction checking, AI medical image analysis, voice input for notes, appointment optimization, risk assessment, health trends and analytics, symptom analysis, and AI report generation—so staff get intelligent support across diagnosis, documentation, and operations. Built with Next.js 15, React 19, and TypeScript, it covers full HMS modules (patients, appointments, reports, laboratory, inpatient, radiology, pharmacy, inventory, billing, documents, emergency, telemedicine, ambulance). A CMS-driven public website supports multilingual marketing, online appointment requests with doctor schedules and public slots, and optional SMS (Twilio) OTP for returning patients. Laboratory (LIS) and radiology (DICOM) device connectivity is also available for automated results and imaging where you need it.
Live Demo
Public website (landing, booking, patient-facing):
https://aidoc-roan.vercel.app/
Staff app & backend (same deployment — sign in for dashboard):
https://aidoc-roan.vercel.app/login
Demo Credentials:
- Admin: admin@aidoc.com / password123
- Doctor: doctor@aidoc.com / password123
- Patient (portal): patient@aidoc.com / password123
Key Features
Authentication & Security
- Secure login system with email/password authentication
- Protected routes – all sensitive pages require authentication
- Session management with persistent login state
- Password hashing with bcrypt (no plaintext passwords)
- Role-based access control (Admin, Doctor, Staff, Patient)
- Secure cookie handling and JWT tokens
Patient Management
- Complete patient records with comprehensive medical history
- Contact information and insurance details management
- Search and filter patients by name, ID, or contact information
- Patient status tracking and management
- Quick access to patient details and case notes
- Edit and update patient information with audit trail
- Delete patient records (with confirmation)
Appointment Management
- Advanced appointment scheduling system
- Time slot management and availability tracking
- Daily, weekly, and monthly calendar views
- Appointment status tracking (scheduled, completed, cancelled)
- Quick rescheduling options with conflict detection
- Patient assignment and doctor scheduling
- Appointment notes and reminders
- Role-based visibility (doctors see their assigned appointments; patients see their own)
- Per-doctor schedules feed public availability on the online booking form
Public Website & Online Booking
- Marketing landing page: CMS-controlled content (hero, services, about, values, contact, map, announcements)
- Professional clinical-themed public UI (teal accent), sticky header, in-page section navigation
- Staff portal link in the header opens
/loginor the dashboard in a new tab so visitors stay on the public site - Public language switcher (EN / ES / FR) on the home page and request-appointment flow
- Request appointment page (
/request-appointment) when enabled in website settings - New vs returning patient: returning path is the default; returning patients can verify with SMS OTP when Twilio is configured
- Phone numbers normalized to E.164 using admin default SMS country (Notification Settings) and organisation address fallback
- Optional Twilio env vars or credentials in Settings → Notifications: Account SID, Auth Token, From number or Messaging Service SID (
MG…) for multi-region / geo rules
Medical Reports
- Comprehensive reporting system for test results
- Medical documentation and findings
- Report status tracking (draft, completed, reviewed)
- Priority-based organization
- Search and filter reports by patient, date, or type
- Download reports as PDF
- Print and share capabilities
Doctors & Staff
- Dedicated Doctors module (doctor-only list; staff are managed separately)
- Extended doctor profile fields (phone, specialization, department, license, qualifications, experience, bio, address, DOB, gender)
- Dedicated edit page for doctors (stable full-form workflow)
- Per-doctor schedules for generating public appointment slots
- Staff management module with create/delete workflows
Laboratory Management with LIS Integration
- Lab test orders and result entry
- Test status tracking (pending, in progress, completed)
- LIS (Laboratory Information System) Integration: Full bi-directional interface with laboratory analyzers
- Device Registration: Register and manage connected lab devices (hematology, biochemistry, immunoassay, coagulation analyzers)
- HL7/ASTM Protocol Support: Industry-standard messaging for seamless analyzer communication
- Secure API Keys: Generate unique API keys for each device for secure, authenticated result transmission
- Incoming Results Queue: Review, validate, and accept results from connected devices with automatic patient/order mapping
- Real-time Device Monitoring: Connection status, last communication timestamp, and result counts per device
- Auto-flagging: Critical and abnormal values automatically flagged for immediate attention
Inpatient Management
- Ward management (list/create/edit)
- Bed management (list/edit with status/type and ward assignment)
- Admissions management with patient assignment
Radiology and Imaging with DICOM Integration
- Radiology studies: create, view, and report
- Image attachment and referring doctor assignment
- Full DICOM Compliance: Industry-standard medical imaging integration (DICOM 3.0)
- Modality Worklist (MWL): Push scheduled exams to imaging devices automatically
- DICOM STOW-RS: Receive images via web-based STOW protocol from modern equipment
- Multi-Modality Support: Register CR, DR, CT, MRI, US, mammography, PET-CT, and other DICOM-compliant devices
- AE Title Configuration: Configure Application Entity titles for proper DICOM network routing
- Incoming Images Queue: Review and assign incoming images to studies and patients with DICOM tag parsing
- Device Dashboard: Real-time connection status, last communication, and image counts per modality
- PACS-Ready Architecture: Designed for integration with Picture Archiving and Communication Systems
Pharmacy
- Medicine management with full view/edit pages
- Track stock and expiry-related details
Inventory
- Supplier management (view/edit)
- Items management (medical supplies/equipment)
- Purchase orders (dedicated view page with items, totals, status)
Billing & Invoices
- Invoices and payments management
- Dedicated invoice edit page for a stable editing experience
Document Management
- Upload and store documents (consent forms, certificates, referrals)
- Link documents to patients; categories and search
- View details and download files
Emergency Department
- Emergency case creation and triage (priority classification)
- Quick patient lookup using existing registration
- Chief complaint, vital signs, triage notes, attending doctor
- Case list and status tracking
Telemedicine
- Virtual consultations: video, audio, or chat
- Session scheduling (patient, doctor, type, date/time)
- Waiting room; join consultation and in-session chat
- E-prescriptions during or after session
- Session status tracking (scheduled, waiting, in-progress, completed)
Ambulance Services
- Ambulance booking (patient, pickup/destination, date/time, priority)
- Booking list and status management
- Fleet management: register ambulances, driver assignment
- Service charges and notes
AI-Powered Features
All AI features are powered by GPT-4.1 and GPT-4.1 Vision:
- AI Medical Assistant: Intelligent chatbot for medical queries, symptom analysis, treatment suggestions, and clinical decision support
- AI Treatment Plans: Generate comprehensive, evidence-based treatment plans tailored to patient conditions
- AI Drug Interaction Checker: Safely check for potential drug interactions before prescribing medications with severity ratings
- AI Medical Image Analysis: Analyze medical images (X-rays, CT scans, MRIs, ultrasounds) using GPT-4.1 Vision
- AI Voice Input: Voice-to-text transcription for hands-free medical notes and patient data entry
- AI Appointment Optimizer: Optimize appointment schedules using AI to maximize efficiency and patient satisfaction
- AI Risk Assessment: Assess patient risk factors and potential complications using AI-powered analysis
- AI Health Trends: Track and analyze health trends across patient population
- AI Health Analytics: Advanced analytics and insights powered by AI to improve practice outcomes
- AI Symptom Analyzer: Analyze patient symptoms to assist in diagnosis and treatment planning
- AI Report Generator: Automatically generate comprehensive medical reports using AI assistance
Medical Device Integration (DICOM & LIS)
- Enterprise-Grade Integration: Connect your existing medical devices directly to the HMS
- DICOM Standard: Full compliance with DICOM 3.0 for radiology/imaging equipment integration
- LIS Connectivity: Laboratory Information System integration for automated result capture
- Supported Lab Analyzers: Hematology, biochemistry, immunoassay, coagulation, urinalysis, and more
- Supported Imaging Modalities: X-ray (CR/DR), CT, MRI, Ultrasound, Mammography, PET-CT, C-Arm
- Bi-directional Communication: Send orders to devices and receive results/images automatically
- Secure Authentication: API key-based device authentication with per-device access control
- Vendor Agnostic: Works with equipment from major manufacturers (Siemens, GE, Philips, Roche, Abbott, Beckman, Sysmex, etc.)
- Middleware Compatible: Can integrate via middleware solutions for legacy equipment
- Audit Trail: Complete logging of all device communications for compliance
Dashboard & Analytics
- Real-time practice statistics and key metrics
- Total patients, appointments, and reports tracking
- Recent activity feed
- Upcoming appointments overview
- Quick actions for common tasks
- Analytical Reports dashboards with interactive charts (Recharts) and CSV export
Settings & Configuration
- User profile management
- Password change functionality
- GPT-4.1 API key configuration
- AI model testing and activation
- Notification settings: Twilio SMS credentials, optional Messaging Service SID (
MG…) or From number, default SMS country code for public booking phone parsing - Hospital website / public content and toggles (e.g. online appointment requests)
- Language preferences
- Display preferences
Technology Stack
Core Framework
- Next.js 15.5.9 – App Router
- React 19.2.1 – Latest stable version
- TypeScript – Full type safety
- Turbopack – Fast build tool
Authentication & Database
- NextAuth.js 4.24.13 – Secure authentication (latest security patch)
- Mongoose 9.0.0 – MongoDB ODM
- MongoDB 6.18.0 – NoSQL database
UI & Styling
- Tailwind CSS 4 – Modern utility-first CSS framework
- Lucide React 0.555.0 – Beautiful icon library
- Responsive Design – Mobile-first approach
Charts & i18n
- Recharts 3.7.0 – Interactive charts for analytical dashboards
- next-intl 4.3.6 – Multi-language support (EN/ES/FR)
- twilio – SMS for optional booking OTP
- libphonenumber-js – Phone normalization (E.164) for SMS and matching
Security Status
0 Security Vulnerabilities – All packages updated to latest secure versions
- All critical security patches applied
- Latest stable versions installed
- Regular security updates
Responsive Design
- Fully responsive – works on desktop, tablet, and mobile devices
- Mobile-optimized sidebar with collapsible menu
- Touch-friendly interface
- Adaptive layouts for all screen sizes
Security Features
- Secure authentication with NextAuth.js
- Protected routes and API endpoints
- Input sanitization and XSS protection
- Secure session management
- Data encryption in transit
- bcrypt password hashing
What’s Included
- Complete source code
- Comprehensive documentation (HTML format)
- Database models and schemas
- API routes and endpoints
- Reusable components
- Environment configuration examples
- Installation guide
Quick Start
- Install Node.js 18+ and MongoDB
- Extract the files and run
npm install - Configure environment variables in
.env.local - Run
npm run devto start development server - Configure GPT-4.1 API key in Settings → AI Settings
Documentation
Comprehensive documentation is included with detailed guides on:
- Installation and setup
- Configuration and environment variables
- Feature usage and best practices
- Troubleshooting common issues
- API integration guide
Use Cases
- Private medical practices
- Clinics and healthcare facilities
- Doctor offices
- Medical consultation services and telemedicine
- Hospitals with emergency, ambulance, and inpatient care
- Diagnostic laboratories with LIS integration for automated result capture from analyzers
- Radiology and imaging centers with DICOM integration for CT, MRI, X-ray, and ultrasound
- Multi-specialty hospitals requiring unified lab and imaging device connectivity
- Healthcare management systems
Perfect For
- Healthcare professionals looking to digitize their practice
- Medical clinics needing an all-in-one management solution
- Developers building healthcare applications
- Organizations needing a secure, role-based HMS foundation
Regular Updates
This product is actively maintained with:
- Regular security updates
- Feature enhancements
- Bug fixes
- Performance optimizations
Changelog
Version 1.1.2 – March 28, 2026
- Public hospital website: clinical-themed landing, sticky header, Staff portal opens in new tab, footer Staff portal link matches
- Online appointment requests: returning-patient SMS OTP (Twilio), default SMS country and Messaging Service in Notification Settings
- Doctor schedules and public time-slot selection on the booking form
- Documentation updated (public site, Twilio, env vars)
Version 1.1.1 – February 18, 2026
- Complete dashboard internationalization: all sections now fully translatable (EN/ES/FR)
- Added translations for Critical Alerts section with proper pluralization
- Added translations for Operational Stats grid (Bed Occupancy, Inpatients, Laboratory, Emergency, Blood Bank, Pharmacy, Telemedicine, Billing)
- Added translations for Quick Actions buttons
- Fixed language switching: dashboard stats now update reactively when changing language
- Improved translation architecture: critical alerts use translation keys for dynamic content
Version 1.1.0 – February 2026
- Document management: upload, categorize, link to patients, download
- Emergency department: cases, triage, vital signs, attending doctor
- Telemedicine: video/audio/chat consultations, waiting room, e-prescriptions
- Ambulance services: bookings and fleet management
- Lab device integration: connected devices, API keys, incoming results from analyzers
- Imaging device integration: connected modalities, DICOM/STOW, incoming images
Version 1.0.0 – January 26, 2026
- Multi doctor system
- Staff portal / authentication
- Patient login
- Laboratory management
- Inpatient
- Radiology
- Pharmacy
- Inventory
- Analytical reports
- Billing
Support
For technical support, questions, or customization requests, please contact through the CodeCanyon support system.
Important Notes
- GPT-4.1 API key is required for AI features (not included)
- MongoDB database required (local or cloud)
- Node.js 18+ required
- Internet connection required for AI API calls
- Optional: Twilio account for SMS OTP on public booking; configure geo permissions and From / Messaging Service per Twilio rules
- Run
npm run seedto generate demo accounts and sample data
Transform your hospital/clinic workflows with AI-powered efficiency. Get AI Hospital today!
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0

