aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala
diff options
context:
space:
mode:
authorKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-04 18:29:52 +0700
committerKseniya Tomskikh <ktomskih@datamonsters.co>2017-10-04 18:29:52 +0700
commitc5462a496aeb4d43f023bb427bf12fc87b482b61 (patch)
treed70b3624a66203716e27939db90d9ed695955c63 /src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala
parenta813bb68eb3a63e8eeab5d8fb3db36472296f1db (diff)
downloadrest-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/formats/json/sprayformats/patienthypothesis.scala')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala
index bd448b3..b8c0058 100644
--- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala
+++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/sprayformats/patienthypothesis.scala
@@ -37,11 +37,11 @@ object patienthypothesis {
new RootJsonWriter[PatientHypothesis] {
override def write(obj: PatientHypothesis): JsValue = {
JsObject(
- "id" -> obj.id.toJson,
- "patientId" -> obj.patientId.toJson,
- "hypothesisId" -> obj.hypothesisId.toJson,
- "matchedTrials" -> obj.matchedTrials.toJson,
- "rationale" -> obj.rationale.toJson
+ "id" -> obj.id.toJson,
+ "patientId" -> obj.patientId.toJson,
+ "hypothesisId" -> obj.hypothesisId.toJson,
+ "matchedTrials" -> obj.matchedTrials.toJson,
+ "rationale" -> obj.rationale.toJson
)
}
}