Firstly, Sorry if there is already a similar question in the forum.
I am using effective[x] in Observation to check the behavior of dateTime,period, but I am a little confused.
I have given examples below, is my understanding correct?
Also, is there a page that clearly explains the behavior of each prefix and Period (start/end) type and others (dateTime, instant etc…)?
Any help would be greatly appreciated.
-
If the query is [?date=eq2022-10-31] or [?date=2022-10-31].
The target items are
Data whose effectiveDateTime is in the range from 2022-10-31T00:00:00 to 2022-10-31T23:59:59.
Data whose effectivePeriod.start is in the range from 2022-10-31T00:00:00 to 2022-10-31T23:59:59 and effectivePeriod.end is in the range from 2022-10-31T00:00:00 to 2022-10-31T23:59:59 -
If the query is [?date=gt2022-10-31].
The target items are
Data whose effectiveDateTime is after 2022-11-01T00:00:00
Data whose effectivePeriod.end is after 2022-11-01T00:00:00 -
If the query is [?date=ge2022-10-31].
The target items are
Data whose effectiveDateTime is after 2022-10-31T00:00:00.
Data whose effectivePeriod.start is after 2022-10-31T00:00:00 or effectivePeriod.end is after 2022-10-31T00:00:00. -
If the query is [?date=lt2022-10-31].
The target items are
Data whose effectiveDateTime is before 2022-10-30T23:59:59.
Data whose effectivePeriod.start is before 2022-10-30T23:59:59:59. -
If the query is [?date=le2022-10-31].
The target items are
Data whose effectiveDateTime is before 2022-10-31T23:59:59.
Data whose effectivePeriod.start is before 2022-10-31T23:59:59:59 or effectivePeriod.end is before 2022-10-31T23:59:59:59.