From 067974c18c90773ece69fb273d4e927aa88daf69 Mon Sep 17 00:00:00 2001 From: Newatia Date: Mon, 18 Oct 2021 00:31:09 -0400 Subject: [PATCH] added suggest to Indexable fields --- .../adverseeventcvm/models/AdverseEventCvm.java | 8 ++++---- .../adverseeventdme/models/AdverseEventDme.java | 6 +++--- .../adverseeventpt/models/AdverseEventPt.java | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventcvm/models/AdverseEventCvm.java b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventcvm/models/AdverseEventCvm.java index dde3c4e..7d0919e 100644 --- a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventcvm/models/AdverseEventCvm.java +++ b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventcvm/models/AdverseEventCvm.java @@ -52,19 +52,19 @@ public class AdverseEventCvm extends AbstractGsrsEntity implements SubstanceAdve @Column(name="SUBSTANCE_KEY") public String substanceKey; - @Indexable(facet = true, name = "Ingredient Name") + @Indexable(suggest = true, facet = true, name = "Ingredient Name") @Column(name="NAME") public String name; - @Indexable(facet = true, name = "Route of Administration") + @Indexable(suggest = true, facet = true, name = "Route of Administration") @Column(name="ROUTE_OF_ADMINISTRATION") public String routeOfAdmin; - @Indexable(facet = true, name = "Species") + @Indexable(suggest = true, facet = true, name = "Species") @Column(name="SPECIES") public String species; - @Indexable(facet = true, name = "Adverse Event") + @Indexable(suggest = true, facet = true, name = "Adverse Event") @Column(name="ADVERSE_EVENT") public String adverseEvent; diff --git a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventdme/models/AdverseEventDme.java b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventdme/models/AdverseEventDme.java index 8e6f56f..ddf2978 100644 --- a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventdme/models/AdverseEventDme.java +++ b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventdme/models/AdverseEventDme.java @@ -53,15 +53,15 @@ public class AdverseEventDme extends AbstractGsrsEntity implements SubstanceAdve @Column(name="SUBSTANCE_KEY") public String substanceKey; - @Indexable(facet = true, name = "Ingredient Name") + @Indexable(suggest = true, facet = true, name = "Ingredient Name") @Column(name="NAME") public String name; - @Indexable(facet = true, name = "DME Reactions") + @Indexable(suggest = true, facet = true, name = "DME Reactions") @Column(name="DME_REACTIONS") public String dmeReactions; - @Indexable(facet = true, name = "PTTerm Meddra") + @Indexable(suggest = true, facet = true, name = "PTTerm Meddra") @Column(name="PTTERM_MEDDRA") public String ptTermMeddra; diff --git a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventpt/models/AdverseEventPt.java b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventpt/models/AdverseEventPt.java index a9504c3..2569363 100644 --- a/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventpt/models/AdverseEventPt.java +++ b/gsrs-module-adverse-events-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/adverseevents/adverseeventpt/models/AdverseEventPt.java @@ -58,15 +58,15 @@ public class AdverseEventPt extends AbstractGsrsEntity implements SubstanceAdver @Column(name = "SUBSTANCE_KEY") public String substanceKey; - @Indexable(facet = true, name = "Ingredient Name") + @Indexable(suggest = true, facet = true, name = "Ingredient Name") @Column(name = "NAME") public String name; - @Indexable(facet = true, name = "Adverse Event") + @Indexable(suggest = true, facet = true, name = "Adverse Event") @Column(name = "PT_TERM") public String adverseEvent; - @Indexable(facet = true, name = "Prim SOC") + @Indexable(suggest = true, facet = true, name = "Prim SOC") @Column(name = "PRIM_SOC") public String primSoc;