Inheritance: AbstractTO
Ejemplo 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;
 }
Ejemplo 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;
 }
Ejemplo 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]);
            }
        }
Ejemplo 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]);
            }
        }