How ramtnv/telehealth works
TeleHealth is a browser-based dispatch dashboard backed by a single-threaded, in-memory matching service. The main workflow is operator intake, FIFO waiting, longest-idle clinician matching, and consultation completion with follow-up matching. The overview and super-admin console share the live service; the service maintains clinician, patient, and consultation state. The excerpts show the entry point and service boundary, while the README documents dashboard behaviors not visible in the partial UI excerpts. No persistence or external integrations are present.
Main entry points: App.tsx Dispatch dashboard · SuperAdminPage.tsx Super admin · DispatchService.ts Dispatch service · domain.ts Dispatch records
Components 6
Operations UI
- Browser entry
src/main.tsx - Dispatch dashboard
src/App.tsx - Super admin
src/SuperAdminPage.tsx
Dispatch Workflow
- Dispatch service
src/DispatchService.ts
Domain Model
- Dispatch records
src/domain.ts
Other components
- Care operator
Connections 8
- Care operator → Dispatch dashboard: operates
README.md - Browser entry → Dispatch dashboard: renders
src/main.tsx - Dispatch dashboard → Dispatch service: reads and updates
src/App.tsx - Dispatch dashboard → Super admin: opens
README.md - Super admin → Dispatch service: updates
src/SuperAdminPage.tsx - Dispatch service → Dispatch records: uses types
src/DispatchService.ts - Dispatch dashboard → Dispatch records: uses types
src/App.tsx - Super admin → Dispatch records: uses types
src/SuperAdminPage.tsx