阅片标准配置附加评估稽查测试
parent
f698d77719
commit
a1c4c00d1c
|
@ -123,6 +123,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
//临床数据配置
|
||||
var clinicalDataSetNameList = await _dbContext.ClinicalDataTrialSet.Where(t => t.TrialId == entity.Id && t.IsConfirm).Select(t => t.ClinicalDataSetName).ToListAsync();
|
||||
|
||||
|
||||
|
||||
|
||||
//List<string> trialDics = new List<string>();
|
||||
|
@ -266,6 +267,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
dicValueList = await _dbContext.Dictionary.Where(t => dicIdList.Contains(t.Id)).Select(t => t.Value).ToListAsync();
|
||||
}
|
||||
|
||||
// 附加评估
|
||||
|
||||
var addtionalAssesementList = await _dbContext.TrialCriterionAdditionalAssessmentType.Where(t => t.TrialReadingCriterionId == entity.Id && t.IsSelected != null)
|
||||
.Select(t => new { t.AdditionalAssessmentType, t.IsSelected }).ToListAsync();
|
||||
|
||||
|
||||
await InsertInspection<ReadingQuestionCriterionTrial>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
|
@ -279,7 +285,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
}, new
|
||||
{
|
||||
EvaluationResultTypes = dicValueList.Count > 0 ? string.Join(",", dicValueList) : string.Empty
|
||||
EvaluationResultTypes = dicValueList.Count > 0 ? string.Join(",", dicValueList) : string.Empty,
|
||||
AdditionalAssessmentTypeList= addtionalAssesementList
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue