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

Rename prescribed_medication to treatment_plan #6029

Merged
merged 4 commits into from
Aug 30, 2023
Merged

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Aug 9, 2023

WHAT

🤖 Generated by Copilot at 505d3fb

This pull request renames the prescribed_medication field to treatment_plan in various components and interfaces related to the consultation and treatment of patients. This is to avoid confusion with the actual medication prescribed to the patient and to make the terminology more consistent.

Proposed Changes

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

HOW

🤖 Generated by Copilot at 505d3fb

  • Rename the prescribed_medication field to treatment_plan in the consultation and patient models and components to avoid confusion with the actual medication prescribed to the patient (link, link, link, link, link, link, link, link, link, link)
  • Update the condition and the content of the treatment plan section in the ConsultationDetails.tsx, TreatmentSummary.tsx, and ShiftDetails.tsx components to use the renamed field (link, link, link, link)
  • Update the type definition, the initial state, the payload, and the ref of the treatment_plan field in the ConsultationForm.tsx and PatientRegister.tsx components to use the renamed field (link, link, link, link, link)
  • Update the type definition of the treatment_plan field in the ConsultationModel interface in the models.tsx file to use the renamed field (link)

@Ashesh3 Ashesh3 requested a review from a team August 9, 2023 05:25
@Ashesh3 Ashesh3 requested a review from a team as a code owner August 9, 2023 05:25
@vercel
Copy link

vercel bot commented Aug 9, 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 Aug 28, 2023 8:36pm

@netlify
Copy link

netlify bot commented Aug 9, 2023

Deploy Preview for care-egov-staging ready!

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

@netlify
Copy link

netlify bot commented Aug 9, 2023

Deploy Preview for care-net failed.

Name Link
🔨 Latest commit 505d3fb
🔍 Latest deploy log https://app.netlify.com/sites/care-net/deploys/64d3234a043ec90008a290f0

@github-actions github-actions bot added the Deploy-Failed Deplyment is not showing preview label Aug 9, 2023
@github-actions github-actions bot added the cypress failed pull request with cypress test failure label Aug 9, 2023
@github-actions github-actions bot added cypress failed pull request with cypress test failure and removed cypress passed labels Aug 28, 2023
@Ashesh3 Ashesh3 added urgent P1 breaking issue or vital feature labels Aug 29, 2023
@Ashesh3
Copy link
Member Author

Ashesh3 commented Aug 29, 2023

This should have been merged along with the backend change. @nihal467 could you test and get this merged?

@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit cfd43d8 into develop Aug 30, 2023
28 of 29 checks passed
@khavinshankar khavinshankar deleted the fix-6024 branch August 30, 2023 04:08
@github-actions
Copy link

@Ashesh3 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
Labels
cypress failed pull request with cypress test failure P1 breaking issue or vital feature tested urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix field name for Treatment Plan
4 participants