public LabTestTO(LabTest mdo) { this.id = mdo.Id; this.name = mdo.Name; this.units = mdo.Units; this.lowRef = mdo.LowRef; this.hiRef = mdo.HiRef; this.refRange = mdo.RefRange; this.loinc = mdo.Loinc; this.category = mdo.Category; }
void setLabTests(LabTest[] tests) { if (tests == null || tests.Length == 0) { return; } IList<LabTest> temp = new List<LabTest>(); foreach (LabTest tst in tests) { temp.Add(tst); } this.count = tests.Length; this.labTests = new LabTestArray(temp); }
void setLabTests(LabTest test) { if (test == null) { return; } IList<LabTest> temp = new List<LabTest>() { test }; this.count = 1; this.labTests = new LabTestArray(temp); }
public TaggedLabTestArray(string tag, LabTest test) { this.tag = tag; setLabTests(test); }