IHTSDO / snowstorm

Scalable SNOMED CT Terminology Server using Elasticsearch
Other
209 stars 84 forks source link

Full text searching not working for LOINC code system #641

Open vigneshhari opened 5 days ago

vigneshhari commented 5 days ago

When expanding a valueset with LOINC codes, the filter only works for single terms, multiple terms always returns no results. example :

Works curl --location 'http:///fhir/ValueSet/$expand?filter=blood&url=http%3A%2F%2Floinc.org%3Ffhir_vs'

Doesn't work curl --location 'http:///fhir/ValueSet/$expand?filter=blood%20pressure&url=http%3A%2F%2Floinc.org%3Ffhir_vs'

The issue is also reproducible on the POST endpoint.

None of the filter features as specified in the FHIR spec seems to be working as intended. Is this an issue with the way we are using the API or is this an issue with snowstorm?

kaicode commented 5 days ago

Thank you for raising this issue. This was reported this morning by someone from the Open Healthcare Network. I have confirmed the bug and started working on a fix.

kaicode commented 5 days ago

The fix is available for testing the new fhir-vs-filter-fix branch.