- Overview
- Features
- Tech Stack
- Quick Start
- Installation
- Default Accounts
- Screenshots
- Configuration
- Troubleshooting
- Support
PRMS (Patient Record Management System) is a lightweight, production-ready hospital and clinic management system. It provides:
✅ Public Marketing Frontend — Bootstrap-based home, about, services, and contact pages
✅ Role-Based Admin Panel — Dedicated interfaces for Admin, Doctor, and Receptionist roles
✅ Complete Patient Management — Add, edit, delete, and track patient records with document uploads
✅ Medication Tracking — Manage prescriptions with dosage, frequency, and doctor assignments
✅ Analytics Dashboard — Real-time stats and Chart.js visualizations
✅ Pre-Seeded Database — Ready-to-use sample data for immediate testing
- 🔐 Multi-role authentication (Admin, Doctor, Receptionist)
- 👥 User management with role assignments
- 🏥 Patient records with image/document uploads
- 💊 Medication database with prescribing details
- 📊 Dashboard analytics with Chart.js visualizations
- 🔍 Advanced search and filter functionality
- 📋 Comprehensive reporting tools
- 📱 Fully responsive Bootstrap design
- 🎠 Owl Carousel image sliders
- ✉️ Contact form integration
- 📄 Service and about pages
- 🔐 Secure login portal
| Layer | Technology |
|---|---|
| Backend | PHP (Procedural) |
| Database | MySQL / MariaDB |
| Frontend | HTML5, CSS3, Bootstrap 5 |
| Libraries | jQuery, Chart.js, Owl Carousel, Tempus Dominus |
| Server | Apache (XAMPP) |
- Windows OS
- XAMPP (Apache + MySQL)
- Git Bash
git clone https://github.com/SkillDevloper/PRMS-Patient-Record-Management-System-Medinova-.git
Rename to "PRMS"
cd PRMSThen follow the Installation steps below.
- Download XAMPP
- Install and start Apache and MySQL services
git clone https://github.com/SkillDevloper/PRMS-Patient-Record-Management-System-Medinova-.gitCopy the PRMS folder to:
C:\xampp\htdocs\PRMS
Open Git Bash in the project folder and run:
mysql -u root -p prms_db < "Database File/prms_db.sql"When prompted, press Enter (default password is empty).
Edit admin/config.php:
$servername = "localhost";
$username = "root";
$password = ""; // Leave empty if XAMPP default
$dbname = "prms_db";Right-click uploads/ folder → Properties → Security → Edit → Full Control (for SYSTEM user)
| URL | Purpose |
|---|---|
http://localhost/PRMS/ |
Public website |
http://localhost/PRMS/admin/ |
Admin login panel |
| Role | Password | Access | |
|---|---|---|---|
| Admin | admin@gmail.com |
123 |
Full system access |
| Doctor | doc@gmail.com |
123 |
Patient records & reports |
| Receptionist | rec@gmail.com |
123 |
Front-desk operations |
⚠️ Security Warning: Passwords are MD5 hashed in seed data. For production, implementpassword_hash()andpassword_verify()functions.
Edit admin/config.php:
define('DB_SERVER', 'localhost');
define('DB_USER', 'root');
define('DB_PASS', '');
define('DB_NAME', 'prms_db');Patient documents and profile pictures are stored in uploads/ folder. Ensure:
- Folder exists and is writable
- Regular backups are maintained
- Max upload size configured in
admin/config.php
- Replace
img/logo.pngwith your hospital logo - Update hospital name in page headers
- Customize colors in
css/style.css
| Issue | Solution |
|---|---|
| "Database Connection Failed" | Check admin/config.php credentials and verify MySQL is running |
| "Upload Failed" | Right-click uploads/ → Properties → Security → Allow write permissions |
| "Blank Pages / Parse Errors" | Enable display_errors in php.ini and check Apache error logs |
| "404 on Admin Pages" | Ensure mod_rewrite is enabled in Apache (httpd.conf) |
| "Login Not Working" | Clear browser cache and verify prms_db table has seed data |
PRMS/
├── admin/ # Admin panel PHP files
│ ├── config.php # Database configuration
│ ├── dashboard.php # Admin dashboard
│ ├── patients.php # Patient management
│ ├── medications.php # Medication management
│ └── includes/ # Reusable components
├── Database File/
│ └── prms_db.sql # Full schema + seed data
├── css/ # Stylesheets
├── js/ # JavaScript libraries
├── img/ # Images & logo
├── lib/ # Third-party libraries
├── uploads/ # User uploaded files
├── index.html # Home page
├── about.html # About page
├── service.html # Services page
├── contact.html # Contact page
└── README.md # This file
- First Login: Use default accounts to explore the system
- Patient Records: Upload ID/Medical documents for each patient
- Backups: Regularly backup
uploads/folder and database - Reports: Use the Reports page for patient statistics and analytics
- Security: Change default passwords immediately in production
- Issues: Report bugs on GitHub Issues
- Email: Contact the development team for support
- Documentation: Detailed guides in this README
This project is open-source and available under the MIT License.
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Made with ❤️ for Patient Care & Hospital Management











