aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala
diff options
context:
space:
mode:
authorvlad <vlad@driver.xyz>2017-10-09 12:24:59 -0700
committervlad <vlad@driver.xyz>2017-10-09 12:24:59 -0700
commit7d8712a62d30b412717e1b730c0ad267cd207aa4 (patch)
tree76662e1b233943c1c840a658682aac9766aa64d7 /src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala
parent52b5e1a5febc91aa316565fdea309df2b646481e (diff)
downloadrest-query-7d8712a62d30b412717e1b730c0ad267cd207aa4.tar.gz
rest-query-7d8712a62d30b412717e1b730c0ad267cd207aa4.tar.bz2
rest-query-7d8712a62d30b412717e1b730c0ad267cd207aa4.zip
Getting rid of the FuzzyValues, Name as a string, and condition
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala b/src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala
index e0f23e3..7409e90 100644
--- a/src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala
+++ b/src/main/scala/xyz/driver/pdsuidomain/formats/json/evidence/ApiPatientLabelEvidence.scala
@@ -3,7 +3,6 @@ package xyz.driver.pdsuidomain.formats.json.evidence
import java.time.LocalDate
import play.api.libs.json._
-import xyz.driver.pdsuicommon.domain.FuzzyValue
import xyz.driver.pdsuidomain.entities.PatientLabelEvidenceView
final case class ApiPatientLabelEvidence(id: Long,
@@ -22,7 +21,7 @@ object ApiPatientLabelEvidence {
def fromDomain(x: PatientLabelEvidenceView) = ApiPatientLabelEvidence(
id = x.id.id,
- value = FuzzyValue.valueToString(x.value),
+ value = x.value.toString,
evidenceText = x.evidenceText,
documentId = x.documentId.map(_.id),
evidenceId = x.evidenceId.map(_.id),