blob: 070fc7426aa759a749aebdf8115253f2aabaa085 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package xyz.driver.pdsuidomain.entities
import java.time.LocalDateTime
import xyz.driver.pdsuicommon.domain._
import xyz.driver.pdsuicommon.logging._
final case class PatientIssue(id: LongId[PatientIssue],
userId: StringId[User],
patientId: UuidId[Patient],
lastUpdate: LocalDateTime,
isDraft: Boolean,
text: String,
evidence: String,
archiveRequired: Boolean,
meta: String)
object PatientIssue {
implicit def toPhiString(x: PatientIssue): PhiString = {
import x._
phi"PatientIssue(id=$id, userId=$userId, patientId=$patientId)"
}
}
|