This is a Health Care Management System implemented in Java. It provides functionality for managing health care records, appointments, and patient information.
To run the CLI Health Care Management System, follow these steps:
-
Ensure you have Java installed on your system.
-
Clone or download this repository to your local machine.
-
Set up the required databases:
- MySQL server with two databases:
HealthCareTest
(for database connection) andHealthCareDatabase
(for Hibernate connection).
- MySQL server with two databases:
-
Update the database connection details in the configuration files: utilities.DatabaseConnection for Database context.ServiceContext.getSessionFactory() To match your local database setup.
-
Clone the repository and open it using IntelliJ
-
Install the Maven dependencies
-
Run the program using the main CLI class.
The following ERD illustrates the database structure for the Health Care Management System:
The ERD shows three tables: User, Slot, and Appointment.
- Add User
- View All Users
- View Patients
- View Doctors
- Lock User
- Unlock User
- View Scheduled Appointments
- Delete User
- View Scheduled Slots
- View Appointments
- Add a New Slot entry
- View Booked Slots
- View Free Slots
- View Available Doctor slots
- View Appointments
- Create an Appointment
These functionalities allow administrators, doctors, and patients to perform various operations within the Health Care Management System based on their respective roles.
Please note that the system currently supports the database and Hibernate storage options. The file storage option is still under development and not fully implemented.