diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 5b6274db0..bea049c0a 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -1940,9 +1940,11 @@ namespace IRaCIS.Core.Infra.EFCore.Common ObjectRelationParentId2 = x.ClinicalDataTrialSetId, - }, new + }, new { - Type = ClinicalFileType.PreviousSurgery + ClinicalDataLevel= ClinicalLevel.Subject, + + Type = ClinicalFileType.PreviousSurgery }); } @@ -1967,7 +1969,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common ObjectRelationParentId = x.SubjectVisitId, }, new { - Type = ClinicalFileType.PreviousHistory + ClinicalDataLevel = ClinicalLevel.Subject, + Type = ClinicalFileType.PreviousHistory }); } @@ -1990,7 +1993,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common ObjectRelationParentId = x.SubjectVisitId, }, new { - Type = ClinicalFileType.PreviousOther + ClinicalDataLevel = ClinicalLevel.Subject, + Type = ClinicalFileType.PreviousOther }); }