Update of /cvsroot/oscarmcmaster/oscar_mcmaster/web/WEB-INF/classes/src/org/oscarehr/common/web
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv8595/WEB-INF/classes/src/org/oscarehr/common/web
Modified Files:
Tag: RELEASE_9_12
DxresearchReportAction.java
Log Message:
add more appointment status icons / icd9 report give total number
Index: DxresearchReportAction.java
===================================================================
RCS file: /cvsroot/oscarmcmaster/oscar_mcmaster/web/WEB-INF/classes/src/org/oscarehr/common/web/DxresearchReportAction.java,v
retrieving revision 1.5.2.3
retrieving revision 1.5.2.4
diff -C2 -d -r1.5.2.3 -r1.5.2.4
*** DxresearchReportAction.java 3 Nov 2010 03:16:31 -0000 1.5.2.3
--- DxresearchReportAction.java 10 Nov 2010 17:46:27 -0000 1.5.2.4
***************
*** 73,76 ****
--- 73,81 ----
List patientInfo = dxresearchdao.patientRegistedAll(codeSearch,providerNoList);
request.getSession().setAttribute("listview", patientInfo);
+ if (patientInfo == null || patientInfo.size()==0)
+ {
+ request.getSession().setAttribute("Counter", 0);
+ }else
+ request.getSession().setAttribute("Counter", patientInfo.size());
request.getSession().setAttribute("radiovaluestatus", "patientRegistedAll");
return mapping.findForward(SUCCESS);
***************
*** 92,95 ****
--- 97,105 ----
List patientInfo = dxresearchdao.patientRegistedDistincted(codeSearch,providerNoList);
request.getSession().setAttribute("listview", patientInfo);
+ if (patientInfo == null || patientInfo.size()==0)
+ {
+ request.getSession().setAttribute("Counter", 0);
+ }else
+ request.getSession().setAttribute("Counter", patientInfo.size());
request.getSession().setAttribute("radiovaluestatus", "patientRegistedDistincted");
return mapping.findForward(SUCCESS);
***************
*** 111,114 ****
--- 121,129 ----
List patientInfo = dxresearchdao.patientRegistedDeleted(codeSearch,providerNoList);
request.getSession().setAttribute("listview", patientInfo);
+ if (patientInfo == null || patientInfo.size()==0)
+ {
+ request.getSession().setAttribute("Counter", 0);
+ }else
+ request.getSession().setAttribute("Counter", patientInfo.size());
request.getSession().setAttribute("radiovaluestatus", "patientRegistedDeleted");
return mapping.findForward(SUCCESS);
***************
*** 130,133 ****
--- 145,153 ----
List patientInfo = dxresearchdao.patientRegistedActive(codeSearch,providerNoList);
request.getSession().setAttribute("listview", patientInfo);
+ if (patientInfo == null || patientInfo.size()==0)
+ {
+ request.getSession().setAttribute("Counter", 0);
+ }else
+ request.getSession().setAttribute("Counter", patientInfo.size());
request.getSession().setAttribute("radiovaluestatus", "patientRegistedActive");
return mapping.findForward(SUCCESS);
***************
*** 149,152 ****
--- 169,177 ----
List patientInfo = dxresearchdao.patientRegistedResolve(codeSearch,providerNoList);
request.getSession().setAttribute("listview", patientInfo);
+ if (patientInfo == null || patientInfo.size()==0)
+ {
+ request.getSession().setAttribute("Counter", 0);
+ }else
+ request.getSession().setAttribute("Counter", patientInfo.size());
request.getSession().setAttribute("radiovaluestatus", "patientRegistedResolve");
return mapping.findForward(SUCCESS);
|