FHIR Chat · searching for codes by display string · terminology

Stream: terminology

Topic: searching for codes by display string


view this post on Zulip Aziz Boxwala (May 06 2019 at 22:50):

I looked and couldn't find an operation for finding codes from a code system that matches the code text (display). The closest one is $find-matches in CodeSystem, but that doesn't support partial string matching. We're trying to implement an operation for look ahead searching. Searching in CPT for "append" should at least find "appendectomy".

I want to confirm that I didn't miss anything. And if there isn't such an operation, whether it might be useful to incorporate that capability in a new operation or an existing operation.

view this post on Zulip Michael Lawley (May 06 2019 at 23:19):

You want the filter parameter of the $expand operation: /ValueSet/$expand?filter=text

view this post on Zulip Michael Lawley (May 06 2019 at 23:20):

Have a play with http://ontoserver.csiro.au/vstool - it provides an interactive environment for doing this with a number of different terminology servers

view this post on Zulip Aziz Boxwala (May 07 2019 at 01:43):

Thank you Michael.

view this post on Zulip Aziz Boxwala (May 07 2019 at 01:48):

@Michael Lawley Just tried it out. This is very helpful!

view this post on Zulip nicola (RIO/SS) (May 07 2019 at 04:27):

Can we have similar search operation for Coding Systems?

view this post on Zulip Jim Steel (May 07 2019 at 13:17):

You kind of get it for free if the CodeSystem has a valueSet property (Canonical reference to the value set with entire code system)

view this post on Zulip Michael Lawley (May 07 2019 at 14:04):

Exactly, a CodeSystem should have a value for CodeSystem.valueSet which implicitly defines the ValueSet that consists of all members of the CodeSystem.
It would be helpful if https://hl7.org/fhir/terminologies-systems.html also included this URI in the table(s) of code systems

view this post on Zulip Michael Lawley (May 07 2019 at 14:12):

Created GF#21640 for this

view this post on Zulip Jim Steel (May 07 2019 at 14:12):

I assume the CodeSystem.valueSet is encouraged not to be version-specific?

view this post on Zulip Aziz Boxwala (May 07 2019 at 16:46):

Before I go adrift again, can we use the $expand with a parameter to search by code, e.g., "loinc|1234-1". I understand there may be other operations, but I'd like to try to use one operation/endpoint to search for a concept by code or by text.

view this post on Zulip Jim Steel (May 07 2019 at 16:54):

That depends on the server implementation. Some servers will/do allow you to search by concept ID in the filter parameter

view this post on Zulip Peter Jordan (May 07 2019 at 18:29):

Mine now implements that for SNOMED CT (something to do during a meandering debate in a Board Meeting).

view this post on Zulip Jim Steel (May 07 2019 at 18:30):

Yes, Ontoserver does too (although not with the system| prefix

view this post on Zulip Aziz Boxwala (May 07 2019 at 22:37):

Thank you @Jim Steel and @Peter Jordan for the responses. We are building our own service, so we could use the approach.

view this post on Zulip Jim Steel (May 07 2019 at 23:15):

Best of luck! We'll look forward to maybe seeing you at a connectathon some time

view this post on Zulip Aziz Boxwala (May 07 2019 at 23:45):

I missed this one. When I am at the connectathon, I usually hang with CDS crowd. Last one was with genomics. See you, maybe, at the next one Jim.


Last updated: Apr 12 2022 at 19:14 UTC