How pundavels/pundavels-agape-physical-therapy-clinic-main works
AgapeCare is a multi-branch physical therapy clinic management system. Staff use branch-scoped workspaces to manage patients, scheduling, clinical documentation, inventory and financial operations; patients and the public can request bookings and access a client portal. The graph emphasizes those domain stages and the service layer behind them. Relationships are limited to README statements and SOURCE INDEX references; unsampled modules are represented only where documented, so some internal connections are intentionally omitted.
Main entry points: clinical/routes.py Clinical records · models Clinic database · admin/routes.py Administration · appointments/routes.py Appointment workflows
Components 23
Identity and access
- Authentication
app/services/auth_service.py - Branch permissions
app/auth/policies.py - Audit records
app/services/audit_service.py
Clinic operations
- Administration
app/blueprints/admin/routes.py - Patient registry
app/blueprints/patients/routes.py - Patient 360
app/services/patient360.py - Front desk
app/services/front_desk.py - Appointment workflows
app/blueprints/appointments/routes.py - Availability engine
app/services/availability.py - SMS reminders
app/sms_reminders/service.py
Patient care
- Clinical records
app/blueprints/clinical/routes.py - Clinical service
app/services/clinical.py
Finance and stock
- Billing workspace
app/blueprints/billing/routes.py - Invoice service
app/services/billing.py - Cashier and POS
app/blueprints/pos/routes.py - Inventory
app/blueprints/inventory/routes.py - Reports
app/services/reports.py
Public and portal
- Patient portal
app/blueprints/patient/routes.py - Public website
app/blueprints/public/routes.py
Other components
- Clinic staff
- Patients
- Public visitors
- Clinic database
app/models
Connections 28
- Clinic staff → Authentication: signs in
- Patients → Patient portal: requests bookings
- Public visitors → Public website: views services
- Public visitors → Patient portal: starts booking
- Clinic staff → Administration: manages clinic
- Clinic staff → Patient registry: finds patients
- Patient registry → Patient 360: opens overview
app/blueprints/patients/routes.py - Clinic staff → Front desk: handles front desk
- Clinic staff → Appointment workflows: books appointments
- Appointment workflows → Availability engine: checks slots
app/blueprints/appointments/routes.py - Patient portal → Availability engine: checks slots
app/blueprints/patient/routes.py - Clinic staff → Clinical records: documents care
- Clinical records → Clinical service: records clinical data
app/blueprints/clinical/routes.py - Patients → Clinical records: views own exercises
- Clinic staff → Billing workspace: manages invoices
- Billing workspace → Invoice service: issues invoices
app/blueprints/billing/routes.py - Clinic staff → Cashier and POS: takes payments
- Cashier and POS → Invoice service: records sales
app/blueprints/pos/routes.py - Clinic staff → Inventory: manages stock
- Clinic staff → Reports: reviews reports
- Clinic staff → SMS reminders: configures reminders
- Administration → Branch permissions: enforces access
app/blueprints/admin/routes.py - Appointment workflows → Clinic database: reads and writes
app/blueprints/appointments/routes.py - Clinical records → Clinic database: reads and writes
app/blueprints/clinical/routes.py - Billing workspace → Clinic database: reads and writes
app/blueprints/billing/routes.py - Inventory → Clinic database: reads and writes
app/blueprints/inventory/routes.py - Administration → Audit records: records changes
app/blueprints/admin/routes.py - Clinical records → Audit records: audits access