From 3ba80de717ee1df70d11b844f2b0e9d517fcf994 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Sun, 11 Oct 2020 15:35:28 -0400 Subject: [PATCH] Add to date equals comparison --- .../fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java index b891048ee9b..0bc15af8647 100644 --- a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java +++ b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java @@ -185,6 +185,8 @@ public class ResourceIndexedSearchParamDate extends BaseResourceIndexedSearchPar b.append(getParamName(), obj.getParamName()); b.append(getTimeFromDate(getValueHigh()), getTimeFromDate(obj.getValueHigh())); b.append(getTimeFromDate(getValueLow()), getTimeFromDate(obj.getValueLow())); + b.append(getValueLowDateOrdinal(), obj.getValueLowDateOrdinal()); + b.append(getValueHighDateOrdinal(), obj.getValueHighDateOrdinal()); b.append(isMissing(), obj.isMissing()); return b.isEquals(); }