Inheritance: AbstractTO
Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
        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]);
            }
        }
Esempio n. 4
0
        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]);
            }
        }