How haiphong2206win-collab/phong_kham_nha_khoa works
This repository appears to be a Spring-based dental-clinic management API. Its principal workflow is appointment requests and scheduling, with separate capabilities for assigning appointments, managing patient records, and tracking treatment plans and sessions. Authentication, account administration, and notifications support those workflows. The tree shows controller, service, and repository layers, but no README or source excerpts were provided; the dashed links below are therefore architectural inferences, not verified calls.
Main entry points: repository Clinic database · XacThucController.java Authentication API · YeuCauDatLichService.java Appointment requests · TaiKhoanService.java Account management
Components 19
API and access
- Appointment requests API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/YeuCauDatLichController.java - Request management API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/QuanLyYeuCauDatLichController.java - Doctor schedule API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/BacSiLichKhamController.java - Authentication API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/XacThucController.java - JWT filter
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/security/JwtAuthenticationFilter.java
Scheduling
- Appointment requests
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/YeuCauDatLichService.java - Schedule assignment
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/PhanCongLichService.java - Assignment API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/PhanCongController.java - Doctor scheduling
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/BacSiLichKhamService.java
Patient care
- Treatment plan API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/LoTrinhDieuTriController.java - Treatment plans
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/LoTrinhDieuTriService.java - Treatment session API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/BuoiDieuTriController.java - Treatment sessions
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/BuoiDieuTriService.java
Accounts and data
- Account API
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/controller/TaiKhoanController.java - Account management
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/TaiKhoanService.java - Notifications
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/service/ThongBaoService.java - Clinic database
src/main/java/com/example/clinic/demo_phongkham_nhakhoa/repository
Other components
- Patient
- Clinic staff
Connections 22
- Patient → Appointment requests API: submits requests
- Clinic staff → Request management API: reviews requests
- Clinic staff → Assignment API: assigns schedules
- Appointment requests API → Appointment requests: handles requests
- Request management API → Appointment requests: manages requests
- Assignment API → Schedule assignment: assigns appointments
- Doctor schedule API → Doctor scheduling: manages schedules
- Clinic staff → Treatment plan API: manages care
- Treatment plan API → Treatment plans: manages plans
- Clinic staff → Treatment session API: records treatment
- Treatment session API → Treatment sessions: manages sessions
- Patient → Authentication API: authenticates
- Clinic staff → Authentication API: authenticates
- Authentication API → Account management: authenticates accounts
- Account API → Account management: manages accounts
- JWT filter → Authentication API: protects requests
- Appointment requests → Clinic database: accesses records
- Schedule assignment → Clinic database: accesses records
- Doctor scheduling → Clinic database: accesses records
- Treatment plans → Clinic database: accesses records
- Treatment sessions → Clinic database: accesses records
- Account management → Clinic database: accesses records