SMPMS02240_외래및입원환자현황.xrw 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>외래 및 입원환자통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <grdpatstats>
  11. <grdpatstatslist/>
  12. </grdpatstats>
  13. <result/>
  14. </main>
  15. <send>
  16. <fromdd/>
  17. <todd/>
  18. </send>
  19. <hidden>
  20. </hidden>
  21. <source>
  22. <srchcond/>
  23. <pid/>
  24. <hngnm/>
  25. <rrgstno1/>
  26. <rrgstno2/>
  27. <acptdd/>
  28. </source>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. zbcfGetCodeList(new Array("P0008","P0021","P0341","P0022","P0020","P0029","P0344", "P0010"),
  34. new Array("/root/init/comncdlist/P0008list","/root/init/comncdlist/P0021list","/root/init/comncdlist/P0341list","/root/init/comncdlist/P0022list","/root/init/comncdlist/P0020list"
  35. ,"/root/init/comncdlist/P0029list","/root/init/comncdlist/P0344list", "/root/init/comncdlist/P0010list"));
  36. //진료과코드 진료의사ID 조회
  37. pamGetDeptCDDrIDList();
  38. //초기화 및 날자 입력 항목에 오늘 날자 세팅
  39. fInitialize();
  40. ]]>
  41. </script>
  42. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  43. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  44. <submission id="TRPMS02241" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grdpatstats"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  51. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  52. <script type="javascript">
  53. <![CDATA[
  54. function fInitialize() {
  55. //날자 입력 항목에 오늘 날자 세팅
  56. var curDate = getCurrentDate();
  57. curDate = curDate.toDate().getAddDate(-1,"D");
  58. var nextDate = curDate.getFullYear();
  59. nextDate = nextDate.toString() + (( curDate.getMonth() + 1 > 9 ) ? curDate.getMonth() + 1 : "0" + (curDate.getMonth() + 1));
  60. nextDate = nextDate.toString() + (( curDate.getDate() > 9 ) ? curDate.getDate() : "0" + curDate.getDate()) ;
  61. model.setValue("/root/send/todd", nextDate);
  62. var prviousDate = getCurrentDate();
  63. prviousDate = prviousDate.toDate().getAddDate(-7,"D");
  64. var previousDay = prviousDate.getFullYear();
  65. previousDay = previousDay.toString() + (( prviousDate.getMonth() + 1 > 9 ) ? prviousDate.getMonth() + 1 : "0" + (prviousDate.getMonth() + 1));
  66. previousDay = previousDay.toString() + (( prviousDate.getDate() > 9 ) ? prviousDate.getDate() : "0" + prviousDate.getDate()) ;
  67. model.setValue("/root/send/fromdd", previousDay);
  68. model.toggle("case_otpt");
  69. model.refresh();
  70. }
  71. ]]>
  72. </script>
  73. </xhtml:head>
  74. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  75. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">외래 및 입원환자통계</caption>
  76. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  77. <group id="group4" scroll="auto" style="left:0px; top:732px; width:1190px; height:33px; ">
  78. <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:1160px; y2:0px; "/>
  79. <button id="btn_clear" class="btn4_letter3" style="left:1090px; top:5px; width:68px; height:22px; ">
  80. <caption>초기화</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. fInitialize();
  84. ]]>
  85. </script>
  86. </button>
  87. </group>
  88. <group id="group6" style="left:0px; top:70px; width:1180px; height:660px; ">
  89. <switch id="swt_outpatient" style="left:0px; top:5px; width:1160px; height:635px; border-color:#c7a3cf; border-style:solid; ">
  90. <case id="case_otpt" style="left:0px; top:5px; width:1210px; height:648px; ">
  91. <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:1155px; y2:25px; "/>
  92. <button id="btn_cnclexcel" class="btn2_letter4" style="left:1088px; top:3px; width:64px; height:19px; ">
  93. <caption>엑셀저장</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  97. if (fileName != "")
  98. {
  99. grd_change.saveExcel(fileName, "SheetName", true, true, "", "");
  100. }
  101. window.exec(fileName);
  102. ]]>
  103. </script>
  104. </button>
  105. <datagrid id="grd_change" nodeset="/root/main/grdpatstats/grdpatstatslist" class="datagrid2" visibility="visible" caption="임상과^외래^외래^외래^외래^외래^외래^ 입원^ 입원^퇴원^퇴원|임상과^병원초진^과초진^재진^합계^초진율^진료Unit(선택)^입원^재원^실인원^평균재원일수" colsep="^" colwidth="120, 80, 80, 80, 80, 80, 120, 80, 80, 80, 100" dataheight="23" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:30px; width:1150px; height:585px; ">
  106. <col ref="depthngnm" style="text-align:left; "/>
  107. <col ref="fstord" style="text-align:right; "/>
  108. <col ref="fstdeptord" style="text-align:right; "/>
  109. <col ref="reord" style="text-align:right; "/>
  110. <col ref="gnrnsum" visibility="visible" style="text-align:right; "/>
  111. <col ref="ratio" style="text-align:right; "/>
  112. <col ref="unitcnt" style="text-align:right; "/>
  113. <col ref="incnt" style="text-align:right; "/>
  114. <col ref="inhosp" style="text-align:right; "/>
  115. <col ref="outcnt" style="text-align:right; "/>
  116. <col ref="inhospav" style="text-align:right; "/>
  117. </datagrid>
  118. <button id="button4" class="btn2_letter2" style="left:1038px; top:3px; width:42px; height:19px; ">
  119. <caption>출력</caption>
  120. <script type="javascript" ev:event="DOMActivate">
  121. <![CDATA[
  122. exeReportPreview("RPPAS02401", "XMLSTR", "","", "true","","","","","true");
  123. ]]>
  124. </script>
  125. </button>
  126. </case>
  127. </switch>
  128. </group>
  129. <group id="group5" style="left:0px; top:15px; width:1180px; height:50px; vertical-align:top; ">
  130. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1160px; height:47px; "/>
  131. <button id="button1" class="btn1_letter2" style="left:1089px; top:10px; width:56px; height:22px; ">
  132. <caption>조회</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. submit("TRPMS02241");
  136. model.refresh();
  137. ]]>
  138. </script>
  139. </button>
  140. <line id="line13" class="line_4" style="x1:1085px; y1:7px; x2:1085px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
  141. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:105px; top:14px; width:95px; height:19px; "/>
  142. <caption id="radio_goobun" class="search_name" style="left:17px; top:14px; width:93px; height:17px; ">조회기간 :</caption>
  143. <caption id="caption1" style="left:202px; top:15px; width:15px; height:15px; ">~</caption>
  144. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:215px; top:14px; width:95px; height:19px; "/>
  145. </group>
  146. </xhtml:body>
  147. </xhtml:html>