How pradip-p/e-health-care works
E-Health-Care is a Django healthcare app for patient self-service, basic disease prediction, doctor discovery, and appointment booking, with doctor and admin portals. The main patient workflow is to submit symptoms or health data (or an X-ray), receive a prediction, and use doctor search or appointment features; patients can also provide feedback. Doctors manage availability and appointments and can email precautions, while admins manage doctors, disease assignments, patients, predictions, and feedback. The graph includes chat and the REST disease API as additional capabilities. Some feature connections are documented only in the README; unsampled implementation details are not inferred.
Main entry points: patient/views.py Patient portal · doctor/views.py Doctor portal · roleadmin/views.py Admin portal · models.py Doctor profiles
Components 21
Patient care
- Patient portal
patient/views.py - Patient records
patient/models.py - Patient feedback
patient/models.py
Prediction
- Symptom prediction
api/diseaseml.py - Heart prediction
patient/heart.py - Diabetes prediction
patient/Diabetes.py - Pneumonia prediction
patient/pneumonia.py - Image processing
patient/image_block.py - Prediction history
patient/models.py
Appointments
- Appointment forms
appointment/forms.py - Appointment records
appointment/models.py
Care operations
- Doctor profiles
doctor/models.py - Admin portal
roleadmin/views.py - Doctor portal
doctor/views.py
Messaging and API
- Chat endpoints
chat/views.py - Messages
chat/models.py - Disease API
api/views.py - API serializers
api/serializers.py - API disease records
api/models.py
Other components
- Patient
- Email service
Connections 23
- Patient → Patient portal: uses
README.md - Patient portal → Patient records: reads and updates
patient/views.py - Patient portal → Symptom prediction: invokes
patient/views.py - Patient portal → Heart prediction: invokes
patient/views.py - Patient portal → Diabetes prediction: invokes
patient/views.py - Patient portal → Pneumonia prediction: invokes
patient/views.py - Patient portal → Image processing: invokes
patient/views.py - Patient portal → Prediction history: records predictions
patient/views.py - Patient portal → Doctor profiles: searches doctors
patient/views.py - Patient portal → Appointment forms: validates booking
patient/views.py - Patient portal → Appointment records: books appointments
patient/views.py - Patient portal → Patient feedback: reads feedback
patient/views.py - Doctor portal → Appointment forms: uses
doctor/views.py - Doctor portal → Appointment records: manages appointments
doctor/views.py - Doctor portal → Doctor profiles: reads doctor profile
doctor/views.py - Doctor portal → Email service: sends precautions
doctor/views.py - Admin portal → Doctor profiles: manages doctors
roleadmin/views.py - Admin portal → Patient records: manages patients
roleadmin/views.py - Admin portal → Patient feedback: reviews feedback
roleadmin/views.py - Chat endpoints → Messages: reads and writes
chat/views.py - Disease API → API serializers: serializes
api/views.py - Disease API → Symptom prediction: invokes
api/views.py - API serializers → API disease records: serializes records
api/serializers.py