SMPMI05500_장기재원환자리스트.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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. <data1>
  11. <wardcd/>
  12. <indd/>
  13. <insukind/>
  14. <inhospuncoamt/>
  15. <s_fromdd/>
  16. <s_todd/>
  17. <pid/>
  18. <ddchk/>
  19. <befyn/>
  20. <indayno/>
  21. <orddeptcd/>
  22. </data1>
  23. <data2>
  24. <sess_posinstcd/>
  25. </data2>
  26. <data3>
  27. <list01>
  28. <s_fromdd/>
  29. <s_todd/>
  30. <s_calcstat/>
  31. </list01>
  32. <list02/>
  33. </data3>
  34. </send>
  35. <main>
  36. <inhospuncoamt>
  37. <inhospuncoamtlist/>
  38. </inhospuncoamt>
  39. </main>
  40. <init>
  41. <P0006list>
  42. <P0006>
  43. <cdnm/>
  44. <cdid/>
  45. </P0006>
  46. </P0006list>
  47. <PAM>
  48. <P0022list/>
  49. </PAM>
  50. </init>
  51. <hidden>
  52. <init>
  53. <disccd>
  54. <cd/>
  55. <nm/>
  56. </disccd>
  57. <insukind>
  58. <cd/>
  59. <nm/>
  60. </insukind>
  61. <suppkind>
  62. <cd/>
  63. <nm/>
  64. <up/>
  65. <io/>
  66. </suppkind>
  67. <orddeptcd>
  68. <cd/>
  69. <nm/>
  70. </orddeptcd>
  71. <orddrid>
  72. <cd/>
  73. <nm/>
  74. <dp/>
  75. <sp/>
  76. </orddrid>
  77. <flag>
  78. <prestdd/>
  79. <mskindflag/>
  80. </flag>
  81. <wardcd>
  82. <cd/>
  83. <nm/>
  84. <of/>
  85. </wardcd>
  86. <roomcd>
  87. <cd/>
  88. <nm/>
  89. <wd/>
  90. <gr/>
  91. <ty/>
  92. <sex/>
  93. </roomcd>
  94. </init>
  95. <temp/>
  96. <rcv/>
  97. <flag>
  98. <prncheck/>
  99. </flag>
  100. <result>
  101. <result_cnt>
  102. <rstcnt/>
  103. </result_cnt>
  104. </result>
  105. <chkbefore/>
  106. <chkafter/>
  107. <inhospuncoamt>
  108. <inhospuncoamtlist/>
  109. </inhospuncoamt>
  110. </hidden>
  111. <temp>
  112. <receipt/>
  113. </temp>
  114. <rex>
  115. <rex_spec>
  116. <list/>
  117. </rex_spec>
  118. </rex>
  119. </root>
  120. </instance>
  121. <submission id="TRPAI00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/inhospuncoamt"/>
  122. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  123. <submission id="TXPAI00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" resultref="/root/hidden/result"/>
  124. <submission id="TRPAI00120" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/hidden/init"/>
  125. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  126. <!-- 20100129 JHP 수정추가 병동전체로 선택시 조건에 따라 분할조회할때 사용. -->
  127. <submission id="TRPMI05500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/inhospuncoamt"/>
  128. </model>
  129. <script type="javascript">
  130. <![CDATA[
  131. function fInMdlRcptPrint() {
  132. for (var k = 1; k <= getNodesetCount("/root/send/data3/list02/list"); k++) {
  133. model.makeValue("/root/temp/receipt/pid", model.getValue("/root/send/data3/list02/list[" + k + "]/pid"));
  134. model.makeValue("/root/temp/receipt/rcptdd", "");
  135. model.makeValue("/root/temp/receipt/rcptno", "");
  136. model.makeValue("/root/temp/receipt/rcptseqno", "");
  137. model.makeValue("/root/temp/receipt/indd", model.getValue("/root/send/data3/list02/list[" + k + "]/indd"));
  138. model.makeValue("/root/temp/receipt/instcd", model.getValue("/root/send/data3/list02/list[" + k + "]/instcd"));
  139. model.makeValue("/root/temp/receipt/fromdd", model.getValue("/root/send/data3/list02/list[" + k + "]/fromdd"));
  140. model.makeValue("/root/temp/receipt/todd", model.getValue("/root/send/data3/list02/list[" + k + "]/todd"));
  141. model.makeValue("/root/temp/receipt/mskind", model.getValue("/root/send/data3/list02/list[" + k + "]/mskind"));
  142. model.makeValue("/root/temp/receipt/insukind", model.getValue("/root/send/data3/list02/list[" + k + "]/insukind"));
  143. model.makeValue("/root/temp/receipt/suppkind", model.getValue("/root/send/data3/list02/list[" + k + "]/suppkind"));
  144. model.makeValue("/root/temp/receipt/orddeptcd", model.getValue("/root/send/data3/list02/list[" + k + "]/orddeptcd"));
  145. model.makeValue("/root/temp/receipt/ownoveramt", model.getValue("/root/send/data3/list02/list[" + k + "]/ownoveramt"));
  146. model.makeValue("/root/temp/receipt/cretno", model.getValue("/root/send/data3/list02/list[" + k + "]/cretno"));
  147. model.makeValue("/root/temp/receipt/roomcd", model.getValue("/root/send/data3/list02/list[" + k + "]/roomcd"));
  148. //model.makeValue("/root/temp/receipt/seqno", "1"); //seqno 1 인것만 출력 수정해야 함.(최종것?)
  149. model.makeValue("/root/temp/receipt/ordtype", "중간계산서" );
  150. model.makeValue("/root/temp/receipt/ret_act_label", "계산서"); //중간계산서 일 경우 청구서, 영수증 여부
  151. model.makeValue("/root/temp/receipt/ret_act_form", "중간계산서양식"); //영수증양식, 중간계산서양식
  152. model.makeValue("/root/temp/receipt/endmidflag", "중간"); //퇴원, 중간(영수증 상단 체크박스)
  153. model.makeValue("/root/temp/receipt/engYN", "N"); //입원 영문 영수증 출력 .
  154. model.makeValue("/root/temp/receipt/reprintYN", "N" ); //재발행여부
  155. modal("SPPAO01900");
  156. model.removenode("/root/temp/receipt");
  157. }
  158. }
  159. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  160. function fInitialize() {
  161. model.resetInstanceNode("/root/send/data1");
  162. model.resetInstanceNode("/root/send/data3");
  163. model.removeNodeset("/root/main/inhospuncoamt");
  164. model.makeNode("/root/main/inhospuncoamt/inhospuncoamtlist");
  165. //날자 입력 항목에 오늘 날자 세팅
  166. var curDate = getCurrentDate();
  167. model.setValue("/root/send/data1/indd", curDate);
  168. //model.setValue("/root/send/data1/fromdd", curDate);
  169. //model.setValue("/root/send/data1/todd", curDate);
  170. //model.setFocus("cmb_insukind");
  171. model.refresh();
  172. }
  173. function fInHospUncoAmtRef()
  174. {
  175. var s_pid = model.getValue("/root/send/data1/pid");
  176. var s_ddchk = model.getValue("/root/send/data1/ddchk");
  177. var s_fromdd = model.getValue("/root/send/data1/s_fromdd");
  178. var s_todd = model.getValue("/root/send/data1/s_todd");
  179. if (model.getValue("/root/send/data1/inhospuncoamt") == "") {
  180. model.setValue("/root/send/data1/inhospuncoamt", "0");
  181. }
  182. if (s_pid == null || s_pid == " " || s_pid == "") {
  183. // 20090612 JHP 수정 이명진샘 요청 중간청구 하는 일자가 바뀌어서 주단위로 출력을 해야하니까 환자번호 체크 로직 풀어주세요.
  184. // 하여 해당 로직을 주석처리하고 밑에다가 'if (bol_ddflag.selected == true) {' 요내용 추가함.
  185. // if (bol_ddflag.selected == true) {
  186. // messageBox("환자번호를 입력하신 후 조회를 해주세요.!","E999","");
  187. // model.setFocus("ipt_pid");
  188. // model.refresh();
  189. // return false;
  190. // }
  191. } else {
  192. // 20090612 JHP 추가 함.
  193. if (bol_ddflag.selected == true) {
  194. //if ((s_fromdd == null || s_fromdd == "" || s_fromdd == " ") || (s_todd == null || s_todd == "" || s_todd == " ")) {
  195. if ((s_todd == null || s_todd == "" || s_todd == " ")) {
  196. messageBox("조회기간을 입력하신 후 조회를 해주세요.!","E999","");
  197. model.setFocus("ipt_fromdd");
  198. model.refresh();
  199. return false;
  200. }
  201. }
  202. }
  203. // openLoadinBar("처리중입니다..") ;//처리중 화면을 오픈한다.
  204. //20100129 JHP 수정추가 전체조회시 트랙잭션오류발생 전체조회시 병동별로 분할조회하여 인스턴스 붙여서 그리드 구성한다. (관련: 원무공통코드 P0022 340번)
  205. var value = model.getValue("/root/init/PAM/P0022list/P0022[cdid = '340']/cdnm");
  206. var allward = model.getValue("/root/send/data1/wardcd");
  207. var allpid = model.getValue("/root/send/data1/pid");
  208. if(value == "Y" && (allward == '' || allward == null)){
  209. if(allpid == null || allpid == '' ||allpid == ' '){
  210. fAllWardRef();
  211. }else{
  212. submit("TRPAI00301");
  213. }
  214. }else{
  215. submit("TRPAI00301");
  216. }
  217. closeLoadingBar() ;
  218. model.refresh();
  219. // if (isRequiredControls("ipt_fromdd","ipt_todd"))
  220. // if (isRequiredControls("cmb_wardcd", "ipt_fromdd","ipt_todd"))
  221. }
  222. // 20100129 JHP 병동전체일때 원무공통코드(P0022,340 : Y)일때
  223. function fAllWardRef(){
  224. model.removeNodeset("/root/main/inhospuncoamt/inhospuncoamtlist");
  225. var addyn = 'N';
  226. // 1. 병동조회의 전체 건수를 가져온다.
  227. var wardcnt = getNodesetCount("/root/hidden/init/wardcd");
  228. // 2. 각 병동 건수만큼 서브밋을 날린다.
  229. for(var i = 0; i <= wardcnt; i++){
  230. // 3. 병동코드를 가져온다.
  231. var wardcd = model.getValue("/root/hidden/init/wardcd['" + i + "']/cd");
  232. if(wardcd == "" || wardcd == " " || wardcd == null){
  233. }else{
  234. // 4. 병동코드를 넣어서 서브밋을 날려준다.
  235. model.setValue("/root/send/data1/wardcd",wardcd);
  236. submit("TRPAI00302");
  237. addyn = 'Y';
  238. }
  239. if(addyn == 'Y'){
  240. // 5. 각각 날린값을 가지고 각각따로 인스턴스를 넣어준다.(한꺼번에 넣는방법은 없음)
  241. var listcnt = getNodesetCount("/root/hidden/inhospuncoamt/inhospuncoamtlist");
  242. for(var j = 0; j<= listcnt; j++){
  243. model.duplicate("/root/main/inhospuncoamt","/root/hidden/inhospuncoamt/inhospuncoamtlist['" + j +"']");
  244. }
  245. }
  246. addyn == 'N';
  247. }
  248. }
  249. //세션정보 추출하기
  250. function fGetUserInfosSampling() {
  251. var sUserInfosS = getUserInfos();
  252. sUserInfosS = sUserInfosS + "|";
  253. var UserInfosS_Array = sUserInfosS.split("|");
  254. var userid = UserInfosS_Array[0]; //사용자번호
  255. var usernm = UserInfosS_Array[1]; //사용자이름
  256. //var posinstcd = UserInfosS_Array[2]; //소속기관코드
  257. //var posinstnm = UserInfosS_Array[3]; //소속기관명
  258. var posinstcd = UserInfosS_Array[6]; //근무지기관코드 2009.04.15
  259. var posinstnm = UserInfosS_Array[7]; //근무지기관명 2009.04.15
  260. var posdeptcd = UserInfosS_Array[4]; //소속부서코드
  261. var posdeptnm = UserInfosS_Array[5]; //소속부서명
  262. model.makeNode("/root/hidden/session/" + "userid");
  263. model.makeNode("/root/hidden/session/" + "usernm");
  264. model.makeNode("/root/hidden/session/" + "posinstcd");
  265. model.makeNode("/root/hidden/session/" + "posinstnm");
  266. model.makeNode("/root/hidden/session/" + "posdeptcd");
  267. model.makeNode("/root/hidden/session/" + "posdeptnm")
  268. if (userid == null || userid == "" || userid == " " || userid == "-") userid = "pam";
  269. //if (posinstcd == null || posinstcd == "" || posinstcd == " " || posinstcd == "-") posinstcd = "";
  270. model.setValue("/root/hidden/session/userid",userid);
  271. model.setValue("/root/hidden/session/usernm",usernm);
  272. model.setValue("/root/hidden/session/posinstcd",posinstcd);
  273. model.setValue("/root/hidden/session/posinstnm",posinstnm);
  274. model.setValue("/root/hidden/session/posdeptcd",posdeptcd);
  275. model.setValue("/root/hidden/session/posdeptnm",posdeptnm);
  276. model.refresh();
  277. }
  278. ]]>
  279. </script>
  280. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  281. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  282. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  283. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  284. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  285. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  286. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  287. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  288. <script type="javascript" ev:event="xforms-ready">
  289. <![CDATA[
  290. zbcfGetCodeList(new Array("P0006"),new Array("/root/init/P0006list"));
  291. // 20100129 - 원무공통코드 pamcomnweb/js/PAM001.js TRPMI00105
  292. pamfGetCodeList(new Array("P0022"), new Array("/root/init/PAM/P0022list"));
  293. //초기화 및 날자 입력 항목에 오늘 날자 세팅
  294. fInitialize();
  295. //grd_inhospuncoamt.fixedcellcheckbox(0,1) = true;
  296. //bool_printyn.selected = false;
  297. grd_longinpatlist.explorerbar = "sort";
  298. //세션정보 추출하기
  299. fGetUserInfosSampling();
  300. model.setValue("/root/send/data2/sess_posinstcd", model.getValue("/root/hidden/session/posinstcd"));
  301. submit("TRPAI00120");
  302. model.refresh();
  303. ]]>
  304. </script>
  305. </xhtml:head>
  306. <xhtml:body guideline="1,1193;1,1195;2,755;" style="font-size:12pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  307. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  308. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:130px; height:14px; ">입원수납</caption>
  309. </group>
  310. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  311. <datagrid id="grd_longinpatlist" nodeset="/root/main/inhospuncoamt/inhospuncoamtlist" caption="^병실명^환자번호^이름^입원일자^보험유형^진료과^재원일수^주교수^주치의^IMP^총진료비^급여출력^급여청구^급여본인^비급여^본인부담" colsep="^" colwidth="16, 100, 90, 70, 60, 60, 120, 60, 60, 60, 100, 75, 75, 75, 75, 75, 75" frozencols="10" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:70px; width:1195px; height:672px; text-align:center; ">
  312. <col checkvalue="Y, N" ref="chkflag" type="checkbox"/>
  313. <col disabled="true" ref="roomcd" style="text-align:center; "/>
  314. <col ref="pid"/>
  315. <col disabled="true" ref="hngnm"/>
  316. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  317. <col disabled="true" ref="insukind" type="combo">
  318. <choices>
  319. <itemset nodeset="/root/hidden/init/insukind">
  320. <label ref="nm"/>
  321. <value ref="cd"/>
  322. </itemset>
  323. </choices>
  324. </col>
  325. <col disabled="true" ref="orddeptcd" type="combo">
  326. <choices>
  327. <itemset nodeset="/root/hidden/init/orddeptcd">
  328. <label ref="nm"/>
  329. <value ref="cd"/>
  330. </itemset>
  331. </choices>
  332. </col>
  333. <col disabled="true" ref="inhosdd"/>
  334. <col disabled="true" ref="atdoctcd"/>
  335. <col disabled="true" ref="medispclid" type="combo">
  336. <choices>
  337. <itemset nodeset="/root/hidden/init/orddrid">
  338. <label ref="nm"/>
  339. <value ref="cd"/>
  340. </itemset>
  341. </choices>
  342. </col>
  343. <col disabled="true" ref="imp"/>
  344. <col disabled="true" ref="totalamt" format="(-)#,###" style="text-align:right; "/>
  345. <col ref="ownbtotamt" format="(-)#,###" style="text-align:right; "/>
  346. <col disabled="true" ref="salaryclaim"/>
  347. <col disabled="true" ref="salaryme"/>
  348. <col disabled="true" ref="nopyamt"/>
  349. <col disabled="true" ref="payownbamt"/>
  350. <script type="javascript" ev:event="onaftersort">
  351. <![CDATA[
  352. //sorting 시 인스턴스 구조를 재구성
  353. grd_inhospuncoamt.gridToInstance();
  354. ]]>
  355. </script>
  356. </datagrid>
  357. <group id="group2" style="left:0px; top:5px; width:1194px; height:35px; ">
  358. <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; "/>
  359. <caption id="caption7" class="search_name" style="left:340px; top:9px; width:90px; height:17px; ">보험유형 :</caption>
  360. <select1 id="combo2" ref="/root/send/data1/insukind" class="combo_search" appearance="minimal" style="left:432px; top:8px; width:131px; height:19px; ">
  361. <choices>
  362. <itemset nodeset="/root/hidden/init/insukind">
  363. <label ref="nm"/>
  364. <value ref="cd"/>
  365. </itemset>
  366. </choices>
  367. </select1>
  368. <caption id="caption9" class="search_name" style="left:3px; top:8px; width:86px; height:17px; ">조회기간 :</caption>
  369. <caption id="caption11" class="search_n_b" style="left:213px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  370. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  371. <caption>조회</caption>
  372. <script type="javascript" ev:event="DOMActivate">
  373. <![CDATA[
  374. // if (bol_ddflag.selected == false) {
  375. // if (model.getValue("/root/send/data1/wardcd") == "" || model.getValue("/root/send/data1/wardcd") == "-") {
  376. // messageBox("병동을 선택하여 주십시오.", "I999");
  377. // return;
  378. // }
  379. // }
  380. model.setValue("/root/hidden/chkbefore", "");
  381. model.setValue("/root/hidden/chkafter", "");
  382. submit("TRPMI05500");
  383. //fInHospUncoAmtRef();
  384. ]]>
  385. </script>
  386. </button>
  387. <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  388. <input id="ipt_fromdd" ref="/root/send/data1/s_fromdd" class="input_search" disabled="true" inputtype="date" style="left:110px; top:7px; width:100px; height:19px; "/>
  389. <input id="ipt_todd" ref="/root/send/data1/s_todd" class="input_search" disabled="true" inputtype="date" style="left:228px; top:7px; width:100px; height:19px; "/>
  390. <bool id="bol_ddflag" ref="/root/send/data1/ddchk" style="left:92px; top:9px; width:15px; height:15px; ">
  391. <script type="javascript" ev:event="xforms-select">
  392. <![CDATA[
  393. var s_pid = model.getValue("/root/send/data1/pid");
  394. //날자 입력 항목에 오늘 날자 세팅
  395. var curDate = getCurrentDate();
  396. if (s_pid != null && s_pid !=" " && s_pid != "") {
  397. ipt_fromdd.disabled = false;
  398. ipt_todd.disabled = false;
  399. model.setValue("/root/send/data1/s_fromdd", curDate);
  400. model.setValue("/root/send/data1/s_todd", curDate);
  401. model.refresh();
  402. } else {
  403. // messageBox("환자번호를 입력해야 합니다.!","E999","");
  404. ipt_fromdd.disabled = false;
  405. ipt_todd.disabled = false;
  406. model.setValue("/root/send/data1/s_fromdd", curDate);
  407. model.setValue("/root/send/data1/s_todd", curDate);
  408. model.setFocus("ipt_pid");
  409. model.refresh();
  410. return false;
  411. }
  412. ]]>
  413. </script>
  414. <script type="javascript" ev:event="xforms-deselect">
  415. <![CDATA[
  416. ipt_fromdd.disabled = true;
  417. ipt_todd.disabled = true;
  418. model.setValue("/root/send/data1/s_fromdd","");
  419. model.setValue("/root/send/data1/s_todd","");
  420. model.setValue("/root/send/data1/pid","");
  421. model.refresh();
  422. ]]>
  423. </script>
  424. </bool>
  425. <caption id="caption12" style="left:1050px; top:7px; width:45px; height:20px; font-size:10pt; vertical-align:middle; ">일 이상</caption>
  426. <caption id="caption13" class="search_name" style="left:915px; top:9px; width:92px; height:17px; ">재원일수 :</caption>
  427. <input id="ipt_indayno" ref="/root/send/data1/indayno" class="input_search" format="#,###" style="left:1005px; top:8px; width:40px; height:19px; text-align:right; "/>
  428. <caption id="caption1" class="search_name" style="left:580px; top:9px; width:80px; height:15px; ">진료과 :</caption>
  429. <select1 id="combo1" ref="/root/send/data1/orddeptcd" class="combo_search" appearance="minimal" style="left:660px; top:8px; width:131px; height:19px; ">
  430. <choices>
  431. <itemset nodeset="/root/hidden/init/orddeptcd">
  432. <label ref="nm"/>
  433. <value ref="cd"/>
  434. </itemset>
  435. </choices>
  436. </select1>
  437. </group>
  438. <caption id="caption3" class="tit_2" style="left:5px; top:49px; width:144px; height:13px; font-family:돋움; vertical-align:middle; ">장기 재원환자 리스트</caption>
  439. <line id="line3" class="line_1" style="left:0; x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  440. <button id="button3" class="btn2_letter2" style="left:1145px; top:44px; width:42px; height:19px; ">
  441. <caption>엑셀</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  445. if (fileName != "")
  446. {
  447. grd_longinpatlist.saveExcel(fileName, "col_2:label;col_13:label;col_14:label;col_15:label;col_16:label;col_17:label" );
  448. }
  449. window.exec(fileName);
  450. ]]>
  451. </script>
  452. </button>
  453. <button id="button5" class="btn2_letter2" style="left:1096px; top:44px; width:42px; height:19px; ">
  454. <caption>출력</caption>
  455. <script type="javascript" ev:event="DOMActivate">
  456. <![CDATA[
  457. model.removenode("/root/rex/rex_spec");
  458. model.makeNode("/root/rex/rex_spec");
  459. var nodeList = instance1.selectNodes("/root/main/inhospuncoamt/inhospuncoamtlist[chkflag='Y']");
  460. var CSV = getNodeListCSV(nodeList);
  461. model.setValue("/root/hidden/temp", CSV);
  462. var CSV = model.getValue("/root/hidden/temp");
  463. if (CSV == null || CSV == "" || CSV == " ") {
  464. messageBox("선택된 데이터가","I004","");
  465. return false;
  466. }
  467. setCSVToNode("/root/rex/rex_spec", CSV);
  468. //exeReportPreview("RPPAI00300", "XMLSTR");
  469. exeReportPreview("RPPMI05500", "XMLSTR" , "" , "" , "true" , "", "", "", "", "");
  470. ]]>
  471. </script>
  472. </button>
  473. </group>
  474. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  475. <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  476. <caption>초기화</caption>
  477. <script type="javascript" ev:event="DOMActivate">
  478. <![CDATA[
  479. fInitialize();
  480. ]]>
  481. </script>
  482. </button>
  483. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  484. </group>
  485. </xhtml:body>
  486. </xhtml:html>