Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Incidents: Add the ability to edit incident details #2494

Open
blestab opened this issue Dec 6, 2020 · 9 comments · May be fixed by #2689
Open

Incidents: Add the ability to edit incident details #2494

blestab opened this issue Dec 6, 2020 · 9 comments · May be fixed by #2689
Assignees
Labels
🚀enhancement an issue/pull request that adds a feature to the application in progress indicates that issue/pull request is currently being worked on incidents LOE - medium indicates that the level of effort to complete issue is medium
Milestone

Comments

@blestab
Copy link
Contributor

blestab commented Dec 6, 2020

🚀 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 blestab transferred this issue from HospitalRun/hospitalrun Dec 6, 2020
@blestab blestab added help wanted indicates that an issue is open for contributions incidents LOE - medium indicates that the level of effort to complete issue is medium 🚀enhancement an issue/pull request that adds a feature to the application labels Dec 6, 2020
@blestab blestab added this to the v2.0 milestone Dec 6, 2020
@blestab blestab changed the title Incidents: Add incident edit form Incidents: Add the ability to edit incident details Dec 6, 2020
@mohitdmak
Copy link

can i be assigned @blestab ?

@blestab
Copy link
Contributor Author

blestab commented Dec 8, 2020

Thanks @mohitdmak

@blestab blestab added in progress indicates that issue/pull request is currently being worked on and removed help wanted indicates that an issue is open for contributions labels Dec 8, 2020
@blestab
Copy link
Contributor Author

blestab commented Jan 5, 2021

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

@mohitdmak
Copy link

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

@riiniii
Copy link
Contributor

riiniii commented Feb 7, 2021

@blestab could i take this one?

@matteovivona
Copy link
Contributor

matteovivona commented Feb 9, 2021

Ok. @mohitdmak could you update @riiniii?

@riiniii
Copy link
Contributor

riiniii commented Feb 22, 2021

apologies moving countries rn so will get to it this week

@riiniii
Copy link
Contributor

riiniii commented Mar 8, 2021

@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
Copy link
Contributor

riiniii commented Oct 27, 2021

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🚀enhancement an issue/pull request that adds a feature to the application in progress indicates that issue/pull request is currently being worked on incidents LOE - medium indicates that the level of effort to complete issue is medium
Projects
None yet
4 participants