A modern and user-friendly hospital management system built with Python and Tkinter. This application helps manage patients, doctors, appointments, and other hospital-related data efficiently.
Hospital.project.final.copy.mp4
- Modern and intuitive user interface
- Patient management
- Doctor management
- Appointment scheduling
- Billing system
- Department management
- Staff management
- Room management
- Dependents tracking
- Advanced search and filtering
- Secure database operations
- Inventory management
- Python 3.9 or higher
- MySQL 8.0 or higher
- Required Python packages (see requirements.txt)
- Clone the repository:
git clone https://github.com/HosamDyab/Hospital-Management-System.git
- Install the required packages:
pip install -r requirements.txt
- Set up the MySQL database:
- Create a new MySQL database
- Update the database configuration in
config/database.py
- Run the SQL script in
database/init_database.sql
- Run the application:
python run.py
assets/
- Contains application assets like imagesconfig/
- Configuration filesdatabase/
- Database related files and SQL scriptssrc/
- Source codeapp.py
- Main application windowdashboard.py
- Dashboard interfacetable_view.py
- Data table views
ui/
- User interface componentsrun.py
- Application entry point
- Database Configuration (
config/database.py
):
DB_CONFIG = {
'host': 'localhost',
'user': 'your_username',
'password': 'your_password',
'database': 'your_databasename'
}
- Start the application using
python run.py
- Use the sidebar to navigate between different sections
- Use the search and filter options to find specific records
- Add, edit, or delete records using the form interface
- View and manage relationships between different entities
- Password fields are properly handled
- Database connections are pooled and managed securely
- Input validation and sanitization
- Error handling and logging
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
-
Tkinter
- Python's standard GUI library
- Used for: Main application interface
- Documentation: Python Tkinter Documentation
-
MySQL Connector/Python (8.0.33)
- Used for: Database connectivity and operations
- Documentation: MySQL Connector/Python
-
Pillow (9.5.0)
- Used for: Image handling and processing
- Documentation: Pillow Documentation
-
tkcalendar (1.6.1)
- Used for: Calendar widget in appointment scheduling
- Documentation: tkcalendar Documentation
-
python-dotenv (1.0.0)
- Used for: Managing environment variables and configuration
- Documentation: python-dotenv Documentation
-
cryptography (41.0.1)
- Used for: Data encryption and security
- Documentation: cryptography Documentation
-
bcrypt (4.0.1)
- Used for: Password hashing
- Documentation: bcrypt Documentation
-
pandas (2.0.3)
- Used for: Data manipulation and analysis
- Documentation: pandas Documentation
-
openpyxl (3.1.2)
- Used for: Excel file handling
- Documentation: openpyxl Documentation
-
reportlab (4.0.4)
- Used for: PDF report generation
- Documentation: reportlab Documentation
-
python-dateutil (2.8.2)
- Used for: Date and time handling
- Documentation: dateutil Documentation
-
Color Scheme
- Google Material Design Colors
- Reference: Material Design Color System
-
Icons and UI Elements
- Material Design Icons
- Reference: Material Design Icons
-
Font Families
- Segoe UI (Primary font)
- Consolas (Monospace font for time display)
- Reference: Microsoft Typography
-
Database Design
- MySQL Documentation: MySQL 8.0 Reference Manual
- Database normalization: Database Normalization Basics
-
Python Best Practices
- PEP 8 Style Guide: PEP 8
- Clean Code principles: Clean Code in Python
-
Security Guidelines
- OWASP Security Guidelines: OWASP Cheat Sheet Series
- Python Security: Python Security Guide
-
Hospital Information System Standards
- HL7 Standards: Health Level Seven International
- HIPAA Guidelines: HIPAA Journal
-
Healthcare Management Best Practices
- WHO Guidelines: WHO Digital Health
- Healthcare Information Management: HIMSS
-
Modern UI Design
- Material Design Guidelines: Material Design
- Nielsen Norman Group: UX Research Articles
-
Healthcare UI/UX
- Healthcare Design Magazine: Healthcare Design
- HIMSS UX Guide: HIMSS UX Resources
-
Project Management
- Agile Methodology: Agile Alliance
- Software Development Life Cycle: SDLC Models
-
Version Control
- Git Documentation: Git SCM
- GitHub Guides: GitHub Guides
-
Testing Resources
- Python unittest: unittest Documentation
- Software Testing Fundamentals: Software Testing Help