public static PatientRelevantPMHVoCollection buildFromBeanCollection(
     ims.emergency.vo.beans.PatientRelevantPMHVoBean[] beans) {
   PatientRelevantPMHVoCollection coll = new PatientRelevantPMHVoCollection();
   if (beans == null) return coll;
   for (int x = 0; x < beans.length; x++) {
     coll.add(beans[x].buildVo());
   }
   return coll;
 }
 public static PatientRelevantPMHVoCollection buildFromBeanCollection(java.util.Collection beans) {
   PatientRelevantPMHVoCollection coll = new PatientRelevantPMHVoCollection();
   if (beans == null) return coll;
   java.util.Iterator iter = beans.iterator();
   while (iter.hasNext()) {
     coll.add(((ims.emergency.vo.beans.PatientRelevantPMHVoBean) iter.next()).buildVo());
   }
   return coll;
 }