Examples of EntityDisplay


Examples of org.mbhcare.shared.entity.EntityDisplay

      String type = "0";
      if (item.getDiagnostictype() != null)
      {
        type = item.getDiagnostictype().toString();
      }
      result.add(new EntityDisplay(new String[] {
          item.getId(),
          ngaykham, type,
          item.getKetluanchung().getDescription()
          }));
    }
View Full Code Here

Examples of org.mbhcare.shared.entity.EntityDisplay

      if (item.getNgaykham() != null)
      {
        ngaykham = Long.toString(item.getNgaykham().getTime());
      }
     
      result.add(new EntityDisplay(new String[] {         
          ngaykham,
          item.getChieudaixuongdui().toString(),
          item.getChieudaidaumong().toString(),
          item.getChuvivongdau().toString(),
          item.getChuvibung().toString(),
View Full Code Here

Examples of org.mbhcare.shared.entity.EntityDisplay

      query.setFilter("diagnosis == :diagnosis");       
      query.setOrdering("createdAt desc");
      List<DiagnosisImage> diagnosisImage = (List<DiagnosisImage>)query.execute(id);
     
      for (DiagnosisImage item : diagnosisImage) {         
        result.add(new EntityDisplay(new String[] {                       
          item.getId()}));
      }   
    }
    return result;
  }
View Full Code Here

Examples of org.mbhcare.shared.entity.EntityDisplay

      String ngaykinhcuoi = "";
      if (item.getNgaykinhcuoi() != null)
      {
        ngaykinhcuoi = Long.toString(item.getNgaykinhcuoi().getTime());
      }
      result.add(new EntityDisplay(new String[] {
          item.getId(),
          ngaykinhcuoi,
          item.getTime().toString(),
          "0"//String.valueOf(item.getDisplayType())
          }));
View Full Code Here

Examples of org.mbhcare.shared.entity.EntityDisplay

          //        String birthday = "";
          //        if (patient.getBirthDay() != null)
          //        {
          //          birthday = Long.toString(patient.getBirthDay().getTime());
          //        }
          result.add(new EntityDisplay(new String[] {
              patient.getId(), patient.getLastName(), patient.getFirstName(),
              patient.getBirthYear(),
              //birthday, patient.getAddress(),patient.getPhone(),
              //patient.getEmail(),
              patient.getNotes()}));
View Full Code Here

Examples of org.mbhcare.shared.entity.EntityDisplay

//      String birthday = "";
//      if (patient.getBirthDay() != null)
//      {
//        birthday = Long.toString(patient.getBirthDay().getTime());
//      }
      result.add(new EntityDisplay(new String[] {
          patient.getId(), patient.getLastName(),patient.getFirstName(),
          patient.getBirthYear(), //birthday,
          //patient.getAddress(),patient.getPhone(),
          //patient.getEmail(),
          patient.getNotes()
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.