添加项目文件。
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-06 10:56:50
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> NoneDicomStudyFileView 列表视图模型 </summary>
|
||||
public class NoneDicomStudyFileView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
|
||||
public string FullFilePath { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class NoneDicomStudyAndFile
|
||||
{
|
||||
public string NoneDicomStudyCode { get; set; } = string.Empty;
|
||||
|
||||
public List<NoneDicomStudyFileView> NoneDicomStudyFileList { get; set; } = new List<NoneDicomStudyFileView>();
|
||||
|
||||
}
|
||||
|
||||
///<summary>NoneDicomStudyFileQuery 列表查询参数模型</summary>
|
||||
public class NoneDicomStudyFileQuery
|
||||
{
|
||||
///<summary> Path</summary>
|
||||
public string Path { get; set; } = string.Empty;
|
||||
|
||||
///<summary> FileName</summary>
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
///<summary> NoneDicomStudyFileAddOrEdit 列表查询参数模型</summary>
|
||||
public class NoneDicomStudyFileAddOrEdit
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-06 10:56:50
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> NoneDicomStudyView 列表视图模型 </summary>
|
||||
public class NoneDicomStudyView
|
||||
{
|
||||
public string CodeView => "NST" + Code.ToString("D5");
|
||||
public int Code {get;set;}
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public string BodyPart { get; set; } = string.Empty;
|
||||
public string Modality { get; set; } = string.Empty;
|
||||
public DateTime ImageDate { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
public int FileCount { get; set; }
|
||||
|
||||
public List<NoneDicomStudyFileView> NoneDicomStudyFileList { get; set; } = new List<NoneDicomStudyFileView>();
|
||||
|
||||
}
|
||||
|
||||
///<summary>NoneDicomStudyQuery 列表查询参数模型</summary>
|
||||
public class NoneDicomStudyQuery
|
||||
{
|
||||
///<summary> BodyPart</summary>
|
||||
public string BodyPart { get; set; } = string.Empty;
|
||||
|
||||
///<summary> Modality</summary>
|
||||
public string Modality { get; set; } = string.Empty;
|
||||
|
||||
///<summary> Description</summary>
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
///<summary> NoneDicomStudyAddOrEdit 列表查询参数模型</summary>
|
||||
public class NoneDicomStudyAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid SiteId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public string BodyPart { get; set; } = string.Empty;
|
||||
public string Modality { get; set; } = string.Empty;
|
||||
public DateTime ImageDate { get; set; }
|
||||
public string Description { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-22 11:27:53
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
|
||||
public class SubjectClinicalDataDto
|
||||
{
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
|
||||
//public string SubjectName { get; set; }
|
||||
|
||||
public string TrialSiteCode { get; set; } = String.Empty;
|
||||
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
|
||||
public string VisitName { get; set; } = String.Empty;
|
||||
|
||||
public Guid SubjectId { get; set; }
|
||||
|
||||
|
||||
public List<PreviousHistoryView> PreviousHistoryList { get; set; } = new List<PreviousHistoryView>();
|
||||
|
||||
public List<PreviousOtherView> PreviousOtherList { get; set; } = new List<PreviousOtherView>();
|
||||
|
||||
public List<PreviousSurgeryView> PreviousSurgeryList { get; set; } = new List<PreviousSurgeryView>();
|
||||
|
||||
public List<PreviousPDFView> PreviousPDFList { get; set; } = new List<PreviousPDFView>();
|
||||
}
|
||||
|
||||
|
||||
public class SubjectClinicalDataQuery
|
||||
{
|
||||
|
||||
//public Guid TrialId { get; set; }
|
||||
|
||||
//public Guid SubjectId { get; set; }
|
||||
|
||||
//public Guid SubjectId { get; set; }
|
||||
|
||||
|
||||
//public bool? IsSubjectLevel { get; set; }
|
||||
|
||||
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary> PreviousHistoryView 列表视图模型 </summary>
|
||||
public class PreviousHistoryView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public string CreateUser { get; set; } = String.Empty;
|
||||
public DateTime? StartTime { get; set; }
|
||||
public DateTime? EndTime { get; set; }
|
||||
public int? IsPD { get; set; }
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; }
|
||||
public string Path { get; set; } = String.Empty;
|
||||
public string FileName { get; set; } = String.Empty;
|
||||
public string Position { get; set; } = String.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string FullFilePath { get; set; } = String.Empty;
|
||||
|
||||
|
||||
}
|
||||
|
||||
///<summary>PreviousHistoryQuery 列表查询参数模型</summary>
|
||||
public class PreviousHistoryQuery
|
||||
{
|
||||
public bool? IsSubjectLevel { get; set; }
|
||||
|
||||
public string Position { get; set; } = String.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class PreviousHistoryAddOrEdit
|
||||
{
|
||||
|
||||
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
public DateTime? EndTime { get; set; }
|
||||
public bool IsPD { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; } = true;
|
||||
public string Path { get; set; } = String.Empty;
|
||||
public string FileName { get; set; } = String.Empty;
|
||||
public string Position { get; set; } = String.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-22 11:27:53
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> PreviousOtherView 列表视图模型 </summary>
|
||||
public class PreviousOtherView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public string CreateUser { get; set; } = String.Empty;
|
||||
public DateTime? StartTime { get; set; }
|
||||
public DateTime? EndTime { get; set; }
|
||||
public bool IsPD { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; }
|
||||
public string Path { get; set; } = String.Empty;
|
||||
public string FileName { get; set; } = String.Empty;
|
||||
public string TreatmentType { get; set; } = String.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string FullFilePath { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
///<summary>PreviousOtherQuery 列表查询参数模型</summary>
|
||||
public class PreviousOtherQuery
|
||||
{
|
||||
public bool? IsSubjectLevel { get; set; }
|
||||
|
||||
public string TreatmentType { get; set; } = String.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class PreviousOtherAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public DateTime? StartTime { get; set; }
|
||||
public DateTime? EndTime { get; set; }
|
||||
public bool IsPD { get; set; }
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; } = true;
|
||||
public string Path { get; set; }=String.Empty;
|
||||
public string FileName { get; set; } = String.Empty;
|
||||
public string TreatmentType { get; set; } = String.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-22 11:27:53
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> PreviousSurgeryView 列表视图模型 </summary>
|
||||
public class PreviousSurgeryView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public string CreateUser { get; set; } = string.Empty;
|
||||
public DateTime? OperationTime { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public string OperationName { get; set; } = string.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string FullFilePath { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
///<summary>PreviousSurgeryQuery 列表查询参数模型</summary>
|
||||
public class PreviousSurgeryQuery
|
||||
{
|
||||
public bool? IsSubjectLevel { get; set; }
|
||||
public string OperationName { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class PreviousSurgeryAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public DateTime? OperationTime { get; set; }
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
public bool IsSubjectLevel { get; set; } = true;
|
||||
public string Path { get; set; } = String.Empty;
|
||||
public string FileName { get; set; } = String.Empty;
|
||||
public string OperationName { get; set; } = string.Empty;
|
||||
//public Guid SubjectId { get; set; }
|
||||
}
|
||||
|
||||
public class PreviousPDFView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string FullFilePath { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
///<summary> PreviousPDFAddOrEdit 列表查询参数模型</summary>
|
||||
public class PreviousPDFAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,484 @@
|
||||
using IRaCIS.Application.Contracts;
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace IRaCIS.Core.Application.Contracts.DTO
|
||||
{
|
||||
|
||||
|
||||
public class VisitQACommand
|
||||
{
|
||||
public QCChallengeCommand QARecord { get; set; }=new QCChallengeCommand();
|
||||
|
||||
public List<QARecordTrialTemplateItemCommand> QATrialTemplateItemList { get; set; } = new List<QARecordTrialTemplateItemCommand>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class QARecordTrialTemplateItemCommand
|
||||
{
|
||||
public int ShowOrder { get; set; }
|
||||
public string TemplateItemName { get; set; } = String.Empty;
|
||||
public Guid QATrialTemplateItemId { get; set; }
|
||||
public string Note { get; set; } = String.Empty;
|
||||
public QAItemStatus Status { get; set; } = QAItemStatus.Undefined;
|
||||
|
||||
}
|
||||
|
||||
public class QARecordTrialTemplateItemDTO : QARecordTrialTemplateItemCommand
|
||||
{
|
||||
public Guid QARecordId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class QCQuestionAnswerCommand
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string Answer { get; set; } = String.Empty;
|
||||
|
||||
//public string ChildAnswer { get; set; } = String.Empty;
|
||||
|
||||
public Guid? TrialQCQuestionConfigureId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class QCQuestionAnswerItemDto
|
||||
{
|
||||
//public string ChildAnswer { get; set; } = String.Empty;
|
||||
|
||||
[JsonIgnore]
|
||||
public List<QCQuestionAnswerCommand> QCQuestionAnswerList { get; set; } = new List<QCQuestionAnswerCommand>();
|
||||
|
||||
|
||||
public TrialQCProcess? QCProcessEnum { get; set; }
|
||||
|
||||
// 1代表第一个人QC数据 2 代表第二个人QC数据
|
||||
public CurrentQC? CurrentQCEnum { get; set; }
|
||||
|
||||
public Guid? SubjectVisitId { get; set; }
|
||||
|
||||
public Guid? Id { get; set; }
|
||||
public string Answer { get; set; } = String.Empty;
|
||||
|
||||
public Guid TrialQCQuestionConfigureId { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public string QuestionName { get; set; } = String.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public string Type { get; set; } = String.Empty;
|
||||
public Guid? ParentId { get; set; }
|
||||
public string TypeValue { get; set; } = String.Empty;
|
||||
public string ParentTriggerValue { get; set; } = String.Empty;
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
public int? ParentShowOrder { get; set; }
|
||||
|
||||
public bool IsChild => ParentId != null;
|
||||
}
|
||||
|
||||
|
||||
public class QATrialTemplateItemDto
|
||||
{
|
||||
public Guid QATrialTemplateId { get; set; }
|
||||
public string TemplateItemName { get; set; } = String.Empty;
|
||||
public Guid QATrialTemplateItemId { get; set; }
|
||||
public int ShowOrder { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class QARecordItemQuery
|
||||
{
|
||||
public Guid QaTrialTemplateId { get; set; }
|
||||
public Guid? QaRecordId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QATemplateQuery
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public string Modalities { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class QCChallengeCommand
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public string ChallengeType { get; set; } = String.Empty;
|
||||
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
|
||||
public string Content { get; set; } = string.Empty;
|
||||
|
||||
public string ActionContent { get; set; } = string.Empty;
|
||||
|
||||
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
|
||||
|
||||
|
||||
public DateTime? DeadlineTime { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QCChanllengeCreatorDto
|
||||
{
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string Creator { get; set; } = String.Empty;
|
||||
|
||||
public string CreatorRealName { get; set; } = String.Empty;
|
||||
|
||||
//public string FirstName { get; set; }
|
||||
//public string LastName { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class ParticipantDTO
|
||||
{
|
||||
public Guid HandleUserId { get; set; }
|
||||
public string HandleUser { get; set; } = String.Empty;
|
||||
|
||||
public string HandleUserRealName { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class QCChallengeWithUser : QCChallengeCommand
|
||||
{
|
||||
public Guid SubjectId { get; set; }
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public string ChallengeCode { get; set; } = String.Empty;
|
||||
|
||||
public DateTime? LatestMsgTime { get; set; }
|
||||
|
||||
public string LatestReplyUser { get; set; } = String.Empty;
|
||||
|
||||
public DateTime? ClosedTime { get; set; }
|
||||
|
||||
public bool IsClosed { get; set; }
|
||||
public DateTime? ReUploadedTime { get; set; }
|
||||
public string CreateUser { get; set; } = String.Empty;
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public bool IsOverTime => IsClosed ? ClosedTime > DeadlineTime : DateTime.Now > DeadlineTime;
|
||||
|
||||
public string ChallengeDuration
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!ClosedTime.HasValue)
|
||||
return "";
|
||||
else return string.Format("{0}天{1}小时{2}分钟", (ClosedTime - CreateTime)?.Days, (ClosedTime - CreateTime)?.Hours, (ClosedTime - CreateTime)?.Minutes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public QCChanllengeDialogDTO[] DialogList { get; set; } = new QCChanllengeDialogDTO[0];
|
||||
|
||||
//public int ReplyCount { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class CRCChallengeAndDialog
|
||||
{
|
||||
public QCChallengeWithUser QCChallenge { get; set; } = new QCChallengeWithUser();
|
||||
|
||||
public List<QCChanllengeDialogDTO> DialogList { get; set; } = new List<QCChanllengeDialogDTO>();
|
||||
}
|
||||
|
||||
|
||||
public class HistoryGroupDTO
|
||||
{
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public string IQA { get; set; } = string.Empty;
|
||||
|
||||
public DateTime? IQADeadline { get; set; }
|
||||
|
||||
public string IQANote { get; set; } = string.Empty;
|
||||
|
||||
public DateTime? IQACreateTime { get; set; }
|
||||
|
||||
|
||||
public List<TemplateItemProblem> TemplateItems { get; set; } = new List<TemplateItemProblem>();
|
||||
}
|
||||
|
||||
public class TemplateItemProblem
|
||||
{
|
||||
[JsonIgnore]
|
||||
public string IQA { get; set; } = string.Empty;
|
||||
[JsonIgnore]
|
||||
public DateTime? IQADeadline { get; set; }
|
||||
[JsonIgnore]
|
||||
public string IQANote { get; set; } = string.Empty;
|
||||
[JsonIgnore]
|
||||
public DateTime? IQACreateTime { get; set; }
|
||||
|
||||
public Guid QARecordId { get; set; }
|
||||
public int ShowOrder { get; set; }
|
||||
public string TemplateItemName { get; set; } = String.Empty;
|
||||
public string Note { get; set; } = String.Empty;
|
||||
public QAItemStatus Status { get; set; } = QAItemStatus.Undefined;
|
||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||
}
|
||||
|
||||
|
||||
public class TrialVisitQADTO
|
||||
{
|
||||
|
||||
public SubjectClinicalDataDto SubjectClinicalData { get; set; } = new SubjectClinicalDataDto();
|
||||
|
||||
public List<NoneDicomStudyView> NoneDicomStudyList { get; set; } = new List<NoneDicomStudyView>();
|
||||
|
||||
public List<QCQuestionAnswerItemDto> QCQuestionAnswerList { get; set; } = new List<QCQuestionAnswerItemDto>();
|
||||
|
||||
public List<QAStudyInfoDTO> StudyList { get; set; } = new List<QAStudyInfoDTO>();
|
||||
|
||||
public List<QASeriesInfoDto> SeriesList { get; set; } = new List<QASeriesInfoDto>();
|
||||
|
||||
public QARelationInfo RelationInfo { get; set; } = new QARelationInfo();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class QAStudySeriesInfo
|
||||
{
|
||||
public List<QAStudyInfoDTO> StudyList { get; set; } = new List<QAStudyInfoDTO>();
|
||||
|
||||
public List<QASeriesInfoDto> SeriesList { get; set; } = new List<QASeriesInfoDto>();
|
||||
}
|
||||
|
||||
|
||||
public class QADictionaryCommand
|
||||
{
|
||||
|
||||
public string Note { get; set; } = String.Empty;
|
||||
public Guid DictionaryId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QADictionaryDTO : QADictionaryCommand
|
||||
{
|
||||
public string DictionaryValue { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class QADicView
|
||||
{
|
||||
public Guid QARecordId { get; set; }
|
||||
public string DictionaryValue { get; set; } = String.Empty;
|
||||
public string Note { get; set; } = String.Empty;
|
||||
public Guid DictionaryId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class QARecordDTO
|
||||
{
|
||||
public QCChallengeWithUser QARecord { get; set; } = new QCChallengeWithUser();
|
||||
|
||||
public List<QADicView> QADictionaryList { get; set; } = new List<QADicView>();
|
||||
|
||||
}
|
||||
|
||||
public class QARelationInfo
|
||||
{
|
||||
public int TrialClinicalInformationTransmissionEnum { get; set; }
|
||||
public int TrialChangeDefalutDays { get; set; }
|
||||
public TrialQCProcess TrialQCProcessEnum { get; set; }
|
||||
public string TrialChallengeTypes { get; set; } = String.Empty;
|
||||
public string TrialBodyPartTypes { get; set; } = String.Empty;
|
||||
public string TrialImageQCSignText { get; set; } = String.Empty;
|
||||
public string TrialModalitys { get; set; } = String.Empty;
|
||||
|
||||
//public string FirstName { get; set; }
|
||||
//public string LastName { get; set; }
|
||||
//public string Modalities { get; set; }
|
||||
|
||||
public Guid SiteId { get; set; }
|
||||
public string SiteName { get; set; } = String.Empty;
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
public string SubjectName { get; set; } = String.Empty;
|
||||
public int SubjectAge { get; set; }
|
||||
public string SubjectSex { get; set; } = String.Empty;
|
||||
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
public string VisitName { get; set; } = string.Empty;
|
||||
//public DateTime? SVSTDTC { get; set; }
|
||||
//public DateTime? SVENDTC { get; set; }
|
||||
public bool InPlan { get; set; }
|
||||
public int? VisitDay { get; set; }
|
||||
public bool IsBaseLine { get; set; } = false;
|
||||
public string AnonymousVisitName { get; set; } = string.Empty;
|
||||
public int? VisitWindowLeft { get; set; }
|
||||
public int? VisitWindowRight { get; set; }
|
||||
|
||||
public DateTime? SubjectFirstGiveMedicineTime { get; set; }
|
||||
|
||||
public bool IsHaveFirstGiveMedicineDate { get; set; } = true;
|
||||
|
||||
|
||||
|
||||
|
||||
public int? TotalChallengeCount { get; set; }
|
||||
|
||||
public int? NotClosedChallengeCount { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
public class QAStudyInfoDTO
|
||||
{
|
||||
|
||||
public bool IsDeleted { get; set; }
|
||||
public string StudyInstanceUid { get; set; } = string.Empty;
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid StudyId { get; set; }
|
||||
|
||||
public int StudyStatus { get; set; }
|
||||
|
||||
public string StudyCode { get; set; } = string.Empty;
|
||||
|
||||
public string Modalities { get; set; } = String.Empty;
|
||||
|
||||
public int SeriesCount { get; set; }
|
||||
|
||||
public int InstanceCount { get; set; }
|
||||
|
||||
public string Uploader { get; set; } = string.Empty;
|
||||
public DateTime? StudyTime { get; set; }
|
||||
|
||||
public DateTime? UploadedTime { get; set; }
|
||||
public string BodyPartExamined { get; set; } = String.Empty;
|
||||
|
||||
public string BodyPartForEdit { get; set; } = String.Empty;
|
||||
|
||||
|
||||
|
||||
//public string PatientName { get; set; } = string.Empty;
|
||||
//public string PatientAge { get; set; } = string.Empty;
|
||||
//public string PatientSex { get; set; } = string.Empty;
|
||||
|
||||
//public string Comment { get; set; }
|
||||
//public string QAComment { get; set; }
|
||||
|
||||
//public string UploaderFirstName { get; set; }
|
||||
//public string UploaderLastName { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class QASeriesInfoDto
|
||||
{
|
||||
public string StudyCode { get; set; } = string.Empty;
|
||||
public Guid Id { get; set; }
|
||||
public Guid StudyId { get; set; }
|
||||
|
||||
public string BodyPartForEdit { get; set; } = String.Empty;
|
||||
|
||||
|
||||
public string SeriesInstanceUid { get; set; } = String.Empty;
|
||||
public int SeriesNumber { get; set; }
|
||||
public DateTime SeriesTime { get; set; }
|
||||
public string Modality { get; set; } = String.Empty;
|
||||
public string Description { get; set; } = String.Empty;
|
||||
public int InstanceCount { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public string BodyPartExamined { get; set; } = String.Empty;
|
||||
|
||||
public bool IsReading { get; set; }
|
||||
|
||||
public bool IsDeleted { get; set; }
|
||||
|
||||
//public bool IsDicomData { get; set; } = true;
|
||||
|
||||
public Guid[] InstanceList = new Guid[0];
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class QADialogCommand
|
||||
{
|
||||
public string TalkContent { get; set; } = String.Empty;
|
||||
public Guid QCChallengeId { get; set; }
|
||||
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class CheckChallengeDialogCommand
|
||||
{
|
||||
public string TalkContent { get; set; } = String.Empty;
|
||||
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class CheckChanllengeDialogDTO
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string TalkContent { get; set; } = String.Empty;
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string CreateUser { get; set; } = String.Empty;
|
||||
|
||||
public bool IsCurrentUser { get; set; }
|
||||
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
}
|
||||
|
||||
public class QCChanllengeDialogDTO : CheckChanllengeDialogDTO
|
||||
{
|
||||
public Guid QCChallengeId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class DialogDTO
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string TalkContent { get; set; } = String.Empty;
|
||||
public string From { get; set; } = String.Empty;
|
||||
public string To { get; set; } = string.Empty;
|
||||
public Guid UserId { get; set; }
|
||||
|
||||
public string PreviousContent { get; set; } = String.Empty;
|
||||
|
||||
public bool HasReply { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
public class DialogNode
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid ParentId { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public string UserName { get; set; } = String.Empty;
|
||||
public bool HasReply { get; set; }
|
||||
|
||||
public string TalkContent { get; set; } = String.Empty;
|
||||
//public Guid QARecordId { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,422 @@
|
||||
using IRaCIS.Core.Domain.Share;
|
||||
using IRaCIS.Core.Infrastructure.Extention;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
|
||||
public class CRCVisitSearchDTO : PageInput
|
||||
{
|
||||
|
||||
public AuditStateEnum[]? AuditStateArray { get; set; }
|
||||
public SubmitStateEnum? SubmitState { get; set; }
|
||||
public ChallengeStateEnum? ChallengeState { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid? SiteId { get; set; }
|
||||
public Guid? SubjectId { get; set; }
|
||||
|
||||
public bool? IsUrgent { get; set; }
|
||||
public string SubjectInfo { get; set; } = string.Empty;
|
||||
public string VisitPlanInfo { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
public class QCVisitSearchDTO : PageInput
|
||||
{
|
||||
|
||||
//public AuditStateEnum? AuditState { get; set; }
|
||||
|
||||
public AuditStateEnum[]? AuditStateArray { get; set; }
|
||||
|
||||
public bool? IsUrgent { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public Guid? SiteId { get; set; }
|
||||
public Guid? SubjectId { get; set; }
|
||||
|
||||
public string SubjectInfo { get; set; } = String.Empty;
|
||||
public string VisitPlanInfo { get; set; } = String.Empty;
|
||||
|
||||
public Guid? HandleUserId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class CRCRequestToQCCommand
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid? SignId { get; set; }
|
||||
|
||||
public Guid[] SubjectVisitIds { get; set; }=new Guid[0];
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class CRCReuploadFinishedCommand
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
[NotDefault]
|
||||
public Guid QCChallengeId { get; set; }
|
||||
|
||||
public bool SetOrCancel { get; set; }
|
||||
|
||||
public Guid? SignId { get; set; }
|
||||
}
|
||||
|
||||
public class UploadSubjectAndVisitCommand
|
||||
{
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public PDStateEnum PDState { get; set; }
|
||||
|
||||
//前端有可能不传递 不是基线的时候
|
||||
public bool? IsEnrollmentConfirm { get; set; }
|
||||
public DateTime? SubjectFirstGiveMedicineTime { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class TrialSubjectAndSVConfig
|
||||
{
|
||||
public bool IsHaveFirstGiveMedicineDate { get; set; }
|
||||
public bool IsSubjectSexView { get; set; } = false;
|
||||
public bool IsSubjectExpeditedView { get; set; } = false;
|
||||
|
||||
public bool IsEnrollementQualificationConfirm { get; set; }
|
||||
public bool IsPDProgressView { get; set; }
|
||||
|
||||
|
||||
public string OutEnrollmentVisitName { get; set; } = String.Empty;
|
||||
|
||||
public string BodyPartTypes { get; set; } = String.Empty;
|
||||
|
||||
public string Modalitys { get; set; } = String.Empty;
|
||||
public string DocumentConfirmSignText { get; set; } = String.Empty;
|
||||
|
||||
public string ImageQCSignText { get; set; } = String.Empty;
|
||||
|
||||
public string PreliminaryAuditReuploadText { get; set; } = string.Empty;
|
||||
|
||||
public string ReviewAuditReuploadText { get; set; } = string.Empty;
|
||||
|
||||
public string CheckBackText { get; set; } = String.Empty;
|
||||
|
||||
public string CheckPassText { get; set; } = String.Empty;
|
||||
|
||||
public int ClinicalInformationTransmissionEnum { get; set; }
|
||||
|
||||
public TrialQCProcess QCProcessEnum { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class QCCRCVisitViewModel : QCVisitBasicListViewModel
|
||||
{
|
||||
public Guid? OutPlanPreviousVisitId { get; set; }
|
||||
public bool IsOutEnromentVisit { get; set; }
|
||||
|
||||
public PDStateEnum PDState { get; set; }
|
||||
public bool IsEnrollmentConfirm { get; set; }
|
||||
public DateTime? SubjectFirstGiveMedicineTime { get; set; }
|
||||
|
||||
public SubjectStatus SubjectStatus { get; set; }
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
|
||||
//public int? StudyCount { get; set; }
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
|
||||
public DateTime? SubmitTime { get; set; }
|
||||
public AuditStateEnum AuditState { get; set; }
|
||||
|
||||
public ChallengeStateEnum ChallengeState { get; set; }
|
||||
|
||||
public int? DicomStudyCount { get; set; }
|
||||
public int? NoneDicomStudyCount { get; set; }
|
||||
|
||||
public bool IsHaveClinicalData { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class ChallengeQuery : PageInput
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public string VisitPlanInfo { get; set; } = String.Empty;
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
public QCChanllengeReuploadEnum? ReuploadEnum { get; set; }
|
||||
public bool? IsUrgent { get; set; }
|
||||
public Guid? SubjectId { get; set; }
|
||||
public Guid? SiteId { get; set; }
|
||||
public bool? IsClosed { get; set; }
|
||||
public bool? IsOverTime { get; set; }
|
||||
public Guid? CreateUserId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class QCCRCChallengeViewModel
|
||||
{
|
||||
|
||||
public bool IsBaseLine { get; set; }
|
||||
public bool IsUrgent { get; set; }
|
||||
public Guid? ClinicalDataSignUserId { get; set; }
|
||||
|
||||
//public string CreatorFirstName { get; set; }
|
||||
//public string CreatorLastName { get; set; }
|
||||
public string BlindName { get; set; } = String.Empty;
|
||||
public string Creator { get; set; } = String.Empty;
|
||||
|
||||
//public string ReplyerRealName { get; set; }
|
||||
|
||||
public DateTime? ReUploadedTime { get; set; }
|
||||
public Guid SubjectVisitId { get; set; }
|
||||
public Guid SubjectId { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
public string VisitName { get; set; } = string.Empty;
|
||||
|
||||
public RequestBackStateEnum RequestBackState { get; set; }
|
||||
|
||||
public bool IsClosed { get; set; }
|
||||
|
||||
public DateTime? ClosedTime { get; set; }
|
||||
|
||||
public string ClosedUser { get; set; } = String.Empty;
|
||||
|
||||
public DateTime? CreateTime { get; set; }
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
public string CreateUser { get; set; } = String.Empty;
|
||||
|
||||
//public bool NeedReUpload { get; set; }
|
||||
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
|
||||
public DateTime? DeadlineTime { get; set; }
|
||||
|
||||
public string ChallengeCode { get; set; } = String.Empty;
|
||||
|
||||
public string ChallengeType { get; set; } = string.Empty;
|
||||
|
||||
public string Note { get; set; } = string.Empty;
|
||||
|
||||
|
||||
public bool IsOverTime => IsClosed ? ClosedTime > DeadlineTime : DateTime.Now > DeadlineTime;
|
||||
|
||||
public Guid LatestReplyUserId { get; set; }
|
||||
|
||||
|
||||
public string LatestReplyUser { get; set; } = String.Empty;
|
||||
|
||||
public string Content { get; set; } = string.Empty;
|
||||
|
||||
public UserTypeEnum UserTypeEnum { get; set; }
|
||||
|
||||
|
||||
public DateTime? LatestMsgTime { get; set; }
|
||||
|
||||
public string ChallengeDuration
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!ClosedTime.HasValue)
|
||||
return "";
|
||||
else return string.Format("{0}天{1}小时{2}分钟", (ClosedTime - CreateTime)?.Days, (ClosedTime - CreateTime)?.Hours, (ClosedTime - CreateTime)?.Minutes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class CheckQuery : PageInput
|
||||
{
|
||||
public string SubjectInfo { get; set; } = String.Empty;
|
||||
public string VisitPlanInfo { get; set; } = String.Empty;
|
||||
|
||||
//核查状态
|
||||
public CheckStateEnum? CheckState { get; set; }
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid? SiteId { get; set; }
|
||||
|
||||
//public bool? IsClosed { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class ForwardQuery : PageInput
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid? SiteId { get; set; }
|
||||
public string SubjectInfo { get; set; } = String.Empty;
|
||||
public string VisitPlanInfo { get; set; } = String.Empty;
|
||||
|
||||
public ForwardStateEnum? ForwardState { get; set; }
|
||||
}
|
||||
|
||||
public class ForWardViewModel
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string BlindName { get; set; } = String.Empty;
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
public string VisitName { get; set; } = string.Empty;
|
||||
|
||||
public Guid? ForwardUserId { get; set; }
|
||||
|
||||
public string ForwardUser { get; set; } = String.Empty;
|
||||
|
||||
public DateTime? ForwardTime { get; set; }
|
||||
|
||||
public ForwardStateEnum ForwardState { get; set; }
|
||||
|
||||
public CheckStateEnum CheckState { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
public class QCCheckViewModel
|
||||
{
|
||||
public string BlindName { get; set; } = String.Empty;
|
||||
public bool IsUrgent { get; set; }
|
||||
|
||||
public DateTime? CheckPassedTime { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid? CheckChallengeLatestUserId { get; set; }
|
||||
|
||||
public AuditStateEnum AuditState { get; set; }
|
||||
|
||||
public CheckStateEnum CheckState { get; set; }
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
|
||||
public decimal VisitNum { get; set; }
|
||||
public string VisitName { get; set; } = string.Empty;
|
||||
|
||||
//public string Modality { get; set; }
|
||||
|
||||
public RequestBackStateEnum RequestBackState { get; set; }
|
||||
|
||||
public DateTime? StudyTime { get; set; }
|
||||
public DateTime? CheckTime { get; set; }
|
||||
public CheckChanllengeTypeEnum CheckChallengeState { get; set; }
|
||||
|
||||
public bool? IsCheckBack { get; set; }
|
||||
|
||||
public string CheckResult { get; set; } = String.Empty;
|
||||
}
|
||||
|
||||
public class QCVisitViewModel : QCVisitBasicListViewModel
|
||||
{
|
||||
public int? DicomStudyCount { get; set; }
|
||||
public int? NoneDicomStudyCount { get; set; }
|
||||
public bool IsHaveClinicalData { get; set; }
|
||||
|
||||
public SubjectStatus SubjectStatus { get; set; }
|
||||
public int? StudyCount { get; set; }
|
||||
|
||||
public string SubjectCode { get; set; } = String.Empty;
|
||||
public String TrialSiteCode { get; set; } = String.Empty;
|
||||
|
||||
public ChallengeStateEnum ChallengeState { get; set; }
|
||||
|
||||
|
||||
public int? ChallengeCount { get; set; }
|
||||
|
||||
|
||||
public AuditStateEnum AuditState { get; set; }
|
||||
|
||||
public DateTime? SubmitTime { get; set; }
|
||||
|
||||
public string CurrentActionUser { get; set; } = String.Empty;
|
||||
public string PreliminaryAuditUser { get; set; } = String.Empty;
|
||||
|
||||
|
||||
public string ReviewAuditUser { get; set; } = String.Empty;
|
||||
public DateTime? ReviewAuditTime { get; set; }
|
||||
public DateTime? PreliminaryAuditTime { get; set; }
|
||||
|
||||
public bool IsEnrollmentConfirm { get; set; } = false;
|
||||
public DateTime? SubjectFirstGiveMedicineTime { get; set; }
|
||||
|
||||
public PDStateEnum PDState { get; set; } = PDStateEnum.None;
|
||||
}
|
||||
|
||||
//public class QCHistoryChallengeViewModel: QCCRCChallengeViewModel
|
||||
//{
|
||||
|
||||
|
||||
|
||||
//}
|
||||
|
||||
public class QCChallengeViewModel : QCCRCChallengeViewModel
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public class QCVisitBasicListViewModel
|
||||
{
|
||||
|
||||
public bool? IsConfirmedClinicalData { get; set; }
|
||||
public bool IsQCConfirmedReupload { get; set; }
|
||||
|
||||
public bool IsFinalVisit { get; set; }
|
||||
public string BlindName { get; set; } = String.Empty;
|
||||
public bool IsUrgent { get; set; }
|
||||
//public bool IsReuploaded { get; set; }
|
||||
//public bool NeedReUpload { get; set; }
|
||||
public QCChanllengeReuploadEnum ReuploadEnum { get; set; }
|
||||
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 int VisitExecuted { get; set; }
|
||||
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 TrialQCProcess QCProcessEnum { get; set; }
|
||||
public DateTime? EarliestScanDate { get; set; }
|
||||
public DateTime? LatestScanDate { get; set; }
|
||||
|
||||
public bool IsBaseLine { get; set; } = false;
|
||||
public string AnonymousVisitName { get; set; } = string.Empty;
|
||||
public int VisitWindowLeft { get; set; }
|
||||
public int VisitWindowRight { get; set; }
|
||||
|
||||
public bool IsTake { get; set; }
|
||||
public Guid? CurrentActionUserId { get; set; }
|
||||
public Guid? PreliminaryAuditUserId { get; set; }
|
||||
public DateTime? CurrentActionUserExpireTime { get; set; }
|
||||
|
||||
public SubmitStateEnum SubmitState { get; set; }
|
||||
|
||||
public RequestBackStateEnum RequestBackState { get; set; }
|
||||
|
||||
public bool IsLostVisit { get; set; }
|
||||
|
||||
//public Guid? ClinicalDataSignUserId { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-11 11:48:52
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> QCQuestionConfigureView 列表视图模型 </summary>
|
||||
public class QCQuestionConfigureView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string QuestionName { get; set; } = String.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public string Type { get; set; } = String.Empty;
|
||||
public string ParentTriggerValue { get; set; }
|
||||
public Guid? ParentId { get; set; }
|
||||
public string TypeValue { get; set; } = String.Empty;
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
public int? ParentShowOrder { get; set; }
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
}
|
||||
|
||||
///<summary>QCQuestionQuery 列表查询参数模型</summary>
|
||||
public class QCQuestionQuery
|
||||
{
|
||||
///<summary> QuestionName</summary>
|
||||
public string QuestionName { get; set; } = String.Empty;
|
||||
|
||||
///<summary> TypeValue</summary>
|
||||
public string Type { get; set; } = String.Empty;
|
||||
|
||||
}
|
||||
|
||||
///<summary> QCQuestionAddOrEdit 列表查询参数模型</summary>
|
||||
public class QCQuestionAddOrEdit
|
||||
{
|
||||
public Guid? Id { get; set; }
|
||||
public string QuestionName { get; set; } = String.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public string Type { get; set; } = String.Empty;
|
||||
|
||||
public string ParentTriggerValue { get; set; }
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
|
||||
public string TypeValue { get; set; } = String.Empty;
|
||||
public string ChildInvalidValue { get; set; } = String.Empty;
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
//--------------------------------------------------------------------
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-11-11 11:48:52
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
//--------------------------------------------------------------------
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace IRaCIS.Core.Application.Contracts
|
||||
{
|
||||
/// <summary> TrialQCQuestionConfigureView 列表视图模型 </summary>
|
||||
public class TrialQCQuestionConfigureView
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public string TypeValue { get; set; } = string.Empty;
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||
public int? ParentShowOrder { get; set; }
|
||||
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
public Guid CreateUserId { get; set; }
|
||||
public DateTime CreateTime { get; set; }
|
||||
public DateTime UpdateTime { get; set; }
|
||||
public Guid UpdateUserId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
public class TrialQCQuestionFilterSelect
|
||||
{
|
||||
[NotDefault]
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
|
||||
public Guid? Id { get; set; }
|
||||
|
||||
public string[] TypeArray { get; set; }=new string[0];
|
||||
}
|
||||
|
||||
public class TrialQCQuestionSelect
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
|
||||
public Guid? ParentId { get; set; }
|
||||
public int ShowOrder { get; set; }
|
||||
|
||||
public string TypeValue { get; set; }
|
||||
}
|
||||
|
||||
///<summary>TrialQCQuestionQuery 列表查询参数模型</summary>
|
||||
public class TrialQCQuestionQuery
|
||||
{
|
||||
|
||||
public Guid TrialId { get; set; }
|
||||
///<summary> QuestionName</summary>
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
|
||||
///<summary> TypeValue</summary>
|
||||
public string Type { get; set; }=String.Empty;
|
||||
|
||||
|
||||
}
|
||||
|
||||
///<summary> TrialQCQuestionAddOrEdit 列表查询参数模型</summary>
|
||||
public class TrialQCQuestionAddOrEdit:TrialQCQuestionConfigureBatchAdd
|
||||
{
|
||||
public Guid? Id{ get; set; }
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public class TrialQCQuestionConfigureBatchAdd
|
||||
{
|
||||
|
||||
public string QuestionName { get; set; } = string.Empty;
|
||||
public bool IsRequired { get; set; }
|
||||
public bool IsEnable { get; set; }
|
||||
public string Type { get; set; } = string.Empty;
|
||||
public Guid? ParentId { get; set; }
|
||||
public string TypeValue { get; set; } = string.Empty;
|
||||
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||
public int ShowOrder { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user