Skip to content
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

Show current consultation details on Patient Dashboard #5301

Merged
merged 3 commits into from
Apr 11, 2023

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Apr 10, 2023

Fixes #5252

This PR updates the PatientInfoCard component to use the consultation data instead of the patient's last consultation data. This change ensures that the correct data is displayed for each consultation.

Changes include:

  • Replace patient.last_consultation with consultation in various parts of the component

image

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

@Ashesh3 Ashesh3 added needs testing P1 breaking issue or vital feature labels Apr 10, 2023
@Ashesh3 Ashesh3 requested a review from a team April 10, 2023 13:59
@Ashesh3 Ashesh3 requested a review from a team as a code owner April 10, 2023 13:59
@Ashesh3 Ashesh3 requested a review from bodhish April 10, 2023 14:00
@vercel
Copy link

vercel bot commented Apr 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2023 7:05am

@netlify
Copy link

netlify bot commented Apr 10, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit b2db72f
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/643506473facee00081d029e
😎 Deploy Preview https://deploy-preview-5301--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@nihal467
Copy link
Member

@Ashesh3
image

https://deploy-preview-5301--care-net.netlify.app/facility/aec039c8-d3e2-4691-a1b6-78b80d8530ed/patient/4ae3b7de-800d-4b41-8ac9-00dbb741fe9f/consultation/e90a8b7d-0caa-4de7-a049-2030c9a81535

  • when i mark a patient, he is abnormal in log update, the patient consultation is showing the correct patient category, but in the patient tab, it is not getting updated, it is still showing the consultation patient category value

@Ashesh3
Copy link
Member Author

Ashesh3 commented Apr 11, 2023

@Ashesh3 image

https://deploy-preview-5301--care-net.netlify.app/facility/aec039c8-d3e2-4691-a1b6-78b80d8530ed/patient/4ae3b7de-800d-4b41-8ac9-00dbb741fe9f/consultation/e90a8b7d-0caa-4de7-a049-2030c9a81535

  • when i mark a patient, he is abnormal in log update, the patient consultation is showing the correct patient category, but in the patient tab, it is not getting updated, it is still showing the consultation patient category value

Fixed.

@sonarcloud
Copy link

sonarcloud bot commented Apr 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
1.3% 1.3% Duplication

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 2cdd685 into ohcnetwork:develop Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 breaking issue or vital feature tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patient category is not getting changed after updating on log update
3 participants