blob: c09dd9aeccbf3fd3e5826c583b417598b30bcb58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package xyz.driver.pdsuidomain.services
import xyz.driver.core.Id
import xyz.driver.core.rest.AuthorizedServiceRequestContext
import xyz.driver.entities.patient.{CancerType, Patient}
import xyz.driver.entities.users.AuthUserInfo
import xyz.driver.pdsuicommon.domain.LongId
import xyz.driver.pdsuidomain.entities.eligibility.{MatchedPatient, MismatchRankedLabels}
import xyz.driver.pdsuidomain.entities.Arm
import scala.concurrent.Future
import scalaz.ListT
trait EligibilityVerificationService {
def getMatchedPatients()(implicit ctx: AuthorizedServiceRequestContext[AuthUserInfo]): ListT[Future, MatchedPatient]
def getMismatchRankedLabels(patientId: Id[Patient], cancerType: CancerType, excludedArms: Seq[LongId[Arm]])(
implicit ctx: AuthorizedServiceRequestContext[AuthUserInfo]): Future[MismatchRankedLabels]
}
|