How kartik-h6/healthcare-ai works
Healthcare AI is a Flask healthcare-support application. Its principal workflow takes an authenticated user’s selected symptoms through ML disease classification, enriches the result with disease-specific recommendations, then presents and stores the prediction. Separate branches provide chatbot answers, downloadable reports, account/history tools, and administration of users, predictions, and healthcare data. The README documents these capabilities; some connections are therefore shown from that documentation where sampled source does not expose the call site.
Main entry points: prediction.py Symptom prediction · db.py Database connector · app.py Flask application · admin.py Admin panel
Components 18
Web application
- Flask application
app.py - Prediction result
templates/prediction_result.html - PDF reports
services/pdf_service.py - Chat interface
routes/chatbot.py - Application settings
config.py
Prediction and guidance
- Symptom prediction
routes/prediction.py - Symptom catalog
dataset/symptoms_master.py - Disease classifier
ml/predict.py - Disease recommendations
services/recommendation_service.py - Healthcare datasets
dataset - Healthcare chatbot
services/chatbot_service.py
Accounts and records
- Authentication
routes/auth.py - Database connector
db.py - Prediction history
services/history_service.py - Profile management
services/profile_service.py
Healthcare administration
- Admin panel
routes/admin.py
Other components
- User
- Oracle database
Connections 22
- User → Flask application: uses
README.md - Flask application → Authentication: registers routes
app.py - Authentication → Database connector: requests connection
routes/auth.py - Database connector → Application settings: loads settings
db.py - Database connector → Oracle database: connects
db.py - User → Symptom prediction: selects symptoms
README.md - Symptom prediction → Disease classifier: predicts disease
routes/prediction.py - Symptom prediction → Disease recommendations: gets guidance
routes/prediction.py - Disease recommendations → Healthcare datasets: reads information
README.md - Symptom catalog → Symptom prediction: supplies symptom names
- Symptom prediction → Prediction result: renders result
README.md - Symptom prediction → Prediction history: saves prediction
routes/prediction.py - Prediction history → Database connector: stores records
services/history_service.py - Flask application → PDF reports: provides reports
README.md - User → Chat interface: asks questions
README.md - Chat interface → Healthcare chatbot: delegates answers
routes/chatbot.py - Healthcare chatbot → Healthcare datasets: retrieves disease details
- Flask application → Profile management: uses profile service
app.py - Profile management → Database connector: reads profile data
services/profile_service.py - Flask application → Admin panel: registers routes
app.py - Admin panel → Database connector: manages records
routes/admin.py - Admin panel → Healthcare datasets: manages datasets
README.md