Feature: Enhanced Patient Status Flow Integration
Summary A reusable, integrated Patient Status Flow component that provides real-time tracking of the patient's journey across all medical camp stages.
Feature Details
1. Reusable PatientStatusFlow Component
- Horizontal Layout: Designed for desktop efficiency, providing a clear overview at the top of pages without excessive scrolling.
- Responsive Design: Automatically transitions to a vertical layout on mobile devices for better readability.
- Progress Tracking: Visual indicators for Registration, Doctor Assignment, Vitals, Prescriptions, Pharmacy, and Counseling.
2. Deep Page Integration
The status bar is integrated at the top of the main content area in the following volunteer pages:
- Registration: Landing search, new registration, and existing patient views.
- Assign Doctor: From patient selection through to assignment.
- Record Vitals: Visible while inputting patient health data.
- Update Prescription: Integrated into the prescription management view.
- Verify Medicines: Accessible during the pharmacy verification step.
- Counseling: Present during the final patient counseling session.
3. Real-Time Status Updates
- Uses Cache Invalidation to ensure the flow updates immediately after a volunteer performs an action.
- Status changes reflect instantly after:
- Recording vitals.
- Assigning a doctor.
- Adding/Updating prescriptions.
- Verifying medicine dispatch.
- Completing counseling.
Visual Reference
