diff options
author | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-10-04 18:29:52 +0700 |
---|---|---|
committer | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-10-04 18:29:52 +0700 |
commit | c5462a496aeb4d43f023bb427bf12fc87b482b61 (patch) | |
tree | d70b3624a66203716e27939db90d9ed695955c63 /src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala | |
parent | a813bb68eb3a63e8eeab5d8fb3db36472296f1db (diff) | |
download | rest-query-c5462a496aeb4d43f023bb427bf12fc87b482b61.tar.gz rest-query-c5462a496aeb4d43f023bb427bf12fc87b482b61.tar.bz2 rest-query-c5462a496aeb4d43f023bb427bf12fc87b482b61.zip |
Deleted duplicate spray format and fixed reply of patient eligible trial service
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala b/src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala index abb3f8a..d9013c6 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/services/PatientEligibleTrialService.scala @@ -1,12 +1,12 @@ package xyz.driver.pdsuidomain.services -import xyz.driver.entities.labels.Label import xyz.driver.pdsuicommon.auth.AuthenticatedRequestContext import xyz.driver.pdsuicommon.db.{Pagination, SearchFilterExpr, Sorting} import xyz.driver.pdsuicommon.domain.{LongId, UuidId} import xyz.driver.pdsuicommon.error.DomainError import xyz.driver.pdsuicommon.logging._ import xyz.driver.pdsuidomain.entities.{Trial, _} +import xyz.driver.pdsuidomain.services.PatientCriterionService.RichPatientCriterion import scala.concurrent.Future @@ -71,8 +71,7 @@ object PatientEligibleTrialService { sealed trait GetCriterionListOfGroupReply object GetCriterionListOfGroupReply { - final case class EntityList(xs: Seq[(PatientCriterion, LongId[Label], List[PatientCriterionArm])], totalFound: Int) - extends GetCriterionListOfGroupReply + final case class EntityList(xs: Seq[RichPatientCriterion], totalFound: Int) extends GetCriterionListOfGroupReply type Error = GetCriterionListOfGroupReply with DomainError |