代码修改
parent
38538ca358
commit
f05f7168ac
|
@ -2545,6 +2545,48 @@
|
||||||
<param name="inDto"></param>
|
<param name="inDto"></param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.GetSystemClinicalTableQuestionList(IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalTableQuestionQuery)">
|
||||||
|
<summary>
|
||||||
|
获取系统表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="inQuery"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.AddOrUpdateSystemClinicalTableQuestion(IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalTableQuestionDto)">
|
||||||
|
<summary>
|
||||||
|
新增或修改系统表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="inDto"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.DeleteSystemClinicalTableQuestion(System.Guid)">
|
||||||
|
<summary>
|
||||||
|
删除系统表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="id"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.GetTrialClinicalTableQuestionList(IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionQuery)">
|
||||||
|
<summary>
|
||||||
|
获取项目表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="inQuery"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.AddOrUpdateTrialClinicalTableQuestion(IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto)">
|
||||||
|
<summary>
|
||||||
|
新增或修改项目表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="inDto"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:IRaCIS.Core.Application.Service.ClinicalQuestionService.DeleteTrialClinicalTableQuestion(System.Guid)">
|
||||||
|
<summary>
|
||||||
|
删除项目表格问题
|
||||||
|
</summary>
|
||||||
|
<param name="id"></param>
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalDataTrialSetAddOrEdit.ClinicalDataSetName">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalDataTrialSetAddOrEdit.ClinicalDataSetName">
|
||||||
<summary>
|
<summary>
|
||||||
名称
|
名称
|
||||||
|
@ -2760,6 +2802,11 @@
|
||||||
临床问题基本信息
|
临床问题基本信息
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.Id">
|
||||||
|
<summary>
|
||||||
|
Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.QuestionName">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.QuestionName">
|
||||||
<summary>
|
<summary>
|
||||||
问题名称
|
问题名称
|
||||||
|
@ -2815,6 +2862,21 @@
|
||||||
是否必填
|
是否必填
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.ParentId">
|
||||||
|
<summary>
|
||||||
|
父问题Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.ParentTriggerValue">
|
||||||
|
<summary>
|
||||||
|
父问题触发值
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionBase.ClinicalQuestionShowEnum">
|
||||||
|
<summary>
|
||||||
|
显示类型
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionQueryBase">
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalQuestionQueryBase">
|
||||||
<summary>
|
<summary>
|
||||||
查询临床数据基类
|
查询临床数据基类
|
||||||
|
@ -2845,6 +2907,16 @@
|
||||||
项目临床数据Id
|
项目临床数据Id
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalQuestionDto.ClinicalCalculateMarkEnum">
|
||||||
|
<summary>
|
||||||
|
自定义计算标记
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalQuestionDto.CalculateQuestions">
|
||||||
|
<summary>
|
||||||
|
自定义计算问题
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalQuestionQuery">
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalQuestionQuery">
|
||||||
<summary>
|
<summary>
|
||||||
获取系统临床数据
|
获取系统临床数据
|
||||||
|
@ -2865,6 +2937,126 @@
|
||||||
获取系统分组
|
获取系统分组
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.QuestionName">
|
||||||
|
<summary>
|
||||||
|
问题名称
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.QuestionEnName">
|
||||||
|
<summary>
|
||||||
|
问题英文名称
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.ClinicalTableQuestionTypeEnum">
|
||||||
|
<summary>
|
||||||
|
临床问题类型(分组,单选。)
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.ClinicalTableQuestionMarkEnum">
|
||||||
|
<summary>
|
||||||
|
问题标识
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.MaxAnswerLength">
|
||||||
|
<summary>
|
||||||
|
最大长度
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.ClinicalOptionTypeEnum">
|
||||||
|
<summary>
|
||||||
|
临床数据选项类型(无,自定义)
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.TypeValue">
|
||||||
|
<summary>
|
||||||
|
自定义选项
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.DictionaryCode">
|
||||||
|
<summary>
|
||||||
|
字典Code
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.ShowOrder">
|
||||||
|
<summary>
|
||||||
|
排序
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.IsRequired">
|
||||||
|
<summary>
|
||||||
|
是否必填
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.CreateTime">
|
||||||
|
<summary>
|
||||||
|
创建时间
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.CreateUserId">
|
||||||
|
<summary>
|
||||||
|
创建人
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionBase.QuestionId">
|
||||||
|
<summary>
|
||||||
|
外层问题Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto">
|
||||||
|
<summary>
|
||||||
|
项目临床数据问题
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto.TrialClinicalId">
|
||||||
|
<summary>
|
||||||
|
项目临床数据Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto.ClinicalCalculateMarkEnum">
|
||||||
|
<summary>
|
||||||
|
自定义计算标记
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionDto.CalculateQuestions">
|
||||||
|
<summary>
|
||||||
|
自定义计算问题
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalTableQuestionDto">
|
||||||
|
<summary>
|
||||||
|
系统临床数据问题
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalTableQuestionDto.SystemClinicalId">
|
||||||
|
<summary>
|
||||||
|
系统临床数据Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionQueryBase">
|
||||||
|
<summary>
|
||||||
|
查询临床数据基类
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionQueryBase.QuestionName">
|
||||||
|
<summary>
|
||||||
|
问题名称
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.ClinicalTableQuestionQueryBase.QuestionId">
|
||||||
|
<summary>
|
||||||
|
外层问题Id
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.TrialClinicalTableQuestionQuery">
|
||||||
|
<summary>
|
||||||
|
获取项目临床数据
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:IRaCIS.Core.Application.Service.Reading.Dto.SystemClinicalTableQuestionQuery">
|
||||||
|
<summary>
|
||||||
|
获取系统临床数据
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadModuleDto.TrialSiteCode">
|
<member name="P:IRaCIS.Core.Application.Service.Reading.Dto.GetReadModuleDto.TrialSiteCode">
|
||||||
<summary>
|
<summary>
|
||||||
项目中心Code
|
项目中心Code
|
||||||
|
|
|
@ -23,11 +23,20 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
private readonly IRepository<SystemClinicalQuestion> _systemClinicalQuestionRepository;
|
private readonly IRepository<SystemClinicalQuestion> _systemClinicalQuestionRepository;
|
||||||
|
|
||||||
|
|
||||||
|
private readonly IRepository<SystemClinicalTableQuestion> _systemClinicalTableQuestionRepository;
|
||||||
|
|
||||||
|
private readonly IRepository<TrialClinicalTableQuestion> _trialClinicalTableQuestionRepository;
|
||||||
|
|
||||||
public ClinicalQuestionService(IRepository<TrialClinicalQuestion> trialClinicalQuestionRepository,
|
public ClinicalQuestionService(IRepository<TrialClinicalQuestion> trialClinicalQuestionRepository,
|
||||||
|
IRepository<SystemClinicalTableQuestion> systemClinicalTableQuestionRepository,
|
||||||
|
IRepository<TrialClinicalTableQuestion> trialClinicalTableQuestionRepository,
|
||||||
IRepository<SystemClinicalQuestion> systemClinicalQuestionRepository
|
IRepository<SystemClinicalQuestion> systemClinicalQuestionRepository
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
_systemClinicalTableQuestionRepository = systemClinicalTableQuestionRepository;
|
||||||
_trialClinicalQuestionRepository = trialClinicalQuestionRepository;
|
_trialClinicalQuestionRepository = trialClinicalQuestionRepository;
|
||||||
|
_trialClinicalTableQuestionRepository = trialClinicalTableQuestionRepository;
|
||||||
_systemClinicalQuestionRepository = systemClinicalQuestionRepository;
|
_systemClinicalQuestionRepository = systemClinicalQuestionRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,5 +163,106 @@ namespace IRaCIS.Core.Application.Service
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 系统表格问题
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取系统表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inQuery"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<PageOutput<SystemClinicalTableQuestionDto>> GetSystemClinicalTableQuestionList(SystemClinicalTableQuestionQuery inQuery)
|
||||||
|
{
|
||||||
|
|
||||||
|
var systemClinicalTableQuestionQueryable = this._systemClinicalTableQuestionRepository
|
||||||
|
.Where(x=>x.QuestionId==inQuery.QuestionId)
|
||||||
|
.ProjectTo<SystemClinicalTableQuestionDto>(_mapper.ConfigurationProvider);
|
||||||
|
|
||||||
|
var pageList = await systemClinicalTableQuestionQueryable.ToPagedListAsync(inQuery.PageIndex, inQuery.PageSize, string.IsNullOrWhiteSpace(inQuery.SortField) ? nameof(SystemClinicalTableQuestion.ShowOrder) : inQuery.SortField,
|
||||||
|
inQuery.Asc);
|
||||||
|
|
||||||
|
return pageList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 新增或修改系统表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<IResponseOutput> AddOrUpdateSystemClinicalTableQuestion(SystemClinicalTableQuestionDto inDto)
|
||||||
|
{
|
||||||
|
|
||||||
|
var entity = await _systemClinicalTableQuestionRepository.InsertOrUpdateAsync(inDto, true);
|
||||||
|
|
||||||
|
return ResponseOutput.Ok(entity.Id.ToString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除系统表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="id"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpDelete("{id:guid}")]
|
||||||
|
public async Task<IResponseOutput> DeleteSystemClinicalTableQuestion(Guid id)
|
||||||
|
{
|
||||||
|
var success = await _systemClinicalTableQuestionRepository.DeleteFromQueryAsync(t => t.Id == id, true);
|
||||||
|
return ResponseOutput.Ok();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
#region 项目表格问题
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取项目表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inQuery"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<PageOutput<TrialClinicalTableQuestionDto>> GetTrialClinicalTableQuestionList(TrialClinicalTableQuestionQuery inQuery)
|
||||||
|
{
|
||||||
|
|
||||||
|
var trialClinicalTableQuestionQueryable = this._trialClinicalTableQuestionRepository
|
||||||
|
.Where(x => x.QuestionId == inQuery.QuestionId)
|
||||||
|
.ProjectTo<TrialClinicalTableQuestionDto>(_mapper.ConfigurationProvider);
|
||||||
|
|
||||||
|
var pageList = await trialClinicalTableQuestionQueryable.ToPagedListAsync(inQuery.PageIndex, inQuery.PageSize, string.IsNullOrWhiteSpace(inQuery.SortField) ? nameof(TrialClinicalTableQuestion.ShowOrder) : inQuery.SortField,
|
||||||
|
inQuery.Asc);
|
||||||
|
|
||||||
|
return pageList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 新增或修改项目表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="inDto"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost]
|
||||||
|
public async Task<IResponseOutput> AddOrUpdateTrialClinicalTableQuestion(TrialClinicalTableQuestionDto inDto)
|
||||||
|
{
|
||||||
|
|
||||||
|
var entity = await _trialClinicalTableQuestionRepository.InsertOrUpdateAsync(inDto, true);
|
||||||
|
|
||||||
|
return ResponseOutput.Ok(entity.Id.ToString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除项目表格问题
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="id"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpDelete("{id:guid}")]
|
||||||
|
public async Task<IResponseOutput> DeleteTrialClinicalTableQuestion(Guid id)
|
||||||
|
{
|
||||||
|
var success = await _trialClinicalTableQuestionRepository.DeleteFromQueryAsync(t => t.Id == id, true);
|
||||||
|
return ResponseOutput.Ok();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,12 +7,16 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace IRaCIS.Core.Application.Service.Reading.Dto
|
namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#region 外层问题
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 临床问题基本信息
|
/// 临床问题基本信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ClinicalQuestionBase
|
public class ClinicalQuestionBase
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Id
|
||||||
|
/// </summary>
|
||||||
public Guid? Id { get; set; }
|
public Guid? Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -69,6 +73,21 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 是否必填
|
/// 是否必填
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRequired { get; set; } = false;
|
public bool IsRequired { get; set; } = false;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题触发值
|
||||||
|
/// </summary>
|
||||||
|
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示类型
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalQuestionShow ClinicalQuestionShowEnum { get; set; } = ClinicalQuestionShow.Show;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -103,12 +122,22 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 项目临床数据问题
|
/// 项目临床数据问题
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class TrialClinicalQuestionDto: ClinicalQuestionBase
|
public class TrialClinicalQuestionDto : ClinicalQuestionBase
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 项目临床数据Id
|
/// 项目临床数据Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid TrialClinicalId { get; set; }
|
public Guid TrialClinicalId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算标记
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalCalculateMark? ClinicalCalculateMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算问题
|
||||||
|
/// </summary>
|
||||||
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -140,4 +169,153 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
{
|
{
|
||||||
public Guid SystemClinicalId { get; set; }
|
public Guid SystemClinicalId { get; set; }
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
#region 表格问题
|
||||||
|
public class ClinicalTableQuestionBase
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
public Guid? Id { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题英文名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionEnName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床问题类型(分组,单选。)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionType ClinicalTableQuestionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题标识
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionMark? ClinicalTableQuestionMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 最大长度
|
||||||
|
/// </summary>
|
||||||
|
public int? MaxAnswerLength { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床数据选项类型(无,自定义)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义选项
|
||||||
|
/// </summary>
|
||||||
|
public string TypeValue { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 字典Code
|
||||||
|
/// </summary>
|
||||||
|
public string DictionaryCode { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否必填
|
||||||
|
/// </summary>
|
||||||
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime CreateTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建人
|
||||||
|
/// </summary>
|
||||||
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 外层问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid QuestionId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 项目临床数据问题
|
||||||
|
/// </summary>
|
||||||
|
public class TrialClinicalTableQuestionDto : ClinicalTableQuestionBase
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 项目临床数据Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid TrialClinicalId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算标记
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalCalculateMark? ClinicalCalculateMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算问题
|
||||||
|
/// </summary>
|
||||||
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 系统临床数据问题
|
||||||
|
/// </summary>
|
||||||
|
public class SystemClinicalTableQuestionDto : ClinicalTableQuestionBase
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 系统临床数据Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid SystemClinicalId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查询临床数据基类
|
||||||
|
/// </summary>
|
||||||
|
public class ClinicalTableQuestionQueryBase : PageInput
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 问题名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 外层问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid QuestionId { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取项目临床数据
|
||||||
|
/// </summary>
|
||||||
|
public class TrialClinicalTableQuestionQuery : ClinicalTableQuestionQueryBase
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取系统临床数据
|
||||||
|
/// </summary>
|
||||||
|
public class SystemClinicalTableQuestionQuery : ClinicalTableQuestionQueryBase
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,15 @@ namespace IRaCIS.Core.Application.Service
|
||||||
#region 临床问题
|
#region 临床问题
|
||||||
CreateMap<TrialClinicalQuestion, TrialClinicalQuestionDto>();
|
CreateMap<TrialClinicalQuestion, TrialClinicalQuestionDto>();
|
||||||
CreateMap<TrialClinicalQuestionDto, TrialClinicalQuestion>();
|
CreateMap<TrialClinicalQuestionDto, TrialClinicalQuestion>();
|
||||||
|
|
||||||
|
CreateMap<SystemClinicalQuestion, SystemClinicalQuestionDto>();
|
||||||
|
CreateMap<SystemClinicalQuestionDto, SystemClinicalQuestion>();
|
||||||
|
|
||||||
|
CreateMap<SystemClinicalTableQuestion, SystemClinicalTableQuestionDto>();
|
||||||
|
CreateMap<SystemClinicalTableQuestionDto, SystemClinicalTableQuestion>();
|
||||||
|
|
||||||
|
CreateMap<TrialClinicalTableQuestion, TrialClinicalTableQuestionDto>();
|
||||||
|
CreateMap<TrialClinicalTableQuestionDto, TrialClinicalTableQuestion>();
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
CreateMap<VisitTask, VisitTaskDto>();
|
CreateMap<VisitTask, VisitTaskDto>();
|
||||||
|
|
|
@ -16,6 +16,95 @@ namespace IRaCIS.Core.Domain.Share
|
||||||
public static readonly string Group = "group";
|
public static readonly string Group = "group";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床表格问题标识
|
||||||
|
/// </summary>
|
||||||
|
public enum ClinicalTableQuestionMark
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床表格问题类型
|
||||||
|
/// </summary>
|
||||||
|
public enum ClinicalTableQuestionType
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 单行文本框
|
||||||
|
/// </summary>
|
||||||
|
Input = 3,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 多行文本框
|
||||||
|
/// </summary>
|
||||||
|
TextArea = 4,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 单选题
|
||||||
|
/// </summary>
|
||||||
|
Select = 5,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 多选题
|
||||||
|
/// </summary>
|
||||||
|
Multiple = 6,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 时间
|
||||||
|
/// </summary>
|
||||||
|
Time = 7
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床数据计算标记
|
||||||
|
/// </summary>
|
||||||
|
public enum ClinicalCalculateMark
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// +
|
||||||
|
/// </summary>
|
||||||
|
Add = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// -
|
||||||
|
/// </summary>
|
||||||
|
Subtract = 2,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ×
|
||||||
|
/// </summary>
|
||||||
|
Multiply = 3,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ÷
|
||||||
|
/// </summary>
|
||||||
|
Divide = 4,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床数据问题显示
|
||||||
|
/// </summary>
|
||||||
|
public enum ClinicalQuestionShow
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示
|
||||||
|
/// </summary>
|
||||||
|
Show = 0,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 依赖父问题
|
||||||
|
/// </summary>
|
||||||
|
Rely = 1,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 隐藏
|
||||||
|
/// </summary>
|
||||||
|
Hide = 2
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 临床数据问题类型
|
/// 临床数据问题类型
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -87,6 +87,21 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题触发值
|
||||||
|
/// </summary>
|
||||||
|
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示类型
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalQuestionShow ClinicalQuestionShowEnum { get; set; } = ClinicalQuestionShow.Show;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,91 @@
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------
|
||||||
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
|
// 生成时间 2023-06-19 11:32:48
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using System;
|
||||||
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
namespace IRaCIS.Core.Domain.Models
|
||||||
|
{
|
||||||
|
///<summary>
|
||||||
|
/// 系统临床表格问题
|
||||||
|
///</summary>
|
||||||
|
[Table("SystemClinicalTableQuestion")]
|
||||||
|
public class SystemClinicalTableQuestion : Entity, IAuditAdd
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 系统临床数据Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid SystemClinicalId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题英文名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionEnName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床问题类型(分组,单选。)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionType ClinicalTableQuestionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题标识
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionMark? ClinicalTableQuestionMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 最大长度
|
||||||
|
/// </summary>
|
||||||
|
public int? MaxAnswerLength { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床数据选项类型(无,自定义)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义选项
|
||||||
|
/// </summary>
|
||||||
|
public string TypeValue { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 字典Code
|
||||||
|
/// </summary>
|
||||||
|
public string DictionaryCode { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否必填
|
||||||
|
/// </summary>
|
||||||
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime CreateTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建人
|
||||||
|
/// </summary>
|
||||||
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 外层问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid QuestionId { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -77,6 +77,11 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsRequired { get; set; } = false;
|
public bool IsRequired { get; set; } = false;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 系统临床问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid? SystemClinicalQuestionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建时间
|
/// 创建时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -87,6 +92,30 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid? ParentId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 父问题触发值
|
||||||
|
/// </summary>
|
||||||
|
public string ParentTriggerValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 显示类型
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalQuestionShow ClinicalQuestionShowEnum { get; set; } = ClinicalQuestionShow.Show;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算标记
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalCalculateMark? ClinicalCalculateMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算问题
|
||||||
|
/// </summary>
|
||||||
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,101 @@
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------
|
||||||
|
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||||
|
// 生成时间 2023-06-19 11:32:48
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||||
|
using System;
|
||||||
|
using IRaCIS.Core.Domain.Share;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
namespace IRaCIS.Core.Domain.Models
|
||||||
|
{
|
||||||
|
///<summary>
|
||||||
|
/// 项目临床表格问题
|
||||||
|
///</summary>
|
||||||
|
[Table("TrialClinicalTableQuestion")]
|
||||||
|
public class TrialClinicalTableQuestion : Entity, IAuditAdd
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 项目临床数据Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid TrialClinicalId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题英文名称
|
||||||
|
/// </summary>
|
||||||
|
public string QuestionEnName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床问题类型(分组,单选。)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionType ClinicalTableQuestionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 问题标识
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalTableQuestionMark? ClinicalTableQuestionMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 最大长度
|
||||||
|
/// </summary>
|
||||||
|
public int? MaxAnswerLength { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 临床数据选项类型(无,自定义)
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalOptionType ClinicalOptionTypeEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义选项
|
||||||
|
/// </summary>
|
||||||
|
public string TypeValue { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 字典Code
|
||||||
|
/// </summary>
|
||||||
|
public string DictionaryCode { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
public int ShowOrder { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否必填
|
||||||
|
/// </summary>
|
||||||
|
public bool IsRequired { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime CreateTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 创建人
|
||||||
|
/// </summary>
|
||||||
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 外层问题Id
|
||||||
|
/// </summary>
|
||||||
|
public Guid QuestionId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算标记
|
||||||
|
/// </summary>
|
||||||
|
public ClinicalCalculateMark? ClinicalCalculateMarkEnum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义计算问题
|
||||||
|
/// </summary>
|
||||||
|
public string CalculateQuestions { get; set; } = "[]";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -407,6 +407,10 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||||
public virtual DbSet<TrialClinicalQuestion> TrialClinicalQuestion { get; set; }
|
public virtual DbSet<TrialClinicalQuestion> TrialClinicalQuestion { get; set; }
|
||||||
|
|
||||||
public virtual DbSet<SystemClinicalQuestion> SystemClinicalQuestion { get; set; }
|
public virtual DbSet<SystemClinicalQuestion> SystemClinicalQuestion { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<SystemClinicalTableQuestion> SystemClinicalTableQuestion { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<TrialClinicalTableQuestion> TrialClinicalTableQuestion { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
public static readonly string ConnectionString = "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_New_Tet;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true";
|
public static readonly string ConnectionString = "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_New_Tet;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true";
|
||||||
public static readonly string DbDatabase = "IRaCIS_New_Tet";
|
public static readonly string DbDatabase = "IRaCIS_New_Tet";
|
||||||
//表名称用字符串,拼接
|
//表名称用字符串,拼接
|
||||||
public static readonly string TableName = "TrialClinicalQuestion";
|
public static readonly string TableName = "SystemClinicalTableQuestion";
|
||||||
//具体文件里面 例如service 可以配置是否分页
|
//具体文件里面 例如service 可以配置是否分页
|
||||||
}
|
}
|
||||||
#>
|
#>
|
||||||
|
|
Loading…
Reference in New Issue