Uat_Study
parent
882cecc497
commit
2891de7ff7
|
@ -656,7 +656,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
var targetLesion = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.TargetLesion).Select(x => x.Answer).FirstOrDefault();
|
var targetLesion = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.TargetLesion).Select(x => x.Answer).FirstOrDefault();
|
||||||
var noTargetLesion = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NoTargetLesion).Select(x => x.Answer).FirstOrDefault();
|
var noTargetLesion = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NoTargetLesion).Select(x => x.Answer).FirstOrDefault();
|
||||||
var newLesions = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NewLesions).Select(x => x.Answer).FirstOrDefault();
|
var newLesions = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.NewLesions).Select(x => x.Answer).FirstOrDefault();
|
||||||
var result = await _tumorAssessmentRepository.Where(x => x.TargetLesion == targetLesion && x.NonTargetLesions == noTargetLesion && x.NewLesion == newLesions).Select(x => x.OverallEfficacy).FirstOrDefaultAsync();
|
var result = await _tumorAssessmentRepository.Where(x => x.TargetLesion.GetEnumInt() == targetLesion && x.NonTargetLesions.GetEnumInt() == noTargetLesion && x.NewLesion.GetEnumInt() == newLesions).Select(x => x.OverallEfficacy).FirstOrDefaultAsync();
|
||||||
|
|
||||||
return result ?? string.Empty;
|
return result ?? string.Empty;
|
||||||
|
|
||||||
|
|
|
@ -830,167 +830,5 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#region 疗效评估
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 非靶病灶评估
|
|
||||||
/// </summary>
|
|
||||||
public enum NoTargetAssessment
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PD
|
|
||||||
/// </summary>
|
|
||||||
PD = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// CR
|
|
||||||
/// </summary>
|
|
||||||
CR = 1,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NE
|
|
||||||
/// </summary>
|
|
||||||
NE = 2,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ND
|
|
||||||
/// </summary>
|
|
||||||
ND = 3,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NN
|
|
||||||
/// </summary>
|
|
||||||
NN = 4,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NA
|
|
||||||
/// </summary>
|
|
||||||
NA = 5
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 靶病灶评估
|
|
||||||
/// </summary>
|
|
||||||
public enum TargetAssessment
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// CR
|
|
||||||
/// </summary>
|
|
||||||
CR = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PR
|
|
||||||
/// </summary>
|
|
||||||
PR = 1,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// SD
|
|
||||||
/// </summary>
|
|
||||||
SD = 2,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PD
|
|
||||||
/// </summary>
|
|
||||||
PD = 3,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NE
|
|
||||||
/// </summary>
|
|
||||||
NE = 4,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ND
|
|
||||||
/// </summary>
|
|
||||||
ND = 5,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NA
|
|
||||||
/// </summary>
|
|
||||||
NA = 6
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 新病灶评估
|
|
||||||
/// </summary>
|
|
||||||
public enum NewLesionAssessment
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 是
|
|
||||||
/// </summary>
|
|
||||||
Yes = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 疑似
|
|
||||||
/// </summary>
|
|
||||||
Suspected = 1,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NE
|
|
||||||
/// </summary>
|
|
||||||
NE = 2,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 否
|
|
||||||
/// </summary>
|
|
||||||
No = 3,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NA
|
|
||||||
/// </summary>
|
|
||||||
NA = 4
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 整体肿瘤评估
|
|
||||||
/// </summary>
|
|
||||||
public enum OverallAssessment
|
|
||||||
{
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// CR
|
|
||||||
/// </summary>
|
|
||||||
CR = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// ND
|
|
||||||
/// </summary>
|
|
||||||
ND = 1,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NE
|
|
||||||
/// </summary>
|
|
||||||
NE = 2,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NN
|
|
||||||
/// </summary>
|
|
||||||
NN = 3,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PD
|
|
||||||
/// </summary>
|
|
||||||
PD = 4,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// PR
|
|
||||||
/// </summary>
|
|
||||||
PR = 5,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// SD
|
|
||||||
/// </summary>
|
|
||||||
SD = 6,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// NA
|
|
||||||
/// </summary>
|
|
||||||
NA = 7
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue