Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
3f31c8ad14
|
@ -2637,6 +2637,25 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
var config = await _dbContext.ClinicalDataTrialSet.FindAsync(entity.ClinicalDataTrialSetId);
|
||||
|
||||
string extraIndentification = string.Empty;
|
||||
|
||||
if (type != AuditOpt.Update)
|
||||
{
|
||||
switch (config.ClinicalDataLevel)
|
||||
{
|
||||
case ClinicalLevel.Subject:
|
||||
case ClinicalLevel.SubjectVisit:
|
||||
extraIndentification = "/SubjectVisit";
|
||||
break;
|
||||
case ClinicalLevel.Study:
|
||||
extraIndentification = "/Study";
|
||||
break;
|
||||
case ClinicalLevel.ImageRead:
|
||||
extraIndentification = "/ImageRead";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
await InsertInspection<ReadingClinicalData>(item.Entity as ReadingClinicalData, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
|
||||
|
@ -2647,7 +2666,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
ObjectRelationParentId = entity.ClinicalDataTrialSetId,
|
||||
|
||||
//ObjectRelationParentId2 = x.IsVisit == false?x.ReadingId:null
|
||||
}, 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() },
|
||||
extraIndentification
|
||||
);
|
||||
}
|
||||
|
||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingConsistentClinicalData)))
|
||||
|
|
Loading…
Reference in New Issue