diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
index 6dc7fff86..91291e2ae 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingMedicalReviewDto.cs
@@ -311,6 +311,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否关闭
///
public bool IsClosedDialog { get; set; }
+
+
+ ///
+ /// 医学审核对话关闭原因
+ ///
+ public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
+
+ ///
+ /// 对话关闭原因
+ ///
+ public string DialogCloseReason { get; set; } = string.Empty;
}
public class SaveMedicalReviewInfoInDto
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
index b10c6d806..21d55cd48 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingMedicalReviewService.cs
@@ -327,7 +327,9 @@ namespace IRaCIS.Core.Application.Service
{
await _taskMedicalReviewRepository.UpdatePartialFromQueryAsync(inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
{
- IsClosedDialog = inDto.IsClosedDialog
+ IsClosedDialog = inDto.IsClosedDialog,
+ MedicalDialogCloseEnum=inDto.MedicalDialogCloseEnum,
+ DialogCloseReason=inDto.DialogCloseReason,
});
var result = await _taskMedicalReviewRepository.SaveChangesAsync();
@@ -385,7 +387,8 @@ namespace IRaCIS.Core.Application.Service
});
await _taskMedicalReviewRepository.BatchUpdateNoTrackingAsync(x => !x.IsClosedDialog && x.Id == inDto.TaskMedicalReviewId, x => new TaskMedicalReview()
{
- IsClosedDialog = true
+ IsClosedDialog = true,
+ MedicalDialogCloseEnum= MedicalDialogClose.IRApplyReReading,
});
}
ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog()
diff --git a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs
index 7616141ce..4831fc755 100644
--- a/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs
+++ b/IRaCIS.Core.Domain.Share/Allocation/AllocationRelation.cs
@@ -82,6 +82,34 @@ namespace IRaCIS.Core.Domain.Share
HaveSigned=2
}
+ public enum MedicalDialogClose
+ {
+ ///
+ /// 无
+ ///
+ None = 0,
+
+ ///
+ /// 问题已解决
+ ///
+ ProblemSolved = 1,
+
+ ///
+ /// 问题无法解决
+ ///
+ Unresolvable = 2,
+
+ ///
+ /// IR申请重阅
+ ///
+ IRApplyReReading = 3,
+
+ ///
+ /// 其他原因
+ ///
+ OtherReason = 4
+ }
+
///
///
///
diff --git a/IRaCIS.Core.Domain/Allocation/TaskMedicalReview.cs b/IRaCIS.Core.Domain/Allocation/TaskMedicalReview.cs
index f6883879d..66c7cfa69 100644
--- a/IRaCIS.Core.Domain/Allocation/TaskMedicalReview.cs
+++ b/IRaCIS.Core.Domain/Allocation/TaskMedicalReview.cs
@@ -154,6 +154,17 @@ namespace IRaCIS.Core.Domain.Models
public bool IsSendMessage { get; set; } = false;
+ ///
+ /// 医学审核对话关闭原因
+ ///
+ public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
+
+ ///
+ /// 对话关闭原因
+ ///
+ public string DialogCloseReason { get; set; } = string.Empty;
+
+
}