修改modality
parent
9f71ad86cb
commit
a38fc6fb18
|
@ -66,6 +66,8 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public string Modalitys { get; set; } = string.Empty;
|
public string Modalitys { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public List<string> ModalityList { get; set; } = new List<string>();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -654,7 +654,7 @@ namespace IRaCIS.Core.Application
|
||||||
|
|
||||||
var trialInfo = (await _trialRepository.FirstOrDefaultAsync(t => t.Id == trialConfig.TrialId)).IfNullThrowException();
|
var trialInfo = (await _trialRepository.FirstOrDefaultAsync(t => t.Id == trialConfig.TrialId)).IfNullThrowException();
|
||||||
|
|
||||||
|
trialConfig.Modalitys = $"|{String.Join('|', trialConfig.ModalityList)}|";
|
||||||
_mapper.Map(trialConfig, trialInfo);
|
_mapper.Map(trialConfig, trialInfo);
|
||||||
trialInfo.UpdateTime = DateTime.Now;
|
trialInfo.UpdateTime = DateTime.Now;
|
||||||
|
|
||||||
|
|
|
@ -263,6 +263,9 @@ namespace IRaCIS.Application.Contracts
|
||||||
|
|
||||||
//public List<ReadingCategory> ReadingCategorys { get; set; }
|
//public List<ReadingCategory> ReadingCategorys { get; set; }
|
||||||
|
|
||||||
|
public string UserName { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public List<TrialReadingCriterionDto> TrialReadingCriterionList { get; set; }
|
public List<TrialReadingCriterionDto> TrialReadingCriterionList { get; set; }
|
||||||
|
|
||||||
public List<TrialCriterionReadingCategory> CriterionReadingCategoryList { get; set; }
|
public List<TrialCriterionReadingCategory> CriterionReadingCategoryList { get; set; }
|
||||||
|
|
|
@ -232,8 +232,8 @@ namespace IRaCIS.Application.Services
|
||||||
FirstName = doctor.FirstName,
|
FirstName = doctor.FirstName,
|
||||||
LastName = doctor.LastName,
|
LastName = doctor.LastName,
|
||||||
FullName = doctor.FullName,
|
FullName = doctor.FullName,
|
||||||
|
|
||||||
ChineseName = doctor.ChineseName,
|
ChineseName = doctor.ChineseName,
|
||||||
|
UserName= intoGroup.DoctorUser.UserName,
|
||||||
|
|
||||||
OutEnrollTime = intoGroup.OutEnrollTime,
|
OutEnrollTime = intoGroup.OutEnrollTime,
|
||||||
EnrollTime = intoGroup.EnrollTime,
|
EnrollTime = intoGroup.EnrollTime,
|
||||||
|
|
|
@ -2,6 +2,7 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
using System.Linq;
|
||||||
using IRaCIS.Core.Domain.Share;
|
using IRaCIS.Core.Domain.Share;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -236,6 +237,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
|
|
||||||
public string Modalitys { get; set; } = "CT|MR|BoneScan|Photograph|PET|X-ray|US";
|
public string Modalitys { get; set; } = "CT|MR|BoneScan|Photograph|PET|X-ray|US";
|
||||||
|
|
||||||
|
[NotMapped]
|
||||||
|
public List<string> ModalityList => Modalitys.Split('|', StringSplitOptions.RemoveEmptyEntries).Where(t => !string.IsNullOrEmpty(t)).ToList();
|
||||||
|
|
||||||
|
|
||||||
public string PreliminaryAuditReuploadText { get; set; } = string.Empty;
|
public string PreliminaryAuditReuploadText { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue