SPPMC03100_신체감정현황조회.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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. <send>
  10. <data1>
  11. <reffromdd/>
  12. <reftodd/>
  13. </data1>
  14. <data2>
  15. <sess_posinstcd>012</sess_posinstcd>
  16. </data2>
  17. </send>
  18. <main>
  19. <list>
  20. <grdorgnjudglist/>
  21. </list>
  22. </main>
  23. <hidden>
  24. <init>
  25. <flag>
  26. <prestdd/>
  27. <mskindflag/>
  28. </flag>
  29. </init>
  30. <currentDate/>
  31. </hidden>
  32. <init>
  33. <comncdlist>
  34. <P0008list>
  35. <P0008>
  36. <cdnm/>
  37. <cdid/>
  38. </P0008>
  39. </P0008list>
  40. <P0021list>
  41. <P0021>
  42. <cdnm/>
  43. <cdid/>
  44. </P0021>
  45. </P0021list>
  46. <P0341list>
  47. <P0341>
  48. <cdnm/>
  49. <cdid/>
  50. </P0341>
  51. </P0341list>
  52. <P0022list>
  53. <P0022>
  54. <cdnm/>
  55. <cdid/>
  56. </P0022>
  57. </P0022list>
  58. <P0020list>
  59. <P0020>
  60. <cdnm/>
  61. <cdid/>
  62. </P0020>
  63. </P0020list>
  64. <P0029list>
  65. <P0029>
  66. <cdnm/>
  67. <cdid/>
  68. </P0029>
  69. </P0029list>
  70. <P0344list>
  71. <P0344>
  72. <cdnm/>
  73. <cdid/>
  74. </P0344>
  75. </P0344list>
  76. <P0008list>
  77. <P0008>
  78. <cdnm/>
  79. <cdid/>
  80. </P0008>
  81. </P0008list>
  82. <P0010list>
  83. <P0010>
  84. <cdnm/>
  85. <cdid/>
  86. </P0010>
  87. </P0010list>
  88. </comncdlist>
  89. <orddeptcd>
  90. <orddeptcdlist>
  91. <nm/>
  92. <cd/>
  93. </orddeptcdlist>
  94. </orddeptcd>
  95. <orddrid>
  96. <orddridlist>
  97. <cd/>
  98. <nm/>
  99. <dp/>
  100. <sp/>
  101. </orddridlist>
  102. </orddrid>
  103. <hidden/>
  104. </init>
  105. </root>
  106. </instance>
  107. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  108. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. zbcfGetCodeList(new Array("P0008","P0021","P0341","P0022","P0020","P0029","P0344", "P0010"),
  112. new Array("/root/init/comncdlist/P0008list","/root/init/comncdlist/P0021list","/root/init/comncdlist/P0341list","/root/init/comncdlist/P0022list","/root/init/comncdlist/P0020list"
  113. ,"/root/init/comncdlist/P0029list","/root/init/comncdlist/P0344list", "/root/init/comncdlist/P0010list"));
  114. //진료과코드 진료의사ID 조회
  115. pamGetDeptCDDrIDList();
  116. model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/cd");
  117. model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/nm");
  118. copyNodesetType("/root/init/orddeptcd/orddeptcdlist", "/root/init/temp/orddeptcd/orddeptcdlist", "before");
  119. // 시스템 날자
  120. model.setValue("/root/hidden/currentDate", getCurrentDate());
  121. // 방문일정을 오늘날자로 세팅
  122. model.setValue("/root/send/data1/reffromdd",model.getValue("/root/hidden/currentDate"));
  123. model.setValue("/root/send/data1/reftodd",model.getValue("/root/hidden/currentDate"));
  124. model.refresh();
  125. ]]>
  126. </script>
  127. <submission id="TRPMC03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/list"/>
  128. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  129. </model>
  130. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  132. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  133. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  134. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  135. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  136. <script type="javascript">
  137. <![CDATA[
  138. function fInitialize(gubn)
  139. {
  140. model.removeNodeset("/root/main/list");
  141. model.makeNode("/root/main/list");
  142. model.refresh();
  143. }
  144. //자체기초코드 조회
  145. function fComCDRef()
  146. {
  147. submit("TRPMI00106");
  148. model.refresh();
  149. }
  150. ]]>
  151. </script>
  152. </xhtml:head>
  153. <xhtml:body pagewidth="769" pageheight="581" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  154. <group id="group1" style="left:0px; top:0px; width:752px; height:580px; ">
  155. <group id="group2" style="left:0px; top:10px; width:752px; height:35px; ">
  156. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:752px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  157. <caption id="caption32" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회기간 :</caption>
  158. <input id="input4" ref="/root/send/data1/reffromdd" class="input_search" inputtype="date" style="left:108px; top:8px; width:100px; height:19px; "/>
  159. <input id="input1" ref="/root/send/data1/reftodd" class="input_search" inputtype="date" style="left:226px; top:8px; width:100px; height:19px; "/>
  160. <caption id="caption1" style="left:211px; top:10px; width:12px; height:16px; vertical-align:middle; ">~</caption>
  161. <button id="btn_srch" class="btn1_letter2" style="left:681px; top:7px; width:56px; height:22px; ">
  162. <caption>조회</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. // 신체감정현황 조회
  166. submit("TRPMC03100");
  167. /*
  168. if(submit("TRPMC03100")) {
  169. var patrefcnt = getNodesetCount("/root/hidden/rcv/list/grdrepltermstatslist");
  170. if (patrefcnt > 0) {
  171. copyNodeType("/root/main/list","/root/hidden/rcv/list","replace");
  172. } else {
  173. model.removeNodeset("/root/main/list");
  174. model.makeNode("/root/main/list");
  175. }
  176. model.refresh();
  177. }
  178. */
  179. ]]>
  180. </script>
  181. </button>
  182. <line id="line1" class="line_4" style="x1:666px; y1:5px; x2:666px; y2:27px; border-color:#ffcc99; border-style:solid; "/>
  183. </group>
  184. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">신체감정현황</caption>
  185. <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:752px; y2:70px; "/>
  186. <button id="button3" class="btn2_letter4" style="left:688px; top:50px; width:64px; height:19px; ">
  187. <caption>액셀저장</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  191. if (fileName != "")
  192. {
  193. grd_orgnjudg.saveExcel(fileName, "SheetName", true, true, "", "");
  194. }
  195. window.exec(fileName);
  196. ]]>
  197. </script>
  198. </button>
  199. <group id="group3" style="left:0px; top:553px; width:752px; height:27px; ">
  200. <button id="button2" class="btn4_letter2" style="left:696px; top:5px; width:56px; height:22px; ">
  201. <caption>닫기</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. window.close();
  205. ]]>
  206. </script>
  207. </button>
  208. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:752px; y2:0px; "/>
  209. </group>
  210. <datagrid id="grd_orgnjudg" nodeset="/root/main/list/grdorgnjudglist" caption="구분^진료과^외래^외래^입원^입원^합계^합계^전월^전월|구분^진료과^환자수^금액^환자수^금액^환자수^금액^환자수^금액" colsep="^" colwidth="0, 150, 80, 118, 80, 118, 80, 118, 0, 0" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" style="left:0px; top:75px; width:752px; height:478px; ">
  211. <col ref="flag"/>
  212. <col ref="orddeptcd" type="combo">
  213. <choices>
  214. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  215. <label ref="nm"/>
  216. <value ref="cd"/>
  217. </itemset>
  218. </choices>
  219. </col>
  220. <col ref="otptpatnumber" format="#,###" style="text-align:center; "/>
  221. <col ref="otptamt" format="#,###" style="text-align:right; "/>
  222. <col ref="inptpatnumber" format="#,###" style="text-align:center; "/>
  223. <col ref="inptamt" format="#,###" style="text-align:right; "/>
  224. <col ref="patnumber" format="#,###" style="text-align:center; "/>
  225. <col ref="amt" format="#,###" style="text-align:right; "/>
  226. <col ref="beforepatnumber" visibility="hidden" format="#,###" style="text-align:center; "/>
  227. <col ref="beforeamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  228. </datagrid>
  229. </group>
  230. </xhtml:body>
  231. </xhtml:html>