Uat_Study
parent
2d881aad06
commit
0575604261
|
@ -7097,13 +7097,11 @@
|
||||||
<param name="isReading"></param>
|
<param name="isReading"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Services.SubjectVisitService.GetReadingVisitStudyList(System.Guid,System.Guid,System.Guid)">
|
<member name="M:IRaCIS.Core.Application.Services.SubjectVisitService.GetReadingVisitStudyList(IRaCIS.Core.Application.Contracts.GetReadingVisitStudyListIndto)">
|
||||||
<summary>
|
<summary>
|
||||||
获取访视下的Dicom 检查信息 分所有的, 阅片的 不阅片 isReading : 0 查询所有 1 查询仅仅阅片的
|
获取访视下的Dicom 检查信息 分所有的, 阅片的 不阅片 isReading : 0 查询所有 1 查询仅仅阅片的
|
||||||
</summary>
|
</summary>
|
||||||
<param name="trialId"></param>
|
<param name="indto"></param>
|
||||||
<param name="sujectVisitId"></param>
|
|
||||||
<param name="visitTaskId"></param>
|
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Services.SubjectVisitService.SetSVExecuted(System.Guid)">
|
<member name="M:IRaCIS.Core.Application.Services.SubjectVisitService.SetSVExecuted(System.Guid)">
|
||||||
|
|
|
@ -199,13 +199,18 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
||||||
|
|
||||||
singleTask.TaskAllocationState = defaultState;
|
if(assignConfigList.Any(t => t.ArmEnum == Arm.SingleReadingArm))
|
||||||
|
{
|
||||||
|
singleTask.TaskAllocationState = defaultState;
|
||||||
|
|
||||||
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == 0).DoctorUserId;
|
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == Arm.SingleReadingArm).DoctorUserId;
|
||||||
|
|
||||||
singleTask.AllocateTime = DateTime.Now;
|
singleTask.AllocateTime = DateTime.Now;
|
||||||
|
|
||||||
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -600,13 +605,18 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
||||||
|
|
||||||
singleTask.TaskAllocationState = defaultState;
|
|
||||||
|
|
||||||
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == 0).DoctorUserId;
|
if (assignConfigList.Any(t => t.ArmEnum == Arm.SingleReadingArm))
|
||||||
|
{
|
||||||
|
singleTask.TaskAllocationState = defaultState;
|
||||||
|
|
||||||
singleTask.AllocateTime = DateTime.Now;
|
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == Arm.SingleReadingArm).DoctorUserId;
|
||||||
|
|
||||||
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
singleTask.AllocateTime = DateTime.Now;
|
||||||
|
|
||||||
|
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -685,13 +695,18 @@ namespace IRaCIS.Core.Application.Service
|
||||||
{
|
{
|
||||||
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
var defaultState = trialReadingCriterionConfig.FollowVisitAutoAssignDefaultState == TaskAllocateDefaultState.InitAllocated ? TaskAllocationState.InitAllocated : TaskAllocationState.Allocated;
|
||||||
|
|
||||||
singleTask.TaskAllocationState = defaultState;
|
|
||||||
|
|
||||||
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == 0).DoctorUserId;
|
if (assignConfigList.Any(t => t.ArmEnum == Arm.SingleReadingArm))
|
||||||
|
{
|
||||||
|
singleTask.TaskAllocationState = defaultState;
|
||||||
|
|
||||||
singleTask.AllocateTime = DateTime.Now;
|
singleTask.DoctorUserId = assignConfigList.FirstOrDefault(t => t.ArmEnum == Arm.SingleReadingArm).DoctorUserId;
|
||||||
|
|
||||||
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
singleTask.AllocateTime = DateTime.Now;
|
||||||
|
|
||||||
|
singleTask.SuggesteFinishedTime = DateTime.Now.AddDays(7);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue