-
Notifications
You must be signed in to change notification settings - Fork 477
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
Add titrated prescription dosage type #6565
Add titrated prescription dosage type #6565
Conversation
dosage_type and base_dosage instead of is_prn and dosage
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, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
src/Components/Medicine/MedicineAdministrationSheet/AdministrationTableRow.tsx
Outdated
Show resolved
Hide resolved
and fix dosage validation
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@GokulramGHV can you clear the merge conflict |
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
👋 Hi, @GokulramGHV, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@rithviknishad is attempting to deploy a commit to the Open Healthcare Network Team on Vercel. A member of the Team first needs to authorize it. |
@GokulramGHV Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌 |
WHAT
🤖 Generated by Copilot at 382550a
This pull request adds support for titrated dosage prescriptions and improves the prescription and administration modules. It updates the components, models, validators, and actions related to prescriptions and administrations to use the new fields and objects introduced in the backend. It also fixes some layout and translation issues in the prescription module.
Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 382550a
CheckBoxFormField
for titrate dosage option andNumericWithUnitsFormField
for start and target dosage inCreatePrescriptionForm
andEditPrescriptionForm
components (link, link, link, link, link, link)NumericWithUnitsFormField
for dosage input and validation logic inAdministerMedicine
component (link, link, link, link, link)Detail
component for instruction on titration and conditionally render dosage details according to dosage type inPrescriptionDetailCard
component (link, link, link, link, link, link)dosage_type
,base_dosage
,target_dosage
, andlast_administration
fields instead ofis_prn
,dosage
, andlast_administered_on
fields inmodels.ts
andvalidators.ts
files (link, link, link, link, link, link, link)dosage_type
instead ofis_prn
field to fetch prescriptions inPrescriptionAdministrationsTable
,PrescriptionBuilder
, andPrescriptionsTable
components (link, link, link)lastModified
andlast_administered__pretty
props to uselast_administration
object instead oflast_administered_on
field to show latest administration record inPrescriptionAdministrationsTable
andPrescriptionsTable
components (link, link)title
anddosage
props to usedosage_type
andbase_dosage
fields instead ofis_prn
anddosage
fields to show prescription details inPrescriptionAdministrationsTable
andPrescriptionsTable
components (link, link, link, link)last_administered_on
prop to uselast_administration
object to show last administered information inMedicineAdministration
component (link)Medicine.json
file and remove trailing comma (link, link)