lugano 长短经导表修改
parent
647aee010a
commit
e1632b58ac
|
|
@ -1205,6 +1205,38 @@ public class Tumor_CDISC_ExportService(IRepository<ReadingQuestionCriterionTrial
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (trValueTypeIndex == 0 || trValueTypeIndex == 1)
|
||||||
|
{
|
||||||
|
if (lesion.LessionType == LesionType.TargetLesion)
|
||||||
|
{
|
||||||
|
//处理消失 空为0mm
|
||||||
|
if (lessionAnswer.QuestionValue.IsNullOrEmpty() && lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.State)?.QuestionValue == "3")
|
||||||
|
{
|
||||||
|
|
||||||
|
lessionAnswer.QuestionValue = "0";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//有值 就展示,没值就不展示
|
||||||
|
else if (lesion.LessionType == LesionType.NonTargetLesions || lesion.LessionType == LesionType.NewLesions)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.ShortAxis)?.QuestionValue.IsNotNullOrEmpty() == true
|
||||||
|
|| lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.MajorAxis)?.QuestionValue.IsNotNullOrEmpty() == true)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
trValueTypeIndex = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
trValueTypeIndex = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return trValueTypeIndex;
|
return trValueTypeIndex;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue