Uat_Study
parent
a5d2f04f1f
commit
84153c4cf2
|
@ -4201,6 +4201,11 @@
|
||||||
病灶类型
|
病灶类型
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListInDto.LesionType">
|
||||||
|
<summary>
|
||||||
|
病灶类型
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListOutDto.OrganType">
|
<member name="P:IRaCIS.Core.Application.ViewModel.GetTrialOrganListOutDto.OrganType">
|
||||||
<summary>
|
<summary>
|
||||||
器官类型
|
器官类型
|
||||||
|
|
|
@ -174,13 +174,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//质疑
|
//质疑
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCChallenge)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCChallenge)))
|
||||||
{
|
{
|
||||||
|
@ -373,6 +366,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
#region 已修改
|
#region 已修改
|
||||||
|
@ -385,9 +379,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
{
|
{
|
||||||
var entity = item.Entity as PreviousSurgery;
|
var entity = item.Entity as PreviousSurgery;
|
||||||
|
|
||||||
//var subjectvisit = await _dbContext.SubjectVisit.Where(x => x.Id == entity.SubjectVisitId).FirstOrDefaultAsync();
|
|
||||||
//subjectvisit = subjectvisit ?? new SubjectVisit();
|
|
||||||
|
|
||||||
await InsertInspection<PreviousSurgery>(entity, type, x => new InspectionConvertDTO()
|
await InsertInspection<PreviousSurgery>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
IsDistinctionInterface = false,
|
IsDistinctionInterface = false,
|
||||||
|
@ -396,29 +387,28 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
ObjectRelationParentId = x.SubjectVisitId,
|
ObjectRelationParentId = x.SubjectVisitId,
|
||||||
|
|
||||||
|
ObjectRelationParentId2 = x.ClinicalDataTrialSetId,
|
||||||
|
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
Type = ClinicalFileType.PreviousSurgery
|
Type = ClinicalFileType.PreviousSurgery
|
||||||
}) ;
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// 既往放疗史
|
// 既往放疗史
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousHistory)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousHistory)))
|
||||||
{
|
{
|
||||||
var entity = item.Entity as PreviousHistory;
|
var entity = item.Entity as PreviousHistory;
|
||||||
//var subjectvisit = await _dbContext.SubjectVisit.Where(x => x.Id == entity.SubjectVisitId).FirstOrDefaultAsync();
|
|
||||||
//subjectvisit = subjectvisit ?? new SubjectVisit();
|
|
||||||
await InsertInspection<PreviousHistory>(entity, type, x => new InspectionConvertDTO()
|
await InsertInspection<PreviousHistory>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
//SiteId = subjectvisit.SiteId,
|
|
||||||
//SubjectVisitName = subjectvisit.VisitName,
|
|
||||||
//TrialId = subjectvisit.TrialId,
|
|
||||||
//SubjectId = subjectvisit.SubjectId,
|
|
||||||
|
|
||||||
IsDistinctionInterface = false,
|
IsDistinctionInterface = false,
|
||||||
|
|
||||||
SubjectVisitId = x.SubjectVisitId,
|
SubjectVisitId = x.SubjectVisitId,
|
||||||
|
|
||||||
|
ObjectRelationParentId2 = x.ClinicalDataTrialSetId,
|
||||||
|
|
||||||
ObjectRelationParentId = x.SubjectVisitId,
|
ObjectRelationParentId = x.SubjectVisitId,
|
||||||
}, new
|
}, new
|
||||||
|
@ -431,20 +421,16 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousOther)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousOther)))
|
||||||
{
|
{
|
||||||
var entity = item.Entity as PreviousOther;
|
var entity = item.Entity as PreviousOther;
|
||||||
//var subjectvisit = await _dbContext.SubjectVisit.Where(x => x.Id == entity.SubjectVisitId).FirstOrDefaultAsync();
|
|
||||||
//subjectvisit = subjectvisit ?? new SubjectVisit();
|
|
||||||
await InsertInspection<PreviousOther>(entity, type, x => new InspectionConvertDTO()
|
await InsertInspection<PreviousOther>(entity, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
//SiteId = subjectvisit.SiteId,
|
|
||||||
//SubjectVisitName = subjectvisit.VisitName,
|
|
||||||
//TrialId = subjectvisit.TrialId,
|
|
||||||
//SubjectId = subjectvisit.SubjectId,
|
|
||||||
|
|
||||||
|
|
||||||
IsDistinctionInterface = false,
|
IsDistinctionInterface = false,
|
||||||
|
|
||||||
SubjectVisitId = x.SubjectVisitId,
|
SubjectVisitId = x.SubjectVisitId,
|
||||||
|
|
||||||
|
ObjectRelationParentId2 = x.ClinicalDataTrialSetId,
|
||||||
|
|
||||||
ObjectRelationParentId = x.SubjectVisitId,
|
ObjectRelationParentId = x.SubjectVisitId,
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
|
@ -467,7 +453,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
{
|
{
|
||||||
IsDistinctionInterface = false
|
IsDistinctionInterface = false
|
||||||
|
|
||||||
}, new { ParentName = parentName }) ;
|
}, new { ParentName = parentName });
|
||||||
}
|
}
|
||||||
|
|
||||||
// 项目QC问题
|
// 项目QC问题
|
||||||
|
@ -482,7 +468,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
ObjectRelationParentId = x.TrialId,
|
ObjectRelationParentId = x.TrialId,
|
||||||
IsDistinctionInterface = false
|
IsDistinctionInterface = false
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
ParentName = parentName
|
ParentName = parentName
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -513,32 +499,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//系统 医学审核问题
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineSystemQuestion)))
|
|
||||||
{
|
|
||||||
var entity = item.Entity as ReadingMedicineSystemQuestion;
|
|
||||||
|
|
||||||
await InsertInspection<ReadingMedicineSystemQuestion>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
IsDistinctionInterface = false,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//项目医学审核问题
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineTrialQuestion)))
|
|
||||||
{
|
|
||||||
var entity = item.Entity as ReadingMedicineTrialQuestion;
|
|
||||||
|
|
||||||
await InsertInspection<ReadingMedicineTrialQuestion>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
IsDistinctionInterface = false,
|
|
||||||
ObjectRelationParentId = x.TrialId
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 项目文档
|
// 项目文档
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialDocument)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialDocument)))
|
||||||
{
|
{
|
||||||
|
@ -568,6 +528,30 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//系统 医学审核问题
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineSystemQuestion)))
|
||||||
|
{
|
||||||
|
var entity = item.Entity as ReadingMedicineSystemQuestion;
|
||||||
|
|
||||||
|
await InsertInspection<ReadingMedicineSystemQuestion>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
IsDistinctionInterface = false,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
//项目医学审核问题
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineTrialQuestion)))
|
||||||
|
{
|
||||||
|
var entity = item.Entity as ReadingMedicineTrialQuestion;
|
||||||
|
|
||||||
|
await InsertInspection<ReadingMedicineTrialQuestion>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
IsDistinctionInterface = false,
|
||||||
|
ObjectRelationParentId = x.TrialId
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 签名模板
|
// 签名模板
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SystemBasicData)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SystemBasicData)))
|
||||||
|
@ -603,7 +587,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 项目中心
|
// 项目中心 Site未稽查
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSite)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSite)))
|
||||||
{
|
{
|
||||||
var entity = item.Entity as TrialSite;
|
var entity = item.Entity as TrialSite;
|
||||||
|
@ -724,6 +708,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SubjectVisit)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SubjectVisit)))
|
||||||
{
|
{
|
||||||
var entity = item.Entity as SubjectVisit;
|
var entity = item.Entity as SubjectVisit;
|
||||||
|
|
||||||
|
|
||||||
string reason = string.Empty;
|
string reason = string.Empty;
|
||||||
|
|
||||||
if (_userInfo.RequestUrl.ToLower() == "qcoperation/setcheckpass")
|
if (_userInfo.RequestUrl.ToLower() == "qcoperation/setcheckpass")
|
||||||
|
@ -844,7 +830,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}, new
|
}, new
|
||||||
{
|
{
|
||||||
|
|
||||||
//子层级只需要记录自己这边的信息就好了
|
//子层级只需要记录自己这边的信息就好了 只有删除 和添加 没有更新(如果是删除,再添加,删除不会走稽查逻辑,业务代码已控制)
|
||||||
ReadingCategoryList = type == AuditOpt.Deleted ? null : list.Select(t => t.ReadingCategory).ToList(),
|
ReadingCategoryList = type == AuditOpt.Deleted ? null : list.Select(t => t.ReadingCategory).ToList(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -854,7 +840,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
#region 阅片期临床数据
|
#region 阅片期临床数据
|
||||||
|
|
||||||
//阅片期临床数据
|
|
||||||
|
|
||||||
|
|
||||||
//系统临床数据配置
|
//系统临床数据配置
|
||||||
|
@ -869,7 +854,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//项目临床数据配置
|
//项目临床数据配置
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ClinicalDataTrialSet)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ClinicalDataTrialSet)))
|
||||||
|
@ -891,7 +876,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
await InsertInspection<ReadingClinicalData>(item.Entity as ReadingClinicalData, type, x => new InspectionConvertDTO()
|
await InsertInspection<ReadingClinicalData>(item.Entity as ReadingClinicalData, type, x => new InspectionConvertDTO()
|
||||||
{
|
{
|
||||||
|
|
||||||
IsDistinctionInterface= type == AuditOpt.Update?true:false,
|
IsDistinctionInterface = type == AuditOpt.Update ? true : false,
|
||||||
|
|
||||||
SubjectVisitId = x.IsVisit ? x.ReadingId : null,
|
SubjectVisitId = x.IsVisit ? x.ReadingId : null,
|
||||||
|
|
||||||
|
@ -963,11 +948,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
@ -1092,6 +1072,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue