DocTrack is a secure, multi-tenant Patient Data Management System and Electronic Medical Record (EMR) portal designed for independent clinics and practitioners. The platform establishes isolated clinical workspaces, enabling secure patient registration, structured visit timeline tracking, and media document storage.
DocTrack includes an integrated clinical assistant pipeline powered by Large Language Models (LLMs) to automate structured SOAP note formatting, history timelines synthesis, and lab report optical character recognition (OCR).
Explore the user interface screens of DocTrack:
Secure practitioner entrance to access doctor-owned patient files.
Real-time statistics metrics showing total patients, today’s appointments, completed visits, and active consultation queues.
Roster view of all active clinic patient files with search and gender filtering.
Demographics entry card to register new patients and collect contact details.
Comprehensive visit timeline displaying symptoms, diagnoses, prescriptions, and media attachment vaults.
Synthesized EMR clinical history overview generated dynamically.
List view to schedule, reschedule, complete, or cancel patient visits.
djangorestframework-simplejwt).gemini-1.5-flash model integration)DocTrack/
├── backend/ # Django EMR API
│ ├── doctrack/ # Settings and root urls
│ ├── api/ # EMR models, serializers, views, and AI logic
│ ├── requirements.txt # Python dependencies
│ └── .env.example # Environment credentials template
│
└── frontend/ # React Vite SPA Client
├── src/
│ ├── components/ # UI Shell Layout and custom components
│ ├── context/ # AuthContext JWT session management
│ ├── pages/ # Pages (Dashboard, Patients, Appointments, Details)
│ └── services/ # Axios API client interceptors
├── tailwind.config.js # Theme design tokens
├── vercel.json # SPA rewrite rules
└── .env.example # Client API url template
cd backend
python -m venv venv
# On Windows (PowerShell):
..\venv\Scripts\activate
# On macOS/Linux:
source ../venv/bin/activate
pip install -r requirements.txt
.env.example to .envGEMINI_API_KEY or Cloudinary keys. If left blank, mock engines will run automatically.python manage.py migrate
python manage.py runserver
The Swagger OpenAPI specifications are accessible at http://localhost:8000/api/schema/swagger-ui/.
cd frontend
npm install
.env.example to .envnpm run dev
The system is configured for cloud environments and deployed on the following infrastructure:
This project is licensed under the MIT License.