public void setTestResult(CEvalItem aitem)
   {
      this.testresult = CAppConsts.StatusNone;

      if (aitem.resultcd.equals(this.resultcd) && this.resultcd.equals(CAppConsts.ResComplete))
      {
         this.testresult = CAppConsts.StatusPass;
         return;
      }

      if (aitem.resultcd.equals(this.resultcd) && this.resultcd.equals(CAppConsts.ResImmune))
      {
         this.testresult = CAppConsts.StatusPass;
         return;
      }

      if (!aitem.resultcd.equals(this.resultcd))
      {
         this.testresult = CAppConsts.StatusFail;
         return;
      }

      if (aitem.doseord != this.doseord)
      {
         this.testresult = CAppConsts.StatusFail;
         return;
      }

      if (aitem.acceldate.getTime() != this.acceldate.getTime())
      {
         this.testresult = CAppConsts.StatusFail;
         return;
      }

      if (aitem.recomdate.getTime() != this.recomdate.getTime())
      {
         this.testresult = CAppConsts.StatusFail;
         return;
      }

      if (aitem.overduedate.getTime() != this.overduedate.getTime())
      {
         this.testresult = CAppConsts.StatusFail;
         return;
      }

      this.testresult = CAppConsts.StatusPass;
   }