Skip to content

SersifAbdeljalil/projet-CHU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHU Management System - Java Project with Design Patterns

1. Introduction

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.

2. Technologies Used

  • 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.

3. CHU Architecture

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.

4. Design Patterns Used

This project implements four design patterns to ensure a robust and maintainable architecture:

a. Singleton

  • Ensures a single instance of database connection to avoid redundancies and improve efficiency.

b. Factory Method

  • Allows the creation of different types of buildings based on their categories.

c. Composite

  • Facilitates the management of a group of hospital services as a single logical unit.

d. Mediator

  • Manages interactions between department heads to coordinate CHU activities.

5. UML Diagrams

The following diagrams correspond to the implementation of the design patterns:

  1. Singleton Diagram: Shows the structure and use of the single instance connection.

WhatsApp Image 2025-03-09 at 12 08 56

  1. Factory Method Diagram: Describes the dynamic creation of buildings.

    WhatsApp Image 2025-03-09 at 12 08 55 (1)

  2. Composite Diagram: Demonstrates how services are grouped into a single unit.

    WhatsApp Image 2025-03-09 at 12 08 55 (2)

  3. Mediator Diagram: Explains the interactions between department heads.

    WhatsApp Image 2025-03-09 at 12 08 55

6. User Interface

MediBook Interface

image Login Admin

image Admin Dashboard

image Appointment List Interface image Building List Interface and USING CRUD (CREATE WITH FACTORY METHOD ),UPDAT,READ,DELETe) image add Building image interface service group and service using Composite service group

image

service

image

add department head and service

image image login department head

image

department head dachbord use Mediator

image

7. Conclusion

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published