Skip to content

Close a clinic workflow - #389

Open
rivalee wants to merge 12 commits into
mainfrom
close-clinic
Open

Close a clinic workflow#389
rivalee wants to merge 12 commits into
mainfrom
close-clinic

Conversation

@rivalee

@rivalee rivalee commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Card: Closing a clinic workflow

Changes to clinic list

  • Surfaces clinic names in the clinic list, eg clinic CH435
  • Adds a link to close clinic
  • Rename completed clinics to closed clinics

and

  • Adds new page for closing a clinic

Clinic list with clinic names

Screenshot 2026-08-05 at 15 45 05

Close clinic link

Screenshot 2026-08-05 at 15 45 46

Close clinic page

  • To close the clinic, all participants need an outcome recorded
  • Two main sections: needs an outcome and outcome recorded
  • Checked in, not screened and Did not check in can be actioned en masse or individually
  • In progress is more complicated and need the mammographer to finish the appointment
  • Changes to the list (eg marking participant status) happens inline and instantly without a success banner
  • On page refresh, the outcome recorded section is updated

Close clinic page example 1

localhost_3000_clinics_wtrl7jud_close

Close clinic page example 2 (everything actioned except in progress)

localhost_3000_clinics_wtrl7jud_close (1)

Validation message

It's not possible to close a clinic until all participant outcomes are recorded, and we should show a validation message

Screenshot 2026-08-05 at 15 55 22

Successfully closing a clinic

When the clinic is closed, the clinic moves from today to the closed list with a success banner

Screenshot 2026-08-05 at 15 53 55

@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 3, 2026 14:04 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 3, 2026 14:33 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 3, 2026 14:39 Inactive
@rivalee rivalee changed the title Add close clinic page Close a clinic workflow Aug 3, 2026
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 4, 2026 10:04 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 4, 2026 14:10 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 4, 2026 14:49 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 4, 2026 14:51 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 5, 2026 12:05 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 5, 2026 12:42 Inactive
@edwardhorsford
edwardhorsford temporarily deployed to manage-breas-close-clin-eeepfz August 5, 2026 14:29 Inactive
@rivalee
rivalee marked this pull request as ready for review August 5, 2026 14:56
@rivalee
rivalee requested a review from edwardhorsford August 6, 2026 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants