How kummaribharath/development-of-healthcare-operations-intelligence-dashboard-with-decision-analytics works
MedOps is a healthcare operations intelligence dashboard: users authenticate, select operational views, and receive facility analytics and AI-assisted decision support. The frontend routes users into a broad command suite and calls a FastAPI backend; backend services compute dashboard results and connect to AWS data and AI services. The README documents the Athena/Glue/S3 data platform, fallback sources, and Cognito authentication. Several backend and frontend modules were not sampled, so their internals and some individual request routes are represented only at subsystem level.
Main entry points: dashboard_service.py Dashboard analytics · session.py AWS credentials · App.tsx Application shell · main.py FastAPI application
Components 27
Dashboard experience
- Application shell
src/App.tsx - Command suite
src/components/modules - AI copilot
src/components/copilot/AICopilotDrawer.tsx - Enterprise drilldown
src/components/modals/EnterpriseDrilldownModal.tsx - Pipeline visualizer
src/components/modules/AutomationPipelineVisualizer.tsx - API client
src/services/apiService.ts
Identity
- Auth context
src/context/AuthContext.tsx - Cognito session
src/services/cognitoAuth.ts - Amazon Cognito
Backend API
- FastAPI application
backend/app/main.py - Dashboard routes
backend/app/routes/dashboard.py - Copilot routes
backend/app/routes/copilot.py - Cloud service routes
backend/app/routes/athena.py
Analytics and AI
- Dashboard analytics
backend/app/services/dashboard_service.py - Copilot orchestration
backend/app/services/copilot_service.py - AI provider service
backend/app/services/ai_service.py
AWS data and AI
- Runtime configuration
backend/app/config.py - AWS credentials
backend/app/aws/session.py - Athena queries
backend/app/aws/athena.py - Glue catalog
backend/app/aws/glue.py - S3 data lake
backend/app/aws/s3.py - Bedrock inference
backend/app/aws/bedrock.py - Amazon Athena
- AWS Glue
- Amazon S3
- Amazon Bedrock
Other components
- Healthcare operator
Connections 30
- Healthcare operator → Application shell: uses
- Application shell → Command suite: renders
src/App.tsx - Application shell → Auth context: checks session
src/App.tsx - Application shell → AI copilot: renders
src/App.tsx - AI copilot → API client: requests answers
src/components/copilot/AICopilotDrawer.tsx - Enterprise drilldown → API client: requests details
src/components/modals/EnterpriseDrilldownModal.tsx - Pipeline visualizer → API client: fetches status
src/components/modules/AutomationPipelineVisualizer.tsx - Auth context → Cognito session: manages session
src/context/AuthContext.tsx - Cognito session → Amazon Cognito: authenticates
- API client → FastAPI application: sends REST requests
- FastAPI application → Dashboard routes: registers
backend/app/main.py - FastAPI application → Copilot routes: registers
backend/app/main.py - FastAPI application → Cloud service routes: registers
backend/app/main.py - Dashboard routes → Dashboard analytics: calls analytics
backend/app/routes/dashboard.py - Copilot routes → Copilot orchestration: dispatches requests
- Copilot orchestration → Dashboard analytics: reads metrics
backend/app/services/copilot_service.py - Copilot orchestration → AI provider service: requests summaries
backend/app/services/copilot_service.py - Dashboard analytics → Athena queries: queries
backend/app/services/dashboard_service.py - Dashboard analytics → Glue catalog: reads catalog
backend/app/services/dashboard_service.py - Dashboard analytics → S3 data lake: reads fallback data
backend/app/services/dashboard_service.py - AI provider service → Bedrock inference: invokes provider
backend/app/services/ai_service.py - AWS credentials → Runtime configuration: reads settings
backend/app/aws/session.py - Athena queries → AWS credentials: gets client
- Glue catalog → AWS credentials: gets client
- S3 data lake → AWS credentials: gets client
- Bedrock inference → AWS credentials: gets client
- Athena queries → Amazon Athena: executes SQL
- Glue catalog → AWS Glue: uses catalog
- S3 data lake → Amazon S3: reads objects
- Bedrock inference → Amazon Bedrock: runs inference