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