diff options
author | vlad <vlad@driver.xyz> | 2017-11-02 13:38:23 -0700 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2017-11-02 13:38:23 -0700 |
commit | 144d8da225d18584dbc19589ba735b84cf3b6637 (patch) | |
tree | 17f8f196f857ed1cb36399c9efd6c78ab4382fe1 /src/main/scala/xyz/driver/pdsuidomain/fakes | |
parent | 022e55f0723cbb957e77a06e717e3df847abb00c (diff) | |
download | rest-query-144d8da225d18584dbc19589ba735b84cf3b6637.tar.gz rest-query-144d8da225d18584dbc19589ba735b84cf3b6637.tar.bz2 rest-query-144d8da225d18584dbc19589ba735b84cf3b6637.zip |
PDSUI-2329 Removing `isRationaleRequired` field from the `PatientHypothesis`v0.12.3
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/fakes')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala b/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala index e4d7de6..713c711 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala @@ -8,7 +8,6 @@ import xyz.driver.pdsuidomain.ListResponse import xyz.driver.pdsuidomain.entities._ import xyz.driver.pdsuidomain.services.PatientCriterionService.{DraftPatientCriterion, RichPatientCriterion} import xyz.driver.pdsuidomain.services.PatientEligibleTrialService.RichPatientEligibleTrial -import xyz.driver.pdsuidomain.services.PatientHypothesisService.RichPatientHypothesis import xyz.driver.pdsuidomain.services.PatientLabelService.RichPatientLabel import eu.timepit.refined.{refineV, refineMV} @@ -173,11 +172,6 @@ object treatmentmatching { } ) - def nextRichPatientHypothesis(): RichPatientHypothesis = RichPatientHypothesis( - patientHypothesis = nextPatientHypothesis(), - isRequired = generators.nextBoolean() - ) - def nextPatientIssue(): PatientIssue = PatientIssue( id = nextLongId[PatientIssue], userId = nextStringId[User], @@ -222,8 +216,8 @@ object treatmentmatching { nextListResponse(xs) } - def nextRichPatientHypothesisListResponse(): ListResponse[RichPatientHypothesis] = { - val xs: Seq[RichPatientHypothesis] = Seq.fill(3)(nextRichPatientHypothesis()) + def nextPatientHypothesisListResponse(): ListResponse[PatientHypothesis] = { + val xs: Seq[PatientHypothesis] = Seq.fill(3)(nextPatientHypothesis()) nextListResponse(xs) } |