hospitalrun-frontend
hospitalrun-frontend copied to clipboard
Incidents: Add the ability to edit incident details
🚀 Feature Proposal
Add the ability to edit a reported incident.
Motivation
One an incident has been reported, the system must provide a way to update it, to correct any mistakes or provide a progress update.
Technical Details
Incident Model
Add the following new fields to the incident model
reportedTo: string
Incident View Form
Make the following fields editable on the current view form: department, category, category item, description, incident reported to, patient impacted (introduced via #2493)
Footer
- Add a new footer button "Update" which will save changes made by the user.
can i be assigned @blestab ?
Thanks @mohitdmak
Hi @mohitdmak, compliments of the season and best wishes for 2021! Just checking how this work is going.
Hello @blestab
Extremely sorry for the delay, and sorry for the late reply too, I got stuck in using functions from imports and was learning the stuff in documentation which I don't know, and just had my college exams too.
If the issue is urgent or if anyone else wishes to finish this quickly, you may please do so meanwhile I am still working on understanding how to make changes.
Once again, sorry and I will update you if I get any leads..
Thankyou
@blestab could i take this one?
Ok. @mohitdmak could you update @riiniii?
apologies moving countries rn so will get to it this week
@tehKapa or @blestab what values can reportedTo be? will it map to another username (so maybe like user.name, patient.name, etc.) or just any string value representing a name?
@tehKapa i think this one is done since june but just no review. i kind of forgot what i did at this point so can double check everything's correct