How jepeebrillantes1234-arch/clinic-management works
This is a Django clinic-management application for student records, medicine inventory and dispensing, staff operations, reporting, and notifications. A typical staff workflow registers or looks up a student, consults medicine suggestions, and records a dispense against available stock; the models persist clinic and inventory state. The tree also contains a second, older-looking clinic app under clinic_management/clinic; its relationship to the root app is not established by the excerpts. Edges below are limited to relationships shown in excerpts or the source index; unsampled routes and views are represented without guessed call links.
Main entry points: models.py Clinic data · student.py Student records · dashboard.py Dashboard and auth · views.py Legacy clinic views
Components 18
Student care
- Student records
clinic/views/student.py - Medicine suggestions
clinic/medicine_suggestions.py - Dispensing
clinic/views/dispense.py
Medicine inventory
- Medicine catalog
clinic/views/medicine.py - Stock allocation
clinic/inventory.py - Clinic data
clinic/models.py
Clinic operations
- Dashboard and auth
clinic/views/dashboard.py - Nurse management
clinic/views/nurse.py - Notifications
clinic/views/notifications.py - Recycle bin
clinic/views/trash.py - PDF reports
clinic/pdf_exports.py - Legacy clinic views
clinic_management/clinic/views.py - Legacy forms
clinic_management/clinic/forms.py - Legacy clinic data
clinic_management/clinic/models.py
Application foundation
- Audit and alerts
clinic/services.py - Role access
clinic/decorators.py - Shared page context
clinic/context_processors.py
Other components
- Clinic staff
Connections 14
- Clinic staff → Student records: submits requests
- Student records → Clinic data: reads and writes
clinic/views/student.py - Student records → Medicine suggestions: requests matches
clinic/views/student.py - Student records → Stock allocation: uses stock logic
clinic/views/student.py - Student records → PDF reports: renders records
clinic/views/student.py - Medicine suggestions → Clinic data: filters medicines
clinic/medicine_suggestions.py - Stock allocation → Clinic data: updates batches
clinic/inventory.py - Medicine catalog → Clinic data: manages medicines
clinic/views/medicine.py - Dashboard and auth → Clinic data: queries clinic data
clinic/views/dashboard.py - Dashboard and auth → Audit and alerts: logs actions
clinic/views/dashboard.py - Dashboard and auth → PDF reports: builds reports
clinic/views/dashboard.py - Shared page context → Clinic data: loads alerts
clinic/context_processors.py - Legacy clinic views → Legacy forms: uses forms
clinic_management/clinic/views.py - Legacy clinic views → Legacy clinic data: reads and writes
clinic_management/clinic/views.py