How sneha-20/clinical_mgmt works
Clinical_Mgmt is a clinic operations system: reception staff register patients and visits, audiologists manage clinical history, tests and trials, and staff handle service requests, billing, inventory and reporting. The frontend calls a Django REST API; backend domain records are represented by Django models. The graph emphasizes documented patient/service workflows and major README or route-index capabilities. Unsampled route handlers and much of the frontend service wiring limit evidence for several links, so those relationships are omitted rather than inferred.
Main entry points: client.js Browser API client · models.py Clinical records · TgaServicePage.jsx Service workspace · urls.py API routing
Components 21
Clinic frontend
- Patient intake
Frontend/lib/hooks/usePatientData.js - Audiology workflow
Frontend/components/modules/audiologist/case-history-form.jsx - Service workspace
Frontend/components/modules/receptionist/TgaServicePage.jsx - Service queue
Frontend/components/modules/receptionist/component/ServiceList.jsx - Service actions
Frontend/components/modules/receptionist/component/ServiceDetails.jsx - Billing screens
Frontend/app/dashboard/billing/[visitId]/page.jsx - Inventory screens
Frontend/components/modules/InventoryManagement/inventory-management.jsx - Clinic reports
Frontend/app/dashboard/analytics/page.jsx
Clinical API
- API routing
Backend/Python/clinical_be/urls.py - Accounts API
Backend/Python/accounts/views.py - Clinical API
Backend/Python/clinical/views.py - Service operations
Backend/Python/clinical/api_for_services.py - Clinic reports
Backend/Python/clinical/admin_services.py
Clinic records
- User accounts
Backend/Python/accounts/models.py - Clinical records
Backend/Python/clinical/models.py - Bills and transactions
Backend/Python/clinical/models.py - Inventory and devices
Backend/Python/clinical/models.py
API access
- Browser API client
Frontend/lib/api/client.js - HTTP transport
Frontend/lib/axios.js - API endpoint config
Frontend/lib/utils/config.js
Other components
- Clinic staff
Connections 27
- Clinic staff → Patient intake: registers visits
README.md - Patient intake → Browser API client: requests patient data
- Browser API client → HTTP transport: sends HTTP
Frontend/lib/api/client.js - Browser API client → API endpoint config: gets API base
Frontend/lib/api/client.js - HTTP transport → API endpoint config: configures base URL
Frontend/lib/axios.js - Browser API client → API routing: calls API
- Clinic staff → Audiology workflow: records assessments
README.md - Audiology workflow → Browser API client: submits clinical data
- Clinic staff → Service workspace: manages requests
Frontend/components/modules/receptionist/TgaServicePage.jsx - Service workspace → Service queue: renders
Frontend/components/modules/receptionist/TgaServicePage.jsx - Service workspace → Service actions: routes to details
Frontend/components/modules/receptionist/TgaServicePage.jsx - Service queue → Service actions: selects service
- Service actions → Clinical API: updates service
- Service operations → Clinical records: reads service visit
Backend/Python/clinical/api_for_services.py - Service operations → Bills and transactions: updates bill items
Backend/Python/clinical/api_for_services.py - Clinic staff → Billing screens: manages charges
- Billing screens → Browser API client: requests billing
- Clinic staff → Inventory screens: manages stock
- Inventory screens → Browser API client: requests inventory
- Clinic staff → Clinic reports: reviews reports
- Clinic reports → Browser API client: requests reports
- API routing → Accounts API: routes accounts
- API routing → Clinical API: routes clinical
- Accounts API → User accounts: manages users
- Clinical API → Clinical records: manages visits
- Clinic reports → Clinical records: queries patients
Backend/Python/clinical/admin_services.py - Clinical records → User accounts: references accounts
Backend/Python/clinical/models.py