SPPMI03300_전과전실신청승인조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMPMI03300_전과전실신청승인조회.xrw
  4. * 설 명 : 전과전실신청승인조회
  5. * 설 계 자 : 최병진
  6. * 작 성 자 : 최병진.
  7. * 작 성 일 : 2008.02.29
  8. * 수정이력 :
  9. * 기 타 :
  10. * 구현예정 :
  11. -->
  12. <?xml-stylesheet href="../../../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. <send>
  20. <acptflagcd>0</acptflagcd>
  21. <appflagcd>0</appflagcd>
  22. <appddfrom/>
  23. <appddto/>
  24. <indschstat>1</indschstat>
  25. <pid/>
  26. </send>
  27. <main>
  28. <cdcrlist>
  29. <cdcr>
  30. <cdcr_indschacptstat/>
  31. <cdcr_pid/>
  32. <cdcr_indd/>
  33. <cdcr_cretno/>
  34. <cdcr_seqno/>
  35. <cdcr_instcd/>
  36. <cdcr_mskind/>
  37. <cdcr_histstat/>
  38. <cdcr_acptflagcd/>
  39. <cdcr_appflagcd/>
  40. <cdcr_appdd/>
  41. <cdcr_apptm/>
  42. <cdcr_appid/>
  43. <cdcr_pamacptdd/>
  44. <cdcr_pamacpttm/>
  45. <cdcr_pamacptid/>
  46. <cdcr_prestwardcd/>
  47. <cdcr_prestroomcd/>
  48. <cdcr_prestroomgrde/>
  49. <cdcr_prestroomtype/>
  50. <cdcr_prestcentcd/>
  51. <cdcr_prestcentnm/>
  52. <cdcr_prestsuporddeptcd/>
  53. <cdcr_prestsuporddeptnm/>
  54. <cdcr_prestorddeptcd/>
  55. <cdcr_prestorddeptnm/>
  56. <cdcr_prestmedispclid/>
  57. <cdcr_prestmedispclnm/>
  58. <cdcr_prestatdoctid/>
  59. <cdcr_prestatdoctnm/>
  60. <cdcr_prestspecordyn/>
  61. <cdcr_chngwardcd/>
  62. <cdcr_chngroomcd/>
  63. <cdcr_chngroomgrde/>
  64. <cdcr_chngroomtype/>
  65. <cdcr_oxyyn/>
  66. <cdcr_suctyn/>
  67. <cdcr_chngcentcd/>
  68. <cdcr_chngcentnm/>
  69. <cdcr_chngsuporddeptcd/>
  70. <cdcr_chngsuporddeptnm/>
  71. <cdcr_chngorddeptcd/>
  72. <cdcr_chngorddeptnm/>
  73. <cdcr_chngmedispclid/>
  74. <cdcr_chngmedispclnm/>
  75. <cdcr_chngatdoctid/>
  76. <cdcr_chngatdoctnm/>
  77. <cdcr_specordyn/>
  78. <cdcr_enddd/>
  79. <cdcr_endtm/>
  80. <cdcr_endid/>
  81. <cdcr_prestremcd/>
  82. <cdcr_chngprestrem/>
  83. <cdcr_fstrgstrid/>
  84. <cdcr_fstrgstdt/>
  85. <cdcr_lastupdtrid/>
  86. <cdcr_lastupdtdt/>
  87. <cdcr_hngnm/>
  88. <cdcr_sex/>
  89. <cdcr_prestatdoctnm/>
  90. <cdcr_deptengabbr/>
  91. <cdcr_chngroomgrdenm/>
  92. </cdcr>
  93. </cdcrlist>
  94. <icdrlist>
  95. <icdr>
  96. <icdr_indschacptstat/>
  97. <icdr_pid/>
  98. <icdr_hngnm/>
  99. <icdr_indd/>
  100. <icdr_histstat/>
  101. <icdr_pamacptdd/>
  102. <icdr_wardcd/>
  103. <icdr_roomcd/>
  104. <icdr_roomgrdecd/>
  105. <icdr_roomtypecd/>
  106. <icdr_orddeptcd/>
  107. <icdr_orddeptnm/>
  108. <icdr_medispclid/>
  109. <icdr_medispclnm/>
  110. </icdr>
  111. </icdrlist>
  112. </main>
  113. <hidden>
  114. <init>
  115. <disccd>
  116. <cd/>
  117. <nm/>
  118. </disccd>
  119. <insukind>
  120. <cd/>
  121. <nm/>
  122. </insukind>
  123. <suppkind>
  124. <cd/>
  125. <nm/>
  126. <up/>
  127. <io/>
  128. </suppkind>
  129. <orddeptcd>
  130. <cd/>
  131. <nm/>
  132. </orddeptcd>
  133. <orddrid>
  134. <cd/>
  135. <nm/>
  136. <dp/>
  137. <sp/>
  138. </orddrid>
  139. <wardcd>
  140. <cd/>
  141. <nm/>
  142. <of/>
  143. </wardcd>
  144. <roomcd>
  145. <cd/>
  146. <nm/>
  147. <wd/>
  148. <gr/>
  149. <ty/>
  150. </roomcd>
  151. <flag>
  152. <prestdd/>
  153. <mskindflag/>
  154. </flag>
  155. <roomgrdecd>
  156. <nm/>
  157. <cd/>
  158. </roomgrdecd>
  159. </init>
  160. <inddchk/>
  161. </hidden>
  162. <init>
  163. <P0002list>
  164. <P0002>
  165. <cdid/>
  166. <cdnm/>
  167. </P0002>
  168. </P0002list>
  169. <P0006list>
  170. <P0006>
  171. <cdnm/>
  172. <cdid/>
  173. </P0006>
  174. </P0006list>
  175. <P0015list>
  176. <P0015>
  177. <cdnm/>
  178. <cdid/>
  179. </P0015>
  180. </P0015list>
  181. <P0016list>
  182. <P0016>
  183. <cdnm/>
  184. <cdid/>
  185. </P0016>
  186. </P0016list>
  187. <P0019list>
  188. <P0019>
  189. <cdnm/>
  190. <cdid/>
  191. </P0019>
  192. </P0019list>
  193. <P0021list>
  194. <P0021>
  195. <cdnm/>
  196. <cdid/>
  197. </P0021>
  198. </P0021list>
  199. <P0023list>
  200. <P0023>
  201. <cdid/>
  202. <cdnm/>
  203. </P0023>
  204. </P0023list>
  205. <P0025list>
  206. <P0025>
  207. <cdid/>
  208. <cdnm/>
  209. </P0025>
  210. </P0025list>
  211. <P0026list>
  212. <P0026>
  213. <cdid/>
  214. <cdnm/>
  215. </P0026>
  216. </P0026list>
  217. <P0032list>
  218. <P0032>
  219. <cdnm/>
  220. <cdid/>
  221. </P0032>
  222. </P0032list>
  223. <P0149list>
  224. <P0149>
  225. <cdid/>
  226. <cdnm/>
  227. </P0149>
  228. </P0149list>
  229. <P0158list>
  230. <P0158>
  231. <cdid/>
  232. <cdnm/>
  233. </P0158>
  234. </P0158list>
  235. <P0160list>
  236. <P0160>
  237. <cdnm/>
  238. <cdid/>
  239. </P0160>
  240. </P0160list>
  241. <P0360list>
  242. <P0360>
  243. <cdnm/>
  244. <cdid/>
  245. </P0360>
  246. </P0360list>
  247. <P0363list>
  248. <P0363>
  249. <cdnm/>
  250. <cdid/>
  251. </P0363>
  252. </P0363list>
  253. <P0313list>
  254. <P0313>
  255. <cdnm/>
  256. <cdid/>
  257. </P0313>
  258. </P0313list>
  259. <P0339list>
  260. <P0339>
  261. <cdnm/>
  262. <cdid/>
  263. </P0339>
  264. </P0339list>
  265. <P0340list>
  266. <P0340>
  267. <cdnm/>
  268. <cdid/>
  269. </P0340>
  270. </P0340list>
  271. </init>
  272. </root>
  273. </instance>
  274. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  275. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/hidden/init"/>
  276. <submission id="TRPMI03301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  277. </model>
  278. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  279. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  280. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  281. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  282. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  283. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  284. <script type="javascript">
  285. <![CDATA[
  286. // 조회조건에 따른 조회문장
  287. function fSearch()
  288. {
  289. model.resetInstanceNode("/root/main");
  290. submit("TRPMI03301","false");
  291. model.refresh();
  292. }
  293. /*
  294. // 진료과,병동,병실의 콤보값을 셋팅한다.
  295. function fComboNodeSet(arg1){
  296. if (arg1 == 0){
  297. // 전문의
  298. var sorddeptcd = model.getValue("/root/main/icdr/icdr_orddeptcd");
  299. cmb_medispclid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
  300. cmb_medispclid.refresh();
  301. cmb_atdoctid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
  302. cmb_atdoctid.refresh();
  303. // //특진여부
  304. // var smedispclid = model.getValue("/root/main/icdr/icdr_medispclid");
  305. // var sspecordyn = model.getValue("/root/hidden/init/orddrid[cd = '" + smedispclid + "' ]/sp")
  306. // if (sspecordyn == null || sspecordyn == ""){
  307. // sspecordyn = "N";
  308. // }
  309. // model.setValue("/root/main/icdr/icdr_specordyn", sspecordyn);
  310. // 병실
  311. var swardcd = model.getValue("/root/main/icdr/icdr_wardcd");
  312. if (swardcd == null || swardcd == " " || swardcd == "") {
  313. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd"
  314. cmb_roomcd.refresh();
  315. } else {
  316. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd[wd = '" + swardcd + "' ]";
  317. cmb_roomcd.refresh();
  318. }
  319. // 병실2
  320. var swardcd2 = model.getValue("/root/main/icdr/icdr_wardcd2");
  321. if (swardcd2 == null || swardcd2 == " " || swardcd2 == "") {
  322. cmb_roomcd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd"
  323. cmb_roomcd2.refresh();
  324. } else {
  325. cmb_roomcd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd[wd = '" + swardcd2 + "' ]";
  326. cmb_roomcd2.refresh();
  327. }
  328. // 등급
  329. var sroomtypecd = model.getValue("/root/main/icdr/icdr_roomtypecd");
  330. if (sroomtypecd == null || sroomtypecd == " " || sroomtypecd == "" || sroomtypecd == "-") {
  331. cmb_roomgrdecd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd"
  332. cmb_roomgrdecd.refresh();
  333. } else {
  334. cmb_roomgrdecd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd[typecd = '" + sroomtypecd + "' ]";
  335. cmb_roomgrdecd.refresh();
  336. }
  337. // 등급2
  338. var sroomtypecd = model.getValue("/root/main/icdr/icdr_roomtypecd2");
  339. if (sroomtypecd == null || sroomtypecd == " " || sroomtypecd == "" || sroomtypecd == "-") {
  340. cmb_roomgrdecd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd"
  341. cmb_roomgrdecd2.refresh();
  342. } else {
  343. cmb_roomgrdecd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd[typecd = '" + sroomtypecd + "' ]";
  344. cmb_roomgrdecd2.refresh();
  345. }
  346. }else if (arg1 == 1){
  347. var sorddeptcd = model.getValue("/root/main/icdr/icdr_orddeptcd");
  348. cmb_medispclid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
  349. cmb_medispclid.refresh();
  350. cmb_atdoctid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
  351. cmb_atdoctid.refresh();
  352. }else if (arg1 == 2){
  353. var swardcd = model.getValue("/root/main/icdr/icdr_wardcd");
  354. if (swardcd == null || swardcd == " " || swardcd == "") {
  355. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd"
  356. //model.resetInstanceNode("/root/main/icdr/icdr_roomcd");
  357. cmb_roomcd.refresh();
  358. } else {
  359. cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd[wd = '" + swardcd + "' ]";
  360. //model.resetInstanceNode("/root/main/icdr/icdr_roomcd");
  361. cmb_roomcd.refresh();
  362. }
  363. }else if (arg1 == 3){
  364. var swardcd2 = model.getValue("/root/main/icdr/icdr_wardcd2");
  365. if (swardcd2 == null || swardcd2 == " " || swardcd2 == "") {
  366. cmb_roomcd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd"
  367. //model.resetInstanceNode("/root/main/icdr/icdr_roomcd2");
  368. cmb_roomcd2.refresh();
  369. } else {
  370. cmb_roomcd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomcd[wd = '" + swardcd2 + "' ]";
  371. //model.resetInstanceNode("/root/main/icdr/icdr_roomcd2");
  372. cmb_roomcd2.refresh();
  373. }
  374. }else if (arg1 == 4){
  375. var smedispclid = model.getValue("/root/main/icdr/icdr_medispclid");
  376. var sspecordyn = model.getValue("/root/hidden/init/orddrid[cd = '" + smedispclid + "' ]/sp")
  377. if (sspecordyn == null || sspecordyn == ""){
  378. sspecordyn = "N";
  379. }
  380. model.setValue("/root/main/icdr/icdr_specordyn", sspecordyn);
  381. rdo_specordyn.refresh();
  382. }else if (arg1 == 6){ // 형태에 따른 병실 등급
  383. var sroomtypecd = model.getValue("/root/main/icdr/icdr_roomtypecd");
  384. if (sroomtypecd == null || sroomtypecd == " " || sroomtypecd == "" || sroomtypecd == "-") {
  385. cmb_roomgrdecd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd"
  386. cmb_roomgrdecd.refresh();
  387. } else {
  388. cmb_roomgrdecd.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd[typecd = '" + sroomtypecd + "' ]";
  389. cmb_roomgrdecd.refresh();
  390. }
  391. }else if (arg1 == 7){ // 형태2에 따른 병실 등급2
  392. var sroomtypecd = model.getValue("/root/main/icdr/icdr_roomtypecd2");
  393. if (sroomtypecd == null || sroomtypecd == " " || sroomtypecd == "" || sroomtypecd == "-") {
  394. cmb_roomgrdecd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd"
  395. cmb_roomgrdecd2.refresh();
  396. } else {
  397. cmb_roomgrdecd2.choices.itemset.attribute("nodeset") = "/root/hidden/init/roomgrdecd[typecd = '" + sroomtypecd + "' ]";
  398. cmb_roomgrdecd2.refresh();
  399. }
  400. }
  401. }
  402. */
  403. ]]>
  404. </script>
  405. <script type="javascript" ev:event="xforms-ready">
  406. <![CDATA[
  407. zbcfGetCodeList(new Array("P0002","P0006","P0015","P0016","P0019","P0021","P0023","P0025","P0026",
  408. "P0032","P0149","P0158","P0160","P0360","P0363","P0313","P0339", "P0340"),
  409. new Array("/root/init/P0002list", "/root/init/P0006list", "/root/init/P0015list","/root/init/P0016list","/root/init/P0019list","/root/init/P0021list","/root/init/P0023list","/root/init/P0025list","/root/init/P0026list",
  410. "/root/init/P0032list","/root/init/P0149list","/root/init/P0158list","/root/init/P0160list","/root/init/P0360list","/root/init/P0363list","/root/init/P0313list","/root/init/P0339list","/root/init/P0340list"));
  411. submit("TRPMI00106");
  412. model.setValue("/root/send/appddfrom",getCurrentDate());
  413. model.setValue("/root/send/appddto",getCurrentDate());
  414. bol_inhopeddchk.selected = true;
  415. model.refresh();
  416. ]]>
  417. </script>
  418. </xhtml:head>
  419. <xhtml:body class="input_search" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  420. <group id="group1" style="left:0px; top:0px; width:1195px; height:755px; ">
  421. <caption id="caption2" class="tit_2" style="left:0px; top:60px; width:170px; height:14px; font-family:돋움; vertical-align:middle; ">전과전실신청승인내역</caption>
  422. <line id="line6" class="line_1" style="x1:0px; y1:75px; x2:1195px; y2:75px; "/>
  423. <group id="group2" style="left:0px; top:15px; width:1195px; height:35px; ">
  424. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; "/>
  425. <caption id="caption1" class="search_name" style="left:190px; top:8px; width:90px; height:17px; ">신청구분 :</caption>
  426. <button id="btn_srch" class="btn1_letter2" style="left:1125px; top:7px; width:56px; height:22px; ">
  427. <caption>조회</caption>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. fSearch();
  431. ]]>
  432. </script>
  433. </button>
  434. <line id="line1" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  435. <select1 id="cmb_srchcond1" ref="/root/send/appflagcd" class="input_search" appearance="minimal" style="left:280px; top:8px; width:80px; height:19px; ">
  436. <choices>
  437. <item>
  438. <label>전체</label>
  439. <value>0</value>
  440. </item>
  441. <item>
  442. <label>전실</label>
  443. <value>1</value>
  444. </item>
  445. <item>
  446. <label>전과</label>
  447. <value>2</value>
  448. </item>
  449. <item>
  450. <label>전실+전과</label>
  451. <value>3</value>
  452. </item>
  453. </choices>
  454. </select1>
  455. <select1 id="cmb_srchcond2" ref="/root/send/acptflagcd" class="input_search" appearance="minimal" style="left:460px; top:8px; width:90px; height:19px; ">
  456. <choices>
  457. <item>
  458. <label>전체</label>
  459. <value>0</value>
  460. </item>
  461. <item>
  462. <label>신청</label>
  463. <value>1</value>
  464. </item>
  465. <item>
  466. <label>승인</label>
  467. <value>2</value>
  468. </item>
  469. <item>
  470. <label>원무승인</label>
  471. <value>4</value>
  472. </item>
  473. <item>
  474. <label>완료</label>
  475. <value>3</value>
  476. </item>
  477. </choices>
  478. <script type="javascript" ev:event="xforms-value-changed">
  479. <![CDATA[
  480. if( model.getValue("/root/send/acptflagcd") == 4){
  481. model.toggle("case_acptflagcd4");
  482. model.resetInstanceNode("/root/main/cdcrlist/cdcr");
  483. model.resetInstanceNode("/root/main/icdrlist/icdr");
  484. btn_print.visible = false;
  485. } else {
  486. model.toggle("case_acptflagcdall");
  487. model.resetInstanceNode("/root/main/cdcrlist/cdcr");
  488. model.resetInstanceNode("/root/main/icdrlist/icdr");
  489. btn_print.visible = true;
  490. }
  491. model.refresh();
  492. ]]>
  493. </script>
  494. </select1>
  495. <caption id="caption3" class="search_name" style="left:563px; top:8px; width:90px; height:17px; ">승인일자 :</caption>
  496. <caption id="caption4" class="search_name" style="left:369px; top:8px; width:90px; height:17px; ">접수구분 :</caption>
  497. <bool id="bol_inhopeddchk" ref="/root/hidden/inddchk" style="left:653px; top:10px; width:15px; height:15px; ">
  498. <script type="javascript" ev:event="xforms-select">
  499. <![CDATA[
  500. ipt_appddfrom.disabled = false;
  501. ipt_appddto.disabled = false;
  502. cpt_line.visible = true;
  503. model.setValue("/root/send/appddfrom",getCurrentDate());
  504. model.setValue("/root/send/appddto",getCurrentDate());
  505. //model.setValue("",getCurrentDate());
  506. model.refresh();
  507. ]]>
  508. </script>
  509. <script type="javascript" ev:event="xforms-deselect">
  510. <![CDATA[
  511. ipt_appddfrom.disabled = true;
  512. ipt_appddto.disabled = true;
  513. model.setValue("/root/send/appddfrom", "");
  514. model.setValue("/root/send/appddto", "");
  515. //cpt_line.visible = false;
  516. model.refresh();
  517. ]]>
  518. </script>
  519. </bool>
  520. <caption id="cpt_line" class="search_no_b" style="left:783px; top:8px; width:15px; height:17px; ">~</caption>
  521. <input id="ipt_appddfrom" ref="/root/send/appddfrom" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:678px; top:8px; width:100px; height:19px; "/>
  522. <input id="ipt_appddto" ref="/root/send/appddto" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:798px; top:8px; width:100px; height:19px; "/>
  523. <select1 id="combo1" ref="/root/send/indschstat" class="input_search" appearance="minimal" style="left:104px; top:7px; width:74px; height:19px; ">
  524. <choices>
  525. <item>
  526. <label>전체</label>
  527. <value>0</value>
  528. </item>
  529. <item>
  530. <label>재원</label>
  531. <value>1</value>
  532. </item>
  533. <item>
  534. <label>퇴원</label>
  535. <value>2</value>
  536. </item>
  537. </choices>
  538. </select1>
  539. <caption id="caption5" class="search_name" style="left:1px; top:7px; width:99px; height:17px; ">입퇴원상태 :</caption>
  540. </group>
  541. <group id="group4" style="left:0px; top:0px; width:1195px; height:13px; ">
  542. <caption id="caption26" class="tit_1" style="left:0px; top:0px; width:150px; height:13px; font-family:돋움; vertical-align:middle; ">전과전실신청승인조회</caption>
  543. </group>
  544. <switch id="swt_acptflagcdlst" style="left:0px; top:80px; width:1195px; height:670px; ">
  545. <case id="case_acptflagcdall" selected="true">
  546. <datagrid id="grd_chngdeptroomlist" nodeset="/root/main/cdcrlist/cdcr" visibility="visible" caption="상태^환자번호^성명^입원일자^신청구분^접수구분^신청일자^신청&#xA;시간^승인일자^승인&#xA;시간^From^From^From^From^From^From^From^To^To^To^To^To^To^To|상태^환자번호^성명^입원일자^신청구분^접수구분^신청일자^신청&#xA;시간^승인일자^승인&#xA;시간^병동^병실^등급^형태^과^전문의^선택진료^병동^병실^등급^형태^과^전문의^선택진료" colsep="^" colwidth="38, 55, 55, 75, 75, 60, 74, 40, 82, 40, 70, 50, 60, 65, 70, 45, 57, 70, 50, 60, 65, 70, 45, 55" explorerbar="sort" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1193px; height:668px; ">
  547. <col ref="cdcr_indschacptstat" style="text-align:center; "/>
  548. <col ref="cdcr_pid" style="text-align:center; "/>
  549. <col ref="cdcr_hngnm" style="text-align:center; "/>
  550. <col disabled="true" ref="cdcr_indd" format="yyyy-mm-dd" style="text-align:center; "/>
  551. <col disabled="true" ref="cdcr_appflagcd" type="combo" style="text-align:left; ">
  552. <choices>
  553. <itemset nodeset="/root/init/P0340list/P0340">
  554. <label ref="cdnm"/>
  555. <value ref="cdid"/>
  556. </itemset>
  557. </choices>
  558. </col>
  559. <col disabled="true" ref="cdcr_acptflagcd" type="combo" style="text-align:center; ">
  560. <choices>
  561. <itemset nodeset="/root/init/P0339list/P0339">
  562. <label ref="cdnm"/>
  563. <value ref="cdid"/>
  564. </itemset>
  565. </choices>
  566. </col>
  567. <col ref="cdcr_appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  568. <col ref="cdcr_apptm" format="hh:nn" style="text-align:center; "/>
  569. <col ref="cdcr_pamacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  570. <col ref="cdcr_pamacpttm" format="hh:nn" style="text-align:center; "/>
  571. <col disabled="true" ref="cdcr_prestwardcd" type="combo" style="text-align:left; ">
  572. <choices>
  573. <itemset nodeset="/root/hidden/init/wardcd">
  574. <label ref="nm"/>
  575. <value ref="cd"/>
  576. </itemset>
  577. </choices>
  578. </col>
  579. <col disabled="true" ref="cdcr_prestroomcd" type="combo" style="text-align:left; ">
  580. <choices>
  581. <itemset nodeset="/root/hidden/init/roomcd">
  582. <label ref="nm"/>
  583. <value ref="cd"/>
  584. </itemset>
  585. </choices>
  586. </col>
  587. <col disabled="true" ref="cdcr_prestroomgrde" type="combo" style="text-align:left; ">
  588. <choices>
  589. <itemset nodeset="/root/hidden/init/roomgrdecd">
  590. <label ref="nm"/>
  591. <value ref="cd"/>
  592. </itemset>
  593. </choices>
  594. </col>
  595. <col disabled="true" ref="cdcr_prestroomtype" type="combo" style="text-align:left; ">
  596. <choices>
  597. <itemset nodeset="/root/init/P0026list/P0026">
  598. <label ref="cdnm"/>
  599. <value ref="cdid"/>
  600. </itemset>
  601. </choices>
  602. </col>
  603. <col disabled="true" ref="cdcr_prestorddeptnm" type="output" style="text-align:left; "/>
  604. <col disabled="true" ref="cdcr_prestmedispclnm" type="output" style="text-align:left; "/>
  605. <col disabled="true" ref="cdcr_prespecordyn" type="output" style="text-align:left; "/>
  606. <col disabled="true" ref="cdcr_chngwardcd" type="combo" style="text-align:left; ">
  607. <choices>
  608. <itemset nodeset="/root/hidden/init/wardcd">
  609. <label ref="nm"/>
  610. <value ref="cd"/>
  611. </itemset>
  612. </choices>
  613. </col>
  614. <col disabled="true" ref="cdcr_chngroomcd" type="combo" style="text-align:left; ">
  615. <choices>
  616. <itemset nodeset="/root/hidden/init/roomcd">
  617. <label ref="nm"/>
  618. <value ref="cd"/>
  619. </itemset>
  620. </choices>
  621. </col>
  622. <col disabled="true" ref="cdcr_chngroomgrde" type="combo" style="text-align:left; ">
  623. <choices>
  624. <itemset nodeset="/root/hidden/init/roomgrdecd">
  625. <label ref="nm"/>
  626. <value ref="cd"/>
  627. </itemset>
  628. </choices>
  629. </col>
  630. <col disabled="true" ref="cdcr_chngroomtype" type="combo" style="text-align:left; ">
  631. <choices>
  632. <itemset nodeset="/root/init/P0026list/P0026">
  633. <label ref="cdnm"/>
  634. <value ref="cdid"/>
  635. </itemset>
  636. </choices>
  637. </col>
  638. <col disabled="true" ref="cdcr_chngorddeptnm" type="output" style="text-align:left; "/>
  639. <col disabled="true" ref="cdcr_chngmedispclnm" type="output" style="text-align:left; "/>
  640. <col disabled="true" ref="cdcr_specordyn" type="combo" style="text-align:left; ">
  641. <choices>
  642. <item>
  643. <label>선택</label>
  644. <value>Y</value>
  645. </item>
  646. <item>
  647. <label>일반</label>
  648. <value>N</value>
  649. </item>
  650. </choices>
  651. </col>
  652. <script type="javascript" ev:event="onaftersort">
  653. <![CDATA[
  654. grd_chngdeptroomlist.gridToInstance();
  655. ]]>
  656. </script>
  657. </datagrid>
  658. </case>
  659. <case id="case_acptflagcd4">
  660. <datagrid id="grd_cdcrdeptroomlist" nodeset="/root/main/icdrlist/icdr" visibility="visible" caption="상태^환자번호^성명^입원일자^이력상태^승인일자^병동^병실^등급^형태^과^전문의|상태^환자번호^성명^입원일자^이력상태^승인일자^병동^병실^등급^형태^과^전문의" colsep="^" colwidth="44, 86, 79, 75, 63, 82, 186, 93, 179, 65, 125, 76" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1193px; height:668px; ">
  661. <col ref="icdr_indschacptstat" style="text-align:center; "/>
  662. <col ref="icdr_pid" style="text-align:center; "/>
  663. <col ref="icdr_hngnm" style="text-align:center; "/>
  664. <col disabled="true" ref="icdr_indd" format="yyyy-mm-dd" style="text-align:center; "/>
  665. <col ref="icdr_histstat" style="text-align:center; "/>
  666. <col ref="icdr_pamacptdd" format="yyyy-mm-dd"/>
  667. <col disabled="true" ref="icdr_wardcd" type="combo" style="text-align:left; ">
  668. <choices>
  669. <itemset nodeset="/root/hidden/init/wardcd">
  670. <label ref="nm"/>
  671. <value ref="cd"/>
  672. </itemset>
  673. </choices>
  674. </col>
  675. <col disabled="true" ref="icdr_roomcd" type="combo" style="text-align:left; ">
  676. <choices>
  677. <itemset nodeset="/root/hidden/init/roomcd">
  678. <label ref="nm"/>
  679. <value ref="cd"/>
  680. </itemset>
  681. </choices>
  682. </col>
  683. <col disabled="true" ref="icdr_roomgrdecd" type="combo" style="text-align:left; ">
  684. <choices>
  685. <itemset nodeset="/root/init/P0025list/P0025">
  686. <label ref="cdnm"/>
  687. <value ref="cdid"/>
  688. </itemset>
  689. </choices>
  690. </col>
  691. <col disabled="true" ref="icdr_roomtypecd" type="combo" style="text-align:left; ">
  692. <choices>
  693. <itemset nodeset="/root/init/P0026list/P0026">
  694. <label ref="cdnm"/>
  695. <value ref="cdid"/>
  696. </itemset>
  697. </choices>
  698. </col>
  699. <col ref="icdr_orddeptnm" type="output" style="text-align:left; "/>
  700. <col ref="icdr_medispclnm" type="output" style="text-align:left; "/>
  701. </datagrid>
  702. </case>
  703. </switch>
  704. </group>
  705. <button id="btn_print" class="btn2_letter2" style="left:1152px; top:55px; width:42px; height:19px; ">
  706. <caption>출력</caption>
  707. <script type="javascript" ev:event="DOMActivate">
  708. <![CDATA[
  709. exeReportPreview("RPPMI03301", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true", "", "");
  710. ]]>
  711. </script>
  712. </button>
  713. <input id="ipt_pid" ref="/root/send/pid" style="left:998px; top:23px; width:100px; height:19px; ">
  714. <script type="javascript" ev:event="onkeypress">
  715. <![CDATA[
  716. inputEnterKey("btn_srch", "DOMActivate");
  717. ]]>
  718. </script>
  719. </input>
  720. <caption id="caption6" class="search_name" style="left:908px; top:24px; width:100px; height:17px; ">등록번호 :</caption>
  721. <button id="button3" class="btn2_letter4" style="left:1085px; top:55px; width:64px; height:19px; ">
  722. <caption>엑셀저장</caption>
  723. <script type="javascript" ev:event="DOMActivate">
  724. <![CDATA[
  725. var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  726. if (fileName != "")
  727. {
  728. grd_chngdeptroomlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
  729. }
  730. ]]>
  731. </script>
  732. </button>
  733. </xhtml:body>
  734. </xhtml:html>