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