医学审核单位添加
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
99b76704d3
commit
0266072c6a
|
|
@ -1524,6 +1524,19 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public string Answer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自定义单位
|
||||
/// </summary>
|
||||
public string? CustomUnit { get; set; }
|
||||
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 问题类型
|
||||
|
|
@ -1865,6 +1878,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自定义单位
|
||||
/// </summary>
|
||||
public string? CustomUnit { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
|
|
@ -2315,6 +2335,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自定义单位
|
||||
/// </summary>
|
||||
public string? CustomUnit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
public JudgeReadingQuestionType QuestionType { get; set; } = JudgeReadingQuestionType.Question;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -633,6 +633,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public string TypeValue { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
|
|
@ -758,6 +759,19 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public string Answer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
public ValueOfType? ValueType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自定义单位
|
||||
/// </summary>
|
||||
public string? CustomUnit { get; set; }
|
||||
|
||||
public ValueUnit? Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -250,6 +250,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
var visitTaskAnswer = await _readingTaskQuestionAnswerRepository.Where(x => taskIds.Contains(x.VisitTaskId) && x.ReadingQuestionTrial.IsJudgeQuestion).Select(x => new JudgeQuestionAnswerInfo
|
||||
{
|
||||
Answer = x.Answer,
|
||||
Unit=x.ReadingQuestionTrial.Unit,
|
||||
ValueType=x.ReadingQuestionTrial.ValueType,
|
||||
CustomUnit=x.ReadingQuestionTrial.CustomUnit,
|
||||
VisitTaskId = x.VisitTaskId,
|
||||
DictionaryCode = x.ReadingQuestionTrial.DictionaryCode,
|
||||
ShowOrder = x.ReadingQuestionTrial.ShowOrder,
|
||||
|
|
@ -338,6 +341,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
ShowOrder = data.ShowOrder,
|
||||
ParentId = data.ParentId,
|
||||
TypeValue = data.TypeValue,
|
||||
|
||||
Answer = leftquestionAnswer.Answer
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -269,7 +269,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
ShowOrder = y.ReadingQuestionTrial.ShowOrder,
|
||||
Type = y.ReadingQuestionTrial.Type,
|
||||
TypeValue = y.ReadingQuestionTrial.TypeValue,
|
||||
ValueType = y.ReadingQuestionTrial.ValueType,
|
||||
CustomUnit = y.ReadingQuestionTrial.CustomUnit,
|
||||
Unit = y.ReadingQuestionTrial.Unit,
|
||||
IsJudgeQuestion = y.ReadingQuestionTrial.IsJudgeQuestion,
|
||||
Answer = y.Answer,
|
||||
}).ToList()
|
||||
|
|
@ -313,7 +314,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
ValueType = y.ValueType,
|
||||
IsJudgeQuestion = y.IsJudgeQuestion,
|
||||
Answer = string.Empty,
|
||||
|
||||
CustomUnit = y.CustomUnit,
|
||||
});
|
||||
|
||||
}
|
||||
|
|
@ -399,7 +400,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
JudgeType = lr.question.JudgeType,
|
||||
TypeValue = lr.question.TypeValue,
|
||||
ValueType = lr.question.ValueType,
|
||||
|
||||
CustomUnit = lr.question.CustomUnit,
|
||||
}).ToList();
|
||||
|
||||
|
||||
|
|
@ -524,7 +525,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
ShowOrder = x.Dictionary.ShowOrder,
|
||||
ParentCode = x.Dictionary.Parent.Code,
|
||||
Value = x.Dictionary.Value,
|
||||
ValueCN = x.Dictionary.ValueCN
|
||||
ValueCN = x.Dictionary.ValueCN,
|
||||
}).OrderBy(x => x.ParentCode).ThenBy(x => x.ShowOrder).ToListAsync();
|
||||
result.AssessTypeList = assessTypeList;
|
||||
|
||||
|
|
|
|||
|
|
@ -265,6 +265,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
Answer = x.Answer,
|
||||
Type = x.ReadingQuestionTrial.Type,
|
||||
Unit = x.ReadingQuestionTrial.Unit,
|
||||
CustomUnit= x.ReadingQuestionTrial.CustomUnit,
|
||||
ValueType=x.ReadingQuestionTrial.ValueType,
|
||||
|
||||
QuestionId = x.ReadingQuestionTrial.Id,
|
||||
QuestionName = x.ReadingQuestionTrial.QuestionName.LanguageName(x.ReadingQuestionTrial.QuestionEnName, _userInfo.IsEn_Us),
|
||||
QuestionGenre = x.ReadingQuestionTrial.QuestionGenre,
|
||||
|
|
@ -314,10 +317,13 @@ namespace IRaCIS.Core.Application.Service
|
|||
Answer = x.Answer,
|
||||
Type = x.Type,
|
||||
Unit = x.Unit,
|
||||
CustomUnit=x.CustomUnit,
|
||||
|
||||
QuestionId = x.QuestionId!.Value,
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
DictionaryCode = x.DictionaryCode,
|
||||
ValueType=x.ValueType,
|
||||
}).ToList()
|
||||
};
|
||||
|
||||
|
|
@ -358,6 +364,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
DictionaryCode = x.DictionaryCode,
|
||||
ValueType=x.ValueType,
|
||||
}).ToList()
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -202,6 +202,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
TypeValue = y.ReadingQuestionTrial.TypeValue,
|
||||
ValueType = y.ReadingQuestionTrial.ValueType,
|
||||
IsJudgeQuestion = y.ReadingQuestionTrial.IsJudgeQuestion,
|
||||
Unit = y.ReadingQuestionTrial.Unit,
|
||||
CustomUnit = y.ReadingQuestionTrial.CustomUnit,
|
||||
Answer = y.Answer,
|
||||
}).ToList()
|
||||
}).ToListAsync();
|
||||
|
|
@ -285,6 +287,9 @@ namespace IRaCIS.Core.Application.Service
|
|||
QuestionName = y.QuestionName,
|
||||
QuestionGenre = y.QuestionGenre,
|
||||
DictionaryCode = y.DictionaryCode,
|
||||
Unit=y.Unit,
|
||||
CustomUnit=y.CustomUnit,
|
||||
ValueType = y.ValueType,
|
||||
Answer = y.Answer
|
||||
}).ToList();
|
||||
x.IsHaveChange = result.ReadingCategory == ReadingCategory.Visit ? false : globalVisits.Where(y => x.VisitTaskId == y.VisitTaskId).SelectMany(y => y.AfterQuestionList).Any(y => y.IsHaveChange);
|
||||
|
|
|
|||
Loading…
Reference in New Issue