Compare commits
No commits in common. "e4cf4cc8b84965a7926fe2c91da3277c4ee42431" and "253084393141437294af14d3deeffe4c12f9087a" have entirely different histories.
e4cf4cc8b8
...
2530843931
|
|
@ -346,8 +346,6 @@ namespace IRaCIS.Application.Contracts
|
||||||
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
public DateTime UpdateTime { get; set; } = DateTime.Now;
|
||||||
public Guid CreateUserId { get; set; }
|
public Guid CreateUserId { get; set; }
|
||||||
public DateTime CreateTime { get; set; } = DateTime.Now;
|
public DateTime CreateTime { get; set; } = DateTime.Now;
|
||||||
|
|
||||||
public int? SCPStudyCount { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UpdateSubjectVisitStudyBindingCommand
|
public class UpdateSubjectVisitStudyBindingCommand
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,7 @@ namespace IRaCIS.Core.Application.Service
|
||||||
CreateMap<SCPPatient, PatientQueryView>()
|
CreateMap<SCPPatient, PatientQueryView>()
|
||||||
.ForMember(d => d.CalledAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CalledAE).Distinct()))
|
.ForMember(d => d.CalledAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CalledAE).Distinct()))
|
||||||
.ForMember(d => d.CallingAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CallingAE).Distinct()))
|
.ForMember(d => d.CallingAEList, u => u.MapFrom(s => s.SCPStudyList.Select(t => t.CallingAE).Distinct()))
|
||||||
.ForMember(d => d.PatientId, u => u.MapFrom(s => s.Id))
|
.ForMember(d => d.PatientId, u => u.MapFrom(s => s.Id));
|
||||||
.ForMember(d => d.SCPStudyCount, u => u.MapFrom(s => s.SCPStudyList.Count()));
|
|
||||||
|
|
||||||
CreateMap<SCPStudySubjectVisit, VisitPatientStudyView>().IncludeMembers(t => t.SCPStudy)
|
CreateMap<SCPStudySubjectVisit, VisitPatientStudyView>().IncludeMembers(t => t.SCPStudy)
|
||||||
.ForMember(d => d.VisitName, u => u.MapFrom(s => s.SubjectVisit.VisitName));
|
.ForMember(d => d.VisitName, u => u.MapFrom(s => s.SubjectVisit.VisitName));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue