修改显示检查名称

Test_IRC_Net8
he 2025-03-20 14:37:25 +08:00
parent 81ecd9ff7f
commit 71702b2abb
5 changed files with 19 additions and 0 deletions

View File

@ -13518,6 +13518,14 @@
<param name="_readingConsistentClinicalDataRepository"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.TestService.DealTialFileSie(IRaCIS.Core.Application.Helper.IOSSService,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.NoneDicomStudyFile},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingClinicalDataPDF})">
<summary>
非dicom 临床数据
</summary>
<param name="_identityUserRepository"></param>
<param name="_trialUserRoleRepository"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Core.Application.Service.TestService.ModifyClinicalDataTable">
<summary>
维护临床数据 --一定要在同步表前同步数据才行

View File

@ -1869,6 +1869,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public ReadingTaskState ReadingTaskState { get; set; }
/// <summary>
/// 是否显示检查名称
/// </summary>
public bool IsShowStudyName { get; set; }
/// <summary>
/// 是否存在未处理的反馈
/// </summary>

View File

@ -3157,6 +3157,7 @@ namespace IRaCIS.Core.Application.Service
});
}
var trialInfo = await _trialRepository.Where(x => x.Id == visitTaskInfo.TrialId).FirstNotNullAsync();
// 如果已经签名 就不需要再读了
task.IsNeedReadClinicalData = visitTaskInfo.ReadingTaskState == ReadingTaskState.HaveSigned ? false : task.IsNeedReadClinicalData;
@ -3169,6 +3170,7 @@ namespace IRaCIS.Core.Application.Service
task.SubjectCode = blindSubjectCode.IsNullOrEmpty() ? task.SubjectCode : blindSubjectCode;
task.ExistsManual = (await GetManualList(new GetManualListInDto() { TrialId = visitTaskInfo.TrialId })).Count > 0;
task.ReadingTaskState = visitTaskInfo.ReadingTaskState;
task.IsShowStudyName= trialInfo.IsShowStudyName;
task.IsExistUnprocessedFeedback = await _userFeedBackRepository.AnyAsync(x => x.VisitTaskId == task.VisitTaskId && x.State == 0);
// 添加默认答案
if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned)

View File

@ -270,6 +270,8 @@ namespace IRaCIS.Core.Application.Contracts
public bool IsDicom { get; set; } = true;
public string StudyName { get; set; } = string.Empty;
public List<DicomSeriesDTO> SeriesList { get; set; } = new List<DicomSeriesDTO>();
}

View File

@ -506,6 +506,7 @@ namespace IRaCIS.Core.Application.Services
.Select(k => new VisitStudyDTO()
{
InstanceCount = k.InstanceCount,
StudyName=k.StudyName,
Modalities = k.Modalities,
//SeriesCount = k.SeriesCount,
StudyCode = k.StudyCode,
@ -692,6 +693,7 @@ namespace IRaCIS.Core.Application.Services
{
InstanceCount = x.FileCount,
StudyId = x.Id,
StudyName = x.StudyName,
Modalities = x.Modality,
//SeriesCount = 1,
StudyCode = x.StudyCode,