diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index aa0d84619..9c8543324 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -2465,6 +2465,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common var extraIdentification = string.Empty; var entity = item.Entity as DicomStudy; + + var reason = entity.ModifyReason; switch (_userInfo.RequestUrl) { case "QCOperation/updateModality": @@ -2473,6 +2475,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common extraIdentification = "/2"; } + break; + case "Study/amendmentPatientInfo": + reason=entity.Reason; + break; } @@ -2480,7 +2486,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common { ObjectRelationParentId = x.SubjectVisitId, ExtraIndentification = extraIdentification, - Reason = entity.ModifyReason + Reason = reason }); }