How nayan288/medicare-hospital-management-system works
MediCare is a Django hospital-management web application. Patients can register and sign in, browse doctors and departments, book appointments, and view appointments, prescriptions, and payments; administrators have dashboard and record-management pages. The domain models also cover medicines, medical records, staff, and rooms, though the sampled views do not show their workflows. Edges reflect the sampled URL configuration, view/model references, and settings; several view implementations and template renderings were only partially excerpted.
Main entry points: admin.py Admin registry · settings.py SQLite database · views.py Web views · urls.py Project routes
Components 23
Web entry and UI
- Project routes
main/urls.py - Application routes
app/urls.py - Web views
app/views.py - Page templates
templates - Admin views
app/views.py
Patient workflows
- Patient accounts
app/views.py - Patient profiles
app/views.py - Appointment booking
app/views.py
Clinical records
- Doctor directory
app/views.py - Departments
app/models.py - Doctor records
app/models.py - Appointment records
app/models.py - Prescriptions
app/models.py - Medical records
app/models.py
Hospital operations
- Payments
app/models.py - Medicines
app/models.py - Staff records
app/models.py - Room records
app/models.py - Admin registry
app/admin.py
Persistence and framework
- SQLite database
main/settings.py - Django authentication
main/settings.py
Other components
- Patient
- Administrator
Connections 22
- Patient → Project routes: sends requests
main/urls.py - Administrator → Project routes: sends requests
main/urls.py - Project routes → Application routes: includes routes
main/urls.py - Application routes → Web views: dispatches to
app/urls.py - Web views → Page templates: renders pages
app/views.py - Patient accounts → Django authentication: authenticates users
app/views.py - Patient accounts → SQLite database: creates patient data
app/views.py - Patient profiles → SQLite database: queries patient data
app/views.py - Doctor directory → SQLite database: queries doctors
app/views.py - Appointment booking → SQLite database: creates appointments
app/views.py - Web views → SQLite database: queries records
app/views.py - Admin views → SQLite database: queries records
app/views.py - Admin registry → Doctor records: registers model
app/admin.py - Admin registry → Departments: registers model
app/admin.py - Admin registry → Appointment records: registers model
app/admin.py - Admin registry → Prescriptions: registers model
app/admin.py - Admin registry → Payments: registers model
app/admin.py - Admin registry → Medical records: registers model
app/admin.py - Admin registry → Medicines: registers model
app/admin.py - Admin registry → Staff records: registers model
app/admin.py - Admin registry → Room records: registers model
app/admin.py - SQLite database → Appointment records: stores model data