Stream: inferno
Topic: Date search support
Drew Torres (Sep 16 2020 at 15:51):
Was it expected that server support fuzzy dates? Is it OK for a server to require a date time with time zone?
Robert Scanlon (Sep 16 2020 at 20:17):
Given the language in the FHIR spec (and examples given in US Core like "date=ge2019"), it seems that the expectation is servers need to support all levels of precision. And the client should but doesn't have to provide a timezone for DateTimes (therefore both form is required for servers). I know that we do not attempt to test all levels of precision in Inferno right now, but maybe we should. What is your expectation?
Drew Torres (Sep 16 2020 at 20:31):
My interpretation is that I can require the full time with time zone. Looks like you logged an issue about this too.
Drew Torres (Sep 16 2020 at 20:31):
https://jira.hl7.org/browse/FHIR-27906
Drew Torres (Sep 16 2020 at 20:33):
It isn't really safe to convert time zone when the server can't do it.
Drew Torres (Sep 16 2020 at 20:33):
There is even a big warning in the search section of the base spec about the dangers of time zone.
Jenni Syed (Sep 16 2020 at 21:12):
there might be dragons
Jenni Syed (Sep 16 2020 at 21:12):
it is indeed problematic
Robert Scanlon (Sep 17 2020 at 15:33):
No disagreement here about issues around timezones. Do you support searches by date (e.g. date=yyyy-mm-dd), or just datetimes (date + time + timezone)?
Last updated: Apr 12 2022 at 19:14 UTC