The Hospital Management System is a Java-based desktop application developed using Java Swing and JDBC. It is designed to streamline and automate the administrative processes within a hospital environment. The system enables effective management of patient records, doctor and staff information, room assignments, departmental data, and ambulance services. It includes a secure login system and integrates with a MySQL database to handle data operations efficiently.
- Secure login authentication
- Add new patient records
- Manage room assignments and availability
- Maintain department information
- View and manage all employee and doctor details
- View complete patient records
- Update existing patient information
- Manage hospital ambulance services
- Search and view room details
- Logout functionality
Hospital-Management-System -> src -> Login.java
-> AddPatient.java
-> Room.java
-> Department.java
-> AllEmployeeInfo.java
-> PatientInfo.java
-> UpdatePatient.java
-> Ambulance.java
-> SearchRoom.java
-> DatabaseConnection.java
Hospital-Management-System -> assets -> (images/icons if any)
Hospital-Management-System -> HospitalDB.sql -> (database schema and sample data)
Hospital-Management-System -> README.md
- Java (JDK 8 or higher)
- Java Swing (Graphical User Interface)
- JDBC (Java Database Connectivity)
- MySQL (Relational Database Management System)
- Clone the Repository
- Java (JDK 8 or higher)
- Java Swing (Graphical User Interface)
- JDBC (Java Database Connectivity)
- MySQL (Relational Database Management System)
-
Clone the Repository
-
Import into an IDE
- Open the project in IntelliJ IDEA, Eclipse, or NetBeans.
- Database Setup
- Import the
HospitalDB.sqlfile into MySQL. - Update database connection settings in
DatabaseConnection.javawith your local MySQL credentials.
- Execute the Application
- Start the application from the
Login.javafile.
Username: admin Password: admin123
Note: Credentials can be modified directly in the database.
The Hospital Management System is a robust and scalable application that addresses key operational needs of hospital management. It offers an integrated platform for handling patient and staff data, resource allocation, and departmental coordination. Developed using core Java technologies and MySQL, this project demonstrates practical implementation of desktop-based systems in a healthcare setting. It is suitable for academic use, internships, and real-time applications with further enhancement.









