-
Notifications
You must be signed in to change notification settings - Fork 9
nbs enhanced search function post #127
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 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4925c1d
nbs enhanced search function post
jolumley-nhs 6129ebd
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs accc2da
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs 45e1dcd
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs 186435c
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs b08d13f
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs b3942cc
Update app/posts/book-a-vaccination/2025/05/2025-05-22-improving-loca…
jolumley-nhs 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
Binary file added
BIN
+82.7 KB
...es/book-a-vaccination/2025/05/improving-location-search/autocomplete-search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+29.5 KB
.../book-a-vaccination/2025/05/improving-location-search/enhanced-search-input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+98.3 KB
app/images/book-a-vaccination/2025/05/improving-location-search/enhancedsearch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.9 KB
...images/book-a-vaccination/2025/05/improving-location-search/find-a-pharmacy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+135 KB
app/images/book-a-vaccination/2025/05/improving-location-search/newsitelist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+141 KB
app/images/book-a-vaccination/2025/05/improving-location-search/sitelist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.3 KB
app/images/book-a-vaccination/2025/05/improving-location-search/town-results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
102 changes: 102 additions & 0 deletions
102
app/posts/book-a-vaccination/2025/05/2025-05-22-improving-location-search.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,102 @@ | ||||||||||
| --- | ||||||||||
| title: "Making it easier for users to find somewhere to book an appointment" | ||||||||||
| date: 2025-05-22 | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| We spent some time during early 2025 exploring how to improve the site search feature within NBS. | ||||||||||
|
|
||||||||||
| We decided to do this after noting that the current site search required users to enter a full postcode to search. | ||||||||||
|
|
||||||||||
| This can be restrictive, especially for users who wish to book an appointment near their workplace, or those unfamiliar with the exact postcode of their desired area. | ||||||||||
|
|
||||||||||
| We noticed users displaying confusion when looking at the list of sites in their area during research. | ||||||||||
|
|
||||||||||
| We used tags to display site facilities, and some users assumed they were buttons and tried to click them. When we explored why, we discovered users were expecting to see more information about each facility listed. | ||||||||||
|
|
||||||||||
| We also observed users assuming there was only one site, and not scrolling down the results page to see if there were any more results. | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| ## What we did | ||||||||||
|
|
||||||||||
| We hypothesised that expanding the search functionality to allow users to search with partial postcodes or town names would make it easier for people to find appointments near their preferred location. | ||||||||||
|
|
||||||||||
| We reviewed the <a href="https://www.nhs.uk/service-search/pharmacy/find-a-pharmacy/">find a pharmacy search on NHS.uk</a>, and based on this, proposed two potential design options. | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| **Option 1 – Search and return results on next page** | ||||||||||
|
jolumley-nhs marked this conversation as resolved.
Outdated
|
||||||||||
|
|
||||||||||
| We designed a version that was similar to the service search function on NHS.uk. This allowed the user to enter either: | ||||||||||
|
|
||||||||||
| - full postcodes | ||||||||||
| - partial postcodes | ||||||||||
| - city, town, or village names | ||||||||||
|
|
||||||||||
| If the user enters a full or partial postcode, the search returns a list of results based on the geographical centre of the information that was entered. | ||||||||||
|
|
||||||||||
| If the user enters a city or town name, the system returns a list of potential matches for the user to select, before showing a list of results in the chosen location. | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| **Option 2 – Enhanced autocomplete search** | ||||||||||
|
jolumley-nhs marked this conversation as resolved.
Outdated
|
||||||||||
|
|
||||||||||
| Another option we considered was to use an autocomplete component to immediately return results based on the user input. This would still allow users to search using full or partial postcodes, and town names. | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
| After discussing this option with the team, it was decided that the amount of data that would need to be queried using this functionality would affect the service performance too much. | ||||||||||
|
|
||||||||||
| ## What we tested | ||||||||||
|
|
||||||||||
| We decided to test the first design option. We also made some enhancements to the results page, to help reduce confusion on this page. | ||||||||||
|
|
||||||||||
| **Enhanced search page** | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
Comment on lines
+60
to
+62
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could use this syntax to do image captions?
Suggested change
|
||||||||||
|
|
||||||||||
| **Location selection page** | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
| **Site results page** | ||||||||||
|
|
||||||||||
| We updated the site list page to reflect how sites are displayed on NHS.uk, and added the number of sites near the top of the page. | ||||||||||
|
|
||||||||||
|  | ||||||||||
|
|
||||||||||
|
|
||||||||||
|
|
||||||||||
| ## Findings | ||||||||||
|
|
||||||||||
| Most participants preferred using a full postcode for accuracy, especially those living in larger cities like London. Two participants said they would prefer to enter a town name. | ||||||||||
|
|
||||||||||
| **Location selection** | ||||||||||
|
jolumley-nhs marked this conversation as resolved.
Outdated
|
||||||||||
|
|
||||||||||
| Participants said the list of possible locations appeared clear and that they would be happy to select from it. | ||||||||||
|
|
||||||||||
| The ability to try another town, city or postcode was seen as a helpful fallback for incorrect or unexpected matches by one participant. | ||||||||||
|
|
||||||||||
| > Entering the town name is good, I like it, quite clever because if my dad is visiting a different town we can get a site there for his jab. | ||||||||||
|
|
||||||||||
| **Choosing a site** | ||||||||||
|
jolumley-nhs marked this conversation as resolved.
Outdated
|
||||||||||
|
|
||||||||||
| Most users found the information clear and said provided all the details they needed. Participants generally preferred choosing the nearest site or one they had visited before. | ||||||||||
|
|
||||||||||
| ## Future considerations | ||||||||||
|
|
||||||||||
| We may consider adding the 'use your location' function from the 'find a' service on NHS.uk in future. | ||||||||||
|
jolumley-nhs marked this conversation as resolved.
Outdated
|
||||||||||
|
|
||||||||||
| We would first need to explore: | ||||||||||
|
|
||||||||||
| - whether NBS users would find this feature helpful | ||||||||||
| - how this might affect performance in NBS | ||||||||||
| - if it's technically feasible with the way NBS interacts with the Manage Your Apointments (MYA) service to return a list of sites | ||||||||||
|
|
||||||||||
|  | ||||||||||
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.