IRC_NewDev
parent
f3c29d3530
commit
62965e5aa5
|
@ -1967,6 +1967,32 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(NoneDicomStudyFile)))
|
||||||
|
{
|
||||||
|
|
||||||
|
var type = GetEntityAuditOpt(item);
|
||||||
|
|
||||||
|
var entity = item.Entity as NoneDicomStudyFile;
|
||||||
|
|
||||||
|
var extraIdentification = string.Empty;
|
||||||
|
|
||||||
|
if (entity.VisitTaskId!=null)
|
||||||
|
{
|
||||||
|
extraIdentification = "/VisitTask";
|
||||||
|
}
|
||||||
|
|
||||||
|
var trialid = await _dbContext.NoneDicomStudy.Where(x => x.Id == entity.NoneDicomStudyId).Select(x => x.TrialId).FirstOrDefaultAsync();
|
||||||
|
|
||||||
|
|
||||||
|
await InsertInspection<NoneDicomStudy>(item.Entity as NoneDicomStudy, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
TrialId= trialid,
|
||||||
|
ObjectRelationParentId = x.SubjectVisitId,
|
||||||
|
ExtraIndentification = extraIdentification
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// 既往手术史
|
// 既往手术史
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousSurgery)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousSurgery)))
|
||||||
{
|
{
|
||||||
|
|
|
@ -108,7 +108,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
|
|
||||||
public bool IsSelfDefine = false;
|
public bool IsSelfDefine = false;
|
||||||
|
|
||||||
// 额外标识
|
/// <summary>
|
||||||
|
/// 额外标识
|
||||||
|
/// </summary>
|
||||||
public string ExtraIndentification = string.Empty;
|
public string ExtraIndentification = string.Empty;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue