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

Imaging: Add the ability to edit an imaging request #2490

Open
blestab opened this issue Dec 5, 2020 · 8 comments
Open

Imaging: Add the ability to edit an imaging request #2490

blestab opened this issue Dec 5, 2020 · 8 comments
Assignees
Labels
🚀enhancement an issue/pull request that adds a feature to the application imaging in progress indicates that issue/pull request is currently being worked on LOE - large indicates that the level of effort to complete issue is large
Milestone

Comments

@blestab
Copy link
Contributor

blestab commented Dec 5, 2020

🚀 Feature Proposal

A user should be able to edit an existing imaging request.

Motivation

When an imaging request is created, we need the ability to edit it after saving. This includes updating the radiologist, results and notes about the imaging request.

Technical Details

Model Updates

  • Add the following fields to the Imaging model
radiologist: string
result: string

Imaging Request listing table

  • For each entry in the listing add an Edit button which takes us to the edit page

Image Request Edit form

  • Display the following fields as read-only (not editable): status, patient name, imaging request type, requested on, completed on (if it has been completed, do not display if not completed)
  • For Patient details also display current age and sex underneath the patient name
  • Use the display format from the Lab view to show the above mentioned details (see screenshot below)

image

  • Display the following fields as editable: radiologist, result, notes

image

  • Footer Buttons
    Add 4 footer buttons, in the order below from left to right
    • Add a "Return" button which returns the user to the imaging requests listing page without saving changes made by the user
    • Add a "Update" button which save changes made by the user
    • Add a "Complete" button which saves any changes made by the user and also updates the status to 'completed'
    • Add a "Cancel" button which ONLY updates the status to 'canceled'
@blestab blestab transferred this issue from HospitalRun/hospitalrun Dec 5, 2020
@blestab blestab added help wanted indicates that an issue is open for contributions imaging LOE - large indicates that the level of effort to complete issue is large 🚀enhancement an issue/pull request that adds a feature to the application labels Dec 5, 2020
@blestab blestab added this to the v2.0 milestone Dec 5, 2020
@UmairKamran
Copy link
Contributor

UmairKamran commented Dec 12, 2020

Hi @blestab. I'd like to give it a go!

@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 12, 2020
@blestab
Copy link
Contributor Author

blestab commented Dec 12, 2020

Hi @blestab. I'd like to give it a go!

Sure thing @UmairKamran thank you for your help

@blestab
Copy link
Contributor Author

blestab commented Jan 5, 2021

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

@UmairKamran
Copy link
Contributor

Hey @blestab, a happy new year to you as well! :)
This is a WIP. Vacation time caused a bit of a delay, I hope that's not a concern.

@blestab
Copy link
Contributor Author

blestab commented Jan 7, 2021

Hey @blestab, a happy new year to you as well! :)
This is a WIP. Vacation time caused a bit of a delay, I hope that's not a concern.

Thank you for getting back to me; that's not a problem at all @UmairKamran, glad to know you are busy with this.

@baoqchau
Copy link
Contributor

@UmairKamran Hello. Any updates for this issue?

@UmairKamran
Copy link
Contributor

Hi @baoqchau. I've been trying really hard to get this completed :(

Good news is I'm almost there! :) I should have a PR ready by this week

(Here's a lil sneak peek)
Screenshot 2021-04-19 at 11 58 43 PM

@matteovivona
Copy link
Contributor

Thanks @UmairKamran

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 imaging in progress indicates that issue/pull request is currently being worked on LOE - large indicates that the level of effort to complete issue is large
Projects
None yet
Development

No branches or pull requests

4 participants