Merge branch 'master' of http://192.168.1.2:8033/IRaCIS_Core_Api
commit
82d06c7426
|
@ -11,6 +11,7 @@
|
||||||
"ReadingImage_CantSplit": "The current read is a baseline read, and lesion split is not allowed.",
|
"ReadingImage_CantSplit": "The current read is a baseline read, and lesion split is not allowed.",
|
||||||
"ReadingImage_BeSigned": "The current read has already been signed off. Please do not submit it again.",
|
"ReadingImage_BeSigned": "The current read has already been signed off. Please do not submit it again.",
|
||||||
"ReadingImage_Beinvalid": "The current read has already been invalidated, and reading is not allowed anymore.",
|
"ReadingImage_Beinvalid": "The current read has already been invalidated, and reading is not allowed anymore.",
|
||||||
|
"ReadingImage_PresenceReview": "The current subject has a review request that has not been processed and is not allowed to operate",
|
||||||
"ReadingImage_NotaTask": "The coalesced lesions are not from the same timepoint. ",
|
"ReadingImage_NotaTask": "The coalesced lesions are not from the same timepoint. ",
|
||||||
"ReadingImage_DeleteError": "Other lesions have split from or coalesced into the current lesion. Deletion failed.",
|
"ReadingImage_DeleteError": "Other lesions have split from or coalesced into the current lesion. Deletion failed.",
|
||||||
"ReadingImage_Idnotcorrespond": "Failed to add the lesion mark. The Instance ID and Series ID of the image do not match.",
|
"ReadingImage_Idnotcorrespond": "Failed to add the lesion mark. The Instance ID and Series ID of the image do not match.",
|
||||||
|
@ -52,8 +53,6 @@
|
||||||
"Repository_DeleteError": "Deleted data does not exist in the database.",
|
"Repository_DeleteError": "Deleted data does not exist in the database.",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------------------------Allocation--------------------------------------------------------------------
|
// ------------------------------------------------------------Allocation--------------------------------------------------------------------
|
||||||
//TaskAllocationRuleService
|
//TaskAllocationRuleService
|
||||||
"TaskAllocation_DoctorIdNotFound": "Error, the doctor is account Id was not found in the enrollment table.",
|
"TaskAllocation_DoctorIdNotFound": "Error, the doctor is account Id was not found in the enrollment table.",
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
"ReadingImage_CantSplit": "当前任务是基线任务,不能执行分裂病灶的操作。",
|
"ReadingImage_CantSplit": "当前任务是基线任务,不能执行分裂病灶的操作。",
|
||||||
"ReadingImage_BeSigned": "当前任务已经签名,请勿重复提交。",
|
"ReadingImage_BeSigned": "当前任务已经签名,请勿重复提交。",
|
||||||
"ReadingImage_Beinvalid": "当前任务已失效,不能执行阅片。",
|
"ReadingImage_Beinvalid": "当前任务已失效,不能执行阅片。",
|
||||||
|
"ReadingImage_PresenceReview": "当前受试者存在重阅申请还未处理,不允许操作",
|
||||||
"ReadingImage_NotaTask": "合并的病灶并非同一个访视任务",
|
"ReadingImage_NotaTask": "合并的病灶并非同一个访视任务",
|
||||||
"ReadingImage_DeleteError": "当前病灶分裂出其他病灶或者其他病灶合并到了当前病灶,删除失败。",
|
"ReadingImage_DeleteError": "当前病灶分裂出其他病灶或者其他病灶合并到了当前病灶,删除失败。",
|
||||||
"ReadingImage_Idnotcorrespond": "病灶标记添加失败,影像的Instance ID和Series ID不对应。",
|
"ReadingImage_Idnotcorrespond": "病灶标记添加失败,影像的Instance ID和Series ID不对应。",
|
||||||
|
@ -51,7 +52,6 @@
|
||||||
"Repository_DeleteError": "删除的数据在数据库不存在。",
|
"Repository_DeleteError": "删除的数据在数据库不存在。",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ------------------------------------------------------------Allocation--------------------------------------------------------------------
|
// ------------------------------------------------------------Allocation--------------------------------------------------------------------
|
||||||
//TaskAllocationRuleService
|
//TaskAllocationRuleService
|
||||||
"TaskAllocation_DoctorIdNotFound": "错误,未在入组表中找到该医生的账号Id",
|
"TaskAllocation_DoctorIdNotFound": "错误,未在入组表中找到该医生的账号Id",
|
||||||
|
|
|
@ -569,6 +569,8 @@ namespace IRaCIS.Application.Services
|
||||||
/// <exception cref="BusinessValidationFailedException"></exception>
|
/// <exception cref="BusinessValidationFailedException"></exception>
|
||||||
private async Task VerifyTaskIsSign(Guid visitTaskid)
|
private async Task VerifyTaskIsSign(Guid visitTaskid)
|
||||||
{
|
{
|
||||||
|
var taskInfo = await _visitTaskRepository.Where(x => x.Id == visitTaskid).FirstNotNullAsync();
|
||||||
|
|
||||||
if (await _visitTaskRepository.AnyAsync(x => x.Id == visitTaskid && x.ReadingTaskState == ReadingTaskState.HaveSigned))
|
if (await _visitTaskRepository.AnyAsync(x => x.Id == visitTaskid && x.ReadingTaskState == ReadingTaskState.HaveSigned))
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_BeSigned"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_BeSigned"]);
|
||||||
|
@ -579,6 +581,17 @@ namespace IRaCIS.Application.Services
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_Beinvalid"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_Beinvalid"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (await _visitTaskRepository.AnyAsync(x => x.TrialReadingCriterionId == taskInfo.TrialReadingCriterionId
|
||||||
|
&&x.IsAnalysisCreate&&taskInfo.IsAnalysisCreate
|
||||||
|
&&x.SubjectId== taskInfo.SubjectId&&x.TaskState==TaskState.Effect&&
|
||||||
|
((x.ReReadingApplyState==ReReadingApplyState.DocotorHaveApplyed && x.DoctorUserId == taskInfo.DoctorUserId)|| x.ReReadingApplyState == ReReadingApplyState.TrialGroupHaveApplyed)
|
||||||
|
|
||||||
|
))
|
||||||
|
{
|
||||||
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_PresenceReview"]);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2063,7 +2076,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
var isConvertedTask = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Select(x=>x.IsConvertedTask).FirstNotNullAsync();
|
var isConvertedTask = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).Select(x=>x.IsConvertedTask).FirstNotNullAsync();
|
||||||
|
|
||||||
if (await _readingTableAnswerRowInfoRepository.AnyAsync(x => x.ReadingQuestionTrial.LesionType == LesionType.NewLesions && x.VisitTaskId == inDto.VisitTaskId))
|
if (isConvertedTask&&(await _readingTableAnswerRowInfoRepository.AnyAsync(x => x.ReadingQuestionTrial.LesionType == LesionType.NewLesions && x.VisitTaskId == inDto.VisitTaskId)))
|
||||||
{
|
{
|
||||||
throw new BusinessValidationFailedException(_localizer["ReadingImage_NotNewFocus"]);
|
throw new BusinessValidationFailedException(_localizer["ReadingImage_NotNewFocus"]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1574,7 +1574,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取新靶病灶评估
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
public async Task<string> GetNewTargetLesionEvaluate(ReadingCalculateDto inDto)
|
public async Task<string> GetNewTargetLesionEvaluate(ReadingCalculateDto inDto)
|
||||||
{
|
{
|
||||||
var tableQuestion = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NewTargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
var tableQuestion = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NewTargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
||||||
|
|
BIN
后端提示语.xlsx
BIN
后端提示语.xlsx
Binary file not shown.
Loading…
Reference in New Issue