microsoft / dicom-server

OSS Implementation of DICOMweb standard
MIT License
462 stars 173 forks source link

Extend fuzzy matching capabilities of QIDO-RS #668

Open janossch opened 3 years ago

janossch commented 3 years ago

User story As a user, I want search on specific component of a component group (even in phonetic or ideographic group) of the whole patient's name with fuzzy matching enabled so that get better and a narrowed down result set.

Acceptance criteria Let's suppose there are two different patients in the database. They have the "Harrison" string in common, however in their different name component (family name and given name):

  1. George^Harrison=dzsordzs^herizon
  2. Harrison^Ford

When I do studies?PatientName=Harris^&FuzzyMatching=true then only George Harrison is returned in the result set.

and/or

When I do studies?PatientName=^Harris&FuzzyMatching=true then only Harrison Ford is returned in the result set.

and/or

When I do studies?PatientName==heri&FuzzyMatching=true then only George Harrison is returned in the result set.

Pay attention to the equal sign which could mean that the search need to be performed in the ideographic group. If there were two equal signs it would mean that the search need to be performed in the phonetic group. However these could be combined together.

smithago commented 3 years ago

Good suggestion. Right now the feature is implemented to find all possibilities.