Compare commits
No commits in common. "60a5cc460285e4f9e6ede98fe18e4eaf04d2cbab" and "8111b60d4f4b77d2e86614f5c0b03a1fa934a2b3" have entirely different histories.
60a5cc4602
...
8111b60d4f
|
|
@ -4246,13 +4246,6 @@
|
||||||
<param name="inDto"></param>
|
<param name="inDto"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ReadingCalculate.MRIPDFFCalculateService.GetFattyLiverGrading(IRaCIS.Core.Application.Service.Reading.Dto.ReadingCalculateDto)">
|
|
||||||
<summary>
|
|
||||||
获取脂肪肝分级
|
|
||||||
</summary>
|
|
||||||
<param name="inDto"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:IRaCIS.Core.Application.Service.ReadingCalculate.MRIPDFFCalculateService.CalculateAvg(IRaCIS.Core.Application.Service.Reading.Dto.ReadingCalculateDto)">
|
<member name="M:IRaCIS.Core.Application.Service.ReadingCalculate.MRIPDFFCalculateService.CalculateAvg(IRaCIS.Core.Application.Service.Reading.Dto.ReadingCalculateDto)">
|
||||||
<summary>
|
<summary>
|
||||||
计算平均值
|
计算平均值
|
||||||
|
|
|
||||||
|
|
@ -498,9 +498,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
{
|
{
|
||||||
// 脂肪平均
|
// 脂肪平均
|
||||||
new ReadingCalculateData (){QuestionType=QuestionType.TotalMeanFraction,GetStringFun=GetFatFractionAvg},
|
new ReadingCalculateData (){QuestionType=QuestionType.TotalMeanFraction,GetStringFun=GetFatFractionAvg},
|
||||||
|
|
||||||
// 脂肪分级
|
|
||||||
new ReadingCalculateData (){QuestionType=QuestionType.FattyLiverGrading,GetStringFun=GetFattyLiverGrading},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -611,33 +608,6 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 获取脂肪肝分级
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="inDto"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
public async Task<string> GetFattyLiverGrading(ReadingCalculateDto inDto)
|
|
||||||
{
|
|
||||||
var answer = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.TotalMeanFraction).Select(x => x.Answer).FirstIsNullReturnEmpty();
|
|
||||||
if (answer == "NE" || answer == string.Empty)
|
|
||||||
{
|
|
||||||
return FattyLiverClassification.NE.GetEnumInt();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (decimal.TryParse(answer, out var value))
|
|
||||||
{
|
|
||||||
return value switch
|
|
||||||
{
|
|
||||||
< 5 => FattyLiverClassification.Level0.GetEnumInt(),
|
|
||||||
< 10 => FattyLiverClassification.Level1.GetEnumInt(),
|
|
||||||
< 25 => FattyLiverClassification.Level2.GetEnumInt(),
|
|
||||||
_ => FattyLiverClassification.Level3.GetEnumInt()
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return FattyLiverClassification.NE.GetEnumInt();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 计算平均值
|
/// 计算平均值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
|
|
@ -2309,43 +2309,10 @@ public enum SUVChangeVSBaseline
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 脂肪肝分级
|
/// 影像质量问题
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public enum FattyLiverClassification
|
public enum ImageQualityIssues
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// NE
|
|
||||||
/// </summary>
|
|
||||||
NE = 0,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 0级
|
|
||||||
/// </summary>
|
|
||||||
Level0=1,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 1级
|
|
||||||
/// </summary>
|
|
||||||
Level1=2,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 2级
|
|
||||||
/// </summary>
|
|
||||||
Level2=3,
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 3级
|
|
||||||
/// </summary>
|
|
||||||
Level3=4,
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 影像质量问题
|
|
||||||
/// </summary>
|
|
||||||
public enum ImageQualityIssues
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 解剖不完整
|
/// 解剖不完整
|
||||||
|
|
@ -2734,11 +2701,6 @@ public enum SUVChangeVSBaseline
|
||||||
/// 脂肪分数总平均值
|
/// 脂肪分数总平均值
|
||||||
/// </summary>
|
/// </summary>
|
||||||
TotalMeanFraction = 1101,
|
TotalMeanFraction = 1101,
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 脂肪肝分级
|
|
||||||
/// </summary>
|
|
||||||
FattyLiverGrading = 1102,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue