How diwakarreddyl/final-year-capstone-project works
MediSmart is a Django hospital-workflow application for patients, receptionists, doctors, and testers. Users enter through role-specific routes and dashboards; the main workflow covers appointment booking and doctor assignment, followed by test request approval, result upload, and clinician review with AI-assisted report analysis. Doctors can also create prescriptions. The excerpts establish the core forms, models, routes, and parts of the view logic; several feature relationships are documented only in the README, so those edges cite it rather than imply unsampled implementation details.
Main entry points: views.py Workflow views · urls.py Role routes · models.py Appointments · forms.py Role forms
Components 16
Hospital workflow
- Workflow views
hospital/views.py - Appointments
hospital/models.py - Doctor assignment
hospital/views.py
Clinical records
- Test requests
hospital/models.py - Test results
hospital/models.py - Prescriptions
hospital/models.py - SQLite database
Report intelligence
- Report analysis
hospital/views.py - CNN prediction
hospital/views.py
Web interface
- Role routes
hospital/urls.py - Role forms
hospital/forms.py - Role dashboards
hospital/templates/hospital
Other components
- Patient
- Receptionist
- Doctor
- Tester
Connections 17
- Patient → Role routes: opens patient routes
hospital/urls.py - Receptionist → Role routes: opens reception routes
hospital/urls.py - Doctor → Role routes: opens doctor routes
hospital/urls.py - Tester → Role routes: opens tester routes
hospital/urls.py - Role routes → Workflow views: dispatches to
hospital/urls.py - Workflow views → Role forms: uses forms
hospital/views.py - Workflow views → Appointments: manages appointments
hospital/views.py - Workflow views → Doctor assignment: assigns doctors
hospital/views.py - Workflow views → Test requests: manages requests
hospital/views.py - Workflow views → Test results: accesses results
hospital/views.py - Workflow views → Prescriptions: manages prescriptions
hospital/views.py - Workflow views → Role dashboards: renders pages
hospital/views.py - Workflow views → Report analysis: analyzes reports
hospital/views.py - Report analysis → CNN prediction: predicts disease
hospital/views.py - Appointments → SQLite database: persists records
README.md - Test requests → Test results: has uploaded result
hospital/models.py - Prescriptions → Appointments: records treatment for
hospital/models.py