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

Edit Appointment #1807

Closed
jackcmeyer opened this issue Feb 6, 2020 · 1 comment · Fixed by #1845
Closed

Edit Appointment #1807

jackcmeyer opened this issue Feb 6, 2020 · 1 comment · Fixed by #1845
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 scheduling issue/pull request that interacts with scheduling module
Projects
Milestone

Comments

@jackcmeyer
Copy link
Member

Scenario

AS

A user with write access to appointments

I WANT

To be able to edit details about an appointment

SO THAT

The appointment can change after creating it

Acceptance Criteria

GIVEN

An existing appointment and a user with write access to the appointments

WHEN

I navigate the /appointments/:id, then I should see an edit button on the screen in the top right corner.

AND

I click the button, the form should become editable (except for the patient input) and I should be able to edit the form.

AND

I edit the fields and click the save

THEN

If there are no validation errors, then the appointment should be successfully saved and the form should go back to readonly.

If there are validations errors, I should get an error message and the form should stay editable and the appointment should not have been updated in the database.

Validations:

Start date is before end date

Related Issues

Technical Notes

@jackcmeyer jackcmeyer transferred this issue from HospitalRun/hospitalrun Feb 6, 2020
@jackcmeyer jackcmeyer added core-team indicates that the issue will be completed by a core team member 🚀enhancement an issue/pull request that adds a feature to the application scheduling issue/pull request that interacts with scheduling module labels Feb 6, 2020
@jackcmeyer jackcmeyer modified the milestones: HospitalRun 1.0, v2.0.0 Feb 6, 2020
@MatthewDorner
Copy link
Contributor

I can take this one, should be pretty easy to do in the same manner as Edit Patient.

@jackcmeyer jackcmeyer added in progress indicates that issue/pull request is currently being worked on and removed core-team indicates that the issue will be completed by a core team member labels Feb 14, 2020
Version 2.0 automation moved this from To do to Done Feb 24, 2020
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 scheduling issue/pull request that interacts with scheduling module
Projects
Version 2.0
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants