parent
92c435cf23
commit
b6b5a5d0de
|
@ -10558,20 +10558,6 @@
|
||||||
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.ReplaceQCTaskActionUser(System.Guid,System.Guid)">
|
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.ReplaceQCTaskActionUser(System.Guid,System.Guid)">
|
||||||
<summary>替换当前领取人 </summary>
|
<summary>替换当前领取人 </summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.CollectNextIQCQuality(IRaCIS.Core.Application.Contracts.GetNextIQCQualityInDto)">
|
|
||||||
<summary>
|
|
||||||
领取下一个质控任务
|
|
||||||
</summary>
|
|
||||||
<param name="inDto"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.GetNextIQCQuality(IRaCIS.Core.Application.Contracts.GetNextIQCQualityInDto)">
|
|
||||||
<summary>
|
|
||||||
获取下一个质控任务
|
|
||||||
</summary>
|
|
||||||
<param name="inDto"></param>
|
|
||||||
<returns></returns>
|
|
||||||
</member>
|
|
||||||
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.ObtainOrCancelQCTask(System.Guid,System.Guid,System.Boolean)">
|
<member name="M:IRaCIS.Core.Application.Image.QA.QCOperationService.ObtainOrCancelQCTask(System.Guid,System.Guid,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
手动领取 或者取消 QC任务
|
手动领取 或者取消 QC任务
|
||||||
|
|
|
@ -499,11 +499,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ReadingTableAnswerRowInfoBase
|
public class ReadingTableAnswerRowInfoBase
|
||||||
|
@ -724,11 +719,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
{
|
{
|
||||||
[NotDefault]
|
[NotDefault]
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GetReadingTableQuestionOutDto
|
public class GetReadingTableQuestionOutDto
|
||||||
|
@ -805,10 +795,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
|
|
||||||
public List<OrganInfo> OrganInfos { get; set; } = new List<OrganInfo>();
|
public List<OrganInfo> OrganInfos { get; set; } = new List<OrganInfo>();
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
public bool IsGetallQuestion { get; set; } = false;
|
public bool IsGetallQuestion { get; set; } = false;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -961,11 +947,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
public Guid TrialId { get; set; }
|
public Guid TrialId { get; set; }
|
||||||
|
|
||||||
public Guid VisitTaskId { get; set; }
|
public Guid VisitTaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -336,15 +336,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 单位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public ValueUnit? Unit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 单位
|
|
||||||
/// </summary>
|
|
||||||
public ValueUnit? Unit { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 限制编辑
|
/// 限制编辑
|
||||||
|
@ -444,15 +439,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 数据来源
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public DataSources? DataSource { get; set; } = DataSources.ManualEntry;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 数据来源
|
|
||||||
/// </summary>
|
|
||||||
public DataSources? DataSource { get; set; } = DataSources.ManualEntry;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单位
|
/// 单位
|
||||||
|
@ -984,15 +974,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 单位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public ValueUnit? Unit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 单位
|
|
||||||
/// </summary>
|
|
||||||
public ValueUnit? Unit { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1053,15 +1038,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public string Remark { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 备注
|
|
||||||
/// </summary>
|
|
||||||
public string Remark { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据来源
|
/// 数据来源
|
||||||
|
@ -1575,15 +1555,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 限制编辑
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public LimitEdit LimitEdit { get; set; } = LimitEdit.None;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 限制编辑
|
|
||||||
/// </summary>
|
|
||||||
public LimitEdit LimitEdit { get; set; } = LimitEdit.None;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 最大答案长度
|
/// 最大答案长度
|
||||||
|
@ -1926,15 +1901,10 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ValueOfType? ValueType { get; set; }
|
public ValueOfType? ValueType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题分类
|
/// 数据来源
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
public DataSources? DataSource { get; set; } = DataSources.ManualEntry;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 数据来源
|
|
||||||
/// </summary>
|
|
||||||
public DataSources? DataSource { get; set; } = DataSources.ManualEntry;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单位
|
/// 单位
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
|
|
||||||
using IRaCIS.Core.Application.Service.Reading.Dto;
|
using IRaCIS.Core.Application.Service.Reading.Dto;
|
||||||
using IRaCIS.Core.Domain.Share;
|
|
||||||
|
|
||||||
namespace IRaCIS.Core.Application.Contracts
|
namespace IRaCIS.Core.Application.Contracts
|
||||||
{
|
{
|
||||||
|
@ -23,7 +22,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
Task<GetGlobalReadingInfoOutDto> GetGlobalReadingInfo(GetGlobalReadingInfoInDto inDto);
|
Task<GetGlobalReadingInfoOutDto> GetGlobalReadingInfo(GetGlobalReadingInfoInDto inDto);
|
||||||
|
|
||||||
|
|
||||||
Task<List<DicomReadingQuestionAnswer>> GetReadingQuestion(Guid trialReadingCriterionId, Guid? visitTaskId,QuestionClassify? questionClassify);
|
Task<List<DicomReadingQuestionAnswer>> GetReadingQuestion(Guid trialReadingCriterionId, Guid? visitTaskId);
|
||||||
|
|
||||||
Task<GetReadingTableQuestionOutDto> GetReadingTableQuestion(GetReadingTableQuestionOrAnswerInDto inDto);
|
Task<GetReadingTableQuestionOutDto> GetReadingTableQuestion(GetReadingTableQuestionOrAnswerInDto inDto);
|
||||||
|
|
||||||
|
|
|
@ -704,7 +704,7 @@ namespace IRaCIS.Application.Services
|
||||||
{
|
{
|
||||||
//await AddDefaultValueToTask(inDto.VisitTaskId);
|
//await AddDefaultValueToTask(inDto.VisitTaskId);
|
||||||
var taskInfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).FirstNotNullAsync();
|
var taskInfo = await _visitTaskRepository.Where(x => x.Id == inDto.VisitTaskId).FirstNotNullAsync();
|
||||||
var result = await GetReadingQuestion(taskInfo.TrialReadingCriterionId, taskInfo.Id, inDto.QuestionClassify);
|
var result = await GetReadingQuestion(taskInfo.TrialReadingCriterionId, taskInfo.Id);
|
||||||
|
|
||||||
return (result, new
|
return (result, new
|
||||||
{
|
{
|
||||||
|
@ -720,7 +720,7 @@ namespace IRaCIS.Application.Services
|
||||||
/// <param name="visitTaskId"></param>
|
/// <param name="visitTaskId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[NonDynamicMethod]
|
[NonDynamicMethod]
|
||||||
public async Task<List<DicomReadingQuestionAnswer>> GetReadingQuestion(Guid trialReadingCriterionId, Guid? visitTaskId, QuestionClassify? questionClassify)
|
public async Task<List<DicomReadingQuestionAnswer>> GetReadingQuestion(Guid trialReadingCriterionId, Guid? visitTaskId)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
@ -729,7 +729,6 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
//排除表格问题
|
//排除表格问题
|
||||||
var questions = await _readingQuestionTrialRepository
|
var questions = await _readingQuestionTrialRepository
|
||||||
.WhereIf(questionClassify!=null,x=>x.QuestionClassify== questionClassify)
|
|
||||||
.WhereIf(criterionIdInfo.IseCRFShowInDicomReading, x => x.ReadingQuestionCriterionTrialId == trialReadingCriterionId && x.Type != ReadingQestionType.Table)
|
.WhereIf(criterionIdInfo.IseCRFShowInDicomReading, x => x.ReadingQuestionCriterionTrialId == trialReadingCriterionId && x.Type != ReadingQestionType.Table)
|
||||||
.WhereIf(!criterionIdInfo.IseCRFShowInDicomReading, x => x.IsShowInDicom && x.ReadingQuestionCriterionTrialId == trialReadingCriterionId && x.Type != ReadingQestionType.Table)
|
.WhereIf(!criterionIdInfo.IseCRFShowInDicomReading, x => x.IsShowInDicom && x.ReadingQuestionCriterionTrialId == trialReadingCriterionId && x.Type != ReadingQestionType.Table)
|
||||||
|
|
||||||
|
@ -894,7 +893,6 @@ namespace IRaCIS.Application.Services
|
||||||
TableAnswers = tableAnswers,
|
TableAnswers = tableAnswers,
|
||||||
TableAnsweRowInfos = tableAnsweRowInfos,
|
TableAnsweRowInfos = tableAnsweRowInfos,
|
||||||
OrganInfos = organList,
|
OrganInfos = organList,
|
||||||
QuestionClassify=inDto.QuestionClassify,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -945,8 +943,7 @@ namespace IRaCIS.Application.Services
|
||||||
TableAnswers = tableAnswers,
|
TableAnswers = tableAnswers,
|
||||||
TableAnsweRowInfos = tableAnsweRowInfos,
|
TableAnsweRowInfos = tableAnsweRowInfos,
|
||||||
IsGetallQuestion = true,
|
IsGetallQuestion = true,
|
||||||
OrganInfos = organList,
|
OrganInfos = organList
|
||||||
QuestionClassify=inDto.QuestionClassify,
|
|
||||||
|
|
||||||
}
|
}
|
||||||
), new
|
), new
|
||||||
|
@ -967,9 +964,7 @@ namespace IRaCIS.Application.Services
|
||||||
{
|
{
|
||||||
var criterionInfo = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialReadingCriterionId).FirstNotNullAsync();
|
var criterionInfo = await _readingQuestionCriterionTrialRepository.Where(x => x.Id == inDto.TrialReadingCriterionId).FirstNotNullAsync();
|
||||||
|
|
||||||
var qusetionList = await _readingQuestionTrialRepository
|
var qusetionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId).ProjectTo<TrialReadQuestionData>(_mapper.ConfigurationProvider, new
|
||||||
.WhereIf(inDto.QuestionClassify!=null,x=>x.QuestionClassify==inDto.QuestionClassify)
|
|
||||||
.Where(x => x.ReadingQuestionCriterionTrialId == inDto.TrialReadingCriterionId).ProjectTo<TrialReadQuestionData>(_mapper.ConfigurationProvider, new
|
|
||||||
{
|
{
|
||||||
|
|
||||||
isEn_Us = _userInfo.IsEn_Us
|
isEn_Us = _userInfo.IsEn_Us
|
||||||
|
@ -1045,9 +1040,7 @@ namespace IRaCIS.Application.Services
|
||||||
var groupList = new List<TrialReadQuestionData>();
|
var groupList = new List<TrialReadQuestionData>();
|
||||||
var qusetionIds = qusetionList.Select(x => x.Id).ToList();
|
var qusetionIds = qusetionList.Select(x => x.Id).ToList();
|
||||||
|
|
||||||
var tableQuestionList = await _readingTableQuestionTrialRepository
|
var tableQuestionList = await _readingTableQuestionTrialRepository.Where(x => qusetionIds.Contains(x.ReadingQuestionId))
|
||||||
.WhereIf(inDto.QuestionClassify != null, x => x.QuestionClassify == inDto.QuestionClassify)
|
|
||||||
.Where(x => qusetionIds.Contains(x.ReadingQuestionId))
|
|
||||||
.ProjectTo<TableQuestionTrial>(_mapper.ConfigurationProvider, new
|
.ProjectTo<TableQuestionTrial>(_mapper.ConfigurationProvider, new
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -297,18 +297,6 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
Automatic = 1
|
Automatic = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public enum QuestionClassify
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// PET
|
|
||||||
/// </summary>
|
|
||||||
PET = 0,
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 自定义计算标记
|
/// 自定义计算标记
|
||||||
|
|
|
@ -202,10 +202,6 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? FileType { get; set; }
|
public string? FileType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
[ForeignKey("GroupId")]
|
[ForeignKey("GroupId")]
|
||||||
|
|
|
@ -261,12 +261,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid? GroupId { get; set; }
|
public Guid? GroupId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[JsonIgnore]
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
[ForeignKey("GroupId")]
|
[ForeignKey("GroupId")]
|
||||||
public ReadingQuestionTrial GroupInfo { get; set; }
|
public ReadingQuestionTrial GroupInfo { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -173,12 +173,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? FileType { get; set; }
|
public string? FileType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[ForeignKey("DependParentId")]
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
|
|
||||||
[ForeignKey("DependParentId")]
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
|
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -195,12 +195,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string? FileType { get; set; }
|
public string? FileType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
[JsonIgnore]
|
||||||
/// 问题分类
|
|
||||||
/// </summary>
|
|
||||||
public QuestionClassify? QuestionClassify { get; set; }
|
|
||||||
|
|
||||||
[JsonIgnore]
|
|
||||||
[ForeignKey("DependParentId")]
|
[ForeignKey("DependParentId")]
|
||||||
public ReadingTableQuestionTrial DependParentQuestion { get; set; }
|
public ReadingTableQuestionTrial DependParentQuestion { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue