@Override public void exec(FrameJob job, FrameAction action) { if (action instanceof IPatientSerializableAction) { IPatientSerializableAction a = (IPatientSerializableAction) action; tpl.postForLocation("/vpr/" + a.getPid(), a); } }
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); } } }