How daanaayaa/adr-tracking-system works
ADR-T is a clinical web application for recording, grading, and analyzing adverse drug reactions in oncology patients using CTCAE. The primary workflow authenticates a clinician, gathers patient, encounter, and drug details in Step 1, records graded symptoms in Step 2, then saves an ADR record through the API. Records, monthly dashboard statistics, and annual reports provide follow-up analysis. The README documents backend/API and database capabilities, but backend implementation details and several page-to-API calls were not excerpted; those links are shown only where the README or source index supports them.
Main entry points: App.jsx App routing · api.js API client · Step2.jsx CTCAE grading · Records.jsx ADR records
Components 16
Application shell
- App routing
src/App.jsx - Navigation
src/components/Sidebar.jsx - User bar
src/components/Topbar.jsx - Login
src/pages/Login.jsx
ADR capture
- Patient and drugs
src/pages/Step1.jsx - CTCAE grading
src/pages/Step2.jsx - CTCAE terms
src/data/ctcae.json
Clinical review
- ADR records
src/pages/Records.jsx - Record detail
src/pages/Recorddetail.jsx - Monthly dashboard
src/pages/Dashboard.jsx - Annual reports
src/pages/report.jsx - Report components
src/pages/Reporttokens.jsx
API and data
- API client
src/services/api.js - Express API
src/services/server.js - Clinical database
Other components
- Clinician
Connections 21
- Clinician → App routing: opens
README.md - App routing → Login: renders
src/App.jsx - App routing → Navigation: renders
src/App.jsx - App routing → User bar: renders
src/App.jsx - App routing → Patient and drugs: routes
src/App.jsx - App routing → CTCAE grading: routes
src/App.jsx - App routing → ADR records: routes
src/App.jsx - App routing → Monthly dashboard: routes
src/App.jsx - App routing → Annual reports: routes
src/App.jsx - Patient and drugs → API client: requests data
src/pages/Step1.jsx - CTCAE grading → CTCAE terms: reads terms
src/pages/Step2.jsx - CTCAE grading → API client: saves record
src/pages/Step2.jsx - ADR records → API client: loads records
src/pages/Records.jsx - ADR records → Record detail: opens detail
- Record detail → API client: record operations
src/pages/Recorddetail.jsx - Monthly dashboard → API client: loads statistics
src/pages/Dashboard.jsx - Annual reports → Report components: uses components
src/pages/report.jsx - Annual reports → API client: loads yearly data
README.md - Login → API client: authenticates
src/pages/Login.jsx - API client → Express API: HTTP requests
README.md - Express API → Clinical database: reads and writes
README.md