Compare commits
No commits in common. "ed94423f3286882e7221827296ae80346a2d1417" and "035ce2ae4e1e8570d2dbf87b3a4a4410191e04d7" have entirely different histories.
ed94423f32
...
035ce2ae4e
|
@ -328,34 +328,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// PACS直连
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialSiteDicomAE)))
|
|
||||||
{
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as TrialSiteDicomAE;
|
|
||||||
|
|
||||||
|
|
||||||
await InsertInspection<TrialSiteDicomAE>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
ObjectRelationParentId=entity.TrialSiteId,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// PACS直连
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(TrialDicomAE)))
|
|
||||||
{
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as TrialDicomAE;
|
|
||||||
|
|
||||||
|
|
||||||
await InsertInspection<TrialDicomAE>(entity, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
//系统标准问题
|
//系统标准问题
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingQuestionSystem)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingQuestionSystem)))
|
||||||
{
|
{
|
||||||
|
@ -2342,27 +2314,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
}, new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() });
|
}, new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() });
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingConsistentClinicalData)))
|
|
||||||
{
|
|
||||||
var type = GetEntityAuditOpt(item);
|
|
||||||
|
|
||||||
var entity = item.Entity as ReadingConsistentClinicalData;
|
|
||||||
|
|
||||||
var config = await _dbContext.ClinicalDataTrialSet.FindAsync(entity.ClinicalDataTrialSetId);
|
|
||||||
|
|
||||||
await InsertInspection<ReadingConsistentClinicalData>(item.Entity as ReadingConsistentClinicalData, type, x => new InspectionConvertDTO()
|
|
||||||
{
|
|
||||||
|
|
||||||
IsDistinctionInterface = type == AuditOpt.Update ? true : false,
|
|
||||||
|
|
||||||
SubjectVisitId = x.IsVisit ? x.ReadingId : null,
|
|
||||||
|
|
||||||
ObjectRelationParentId = entity.ClinicalDataTrialSetId,
|
|
||||||
|
|
||||||
//ObjectRelationParentId2 = x.IsVisit == false?x.ReadingId:null
|
|
||||||
}, new { FileCountViewStr = config?.ClinicalDataLevel == ClinicalLevel.Subject && config?.ClinicalUploadType == ClinicalUploadType.Table ? "NA" : entity.FileCount.ToString() });
|
|
||||||
}
|
|
||||||
|
|
||||||
//阅片期计划
|
//阅片期计划
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingPeriodSet)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingPeriodSet)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue