You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please support FHIR Search prefixes sa (starts after) and eb (ends before) as in [1] and [2].
The already supported prefixes like
lt (lesser than)
ge (greater than or equals)
gt (greater than)
do not support non-overlapping period filtering. If any point in time of the period of the resource is inside the specified range, the resource is not filtered out - which is in some situations not what would be expected intuitively.
Example:
Assume we have four Encounters with the following date periods:
Encounter 1: period.start=1990-01-01 und period.end=2019-01-01
Encounter 2: period.start=1990-01-01 und period.end=1991-01-01
Encounter 3: period start=1990-01-01 und period.end=null
Encounter 4: period.start=2019-01-01 und period.end=2019-01-31
A FHIR search query with date filter:
ge(2018-01-01) and lt(2021-12-31) would return Encounter 1, 3 and 4
sa(2018-01-01) and eb(2022-01-01) would only return Encounter 4 (which is intuitively expected in most cases)
The equal search worked like approximately (ap) search. Now it tests for
fully contains instead of overlapping. The Prefixes sa (starts-after),
eb (ends-before) and ap (approximately) were also added.
Closes: #666
The equal search worked like approximately (ap) search. Now it tests for
fully contains instead of overlapping. The Prefixes sa (starts-after),
eb (ends-before) and ap (approximately) were also added.
Closes: #666
The equal search worked like approximately (ap) search. Now it tests for
fully contains instead of overlapping. The Prefixes sa (starts-after),
eb (ends-before) and ap (approximately) were also added.
Closes: #666
Please support FHIR Search prefixes sa (starts after) and eb (ends before) as in [1] and [2].
The already supported prefixes like
do not support non-overlapping period filtering. If any point in time of the period of the resource is inside the specified range, the resource is not filtered out - which is in some situations not what would be expected intuitively.
Example:
Assume we have four Encounters with the following date periods:
A FHIR search query with date filter:
ge(2018-01-01)
andlt(2021-12-31)
would return Encounter 1, 3 and 4sa(2018-01-01)
andeb(2022-01-01)
would only return Encounter 4 (which is intuitively expected in most cases)[1] https://www.hl7.org/fhir/search.html#prefix
[2] https://www.hl7.org/fhir/search.html#date
The text was updated successfully, but these errors were encountered: