代码提交

IRC_NewDev
he 2024-10-15 10:03:47 +08:00
parent 6709f0c653
commit ffd29eb268
12 changed files with 18152 additions and 10 deletions

View File

@ -12773,19 +12773,49 @@
字典仓储 字典仓储
</summary> </summary>
</member> </member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.TranslationDictionaryDto.DictionaryCode"> <member name="P:IRaCIS.Core.Application.MassTransit.Consumer.TranslationDictionaryDto.IsEn_US">
<summary>
是否是英文
</summary>
</member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.TranslationDictionaryDto.DictionaryList">
<summary>
字典
</summary>
</member>
<member name="T:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryDto">
<summary>
字典对象
</summary>
</member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryDto.DictionaryCode">
<summary> <summary>
字典Code 字典Code
</summary> </summary>
</member> </member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.TranslationDictionaryDto.EnumValue"> <member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryDto.EnumValue">
<summary> <summary>
枚举值 枚举值
</summary> </summary>
</member> </member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.TranslationDictionaryDto.IsEn_US"> <member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryData.DictionaryCode">
<summary> <summary>
是否是英文 字典Code
</summary>
</member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryData.EnumValue">
<summary>
枚举值
</summary>
</member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryData.Value">
<summary>
</summary>
</member>
<member name="P:IRaCIS.Core.Application.MassTransit.Consumer.DictionaryData.ValueCN">
<summary>
返回
</summary> </summary>
</member> </member>
<member name="M:IRaCIS.Core.Application.MassTransit.Consumer.ConsistencyCheckConsumer.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.DicomStudy},IRaCIS.Core.Domain.Share.IUserInfo,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Subject},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.SubjectVisit},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialSite},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.NoneDicomStudy},AutoMapper.IMapper,Microsoft.Extensions.Localization.IStringLocalizer)"> <member name="M:IRaCIS.Core.Application.MassTransit.Consumer.ConsistencyCheckConsumer.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.DicomStudy},IRaCIS.Core.Domain.Share.IUserInfo,IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Subject},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.SubjectVisit},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialSite},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.NoneDicomStudy},AutoMapper.IMapper,Microsoft.Extensions.Localization.IStringLocalizer)">
@ -12834,7 +12864,7 @@
加急的医学反馈任务 通知MIM 加急的医学反馈任务 通知MIM
</summary> </summary>
</member> </member>
<member name="M:IRaCIS.Core.Application.MassTransit.Consumer.UrgentMedicalReviewAddedEventConsumer.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.User},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TaskMedicalReview},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Trial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingQuestionCriterionTrial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TrialSiteSurvey},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.EmailNoticeConfig},Microsoft.Extensions.Options.IOptionsMonitor{IRaCIS.Core.Domain.Share.SystemEmailSendConfig})"> <member name="M:IRaCIS.Core.Application.MassTransit.Consumer.UrgentMedicalReviewAddedEventConsumer.#ctor(IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.User},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.TaskMedicalReview},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Trial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.ReadingQuestionCriterionTrial},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.VisitTask},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.Dictionary},IRaCIS.Core.Infra.EFCore.IRepository{IRaCIS.Core.Domain.Models.EmailNoticeConfig},Microsoft.Extensions.Options.IOptionsMonitor{IRaCIS.Core.Domain.Share.SystemEmailSendConfig})">
<summary> <summary>
加急的医学反馈任务 通知MIM 加急的医学反馈任务 通知MIM
</summary> </summary>

View File

@ -90,7 +90,7 @@ public class UrgentMedicalReviewAddedEventConsumer(
{ {
var topicStr = string.Format(input.topicStr, companyName, trialInfo.ResearchProgramNo); var topicStr = string.Format(input.topicStr, companyName, trialInfo.ResearchProgramNo);
var htmlBodyStr = string.Format( var htmlBodyStr = string.Format(
CommonEmailHelper.ReplaceCompanyName(_systemEmailConfig, input.htmlBodyStr), CommonEmailHelper.ReplaceCompanyName(_systemEmailConfig, input.htmlBodyStr),
userinfo.FullName, // 用户名 userinfo.FullName, // 用户名
trialInfo.ExperimentName, // 项目 trialInfo.ExperimentName, // 项目
criterion.CriterionName, // 阅片标准 criterion.CriterionName, // 阅片标准
@ -105,7 +105,7 @@ public class UrgentMedicalReviewAddedEventConsumer(
return (topicStr, htmlBodyStr); return (topicStr, htmlBodyStr);
}; };
await CommonEmailHelper.GetEmailSubejctAndHtmlInfoAndBuildAsync(_emailNoticeConfigrepository, EmailBusinessScenario.SiteSurveyReject, messageToSend, emailConfigFunc); await CommonEmailHelper.GetEmailSubejctAndHtmlInfoAndBuildAsync(_emailNoticeConfigrepository, EmailBusinessScenario.EligibilityVerification_MedicalQC, messageToSend, emailConfigFunc);
await SendEmailHelper.SendEmailAsync(messageToSend, _systemEmailConfig); await SendEmailHelper.SendEmailAsync(messageToSend, _systemEmailConfig);
} }

View File

@ -318,6 +318,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class ReadingTableQuestionTrialAddOrEdit public class ReadingTableQuestionTrialAddOrEdit
{ {
public Guid? ClassifyTableQuestionId { get; set; }
public string ClassifyAlgorithms { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 自定义计算标记 /// 自定义计算标记
/// </summary> /// </summary>
@ -462,6 +467,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary> /// </summary>
public ValueOfType? ValueType { get; set; } public ValueOfType? ValueType { get; set; }
public bool IsCopy { get; set; } = false;
public Guid? ClassifyTableQuestionId { get; set; }
public string ClassifyAlgorithms { get; set; } = string.Empty;
/// <summary> /// <summary>
/// 问题分类 /// 问题分类
/// </summary> /// </summary>
@ -834,6 +845,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public Guid Id { get; set; } public Guid Id { get; set; }
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 分组 /// 分组
/// </summary> /// </summary>
@ -1098,6 +1119,14 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public class ReadingQuestionSystemView public class ReadingQuestionSystemView
{ {
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 数值类型 /// 数值类型
/// </summary> /// </summary>
@ -1636,6 +1665,19 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
} }
public class AddOrUpdateReadingQuestionSystemInDto public class AddOrUpdateReadingQuestionSystemInDto
{ {
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
/// <summary> /// <summary>
/// 数值类型 /// 数值类型
/// </summary> /// </summary>
@ -1854,6 +1896,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary> /// </summary>
public Guid? Id { get; set; } public Guid? Id { get; set; }
/// <summary>
/// 导出标识
/// </summary>
public ExportIdentification? ExportIdentification { get; set; }
/// <summary>
/// 导出结果
/// </summary>
public ExportResult? ExportResult { get; set; }
public bool IsAdditional { get; set; } public bool IsAdditional { get; set; }
/// <summary> /// <summary>

View File

@ -667,6 +667,9 @@ namespace IRaCIS.Core.Application.Service.RC
// 标准的默认值 标准默认值 // 标准的默认值 标准默认值
foreach (var criterion in needAddCriterionList) foreach (var criterion in needAddCriterionList)
{ {
switch (criterion.CriterionType) switch (criterion.CriterionType)
{ {
case CriterionType.IVUS: case CriterionType.IVUS:

View File

@ -369,6 +369,31 @@ namespace IRaCIS.Core.Domain.Share
} }
/// <summary>
/// 导出标识
/// </summary>
public enum ExportIdentification
{
/// <summary>
/// 无
/// </summary>
None = 0,
}
/// <summary>
/// 导出结果
/// </summary>
public enum ExportResult
{
/// <summary>
/// 无
/// </summary>
None = 0,
}
/// <summary> /// <summary>
/// 自定义计算标记 /// 自定义计算标记

View File

@ -190,4 +190,10 @@ public class ReadingQuestionSystem : BaseAddAuditEntity
[Comment("高亮问题的答案")] [Comment("高亮问题的答案")]
public string HighlightAnswer { get; set; } = "[]"; public string HighlightAnswer { get; set; } = "[]";
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
} }

View File

@ -255,6 +255,12 @@ public class ReadingQuestionTrial : BaseAddAuditEntity
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("高亮问题的答案")] [Comment("高亮问题的答案")]
public string HighlightAnswer { get; set; } = "[]"; public string HighlightAnswer { get; set; } = "[]";
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public ExportResult? ExportResult { get; set; }
} }
public class CalculateInfo public class CalculateInfo
{ {

View File

@ -72,6 +72,7 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("是否启用")] [Comment("是否启用")]
public bool IsEnable { get; set; } public bool IsEnable { get; set; }
[Comment("备注")]
public string Remark { get; set; } = string.Empty; public string Remark { get; set; } = string.Empty;
[Comment("显示父问题")] [Comment("显示父问题")]
@ -131,4 +132,9 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("问题分类")] [Comment("问题分类")]
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("复制病灶的时候 是否复制这个问题")]
public bool IsCopy { get; set; } = false;
} }

View File

@ -84,7 +84,7 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
public string TypeValue { get; set; } = string.Empty; public string TypeValue { get; set; } = string.Empty;
public bool IsEnable { get; set; } public bool IsEnable { get; set; }
[Comment("注释")]
public string Remark { get; set; } = string.Empty; public string Remark { get; set; } = string.Empty;
public Guid? RelevanceId { get; set; } public Guid? RelevanceId { get; set; }
@ -112,6 +112,9 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
[Comment("数值类型")] [Comment("数值类型")]
public ValueOfType? ValueType { get; set; } public ValueOfType? ValueType { get; set; }
[Comment("分类算法")]
public string ClassifyAlgorithms { get; set; } = string.Empty;
[Comment("单位")] [Comment("单位")]
public ValueUnit? Unit { get; set; } public ValueUnit? Unit { get; set; }
@ -142,9 +145,13 @@ public class ReadingTableQuestionTrial : BaseAddAuditEntity
[Comment("问题分类")] [Comment("问题分类")]
public QuestionClassify? QuestionClassify { get; set; } public QuestionClassify? QuestionClassify { get; set; }
[Comment("复制病灶的时候 是否复制这个问题")] [Comment("复制病灶的时候 是否复制这个问题")]
public bool IsCopy { get; set; } = false; public bool IsCopy { get; set; } = false;
[Comment("系统表格问题Id")] [Comment("系统表格问题Id")]
public Guid? SystemTableQuestionId { get; set; } public Guid? SystemTableQuestionId { get; set; }
[Comment("分类问题表格Id")]
public Guid? ClassifyTableQuestionId { get; set; }
} }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,143 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class Question : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
comment: "注释",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400);
migrationBuilder.AddColumn<string>(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "分类算法");
migrationBuilder.AddColumn<Guid>(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionTrial",
type: "uniqueidentifier",
nullable: true,
comment: "分类问题表格Id");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
comment: "备注",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400);
migrationBuilder.AddColumn<bool>(
name: "IsCopy",
table: "ReadingTableQuestionSystem",
type: "bit",
nullable: false,
defaultValue: false,
comment: "复制病灶的时候 是否复制这个问题");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingQuestionTrial",
type: "int",
nullable: true,
comment: "导出标识");
migrationBuilder.AddColumn<int>(
name: "ExportResult",
table: "ReadingQuestionTrial",
type: "int",
nullable: true,
comment: "导出结果");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingQuestionSystem",
type: "int",
nullable: true,
comment: "导出标识");
migrationBuilder.AddColumn<int>(
name: "ExportResult",
table: "ReadingQuestionSystem",
type: "int",
nullable: true,
comment: "导出结果");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "IsCopy",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ExportResult",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingQuestionSystem");
migrationBuilder.DropColumn(
name: "ExportResult",
table: "ReadingQuestionSystem");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionTrial",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldComment: "注释");
migrationBuilder.AlterColumn<string>(
name: "Remark",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldComment: "备注");
}
}
}

View File

@ -5434,6 +5434,14 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("字典code"); .HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<int?>("ExportResult")
.HasColumnType("int")
.HasComment("导出结果");
b.Property<string>("FileType") b.Property<string>("FileType")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
@ -5684,6 +5692,14 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("字典code"); .HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<int?>("ExportResult")
.HasColumnType("int")
.HasComment("导出结果");
b.Property<string>("FileType") b.Property<string>("FileType")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
@ -6254,6 +6270,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)") .HasColumnType("nvarchar(400)")
.HasComment("文件类型"); .HasComment("文件类型");
b.Property<bool>("IsCopy")
.HasColumnType("bit")
.HasComment("复制病灶的时候 是否复制这个问题");
b.Property<int>("IsDepend") b.Property<int>("IsDepend")
.HasColumnType("int") .HasColumnType("int")
.HasComment("是否关联"); .HasComment("是否关联");
@ -6323,7 +6343,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<string>("Remark") b.Property<string>("Remark")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
.HasColumnType("nvarchar(400)"); .HasColumnType("nvarchar(400)")
.HasComment("备注");
b.Property<int>("ShowOrder") b.Property<int>("ShowOrder")
.HasColumnType("int") .HasColumnType("int")
@ -6382,6 +6403,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(max)") .HasColumnType("nvarchar(max)")
.HasComment("自定义计算标记"); .HasComment("自定义计算标记");
b.Property<string>("ClassifyAlgorithms")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("分类算法");
b.Property<Guid?>("ClassifyTableQuestionId")
.HasColumnType("uniqueidentifier")
.HasComment("分类问题表格Id");
b.Property<DateTime>("CreateTime") b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
@ -6493,7 +6524,8 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<string>("Remark") b.Property<string>("Remark")
.IsRequired() .IsRequired()
.HasMaxLength(400) .HasMaxLength(400)
.HasColumnType("nvarchar(400)"); .HasColumnType("nvarchar(400)")
.HasComment("注释");
b.Property<int>("ShowOrder") b.Property<int>("ShowOrder")
.HasColumnType("int"); .HasColumnType("int");