SMPMC04000_가정간호진료비상세내역조회.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMPMC04000_가정간호진료비상세내역내역조회.xrw
  4. * 설 명 : 가정간호진료비내역조회
  5. * 설 계 자 : 이형재
  6. * 작 성 자 : 이형재
  7. * 작 성 일 : 2007.12.
  8. * 수정이력 : 2008.01.16 syjung 진행상태,병원/본당 조회조건 삭제 요청. Control은 visibility = hidden 속성 변경.
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>가정간호_진료비 상세내역조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <result/>
  20. <grid>
  21. <datalist/>
  22. </grid>
  23. <patinfo>
  24. <patinfolist/>
  25. </patinfo>
  26. </main>
  27. <send>
  28. <search>
  29. <fromdd/>
  30. <todd/>
  31. <deptcd/>
  32. <pid/>
  33. <hngnm/>
  34. <radio>
  35. <radio2/>
  36. <radio3/>
  37. </radio>
  38. <nurse/>
  39. <chrnursid/>
  40. <chrrgstkind/>
  41. <churchcd/>
  42. </search>
  43. </send>
  44. <init>
  45. <ordeptcd>
  46. <orddeptcdlist>
  47. <nm/>
  48. <cd/>
  49. </orddeptcdlist>
  50. </ordeptcd>
  51. <church>
  52. <nm/>
  53. <cd/>
  54. <instdispseq/>
  55. </church>
  56. </init>
  57. <hidden>
  58. <tmp/>
  59. <currentdate/>
  60. </hidden>
  61. <source>
  62. <srchcond/>
  63. <autoflag/>
  64. <pid/>
  65. <hngnm/>
  66. <rrgstno1/>
  67. <rrgstno2/>
  68. <acptdd/>
  69. <checkfnexam/>
  70. </source>
  71. <tmp>
  72. <uncoref>
  73. <info>
  74. <popup/>
  75. <pid/>
  76. </info>
  77. </uncoref>
  78. </tmp>
  79. </root>
  80. </instance>
  81. <script type="javascript" ev:event="xforms-ready">
  82. <![CDATA[
  83. finitialize();
  84. reqnursid(); //병원 소속 가정간호사 조회
  85. pamGetDeptCDDrIDList();
  86. radio2.select(0);
  87. // 기관별 검색이 가능하도록하기 위해 노드를 생성
  88. model.makeNode("/root/send/search/instcd");
  89. model.setValue("/root/send/search/instcd", "");
  90. //탑정보에 환자있을시 자동조회
  91. var pid = getPatientInfo("pid");
  92. if(pid != "") {
  93. model.setValue("/root/send/search/pid" , pid);
  94. button1.dispatch("DOMActivate");
  95. }
  96. //20091211 zzui 가정간호 김숙인선생님 요청 - 환자정보설정
  97. if(isPopup() == true){
  98. if(model.getValue("/root/tmp/uncoref/info/popup") == "homecare"){ //팝업사용처구분 : nurse(가정간호)
  99. input27.value = model.getValue("/root/tmp/uncoref/info/pid"); //환자번호
  100. }else{
  101. ;
  102. }
  103. }
  104. ]]>
  105. </script>
  106. <submission id="TRPMC04000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/grid"/>
  107. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  108. <submission id="TRPMC04104" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/church"/>
  109. <submission id="TRPMC04103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/init/churnurse"/>
  110. <submission id="TRPMC04102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/nurse"/>
  111. <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source" resultref="/root/main/patinfo"/>
  112. </model>
  113. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  114. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/StringHelper.js"/>
  117. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  119. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  120. <script type="javascript">
  121. <![CDATA[
  122. function finitialize()
  123. {
  124. // 시스템 날자
  125. model.setValue("/root/hidden/currentdate", getCurrentDate());
  126. // 방문일정을 오늘날자로 세팅
  127. model.setValue("/root/send/search/fromdd",model.getValue("/root/hidden/currentdate"));
  128. model.setValue("/root/send/search/todd",model.getValue("/root/hidden/currentdate"));
  129. model.refresh();
  130. }
  131. function fHngNmVeri(gubn)
  132. {
  133. var ptbs_hngnm;
  134. if (gubn == "xforms-next") ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
  135. else if (gubn == "onkeypress" || gubn == "onkeyup")
  136. {
  137. ptbs_hngnm = (ipt_hngnm.currentText).toString();
  138. }
  139. //한글 한글자를 그냥 길이1로 계산
  140. if (eval((ptbs_hngnm.length).toString()) < 2)
  141. {
  142. messageBox("환자성명은 2글자 이상되어야 합니다!","E999","");
  143. model.setFocus("ipt_hngnm");
  144. return false;
  145. }
  146. }
  147. function reqchurnursid(){ //본당 조회
  148. submit("TRPMC04103");
  149. model.refresh();
  150. }
  151. function reqnursid(){ // 병원 소속 간호사 조회
  152. submit("TRPMC04102");
  153. model.refresh();
  154. }
  155. ]]>
  156. </script>
  157. </xhtml:head>
  158. <xhtml:body guideline="1,1200;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  159. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  160. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:194px; height:14px; ">가정간호 진료비 상세내역조회</caption>
  161. </group>
  162. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
  163. <select1 id="radio4" ref="/root/send/search/chrrgstkind" visibility="hidden" appearance="full" cols="3" overflow="visible" style="left:322px; top:126px; width:140px; height:20px; border-style:none; ">
  164. <choices>
  165. <item>
  166. <label>등록</label>
  167. <value>1</value>
  168. </item>
  169. <item>
  170. <label>무료</label>
  171. <value>2</value>
  172. </item>
  173. <item>
  174. <label>기타</label>
  175. <value>3</value>
  176. </item>
  177. </choices>
  178. </select1>
  179. <select1 id="radio3" ref="/root/send/search/radio/radio3" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:15px; top:126px; width:100px; height:20px; border-style:none; ">
  180. <choices>
  181. <item>
  182. <label>병원</label>
  183. <value>1</value>
  184. </item>
  185. <item>
  186. <label>본당</label>
  187. <value>2</value>
  188. </item>
  189. </choices>
  190. <script type="javascript" ev:event="xforms-value-changed">
  191. <![CDATA[
  192. // 2009.01.26 syjung 전체 주석처리함.
  193. // var select = radio3.value;
  194. // if (select ==1){
  195. // radio3.select(0);
  196. // radio3.visible = false;
  197. // caption5.visible= false;
  198. // cmb_church.visible=false;
  199. // caption6.visible=false;
  200. // cmb_nurse2.visible=false;
  201. // radio4.visible=false;
  202. //
  203. // radio2.select(0);
  204. // radio2.visible = true;
  205. // caption4.visible= true;
  206. // cmb_nurse1.visible=true;
  207. //
  208. // }
  209. ]]>
  210. </script>
  211. </select1>
  212. <line id="line3" class="line_3" visibility="hidden" style="x1:15px; y1:123px; x2:315px; y2:123px; "/>
  213. <select1 id="radio2" ref="/root/send/search/radio/radio2" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:15px; top:103px; width:100px; height:20px; border-style:none; ">
  214. <choices>
  215. <item>
  216. <label>병원</label>
  217. <value>1</value>
  218. </item>
  219. <item>
  220. <label>본당</label>
  221. <value>2</value>
  222. </item>
  223. </choices>
  224. <script type="javascript" ev:event="xforms-value-changed">
  225. <![CDATA[
  226. // 2009.01.26 syjung 전체 주석처리함.
  227. // var select = radio2.value;
  228. //
  229. // if (select ==1){
  230. // radio3.select(0);
  231. // radio3.visible = false;
  232. // caption5.visible= false;
  233. // cmb_church.visible=false;
  234. // caption6.visible=false;
  235. // cmb_nurse2.visible=false;
  236. // radio4.visible=false;
  237. //
  238. // reqnursid(); //병원소속
  239. // radio4.select(0);
  240. // cmb_nurse1.select(0);
  241. //
  242. // model.resetInstanceNode("/root/send/search/hngnm");
  243. // //model.resetInstanceNode("/root/send/search/pid");
  244. // model.resetInstanceNode("/root/send/search/sexage");
  245. //
  246. // }
  247. // else {
  248. //
  249. // model.resetInstanceNode("/root/send/search/hngnm");
  250. // //model.resetInstanceNode("/root/send/search/pid");
  251. // model.resetInstanceNode("/root/send/search/sexage");
  252. //
  253. // radio2.visible = false;
  254. // caption4.visible =false;
  255. // cmb_nurse1.visible=false;
  256. //
  257. // radio3.select(1);
  258. // radio3.visible = true;
  259. // caption5.visible= true;
  260. // cmb_church.visible=true;
  261. // caption6.visible=true;
  262. // cmb_nurse2.visible=true;
  263. // radio4.visible=true;
  264. //
  265. // cmb_church.disabled=false;
  266. //
  267. // submit("TRPMC04104"); //본당조회
  268. // reqchurnursid(); //본당소속 가정간호사
  269. // cmb_nurse2.select(0);
  270. // cmb_church.select(0);
  271. //
  272. // }
  273. // model.refresh();
  274. ]]>
  275. </script>
  276. </select1>
  277. <caption id="caption6" class="cell_1" visibility="hidden" style="left:472px; top:126px; width:80px; height:20px; vertical-align:middle; ">담당간호사</caption>
  278. <line id="line2" class="line_3" visibility="hidden" style="x1:15px; y1:146px; x2:1180px; y2:146px; "/>
  279. <caption id="caption5" class="cell_1" visibility="hidden" style="left:120px; top:126px; width:70px; height:20px; vertical-align:middle; ">본당명</caption>
  280. <caption id="caption4" class="cell_1" visibility="hidden" style="left:120px; top:103px; width:70px; height:20px; vertical-align:middle; ">담당간호사</caption>
  281. <select1 id="cmb_nurse2" ref="/root/send/search/chrnursid" visibility="hidden" appearance="minimal" style="left:555px; top:126px; width:125px; height:19px; ">
  282. <choices>
  283. <itemset nodeset="/root/init/churnurse/churnursecd">
  284. <label ref="usernm"/>
  285. <value ref="userid"/>
  286. </itemset>
  287. </choices>
  288. <script type="javascript" ev:event="xforms-value-changed">
  289. <![CDATA[
  290. if(cmb_nurse2.value=='1'){
  291. model.setValue("/root/send/search/chrnursid","/root/init/nurse/nursecd/usernm");
  292. }
  293. ]]>
  294. </script>
  295. </select1>
  296. <select1 id="cmb_nurse1" ref="/root/send/search/nurse" visibility="hidden" appearance="minimal" style="left:195px; top:103px; width:120px; height:19px; ">
  297. <choices>
  298. <itemset nodeset="/root/init/nurse/nursecd">
  299. <label ref="usernm"/>
  300. <value ref="userid"/>
  301. </itemset>
  302. </choices>
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. if(cmb_nurse1.value=='1'){
  306. model.setValue("/root/send/search/nurse","/root/init/nurse/nursecd/usernm");
  307. }
  308. ]]>
  309. </script>
  310. </select1>
  311. <select1 id="cmb_church" ref="/root/send/search/churchcd" disabled="true" visibility="hidden" appearance="minimal" style="left:195px; top:126px; width:120px; height:19px; ">
  312. <choices>
  313. <itemset nodeset="/root/init/church/churchcd">
  314. <label ref="nm"/>
  315. <value ref="cd"/>
  316. </itemset>
  317. </choices>
  318. <script type="javascript" ev:event="xforms-value-changed">
  319. <![CDATA[
  320. if(cmb_church.value=='1'){
  321. model.setvalue("/root/send/search/churchcd", "/root/init/church/churchcd/nm");
  322. }
  323. ]]>
  324. </script>
  325. <script type="javascript" ev:event="xforms-select">
  326. <![CDATA[
  327. submit("TRPMC04103");
  328. ]]>
  329. </script>
  330. </select1>
  331. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  332. <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; "/>
  333. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  334. <caption>조회</caption>
  335. <script type="javascript" ev:event="DOMActivate">
  336. <![CDATA[
  337. //2008-07-23 이동식 추가
  338. //조회조건에 등록번호 필수 체크
  339. if( model.getValue("/root/send/search/pid") == "" ) {
  340. messageBox("등록번호는 조회 필수 조건입니다. 등록번호를 입력하시고 조회하세요.", "E999", "");
  341. return false;
  342. }
  343. //END..
  344. if(submit("TRPMC04000")){
  345. }
  346. /*
  347. var row=1;
  348. var col=7;
  349. grd_dtlist.row= row;
  350. grd_dtlist.col= col;
  351. for(var i =1 ; i < grd_dtlist.rows ; i++){
  352. if( grd_dtlist.valueMatrix(i , 7) == "소 계"){
  353. grd_dtlist.cellstyle("text-align", i, 7, i, 7) = "center";
  354. }
  355. }
  356. */
  357. // 소계를 구한다
  358. //grd_dtlist.subtotalposition="below";
  359. // grd_dtlist.subtotal("sum", 2, 12, "format:#,###; roundmode:round; roundposition:2", "background-color:#ffff00; color:#0000ff; font-weight:bold; ", 0, "소계", true);
  360. // grd_dtlist.subtotal("sum", 2, 13, "format:#,###; roundmode:round; roundposition:2", "background-color:#ffff00; color:#0000ff; font-weight:bold; ", 0, "소계", true);
  361. //model.refresh();
  362. grd_dtlist.rebuild();
  363. grd_dtlist.subtotalposition = "below";
  364. grd_dtlist.multitotals = true;
  365. grd_dtlist.subtotal("sum", 0, 8 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#ccffcc; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  366. grd_dtlist.subtotal("sum", 0, 9 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  367. grd_dtlist.subtotal("sum", 0, 10 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  368. grd_dtlist.subtotal("sum", 0, 12 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  369. grd_dtlist.subtotal("sum", 0, 13 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  370. grd_dtlist.subtotal("sum", 0, 14 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  371. grd_dtlist.subtotal("sum", 0, 15 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 0, "소계 ", false);
  372. grd_dtlist.subtotal("sum", -1, 8 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  373. grd_dtlist.subtotal("sum", -1, 9 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  374. grd_dtlist.subtotal("sum", -1, 10 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  375. grd_dtlist.subtotal("sum", -1, 12 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  376. grd_dtlist.subtotal("sum", -1, 13 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  377. grd_dtlist.subtotal("sum", -1, 14 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  378. grd_dtlist.subtotal("sum", -1, 15 , "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#99ccff; color:#0000; font-weight:bold; ", 0, "총합계 ", false);
  379. ]]>
  380. </script>
  381. </button>
  382. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  383. <input id="input27" ref="/root/send/search/pid" class="input_search" style="left:433px; top:8px; width:80px; height:19px; ">
  384. <script type="javascript" ev:event="onkeypress">
  385. <![CDATA[
  386. if ( event.keyCode == "13" ) {
  387. // 2009.01.16 syjung 환자이름 조회
  388. model.setValue("/root/source/srchcond", "1");
  389. model.setValue("/root/source/pid", input27.currentText);
  390. if(submit("TRPMC02500")){
  391. var vcheck_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  392. if (vcheck_pid == null || vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  393. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  394. return;
  395. }
  396. model.setValue("/root/send/search/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
  397. model.setValue("/root/send/search/hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  398. model.refresh();
  399. }
  400. else {
  401. messageBox("존재하지 않는 등록번호","E008");//E008=입니다
  402. return;
  403. }
  404. inputEnterKey("button1", "DOMActivate");
  405. }
  406. ]]>
  407. </script>
  408. </input>
  409. <caption id="caption21" class="search_name" style="left:6px; top:8px; width:86px; height:17px; ">진료일자 :</caption>
  410. <input id="input18" ref="/root/send/search/todd" class="input_search" inputtype="date" style="left:215px; top:8px; width:100px; height:19px; "/>
  411. <input id="input19" ref="/root/send/search/fromdd" class="input_search" inputtype="date" style="left:95px; top:8px; width:100px; height:19px; "/>
  412. <caption id="caption16" style="left:198px; top:10px; width:15px; height:19px; font-weight:bold; text-align:center; ">~</caption>
  413. <caption id="caption17" class="search_name" style="left:345px; top:8px; width:86px; height:17px; ">등록번호 :</caption>
  414. <button id="btn_ptbs_search" class="icon_search" style="left:518px; top:8px; width:16px; height:16px; ">
  415. <caption/>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. //조회건수가 1건일 경우 팝업창을 바로 닫는다.
  419. model.setValue("/root/source/checkfnexam", "1");
  420. model.setValue("/root/source/autoflag", "N");
  421. if( model.getValue("/root/source/srchcond") == '' ){
  422. model.setValue("/root/source/srchcond", '4');
  423. }
  424. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", " /root/send");
  425. model.resetInstanceNode("/root/source");
  426. //환자번호 copy
  427. var popupendflag = model.getValue("/root/main/popupendflag");
  428. if (popupendflag == "ok") {
  429. model.setValue("/root/send/search/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
  430. model.setValue("/root/send/search/hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  431. }
  432. model.refresh();
  433. ]]>
  434. </script>
  435. </button>
  436. <input id="ipt_hngnm" ref="/root/send/search/hngnm" class="input_search" disabled="true" style="left:540px; top:8px; width:130px; height:19px; ">
  437. <script type="javascript" ev:event="xforms-next">
  438. <![CDATA[
  439. ]]>
  440. </script>
  441. <script type="javascript" ev:event="onkeypress">
  442. <![CDATA[
  443. if (event.keyCode == "13") {
  444. if (fHngNmVeri("onkeypress") == false) return;
  445. model.setValue("/root/source/srchcond", "2");
  446. model.setValue("/root/source/hngnm", ipt_hngnm.currentText);
  447. inputEnterKey("btn_ptbs_search", "DOMActivate");
  448. }
  449. ]]>
  450. </script>
  451. </input>
  452. </group>
  453. <caption id="caption20" class="tit_2" style="left:6px; top:65px; width:162px; height:13px; ">진료비 상세내역 리스트</caption>
  454. <line id="line8" class="line_1" style="x1:0px; y1:81px; x2:1194px; y2:81px; "/>
  455. <button id="button52" class="btn6_letter2" style="left:1042px; top:52px; width:56px; height:22px; ">
  456. <caption>출력</caption>
  457. <script type="javascript" ev:event="DOMActivate">
  458. <![CDATA[
  459. exeReportPreview("RPPMC04000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  460. ]]>
  461. </script>
  462. </button>
  463. <button id="button53" accesskey="f1" class="btn6_letter4" style="left:1100px; top:52px; width:80px; height:22px; ">
  464. <caption>엑셀저장</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  468. if (fileName != "")
  469. {
  470. grd_dtlist.saveExcel(fileName, "SheetName", true, true, "", "");
  471. }
  472. window.exec(fileName);
  473. ]]>
  474. </script>
  475. </button>
  476. <datagrid id="grd_dtlist" nodeset="/root/main/grid/datalist" scroll="auto" caption="방문일자^등록번호^환자명^S/A^진료과^진료의^처방 code^처방명^수량^횟수^일수^급비^단가^금액^본인부담금^할인액" colsep="^" colwidth="78, 66, 50, 50, 99, 50, 80, 222, 32, 32, 32, 36, 90, 90, 96, 87" dataheight="25" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:0px; top:86px; width:1194px; height:649px; ">
  477. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  478. <col ref="pid" style="text-align:left; "/>
  479. <col ref="hngnm" style="text-align:center; "/>
  480. <col ref="sexage" style="text-align:center; "/>
  481. <col ref="depthngnm" style="text-align:left; "/>
  482. <col ref="usernm" style="text-align:left; "/>
  483. <col ref="snglcalcscorcd" style="text-align:left; "/>
  484. <col ref="prescribenm" style="text-align:left; "/>
  485. <col ref="calcqty" format="#,###" style="text-align:right; "/>
  486. <col ref="calctims" format="#,###" style="text-align:right; "/>
  487. <col ref="calcdays" format="#,###" style="text-align:right; "/>
  488. <col ref="cdnm" style="text-align:center; "/>
  489. <col ref="appunitcost" format="(-)#,###" style="text-align:right; "/>
  490. <col ref="calcamt" format="(-)#,###" style="text-align:right; "/>
  491. <col ref="allownbamt" format="(-)#,###" style="text-align:right; "/>
  492. <col ref="discamt" format="(-)#,###" style="text-align:right; "/>
  493. </datagrid>
  494. </group>
  495. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  496. <button id="button2" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  497. <caption>종료</caption>
  498. <script type="javascript" ev:event="DOMActivate">
  499. <![CDATA[
  500. model.close();
  501. ]]>
  502. </script>
  503. </button>
  504. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  505. </group>
  506. </xhtml:body>
  507. </xhtml:html>