-
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
Redesign Doctor Notes (Review, QA, Testing) #6224
Conversation
the ohcnetwork/care#1553 backend for making it realtime was rejected, |
@Ashesh3 to work on the co-related backend today, expected delivery by this weekend |
@Ashesh3 ohcnetwork/care#1688 new back-end create |
👋 Hi, @Bhavik-ag, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
LGTM |
WHAT
🤖 Generated by Copilot at 15475e1
This pull request adds a new feature to the consultation module that allows viewing and adding patient notes in a slide-over panel. It introduces new components, constants, and actions for the patient notes feature, and uses a library for infinite scrolling and a websocket for real-time updates. It also modifies the notification module to handle the new event for patient note added. It also makes some minor formatting and readability improvements to some files.
Proposed Changes
Backend Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 15475e1
react-infinite-scroll-component
library (link,link)PatientNoteCard
component to render each patient note as a card with content, date, and creator information (link,link)USER_TYPES_MAP
constant to display user-friendly labels for the user types of the note creators (link,link)useMessageListener
hook to listen for updates from the websocket and re-fetch the patient notes accordingly (link,link)PATIENT_NOTE_ADDED
and define its text and link (link,link)PatientNotes
component to use thePatientNotesList
component and theTextFormField
component (link,link,link,link)UniconPaths.json
file (link,link,link)Common.json
file and add a new line at the end ofConsultation.json
file (link,link)