Uat_Study
parent
32bd9c4624
commit
57bec89d11
|
@ -208,6 +208,9 @@ namespace IRaCIS.Application.Contracts
|
||||||
public string BlindNameCN { get; set; } = string.Empty;
|
public string BlindNameCN { get; set; } = string.Empty;
|
||||||
|
|
||||||
public Guid? SpecialityId { get; set; } = Guid.Empty;
|
public Guid? SpecialityId { get; set; } = Guid.Empty;
|
||||||
|
|
||||||
|
public string SpecialityCN { get; set; } = string.Empty;
|
||||||
|
public string Speciality { get; set; } = string.Empty;
|
||||||
public string SpecialityOther { get; set; } = string.Empty;
|
public string SpecialityOther { get; set; } = string.Empty;
|
||||||
public string SpecialityOtherCN { get; set; } = string.Empty;
|
public string SpecialityOtherCN { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
|
|
@ -139,6 +139,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
CreateMap<Enroll, ConfirmationReviewerDTO>().IncludeMembers(t => t.Doctor, t => t.Doctor.Hospital)
|
CreateMap<Enroll, ConfirmationReviewerDTO>().IncludeMembers(t => t.Doctor, t => t.Doctor.Hospital)
|
||||||
.ForMember(o => o.DictionaryList, t => t.MapFrom(u => u.Doctor.DoctorDicRelationList.Where(t => t.KeyName == StaticData.ReadingType || t.KeyName == StaticData.Subspeciality).Select(t => t.Dictionary).OrderBy(t => t.ShowOrder)))
|
.ForMember(o => o.DictionaryList, t => t.MapFrom(u => u.Doctor.DoctorDicRelationList.Where(t => t.KeyName == StaticData.ReadingType || t.KeyName == StaticData.Subspeciality).Select(t => t.Dictionary).OrderBy(t => t.ShowOrder)))
|
||||||
|
.ForMember(d => d.Speciality, u => u.MapFrom(s => s.Doctor.Speciality.Value))
|
||||||
|
.ForMember(d => d.SpecialityCN, u => u.MapFrom(s => s.Doctor.Speciality.ValueCN))
|
||||||
.ForMember(d => d.Id, u => u.MapFrom(s => s.Doctor.Id));
|
.ForMember(d => d.Id, u => u.MapFrom(s => s.Doctor.Id));
|
||||||
CreateMap<Doctor, ConfirmationReviewerDTO>();
|
CreateMap<Doctor, ConfirmationReviewerDTO>();
|
||||||
CreateMap<Hospital, ConfirmationReviewerDTO>();
|
CreateMap<Hospital, ConfirmationReviewerDTO>();
|
||||||
|
|
Loading…
Reference in New Issue