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