How kimmalapo/hospital-management-system-group-4 works
This is a Windows Forms hospital-management application backed by SQL Server. Users enter through login, then navigate to patient maintenance/search, room management, and master-data screens; registration supports user creation. BusinessLogic services validate and execute operations through SQL access helpers. The unified patient-and-room search screen is present but its query is explicitly a TODO, so it is not shown as a working database workflow. The README gives no architectural detail; edges reflect the sampled source and SOURCE INDEX references.
Main entry points: UILandingPage.cs App navigation · PatientService.cs Patient service · LoginForm.cs Login · RoomService.cs Room service
Components 23
Desktop UI
- App startup
HospitalManagementSystem/UI/Program.cs - Login
HospitalManagementSystem/UI/LoginForm.cs - App navigation
HospitalManagementSystem/UI/UILandingPage.cs - Home screen
HospitalManagementSystem/UI/HomeUserControl.cs
Hospital workflows
- User registration
HospitalManagementSystem/UI/RegisterForm.cs - Patient maintenance
HospitalManagementSystem/UI/PatientInformationMaintenance.cs - Patient search
HospitalManagementSystem/UI/PatientInformationSearch.cs - Room management
HospitalManagementSystem/UI/RoomManagement.cs - Patient room search
HospitalManagementSystem/UI/PatientRoomSearch.cs - Master data
HospitalManagementSystem/UI/MasterDataUserControl.cs - Unified search
HospitalManagementSystem/UI/UnifiedSearchUserControl.cs
Business logic
- Authentication
HospitalManagementSystem/BusinessLogic/AuthService.cs - User service
HospitalManagementSystem/BusinessLogic/UserService.cs - Patient service
HospitalManagementSystem/BusinessLogic/PatientService.cs - Room service
HospitalManagementSystem/BusinessLogic/RoomService.cs - Lookup service
HospitalManagementSystem/BusinessLogic/LookupService.cs - Lookup repository
HospitalManagementSystem/BusinessLogic/LookupRepository.cs - Patient model
HospitalManagementSystem/Model/Patient.cs - Lookup model
HospitalManagementSystem/Model/LookupItem.cs
Persistence
- SQL executor
HospitalManagementSystem/BusinessLogic/DbExecutor.cs - DB configuration
HospitalManagementSystem/UI/Config.cs - SQL Server data
HospitalManagementSystem/DB
Other components
- Staff user
Connections 28
- Staff user → App startup: starts app
HospitalManagementSystem/UI/Program.cs - App startup → Login: opens
HospitalManagementSystem/UI/Program.cs - Staff user → Login: signs in
HospitalManagementSystem/UI/LoginForm.cs - Login → Authentication: authenticates
HospitalManagementSystem/UI/LoginForm.cs - Login → App navigation: opens
- App navigation → Home screen: shows
HospitalManagementSystem/UI/UILandingPage.cs - App navigation → Patient maintenance: navigates to
HospitalManagementSystem/UI/UILandingPage.cs - App navigation → Master data: navigates to
HospitalManagementSystem/UI/UILandingPage.cs - App navigation → Room management: navigates to
HospitalManagementSystem/UI/UILandingPage.cs - App navigation → Unified search: navigates to
HospitalManagementSystem/UI/UILandingPage.cs - Staff user → User registration: registers
- User registration → User service: creates account
HospitalManagementSystem/UI/RegisterForm.cs - Patient maintenance → Patient service: maintains records
HospitalManagementSystem/UI/PatientInformationMaintenance.cs - Patient search → Patient service: searches records
HospitalManagementSystem/UI/PatientInformationSearch.cs - Room management → Room service: manages rooms
HospitalManagementSystem/UI/RoomManagement.cs - Room management → Lookup service: searches lookups
HospitalManagementSystem/UI/RoomManagement.cs - Patient room search → Room service: queries rooms
HospitalManagementSystem/UI/PatientRoomSearch.cs - Unified search → Patient service: intended search
- Patient service → SQL executor: executes queries
HospitalManagementSystem/BusinessLogic/PatientService.cs - Room service → SQL executor: executes queries
HospitalManagementSystem/BusinessLogic/RoomService.cs - Room service → Lookup service: checks room types
HospitalManagementSystem/BusinessLogic/RoomService.cs - Lookup service → Lookup repository: delegates CRUD
HospitalManagementSystem/BusinessLogic/LookupService.cs - Lookup service → SQL executor: checks usage
HospitalManagementSystem/BusinessLogic/LookupService.cs - Lookup repository → SQL Server data: reads and writes
HospitalManagementSystem/BusinessLogic/LookupRepository.cs - SQL executor → SQL Server data: executes SQL
HospitalManagementSystem/BusinessLogic/DbExecutor.cs - DB configuration → SQL Server data: provides connection
- Patient service → Patient model: maps records
HospitalManagementSystem/BusinessLogic/PatientService.cs - Lookup repository → Lookup model: maps records
HospitalManagementSystem/BusinessLogic/LookupRepository.cs