IR上传接口修改

This commit is contained in:
2024-05-21 14:29:13 +08:00
parent bb36c67159
commit 57600cbad1
4 changed files with 453 additions and 22 deletions
@@ -157,19 +157,19 @@ namespace IRaCIS.Core.Application.Contracts
public Guid? VisitTaskId { get; set; }
public bool? IsDicom { get; set; }
public bool? IsDicom { get; set; }
public string? Uploader { get; set; }
public string? Uploader { get; set; }
public bool? IsSuccess { get; set; }
public bool? IsSuccess { get; set; }
public string? StudyCode { get; set; }
}
}
public class PreArchiveDicomStudyCommand
{
//public string StudyInstanceUid { get; set; }
//public string StudyInstanceUid { get; set; }
[NotDefault]
public Guid TrialId { get; set; }
@@ -180,7 +180,7 @@ namespace IRaCIS.Core.Application.Contracts
[NotDefault]
public Guid SubjectVisitId { get; set; }
public decimal FileSize { get; set; }
public bool IsDicomReUpload { get; set; }
@@ -189,6 +189,23 @@ namespace IRaCIS.Core.Application.Contracts
public int FileCount { get; set; }
}
public class TaskArchiveStudyCommand
{
[NotDefault]
public Guid TrialId { get; set; }
[NotDefault]
public Guid SubjectId { get; set; }
[NotDefault]
public Guid StudyMonitorId { get; set; }
public int FailedFileCount { get; set; }
public string RecordPath { get; set; } = string.Empty;
public AddOrUpdateStudyDto Study { get; set; }
}
public class NewArchiveStudyCommand
{
[NotDefault]
@@ -200,23 +217,23 @@ namespace IRaCIS.Core.Application.Contracts
[NotDefault]
public Guid SubjectVisitId { get; set; }
[NotDefault]
public Guid StudyMonitorId { get; set; }
public Guid StudyMonitorId { get; set; }
public int FailedFileCount { get; set; }
public string RecordPath { get; set; } = string.Empty;
public AddOrUpdateStudyDto Study { get; set; }
}
}
public class AddOrUpdateStudyDto
{
public string StudyId { get; set; } = string.Empty;
//public int Code { get; set; } = 0;
//public string StudyCode { get; set; } = string.Empty;
@@ -271,7 +288,7 @@ namespace IRaCIS.Core.Application.Contracts
public string AcquisitionNumber { get; set; } = string.Empty;
public string TriggerTime { get; set; } = string.Empty;
public string ImageResizePath { get; set; }=string.Empty;
public string ImageResizePath { get; set; } = string.Empty;
public List<AddInstanceDto> InstanceList { get; set; }
public Guid? VisitTaskId { get; set; }