MediLinx is a comprehensive healthcare management system developed as my 6th-semester software development project. The system connects patients with healthcare providers, simplifies appointment scheduling, and provides personalized health information through an intuitive web interface.
Built with PHP and MySQL, MediLinx implements modern security practices and features an AI-powered recommendation system to match patients with suitable doctors based on their symptoms and medical needs.
- Intelligent Doctor Search - Find suitable doctors using AI-powered recommendations based on symptoms
- Multi-language Symptom Input - Enter symptoms in any language for accurate doctor matching
- Appointment Management - Schedule, view, and cancel appointments through an interactive calendar interface
- Smart Health Advisor - Access personalized health tips across nutrition, exercise, mental health, sleep, and hydration
- Notification System - Receive real-time updates on appointment status changes
- Profile Management - Showcase qualifications, specialties, and professional experience
- Time Slot Management - Set up available consultation hours with flexible scheduling options
- Appointment Calendar - View and manage patient appointments with detailed information
- Health Content Creation - Share medical knowledge through posts visible to patients
- Patient Management - Access patient information and medical history for better care
- Secure Authentication - Role-based access control with password protection
- Interactive Dashboard - User-friendly interface tailored to each user role
- Modern UI/UX - Responsive design with animations and intuitive navigation
- Real-time Notifications - Keep users informed about important updates
- Comprehensive Database - Well-structured data model with appropriate relationships
- Backend: PHP 8.2
- Database: MySQL (MariaDB 10.4)
- Frontend: HTML5, CSS3, JavaScript
- External APIs: Gemini AI for health tips generation
- Security: CSRF protection, secure sessions, input validation
MediLinx follows a traditional PHP web application architecture with the following components:
- Authentication System - Handles user registration, login, and session management
- Patient Portal - Interface for patients to search doctors, book appointments, and view health information
- Doctor Portal - Interface for doctors to manage time slots, appointments, and create health content
- Admin Panel - Tools for system administration and oversight
- Notification Service - Real-time notification delivery to relevant users
- Database Layer - Structured data storage with appropriate relationships
The database consists of multiple interconnected tables, including:
users
- Stores user accounts with role-based informationappointments
- Tracks scheduled meetings between doctors and patientstime_slots
- Manages doctor availability for appointmentsdegrees
- Stores doctor qualifications and credentialsnotifications
- Handles system messages to usersposts
- Contains health content created by doctorsreviews
- Stores patient feedback on doctor consultations
MediLinx incorporates several security measures:
- CSRF Protection - Token validation to prevent cross-site request forgery
- Secure Session Management - Protected session handling to prevent hijacking
- Password Hashing - Secure storage of user credentials
- Input Sanitization - Protection against SQL injection and XSS attacks
- Transaction-based Operations - Ensures data integrity for critical operations
Experience MediLinx in action: http://medilinx.rf.gd/?i=1
- Clone the repository
git clone https://github.com/asifahamed11/MediLinx.git
- Import the database
mysql -u username -p database_name < medilinx.sql
-
Configure database connection
- Edit
config.php
with your database credentials - Configure your SMTP Gmail settings in
config.php
for email notifications
- Edit
-
Set up API keys
- Add your Gemini API key in
dashboard.php
for the doctor recommendation system - Add your Gemini API key in
health_tips.php
for AI-generated health advice
- Add your Gemini API key in
-
Set up a web server (Apache/Nginx) with PHP support
- Ensure PHP 8.2+ is installed with required extensions
-
Access the application
- Navigate to the URL where you've hosted the application
- Telemedicine integration for virtual consultations
- Electronic health records (EHR) implementation
- Mobile application development
- Advanced analytics for healthcare providers
- Integration with wearable health devices
This project is licensed under the MIT License - see the LICENSE file for details.