Test.EIImageViewer
he 2022-12-07 14:06:02 +08:00
parent fee34656f0
commit 6458690f6d
2 changed files with 7 additions and 0 deletions

View File

@ -916,6 +916,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public CriterionType CriterionType { get; set; }
/// <summary>
/// eCRF报告是否显示在图像页面
/// </summary>
public bool IseCRFShowInDicomReading { get; set; } = false;
public bool IsExistsNoDicomFile { get; set; } = false;
public string TaskBlindName { get; set; }

View File

@ -1389,6 +1389,7 @@ namespace IRaCIS.Application.Services
x.IsReadingShowSubjectInfo,
x.DigitPlaces,
x.CriterionType,
x.IseCRFShowInDicomReading,
x.IsReadingTaskViewInOrder,
}).FirstOrDefaultAsync();
@ -1424,6 +1425,7 @@ namespace IRaCIS.Application.Services
task.DigitPlaces = criterionInfo.DigitPlaces;
task.CriterionType = criterionInfo.CriterionType;
task.IseCRFShowInDicomReading = criterionInfo.IseCRFShowInDicomReading;
var blindSubjectCode = await _visitTaskRepository.Where(x => x.Id == task.VisitTaskId).Select(x => x.BlindSubjectCode).FirstNotNullAsync();
task.SubjectCode = blindSubjectCode.IsNullOrEmpty() ? task.SubjectCode : blindSubjectCode;