Beispiel #1
0
 private void addOfDate(OfDate patientHistoryx, Tree t1) {
   if (t1.isPvariable()) {
     Pvariablex pvariablex = new Pvariablex(t1);
     if ("ofDate".equals(t1.getPvalueO().getPvariable())) {
       patientHistoryx.setPvOfDate(pvariablex);
     }
   }
 }
Beispiel #2
0
 private TaskPatientx taskPatientx(Tree taskT) {
   TaskPatientx taskPatientx = new TaskPatientx(taskT);
   for (Tree t1 : taskT.getChildTs()) {
     addOfDate(taskPatientx, t1);
     if (t1.isPvariable()) {
       Pvariablex pvariablex = new Pvariablex(t1);
       if ("cycle".equals(t1.getPvalueO().getPvariable())) {
         taskPatientx.setPvCycle(pvariablex);
       }
     }
   }
   log.debug(taskPatientx);
   return taskPatientx;
 }