hapi-fhir
hapi-fhir copied to clipboard
diagnostic HAPI-2024 when expanding a valueSet by /$expand?url=
Bug description
Expanding a ValueSet with $expand?url=
did not work
Bug reproduction
The bug is rather random, affecting a limited number of ValueSet on my HAPI instance. I can't reproduce it on the http://hapi.fhir.org/baseR4.
however, on the instance installed locally :
Step 1
I have ValueSets (and corresponding CodeSystems), like :
The following GET query is working :
https://hapi-fhir-server-qua.exemple.fr/fhir/ValueSet/$expand?url=https://aphp.fr/ig/fhir/eds/ValueSet/aphp-eds-name-space-vs
Step 2
restart the server
Step 3
The above-mentionned query is not working :
while https://hapi-fhir-server-qua.exemple.fr/fhir/ValueSet/aphp-eds-name-space-vs/$expand
works.
Expected behavior
I believe this query : https://hapi-fhir-server-qua.exemple.fr/fhir/ValueSet/$expand?url=https://aphp.fr/ig/fhir/eds/ValueSet/aphp-eds-name-space-vs
should have produce a valid expansion of the valueSet
Environment
- HAPI FHIR R4 Server - 7.0.2
- OS: Linux
- edge, firefox, postman
Additional context
Deleting and creating CodeSystems and ValueSet resolve the issue...