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

Support for tracking consultation readmissions #6239

Merged
merged 4 commits into from
Sep 12, 2023

Conversation

rithviknishad
Copy link
Member

@rithviknishad rithviknishad commented Sep 7, 2023

WHAT

🤖 Generated by Copilot at dcd1e0b

Added a feature to show readmission status of consultations in the patient and facility views. Modified ConsultationModel, ConsultationCard, PatientInfoCard, and PatientManager components to use the is_readmission property and the Chip component.

Required Backends:

Proposed Changes

image image image

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

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at dcd1e0b

  • Add is_readmission property to ConsultationModel interface to store readmission status of consultations (link)
  • Import Chip component from ../../CAREUI/display/Chip to use it in ConsultationCard and PatientManager components (link, link)
  • Display Chip component with repeat icon and custom style in ConsultationCard and PatientManager components if consultation is a readmission (link, link)
  • Add CareIcon component with repeat icon and custom style to PatientInfoCard component if consultation is a readmission (link)
  • Increase gap between elements in PatientInfoCard component by changing gap-1 class to gap-2 (link)

@rithviknishad rithviknishad requested a review from a team September 7, 2023 13:08
@rithviknishad rithviknishad requested a review from a team as a code owner September 7, 2023 13:08
@vercel
Copy link

vercel bot commented Sep 7, 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 Sep 11, 2023 3:21pm

@netlify
Copy link

netlify bot commented Sep 7, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 8daa2c6
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/64ff30691c9d9b0008075e14
😎 Deploy Preview https://deploy-preview-6239--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 configuration.

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 87f36ba into develop Sep 12, 2023
28 of 29 checks passed
@khavinshankar khavinshankar deleted the consultation/readmission branch September 12, 2023 13:54
@github-actions
Copy link

@rithviknishad We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tracking re-admission
3 participants