public LabResultTO(LabResult mdo) { if (mdo.Test != null) { this.test = new LabTestTO(mdo.Test); } this.specimenType = mdo.SpecimenType; this.comment = mdo.Comment; this.value = StringUtils.stripInvalidXmlCharacters(mdo.Value); // http://trac.medora.va.gov/web/ticket/1447 this.boundaryStatus = mdo.BoundaryStatus; this.labSiteId = mdo.LabSiteId; }
public LabTestArray(IList <LabTest> labTests) { if (labTests == null || labTests.Count == 0) { return; } this.count = labTests.Count; tests = new LabTestTO[this.count]; for (int i = 0; i < labTests.Count; i++) { tests[i] = new LabTestTO(labTests[i]); } }
public LabTestArray(IList<LabTest> labTests) { if (labTests == null || labTests.Count == 0) { return; } this.count = labTests.Count; tests = new LabTestTO[this.count]; for (int i = 0; i < labTests.Count; i++) { tests[i] = new LabTestTO(labTests[i]); } }