Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full text searching not working for LOINC code system #641

Open
vigneshhari opened this issue Nov 25, 2024 · 2 comments
Open

Full text searching not working for LOINC code system #641

vigneshhari opened this issue Nov 25, 2024 · 2 comments
Assignees
Labels

Comments

@vigneshhari
Copy link

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 kaicode self-assigned this Nov 25, 2024
@kaicode kaicode added the bug label Nov 25, 2024
@kaicode
Copy link
Member

kaicode commented Nov 25, 2024

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 added a commit that referenced this issue Nov 25, 2024
This fixes a bug when filtering FHIR ValueSets that are not using SNOMED CT. The bug fix enables searching with multiple words or prefixes. Before the fix only searching with one word or prefix was working.
@kaicode
Copy link
Member

kaicode commented Nov 25, 2024

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

kaicode added a commit that referenced this issue Nov 26, 2024
This fixes a bug when filtering FHIR ValueSets that are not using SNOMED CT. The bug fix enables searching with multiple words or prefixes. Before the fix only searching with one word or prefix was working.
kaicode added a commit that referenced this issue Dec 18, 2024
This fixes a bug when filtering FHIR ValueSets that are not using SNOMED CT. The bug fix enables searching with multiple words or prefixes. Before the fix only searching with one word or prefix was working.
pgwilliams pushed a commit that referenced this issue Dec 19, 2024
This fixes a bug when filtering FHIR ValueSets that are not using SNOMED CT. The bug fix enables searching with multiple words or prefixes. Before the fix only searching with one word or prefix was working.
pgwilliams pushed a commit that referenced this issue Dec 19, 2024
This fixes a bug when filtering FHIR ValueSets that are not using SNOMED CT. The bug fix enables searching with multiple words or prefixes. Before the fix only searching with one word or prefix was working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants