blob: d10310ae85236480d77d08495412c651533080da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package xyz.driver.pdsuidomain.entities
import xyz.driver.pdsuicommon.domain._
import xyz.driver.pdsuicommon.logging._
object LinkedPatient {
implicit def toPhiString(x: LinkedPatient): PhiString = {
import x._
phi"LinkedPatient(userId=$userId, patientId=$patientId, trialId=$trialId)"
}
}
final case class LinkedPatient(userId: StringId[User], patientId: UuidId[Patient], trialId: StringId[Trial])
|