How aswinkumar08042008-bit/patient-case-taking works
MediVoice is a patient intake and clinician review application. The visible workflow selects a role, lets patients enter details and complete a multilingual text/voice assessment, then presents patient and clinical information in a doctor dashboard. The repository also contains Python backend, persistence, and voice-AI modules, but the backend entry point was not sampled, so their wiring to the frontend or one another cannot be confirmed. The README is only the Vite template and documents no additional product capabilities.
Main entry points: App.jsx Role router · api.js API client · PatientInterface.jsx Patient intake · DoctorDashboard.jsx Doctor dashboard
Components 14
Web application
- Role router
src/App.jsx - Role selection
src/RoleSelection.jsx - Patient intake
src/PatientInterface.jsx - Doctor dashboard
src/doctor/DoctorDashboard.jsx - API client
src/api/api.js
Backend services
- Python API
backend/main.py - Express server
backend/server.js - Voice assessment
backend/voice.py
Clinical data
- Database setup
backend/database.py - Clinical models
backend/models.py - Configured database
External services
- Gemini AI
- Configured API host
Other components
- Patient or doctor
Connections 10
- Patient or doctor → Role router: uses
src/App.jsx - Role router → Role selection: renders
src/App.jsx - Role router → Patient intake: routes patient
src/App.jsx - Role router → Doctor dashboard: routes doctor
src/App.jsx - Patient intake → API client: requests data
src/PatientInterface.jsx - Doctor dashboard → API client: requests records
src/doctor/DoctorDashboard.jsx - API client → Configured API host: targets host
src/api/api.js - API client → Python API: may call
- Database setup → Configured database: configures engine
backend/database.py - Voice assessment → Gemini AI: transcribes and generates
backend/voice.py