SMPMO00996_감사자료조회(비급여).xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. <nopysumdata>
  11. <depthngnm/>
  12. <snglcalcscorcd/>
  13. <calchngnm/>
  14. <hunitcost/>
  15. <totqty/>
  16. <totamt/>
  17. <year/>
  18. <orddeptcd/>
  19. <ioflag/>
  20. <brateflag/>
  21. <snglcalcscorcd/>
  22. </nopysumdata>
  23. </main>
  24. <send>
  25. <reqdata>
  26. <orddeptcd/>
  27. <ioflag/>
  28. <year/>
  29. <brateflag/>
  30. <snglcalcscorcd/>
  31. </reqdata>
  32. </send>
  33. <init/>
  34. <init_pam>
  35. <init/>
  36. </init_pam>
  37. </root>
  38. </instance>
  39. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  40. <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_pam/init"/>
  41. <submission id="TRPAO05004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main"/>
  42. </model>
  43. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  48. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  49. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. submit("TRPAMCOM01");
  53. //addComboInstance("/root/init_pam/init/orddeptcd" , "cd^nm", "-^전체", "");
  54. addComboItem("cmb_orddeptcd","전체", "-", "above");
  55. model.makeValue("/root/send/reqdata/year", "-");
  56. model.makeValue("/root/send/reqdata/orddeptcd", "-");
  57. model.makeValue("/root/send/reqdata/ioflag", "-");
  58. model.makeValue("/root/send/reqdata/brateflag", "-");
  59. model.refresh();
  60. ]]>
  61. </script>
  62. </xhtml:head>
  63. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  64. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  65. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">자료조회</caption>
  66. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  67. </group>
  68. <group id="group5" style="left:0px; top:15px; width:1195px; height:45px; vertical-align:top; ">
  69. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:45px; "/>
  70. <line id="line13" class="line_4" style="x1:1056px; y1:7px; x2:1056px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
  71. <caption id="caption21" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">조회연도 :</caption>
  72. <button id="btn_search" class="btn2_letter2" style="left:1062px; top:13px; width:56px; height:22px; ">
  73. <caption>조회</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. if(submit("TRPAO05004")){
  77. model.refresh();
  78. }
  79. ]]>
  80. </script>
  81. </button>
  82. <caption id="caption1" class="search_name" style="left:401px; top:8px; width:86px; height:17px; ">진료과 :</caption>
  83. <select1 id="cmb_orddeptcd" ref="/root/send/reqdata/orddeptcd" appearance="minimal" style="left:480px; top:10px; width:135px; height:19px; text-align:center; vertical-align:middle; ">
  84. <choices>
  85. <itemset nodeset="/root/init_pam/init/orddeptcd">
  86. <label ref="nm"/>
  87. <value ref="cd"/>
  88. </itemset>
  89. </choices>
  90. </select1>
  91. <caption id="caption2" class="search_name" style="left:626px; top:8px; width:86px; height:17px; ">수진구분:</caption>
  92. <select1 id="combo3" ref="/root/send/reqdata/ioflag" appearance="minimal" style="left:715px; top:10px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  93. <choices>
  94. <item>
  95. <label>전체</label>
  96. <value>-</value>
  97. </item>
  98. <item>
  99. <label>외래</label>
  100. <value>O</value>
  101. </item>
  102. <item>
  103. <label>입원</label>
  104. <value>I</value>
  105. </item>
  106. </choices>
  107. </select1>
  108. <button id="button1" class="btn2_letter4" style="left:1111px; top:13px; width:64px; height:19px; ">
  109. <caption>엑셀저장</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. var fileName = window.fileDialog("save", ",", false, "비급여합계", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  113. grd_nopysum.saveExcel(fileName, "sheet1");
  114. ]]>
  115. </script>
  116. </button>
  117. <select1 id="ipt_year" ref="/root/send/reqdata/year" appearance="minimal" style="left:105px; top:10px; width:75px; height:19px; ">
  118. <choices>
  119. <item>
  120. <label>전체</label>
  121. <value>-</value>
  122. </item>
  123. <item>
  124. <label>2013년</label>
  125. <value>2013</value>
  126. </item>
  127. <item>
  128. <label>2014년</label>
  129. <value>2014</value>
  130. </item>
  131. <item>
  132. <label>2015년</label>
  133. <value>2015</value>
  134. </item>
  135. <item>
  136. <label>2016년</label>
  137. <value>2016</value>
  138. </item>
  139. </choices>
  140. </select1>
  141. <caption id="caption3" class="search_name" style="left:826px; top:8px; width:119px; height:17px; ">입퇴/외퇴 구분:</caption>
  142. <select1 id="combo1" ref="/root/send/reqdata/brateflag" appearance="minimal" style="left:945px; top:10px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  143. <choices>
  144. <item>
  145. <label>전체</label>
  146. <value>-</value>
  147. </item>
  148. <item>
  149. <label>외퇴</label>
  150. <value>O</value>
  151. </item>
  152. <item>
  153. <label>입퇴</label>
  154. <value>I</value>
  155. </item>
  156. </choices>
  157. </select1>
  158. <caption id="caption5" class="search_name" style="left:186px; top:8px; width:86px; height:17px; ">수가코드 :</caption>
  159. <input id="ipt_snglcalcscorcd" ref="/root/send/reqdata/snglcalcscorcd" style="left:275px; top:10px; width:120px; height:19px; "/>
  160. </group>
  161. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
  162. <datagrid id="grd_nopysum" nodeset="/root/main/nopysumdata" autoresize="true" caption="연도^진료과^수진형태^입외퇴구분^수가코드^수가명^단가^처방건수^금액^orddeptcd^snglcalcscorcd" colsep="^" colwidth="63, 150, 78, 79, 109, 290, 150, 150, 150, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:1195px; height:710px; ">
  163. <col ref="year" style="text-align:center; "/>
  164. <col ref="depthngnm" style="text-align:left; "/>
  165. <col disabled="true" ref="ioflag" type="combo">
  166. <choices>
  167. <item>
  168. <label>외래</label>
  169. <value>O</value>
  170. </item>
  171. <item>
  172. <label>입원</label>
  173. <value>I</value>
  174. </item>
  175. </choices>
  176. </col>
  177. <col disabled="true" ref="brateflag" type="combo">
  178. <choices>
  179. <item>
  180. <label>외퇴</label>
  181. <value>O</value>
  182. </item>
  183. <item>
  184. <label>입퇴</label>
  185. <value>I</value>
  186. </item>
  187. </choices>
  188. </col>
  189. <col ref="snglcalcscorcd" style="text-align:left; "/>
  190. <col ref="calchngnm" style="text-align:left; "/>
  191. <col ref="hunitcost" format="#,###" style="text-align:right; "/>
  192. <col ref="totqty" style="text-align:right; "/>
  193. <col ref="totamt" format="#,###" style="text-align:right; "/>
  194. <col ref="orddeptcd" visibility="hidden"/>
  195. <col ref="snglcalcscorcd" visibility="hidden"/>
  196. <script type="javascript" ev:event="ondblclick">
  197. <![CDATA[
  198. var row = grd_nopysum.row;
  199. if(row>=grd_nopysum.fixedRows){
  200. setParameter("year", grd_nopysum.valueMatrix(row, grd_nopysum.colRef("year")));
  201. setParameter("orddeptcd", grd_nopysum.valueMatrix(row, grd_nopysum.colRef("orddeptcd")));
  202. setParameter("ioflag", grd_nopysum.valueMatrix(row, grd_nopysum.colRef("ioflag")));
  203. setParameter("brateflag", grd_nopysum.valueMatrix(row, grd_nopysum.colRef("brateflag")));
  204. setParameter("snglcalcscorcd", grd_nopysum.valueMatrix(row, grd_nopysum.colRef("snglcalcscorcd")));
  205. modal("SMPMO00995");
  206. }
  207. ]]>
  208. </script>
  209. <script type="javascript" ev:event="onaftersort">
  210. <![CDATA[
  211. grd_nopysum.gridToInstance();
  212. ]]>
  213. </script>
  214. </datagrid>
  215. </xhtml:body>
  216. </xhtml:html>