Hospital Management System
Hospital Management System
A Hospital Management System built with Spring MVC, Spring Data JPA, and Thymeleaf is a web-based application designed to streamline hospital operations such as managing patients, doctors, appointments, billing, and medical records.
Technologies
Spring MVC: Handles web request/response and separates concerns (Controller, Service, Repository).
Spring Data JPA: Simplifies database operations using JPA and Hibernate.
Thymeleaf: Generates dynamic HTML pages as the front-end view layer.
Database: MySQL commonly used.
Key Features
Patient Management: Add, view, edit, delete patient records.
Doctor Management: Maintain doctor profiles and schedules.
Appointment Booking: Book, update, and cancel appointments.
User Roles: Admin, Doctor, Receptionist with role-based access.
Medical Records: Store diagnoses, prescriptions, and test results.
Architecture
Model: Entity classes (e.g. Docter, Patient, Staff, Appointment) mapped to DB tables.
Repository: Interfaces extending JpaRepository for CRUD operations.
Service: Business logic between Controller and Repository layers.
View: Thymeleaf templates for dynamic HTML UI.