Stream: implementers
Topic: partial match on code (token search)
Simone Heckmann (Aug 22 2016 at 14:28):
Am I right to assume, that token search never returns partial matches? I mean, we wouldn't want the search for identifier "1" to return a result with identifier "11", right?
But what if I want to search for a partial code, e.g. search for all ICD-10 diagnoses that start with "F17". Is that possible? Is there a modifier for that (like, the opposite of ":exact")?
If I read this correctly, the :text modifier does in fact do a partial search but not on the value of the code but instead on the display (which may not contain the actual code).
Grahame Grieve (Aug 22 2016 at 20:37):
you're looking for subsumption, not partial match
Simone Heckmann (Aug 23 2016 at 07:24):
Um. yes, that could work. Assuming I have the whole ICD-10 catalogue as a structured ValueSet.
Ok next use case: In Germany, we have identifiers for Health-Care providers in which the first two digits have a meaning (=association with an administrative district) and I was wondering if there was a way to search for all instances of Organization where the identifier starts with "xx". (I'd guess that there are other identifier systems out there, where prefixes have a search-worthy meaning?)
Grahame Grieve (Aug 23 2016 at 08:04):
assuming you have a terminology server that understands ICD-10. yes
Grahame Grieve (Aug 23 2016 at 08:04):
and no, we haven't defined anything like that. I guess you'd want to define a custom modifier. It doesn't sound like common practice to me
Jim Steel (Aug 23 2016 at 22:43):
If your code system and terminology server provided a filter like "concept regex 'xx.*'" then it might be possible
Last updated: Apr 12 2022 at 19:14 UTC