Stream: implementers
Topic: Designation Lookup
Hamid R. Laleh (Jun 16 2017 at 09:17):
Hi all, my question is if in FHIR terminology service we are able to search specific designation and retrieve corresponding code and codeSystem for it. Apparently, lookup operation for codeSystem doesn't support this. @Grahame Grieve suggested to initiate this discussion here.
More elaboration: one may extend designation lookup for enabling fuzzy search since it's string search but let's consider a simple case and matching with exact existing designation. Also we may need to filter it based on different parameters like designation.use for getting only synonyms.
Grahame Grieve (Jun 16 2017 at 13:32):
we don't really offer lookup directly on code systems at all. should we?
Grahame Grieve (Jun 16 2017 at 13:32):
and we don't make any rules about searching on designations. I do in LOINC and SNOMED but not on normal code systems...
Hamid R. Laleh (Jun 16 2017 at 14:11):
It would be great to have it. This was a requirement that we got for terminology service.
The question is do we need to extend current lookup operation for codeSystem as a solution?
About rules for searching on designations, in NCBI (and maybe more ontologies) we also see different designation.use like: Symbol, synonyms and ... which this was also a requirement to be able to provide this lookup functionality with filtering on diffrent designation properties. In general for representation aspect we need to be able to filter designation. One can pass all designations as a respond and let the consumer filter it but I don't think this can be a good solution.
Hamid R. Laleh (Jun 16 2017 at 14:39):
As an example, I found shrimp from ontoserver(http://ontoserver.csiro.au/shrimp/) which has this lookup functionality(search terms) only for SNOMED and LOINC and I think they are using FHIR in general but I'm not sure if they used FHIR also in SHRIMP. My impression is apps like Ontology browsers/Editors will need more functionalities to use FHIR.
Grahame Grieve (Jun 16 2017 at 20:59):
@Michael Lawley is the lead for Shrimp
Michael Lawley (Jul 07 2017 at 00:15):
Sorry @Hamid R. Laleh , a little late to this one...Shrimp uses only FHIR APIs and is able to browse any CodeSystem that is available in the particular FHIR server it is talking to (by default this is an instance of Ontoserver, but you can enter your own endpoint if you want).
The search uses $expand
with the text passed as the filter
parameter. If you select a ValueSet, that is expanded, but if not, then the default "all values" ValueSet specified in the CodeSystem Resource is used.
In Ontoserver we match against all designations in the CodeSystem with, essentially, a word-prefix any order strategy. We then do a custom scoring to rank the matches.
Last updated: Apr 12 2022 at 19:14 UTC