Comments (5)
There is a fix for this in the develop branch: to apply the same sorting as the main Snowstorm product, when within the first 100 results, without a loss of performance.
Initial testing looks good!
from snowstorm-lite.
Hi @ivank just looking at the "version" parameter in the response - does your instance of Snowstorm-lite have the January 2023 version loaded?
from snowstorm-lite.
Today I ran Ivan's query against my instance of snowstorm-lite which has the January 2024 edition loaded. My results were similar - 50 concepts in the expansion of this value set.
I'm not sure how the concepts are ordered in the response, but I believe the difference in numbers can be explained because snowstorm-lite includes inactive concepts in the value set. These can be filtered as they are indicated as inactive, for e.g.
{
"system": "http://snomed.info/sct",
"inactive": true,
"code": "366980001",
"display": "Suspected breast cancer"
}
from snowstorm-lite.
@ivank Thanks for reaching out.
Snowstorm Lite does not use the same search mechanism as Snowstorm. The lite search is much faster but the results ranking is not as good in some cases. This is because the results ranking sorts concepts on their average description length, rather than the length of the description that matched the search query.
The relevance of the results can be improved by searching the specific area of the hierarchy you are interested in using ECL. Examples:
- search clinical findings: https://snowstorm-lite.nw.r.appspot.com/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%3C404684003&filter=Breast+Cancer&count=5
- search disorders: https://snowstorm-lite.nw.r.appspot.com/fhir/ValueSet/$expand?url=http://snomed.info/sct?fhir_vs=ecl/%3C64572001&filter=Breast+Cancer&count=5
In these examples the breast cancer is higher in the results and there are no irrelevant results.
I hope that helps.
Long Explanation
Snowstorm searches against individual descriptions, sorts them by the shortest matching description first, and then returns the unique concepts.
Snowstorm Lite only has concept documents, it finds concepts that have some matching description. Sorting happens using the average description length.
from snowstorm-lite.
This is fixed in the latest version 1.3.0-beta.
from snowstorm-lite.
Related Issues (6)
- $expand operation with ECL, "member of" syntax, reference set types
- ECL Bug, ancestors of concept set
- Snowstorm 1.3.0-beta preferred term bug when specific language but no specific dialect requested
- FHIR native / ICD-10 supported? HOT 2
- ConceptMap $translate operation: version param should not require effective time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snowstorm-lite.