diff options
author | vlad <vlad@driver.xyz> | 2017-06-13 16:15:07 -0700 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2017-06-13 16:15:07 -0700 |
commit | 91a4120b4253dc4a1e9552ec39fcb25c303a21e1 (patch) | |
tree | 9173797ed8e3d780f98ac8d0f85507eeb10c8016 /src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala | |
parent | cd1b635b2ae90d9ac2d8b1779183a1fbd8c5fd5c (diff) | |
download | rest-query-d55b202095f733138d5583966984c22e102c08f8.tar.gz rest-query-d55b202095f733138d5583966984c22e102c08f8.tar.bz2 rest-query-d55b202095f733138d5583966984c22e102c08f8.zip |
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala b/src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala index eaffb2a..5be037c 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/services/ExportService.scala @@ -29,7 +29,7 @@ object ExportService { sealed trait GetTrialListReply object GetTrialListReply { case class EntityList(xs: Seq[ExportTrial], totalFound: Int, lastUpdate: Option[LocalDateTime]) - extends GetTrialListReply + extends GetTrialListReply } sealed trait GetTrialReply @@ -48,13 +48,12 @@ trait ExportService extends PhiLogging { import ExportService._ - def getPatient(id: UuidId[Patient]) - (implicit requestContext: AnonymousRequestContext): Future[GetPatientReply] + def getPatient(id: UuidId[Patient])(implicit requestContext: AnonymousRequestContext): Future[GetPatientReply] - def getTrialList(filter: SearchFilterExpr = SearchFilterExpr.Empty) - (implicit requestContext: AnonymousRequestContext): Future[GetTrialListReply] + def getTrialList(filter: SearchFilterExpr = SearchFilterExpr.Empty)( + implicit requestContext: AnonymousRequestContext): Future[GetTrialListReply] - def getTrial(trialId: StringId[Trial], condition: String) - (implicit requestContext: AnonymousRequestContext): Future[GetTrialReply] + def getTrial(trialId: StringId[Trial], condition: String)( + implicit requestContext: AnonymousRequestContext): Future[GetTrialReply] } |