Stream: implementers
Topic: phonetic search
David Hay (May 25 2020 at 03:57):
Is there anything preventing a server using phonetic searches in the standard queries? eg the 'name' search parameter matching a name of 'smythe' because it sounds like 'smith'?
David Pyke (May 25 2020 at 19:00):
Only the time to implement and a flag to tell a server to do it.
Lloyd McKenzie (May 25 2020 at 19:10):
From a conformance perspective, servers are allowed to have small variations in behavior around how they do matching, but I have a strong preference for distinct search parameters for distinct behaviors where possible.
Ken Stevens (Jun 23 2020 at 21:59):
I started adding support for phonetic search to hapi today and have a question: Is the intent that it searches both given and family names (using a phonetic normalizer like soundex)? That feels like it would generate too many false positives to be useful. Where can I find a link to the discussion about this?
Grahame Grieve (Jun 23 2020 at 22:10):
it hasn't come up before. I would prioritise family name over given name
Lloyd McKenzie (Jun 23 2020 at 22:14):
@Brian Postlethwaite - seems like something PA might have an opinion on?
Brian Postlethwaite (Jun 23 2020 at 22:16):
There is. The phonetic search parameter. Otherwise I would be suggesting using the :text modifier to fire it.
Brian Postlethwaite (Jun 23 2020 at 22:22):
I also did some experimentation with other algorithms too (and on org too)
http://sqlonfhir-r4.azurewebsites.net/fhir/Patient?name-fuzzy=byron
Ken Stevens (Jun 23 2020 at 22:24):
according to the spec it sounds like it works the same as name but narrowed to given and family with a phonetic normalizer applied...
Ken Stevens (Jun 23 2020 at 22:25):
maybe I'll just implement it as written but then add a SearchParameter extension to support more useful variants
Brian Postlethwaite (Jun 23 2020 at 22:41):
Or :contains?
Mareike Przysucha (Jun 24 2020 at 09:10):
I read this topic and have a question in general: How do plan to cope with different languages?
I'm German and am able to speak English properly (I hope), but sometimes I have difficulty with pronouncing English names. My surname is often pronounced Polish (there it sounds like Pschisucha), although it is Prussian (there it is more link Prezucha).
And I also live in an area, where "e" sometimes is used to lengthen a vocal, e.g. Laer is pronounced like Laar (long a like in Russia). In other regions in Germany ae would be pronounced like "ä", so Laer wound sound like "lair".
To summarize: Names can be pronounced totally different in different languages, and sometimes a language isn't even clear on how to pronounce a name properly due to regional issues. So I am curious about your solution.
Last updated: Apr 12 2022 at 19:14 UTC