How quancao2310/hms-backend works
This repository is a hospital-management system organized as Spring services, with appointment scheduling and medical-record management as its clearest domain areas. The tree also shows gateway, service discovery, centralized configuration, patient-facing and staff services, plus shared entities. The README contains only the product title, and no source excerpts were provided, so runtime calls, data flows, and integrations cannot be verified; the graph therefore maps components without inventing edges.
Components 17
Platform Services
- API Gateway
services/gateway/src/main/java/com/example/hms/gateway/GatewayApplication.java - Service Discovery
services/eureka-server/src/main/java/com/example/hms/eurekaserver/EurekaServerApplication.java - Central Configuration
services/config-server/src/main/resources/configuration
Appointment Management
- Appointments
services/appointment-service/src/main/java/com/example/hms/appointmentservice/services/impl/AppointmentServiceImpl.java - Time Slots
services/appointment-service/src/main/java/com/example/hms/appointmentservice/services/impl/TimeSlotServiceImpl.java - Doctor Availability
services/appointment-service/src/main/java/com/example/hms/appointmentservice/services/impl/DoctorTimeSlotServiceImpl.java - Appointment Search
services/appointment-service/src/main/java/com/example/hms/appointmentservice/services/impl/BaseSearchServiceImpl.java - Image Uploads
services/appointment-service/src/main/java/com/example/hms/appointmentservice/services/impl/CloudinaryServiceImpl.java
Medical Records
- Medical Records
services/medical-record-service/src/main/java/com/example/hms/medicalrecordservice/medicalrecord - Medical Information
services/medical-record-service/src/main/java/com/example/hms/medicalrecordservice/medicalinfo - Allergies
services/medical-record-service/src/main/java/com/example/hms/medicalrecordservice/allergy - Family History
services/medical-record-service/src/main/java/com/example/hms/medicalrecordservice/familyhistory - Medication History
services/medical-record-service/src/main/java/com/example/hms/medicalrecordservice/medicationhistory
User Services
- Patient Service
services/patient-facing-service/src/main - Staff Service
services/staff-service/src/main
Shared Models
- External Entities
shared-entities/external/src/main - Internal Entities
shared-entities/internal/src/main