SMPIF71810_진료의별삭감현황(자보).xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <clamfromym/>
  11. <clamtoym/>
  12. <ioflag>A</ioflag>
  13. <certno/>
  14. <orddeptcd/>
  15. <orddrid/>
  16. </send>
  17. <main>
  18. <list>
  19. <datagrid1>
  20. <clamym/>
  21. <clamdg/>
  22. <instcmpymark/>
  23. <orddeptcd/>
  24. <orddrid/>
  25. <usernm/>
  26. <pid/>
  27. <patnm/>
  28. <ioflag/>
  29. <patrrgstno/>
  30. <clamamt/>
  31. <adjtamt/>
  32. <aprvamt/>
  33. <depoamt/>
  34. <deciamt/>
  35. <uncoamt/>
  36. <rem/>
  37. <instcmpymarknm/>
  38. </datagrid1>
  39. <datagrid2>
  40. <depodd/>
  41. <clamym/>
  42. <clamdg/>
  43. <instcmpymark/>
  44. <orddeptcd/>
  45. <orddrid/>
  46. <usernm/>
  47. <pid/>
  48. <patnm/>
  49. <ioflag/>
  50. <clamamt/>
  51. <depoamt/>
  52. <orgcutamt/>
  53. <instcmpymarknm/>
  54. <orddeptnm/>
  55. </datagrid2>
  56. </list>
  57. <patinfo>
  58. <patinfolist/>
  59. </patinfo>
  60. </main>
  61. <init>
  62. <U0001list>
  63. <U0001>
  64. <cd/>
  65. <nm/>
  66. </U0001>
  67. </U0001list>
  68. <P0268list>
  69. <P0268>
  70. <cdid/>
  71. <cdnm/>
  72. </P0268>
  73. </P0268list>
  74. <P0277list>
  75. <P0277>
  76. <cdid/>
  77. <cdnm/>
  78. </P0277>
  79. </P0277list>
  80. </init>
  81. <hidden>
  82. <sppmc02500>
  83. <cond>
  84. <srchcond/>
  85. <pid/>
  86. <hngnm/>
  87. <rrgstno1/>
  88. <rrgstno2/>
  89. <insukind/>
  90. </cond>
  91. </sppmc02500>
  92. </hidden>
  93. <send_dataqry>
  94. <clamym/>
  95. <ioflag/>
  96. <orddeptcd/>
  97. <orddrid/>
  98. <clamfromym/>
  99. <clamtoym/>
  100. </send_dataqry>
  101. </root>
  102. </instance>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. zbcfGetCodeList(new Array("P0268","P0277"), new Array("/root/init/P0268list","/root/init/P0277list"));
  106. model.setValue("/root/send/clamfromym" , getCurrentDate());
  107. model.setValue("/root/send/clamtoym" , getCurrentDate());
  108. // 손보사 코드 조회
  109. if(submit("TRPIF70305")){
  110. addComboItem("cmb_insucmpymark", "전체", "", "above");
  111. }
  112. // 진료과, 진료의조회
  113. submit("TRPID20309", false);
  114. model.removeNodeset("/root/main/list");
  115. model.refresh();
  116. ]]>
  117. </script>
  118. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  119. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ioflag" resultref="root/hidden/tmp"/>
  120. <!-- 손보사 리스트 조회 -->
  121. <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  122. <!-- 동의및삭감현황 -->
  123. <submission id="TRPIF71811" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send_dataqry" resultref="/root/main/list/datagrid2"/>
  124. <submission id="TRPIF71812" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  125. </model>
  126. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  127. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  130. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  131. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  132. <script type="javascript">
  133. <![CDATA[
  134. ]]>
  135. </script>
  136. </xhtml:head>
  137. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  138. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  139. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">진료의별 삭감현황(자보)</caption>
  140. </group>
  141. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
  142. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:42px; vertical-align:top; ">
  143. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  144. <button id="button1" class="btn1_letter2" style="left:1115px; top:11px; width:56px; height:22px; ">
  145. <caption>조회</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. // 조회구분
  149. submit("TRPIF71812");
  150. datagrid1.subtotal("sum", -1, datagrid1.colRef("clamamt"), "#,###.#", "", 0, "합 계");
  151. datagrid1.subtotal("sum", -1, datagrid1.colRef("deciamt_n"), "#,###.#", "", 0, "합 계");
  152. datagrid1.subtotal("sum", -1, datagrid1.colRef("depoamt"), "#,###.#", "", 0, "합 계");
  153. datagrid1.subtotal("sum", -1, datagrid1.colRef("adjtamt_n"), "#,###.#", "", 0, "합 계");
  154. datagrid1.subtotal("sum", -1, datagrid1.colRef("wthdrwamt"), "#,###.#", "", 0, "합 계");
  155. ]]>
  156. </script>
  157. </button>
  158. <line id="line13" class="line_4" style="x1:1095px; y1:10px; x2:1095px; y2:32px; "/>
  159. <caption id="caption3" style="left:210px; top:10px; width:15px; height:20px; ">~</caption>
  160. <input id="ipt_fromdd" ref="/root/send/clamfromym" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:120px; top:9px; width:85px; height:19px; "/>
  161. <input id="ipt_todd" ref="/root/send/clamtoym" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:230px; top:10px; width:85px; height:19px; "/>
  162. <caption id="cap_depodd" class="search_name" style="left:24px; top:9px; width:111px; height:17px; ">심결일자 :</caption>
  163. <select1 id="radio1" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:415px; top:10px; width:145px; height:15px; border-style:none; ">
  164. <choices>
  165. <item>
  166. <label>전체</label>
  167. <value>A</value>
  168. </item>
  169. <item>
  170. <label>입원</label>
  171. <value>I</value>
  172. </item>
  173. <item>
  174. <label>외래</label>
  175. <value>O</value>
  176. </item>
  177. </choices>
  178. </select1>
  179. <caption id="caption7" class="search_name" style="left:325px; top:9px; width:86px; height:17px; ">내원 유형</caption>
  180. <select1 id="cmb_insucmpymark" ref="/root/send/certno" class="combo_search" appearance="minimal" style="left:680px; top:10px; width:166px; height:19px; ">
  181. <choices>
  182. <itemset nodeset="/root/init/U0001list/U0001">
  183. <label ref="nm"/>
  184. <value ref="cd"/>
  185. </itemset>
  186. </choices>
  187. </select1>
  188. <caption id="caption8" class="search_name" style="left:595px; top:10px; width:88px; height:17px; ">손보사</caption>
  189. <select1 id="combo1" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:940px; top:10px; width:120px; height:19px; ">
  190. <choices>
  191. <itemset nodeset="/root/hidden/tmp/orddeptcd/orddeptcdlist">
  192. <label ref="nm"/>
  193. <value ref="cd"/>
  194. </itemset>
  195. </choices>
  196. </select1>
  197. <caption id="caption1" class="search_name" style="left:855px; top:10px; width:88px; height:17px; ">진료과</caption>
  198. </group>
  199. <button id="btn_prescond" class="btn_sw" group="tab" selected="true" style="left:0px; top:55px; width:150px; height:22px; ">
  200. <caption>과별 의사별 삭감자료</caption>
  201. <toggle case="case1" ev:event="xforms-activate"/>
  202. </button>
  203. <switch id="switch1" style="left:0px; top:75px; width:1185px; height:620px; ">
  204. <case id="case1" selected="true">
  205. <datagrid id="datagrid1" nodeset="/root/main/list/datagrid1" visibility="visible" caption="내원유형^진료과^의사ID^진료의^청구월^청구금액^심결액^입금액^삭감액^회수액^caption1^caption2^종결형태" colsep="^" colwidth="60, 114, 70, 74, 74, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" subtotalposition="below" tooltip="true" style="left:5px; top:32px; width:1176px; height:583px; ">
  206. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  207. <choices>
  208. <item>
  209. <label>입원</label>
  210. <value>I</value>
  211. </item>
  212. <item>
  213. <label>외래</label>
  214. <value>O</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
  219. <choices>
  220. <itemset nodeset="/root/hidden/tmp/orddeptcd/orddeptcdlist">
  221. <label ref="nm"/>
  222. <value ref="cd"/>
  223. </itemset>
  224. </choices>
  225. </col>
  226. <col ref="orddrid" style="text-align:center; "/>
  227. <col ref="usernm" style="text-align:center; "/>
  228. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  229. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  230. <col ref="deciamt_n" format="#,###" style="text-align:right; "/>
  231. <col ref="depoamt" format="#,###" style="text-align:right; "/>
  232. <col ref="adjtamt_n" format="#,###" style="text-align:right; "/>
  233. <col ref="wthdrwamt" format="#,###" style="text-align:right; "/>
  234. <col ref="clamfromym" visibility="hidden"/>
  235. <col ref="clamtoym" visibility="hidden"/>
  236. <script type="javascript" ev:event="ondblclick">
  237. <![CDATA[
  238. var currow = datagrid1.row;
  239. model.setValue( "/root/send_dataqry/clamym", datagrid1.valueMatrix(currow,datagrid1.colRef("clamym")) );
  240. model.setValue( "/root/send_dataqry/ioflag", datagrid1.valueMatrix(currow,datagrid1.colRef("ioflag")));
  241. model.setValue( "/root/send_dataqry/orddeptcd", datagrid1.valueMatrix(currow,datagrid1.colRef("orddeptcd")));
  242. model.setValue( "/root/send_dataqry/orddrid",datagrid1.valueMatrix(currow,datagrid1.colRef("orddrid")));
  243. model.setValue( "/root/send_dataqry/clamfromym",datagrid1.valueMatrix(currow,datagrid1.colRef("clamfromym")));
  244. model.setValue( "/root/send_dataqry/clamtoym",datagrid1.valueMatrix(currow,datagrid1.colRef("clamtoym")));
  245. submit("TRPIF71811");
  246. datagrid2.multiTotals = true;
  247. datagrid2.subtotalPosition = "below"
  248. datagrid2.subtotal("sum", datagrid2.colRef("orddrid"), datagrid2.colRef("adjtamt_n"), "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "의사별 소계", false);
  249. datagrid2.subtotal("sum", -1, datagrid2.colRef("clamamt"), "#,###.#", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "합 계");
  250. datagrid2.subtotal("sum", -1, datagrid2.colRef("deciamt_n"), "#,###.#", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "합 계");
  251. datagrid2.subtotal("sum", -1, datagrid2.colRef("depoamt"), "#,###.#", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "합 계");
  252. datagrid2.subtotal("sum", -1, datagrid2.colRef("adjtamt_n"), "#,###.#", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "합 계");
  253. datagrid2.subtotal("sum", -1, datagrid2.colRef("wthdrwamt"), "#,###.#", "background-color:#f4f4f4; font-weight:bold; ", datagrid2.colRef("usernm"), "합 계");
  254. button3.selected = true;
  255. button3.dispatch("xforms-activate");
  256. ]]>
  257. </script>
  258. </datagrid>
  259. <caption id="caption2" class="tit_2" style="left:5px; top:5px; width:265px; height:13px; ">과별삭감현황조회</caption>
  260. <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  261. <button id="button6" class="btn2_letter4" style="left:1113px; top:5px; width:64px; height:19px; ">
  262. <caption>액셀저장</caption>
  263. <script type="javascript" ev:event="onclick">
  264. <![CDATA[
  265. var fileName = window.fileDialog("save", ",", false, '자보 삭감현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  266. if (fileName != "") {
  267. datagrid1.saveExcel(fileName, "SheetName", true, true, "", "", "");
  268. }
  269. ]]>
  270. </script>
  271. </button>
  272. </case>
  273. <case id="case2">
  274. <datagrid id="datagrid2" nodeset="/root/main/list/datagrid2" caption="손보사^등록번호^수진자명^내원유형^진료과^의사ID^진료의^청구월^차수^진료시작일^진료종료일^청구금액^심결액^입금액^삭감액^처방코드^처방명^사유코드^삭감사유^청구번호^접수번호^명일련^줄번호^회수액^종결형태" colsep="^" colwidth="146, 90, 64, 60, 114, 70, 74, 74, 48, 75, 75, 100, 100, 100, 100, 83, 192, 59, 273, 91, 74, 61, 45, 100" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" subtotalposition="below" tooltip="true" style="left:5px; top:32px; width:1176px; height:583px; ">
  275. <col disabled="true" ref="instcmpymarknm" type="output" style="text-align:center; "/>
  276. <col ref="pid" style="text-align:center; "/>
  277. <col ref="patnm" style="text-align:center; "/>
  278. <col ref="ioflag" style="text-align:center; "/>
  279. <col ref="orddeptcd" type="combo" style="text-align:center; ">
  280. <choices>
  281. <itemset nodeset="/root/hidden/tmp/orddeptcd/orddeptcdlist">
  282. <label ref="nm"/>
  283. <value ref="cd"/>
  284. </itemset>
  285. </choices>
  286. </col>
  287. <col ref="orddrid" style="text-align:center; "/>
  288. <col ref="usernm" style="text-align:center; "/>
  289. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  290. <col ref="clamdg" style="text-align:center; "/>
  291. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  292. <col ref="ordtodd" format="yyyy-mm-dd" style="text-align:center; "/>
  293. <col ref="clamamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  294. <col ref="deciamt_n" visibility="hidden" format="#,###" style="text-align:right; "/>
  295. <col ref="depoamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  296. <col ref="adjtamt_n" format="#,###" style="text-align:right; "/>
  297. <col ref="code" style="text-align:center; "/>
  298. <col ref="ordnm" style="text-align:center; "/>
  299. <col ref="adjtresn" style="text-align:center; "/>
  300. <col ref="adjtresn" type="combo">
  301. <choices>
  302. <itemset nodeset="/root/init/P0277list/P0277">
  303. <label ref="cdnm"/>
  304. <value ref="cdid"/>
  305. </itemset>
  306. </choices>
  307. </col>
  308. <col ref="clamno" style="text-align:center; "/>
  309. <col ref="acptno" style="text-align:center; "/>
  310. <col ref="docuseqno" style="text-align:center; "/>
  311. <col ref="lnno" style="text-align:right; "/>
  312. <col ref="wthdrwamt" visibility="visible" format="#,###" style="text-align:right; "/>
  313. <script type="javascript" ev:event="ondblclick">
  314. <![CDATA[
  315. ]]>
  316. </script>
  317. </datagrid>
  318. <line id="line2" class="line_1" style="x1:5px; y1:26px; x2:1180px; y2:26px; "/>
  319. <button id="button2" class="btn2_letter2" style="left:1013px; top:4px; width:42px; height:19px; ">
  320. <caption>출력</caption>
  321. <script type="javascript" ev:event="DOMActivate">
  322. <![CDATA[
  323. // if(btn_rtndetl1.selected == true) {
  324. // exeReportPreview("RPPIF71800", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  325. // }else if(btn_rtndetl2.selected == true) {
  326. // exeReportPreview("RPPIF71810", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  327. // }
  328. ]]>
  329. </script>
  330. </button>
  331. <button id="button12" class="btn2_letter4" style="left:1058px; top:4px; width:64px; height:19px; ">
  332. <caption>액셀저장</caption>
  333. <script type="javascript" ev:event="onclick">
  334. <![CDATA[
  335. var fileName = window.fileDialog("save", ",", false, '자보 삭감현황', "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  336. if (fileName != "") {
  337. datagrid2.saveExcel(fileName, "SheetName", true, true, "", "", "");
  338. }
  339. ]]>
  340. </script>
  341. </button>
  342. <button id="button93" class="btn6_letter2" style="left:1125px; top:3px; width:56px; height:22px; ">
  343. <caption>출력</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. window.print();
  347. ]]>
  348. </script>
  349. </button>
  350. <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:265px; height:13px; ">과별삭감현황조회</caption>
  351. </case>
  352. </switch>
  353. <button id="button3" class="btn_sw" group="tab" style="left:150px; top:55px; width:150px; height:22px; ">
  354. <caption>환자별 삭감자료</caption>
  355. <toggle case="case2" ev:event="xforms-activate"/>
  356. </button>
  357. </group>
  358. <group id="group1" scroll="auto" style="left:0px; top:752px; width:1195px; height:28px; ">
  359. <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  360. <caption>닫기</caption>
  361. <script type="javascript" ev:event="onclick">
  362. <![CDATA[
  363. window.close();
  364. ]]>
  365. </script>
  366. </button>
  367. </group>
  368. </xhtml:body>
  369. </xhtml:html>