public MammographyDto(MammographyDto m) { Id = m.Id; AppointmentID = m.AppointmentID; Laterality = m.Laterality; BreastDensity = m.BreastDensity; SurgeonName = m.SurgeonName; BIRADcode = m.BIRADcode; NotifiedBy = m.NotifiedBy; NotifiedDate = m.NotifiedDate; LayletterSentDate = m.LayletterSentDate; FollowUpDate = m.FollowUpDate; Tumors = new List <TumorDto>(m.Tumors.Select(t => new TumorDto(t))); IsDiscordant = m.IsDiscordant; IsPregnant = m.IsPregnant; HasImplants = m.HasImplants; LeftBreast = new PathologyDto(m.LeftBreast); RightBreast = new PathologyDto(m.RightBreast); Procedures = m.Procedures; IsDeleted = m.IsDeleted; }
public PathologyDto(PathologyDto p) { Id = p.Id; Pathologies = new List <PathologyDetailDto>(p.Pathologies.Select(d => new PathologyDetailDto(d))); Diagnoses = new List <PathologyDiagnosisDto>(p.Diagnoses.Select(d => new PathologyDiagnosisDto(d))); }
public MammographyDto() { RightBreast = new PathologyDto(); LeftBreast = new PathologyDto(); Tumors = new List <TumorDto>(); }