aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala')
-rw-r--r--src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala b/src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala
deleted file mode 100644
index 7943fb9..0000000
--- a/src/main/scala/xyz/driver/pdsuidomain/entities/PatientHypothesis.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-package xyz.driver.pdsuidomain.entities
-
-import eu.timepit.refined.api.Refined
-import eu.timepit.refined.numeric.NonNegative
-import xyz.driver.pdsuicommon.domain.UuidId
-import xyz.driver.pdsuicommon.logging._
-
-object PatientHypothesis {
- implicit def toPhiString(x: PatientHypothesis): PhiString = {
- import x._
- phi"PatientHypothesis(id=$id, patientId=$patientId, hypothesisId=$hypothesisId, " +
- phi"rationale=${Unsafe(rationale)}, matchedTrials=${Unsafe(matchedTrials)})"
- }
-}
-
-final case class PatientHypothesis(id: UuidId[PatientHypothesis],
- patientId: UuidId[Patient],
- hypothesisId: UuidId[Hypothesis],
- rationale: Option[String],
- matchedTrials: Long Refined NonNegative)