Add changelog entry

This commit is contained in:
Gary Graham 2020-02-25 14:09:51 -05:00
parent da7224ff89
commit 512af5b87d
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
type: fix
issue: 1499
title: When performing a search with a DateParam that has DAY precision, rely on new ordinal date field for comparison
instead of attempting to find oldest and newest instant that could be valid.

View File

@ -3992,7 +3992,7 @@ public class FhirResourceDaoR4SearchNoFtTest extends BaseJpaR4Test {
createObservationWithEffective("YES22", "2011-01-02T00:00:00+10:00"); createObservationWithEffective("YES22", "2011-01-02T00:00:00+10:00");
createObservationWithEffective("YES23", "2011-01-02T00:00:00+11:00"); createObservationWithEffective("YES23", "2011-01-02T00:00:00+11:00");
SearchParameterMap map = new SearchParameterMap(); SearchParameterMap map = new SearchParameterMap();
map.setLoadSynchronous(true); map.setLoadSynchronous(true);
map.add(Observation.SP_DATE, new DateParam("2011-01-02")); map.add(Observation.SP_DATE, new DateParam("2011-01-02"));