This project aims to design and implement a management system for a University Hospital Center (CHU) using design patterns in Java. The objective is to effectively model and structure CHU El Jadida, considering buildings, staff, services, patients, and sections.
- Java EE (JEE): For developing the web-based application.
- JDBC: For managing database connections and queries.
- Relational Database: Designed to store and manage all CHU entities.
CHU El Jadida consists of several main entities:
- Buildings: Administration, laboratories, radiology, emergency, general medicine, medical specialties, surgery, etc.
- Staff: Director, administrators, doctors, nurses, and support staff.
- Services: Medical services, paramedical services, emergency, analysis, radiology, and technical services.
- Patients: Of all ages and types, with a unique identifier and medical status.
- Sections: Groups of over 100 patients assigned to doctors.
This project implements four design patterns to ensure a robust and maintainable architecture:
- Ensures a single instance of database connection to avoid redundancies and improve efficiency.
- Allows the creation of different types of buildings based on their categories.
- Facilitates the management of a group of hospital services as a single logical unit.
- Manages interactions between department heads to coordinate CHU activities.
The following diagrams correspond to the implementation of the design patterns:
- Singleton Diagram: Shows the structure and use of the single instance connection.
-
Factory Method Diagram: Describes the dynamic creation of buildings.
-
Composite Diagram: Demonstrates how services are grouped into a single unit.
-
Mediator Diagram: Explains the interactions between department heads.
MediBook Interface
Appointment List Interface
Building List Interface and USING CRUD (CREATE WITH FACTORY METHOD ),UPDAT,READ,DELETe)
add Building
interface service group and service using Composite
service group
service
add department head and service
department head dachbord use Mediator
This project applies several software design concepts using Java EE and advanced design patterns. It ensures an efficient and structured management of CHU El Jadida.
Good luck!