How brainvoiceai-admin/avcri works
AVCRI is a Django-based AI resource-allocation system for patient therapy operations. The visible workflow is user access, patient/visit data and treatment preferences, then scheduling and room/therapist assignment, with rescheduling and nurse allocation supporting operational changes. The README is very brief; the tree and sampled source also indicate prescription/procurement, master data, and forecasting capabilities, retained as distinct branches. Several views and domain modules were not sampled, so undocumented connections are omitted.
Main entry points: models.py Schedule and bookings · views.py Authentication and roles · forecast.py Forecast generation · final_allocation.py Schedule allocation
Components 22
Access and identity
- Authentication and roles
authentication/views.py - Role and module data
authentication/models.py
Patient operations
- Patient records
Patient/models.py - Clinical source data
MySql_Data_pull/models.py - Therapist preferences
Sheduling/preference_views.py - Prescription workflows
Sheduling/prescription_views.py - Imported-data interface
MySql_Data_pull/views.py
Resource allocation
- Schedule and bookings
Sheduling/models.py - Schedule allocation
final_allocation.py - Rescheduling
reshedule.py - Nurse allocation
Sheduling/nurse_allocation.py - Scheduling interface
Sheduling/views.py
Operational services
- Operational masters
masters/models.py - Procurement workflows
Sheduling/procurement_views.py - Background task setup
AVCRI/celery.py - Reschedule tasks
Sheduling/tasks.py - Forecast tasks
predictor/tasks.py - Staff leave updates
api.py
Forecasting
- Forecast generation
predictor/forecast.py - Forecast records
predictor/models.py - Forecast interface
predictor/views.py
Other components
- Staff user
Connections 25
- Staff user → Authentication and roles: signs in
authentication/views.py - Authentication and roles → Role and module data: checks roles
authentication/views.py - Authentication and roles → Patient records: manages patients
authentication/views.py - Authentication and roles → Schedule and bookings: manages schedules
authentication/views.py - Patient records → Clinical source data: links visit data
Patient/models.py - Therapist preferences → Schedule allocation: reallocates therapists
Sheduling/preference_views.py - Therapist preferences → Schedule and bookings: updates bookings
Sheduling/preference_views.py - Scheduling interface → Schedule and bookings: serves schedules
- Schedule allocation → Schedule and bookings: writes assignments
final_allocation.py - Schedule allocation → Operational masters: checks resources
final_allocation.py - Rescheduling → Schedule and bookings: reassigns bookings
reshedule.py - Rescheduling → Schedule allocation: uses allocation logic
reshedule.py - Nurse allocation → Operational masters: reads nurse data
Sheduling/nurse_allocation.py - Prescription workflows → Schedule and bookings: manages prescriptions
- Procurement workflows → Schedule and bookings: manages procurement
- Imported-data interface → Clinical source data: reads imported data
MySql_Data_pull/views.py - Forecast generation → Clinical source data: reads clinical history
predictor/forecast.py - Forecast generation → Patient records: reads patient history
predictor/forecast.py - Forecast generation → Forecast records: stores forecasts
predictor/forecast.py - Forecast interface → Forecast records: serves forecasts
- Reschedule tasks → Staff leave updates: updates leave
Sheduling/tasks.py - Reschedule tasks → Rescheduling: runs rescheduling
- Forecast tasks → Forecast generation: runs forecasts
- Reschedule tasks → Background task setup: uses task queue
Sheduling/tasks.py - Forecast tasks → Background task setup: uses task queue
predictor/tasks.py