Stream: hapi
Topic: Query for Encounter.date not working
Rick Geimer (May 04 2020 at 08:21):
Wondering why this query:
http://hapi.fhir.org/baseR4/Encounter?date=2020-04-09
Returns zero results even though there are Encounter resources where that date is within Encounter.period. For example:
http://hapi.fhir.org/baseR4/Encounter/1114625
Which has
<period>
<start value="2020-04-07T12:33:43-05:00"/>
<end value="2020-04-10T12:48:43-05:00"/>
</period>
The date search parameter is defined as "A date within the period the Encounter lasted".
Gino Canessa (May 04 2020 at 16:05):
That is odd. For additional information, this query works:
http://hapi.fhir.org/baseR4/Encounter?date=ge2020-04-09&date=le2020-04-09
Edit: but this one fails:
http://hapi.fhir.org/baseR4/Encounter?date=eq2020-04-09
Last updated: Apr 12 2022 at 19:14 UTC