-
Notifications
You must be signed in to change notification settings - Fork 9
SPI-new-post-workflows-pt1 #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions
59
app/posts/select-people-for-invitation/2025-15-01-workflows.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| --- | ||
| title: Workflows part 1 | ||
|
philSNHS marked this conversation as resolved.
Outdated
|
||
| description: Looking beyond MVP | ||
| date: 2025-01-15 | ||
| tags: | ||
| - service | ||
| - workflows | ||
| - service design | ||
| --- | ||
|
|
||
| The current version of SPI is just beyond Minimum Viable Product (MVP). The very high-level (and rough) service map below shows the extent of the SPI front end currently, in the context of the wider end-to-end service (click the image for a bigger version): | ||
|
philSNHS marked this conversation as resolved.
Outdated
|
||
|
|
||
| [](workflows-1.png) | ||
|
|
||
| It's important to note that this isn't a complete service map, there are some significant omissions, but its purpose was to explore specific aspects of the service which we wish to consider soon. In particluar the 2 checking and approval steps: | ||
|
|
||
| - iteration configurations are checked | ||
| - summary report reviewed | ||
|
|
||
| Currently, these steps happen "offline" outside of SPI, but we want to explore how we could create an approval workflow within SPI in order to make the process safer, more joined up and more auditable. | ||
|
|
||
| ## Quick explanation of "Summary report reviewed" | ||
|
|
||
| As shown in the diagram, the configuration to select a group of people for invitation is done in the SPI front end and submitted into the "Invitation Processor" which executes the configuration to find people matching the specified criteria. | ||
|
|
||
| Once the iteration has been executed, the invitation processor issues a "summary report" which gives a breakdown of: | ||
| - the number of people excluded from the initial base cohorts | ||
| - exclusions broken down by by business rules e.g. too old, too young, too recently vaccinated etc. | ||
| - how many people will be contacted as a result, broken down by [routing plan](/select-people-for-invitation/routing-ids), ICB and cohort | ||
|
|
||
| The summary report is reviewed to check that the invitations to be sent are in line with expectations. If the numbers look right then approval is given and the invitation file is released to NHS Notify for invitations to be sent. | ||
|
|
||
| ## Workshop | ||
|
|
||
| We held a face-to-face workshop to explore some ideas around how the checking and approval processes could be brought into the SPI front end, and white-boarded the steps involved in different scenarios: | ||
|
|
||
| [](workflows-2.png) | ||
|
|
||
| This allowed us to agree 3 principles for the approval workflows in SPI: | ||
|
|
||
| ### 1. Iteration configurations should be approved before they are submitted to the Invitation Processor | ||
|
|
||
| This is in part because of the procesing time and cost overhead. We want to minimise processing by ensuring we get the configuration right first time. | ||
|
|
||
| ### 2. Summary reports must be approved before we allow the release of the invitations via NHS Notify | ||
|
|
||
| This is to ensure accuracy, have we set up the configuration as intended – is it providing the expected output? | ||
|
|
||
| ### 3. A user should not be able to approve an iteration configuration they created, or be the sole approver of the resulting summary report | ||
|
|
||
| This is consistent with current ways of working (outside SPI), where there is a peer review of the configuration and the summary report is checked by a number of people. | ||
|
|
||
| These principles align with our product metrics for Q4 2024/25: | ||
|
|
||
| [](workflows-3.png) | ||
|
philSNHS marked this conversation as resolved.
Outdated
|
||
|
|
||
| We highlighted (in blue in the whiteboard photo), the features that don't yet exist in SPI which would be required to enable the desired approval workflows. This allowed us to create a number of Epics in the backlog and start to consider how we might break the work down. | ||
|
|
||
| More about how we approached the detailed design in part 2... | ||
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.
Uh oh!
There was an error while loading. Please reload this page.