oct-ivus-修改1

This commit is contained in:
2025-11-19 10:24:43 +08:00
parent 8ae0b0d621
commit 7662880352
17 changed files with 22515 additions and 433 deletions
@@ -1,4 +1,5 @@
using IRaCIS.Core.Domain.Share;
using Newtonsoft.Json;
namespace IRaCIS.Core.Application.Service.ImageAndDoc.DTO
{
@@ -27,6 +28,9 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc.DTO
public List<StudyBasicInfo> UploadStudyList { get; set; }
[JsonIgnore]
public List<StudyBasicInfo> OriginalTaskStudyList { get; set; }
}
@@ -116,6 +120,8 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc.DTO
public int ReadingSeriesCount { get; set; }
public int ReadingInstanceCount { get; set; }
public Guid? SubjectVisitId { get; set; }
}
public class NoneDicomStudyBasicInfo
@@ -140,5 +146,10 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc.DTO
public int ReadingFileCount { get; set; }
}
public class ImageMarkNoneDicomStudyBasicInfo: NoneDicomStudyBasicInfo
{
public Guid SubjectVisitId { get; set; }
}
}
@@ -188,6 +188,7 @@ namespace IRaCIS.Core.Application.Contracts
public Guid SubjectVisitId { get; set; }
public int FileCount { get; set; }
}
public class PreArchiveDicomStudyCommand
@@ -237,6 +238,9 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? VisitTaskId { get; set; }
public bool? IsImageSegmentLabel { get; set; }
}
public class TaskStudyArchiveConfirmResult
@@ -267,6 +271,8 @@ namespace IRaCIS.Core.Application.Contracts
[NotDefault]
public Guid VisitTaskId { get; set; }
public bool? IsImageSegmentLabel { get; set; }
}
public class NewArchiveStudyCommand
@@ -492,6 +498,10 @@ namespace IRaCIS.Core.Application.Contracts
public string? SubjectCode { get; set; }
public Guid? VisitTaskId { get; set; }
public bool? IsImageSegmentLabel { get; set; }
public Guid? SubjectVisitId { get; set; }
}
public class IRTaskUploadedDicomStudyQuery
@@ -571,6 +581,8 @@ namespace IRaCIS.Core.Application.Contracts
public string TaskBlindName { get; set; }
public string TaskName { get; set; }
public string VisitName { get; set; }
public Guid? SourceSubjectVisitId { get; set; }
public ReadingTaskState ReadingTaskState { get; set; }
@@ -592,6 +604,10 @@ namespace IRaCIS.Core.Application.Contracts
public Guid VisitId { get; set; }
public List<DownloadDicomStudyDto> StudyList { get; set; }
[JsonIgnore]
public List<DownloadDicomStudyDto> TaskStudyList { get; set; }
public List<DownloadNoneDicomStudyDto> NoneDicomStudyList { get; set; }
}
@@ -661,6 +677,8 @@ namespace IRaCIS.Core.Application.Contracts
public string? SubjectCode { get; set; }
public Guid? VisitTaskId { get; set; }
public bool? IsImageSegmentLabel { get; set; }
}
@@ -681,6 +699,8 @@ namespace IRaCIS.Core.Application.Contracts
public List<Guid> NoneDicomStudyIdList { get; set; }
public bool? IsImageSegmentLabel { get; set; }
}
public class TrialKeyImageExportDTO
@@ -930,4 +950,81 @@ namespace IRaCIS.Core.Application.Contracts
public Guid TaskId { get; set; }
}
public class SubjectVisitMarkQuery
{
public Guid TrialId { get; set; }
public Guid? SubjectId { get; set; }
public Guid? TrialReadingCriterionId { get; set; }
public string? SubjectCode { get; set; }
public bool? IsUrgent { get; set; }
}
public class SubjectVisitMarkDTO
{
public Guid TrialId { get; set; }
public Guid SubjectId { get; set; }
public bool IsUrgent { get; set; }
public bool SubjectCode { get; set; }
public int? VisitCount { get; set; }
public int? MarkVisitCount { get; set; }
public int? DicomStudyCount { get; set; }
public int? MarkDicomStudyCount { get; set; }
}
public class SubjectVisitMarkStudyDto
{
public bool IsDicom => DicomStudyList.Count() > 0;
public Guid VisitTaskId { get; set; }
public Guid SubjectId { get; set; }
public string SubjectCode { get; set; }
public string VisitName { get; set; }
public List<DicomStudyBasicInfo> DicomStudyList { get; set; } = new List<DicomStudyBasicInfo>();
public List<NoneDicomStudyBasicInfo> NoneDicomStudyList { get; set; }
}
public class SubjectVisitMarkUploadDto
{
public Guid SubjectVisitId { get; set; }
public Guid TrialSiteId { get; set; }
public Guid SubejctId { get; set; }
public string SubjectCode { get; set; }
public string VisitName { get; set; }
public Guid? SourceSubjectVisitId => SubjectVisitId;
public List<StudyBasicInfo> OrginalStudyList { get; set; }
public List<StudyBasicInfo> UploadStudyList { get; set; }
}
}