Skip to content
C

CAMPUSCARE

Kool And Smart User-friendly

Created on 29th March 2026

•

C

CAMPUSCARE

Kool And Smart User-friendly

The problem CAMPUSCARE solves

The solution stands out through its configurable and modular architecture, allowing different campuses to customize workflows without code changes. It integrates real-time token tracking with queue time prediction, improving transparency and reducing waiting time. The end-to-end digital prescription flow eliminates multiple counters, enabling seamless medicine dispensing. Unique features like AI-based symptom pre-check, emergency priority handling, and health analytics for outbreak detection enhance decision-making. Additionally, centralized medical records and smart inventory alerts ensure continuity of care and efficient resource management, making the system more intelligent and adaptable than traditional dispensary solutions.

Challenges I ran into

Challenges I Ran Into

1. Real-Time Token Synchronization Issue

One major challenge was ensuring that the current token, queue position, and ETA were updated consistently across student, doctor, and pharmacist dashboards. Initially, the data became inconsistent due to page reload delays and concurrent updates.

Solution:
I implemented periodic polling using AJAX to fetch the latest token data every few seconds. Additionally, I ensured atomic updates at the database level to avoid race conditions.


2. Prescription Flow Duplication Bug

While implementing the digital prescription system, duplicate entries were being created when doctors accidentally submitted forms multiple times.

Solution:
I added form validation and disabled the submit button after the first click. Backend checks were also introduced to prevent duplicate prescription records.


3. Role-Based Access Control Conflicts

Different users (student, doctor, pharmacist, admin) were sometimes able to access unauthorized views due to improper role checks.

Solution:
I centralized role validation using custom middleware and decorators, ensuring each route is strictly accessible only to the intended role.


4. Inventory Inconsistency

Medicine stock was not updating correctly when multiple prescriptions were processed simultaneously.

Solution:
Used database transactions and select_for_update() to lock rows during stock updates, ensuring accurate inventory management.


5. UI-State Mismatch in Queue Display

The frontend occasionally showed outdated queue data due to caching and delayed updates.

Solution:
Disabled aggressive caching and implemented dynamic UI refresh using JavaScript, ensuring users always see the latest queue status.

Tracks Applied (1)

Main Track: The Deepforge Arena

How My Project Fits into a Main Track It addresses a real-world problem faced daily in college campuses—inefficient dis...Read More

Discussion

Builders also viewed

See more projects on Devfolio