public ClinicalProcedureTO(ClinicalProcedure mdo) { if (mdo == null) { return; } this.name = mdo.Name; this.timestamp = mdo.Timestamp; this.id = mdo.Id; if (mdo.Facility != null) { this.facility = new SiteTO(mdo.Facility); } if (mdo.Note != null) { this.note = new NoteTO(mdo.Note); } report = mdo.Report; }