diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs
index 1b22edf3e..920edc6d9 100644
--- a/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs
+++ b/IRaCIS.Core.Application/Service/ReadingCalculate/OCTCalculateService.cs
@@ -861,6 +861,9 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
// 脂质角度平均值
new ReadingCalculateData (){QuestionType=QuestionType.AvgLipidAngle,GetDecimalNullFun=GetAvgLipidAngle},
+
+ // 脂质角度最大值
+ new ReadingCalculateData (){QuestionType=QuestionType.MaxLipidAngle,GetDecimalNullFun=GetMaxLipidAngle},
};
@@ -1275,6 +1278,18 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
}
+ ///
+ /// 脂质角度最大
+ ///
+ ///
+ ///
+ public async Task GetMaxLipidAngle(ReadingCalculateDto inDto)
+ {
+ return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.FCT).SelectMany(x => x.TableRowInfoList).SelectMany(x => x.TableQuestionList)
+ .Where(x => x.QuestionMark == QuestionMark.LipidAngle).Select(x => x.Answer.IsNullOrEmptyReturn0()).MaxOrDefault();
+ }
+
+
///
/// 验证访视提交
///