Add resume appointment link#879
Merged
cameronhargreaves1-nhs merged 1 commit intomainfrom Jan 19, 2026
Merged
Conversation
9ffc9b6 to
7d565b3
Compare
6fc454d to
5908240
Compare
MatMoore
reviewed
Jan 14, 2026
5908240 to
ad2a706
Compare
MatMoore
reviewed
Jan 14, 2026
MatMoore
reviewed
Jan 14, 2026
| return ( | ||
| self._appointment.current_status.is_in_progress() | ||
| and user.pk == self._appointment.current_status.created_by.pk | ||
| ) |
Contributor
There was a problem hiding this comment.
just fyi we were discussing another edge case on slack yesterday, where the current user leaves an appointment in progress without pausing it https://screening-discovery.slack.com/archives/C082XV3GQVA/p1768304234462379
Think we are going to address this in another ticket though (cc @gpeng )
The link will only show for appointments the current user has started Currently, the link will send the user to the confirm identity page while the AppointmentStatus work is being worked on.
ad2a706 to
30e3175
Compare
|
MatMoore
approved these changes
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



"Resume Appointment" link has been created. This link will be shown on an appointment that has been started by the current logged in user and has not been finished.
Currently the link will send the user to the confirm identity page, as the AppointmentStates have not been updated as the user goes through the workflow. There is to be a second PR after the Appointment States work is merged, to update the resume appointment link url with the furthest point in the workflow that hasn't been completed.
Description
Jira link
https://nhsd-jira.digital.nhs.uk/browse/DTOSS-11871
Review notes
Review checklist