Stream: implementers
Topic: Internal error, when executing the following query on HAPI
Dimitar (Nov 21 2017 at 09:29):
Hello,
I am getting the following internal error, whenever I am executing the following query on the HAPI server "http://fhirtest.uhn.ca/baseDstu3/Encounter?patient=330828&date=ge2017-01-01&_include:recurse=Encounter:practitioner&_lastUpdated=ge2017-11-10"
pasted image
The strange thing is, whenever I omit the _lastUpdated parameter, this search query executes properly. Is it an issue on the HAPI server?
Dimitar (Nov 21 2017 at 09:39):
Can a _lastUpdated parameter, not be used together with a recurse include or revInclude?
Grahame Grieve (Nov 21 2017 at 09:41):
it can't, but it doesn't apply to the included stuff
Dimitar (Nov 21 2017 at 09:46):
What is the meaning of the error in that case?
Grahame Grieve (Nov 21 2017 at 09:47):
don't know - maybe ask on the HAPI email list?
Dimitar (Nov 21 2017 at 09:47):
@Grahame Grieve alright, will do. But technically, this query should execute, right?
Grahame Grieve (Nov 21 2017 at 09:48):
y
James Agnew (Nov 24 2017 at 18:32):
Hi @Dimitar , this was a bug on the server. It has been fixed, and the fix is in the current 3.2.0 SNAPSHOT build. :)
Dimitar (Nov 24 2017 at 23:53):
@James Agnew Great! Glad I could help :), if I did anyways. I implemented a workaround, just in case, I get it elsewhere, removing the _lastUpdated search parameter, from the search params, if I catch an error like that. What was the problem with it anyways?
James Agnew (Nov 25 2017 at 02:37):
Essentially it was a bug with the _include handling. Oddly enough it was more to do with the recursive _include where the second round of including failed if _lastUpdate left it with nothing to include. Blah!
Last updated: Apr 12 2022 at 19:14 UTC