关闭并完成医学审核
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a8af33a30a
commit
beca7bbfc6
|
|
@ -155,10 +155,19 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
[TrialGlobalLimit("AfterStopCannNotOpt")]
|
[TrialGlobalLimit("AfterStopCannNotOpt")]
|
||||||
|
|
||||||
[UnitOfWork]
|
[UnitOfWork]
|
||||||
public async Task<IResponseOutput> FinishMedicalReview(DataInspectionDto<FinishMedicalReviewInDto> opt)
|
public async Task<IResponseOutput> FinishMedicalReview(DataInspectionDto<CloseAndFinishMedicalReview> opt)
|
||||||
{
|
{
|
||||||
var singid = await _inspectionService.RecordSing(opt.SignInfo);
|
var singid = await _inspectionService.RecordSing(opt.SignInfo);
|
||||||
var result = await _readingMedicalReviewService.FinishMedicalReview(opt.Data);
|
|
||||||
|
await _readingMedicalReviewService.ClosedMedicalReviewDialog(new ClosedMedicalReviewDialogInDto() {
|
||||||
|
DialogCloseReason=opt.Data.DialogCloseReason,
|
||||||
|
IsClosedDialog=opt.Data.IsClosedDialog,
|
||||||
|
MedicalDialogCloseEnum=opt.Data.MedicalDialogCloseEnum,
|
||||||
|
TaskMedicalReviewId=opt.Data.TaskMedicalReviewId
|
||||||
|
});
|
||||||
|
var result = await _readingMedicalReviewService.FinishMedicalReview(new FinishMedicalReviewInDto() {
|
||||||
|
TaskMedicalReviewId=opt.Data.TaskMedicalReviewId
|
||||||
|
});
|
||||||
await _inspectionService.CompletedSign(singid, result);
|
await _inspectionService.CompletedSign(singid, result);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@
|
||||||
<param name="opt"></param>
|
<param name="opt"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.FinishMedicalReview(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Core.Application.Service.Reading.Dto.FinishMedicalReviewInDto})">
|
<member name="M:IRaCIS.Core.API.Controllers.InspectionController.FinishMedicalReview(IRaCIS.Core.Application.Service.Inspection.DTO.DataInspectionDto{IRaCIS.Core.Application.Service.Reading.Dto.CloseAndFinishMedicalReview})">
|
||||||
<summary>
|
<summary>
|
||||||
医学审核完成
|
医学审核完成
|
||||||
</summary>
|
</summary>
|
||||||
|
|
|
||||||
|
|
@ -10935,6 +10935,21 @@
|
||||||
IR阅片页面是否可以查看既往任务结果
|
IR阅片页面是否可以查看既往任务结果
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CloseAndFinishMedicalReview.IsClosedDialog">
|
||||||
|
<summary>
|
||||||
|
是否关闭
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CloseAndFinishMedicalReview.MedicalDialogCloseEnum">
|
||||||
|
<summary>
|
||||||
|
医学审核对话关闭原因
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.CloseAndFinishMedicalReview.DialogCloseReason">
|
||||||
|
<summary>
|
||||||
|
对话关闭原因
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.JointMedicalReviewI18n.Msg1">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.JointMedicalReviewI18n.Msg1">
|
||||||
<summary>
|
<summary>
|
||||||
trials:medicalFeedback:message:msg1
|
trials:medicalFeedback:message:msg1
|
||||||
|
|
|
||||||
|
|
@ -203,6 +203,27 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid TaskMedicalReviewId { get; set; }
|
public Guid TaskMedicalReviewId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class CloseAndFinishMedicalReview
|
||||||
|
{
|
||||||
|
public Guid TaskMedicalReviewId { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否关闭
|
||||||
|
/// </summary>
|
||||||
|
public bool IsClosedDialog { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 医学审核对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public MedicalDialogClose MedicalDialogCloseEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 对话关闭原因
|
||||||
|
/// </summary>
|
||||||
|
public string DialogCloseReason { get; set; } = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
public class JointMedicalReviewI18n
|
public class JointMedicalReviewI18n
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
{
|
{
|
||||||
Task<IResponseOutput> FinishMedicalReview(FinishMedicalReviewInDto inDto);
|
Task<IResponseOutput> FinishMedicalReview(FinishMedicalReviewInDto inDto);
|
||||||
|
|
||||||
|
Task<IResponseOutput> ClosedMedicalReviewDialog(ClosedMedicalReviewDialogInDto inDto);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue