コード例 #1
0
 @Override
 public void exec(FrameJob job, FrameAction action) {
   if (action instanceof IPatientSerializableAction) {
     IPatientSerializableAction a = (IPatientSerializableAction) action;
     tpl.postForLocation("/vpr/" + a.getPid(), a);
   }
 }
コード例 #2
0
 protected void loadParamVals(FrameTask task) {
   IFrameEvent evt = task.getTriggerEvent();
   IFrame frame = task.getFrame();
   if (tpl != null && evt instanceof PatientEvent) {
     String pid = ((PatientEvent) evt).getPID();
     Map data = tpl.getForMap("/vpr/" + pid + "/urn:va:::frame:" + frame.getID());
     if (data != null && data.size() > 0) {
       task.setParams(data);
     }
   }
 }