IHTSDO / snowstorm

Scalable SNOMED CT Terminology Server using Elasticsearch
Other
208 stars 83 forks source link

Finding concepts within Indian Refset #20

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I had an issue earlier with my SNOMED API server and I just upgraded to SNOW STORM and I am using the 2017-09-01 version of the SNOMED taxonomy.

I am trying to use the Refsets that were published by India -> https://mlds.ihtsdotools.org/#/viewReleases/viewRelease/194856 and search for concepts within the refset.

I tried using the inbuilt swagger API in snowstorm to search for refsetmembers under the Neurosurgeory refset that was published but I'm still seeing 0 results.

screen shot 2019-01-04 at 7 34 20 pm screen shot 2019-01-04 at 7 34 29 pm

Am I doing something wrong? Are there any other steps that I need to do to access a refset's members?

Regards, Vybhav

kaicode commented 5 years ago

Hi @tacack, welcome to the Snowstorm community!

Snowstorm does not come with any content. You will need to import the SNOMED CT International Edition before importing the India reference set extension package.

Here are instructions for loading the Spanish translation which should also work for loading the India extension.

Let us know if you get stuck. Cheers, Kai

ghost commented 5 years ago

Ah. I did load the SNOMED CT International edition, but I didn't import the inda reference set extension package. Maybe that's the step I was missing.

I will try and revert.

THank you.

Regards, Vybhav

ghost commented 5 years ago

This worked! Thank you so much @kaicode !

What's the best way to search for a concept within a refset based on description? In the old SNOMED API that I was using -> https://snomedctsnapshotapi.docs.apiary.io/#reference/concepts/search/search-descriptions , there was a field to indicate the refsetID to search within, but I don't see a similar API structure when I check the search API for SNOWSTORM

screen shot 2019-01-05 at 9 28 22 am

Again, thank you for your help! Vybhav

ghost commented 5 years ago

Is the only way to do this using ECL?

kaicode commented 5 years ago

Yes, ECL is the only way to do this in the Snowstorm API. Using eclFilter=^SOME-REFSET-ID and termFilter.

ghost commented 5 years ago

Thanks @kaicode . That helps.