SPPAO04500_진료비내역확인.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPPAO04500_진료비내역서.xrw
  4. * 설 명 : 진료비내역확인서
  5. * 설 계 자 : 김상민
  6. * 작 성 자 : 김상민.
  7. * 작 성 일 : 2008.10.14
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <?xml-stylesheet href="C:/CMCProject/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>진료비 내역 확인서 출력</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <h_rcpt>
  21. <rcpt>
  22. <orddd/>
  23. <ordtype/>
  24. <orddeptcd/>
  25. <allpayamt/>
  26. <allnopayamt/>
  27. <allamt/>
  28. <insuamt/>
  29. <disamt/>
  30. <totalownamt/>
  31. <allpayonwbamt/>
  32. <allpayinsubamt/>
  33. </rcpt>
  34. </h_rcpt>
  35. <ptbs/>
  36. <sum_allpayamt/>
  37. <sum_allnopayamt/>
  38. <sum_allamt/>
  39. <sum_insuamt/>
  40. <sum_disamt/>
  41. <sum_totalownamt/>
  42. <hosp>
  43. <hospinfo>
  44. <bizmngrgstno/>
  45. <fulladdr/>
  46. <hospnm/>
  47. <prsdnm/>
  48. </hospinfo>
  49. </hosp>
  50. <sum_allpayownbamt/>
  51. <sum_allpayinsubamt/>
  52. </main>
  53. <send>
  54. <data1>
  55. <pid/>
  56. <gijun/>
  57. <fromdd/>
  58. <todd/>
  59. <orddeptcd/>
  60. <etcflag>-</etcflag>
  61. <ordtype>-</ordtype>
  62. <srchtype>O</srchtype>
  63. </data1>
  64. </send>
  65. <init>
  66. <orddeptcd>
  67. <orddeptcdlist>
  68. <cd/>
  69. <nm/>
  70. </orddeptcdlist>
  71. </orddeptcd>
  72. <orddrid>
  73. <orddridlist>
  74. <cd/>
  75. <nm/>
  76. <dp/>
  77. <sp/>
  78. </orddridlist>
  79. </orddrid>
  80. </init>
  81. <hidden>
  82. <session>
  83. <userid/>
  84. </session>
  85. </hidden>
  86. </root>
  87. </instance>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  93. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. //makeReportPreview(0,500,1195,250);
  97. makeReportPreview(0,0,0,0);
  98. fGetUserInfo2();
  99. //진료과코드 진료의사ID 조회
  100. pamGetDeptCDDrIDList();
  101. addComboItem("cmb_orddeptcd","전체","","above");
  102. //fBaseCode();
  103. submit("TRPMC00609");
  104. fInitialize();
  105. //팝업화면으로 사용될 때
  106. if (checkOpener()){
  107. var pid = opener.javascript.getParameter("pid");
  108. model.setValue("/root/main/patinfo/patinfolist/pid", pid)
  109. //model.alert(model.getValue("/root/main/patinfo/patinfolist/pid"));
  110. inputEnterKey("ipt_pid", "DOMActivate");
  111. }
  112. ]]>
  113. </script>
  114. <script type="javascript">
  115. <![CDATA[
  116. function fInitialize(){
  117. //model.setValue("/root/send/data1/instcd" , model.getValue("/root/hidden/session/posinstcd"));
  118. //model.setValue("/root/send/data1/gijun" , "rcptdd");
  119. //model.setValue("/root/send/data1/fromdd" , getCurrentDate().substring(0,4)+"0101");
  120. model.setValue("/root/send/data1/fromdd" , "20110101");
  121. model.setValue("/root/send/data1/todd" , getCurrentDate());
  122. model.setValue("/root/send/data1/gijun" , 'A');
  123. model.resetinstancenode("/root/main/patinfo/patinfolist");
  124. model.removeNodeset("/root/main/h_rcpt/rcpt");
  125. exeReportPreview("RPPAO04500", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "75");
  126. model.refresh();
  127. }
  128. //쓰지마세요
  129. function fSearch(){
  130. model.copynode("/root/main/ptbs" , "/root/main/patinfo/patinfolist");
  131. model.removeNodeset("/root/main/h_rcpt/rcpt");
  132. fSearch2();
  133. }
  134. function fSearch2(){
  135. // 특이환자 체크 (실사용)
  136. // if (!fCheckPatient(model.getvalue("/root/main/patinfo/patinfolist/pid"), "A")) {
  137. // return;
  138. // }
  139. // 2011년도 이전데이터 제한추가 by 조중래 20130527
  140. if(model.getValue("/root/send/data1/fromdd") < "20110101"){
  141. messageBox("2011년 이전 데이터는 OCS프로그램에서 조회하시기 바랍니다. ", "E000");
  142. return;
  143. }
  144. model.resetInstanceNode("/root/temp/receipt");
  145. model.setValue("/root/send/data1/pid", model.getvalue("/root/main/patinfo/patinfolist/pid"));
  146. submit("TRPAO04501");
  147. //합계
  148. fCostSum();
  149. //출력양식선택
  150. fSelectPrint();
  151. exeReportPreview("RPPAO04500", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "75");
  152. datagrid1.subtotal("sum", -1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  153. datagrid1.subtotal("sum", -1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  154. datagrid1.subtotal("sum", -1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  155. datagrid1.subtotal("sum", -1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  156. datagrid1.subtotal("sum", -1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  157. datagrid1.subtotal("sum", -1, 8, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  158. datagrid1.subtotal("sum", -1, 9, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  159. datagrid1.subtotal("sum", -1, 10, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "합계 ", false);
  160. model.refresh();
  161. }
  162. //로그인한 사용자 정보조회
  163. function fGetUserInfo2(){
  164. var sUserInfosS = getUserInfos();
  165. sUserInfosS = sUserInfosS + "|";
  166. //alert("sUserInfosS : " + sUserInfosS);
  167. var UserInfosS_Array = sUserInfosS.split("|");
  168. var userid = UserInfosS_Array[0]; //사용자번호
  169. var usernm = UserInfosS_Array[1]; //사용자이름
  170. var posinstcd = UserInfosS_Array[2]; //소속기관코드
  171. var posinstnm = UserInfosS_Array[3]; //소속기관명
  172. // model.makeNode("/root/hidden/session/" + "userid");
  173. model.makeNode("/root/hidden/session/" + "usernm");
  174. model.makeNode("/root/hidden/session/" + "posinstcd");
  175. model.makeNode("/root/hidden/session/" + "posinstnm");
  176. model.setValue("/root/hidden/session/userid",userid);
  177. model.setValue("/root/hidden/session/usernm",usernm);
  178. model.setValue("/root/hidden/session/posinstcd",posinstcd);
  179. model.setValue("/root/hidden/session/posinstnm",posinstnm);
  180. //model.alert(model.getValue("/root/hidden/session/userid"));
  181. }
  182. //금액 합계
  183. function fCostSum() {
  184. var sum_allpayamt = 0;
  185. var sum_allnopayamt = 0;
  186. var sum_allamt = 0;
  187. var sum_insuamt = 0;
  188. var sum_disamt = 0;
  189. var sum_totalownamt = 0;
  190. var sum_allpayinsubamt = 0;
  191. var sum_allpayownbamt = 0;
  192. for(var a = 1; a <= getNodesetCount("/root/main/h_rcpt/rcpt"); a++) {
  193. sum_allpayamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/allpayamt")) + sum_allpayamt;
  194. sum_allnopayamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/allnopayamt")) + sum_allnopayamt;
  195. sum_allamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/allamt")) + sum_allamt;
  196. sum_insuamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/insuamt")) + sum_insuamt;
  197. sum_disamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/disamt")) + sum_disamt;
  198. sum_totalownamt = parseInt(model.getvalue("/root/main/h_rcpt/rcpt[" + a + "]/totalownamt")) + sum_totalownamt;
  199. sum_allpayinsubamt = parseInt(model.getValue("/root/main/h_rcpt/rcpt[" + a + "]/allpayinsubamt")) + sum_allpayinsubamt;
  200. sum_allpayownbamt = parseInt(model.getValue("/root/main/h_rcpt/rcpt[" + a + "]/allpayownbamt")) + sum_allpayownbamt;
  201. }
  202. model.setvalue("/root/main/sum_allpayamt", sum_allpayamt);
  203. model.setvalue("/root/main/sum_allnopayamt", sum_allnopayamt);
  204. model.setvalue("/root/main/sum_allamt", sum_allamt);
  205. model.setvalue("/root/main/sum_insuamt", sum_insuamt);
  206. model.setvalue("/root/main/sum_disamt", sum_disamt);
  207. model.setvalue("/root/main/sum_totalownamt", sum_totalownamt);
  208. model.setvalue("/root/main/sum_allpayownbamt", sum_allpayownbamt);
  209. model.setvalue("/root/main/sum_allpayinsubamt", sum_allpayinsubamt);
  210. }
  211. function fSelectPrint(){
  212. var gijun = model.getValue("/root/send/data1/gijun");
  213. //model.setValue("/root/hidden/session/posinstnm",posinstnm);
  214. //model.alert(gijun);
  215. //var cur_row = datagrid1.row;
  216. var userid = model.getValue("/root/hidden/session/usernm");
  217. var sum_allpayamt = model.getValue("/root/main/sum_allpayamt");
  218. var sum_allnopayamt = model.getValue("/root/main/sum_allnopayamt");
  219. var sum_allamt = model.getValue("/root/main/sum_allamt");
  220. var sum_insuamt = model.getValue("/root/main/sum_insuamt");
  221. var sum_disamt = model.getValue("/root/main/sum_disamt");
  222. var sum_totalownamt = model.getValue("/root/main/sum_totalownamt");
  223. var sum_allpayinsubamt = model.getValue("/root/main/sum_allpayinsubamt");
  224. var sum_allpayownbamt = model.getValue("/root/main/sum_allpayownbamt");
  225. if(gijun == 'A'){
  226. model.makeValue("/root/temp/amtkind/userid", userid);
  227. //model.makeValue("/root/temp/amtkind/grd_1", "급여총액");
  228. //model.makeValue("/root/temp/amtkind/grd_2", "비급여총액");
  229. //model.makeValue("/root/temp/amtkind/grd_3", "총진료비");
  230. //model.makeValue("/root/temp/amtkind/grd_4", "본인수납액");
  231. model.makeValue("/root/temp/rcptsum/sum1", sum_allpayamt );
  232. model.makeValue("/root/temp/rcptsum/sum2", sum_allnopayamt);
  233. model.makeValue("/root/temp/rcptsum/sum3", sum_allamt);
  234. model.makeValue("/root/temp/rcptsum/sum4", sum_totalownamt);
  235. model.makeValue("/root/temp/rcptsum/sum5", sum_allpayinsubamt);
  236. model.makeValue("/root/temp/rcptsum/sum6", sum_allpayownbamt);
  237. for (i = 1; i <= getNodesetCount("/root/main/h_rcpt/rcpt"); i++) {
  238. model.makeValue("/root/temp/receipt[" + i + "]/orddd", datagrid1.labelmatrix(i+1, 0));
  239. model.makeValue("/root/temp/receipt[" + i + "]/ordtype", datagrid1.labelmatrix(i+1, 1));
  240. model.makeValue("/root/temp/receipt[" + i + "]/orddeptcd", datagrid1.labelmatrix(i+1, 2));
  241. model.makeValue("/root/temp/receipt[" + i + "]/col1", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allpayamt"));
  242. model.makeValue("/root/temp/receipt[" + i + "]/col2", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allnopayamt"));
  243. model.makeValue("/root/temp/receipt[" + i + "]/col5", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allpayinsubamt"));
  244. model.makeValue("/root/temp/receipt[" + i + "]/col6", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allpayownbamt"));
  245. model.makeValue("/root/temp/receipt[" + i + "]/col3", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allamt"));
  246. model.makeValue("/root/temp/receipt[" + i + "]/col4", model.getValue("/root/main/h_rcpt/rcpt[" + i + "]/totalownamt"));
  247. //model.makeValue("/root/temp/receipt[" + i + "]/col1", datagrid1.labelmatrix(i, 3));
  248. //model.makeValue("/root/temp/receipt[" + i + "]/col2", datagrid1.labelmatrix(i, 4));
  249. //model.makeValue("/root/temp/receipt[" + i + "]/col3", datagrid1.labelmatrix(i, 5));
  250. //model.makeValue("/root/temp/receipt[" + i + "]/col4", datagrid1.labelmatrix(i, 8));
  251. }
  252. }else if(gijun == 'B'){
  253. model.makeValue("/root/temp/amtkind/userid", userid);
  254. model.makeValue("/root/temp/amtkind/grd_1", "총진료비");
  255. model.makeValue("/root/temp/amtkind/grd_2", "청구금액");
  256. model.makeValue("/root/temp/amtkind/grd_3", "할인액및수혈보상");
  257. model.makeValue("/root/temp/amtkind/grd_4", "본인수납액");
  258. model.makeValue("/root/temp/rcptsum/sum1", sum_allamt);
  259. model.makeValue("/root/temp/rcptsum/sum2", sum_insuamt);
  260. model.makeValue("/root/temp/rcptsum/sum3", sum_disamt);
  261. model.makeValue("/root/temp/rcptsum/sum4", sum_totalownamt);
  262. for (i = 1; i <= getNodesetCount("/root/main/h_rcpt/rcpt"); i++) {
  263. model.makeValue("/root/temp/receipt[" + i + "]/orddd", datagrid1.labelmatrix(i+1, 0));
  264. model.makeValue("/root/temp/receipt[" + i + "]/ordtype", datagrid1.labelmatrix(i+1, 1));
  265. model.makeValue("/root/temp/receipt[" + i + "]/orddeptcd", datagrid1.labelmatrix(i+1, 2));
  266. model.makeValue("/root/temp/receipt[" + i + "]/col1", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/allamt"));
  267. model.makeValue("/root/temp/receipt[" + i + "]/col2", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/insuamt"));
  268. model.makeValue("/root/temp/receipt[" + i + "]/col3", model.getvalue("/root/main/h_rcpt/rcpt[" + i + "]/disamt"));
  269. model.makeValue("/root/temp/receipt[" + i + "]/col4", model.getValue("/root/main/h_rcpt/rcpt[" + i + "]/totalownamt"));
  270. //model.makeValue("/root/temp/receipt[" + i + "]/col1", datagrid1.labelmatrix(i, 5));
  271. //model.makeValue("/root/temp/receipt[" + i + "]/col2", datagrid1.labelmatrix(i, 6));
  272. //model.makeValue("/root/temp/receipt[" + i + "]/col3", datagrid1.labelmatrix(i, 7));
  273. //model.makeValue("/root/temp/receipt[" + i + "]/col4", datagrid1.labelmatrix(i, 8));
  274. }
  275. }else{
  276. messageBox("출력양식이 선택되지 않았습니다.", "E999", "")
  277. return;
  278. }
  279. }
  280. ]]>
  281. </script>
  282. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  283. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  284. <submission id="TRPAO02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/h_rcpt"/>
  285. <submission id="TRPAO04501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/h_rcpt"/>
  286. <submission id="TRPMC00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hosp"/>
  287. </model>
  288. </xhtml:head>
  289. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  290. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  291. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  292. <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  293. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  294. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">진료비 내역 확인서 최종수정 08/11/10 23:00</caption>
  295. </group>
  296. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  297. <import id="import1" src="../../../pam/patinfomngtweb/xrw/SSPMC00100_인적사항.xrw" style="left:0px; top:0px; width:1195px; height:205px; "/>
  298. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:209px; width:1194px; height:64px; "/>
  299. <caption id="caption7" class="search_name" style="left:10px; top:218px; width:90px; height:17px; ">진 료 과 :</caption>
  300. <caption id="caption5" class="tit_2" style="left:738px; top:233px; width:62px; height:13px; ">양식 :</caption>
  301. <select1 id="cmb_orddeptcd" ref="/root/send/data1/orddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:100px; top:218px; width:162px; height:19px; text-align:left; ">
  302. <choices>
  303. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  304. <label ref="nm"/>
  305. <value ref="cd"/>
  306. </itemset>
  307. </choices>
  308. </select1>
  309. <caption id="caption1" class="search_name" style="left:285px; top:218px; width:60px; height:17px; ">기간 :</caption>
  310. <input id="input5" ref="/root/send/data1/fromdd" class="input_default" autonext="false" inputtype="date" maxlength="12" style="left:348px; top:218px; width:85px; height:19px; text-align:left; "/>
  311. <input id="input3" ref="/root/send/data1/todd" class="input_default" autonext="false" inputtype="date" maxlength="12" style="left:444px; top:218px; width:85px; height:19px; text-align:left; "/>
  312. <line id="line12" class="line_1" style="x1:0px; y1:279px; x2:1194px; y2:279px; "/>
  313. <datagrid id="datagrid1" nodeset="/root/main/h_rcpt/rcpt" caption="진료일자^진료구분^진료과^급여총액^급여총액^급여총액^비급여총액^총진료비^청구금액^할인액및수혈보상^본인수납액|진료일자^진료구분^진료과^급여총액^보험자부담액^환자부담액^비급여총액^총진료비^청구금액^할인액및수혈보상^본인수납액" colsep="^" colwidth="120, 60, 127, 110, 105, 105, 110, 110, 110, 110, 110" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:0px; top:285px; width:1195px; height:455px; ">
  314. <col ref="orddd" style="text-align:center; "/>
  315. <col ref="ordtype" format="yyyy-mm-dd" style="text-align:center; "/>
  316. <col ref="orddeptcd" style="text-align:left; "/>
  317. <col ref="allpayamt" format="(-)#,###" style="text-align:right; "/>
  318. <col ref="allpayinsubamt" format="(-)#,###" style="text-align:right; "/>
  319. <col ref="allpayownbamt" format="(-)#,###" style="text-align:right; "/>
  320. <col ref="allnopayamt" format="(-)#,###" style="text-align:right; "/>
  321. <col ref="allamt" format="(-)#,###" style="text-align:right; "/>
  322. <col ref="insuamt" format="(-)#,###" style="text-align:right; "/>
  323. <col ref="disamt" format="(-)#,###" style="text-align:right; "/>
  324. <col ref="totalownamt" format="(-)#,###" style="text-align:right; "/>
  325. </datagrid>
  326. <button id="btn_search2" class="btn1_letter2" style="left:1115px; top:230px; width:56px; height:22px; ">
  327. <caption>조회</caption>
  328. <script type="javascript" ev:event="DOMActivate">
  329. <![CDATA[
  330. fSearch2();
  331. ]]>
  332. </script>
  333. </button>
  334. <caption id="caption2" style="left:431px; top:221px; width:15px; height:15px; text-align:center; ">~</caption>
  335. <button id="btn_print" class="btn6_letter2" style="left:1055px; top:230px; width:56px; height:22px; ">
  336. <caption>출력</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. var gubun = model.getValue("/root/send/data1/gijun");
  340. if ( gubun == "A") {
  341. exeReportPreview("RPPAO04501", "XMLSTR", "", "", "true", "", "", "", "", "","", "", "", "", "", "1", "");
  342. } else if (gubun == "B") {
  343. exeReportPreview("RPPAO04500", "XMLSTR", "", "", "true", "", "", "", "", "","", "", "", "", "", "1", "");
  344. }
  345. ]]>
  346. </script>
  347. </button>
  348. <select1 id="radio1" ref="/root/send/data1/gijun" appearance="full" overflow="visible" style="left:800px; top:223px; width:236px; height:35px; border-style:none; ">
  349. <choices>
  350. <item>
  351. <label>급여, 비급여액, 총진료비, 본인수납액</label>
  352. <value>A</value>
  353. </item>
  354. <item>
  355. <label>총진료비, 청구금액, 할인액, 본인수납액</label>
  356. <value>B</value>
  357. </item>
  358. </choices>
  359. <script type="javascript" ev:event="xforms-select">
  360. <![CDATA[
  361. model.resetInstanceNode("/root/temp/receipt");
  362. fSelectPrint();
  363. exeReportPreview("RPPAO04500", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "75");
  364. model.refresh();
  365. ]]>
  366. </script>
  367. </select1>
  368. <select1 id="combo1" ref="/root/send/data1/etcflag" navindex="2" appearance="minimal" style="left:610px; top:245px; width:87px; height:19px; text-align:left; ">
  369. <choices>
  370. <item>
  371. <label>-</label>
  372. <value>-</value>
  373. </item>
  374. <item>
  375. <label>가정간호</label>
  376. <value>G</value>
  377. </item>
  378. </choices>
  379. </select1>
  380. <caption id="caption3" class="search_name" style="left:548px; top:245px; width:60px; height:17px; ">기타 :</caption>
  381. <caption id="caption4" class="search_name" style="left:285px; top:245px; width:65px; height:17px; ">구분 :</caption>
  382. <select1 id="combo2" ref="/root/send/data1/ordtype" appearance="minimal" style="left:348px; top:245px; width:87px; height:19px; ">
  383. <choices>
  384. <item>
  385. <label>전체</label>
  386. <value>-</value>
  387. </item>
  388. <item>
  389. <label>외래</label>
  390. <value>O</value>
  391. </item>
  392. <item>
  393. <label>입원</label>
  394. <value>I</value>
  395. </item>
  396. </choices>
  397. </select1>
  398. <select1 id="combo3" ref="/root/send/data1/srchtype" navindex="2" appearance="minimal" style="left:100px; top:245px; width:87px; height:19px; text-align:left; ">
  399. <choices>
  400. <item>
  401. <label>진료일자</label>
  402. <value>O</value>
  403. </item>
  404. <item>
  405. <label>수납일자</label>
  406. <value>R</value>
  407. </item>
  408. </choices>
  409. </select1>
  410. <caption id="caption8" class="search_name" style="left:10px; top:245px; width:87px; height:17px; ">조회기준 :</caption>
  411. </group>
  412. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  413. <line id="line23" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  414. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  415. <caption>초기화</caption>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. fInitialize();
  419. ]]>
  420. </script>
  421. </button>
  422. </group>
  423. </xhtml:body>
  424. </xhtml:html>