EyeCare Pro - Complete Eye Treatment & Hospital Management System
EyeCare Pro is a complete eye treatment and hospital management system designed for eye care practices, clinics, and eye hospitals. Built with Next.js 16, React 19, and TypeScript, it combines specialized eye treatment modules (eye examinations, optical prescriptions, glaucoma tracking, diabetic retinopathy screening, eye surgery, optical shop, ocular imaging) with core practice management, AI-assisted tools, and multi-language support.
Live Demo
Demo URL: https://eye-care-pi.vercel.app/login
Demo Credentials:
- Admin: admin@icare.com / password123
- Doctor: doctor@icare.com / password123
- Staff: staff@icare.com / password123
Key Features
Eye Examinations
- Comprehensive eye exam records (visual acuity, refraction, IOP, slit lamp, fundoscopy)
- Diagnosis and treatment plan documentation
- Filter by patient, date, today/week/month
- Create, view, and edit exam records
Optical Prescriptions
- Create and manage optical prescriptions for glasses and contact lenses
- Sphere, cylinder, axis, add power, PD, lens type
- Link prescriptions to patients; optical shop orders reference active prescriptions
- Filter by patient, status (issued/fulfilled)
Glaucoma Center
- Dedicated glaucoma patient management
- IOP (intraocular pressure) tracking for OD and OS
- Controlled vs. uncontrolled patient statistics
- Average and max IOP dashboards
- Record IOP readings over time per patient
Diabetic Retinopathy (DR) Screening
- Diabetic retinopathy screening workflow
- Patient tracking and screening records
- AI-assisted analysis for retinal image interpretation
- Distribution tracking (mild/moderate/severe NPDR, PDR)
- Due screening alerts on dashboard
Eye Surgery
- Schedule and manage eye surgeries (cataract, vitrectomy, etc.)
- IOL Calculator for intraocular lens power planning
- Filter by status, type, date
- Patient assignment and surgeon scheduling
Optical Shop
- Order management linked to optical prescriptions
- Frames inventory (add, edit, list)
- Lens inventory management
- Order status tracking (pending, in progress, ready)
Ocular Imaging
- OCT scans - optical coherence tomography for retinal and anterior segment
- Fundus photos - retinal photography for DR, macular degeneration
- Topography - corneal mapping and anterior segment analysis
- Incoming images queue for external device integration
- Imaging device registration and management
Authentication & Security
- Secure login with email/password (NextAuth.js)
- Role-based access control (Admin, Doctor, Staff, Patient)
- Password hashing with bcrypt
- Protected routes and session management
Patient Management
- Complete patient records with medical history
- Search and filter by name, ID, contact
- Insurance details and emergency contacts
- Edit, view, delete with confirmation
Appointment Management
- Advanced scheduling with calendar views
- Time slot management and conflict detection
- Appointment types and status tracking
- Rescheduling with patient notifications
- Role-based visibility
AI-Powered Features
Powered by GPT-4.1 and GPT-4.1 Vision:
- AI Medical Assistant: Medical queries, symptom analysis, treatment suggestions
- AI Treatment Plans: Evidence-based treatment plans for patient conditions
- AI Drug Interaction Checker: Check medication interactions before prescribing
- AI Medical Image Analysis: Analyze OCT, fundus, and other medical images
- AI Voice Input: Voice-to-text for hands-free notes
- AI Report Generator: Generate comprehensive medical reports
Additional Modules (Sidebar Menu)
- Documents - Store and manage patient documents; add new, list, view, edit
- Telemedicine - Dashboard, sessions, new session, waiting room; video/audio consultations, prescriptions
- Analytical Reports - Financial, clinical, operational, performance, patient, appointment analytics with CSV export
- Billing - Invoices, add new invoice, service items (invoice items)
- Notifications - System notifications
- Doctors - Manage doctor accounts (admin only)
- Staff - Manage clinic staff with full profiles (admin only)
- AI Tools - AI Assistant, Treatment Plans, Drug Interaction, Medical Image Analysis, Voice Input
Dashboard
- Eye clinic statistics (patients, exams, surgeries, glaucoma, DR, optical, imaging)
- Critical alerts (uncontrolled IOP, PDR, overdue screenings)
- Upcoming surgeries and appointments
- Recent activity feed
- Today's revenue
Technology Stack
- Next.js 16 - App Router, Turbopack
- React 19 - Latest stable
- TypeScript - Full type safety
- NextAuth.js - Authentication
- MongoDB + Mongoose - Database
- Tailwind CSS 4 - Styling
- Recharts - Analytics charts
- next-intl - Multi-language (EN/ES/FR)
Responsive Design
- Fully responsive - desktop, tablet, mobile
- Mobile-optimized collapsible sidebar
- Touch-friendly interface
What's Included
- Complete source code
- Comprehensive documentation (HTML)
- Database models and API routes
- Environment configuration examples
- Installation guide
Quick Start
- Install Node.js 18+ and MongoDB
- Run npm install
- Configure .env.local (MONGODB_URI, NEXTAUTH_URL, NEXTAUTH_SECRET)
- Run npm run seed for demo accounts and sample data
- Run npm run dev to start
- Configure GPT-4.1 API key in Settings → AI Settings (optional, for AI features)
Perfect For
- Eye clinics and ophthalmology practices
- Optometry centers
- Optical shops with clinical services
- Healthcare developers building eye care solutions
Important Notes
- GPT-4.1 API key required for AI features (not included)
- MongoDB required (local or Atlas)
- Node.js 18+ required
- Run npm run seed to generate demo accounts
Transform your eye care practice with a complete eye treatment and hospital management system. Get EyeCare Pro today!
