aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuidomain/entities/export/patient/ExportPatientLabel.scala
blob: 957e607c38509b59fc0f40f64e9ae2eced780dea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package xyz.driver.pdsuidomain.entities.export.patient

import xyz.driver.entities.labels.Label
import xyz.driver.pdsuicommon.domain.LongId
import xyz.driver.pdsuicommon.logging._

final case class ExportPatientLabel(id: LongId[Label], evidences: List[ExportPatientLabelEvidence])

object ExportPatientLabel extends PhiLogging {

  implicit def toPhiString(x: ExportPatientLabel): PhiString = {
    import x._
    phi"ExportPatientLabel(id=$id, evidences=$evidences)"
  }
}