添加项目文件。
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace IRaCIS.Application.ViewModels
|
||||
{
|
||||
public class ImageQACommand
|
||||
{
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public Guid StudyId { get; set; }
|
||||
public Guid? ParentId { get; set; }
|
||||
public String CommunicationRecord { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class ImageQaDTO: ImageQACommand
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public string UserName { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class StudyQAView
|
||||
{
|
||||
List<ImageQaDTO> ImageQAList =new List<ImageQaDTO>();
|
||||
|
||||
List<Guid> DictionayIds=new List<Guid>();
|
||||
|
||||
//List<string> Qa
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
|
||||
|
||||
namespace IRaCIS.Application.ViewModels
|
||||
{
|
||||
public class ImageCommand
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SubjectId { get; set; } = Guid.Empty;
|
||||
public Guid SiteId { get; set; } = Guid.Empty;
|
||||
public Guid SubjectVisitId { get; set; } = Guid.Empty;
|
||||
public string TrialCode { get; set; }
|
||||
}
|
||||
|
||||
public class ImageDetailDTO : ImageCommand
|
||||
{
|
||||
public int? State { get; set; }
|
||||
public DateTime StudyDate { get; set; } = DateTime.Now;
|
||||
public string Modalities { get; set; } = string.Empty;
|
||||
public Guid StudyId { get; set; } = Guid.Empty;
|
||||
public string ImageNo { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public string SubjectCode { get; set; }//受试者编号
|
||||
public string SiteName { get; set; }
|
||||
public string MedicalNo { get; set; }
|
||||
public string Period { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
public class ImageQueryDTO : PageInput
|
||||
{
|
||||
public Guid TrialId { get; set; } = Guid.Empty;
|
||||
public string SubjectCode { get; set; } = string.Empty;
|
||||
public Guid SubjectVisitId { get; set; } = Guid.Empty;
|
||||
public int State { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using IRaCIS.Application.ViewModels;
|
||||
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
|
||||
|
||||
namespace IRaCIS.Application.Interfaces
|
||||
{
|
||||
public interface IImageQAService
|
||||
{
|
||||
IResponseOutput AddOrUpdateImageQA(ImageQACommand qaCommand);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using IRaCIS.Application.ViewModels;
|
||||
using System;
|
||||
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
|
||||
|
||||
namespace IRaCIS.Application.Interfaces
|
||||
{
|
||||
public interface IImageService
|
||||
{
|
||||
IResponseOutput AddImage(ImageCommand model,Guid userId);
|
||||
IResponseOutput DeleteImage(Guid id);
|
||||
//PageOutput<ImageDetailDTO> GetImageList(ImageQueryDTO param);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user