SPPIF80301_DRG 진료비현황조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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>DRG 대상환자조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <fromdd/>
  11. <todd/>
  12. <clamym/>
  13. <kindcd>C</kindcd>
  14. <clamdg>1</clamdg>
  15. <ioflag>I</ioflag>
  16. <orddeptcd/>
  17. <robot>A</robot>
  18. </send>
  19. <main>
  20. <list>
  21. <datagrid/>
  22. </list>
  23. </main>
  24. <init>
  25. <clamdg/>
  26. <list1/>
  27. </init>
  28. <hidden>
  29. </hidden>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. CommCode_Load();
  35. submit("TRPIJ00203");
  36. // 그리드 초기화(행을 모두 삭제한다.)
  37. model.removeNodeset("/root/main/list/datagrid");
  38. model.setValue("/root/send/fromdd", getCurrentDate());
  39. model.setValue("/root/send/todd", getCurrentDate());
  40. model.setValue("/root/send/clamym", getCurrentDate().substr(0,6));
  41. model.refresh();
  42. pidfGetClamdg();
  43. addComboItem("cmb_clamdg","전체","","above");
  44. //addComboItem("cmb_orddeptcd","전체", "","above");
  45. ]]>
  46. </script>
  47. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  48. <submission id="TRPIJ00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list1"/>
  49. <submission id="TRPIF80301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  50. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/clamdg"/>
  51. </model>
  52. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript" src="../../../com/commonweb/js/tfHelperAsync.js"/>
  58. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  59. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. <script type="javascript" src="../../../pam/aftjudgweb/js/SMPID20000.js"/>
  62. <script type="javascript">
  63. <![CDATA[
  64. // 공통코드 Load작업
  65. function CommCode_Load() {
  66. // 관련 Control 초기화
  67. //submit("TRPIJ00203");
  68. //zbcfGetCodeList(new Array("P0028", "P0155", "M0530","M0029","P0443", "P0458"),
  69. //new Array("/root/init/P0028list", "/root/init/P0155list", "/root/init/M0530list", "/root/init/M0029list","/root/init/P0443list", "/root/init/P0458list"));
  70. }
  71. function responseHandlerTRPIF80301() {
  72. datagrid1.subtotalposition="below";
  73. for (i=datagrid1.colRef("h_ownbamt"); i <= datagrid1.colRef("drggapamt"); i++) {
  74. datagrid1.subtotal("sum", datagrid1.colRef("ioflag"), i, "(-)#,###", "background-color:#99ff99", datagrid1.colRef("orddeptcd"), "합계" , false);
  75. }
  76. model.refresh();
  77. removeLoadingWindow();
  78. }
  79. ]]>
  80. </script>
  81. </xhtml:head>
  82. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  84. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:15px; ">DRG 대상환자조회</caption>
  85. </group>
  86. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  87. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:38px; vertical-align:top; ">
  88. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  89. <button id="button1" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. var sWindowMsg = "데이터 조회 중입니다...";
  94. callLoadingWindow(sWindowMsg);
  95. asyncSend("TRPIF80301", "/root/send", "/root/main/list", "responseHandlerTRPIF80301");
  96. //submit("TRPIF80204");
  97. ]]>
  98. </script>
  99. </button>
  100. <line id="line13" class="line_4" style="x1:1118px; y1:7px; x2:1118px; y2:29px; "/>
  101. <input id="ipt_fromdd" ref="/root/send/clamym" inputtype="date" format="yyyy-mm" style="left:288px; top:10px; width:70px; height:19px; ">
  102. <script type="javascript" ev:event="xforms-value-changed">
  103. <![CDATA[
  104. pidfGetClamdg();
  105. addComboItem("cmb_clamdg","전체","","above");
  106. model.refresh();
  107. ]]>
  108. </script>
  109. </input>
  110. <caption id="caption13" class="search_name" style="left:215px; top:9px; width:82px; height:17px; ">청구월 :</caption>
  111. <select1 id="radio1" ref="/root/send/kindcd" appearance="full" cols="2" overflow="visible" style="left:90px; top:10px; width:120px; height:20px; border-style:none; ">
  112. <choices>
  113. <item>
  114. <label>청구월</label>
  115. <value>C</value>
  116. </item>
  117. <item>
  118. <label>퇴원일</label>
  119. <value>D</value>
  120. </item>
  121. </choices>
  122. </select1>
  123. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:95px; height:17px; ">기준선택 :</caption>
  124. <caption id="caption2" class="search_name" style="left:435px; top:10px; width:85px; height:17px; ">퇴원일 :</caption>
  125. <input id="input1" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:508px; top:11px; width:87px; height:19px; ">
  126. <script type="javascript" ev:event="xforms-value-changed">
  127. <![CDATA[
  128. ]]>
  129. </script>
  130. </input>
  131. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:610px; top:11px; width:90px; height:19px; ">
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. ]]>
  135. </script>
  136. </input>
  137. <caption id="caption3" style="left:597px; top:10px; width:15px; height:20px; ">~</caption>
  138. <select1 id="cmb_clamdg" ref="/root/send/clamdg" class="combo_search" appearance="minimal" style="left:359px; top:10px; width:60px; height:19px; ">
  139. <choices>
  140. <itemset nodeset="/root/init/clamdg/clamdglist">
  141. <label ref="clamdgnm"/>
  142. <value ref="clamdgcd"/>
  143. </itemset>
  144. </choices>
  145. </select1>
  146. <caption id="caption4" class="search_name" style="left:710px; top:10px; width:75px; height:17px; ">진료과 :</caption>
  147. <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:783px; top:10px; width:115px; height:19px; ">
  148. <choices>
  149. <itemset nodeset="/root/init/list1/deptlist">
  150. <label ref="depthngnm"/>
  151. <value ref="deptcd"/>
  152. </itemset>
  153. </choices>
  154. </select1>
  155. <caption id="caption5" class="search_name" style="left:909px; top:10px; width:85px; height:17px; ">로봇유무 :</caption>
  156. <select1 id="radio2" ref="/root/send/robot" appearance="full" cols="3" overflow="visible" style="left:995px; top:10px; width:110px; height:20px; border-style:none; ">
  157. <choices>
  158. <item>
  159. <label>전체</label>
  160. <value>A</value>
  161. </item>
  162. <item>
  163. <label>유</label>
  164. <value>Y</value>
  165. </item>
  166. <item>
  167. <label>무</label>
  168. <value>N</value>
  169. </item>
  170. </choices>
  171. </select1>
  172. </group>
  173. <button id="button12" class="btn2_letter4" style="left:1130px; top:55px; width:64px; height:19px; ">
  174. <caption>액셀저장</caption>
  175. <script type="javascript" ev:event="onclick">
  176. <![CDATA[
  177. var fileName = window.fileDialog("save", ",", false, caption10.value, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  178. if (fileName != "") {
  179. datagrid1.saveExcel(fileName, "sheetname:sheet1;exporttype:multi");
  180. }
  181. ]]>
  182. </script>
  183. </button>
  184. <line id="line2" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  185. <caption id="caption10" class="tit_2" style="left:0px; top:58px; width:265px; height:15px; ">DRG 대상환자 리스트</caption>
  186. <button id="button2" class="btn2_letter2" visibility="hidden" style="left:1087px; top:55px; width:42px; height:19px; ">
  187. <caption>출력</caption>
  188. <script type="javascript" ev:event="onclick">
  189. <![CDATA[
  190. exeReportPreview("RPPIF80200", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  191. ]]>
  192. </script>
  193. </button>
  194. <datagrid id="datagrid1" nodeset="/root/main/list/datagrid" caption="진료과^진료의^등록번호^환자명^나이^DRG번호^진단코드^수술코드^산부&#xA;인과&#xA;가산&#xA;유무^로봇&#xA;수술&#xA;유무^입원일자^퇴원일자^개시일^종료일^재원일^행위별내역^행위별내역^행위별내역^행위별내역^행위별내역^행위별내역^DRG내역^DRG내역^DRG내역^DRG내역^DRG내역^DRG내역^DRG내역^DRG내역^진료비총액차액^청구내역^청구내역^청구내역^청구내역^청구내역^cretno|진료과^진료의^등록번호^환자명^나이^DRG번호^진단코드^수술코드^산부&#xA;인과&#xA;가산&#xA;유무^로봇&#xA;수술&#xA;유무^입원일자^퇴원일자^개시일^종료일^재원일^본인부담금^본인부담금^본인부담금^본인부담금^공단부담금^총진료비^본인부담금^본인부담금^본인부담금^본인부담금^본인부담금^본인부담금^공단부담금^총진료비^진료비총액차액^청구월^차수^순번^접수번호^명일련번호^cretno|진료과^진료의^등록번호^환자명^나이^DRG번호^진단코드^수술코드^산부&#xA;인과&#xA;가산&#xA;유무^로봇&#xA;수술&#xA;유무^입원일자^퇴원일자^개시일^종료일^재원일^급여&#xA;(식대포함)^전액본인부담금^비급여액&#xA;(선택진료비포함)^계^공단부담금^총진료비^급여&#xA;(식대,외과가산포함)^열외군보상^DRG인정급여액^전액본인부담액^비급여액&#xA;(선택진료비포함)^계^공단부담금^총진료비^진료비총액차액^청구월^차수^순번^접수번호^명일련번호^cretno|진료과^진료의^등록번호^환자명^나이^DRG번호^진단코드^수술코드^산부&#xA;인과&#xA;가산&#xA;유무^로봇&#xA;수술&#xA;유무^입원일자^퇴원일자^개시일^종료일^재원일^급여&#xA;(식대포함)^전액본인부담금^비급여액&#xA;(선택진료비포함)^계^공단부담금^총진료비^급여&#xA;(식대,외과가산포함)^열외군보상^DRG인정급여액^전액본인부담액^비급여액&#xA;(선택진료비포함)^계^공단부담금^총진료비^진료비총액차액^청구월^차수^순번^접수번호^명일련번호^cretno" colsep="^" colwidth="100, 56, 60, 55, 35, 55, 139, 115, 32, 32, 70, 70, 70, 70, 43, 100, 100, 100, 100, 100, 100, 119, 100, 100, 100, 100, 100, 100, 100, 100, 49, 42, 33, 59, 74, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:80px; width:1195px; height:660px; ">
  195. <col ref="orddeptcd"/>
  196. <col ref="medispclid" style="text-align:center; "/>
  197. <col ref="pid" style="text-align:center; "/>
  198. <col ref="patnm" style="text-align:center; "/>
  199. <col ref="age" style="text-align:center; "/>
  200. <col ref="drgno"/>
  201. <col ref="diagcd"/>
  202. <col ref="opcd"/>
  203. <col ref="obgaaddyn" style="text-align:center; "/>
  204. <col ref="robotyn" style="text-align:center; "/>
  205. <col ref="indd" format="yyyy-mm-dd"/>
  206. <col ref="dschdd" format="yyyy-mm-dd"/>
  207. <col ref="fromdd" format="yyyy-mm-dd"/>
  208. <col ref="todd" format="yyyy-mm-dd"/>
  209. <col ref="chosindayno" format="yyyy-mm-dd" style="text-align:center; "/>
  210. <col ref="h_ownbamt" format="(-)#,###" style="text-align:right; "/>
  211. <col ref="h_allownbamt" format="(-)#,###" style="text-align:right; "/>
  212. <col ref="h_nopyamt" format="(-)#,###" style="text-align:right; "/>
  213. <col ref="h_totownbamt" format="(-)#,###" style="text-align:right; "/>
  214. <col ref="h_insubamt" format="(-)#,###" style="text-align:right; "/>
  215. <col ref="h_totamt" format="(-)#,###" style="text-align:right; "/>
  216. <col ref="d_ownbamt" format="(-)#,###" style="text-align:right; "/>
  217. <col ref="d_overownbamt" format="(-)#,###" style="text-align:right; "/>
  218. <col ref="d_accpayownbamt" format="(-)#,###" style="text-align:right; "/>
  219. <col ref="d_allownbamt" format="(-)#,###" style="text-align:right; "/>
  220. <col ref="d_nopyamt" format="(-)#,###" style="text-align:right; "/>
  221. <col ref="d_totownbamt" format="(-)#,###" style="text-align:right; "/>
  222. <col ref="d_insubamt" format="(-)#,###" style="text-align:right; "/>
  223. <col ref="d_totamt" format="(-)#,###" style="text-align:right; "/>
  224. <col ref="drggapamt" format="(-)#,###" style="text-align:right; "/>
  225. <col ref="clamym"/>
  226. <col ref="clamdg"/>
  227. <col ref="pidsn"/>
  228. <col ref="acptno"/>
  229. <col ref="docuseqno"/>
  230. <col ref="cretno" visibility="hidden"/>
  231. <script type="javascript" ev:event="ondblclick">
  232. <![CDATA[
  233. var vpid = datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("pid"));
  234. var indd = datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("indd"));
  235. var ordfromdd = datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("fromdd"));
  236. var cretno = datagrid1.valueMatrix(datagrid1.row, datagrid1.colRef("cretno"));
  237. model.makevalue("/root/hidden/sppij03200/cond/pid", vpid);
  238. model.makevalue("/root/hidden/sppij03200/cond/indd", indd);
  239. model.makevalue("/root/hidden/sppij03200/cond/ordfromdd", ordfromdd);
  240. model.makevalue("/root/hidden/sppij03200/cond/cretno", cretno);
  241. setParameter("pid", vpid);
  242. setParameter("indd", indd);
  243. setParameter("ordfromdd", ordfromdd);
  244. setParameter("cretno", cretno);
  245. var wndobj = getOpenWindow("SPPIJ03200");
  246. if (wndobj != null) {
  247. wndobj.javascript.fInitialize();
  248. } else {
  249. open("SPPIJ03200" ,"", "10", "10", "SPPIJ03200", "/root/hidden/sppij03200/cond", "/root/send/data/drginfo", "", "");
  250. }
  251. ]]>
  252. </script>
  253. </datagrid>
  254. </group>
  255. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
  256. <group id="group1" scroll="auto" style="left:0px; top:755px; width:1195px; height:28px; ">
  257. <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  258. <caption>닫기</caption>
  259. <script type="javascript" ev:event="onclick">
  260. <![CDATA[
  261. window.close();
  262. ]]>
  263. </script>
  264. </button>
  265. </group>
  266. </xhtml:body>
  267. </xhtml:html>