How rishat8903/aethermind-medi-waypoint works
Medi-Waypoint is a bilingual patient-navigation and closed-loop referral frontend, presented in the README as a static UI prototype that can be explored without backend login. Its main journey is patient triage, finding a suitable doctor and requesting an appointment, then carrying consented records through referrals and hospital follow-up. Clinician, emergency-department, staff-intake, and facility-admin views are distinct supporting workflows. Source excerpts show query hooks calling the API client and the mock API provider; other page-to-feature links follow the README’s documented capabilities, not inspected page implementations.
Main entry points: hooks.ts Query and mutation hooks · triage/page.tsx Triage sessions · dashboard/page.tsx Clinician queues · (public)/page.tsx Landing page
Components 22
Entry and access
- Landing page
src/app/[locale]/(public)/page.tsx - Account access
src/app/[locale]/(auth)/login/page.tsx
Patient navigation
- Triage sessions
src/app/[locale]/(patient)/triage/page.tsx - Doctor search
src/app/[locale]/(patient)/doctors/page.tsx - Appointments
src/app/[locale]/(patient)/appointments/page.tsx - Sharing consent
src/app/[locale]/(patient)/consents/page.tsx - Report wallet
src/app/[locale]/(patient)/reports/page.tsx
Clinical handover
- Clinician queues
src/app/[locale]/(clinician)/dashboard/page.tsx - Patient chart
src/app/[locale]/(clinician)/patients/[id]/page.tsx - Referral tracking
src/app/[locale]/(clinician)/referrals/[id]/page.tsx - Emergency department
src/app/[locale]/(clinician)/ed/page.tsx - Staff intake
src/app/[locale]/(clinician)/patients/new/page.tsx - Facility administration
src/app/[locale]/(admin)/facility/page.tsx
Application services
- Query and mutation hooks
src/api/queries/hooks.ts - API client
src/api/client.ts - Mock API
src/data/mockClient.ts - Prototype data
src/data/fixtures.ts - Offline referral queue
src/offline/unifiedQueue.ts - Voice interaction
src/components/VoicePanel/VoicePanel.tsx - Bilingual formatting
src/i18n/format.ts
Other components
- Patient or visitor
- Clinician or staff
Connections 25
- Patient or visitor → Landing page: opens
README.md - Patient or visitor → Account access: signs in
README.md - Clinician or staff → Clinician queues: reviews cases
README.md - Clinician or staff → Staff intake: registers patients
README.md - Landing page → Triage sessions: guides patients
README.md - Triage sessions → Doctor search: guides care choice
README.md - Doctor search → Appointments: previews slot requests
README.md - Appointments → Clinician queues: appears in queues
README.md - Sharing consent → Report wallet: controls sharing
README.md - Report wallet → Patient chart: supports chart review
README.md - Clinician queues → Referral tracking: tracks handovers
README.md - Referral tracking → Emergency department: supports hospital arrival
README.md - Staff intake → Referral tracking: creates referral
README.md - Clinician or staff → Facility administration: manages facility
README.md - Triage sessions → Voice interaction: offers voice UI
README.md - Triage sessions → Offline referral queue: queues emergency work
- Query and mutation hooks → API client: calls requests
src/api/queries/hooks.ts - API client → Mock API: serves prototype requests
src/api/queries/provider.tsx - Mock API → Prototype data: reads sample data
src/data/mockClient.ts - Clinician queues → Query and mutation hooks: loads portal data
- Doctor search → Query and mutation hooks: loads directory
src/app/[locale]/(patient)/doctors/page.tsx - Report wallet → Query and mutation hooks: loads reports
src/app/[locale]/(patient)/reports/page.tsx - Patient chart → Query and mutation hooks: loads chart data
src/app/[locale]/(clinician)/patients/[id]/page.tsx - Triage sessions → Query and mutation hooks: submits triage
- Landing page → Bilingual formatting: formats language