diff options
author | Kseniya Tomskikh <ktomskih@datamonsters.co> | 2017-11-13 18:29:45 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 18:29:45 +0700 |
commit | f9057970bcd4c5692ab519a1ee4f0e153999b1c3 (patch) | |
tree | ecc6eef91d2efc770e0ead65156ec098d47e6543 /src/main/scala/xyz/driver/pdsuidomain/fakes/entities | |
parent | 005b186725fac14b5361292456dd5025742b7646 (diff) | |
parent | 77b54e459d6478ae9685e8cac56ae21f08c263ef (diff) | |
download | rest-query-f9057970bcd4c5692ab519a1ee4f0e153999b1c3.tar.gz rest-query-f9057970bcd4c5692ab519a1ee4f0e153999b1c3.tar.bz2 rest-query-f9057970bcd4c5692ab519a1ee4f0e153999b1c3.zip |
Merge pull request #61 from drivergroup/PDSUI-2382
Fixed calculation of eligibility status with "Unknown" value
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuidomain/fakes/entities')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala | 12 |
1 files changed, 6 insertions, 6 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 441c1db..f2d6a1b 100644 --- a/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala +++ b/src/main/scala/xyz/driver/pdsuidomain/fakes/entities/treatmentmatching.scala @@ -62,8 +62,8 @@ object treatmentmatching { patientId = nextUuidId[Patient], labelId = nextLongId[Label], score = generators.nextInt(100), - primaryValue = generators.nextOption(fakes.entities.labels.nextLabelValue()), - verifiedPrimaryValue = generators.nextOption(fakes.entities.labels.nextLabelValue()), + primaryValue = fakes.entities.labels.nextLabelValue(), + verifiedPrimaryValue = fakes.entities.labels.nextLabelValue(), isImplicitMatch = generators.nextBoolean(), isVisible = generators.nextBoolean() ) @@ -82,8 +82,8 @@ object treatmentmatching { criterionText = generators.nextString(), criterionValue = generators.nextOption(generators.nextBoolean()), criterionIsDefining = generators.nextBoolean(), - eligibilityStatus = generators.nextOption(fakes.entities.labels.nextLabelValue()), - verifiedEligibilityStatus = generators.nextOption(fakes.entities.labels.nextLabelValue()), + eligibilityStatus = fakes.entities.labels.nextLabelValue(), + verifiedEligibilityStatus = fakes.entities.labels.nextLabelValue(), isVerified = generators.nextBoolean(), isVisible = generators.nextBoolean(), lastUpdate = nextLocalDateTime, @@ -139,8 +139,8 @@ object treatmentmatching { patientId = nextUuidId[Patient], trialId = trialId, hypothesisId = nextUuidId[Hypothesis], - eligibilityStatus = generators.nextOption(fakes.entities.labels.nextLabelValue()), - verifiedEligibilityStatus = generators.nextOption(fakes.entities.labels.nextLabelValue()), + eligibilityStatus = fakes.entities.labels.nextLabelValue(), + verifiedEligibilityStatus = fakes.entities.labels.nextLabelValue(), isVerified = generators.nextBoolean() ) |