This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
Edit Appointment #1807
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
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
The text was updated successfully, but these errors were encountered: