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

Consultation Form: Capture Date & Time of Admisison #6444

Closed
wants to merge 3 commits into from

Conversation

rithviknishad
Copy link
Member

@rithviknishad rithviknishad commented Oct 12, 2023

WHAT

🤖 Generated by Copilot at 9c361bd

This pull request modifies the ConsultationForm, TreatmentSummary, and PatientInfoCard components to show the time of admission for patients who are admitted to a facility, as well as the formatDateTime function in utils.ts to handle different date formats. This is done to address issue #1729, which requests more accurate admission date information.

Required Backends

Proposed Changes

@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 9c361bd

  • Modify ConsultationForm component to render different input fields for admission_date based on suggestion value (link)
  • Use formatDateTime function to display admission_date value in TreatmentSummary and PatientInfoCard components (link, link)
  • Add optional format parameter and zero-time check to formatDateTime function in utils.ts file (link)

@rithviknishad rithviknishad requested a review from a team October 12, 2023 13:30
@rithviknishad rithviknishad requested a review from a team as a code owner October 12, 2023 13:30
@vercel
Copy link

vercel bot commented Oct 12, 2023

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

Name Status Preview Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview Oct 12, 2023 1:30pm

@netlify
Copy link

netlify bot commented Oct 12, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 9c361bd
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6527f4e2cbd7950008d0cdac
😎 Deploy Preview https://deploy-preview-6444--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.

@cypress
Copy link

cypress bot commented Oct 12, 2023

Passing run #1403 ↗︎

0 78 0 0 Flakiness 0

Details:

Consultation Form: Capture Date & Time of Admisison
Project: CARE Commit: 9c361bd9af
Status: Passed Duration: 02:54 💡
Started: Oct 12, 2023 1:34 PM Ended: Oct 12, 2023 1:37 PM

Review all test suite changes for PR #6444 ↗︎

@rithviknishad rithviknishad deleted the admission-datetime branch February 19, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant