Skip to content

Conversation

murugapl
Copy link
Contributor

@murugapl murugapl commented Sep 1, 2025

In the event a user finds an NHS number has been added to the patient incorrectly, they might want to investigate where this NHS number has come from. We surface the PDS search history that has brought in the current NHS number on a patient.

https://nhsd-jira.digital.nhs.uk/browse/MAV-1815

Screenshot 2025-09-01 at 21 55 24 Screenshot 2025-09-02 at 13 01 05

@murugapl murugapl force-pushed the pds-lookup-timeline branch 3 times, most recently from a59eadc to 5ae0464 Compare September 2, 2025 07:59
@murugapl murugapl force-pushed the pds-lookup-timeline branch 4 times, most recently from 399e413 to 1d09920 Compare September 3, 2025 07:56
@murugapl murugapl changed the base branch from next to remove-fuzzy-search September 3, 2025 07:56
@murugapl murugapl marked this pull request as ready for review September 3, 2025 07:58
@murugapl murugapl requested a review from a team as a code owner September 3, 2025 07:58
@thomasleese thomasleese added the feature New functionality label Sep 3, 2025
@murugapl murugapl force-pushed the pds-lookup-timeline branch from 1d09920 to e19cce6 Compare September 4, 2025 21:43
@murugapl murugapl force-pushed the remove-fuzzy-search branch from e63a8bb to 289cf9b Compare September 6, 2025 22:07
Base automatically changed from remove-fuzzy-search to next September 8, 2025 08:25
@murugapl murugapl force-pushed the pds-lookup-timeline branch 3 times, most recently from 7a3f21e to 37f44ac Compare September 10, 2025 20:38
visually_hidden_text: "NHS number"
)
elsif (href = pds_search_history_link)
row.with_action(text: "PDS history", href:, visually_hidden_text: "")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
row.with_action(text: "PDS history", href:, visually_hidden_text: "")
row.with_action(text: "PDS history", href:)

I think you can leave this out of it's not needed.

Component to view events in a timelien format. This will be used by the PDS lookup history feature, and eventually the activity log too.
Adds a view that can be reached from the global patient record, to view the patient's latest PDS lookup history. This link only appears
if there are any PDSSearchResults for the patient and their current NHS number matches the number from the last search result set.
Adds tests for PDS lookup history methods and the new timeline component.
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants