How hemanthps007/ayushveda-final works
AyushVeda is a Flask-based, role-based Ayurvedic health-management application. Doctors can enter or extract symptoms, predict a disease, review medicine guidance and safety warnings, and create prescriptions; patients can view treatment history and manage appointments, payments, profiles, and location sharing. Admins manage doctors, patients, appointments, and payments. The sampled source confirms prediction, Excel lookups, safety checks, and SQLite access; broader capabilities come from the README, so uncertain integrations are shown separately.
Main entry points: app.py Flask routes · doctor Doctor portal · patient Patient portal · admin Admin portal
Components 22
Role Portals
- Flask routes
app.py - Doctor portal
templates/doctor - Patient portal
templates/patient - Admin portal
templates/admin
Clinical Workflow
- Symptom extraction
app.py - Disease prediction
ml_model/disease_model.pkl - Symptom vocabulary
ml_model/symptoms_list.pkl - Medicine guidance
app.py - Safety checks
app.py
Care Records
- Prescriptions
app.py - Appointments
app.py - Payments
app.py - Profiles and history
app.py - Patient location
app.py
Data and Integrations
- SQLite records
ayurcare.db - Ayurvedic medicines
data/ayurvedic_medicines.xlsx - Allopathic medicines
data/allopathic_medicines.xlsx - Gemini AI
- Email service
Other components
- Doctor
- Patient
- Admin
Connections 21
- Doctor → Doctor portal: uses
- Patient → Patient portal: uses
- Admin → Admin portal: uses
- Doctor portal → Flask routes: submits requests
- Patient portal → Flask routes: submits requests
- Admin portal → Flask routes: submits requests
- Flask routes → Symptom extraction: extracts symptoms
- Symptom extraction → Symptom vocabulary: matches against
- Symptom extraction → Gemini AI: optional extraction
- Flask routes → Disease prediction: predicts disease
- Flask routes → Medicine guidance: looks up guidance
- Medicine guidance → Ayurvedic medicines: reads
- Medicine guidance → Allopathic medicines: reads
- Flask routes → Safety checks: checks patient risks
- Flask routes → Prescriptions: creates and reads
- Flask routes → Appointments: manages
- Flask routes → Payments: manages
- Flask routes → Profiles and history: manages
- Flask routes → Patient location: updates and reads
- Flask routes → SQLite records: reads and writes
- Flask routes → Email service: reassignment alert