医学审核问题
parent
ba37862adf
commit
07003b1327
|
@ -81,6 +81,8 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ReadingCategory ReadingCategory { get; set; }
|
public ReadingCategory ReadingCategory { get; set; }
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
|
|
||||||
[ForeignKey("ParentId")]
|
[ForeignKey("ParentId")]
|
||||||
public ReadingMedicineSystemQuestion ParentQuestion { get; set; }
|
public ReadingMedicineSystemQuestion ParentQuestion { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public ReadingCategory ReadingCategory { get; set; }
|
public ReadingCategory ReadingCategory { get; set; }
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("ParentId")]
|
[ForeignKey("ParentId")]
|
||||||
public ReadingMedicineTrialQuestion ParentQuestion { get; set; }
|
public ReadingMedicineTrialQuestion ParentQuestion { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -129,14 +129,16 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("ReadingQuestionCriterionSystemId")]
|
[ForeignKey("ReadingQuestionCriterionSystemId")]
|
||||||
public ReadingQuestionCriterionSystem ReadingQuestionCriterionSystem { get; set; }
|
public ReadingQuestionCriterionSystem ReadingQuestionCriterionSystem { get; set; }
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("ParentId")]
|
[ForeignKey("ParentId")]
|
||||||
public ReadingQuestionSystem ParentReadingQuestionSystem { get; set; }
|
public ReadingQuestionSystem ParentReadingQuestionSystem { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("RelevanceId")]
|
[ForeignKey("RelevanceId")]
|
||||||
public ReadingQuestionSystem RelevanceReadingQuestionSystem { get; set; }
|
public ReadingQuestionSystem RelevanceReadingQuestionSystem { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -167,14 +167,15 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
/// 分页标准
|
/// 分页标准
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("ReadingCriterionPageId")]
|
[ForeignKey("ReadingCriterionPageId")]
|
||||||
|
[JsonIgnore]
|
||||||
public ReadingCriterionPage ReadingCriterionPage { get; set; }
|
public ReadingCriterionPage ReadingCriterionPage { get; set; }
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("ParentId")]
|
[ForeignKey("ParentId")]
|
||||||
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("RelevanceId")]
|
[ForeignKey("RelevanceId")]
|
||||||
public ReadingQuestionTrial RelevanceReadingQuestionTrial { get; set; }
|
public ReadingQuestionTrial RelevanceReadingQuestionTrial { get; set; }
|
||||||
|
[JsonIgnore]
|
||||||
[ForeignKey("ReadingQuestionCriterionTrialId")]
|
[ForeignKey("ReadingQuestionCriterionTrialId")]
|
||||||
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
|
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
|
||||||
|
|
||||||
|
|
|
@ -487,6 +487,31 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//系统 医学审核问题
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineSystemQuestion)))
|
||||||
|
{
|
||||||
|
var entity = item.Entity as ReadingMedicineSystemQuestion;
|
||||||
|
|
||||||
|
await InsertInspection<ReadingMedicineSystemQuestion>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
IsDistinctionInterface = false,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
//项目医学审核问题
|
||||||
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingMedicineTrialQuestion)))
|
||||||
|
{
|
||||||
|
var entity = item.Entity as ReadingMedicineTrialQuestion;
|
||||||
|
|
||||||
|
await InsertInspection<ReadingMedicineTrialQuestion>(entity, type, x => new InspectionConvertDTO()
|
||||||
|
{
|
||||||
|
IsDistinctionInterface = false,
|
||||||
|
ObjectRelationParentId = x.TrialId
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//Qc 问题
|
//Qc 问题
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCQuestion)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(QCQuestion)))
|
||||||
{
|
{
|
||||||
|
@ -823,6 +848,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//项目临床数据配置
|
//项目临床数据配置
|
||||||
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ClinicalDataTrialSet)))
|
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ClinicalDataTrialSet)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue