添加项目文件。

This commit is contained in:
DK
2022-03-28 09:57:06 +08:00
parent 3338504c58
commit 9e9868bc4c
527 changed files with 38592 additions and 0 deletions
@@ -0,0 +1,65 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class SubjectDTO: SubjectCommand
{
public Guid SubjectVisitId { get; set; }
public int StudyCount { get; set; }
public int VisitCount { get; set; }
public int PlanVisitCount { get; set; }
public string Modalities { get; set; }
}
public class SubjectCommand
{
public Guid? Id { get; set; }
public string Code { get; set; }//患者匿名编码
public string Name { get; set; }
public int Age { get; set; }
public string Sex { get; set; }
public Guid SiteId { get; set; }
public Guid TrialId { get; set; }
public string MedicalNo { get; set; }
public int Status { get; set; }
public string Reason { get; set; }
}
public class SubjectQueryModel: SubjectDTO
{
public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
public string SiteName { get; set; }
public string VisitName { get; set; }
}
public class SubjectQueryParam : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
public string Code { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public string Sex { get; set; } = string.Empty;
public Guid? SiteId { get; set; }
//public Guid? SubjectVisitId { get; set; } = Guid.Empty;
public int? Status { get; set; }
}
public class SubjectSelect
{
public Guid SubjectId { get; set; }
public string Name { get; set; }
public string Code { get; set; }
public string Sex { get; set; }
public int Age { get; set; }
}
}
@@ -0,0 +1,234 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Application.ViewModels
{
/// <summary>
///后台 工作量审核视图模型
/// </summary>
public class WorkLoadDetailDTO : WorkloadDTO
{
public DateTime CreateTime { get; set; }
public string ChineseName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Code { get; set; }
public string Indication { get; set; }
public int RowIntId { get; set; }
public Guid RowGuid { get; set; }
public string YearMonthStr { get; set; }
public string WorkTimeStr => YearMonthStr;
public bool IsLock { get; set; } = false;
}
public class WorkLoadDetailViewModel : WorkloadDTO
{
public DateTime CreateTime { get; set; }
public string ChineseName { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Code { get; set; }
public string Indication { get; set; }
public Guid RowGuid { get; set; }
public string YearMonthStr { get; set; }
public bool IsLock { get; set; } = false;
public string DeclareTimeStr => CreateTime.ToString("yyyy-MM-dd");
public string WorkTimeStr => WorkTime.ToString("yyyy-MM-dd");
}
public class CalculatePaymentDTO : WorkloadDTO
{
public string TrialCode { get; set; }
public decimal? TrialAdditional { get; set; }
public decimal AdjustmentMultiple { get; set; }
//public double RankPrice { get; set; }
public decimal PersonalAdditional { get; set; }
public decimal TimepointPrice { get; set; }
public decimal TimepointIn24HPrice { get; set; }
public decimal TimepointIn48HPrice { get; set; }
public decimal AdjudicationPrice { get; set; }
public decimal AdjudicationIn24HPrice { get; set; }
public decimal AdjudicationIn48HPrice { get; set; }
public decimal GlobalPrice { get; set; }
public decimal TrainingPrice { get; set; }
public decimal DowntimePrice { get; set; }
public decimal RefresherTrainingPrice { get; set; }
}
/// <summary>
/// 工作量审核数据库查询模型
/// </summary>
public class WorkloadDTO
{
public Guid? Id { get; set; }
public Guid TrialId { get; set; }
public Guid DoctorId { get; set; }
public int DataFrom { get; set; }
public DateTime WorkTime { get; set; }
public int Training { get; set; }
public int Downtime { get; set; }
public int Timepoint { get; set; }
public int TimepointIn24H { get; set; }
public int TimepointIn48H { get; set; }
public int Adjudication { get; set; }
public int AdjudicationIn24H { get; set; }
public int AdjudicationIn48H { get; set; }
public int Global { get; set; }
public int RefresherTraining { get; set; }
}
/// <summary>
/// 工作量分页列表模型 医生端查询模型
/// </summary>
public class WorkLoadQueryDTO : PageInput
{
public Guid TrialId { get; set; }
public int WorkLoadFromStatus { get; set; } // 关联枚举
public DateTime? SearchBeginDateTime { get; set; }
public DateTime? SearchEndDateTime { get; set; }
}
/// <summary>
/// 后台查询模型
/// </summary>
public class WorkLoadStatsQueryDTO : PageInput
{
public Guid? TrialId { get; set; }
public Guid? DoctorId { get; set; } = Guid.Empty;
public List<int> WorkLoadFromStatus { get; set; } = new List<int>(); // 关联枚举
public DateTime? SearchBeginDateTime { get; set; }
public DateTime? SearchEndDateTime { get; set; }
}
public class WorkLoadDetailQueryDTO
{
public Guid TrialId { get; set; } = Guid.Empty;
public Guid DoctorId { get; set; } = Guid.Empty;
public string YearMonthStr { get; set; }
}
public class CalculateDoctorAndMonthDTO
{
[Required(ErrorMessage = "需要有效的时间")]
public DateTime CalculateMonth { get; set; }
[Required(ErrorMessage = "需要有效的医生列表")]
public List<Guid> NeedCalculateReviewers { get; set; }
}
public class WorkLoadDoctorQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
}
public class WorkLoadCommand : WorkloadDTO
{
public Guid CreateUserId { get; set; }
public int CreateUserType { get; set; }
public Guid UpdateUserId { get; set; }
}
public class ExistWorkloadViewModel
{
public bool IsExist { get; set; }
public WorkloadDTO WorkLoad { get; set; }
}
public class WorkloadCommand : WorkloadDTO
{
}
public class WorkloadExistQueryDTO
{
public Guid TrialId { get; set; }
public Guid DoctorId { get; set; }
public DateTime WorkDate { get; set; }
}
public class WorkLoadAndTrainingDTO
{
public Guid DoctorId { get; set; }/*=Guid.Empty;*/
public string Code { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string ChineseName { get; set; }
public DateTime? EnrollTime { get; set; }
public int ReviewerReadingType { get; set; }
public string EnrollTimeStr => EnrollTime?.ToString("yyyy-MM-dd HH:mm:ss");
public DateTime? UpdateTime { get; set; }
public string UpdateTimeStr => UpdateTime?.ToString("yyyy-MM-dd HH:mm:ss");
public int TrainingTimes { get; set; }
public int Downtime { get; set; }
//读片点
public int Timepoint { get; set; }
public int TimepointIn24H { get; set; }
public int TimepointIn48H { get; set; }
//裁判阅片
public int Adjudication { get; set; }
public int AdjudicationIn24H { get; set; }
public int AdjudicationIn48H { get; set; }
//全局阅片
public int Global { get; set; }
public int RefresherTraining { get; set; }
}
public class WorkLoadAndAgreementDTO : WorkLoadAndTrainingDTO
{
public Guid AgreementId { get; set; }
public string AgreementPath { get; set; }
public string AgreementFileName => AgreementPath?.Split('/').Last();
public string AgreementFullPath => SystemConfig.RootUrl + AgreementPath;
}
}
@@ -0,0 +1,40 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Application.ViewModels
{
/// <summary>
/// 影像采集规范
/// </summary>
public class TrialAttachmentCommand
{
public Guid? Id { get; set; }
public Guid TrialId { get; set; }
public string Type { get; set; }
public string DocumentName { get; set; }
public string DocumentPath { get; set; }
public string DocumentFullPath
{
get { return SystemConfig.RootUrl + DocumentPath; }
}
}
public class AcquisitionSpecificationDTO : TrialAttachmentCommand
{
public string TrialCode { get; set; }
public string Indication { get; set; }
public string OptUserName { get; set; }
public DateTime CreateTime { get; set; }
}
public class ImageAcquisitionSpecificationQueryDTO : PageInput
{
public Guid TrialId { get; set; }
}
}
@@ -0,0 +1,21 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class TrialInterviewDTO
{
public Guid Id { get; set; }
public Guid TrialId { get; set; }
public string Stage { get; set; }
public string InterViewTime { get; set; }
public string Description { get; set; }
public DateTime CreateTime { get; set; }
}
public class InterviewQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
public string Keyword { get; set; } = string.Empty;
}
}
@@ -0,0 +1,28 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class TrialResearchCenterDTO
{
public Guid Id { get; set; }
public Guid TrialId { get; set; }
public Guid SiteId { get; set; }
public string MainCenter { get; set; }
public DateTime OptTime { get; set; }
public int State { get; set; }
}
public class TrialResearchCenterDetailDTO : TrialResearchCenterDTO
{
public string TrialCode { get; set; }
public string TrialName { get; set; }
public string ResearchCenterName { get; set; }
}
public class TrialCenterQueryDTO : PageInput
{
public Guid TrialId { get; set; }
public Guid CenterId { get; set; }
}
}
@@ -0,0 +1,72 @@
using System;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.Contracts.Trial.DTO
{
public class RevenusVerifyQueryDTO
{
public DateTime BeginDate { get; set; } = DateTime.Now;
public DateTime EndDate { get; set; } = DateTime.Now;
}
public class AnalysisVerifyQueryDTO
{
public DateTime BeginDate { get; set; } = DateTime.Now;
public DateTime EndDate { get; set; } = DateTime.Now;
}
public class AnalysisNeedLockDTO
{
public string YearMonth { get; set; }
public string ReviewerCode { get; set; }
public string ReviewerName { get; set; }
public string ReviewerNameCN { get; set; }
}
public class AnalysisVerifyResultDTO
{
public List<MonthlyResult> MonthVerifyResult = new List<MonthlyResult>();
public List<RevenusVerifyDTO> RevenuesVerifyList = new List<RevenusVerifyDTO>();
}
public class MonthlyResult
{
public string YearMonth { get; set; }
public List<string> ReviewerNameList = new List<string>();
public List<string> ReviewerNameCNList = new List<string>();
public List<string> ReviewerCodeList = new List<string>();
}
public class RevenusVerifyDTO
{
public string TrialCode { get; set; }
public bool Training { get; set; } = false;
public bool Downtime { get; set; } = false;
public bool Global { get; set; } = false;
public bool Timepoint { get; set; } = false;
public bool TimepointIn24H { get; set; } = false;
public bool TimepointIn48H { get; set; } = false;
public bool Adjudication { get; set; } = false;
public bool AdjudicationIn24H { get; set; } = false;
public bool AdjudicationIn48H { get; set; } = false;
}
}
@@ -0,0 +1,37 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class TrialRevenuesPriceDTO
{
public Guid TrialId { get; set; }
public decimal Timepoint { get; set; }
public decimal TimepointIn24H { get; set; }
public decimal TimepointIn48H { get; set; }
public decimal Adjudication { get; set; }
public decimal AdjudicationIn24H { get; set; }
public decimal AdjudicationIn48H { get; set; }
public decimal RefresherTraining { get; set; }
public decimal Global { get; set; }
public decimal Training { get; set; }
public decimal Downtime { get; set; }
}
public class TrialRevenuesPriceDetialDTO : TrialRevenuesPriceDTO
{
public Guid Id { get; set; }
public string TrialCode { get; set; }
public string Indication { get; set; }
public int Expedited { get; set; }
public string ReviewMode { get; set; }
public string Cro { get; set; }
}
public class TrialRevenuesPriceQueryDTO : PageInput
{
public string KeyWord { get; set; }
public Guid? CroId { get; set; }
}
}
@@ -0,0 +1,167 @@
using System;
using System.Collections.Generic;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Application.ViewModels
{
public class TrialDTO : TrialDbModel
{
public string ReviewType { get; set; }
public string Criterion { get; set; }
public string CRO { get; set; }
public string Sponsor { get; set; }
public int TrialStatus { get; set; }
public string TrialStatusStr { get; set; } = string.Empty;
public DateTime? CreateTime { get; set; }
}
public class TrialDbModel
{
public Guid Id { get; set; }
public string Code { get; set; } = string.Empty;
public string Indication { get; set; } = string.Empty;
public string Phase { get; set; } = string.Empty;
public Guid? ReviewTypeId { get; set; } = Guid.Empty;
public Guid? CriterionId { get; set; } = Guid.Empty;
public Guid? CROId { get; set; } = Guid.Empty;
public Guid? SponsorId { get; set; } = Guid.Empty;
public Guid? ReviewModeId { get; set; } = Guid.Empty;
public string Note { get; set; } = string.Empty;
public string TurnaroundTime { get; set; } = string.Empty;
public int ExpectedPatients { get; set; }
public int TimePointsPerPatient { get; set; }
public int GRRReviewers { get; set; }
public int TotalReviewers { get; set; }
public string ReviewProtocol { get; set; } = string.Empty;
public string MessageFromClient { get; set; } = string.Empty;
public string ReviewProtocolName { get; set; } = string.Empty;
public string MessageFromClientName { get; set; } = string.Empty;
public int? Expedited { get; set; }
public int AttendedReviewerType { get; set; }
public bool VisitPlanConfirmed { get; set; }
}
public class TrialDetailDTO : TrialDTO
{
public TrialDetailDTO()
{
ModalityIds = new List<Guid>();
ModalityList = new List<string>();
}
public string ReviewMode { get; set; }
public string ReviewProtocolFullPath => SystemConfig.RootUrl + ReviewProtocol;
public string MessageFromClientFullPath => SystemConfig.RootUrl + MessageFromClient;
public string SowFullPath => SystemConfig.RootUrl + SowPath;
public List<string> ModalityList { get; set; } //成像设备 多选
public List<Guid> ModalityIds { get; set; }
//统计字段
public string SowName { get; set; }
public string SowPath { get; set; }
public bool IsLocked { get; set; }
public int EnrollStatus { get; set; }
//public bool LockTrialCode { get; set; }
//public int Submitted { get; set; }
//public int Approved { get; set; }
//public int Trained { get; set; }
//public int Reading { get; set; }
public int SubjectCount { get; set; }
//public int VisitCount { get; set; }
public int StudyCount { get; set; }
public int SiteCount { get; set; }
}
public class TrialAndTrialStateVieModel
{
public TrialDetailDTO TrialView { get; set; }
public int TrialMaxState { get; set; }
}
public class TrialCommand : TrialDbModel
{
public Guid UserId { get; set; }
public List<Guid> ModalityIds { get; set; } = new List<Guid>();
}
public class TrialQueryDTO : PageInput
{
public TrialQueryDTO()
{
ModalityIds = new List<Guid>();
}
public Guid? CriterionId { get; set; } = Guid.Empty;
public Guid? SponsorId { get; set; } = Guid.Empty;
public Guid? CROId { get; set; } = Guid.Empty;
public Guid? ReviewTypeId { get; set; } = Guid.Empty;
public List<Guid> ModalityIds { get; set; }
public string Code { get; set; } = string.Empty;
public string Indication { get; set; } = string.Empty;
public string Phase { get; set; } = string.Empty;
public string TrialStatus { get; set; }
public DateTime? BeginDate { get; set; }
public DateTime? EndDate { get; set; }
public int? Expedited { get; set; }
public int? AttendedReviewerType { get; set; }
}
public class ReviewerTrialQueryDTO : PageInput
{
public string Code { get; set; } = string.Empty;
public string Indication { get; set; } = string.Empty;
public int? EnrollStatus { get; set; }
public int? Expedited { get; set; }
}
public class TrialByStatusQueryDTO : PageInput
{
public Guid DoctorId { get; set; }
public int Status { get; set; }
}
}
@@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class TrialSiteSelect
{
public Guid Id { get; set; }
public string SiteName { get; set; }
}
public class UserTrialDTO: UserTrialCommand
{
public Guid SiteId { get; set; }
public string Phone { get; set; }
//public Guid OrganizationTypeId { get; set; }
//public string OrganizationType { get; set; }
public DateTime UpdateTime { get; set; } = DateTime.Now;
}
public class SiteCRCCommand : UserTrialCommand
{
//public Guid OrganizationTypeId { get; set; }
//public string OrganizationType { get; set; }
public Guid SiteId { get; set; } = Guid.Empty;
}
public class UserTrialCommand
{
public Guid? Id { get; set; }
public Guid UserId { get; set; }
public Guid TrialId { get; set; }
public Guid UserTypeId { get; set; }
public string UserType { get; set; }
public Guid OrganizationId { get; set; }
public string OrganizationName { get; set; }
public string OrganizationType { get; set; }
public Guid OrganizationTypeId { get; set; }
public string UserRealName { get; set; }
public string UserName { get; set; }
}
public class SiteCrcDTO : UserTrialDTO
{
//public Guid SiteId { get; set; } = Guid.Empty;
//public string Phone { get; set; }
//public Guid OrganizationTypeId { get; set; }
//public string OrganizationType { get; set; }
public string Site { get; set; }
public string City { get; set; }
public string Country { get; set; }
}
public class SiteStatDTO
{
public Guid SiteId { get; set; } = Guid.Empty;
public string Site { get; set; }
public string City { get; set; }
public string Country { get; set; }
//public int VisitCount { get; set; }
//public int PlanVisitCount { get; set; }
public int UserCount { get; set; }
public int StudyCount { get; set; }
public int SubjectCount { get; set; }
public List<UserTrialDTO> UserList=new List<UserTrialDTO>();
}
public class UserSelectionModel
{
public Guid Id { get; set; }
public string RealName { get; set; }
public string UserName { get; set; }
}
public class TrialMaintenanceQuery
{
public Guid TrialId { get; set; } = Guid.Empty;
public string UserName { get; set; } = string.Empty;
public Guid? UserTypeId { get; set; } = Guid.Empty;
}
public class UserTrialListQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
public string UserName { get; set; } = string.Empty;
public Guid? UserTypeId { get; set; } = Guid.Empty;
}
public class SiteCrcQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
public string UserRealName { get; set; } = string.Empty;
//public Guid? OrganizationTypeId { get; set; } = Guid.Empty;
//public Guid SiteId { get; set; } = Guid.Empty;
public string SiteName { get; set; } = string.Empty;
}
}
@@ -0,0 +1,36 @@
using System;
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
namespace IRaCIS.Application.ViewModels
{
public class VisitStageSelectDTO
{
public Guid Id { get; set; }
public string VisitName { get; set; }
public int VisitDay { get; set; }
}
public class VisitStageDTO: VisitPlanCommand
{
public DateTime CreateTime { get; set; }
}
public class VisitPlanCommand
{
public Guid? Id { get; set; }
public Guid TrialId { get; set; }
public decimal VisitNum { get; set; }
public string VisitName { get; set; }
public int VisitDay { get; set; }
public string Description { get; set; }
public bool NeedGlobal { get; set; }
}
public class VisitPlanQueryDTO : PageInput
{
public Guid TrialId { get; set; } = Guid.Empty;
public string Keyword { get; set; } = string.Empty;
}
}
@@ -0,0 +1,318 @@
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
using System;
using System.Collections.Generic;
using System.Dynamic;
namespace IRaCIS.Application.ViewModels
{
public class SubjectVisitDTO : SubjectVisitCommand
{
public int StudyCount { get; set; }
}
public class SubjectVisitNewDTO : SubjectVisitDTO
{
public DateTime UpdateTime { get; set; }
public string SubjectCode { get; set; }
public string SubjectName { get; set; } = string.Empty;
public string SiteName { get; set; }
public string SiteCode { get; set; }
//public Guid VisitPlanId { get; set; }
}
public class SubjectVisitSearchDTO : PageInput
{
public string SubjectInfo { get; set; }
public string VisitPlanInfo { get; set; }
public Guid? SubjectId { get; set; }
public Guid TrialId { get; set; }
public Guid? SiteId { get; set; }
}
public class SubjectVisitSelectDTO
{
public Guid GuidId{get;set;}=Guid.NewGuid();
public Guid SubjectVisitId { get; set; } = Guid.Empty;
public decimal VisitNum { get; set; }
public string VisitName { get; set; } = string.Empty;
public string SVUPDES { get; set; } = string.Empty;
//public Guid VisitStageId { get; set; } = Guid.Empty;
public DateTime? SVSTDTC { get; set; }
public DateTime? SVENDTC { get; set; }
//public bool IsSubjectVisit { get; set; } = false;
public bool StudyUploaded { get; set; }
public List<SubjectVisitStudyDTO> StudyList=new List<SubjectVisitStudyDTO>();
}
public class SubjectVisitCommand
{
public Guid? Id { get; set; }
public Guid TrialId { get; set; }
public Guid SubjectId { get; set; }
public Guid SiteId { get; set; }
public bool InPlan { get; set; } = true;
public bool StudyUploaded { get; set; } = false;
public decimal VisitNum { get; set; }
public string VisitName { get; set; } = string.Empty;
public int VisitDay { get; set; }
public string SVUPDES { get; set; } = string.Empty;
public DateTime? SVSTDTC { get; set; }
public DateTime? SVENDTC { get; set; }
}
public class SubjectVisitStudyDTO
{
public Guid SubjectVisitId { get; set; }
public Guid StudyId { get; set; }
public string StudyCode { get; set; }
public string Modalities { get; set; }
public int Status { get; set; }
}
public class ArchiveStudyCommand
{
public Guid? AbandonStudyId { get; set; }
public Guid TrialId { get; set; }
public Guid SiteId { get; set; }
public Guid SubjectId { get; set; }
//public Guid? VisitStageId { get; set; }
public Guid SubjectVisitId { get; set; }
public DateTime? SVSTDTC { get; set; }
public DateTime? SVENDTC { get; set; }
public string Comment { get; set; } = string.Empty;
}
public class StudyCommand
{
public Guid Id { get; set; } = Guid.Empty;
public Guid TrialId { get; set; }
public Guid SiteId { get; set; }
public Guid SubjectId { get; set; }
public Guid SubjectVisitId { get; set; }
}
public class StudyEditCommand: StudyCommand
{
public Guid VisitStageId { get; set; }
public DateTime? SVSTDTC { get; set; }
public DateTime? SVENDTC { get; set; }
public string Comment { get; set; }
}
public class StudyStatDTO
{
public int StudyCount { get; set; }
public decimal VisitNum { get; set; }
public string VisitName { get; set; }
public int VisitDay { get; set; }
public string Description { get; set; }
public Guid TrialId { get; set; }
public Guid SubjectVisitId { get; set; }
}
public class DistributeReviewerStudyStatusDTO
{
public string NameCN { get; set; }
public string Name { get; set; }
public string ReviewerCode { get; set; }
public string StudyCode { get; set; }
public int Status { get; set; }
}
public class StudyStatusQueryDTO:PageInput
{
public Guid TrialId { get; set; }
public Guid? ReviewerId { get; set; }
public int? StudyStatus { get; set; }
}
//public class StudyDTO
//{
// public SubjectVisitInfo SubjectVisit { get; set; }=new SubjectVisitInfo();
// public StudyInfo Study { get; set; }=new StudyInfo();
// public SiteInfo Site { get; set; }=new SiteInfo();
// public QAInfo QA { get; set; }=new QAInfo();
// public class SubjectVisitInfo
// {
// public Guid SubjectVisitId { get; set; }
// public double VisitNum { get; set; }
// public string VisitName { get; set; }
// }
// public class StudyInfo
// {
// public Guid Id { get; set; }
// public Guid TrialId { get; set; }
// public string StudyCode { get; set; }
// public int StudyStatus { get; set; }
// public DateTime? StudyDate { get; set; }
// public string Modalities { get; set; }
// public int SeriesCount { get; set; }
// public int InstanceCount { get; set; }
// }
// public class SiteInfo
// {
// public Guid SiteId { get; set; }
// public string SiteName { get; set; }
// }
// public class QAInfo
// {
// public Guid SubjectId { get; set; }
// public string SubjectCode { get; set; }
// public string SubjectName { get; set; }
// public int SubjectAge { get; set; }
// public string SubjectSex { get; set; }
// public string PatientName { get; set; }
// public string PatientAge { get; set; }
// public string PatientSex { get; set; }
// }
//}
public class VerifyStudyUploadResult
{
public bool AllowUpload { get; set; }
public StudyDTO StudyInfo { get; set; }
}
public class StudyDTO
{
public Guid SubjectVisitId { get; set; }
public decimal VisitNum { get; set; }
public string VisitName { get; set; }
public int VisitDay { get; set; }
public string SVUPDES { get; set; }
public DateTime? SVSTDTC { get; set; }
public DateTime? SVENDTC { get; set; }
public Guid Id { get; set; }
public Guid TrialId { get; set; }
public string StudyCode { get; set; }
public int StudyStatus { get; set; }
public DateTime? StudyDate { get; set; }
public string Modalities { get; set; }
public int SeriesCount { get; set; }
public int InstanceCount { get; set; }
public bool IsDoubleReview { get; set; }
public string StudyDescription { get; set; }
public string BodyPartExamined { get; set; }
public string Comment { get; set; }
public DateTime UpdateTime { get; set; }
//public List<DistributeReviewer> DistributeReviewers { get; set; }=new List<DistributeReviewer>();
public Guid SiteId { get; set; }
public string SiteName { get; set; }
public string StudyId { get; set; } //这个Id是dicom文件中的Id
public Guid SubjectId { get; set; }
public string SubjectCode { get; set; }
public string SubjectName { get; set; }
public int SubjectAge { get; set; }
public string SubjectSex { get; set; }
public string PatientId { get; set; }
public string PatientName { get; set; }
public string PatientAge { get; set; }
public string PatientSex { get; set; }
public string AccessionNumber { get; set; } = string.Empty;
public string PatientBirthDate { get; set; } = string.Empty;
}
public class DistributeReviewer
{
public Guid StudyId { get; set; }
public Guid ReviewerId { get; set; }
public string NameCN { get; set; }
public string Name { get; set; }
public int Status { get; set; }
}
public class StudyQueryDTO : PageInput
{
public Guid? SubjectId { get; set; }
public Guid? SiteId { get; set; }
public Guid TrialId { get; set; }
public string SubjectInfo { get; set; }
public string VisitPlanInfo { get; set; }
public Guid? SubjectVisitId { get; set; }
public int? Status { get; set; }
public DateTime? StudyTimeBegin { get; set; }
public DateTime? StudyTimeEnd { get; set; }
public DateTime? UpdateTimeBegin { get; set; }
public DateTime?UpdateTimeEnd { get; set; }
}
}