How chuongbdhe172784/carebridge_sep490_g79 works
CareBridge is a maternal and early-childhood care platform. Families use its web and mobile clients to access care journeys, baby tracking, expert/community support, and AI-assisted triage; clinicians and administrators provide consultation and operational oversight. The AI path combines backend triage enrichment with a separate RAG service and document-ingestion knowledge base. The README documents broader platform capabilities, while sampled source directly verifies only selected RAG and ingestion relationships; other cross-service links are left unasserted.
Main entry points: BackendApplication.java Backend API · App.tsx Web portal · rag_chat_service.py RAG chat · MainActivity.java Mobile app
Components 24
Care experiences
- Web portal
05_Development/CareBridgeWebApp/src/App.tsx - Mobile app
05_Development/CareBridgeMobileApp/android/app/src/main/java/com/carebridge/app/MainActivity.java - Backend API
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/BackendApplication.java
Care domains
- Identity and access
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/security/service/AuthService.java - Maternal journey
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/triage/service/impl/CanonicalTriageSessionService.java - Baby care and growth
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/baby/service/impl/BabyServiceImpl.java - Logs and milestones
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/carejourney/controller/BabyDailyLogController.java - Expert consultation
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/carejourney/controller/AppointmentPreparationController.java - Community and content
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/community/service/CommunityQuestionSearchService.java
AI assistance
- Triage enrichment
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/triage/service/TriageRagEnrichmentService.java - RAG policy
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/integration/gemini/service/RagPolicyService.java - RAG service
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/integration/gemini/service/RagService.java - AI triage API
05_Development/CareBridgeAITriageService/app/api/v1/chat.py - RAG chat
05_Development/CareBridgeAITriageService/app/services/rag_chat_service.py - Knowledge ingestion
05_Development/CareBridgeAITriageService/app/services/ingestion_service.py - Vector knowledge store
05_Development/CareBridgeAITriageService/app/rag/vector_store.py
Trust and operations
- AI moderation
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/aimoderation/service/AiAssessmentModeratorService.java - Family cooperative care
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/family/dto/CareTaskDto.java - Emergency safety
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/ai/event/EmergencyEscalationTriggered.java - Audit and administration
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/audit/controller/AuditController.java
Other components
- Families
- Experts
- Administrators
- Gemini AI
Connections 24
- Families → Web portal: use
README.md - Families → Mobile app: use
README.md - Experts → Web portal: use
README.md - Administrators → Web portal: manage
README.md - Web portal → Backend API: access
- Mobile app → Backend API: access
- Backend API → Identity and access: authenticate
- Backend API → Maternal journey: serve journey
- Backend API → Baby care and growth: serve profiles
- Backend API → Logs and milestones: serve tracking
- Backend API → Expert consultation: support consultation
- Backend API → Community and content: support community
- Maternal journey → Triage enrichment: enrich triage
- Triage enrichment → RAG policy: request answer
05_Development/CareBridgeAPI/src/main/java/com/carebridge/backend/triage/service/TriageRagEnrichmentService.java - RAG policy → RAG service: delegate
- Backend API → AI triage API: call service
- AI triage API → RAG chat: dispatch chat
- Knowledge ingestion → Vector knowledge store: write chunks
05_Development/CareBridgeAITriageService/app/services/ingestion_service.py - RAG chat → Vector knowledge store: retrieve context
05_Development/CareBridgeAITriageService/app/services/rag_chat_service.py - RAG chat → Gemini AI: generate response
- Backend API → AI moderation: moderate content
- Backend API → Family cooperative care: coordinate care
- Backend API → Emergency safety: escalate safety
- Backend API → Audit and administration: record operations