@@ -114,6 +114,18 @@ namespace IRaCIS.Core.Application.ViewModel
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public double? MonthsDiff
|
||||
{
|
||||
get
|
||||
{
|
||||
if (DaysDiff.HasValue)
|
||||
{
|
||||
return Math.Round(DaysDiff.Value / 30.0, 1, MidpointRounding.AwayFromZero);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class EfficacyEvaluationStatViewModel
|
||||
|
||||
@@ -273,8 +273,9 @@ public class TrialStatService(
|
||||
: "0.00%";
|
||||
|
||||
var pdInfo = translateList
|
||||
.WhereIf(criterion.CriterionType == CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "ICPD")
|
||||
.WhereIf(criterion.CriterionType == CriterionType.RECIST1Point1, t => t.OverallTumorEvaluation == "PD")
|
||||
.WhereIf(criterion.CriterionType == CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "iCPD")
|
||||
.WhereIf(criterion.CriterionType == CriterionType.Lugano2014, t => t.OverallTumorEvaluation == "PMD/PD")
|
||||
.WhereIf(criterion.CriterionType != CriterionType.IRECIST1Point1 && criterion.CriterionType != CriterionType.IRECIST1Point1, t => t.OverallTumorEvaluation == "PD")
|
||||
.FirstOrDefault();
|
||||
|
||||
var firstPdList = new List<FirstPdInfo>();
|
||||
|
||||
Reference in New Issue
Block a user