hospitalrun-frontend icon indicating copy to clipboard operation
hospitalrun-frontend copied to clipboard

Incidents: Add the ability to edit incident details

Open blestab opened this issue 3 years ago • 9 comments

🚀 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.

blestab avatar Dec 06 '20 06:12 blestab

can i be assigned @blestab ?

mohitdmak avatar Dec 08 '20 09:12 mohitdmak

Thanks @mohitdmak

blestab avatar Dec 08 '20 11:12 blestab

Hi @mohitdmak, compliments of the season and best wishes for 2021! Just checking how this work is going.

blestab avatar Jan 05 '21 11:01 blestab

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

mohitdmak avatar Feb 06 '21 15:02 mohitdmak

@blestab could i take this one?

riiniii avatar Feb 07 '21 02:02 riiniii

Ok. @mohitdmak could you update @riiniii?

matteovivona avatar Feb 09 '21 11:02 matteovivona

apologies moving countries rn so will get to it this week

riiniii avatar Feb 22 '21 05:02 riiniii

@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?

riiniii avatar Mar 08 '21 04:03 riiniii

@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

riiniii avatar Oct 27 '21 16:10 riiniii