Open rgeimer opened 4 years ago
Same here. I can't seem to get searching with code:in=valueset to work. For example
But the following search returns zero results http://hapi.fhir.org/r4/Observation?code:in=http://hl7.org/fhir/ValueSet/observation-vitalsignresult
Am I doing this wrong? If so, please show me a working example I can replicate.
I face the same issue. When I run following query http://hapi.fhir.org/baseR4/Observation?code:in=http://hl7.org/fhir/ValueSet/observation-vitalsignresult I get an empty result. But following query returns a result: http://hapi.fhir.org/baseR4/Observation?code=8302-2 And the code 8302-2 is part of the valueSet observation-vitalsignresult. So the first query should not return an empty result.
Is a fix planned?
Has anyone found a solution for this issue? Has anyone had time to work on it in the last year or so? I am still seeing this behavior persist.
bump
NOTE: Before filing a ticket, please see the following URL: https://github.com/jamesagnew/hapi-fhir/wiki/Getting-Help
Describe the bug HAPI does not seem to properly support the :in modifier for searching value sets. Public health has large value sets containing reportable conditions, including Covid-19. I put a subsetted version of the RCTC Diagnosis Problem value set (http://hl7.org/fhir/us/ecr/ValueSet/dxtc ) containing only SNOMED codes on to hapi.fhir.org, but when I invoke it with the :in modifier I get zero results.
To Reproduce GET hapi.fhir.org/baseR4/Condition?code:in=http://hl7.org/fhir/us/ecr/ValueSet/dxtc returns zero results, but the value set clearly contains SNOMED 840539006 and
GET hapi.fhir.org/baseR4/Condition?code=http://snomed.info/sct|840539006 returns over 90 results at this time.
Expected behavior All Condition resources where Condition.code is in the value set returned per http://build.fhir.org/search.html#token
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information): Server | UHN Test Server (R4 Resources) Software | HAPI FHIR Server - 5.0.0-SNAPSHOT FHIR Base | http://hapi.fhir.org/baseR4
Using Postman to issue GETs
Additional context Add any other context about the problem here.