How hemanthkumar-181020/distributed-telemedicine works
Nidaan Pro is a distributed telemedicine platform. Patients discover doctors, book and pay for appointments, complete AI-assisted pre-consultation, then consult by video or chat; doctors manage profiles, schedules, appointments, notes, and reviews. Notifications and emergency matching are additional product branches. The README documents the service-level architecture and capabilities; sampled code confirms several internal calls, but many service integrations and frontend request paths were not shown, so those links are omitted or marked unverified.
Main entry points: ConsultationService.java Appointments and emergencies · AIController.java API gateway · PaymentService.java Payment processing · app Web application
Components 21
Patient experience
- Web application
frontend/src/app
Identity and profiles
- Authentication
backend/auth-service/src/main/java/com/nidaanpro/auth_service/service/AuthService.java - User records
backend/auth-service/src/main/java/com/nidaanpro/auth_service/model/User.java - Doctor and patient profiles
backend/user-profile-service/src/main/java/com/nidaanpro/user_profile_service/service/UserProfileService.java - Reviews and ratings
backend/user-profile-service/src/main/java/com/nidaanpro/user_profile_service/controller/ReviewController.java
Consultation workflow
- Appointments and emergencies
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/ConsultationService.java - Appointment records
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/model/Appointment.java - AI pre-consultation
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/GeminiService.java
Live communication
- Real-time chat
backend/chat-service/src/main/java/com/nidaanpro/chat_service/controller/ChatController.java - Chat messages
backend/chat-service/src/main/java/com/nidaanpro/chat_service/model/ChatMessage.java - Video consultations
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/VideoCallService.java
Platform services
- API gateway
backend/api-gateway/src/main/java/com/nidaanpro/api_gateway/controller/AIController.java - Service discovery
backend/service-registry/src/main/java/com/nidaanpro/service_registry/ServiceRegistryApplication.java - Payment processing
backend/payment-service/src/main/java/com/nidaanpro/payment_service/service/PaymentService.java - Payment records
backend/payment-service/src/main/java/com/nidaanpro/payment_service/model/Payment.java - Notifications and email
backend/notification-service/src/main/java/com/nidaanpro/notification_service/service/NotificationService.java - Notification records
backend/notification-service/src/main/java/com/nidaanpro/notification_service/model/Notification.java - Event messaging
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/config/RabbitMQConfig.java
Other components
- Patient
- Doctor
- Razorpay
Connections 25
- Patient → Web application: uses
README.md - Doctor → Web application: uses
README.md - Web application → API gateway: sends requests
README.md - API gateway → Authentication: routes requests
README.md - API gateway → Doctor and patient profiles: routes requests
README.md - API gateway → Appointments and emergencies: routes requests
README.md - API gateway → Payment processing: routes requests
README.md - API gateway → Real-time chat: routes requests
README.md - Authentication → User records: reads and writes
backend/auth-service/src/main/java/com/nidaanpro/auth_service/service/AuthService.java - Doctor and patient profiles → Authentication: fetches user details
backend/user-profile-service/src/main/java/com/nidaanpro/user_profile_service/service/UserProfileService.java - Reviews and ratings → Doctor and patient profiles: delegates review
backend/user-profile-service/src/main/java/com/nidaanpro/user_profile_service/controller/ReviewController.java - Appointments and emergencies → Appointment records: stores appointments
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/ConsultationService.java - Appointments and emergencies → Doctor and patient profiles: requests available doctors
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/ConsultationService.java - Appointments and emergencies → Payment processing: creates payment order
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/ConsultationService.java - Payment processing → Payment records: stores payment
backend/payment-service/src/main/java/com/nidaanpro/payment_service/service/PaymentService.java - Payment processing → Razorpay: creates order
backend/payment-service/src/main/java/com/nidaanpro/payment_service/service/PaymentService.java - Payment processing → Appointments and emergencies: confirms payment
backend/payment-service/src/main/java/com/nidaanpro/payment_service/service/PaymentService.java - Appointments and emergencies → Event messaging: publishes events
backend/consultation-service/src/main/java/com/nidaanpro/consultationservice/service/ConsultationService.java - Real-time chat → Appointments and emergencies: validates chat pairing
backend/chat-service/src/main/java/com/nidaanpro/chat_service/controller/ChatController.java - Real-time chat → Chat messages: saves messages
backend/chat-service/src/main/java/com/nidaanpro/chat_service/controller/ChatController.java - AI pre-consultation → Appointments and emergencies: supports preparation
- Web application → Video consultations: joins consultation
- Event messaging → Notifications and email: delivers events
README.md - Notifications and email → Notification records: stores notifications
backend/notification-service/src/main/java/com/nidaanpro/notification_service/service/NotificationService.java - Service discovery → API gateway: supports discovery
README.md