Skip to content

Allow MWL C-FIND filter by patient name - #51

Merged
carlosmartinez merged 4 commits into
mainfrom
feat/find-by-patient-name
Mar 18, 2026
Merged

Allow MWL C-FIND filter by patient name#51
carlosmartinez merged 4 commits into
mainfrom
feat/find-by-patient-name

Conversation

@carlosmartinez

Copy link
Copy Markdown
Contributor

Including support for wildcard matching

Description

Modalities need to be able to query the MWL by PatientName, and this should support wildcard matching.

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-12470

Comment thread src/services/mwl/c_find.py Fixed
Comment thread src/services/storage.py Outdated
Comment thread tests/integration/test_mwl_storage_patient_name_search.py

@steventux steventux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

Including support for wildcard matching
As a performance improvement, avoid the `LIKE` SQL query if the patient
name query does not contain any wildcards.
Comment thread src/services/mwl/c_find.py Dismissed
@carlosmartinez
carlosmartinez merged commit 73b643c into main Mar 18, 2026
10 checks passed
@carlosmartinez
carlosmartinez deleted the feat/find-by-patient-name branch March 18, 2026 16:48
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.

3 participants