-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added logic for showing "Track Shifting" button when patient has active shifting #6318
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi @nihal467 The "Create a New consultation to existing patient" test is failing. It expects "Doctor Dev" in the "Treating Physician" field. But only "rocky sharma" exists in the dropdown. I am also attaching the screenshots. Can you please advise me what I should do? Thanks |
Ideally, you'll need to run cypress tests against ur local backend with the default dummy data |
@nihal467 |
LGTM |
WHAT
🤖 Generated by Copilot at 55de92a
This file adds the functionality to view and track the shifting status of a patient in the consultation details page. It uses the existing
listShiftRequests
action andactiveShiftingData
state variable to fetch and display the shifting data. It also modifies the shift patient button to show the current shifting status and action.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 55de92a
listShiftRequests
action to fetch shifting data for a patient (link, link)activeShiftingData
state variable to store shifting data for a patient (link)hasActiveShiftingRequest
function to check if the patient has an active shifting request (link)src/Components/Facility/ConsultationDetails/index.tsx
to show track shifting option if the patient has an active shifting request (link)