blob: 23bb54660d165891d4d3f783bed08896f88ca44d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package xyz.driver.pdsuidomain.entities
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)
|