SMPMI00700_입원 퇴원 재원조회.xrw 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294
  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. <indschacptstat/>
  11. <srchcond/>
  12. <fromdd/>
  13. <todd/>
  14. <data1/>
  15. <sess_posinstcd/>
  16. <ioflag/>
  17. <eryn/>
  18. <vipyn/>
  19. <tdayinexptyn/>
  20. <srchdateyn/>
  21. <srchdate/>
  22. <gubunexpt/>
  23. <hngnm/>
  24. <fromtm/>
  25. <totm/>
  26. <timeflag/>
  27. <dclrflag/>
  28. <insucd/>
  29. </send>
  30. <main>
  31. <inptlist>
  32. <inddschspec/>
  33. </inptlist>
  34. <patinfo>
  35. <patinfolist>
  36. <pid/>
  37. <hngnm/>
  38. <rrgstno1/>
  39. <rrgstno2/>
  40. </patinfolist>
  41. </patinfo>
  42. </main>
  43. <init>
  44. <P0149list>
  45. <P0149>
  46. <cdid/>
  47. <cdnm/>
  48. </P0149>
  49. </P0149list>
  50. <P0160list>
  51. <P0160>
  52. <cdid/>
  53. <cdnm/>
  54. </P0160>
  55. </P0160list>
  56. <P0002list>
  57. <P0002>
  58. <cdid/>
  59. <cdnm/>
  60. </P0002>
  61. </P0002list>
  62. <P0008list>
  63. <P0008>
  64. <cdid/>
  65. <cdnm/>
  66. </P0008>
  67. </P0008list>
  68. <P0010list>
  69. <P0010>
  70. <cdid/>
  71. <cdnm/>
  72. </P0010>
  73. </P0010list>
  74. <P0070ist>
  75. <P0070>
  76. <cdid/>
  77. <cdnm/>
  78. </P0070>
  79. </P0070ist>
  80. <P0025list>
  81. <P0025>
  82. <cdid/>
  83. <cdnm/>
  84. </P0025>
  85. </P0025list>
  86. <P0006list>
  87. <P0006>
  88. <cdid/>
  89. <cdnm/>
  90. </P0006>
  91. </P0006list>
  92. <P0032list>
  93. <P0032>
  94. <cdid/>
  95. <cdnm/>
  96. </P0032>
  97. </P0032list>
  98. <P0016list>
  99. <P0016>
  100. <cdid/>
  101. <cdnm/>
  102. </P0016>
  103. </P0016list>
  104. <P0026list>
  105. <P0026>
  106. <cdid/>
  107. <cdnm/>
  108. </P0026>
  109. </P0026list>
  110. </init>
  111. <hidden>
  112. <init>
  113. <disccd>
  114. <cd/>
  115. <nm/>
  116. </disccd>
  117. <insukind>
  118. <cd/>
  119. <nm/>
  120. </insukind>
  121. <suppkind>
  122. <cd/>
  123. <nm/>
  124. <up/>
  125. <io/>
  126. </suppkind>
  127. <orddeptcd>
  128. <cd/>
  129. <nm/>
  130. </orddeptcd>
  131. <orddrid>
  132. <cd/>
  133. <nm/>
  134. <dp/>
  135. </orddrid>
  136. <flag>
  137. <prestdd/>
  138. <mskindflag/>
  139. </flag>
  140. <insucd>
  141. <cd/>
  142. <nm/>
  143. </insucd>
  144. </init>
  145. <printtype>
  146. <printkind/>
  147. <printfromdd/>
  148. <printtodd/>
  149. </printtype>
  150. <deptpatcnt/>
  151. </hidden>
  152. <source>
  153. <srchcond/>
  154. <pid/>
  155. <hngnm/>
  156. <rrgstno1/>
  157. <rrgstno2/>
  158. <autoflag/>
  159. </source>
  160. </root>
  161. </instance>
  162. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  163. <submission id="TRPMI00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inptlist"/>
  164. <submission id="TRPMI00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/deptpatcnt"/>
  165. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
  166. <script type="javascript" ev:event="xforms-ready">
  167. <![CDATA[
  168. zbcfGetCodeList(new Array("P0149","P0160","P0002","P0008","P0010", "P0070", "P0025", "P0026","P0006", "P0032","P0016"), new Array("/root/init/P0149list", "/root/init/P0160list", "/root/init/P0002list", "/root/init/P0008list","/root/init/P0010list","/root/init/P0070list","/root/init/P0025list","/root/init/P0026list","/root/init/P0006list","/root/init/P0032list","/root/init/P0016list"));
  169. //model.setValue("/root/send/sess_posinstcd","012");
  170. model.setValue("/root/send/ioflag", "I");
  171. submit("TRPMI00106");
  172. /*
  173. model.setValue("/root/send/fromdd", getCurrentDate());
  174. model.setValue("/root/send/todd", getCurrentDate());
  175. model.setValue("/root/send/indschacptstat","1");
  176. model.refresh();
  177. */
  178. fInitialize();
  179. makeReportPreview(0, 0, 0, 0, "grp_report");
  180. ]]>
  181. </script>
  182. </model>
  183. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  184. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  185. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  186. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  187. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  188. </xhtml:head>
  189. <script type="javascript">
  190. <![CDATA[
  191. function fSelectRefItem(refitem)
  192. {
  193. // 1. 전체 2. 환자성명 3. 진료과 4. 병동 5. 보험유형 6.유형보조
  194. // 7. 할인계정 8. 입원경로 9. 보호자 10.주소별 11.성별 12. 선택진료 13. VIP
  195. model.setValue("/root/send/data1", "");
  196. model.refresh();
  197. if (refitem == '1') {
  198. ipt_text.visible = false;
  199. cmb_orddeptcd.visible = false;
  200. cmb_wardcd.visible = false;
  201. cmb_insukind.visible = false;
  202. cmb_suppkind.visible = false;
  203. cmb_disccd.visible = false;
  204. cmb_inpath.visible= false;
  205. cmb_sex.visible = false;
  206. cmb_specordyn.visible = false;
  207. cmb_vipyn.visible = false;
  208. } else if (refitem == '2' || refitem == '9' || refitem == '10' || refitem == '14') {
  209. ipt_text.attribute("top") = "8xp";
  210. ipt_text.attribute("left") = "520px";
  211. ipt_text.visible = true;
  212. cmb_orddeptcd.visible = false;
  213. cmb_wardcd.visible = false;
  214. cmb_insukind.visible = false;
  215. cmb_suppkind.visible = false;
  216. cmb_disccd.visible = false;
  217. cmb_inpath.visible= false;
  218. cmb_sex.visible = false;
  219. cmb_specordyn.visible = false;
  220. cmb_vipyn.visible = false;
  221. model.setFocus("ipt_text");
  222. } else if (refitem == '3') {
  223. cmb_orddeptcd.attribute("top") = "8xp";
  224. cmb_orddeptcd.attribute("left") = "520px";
  225. ipt_text.visible = false;
  226. cmb_orddeptcd.visible = true;
  227. cmb_wardcd.visible = false;
  228. cmb_insukind.visible = false;
  229. cmb_suppkind.visible = false;
  230. cmb_disccd.visible = false;
  231. cmb_inpath.visible= false;
  232. cmb_sex.visible = false;
  233. cmb_specordyn.visible = false;
  234. cmb_vipyn.visible = false;
  235. } else if (refitem == '4') {
  236. cmb_wardcd.attribute("top") = "8xp";
  237. cmb_wardcd.attribute("left") = "520px";
  238. ipt_text.visible = false;
  239. cmb_orddeptcd.visible = false;
  240. cmb_wardcd.visible = true;
  241. cmb_insukind.visible = false;
  242. cmb_suppkind.visible = false;
  243. cmb_disccd.visible = false;
  244. cmb_inpath.visible= false;
  245. cmb_sex.visible = false;
  246. cmb_specordyn.visible = false;
  247. cmb_vipyn.visible = false;
  248. } else if (refitem == '5') {
  249. cmb_insukind.attribute("top") = "8xp";
  250. cmb_insukind.attribute("left") = "520px";
  251. ipt_text.visible = false;
  252. cmb_orddeptcd.visible = false;
  253. cmb_wardcd.visible = false;
  254. cmb_insukind.visible = true;
  255. cmb_suppkind.visible = false;
  256. cmb_disccd.visible = false;
  257. cmb_inpath.visible= false;
  258. cmb_sex.visible = false;
  259. cmb_specordyn.visible = false;
  260. cmb_vipyn.visible = false;
  261. } else if (refitem == '6') {
  262. cmb_suppkind.attribute("top") = "8xp";
  263. cmb_suppkind.attribute("left") = "520px";
  264. ipt_text.visible = false;
  265. cmb_orddeptcd.visible = false;
  266. cmb_wardcd.visible = false;
  267. cmb_insukind.visible = false;
  268. cmb_suppkind.visible = true;
  269. cmb_disccd.visible = false;
  270. cmb_inpath.visible= false;
  271. cmb_sex.visible = false;
  272. cmb_specordyn.visible = false;
  273. cmb_vipyn.visible = false;
  274. } else if (refitem == '7') {
  275. cmb_disccd.attribute("top") = "8xp";
  276. cmb_disccd.attribute("left") = "520px";
  277. ipt_text.visible = false;
  278. cmb_orddeptcd.visible = false;
  279. cmb_wardcd.visible = false;
  280. cmb_insukind.visible = false;
  281. cmb_suppkind.visible = false;
  282. cmb_disccd.visible = true;
  283. cmb_inpath.visible= false;
  284. cmb_sex.visible = false;
  285. cmb_specordyn.visible = false;
  286. cmb_vipyn.visible = false;
  287. } else if (refitem == '8') {
  288. cmb_inpath.attribute("top") = "8xp";
  289. cmb_inpath.attribute("left") = "520px";
  290. ipt_text.visible = false;
  291. cmb_orddeptcd.visible = false;
  292. cmb_wardcd.visible = false;
  293. cmb_insukind.visible = false;
  294. cmb_suppkind.visible = false;
  295. cmb_disccd.visible = false;
  296. cmb_inpath.visible= true;
  297. cmb_sex.visible = false;
  298. cmb_specordyn.visible = false;
  299. cmb_vipyn.visible = false;
  300. } else if (refitem == '11') {
  301. cmb_sex.attribute("top") = "8xp";
  302. cmb_sex.attribute("left") = "520px";
  303. ipt_text.visible = false;
  304. cmb_orddeptcd.visible = false;
  305. cmb_wardcd.visible = false;
  306. cmb_insukind.visible = false;
  307. cmb_suppkind.visible = false;
  308. cmb_disccd.visible = false;
  309. cmb_inpath.visible= false;
  310. cmb_sex.visible= true;
  311. cmb_specordyn.visible = false;
  312. cmb_vipyn.visible = false;
  313. } else if (refitem == '12') {
  314. cmb_specordyn.attribute("top") = "8xp";
  315. cmb_specordyn.attribute("left") = "520px";
  316. ipt_text.visible = false;
  317. cmb_orddeptcd.visible = false;
  318. cmb_wardcd.visible = false;
  319. cmb_insukind.visible = false;
  320. cmb_suppkind.visible = false;
  321. cmb_disccd.visible = false;
  322. cmb_inpath.visible= false;
  323. cmb_sex.visible = false;
  324. cmb_specordyn.visible = true;
  325. cmb_vipyn.visible = false;
  326. } else if (refitem == '13') {
  327. cmb_vipyn.attribute("top") = "8xp";
  328. cmb_vipyn.attribute("left") = "520px";
  329. ipt_text.visible = false;
  330. cmb_orddeptcd.visible = false;
  331. cmb_wardcd.visible = false;
  332. cmb_insukind.visible = false;
  333. cmb_suppkind.visible = false;
  334. cmb_disccd.visible = false;
  335. cmb_inpath.visible= false;
  336. cmb_sex.visible = false;
  337. cmb_specordyn.visible = false;
  338. cmb_vipyn.visible = true;
  339. }
  340. }
  341. function fInitialize() {
  342. model.resetInstanceNode("/root/main/inptlist/inddschspec");
  343. model.resetInstanceNode("/root/send");
  344. model.setValue("/root/send/fromdd", getCurrentDate());
  345. model.setValue("/root/send/todd", getCurrentDate());
  346. model.setValue("/root/send/indschacptstat","1");
  347. model.setValue("/root/send/srchcond","2");
  348. model.setValue("/root/send/timeflag", "Y");
  349. fSelectRefItem("2")
  350. model.refresh();
  351. }
  352. /*
  353. function fPrint(pCond) {
  354. var sPrintYN = "false";
  355. var sAutoCloseYN = "false";
  356. var sViewYN = "";
  357. if (pCond == "PREVIEW") {
  358. sPrintYN = "false";
  359. sAutoCloseYN = "false";
  360. sViewYN = "";
  361. }
  362. if (pCond == "PRINT") {
  363. sPrintYN = "true";
  364. sAutoCloseYN = "false";
  365. sViewYN = "grp_report";
  366. }
  367. var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
  368. if (iCount > 0) {
  369. var sInDschKind = model.getValue("/root/send/indschacptstat");
  370. var sPrintFromdd = model.getValue("/root/send/fromdd");
  371. var sPrinttodd = model.getValue("/root/send/todd");
  372. var sPrintKind = "입원일자 :";
  373. if (sInDschKind == "1") sPrintKind = "입원일자 :";
  374. else if (sInDschKind == "3") {
  375. sPrintKind = "재원일자 :";
  376. sPrintFromdd = getCurrentDate();
  377. sPrinttodd = getCurrentDate();
  378. }
  379. else if (sInDschKind == "2") sPrintKind = "퇴원일자 :";
  380. else if (sInDschKind == "4") sPrintKind = "가퇴원일자 :";
  381. else if (sInDschKind == "5") sPrintKind = "퇴원예고일자 :";
  382. else sPrintKind = "출력일자 :";
  383. sPrintFromdd = sPrintFromdd.substr(0, 4) + "-" + sPrintFromdd.substr(4, 2) + "-" + sPrintFromdd.substr(6, 2);
  384. sPrinttodd = sPrinttodd.substr(0, 4) + "-" + sPrinttodd.substr(4, 2) + "-" + sPrinttodd.substr(6, 2);
  385. model.makeValue("/root/hidden/printtype/printkind", sPrintKind);
  386. model.makeValue("/root/hidden/printtype/printfromdd", sPrintFromdd);
  387. model.makeValue("/root/hidden/printtype/printtodd", sPrinttodd);
  388. exeReportPreview("RPPMI00701", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", sViewYN);
  389. } else {
  390. messageBox("출력할 내용이 없습니다!!", "I");
  391. }
  392. }
  393. */
  394. function fPrint(pCond) {
  395. var sPrintYN = "false";
  396. var sAutoCloseYN = "false";
  397. var sViewYN = "";
  398. if (pCond == "PREVIEW") {
  399. sPrintYN = "false";
  400. sAutoCloseYN = "false";
  401. sViewYN = "";
  402. }
  403. if (pCond == "PRINT") {
  404. sPrintYN = "true";
  405. sAutoCloseYN = "false";
  406. sViewYN = "grp_report";
  407. }
  408. //model.makeValue("/root/main/inptlist/inddschspec/fromdd", model.getValue("/root/send/fromdd"));
  409. var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
  410. if (iCount > 0 ) {
  411. var sInDschKind = model.getValue("/root/send/indschacptstat");
  412. var sPrintFromdd = model.getValue("/root/send/fromdd");
  413. var sPrinttodd = model.getValue("/root/send/todd");
  414. var sPrintFromtm = model.getValue("/root/send/fromtm");
  415. var sPrintTotm = model.getValue("/root/send/totm");
  416. var sPrintKind = "입원일자 :";
  417. if (sInDschKind == "1") sPrintKind = "입원일자 :";
  418. else if (sInDschKind == "3") {
  419. sPrintKind = "재원일자 :";
  420. sPrintFromdd = getCurrentDate();
  421. sPrinttodd = getCurrentDate();
  422. }
  423. else if (sInDschKind == "2") sPrintKind = "퇴원일자 :";
  424. else if (sInDschKind == "4") sPrintKind = "가퇴원일자 :";
  425. else if (sInDschKind == "5") sPrintKind = "퇴원예고일자 :";
  426. else sPrintKind = "출력일자 :";
  427. sPrintFromdd = sPrintFromdd.substr(0, 4) + "-" + sPrintFromdd.substr(4, 2) + "-" + sPrintFromdd.substr(6, 2);
  428. sPrinttodd = sPrinttodd.substr(0, 4) + "-" + sPrinttodd.substr(4, 2) + "-" + sPrinttodd.substr(6, 2);
  429. if(sInDschKind == "5") {
  430. sPrintFromdd = sPrintFromdd + " " + sPrintFromtm.substr(0,2) + ":" + sPrintFromtm.substr(2,2);
  431. sPrinttodd = sPrinttodd + " " + sPrintTotm.substr(0,2) + ":" + sPrintTotm.substr(2,2);
  432. }
  433. model.makeValue("/root/hidden/printtype/printkind", sPrintKind);
  434. model.makeValue("/root/hidden/printtype/printfromdd", sPrintFromdd);
  435. model.makeValue("/root/hidden/printtype/printtodd", sPrinttodd);
  436. if(sInDschKind == "5") {
  437. exeReportPreview("RPPMI00703", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", sViewYN);
  438. } else if(sInDschKind == "2") {
  439. exeReportPreview("RPPMI00702", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", sViewYN);
  440. } else {
  441. messageBox("퇴원, 퇴원예고자 명단만 출력됩니다.!!", "I");
  442. }
  443. } else {
  444. messageBox("출력할 내용이 없습니다!!", "I");
  445. }
  446. }
  447. ]]>
  448. </script>
  449. <xhtml:body guideline="1,1193;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  450. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  451. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:13px; ">입원/퇴원/재원조회</caption>
  452. </group>
  453. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  454. <group id="group2" style="left:0px; top:10px; width:1194px; height:60px; ">
  455. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  456. <input id="ipt_text" ref="/root/send/data1" class="input_search" visibility="hidden" imemode="hangul" style="left:540px; top:8px; width:115px; height:19px; ">
  457. <script type="javascript" ev:event="onkeypress">
  458. <![CDATA[
  459. if(model.getValue("/root/send/srchcond") == "2" && event.keyCode == "13") {
  460. model.setValue("/root/source/srchcond", "2");
  461. model.setValue("/root/source/hngnm", ipt_text.currentText);
  462. //JHP 20081110
  463. if(model.getValue("/root/send/indschacptstat") == "3"){
  464. ;
  465. }else{
  466. model.setValue("/root/source/autoflag" , "Y");
  467. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
  468. model.setValue("/root/send/data1" , model.getValue("/root/main/patinfo/patinfolist/pid"));
  469. model.setValue("/root/send/srchcond", "14");
  470. cmb_srchcond.refresh();
  471. ipt_text.refresh();
  472. }
  473. }
  474. inputEnterKey("button1", "DOMActivate");
  475. ]]>
  476. </script>
  477. </input>
  478. <caption id="caption1" class="search_name" style="left:4px; top:9px; width:60px; height:17px; ">구분 :</caption>
  479. <button id="button1" class="btn1_letter2" style="left:1123px; top:20px; width:56px; height:22px; ">
  480. <caption>조회</caption>
  481. <script type="javascript" ev:event="DOMActivate">
  482. <![CDATA[
  483. if(model.getValue("/root/send/gubunexpt") == "Y" ){
  484. var chkcond = model.getValue("/root/send/srchcond");
  485. if(chkcond == "2" || chkcond == "14" ){
  486. }else{
  487. messageBox("구분제외는 환자를 지정 하여야 합니다.", "I");
  488. return;
  489. }
  490. }
  491. var sSrchDateYN = model.getValue("/root/send/srchdateyn");
  492. var sCond = model.getValue("/root/send/srchcond");
  493. // 2009.01.06 - 특정인 조회 시 환자번호, 환자명 선택이 아니면
  494. if (sSrchDateYN == "Y" && (sCond != "2" && sCond != "14")) {
  495. messageBox("특정인 조회 시 환자명이나 환자번호를 선택해야 합니다.", "I");
  496. return;
  497. }
  498. if (sCond == "14" || sCond == "2" || sCond == "9") {
  499. var sText = model.getValue("/root/send/data1");
  500. if (!isNull(sText)) {
  501. submit("TRPMI00701");
  502. var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
  503. if (iCount == 0) {
  504. messageBox("조회 결과가 없습니다.", "I");
  505. }
  506. } else {
  507. messageBox("검색할 단어를 입력하십시오!", "I");
  508. model.setFocus("ipt_text");
  509. model.refresh();
  510. }
  511. } else {
  512. submit("TRPMI00701");
  513. var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
  514. if (iCount == 0) {
  515. messageBox("조회 결과가 없습니다.", "I");
  516. }
  517. }
  518. ]]>
  519. </script>
  520. </button>
  521. <line id="line2" class="line_4" style="x1:1108px; y1:20px; x2:1108px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  522. <caption id="caption17" class="search_name" style="left:813px; top:9px; width:86px; height:17px; ">입원일자 :</caption>
  523. <caption id="caption20" class="search_no_b" style="left:995px; top:9px; width:12px; height:17px; ">~</caption>
  524. <caption id="caption3" class="search_name" style="left:335px; top:9px; width:65px; height:17px; ">구분 :</caption>
  525. <select1 id="cmb_srchcond" ref="/root/send/srchcond" class="combo_search" appearance="minimal" style="left:399px; top:8px; width:115px; height:19px; ">
  526. <choices>
  527. <item>
  528. <label>전체</label>
  529. <value>1</value>
  530. </item>
  531. <item>
  532. <label>환자번호</label>
  533. <value>14</value>
  534. </item>
  535. <item>
  536. <label>환자성명</label>
  537. <value>2</value>
  538. </item>
  539. <item>
  540. <label>진료과</label>
  541. <value>3</value>
  542. </item>
  543. <item>
  544. <label>병동</label>
  545. <value>4</value>
  546. </item>
  547. <item>
  548. <label>보험유형</label>
  549. <value>5</value>
  550. </item>
  551. <item>
  552. <label>유형보조</label>
  553. <value>6</value>
  554. </item>
  555. <item>
  556. <label>할인계정</label>
  557. <value>7</value>
  558. </item>
  559. <item>
  560. <label>입원경로</label>
  561. <value>8</value>
  562. </item>
  563. <item>
  564. <label>보호자(피보험자)</label>
  565. <value>9</value>
  566. </item>
  567. <item>
  568. <label>성별</label>
  569. <value>11</value>
  570. </item>
  571. <item>
  572. <label>선택진료</label>
  573. <value>12</value>
  574. </item>
  575. <item>
  576. <label>VIP</label>
  577. <value>13</value>
  578. </item>
  579. </choices>
  580. <script type="javascript" ev:event="xforms-select">
  581. <![CDATA[
  582. var refitem = model.getValue("/root/send/srchcond");
  583. model.refresh();
  584. fSelectRefItem(refitem);
  585. ]]>
  586. </script>
  587. </select1>
  588. <input id="ipt_infromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:902px; top:8px; width:90px; height:19px; "/>
  589. <input id="ipt_intodd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:1010px; top:8px; width:90px; height:19px; "/>
  590. <select1 id="rdo_indschacptstat" ref="/root/send/indschacptstat" class="radio_search" appearance="full" cols="5" overflow="visible" style="left:65px; top:10px; width:265px; height:15px; border-style:none; ">
  591. <choices>
  592. <item>
  593. <label>입원</label>
  594. <value>1</value>
  595. </item>
  596. <item>
  597. <label>재원</label>
  598. <value>3</value>
  599. </item>
  600. <item>
  601. <label>퇴원</label>
  602. <value>2</value>
  603. </item>
  604. <item>
  605. <label>가퇴원</label>
  606. <value>4</value>
  607. </item>
  608. <item>
  609. <label>퇴원예고</label>
  610. <value>5</value>
  611. </item>
  612. </choices>
  613. <script type="javascript" ev:event="xforms-select">
  614. <![CDATA[
  615. var indschacptstat = rdo_indschacptstat.value;
  616. if (indschacptstat == "1") {
  617. model.setValue("/root/send/fromdd", getCurrentDate());
  618. model.setValue("/root/send/todd", getCurrentDate());
  619. }
  620. if (indschacptstat == "2") {
  621. //model.setValue("/root/send/fromdd", getCurrentDate());
  622. //2009-08-10 hidas 수정
  623. model.setValue("/root/send/fromdd",getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD"));
  624. model.setValue("/root/send/todd",getCurrentDate());
  625. model.refresh();
  626. }
  627. if (indschacptstat == "3") {
  628. model.setValue("/root/send/fromdd",'19000101');
  629. model.setValue("/root/send/todd",getCurrentDate());
  630. model.setValue("/root/send/srchcond" , "2");
  631. cmb_srchcond.dispatch("xforms-select");
  632. model.setValue("/root/send/srchdate",getCurrentDate());
  633. }
  634. if (indschacptstat == "4") {
  635. model.setValue("/root/send/fromdd", getCurrentDate());
  636. model.setValue("/root/send/todd",getCurrentDate());
  637. }
  638. if (indschacptstat == "2" || indschacptstat == "4" ) {
  639. caption17.value = "퇴원일자 :";
  640. } else {
  641. caption17.value = "입원일자 :";
  642. }
  643. if (indschacptstat == "3") {
  644. caption17.visible = false;
  645. caption20.visible = false;
  646. ipt_infromdd.visible = false;
  647. ipt_intodd.visible = false;
  648. chk_tdayinexptyn.disabled = false;
  649. //model.setValue("/root/send/tdayinexptyn" , "Y");
  650. model.setValue("/root/send/srchcond" , "2");
  651. // chk_tdayinexptyn.attribute("left") = "713px";
  652. // chk_tdayinexptyn.attribute("top") = "10px";
  653. // chk_srchdateyn.attribute("left") = "805px";
  654. if(model.getValue("/root/send/srchdateyn") == "Y"){
  655. var left1 = chk_srchdateyn.attribute("left");
  656. var left2 = parseInt(left1.substring(0,3)) + 85;
  657. var left3 = left2 + "px";
  658. ipt_indd.attribute("left") = left3;
  659. ipt_indd.visible = true;
  660. caption17.visible = false;
  661. ipt_infromdd.visible = false;
  662. caption20.visible = false;
  663. ipt_intodd.visible = false;
  664. }else{
  665. ipt_indd.visible = false;
  666. if(model.getValue("/root/send/indschacptstat") != "3"){
  667. caption17.visible = true;
  668. ipt_infromdd.visible = true;
  669. caption20.visible = true;
  670. ipt_intodd.visible = true;
  671. }
  672. }
  673. } else {
  674. ipt_text.visible = false;
  675. caption17.visible = true;
  676. caption20.visible = true;
  677. ipt_infromdd.visible = true;
  678. ipt_intodd.visible = true;
  679. chk_tdayinexptyn.disabled = true;
  680. model.setValue("/root/send/srchcond" , "1");
  681. model.setValue("/root/send/tdayinexptyn" , "N");
  682. cmb_orddeptcd.visible = false;
  683. cmb_wardcd.visible = false;
  684. cmb_insukind.visible = false;
  685. cmb_suppkind.visible = false;
  686. cmb_disccd.visible = false;
  687. cmb_inpath.visible= false;
  688. cmb_sex.visible = false;
  689. cmb_specordyn.visible = false;
  690. cmb_vipyn.visible = false;
  691. //chk_srchdateyn.attribute("left") = "713px";
  692. if(model.getValue("/root/send/srchdateyn") == "Y"){
  693. var left1 = chk_srchdateyn.attribute("left");
  694. var left2 = parseInt(left1.substring(0,3)) + 85;
  695. var left3 = left2 + "px";
  696. ipt_indd.attribute("left") = left3;
  697. ipt_indd.visible = true;
  698. caption17.visible = false;
  699. ipt_infromdd.visible = false;
  700. caption20.visible = false;
  701. ipt_intodd.visible = false;
  702. }else{
  703. ipt_indd.visible = false;
  704. if(model.getValue("/root/send/indschacptstat") != "3"){
  705. caption17.visible = true;
  706. ipt_infromdd.visible = true;
  707. caption20.visible = true;
  708. ipt_intodd.visible = true;
  709. }
  710. }
  711. }
  712. if (indschacptstat == "5") {
  713. //caption17.visible = true;
  714. //caption20.visible = true;
  715. caption17.value = "퇴원예고 :";
  716. model.setValue("/root/send/fromdd", getCurrentDate());
  717. ipt_infromdd.visible = true;
  718. ipt_intodd.visible = true;
  719. chk_tdayinexptyn.disabled = true;
  720. model.setValue("/root/send/srchcond" , "1");
  721. model.setValue("/root/send/tdayinexptyn" , "N");
  722. cmb_orddeptcd.visible = false;
  723. cmb_wardcd.visible = false;
  724. cmb_insukind.visible = false;
  725. cmb_suppkind.visible = false;
  726. cmb_disccd.visible = false;
  727. cmb_inpath.visible= false;
  728. cmb_sex.visible = false;
  729. cmb_specordyn.visible = false;
  730. cmb_vipyn.visible = false;
  731. ipt_text.visible = false;
  732. ipt_fromtm.visible = true;
  733. ipt_totm.visible = true;
  734. caption4.visible = true;
  735. // 퇴원예고자 조회시 시간을 지정한다. - 김무조선생님 요청 20110311 노회식
  736. model.setValue("/root/send/fromtm", "0000");
  737. model.setValue("/root/send/totm", "2359");
  738. if(model.getValue("/root/send/srchdateyn") == "Y"){
  739. var left1 = chk_srchdateyn.attribute("left");
  740. var left2 = parseInt(left1.substring(0,3)) + 85;
  741. var left3 = left2 + "px";
  742. ipt_indd.attribute("left") = left3;
  743. ipt_indd.visible = true;
  744. caption17.visible = false;
  745. ipt_infromdd.visible = false;
  746. caption20.visible = false;
  747. ipt_intodd.visible = false;
  748. }else{
  749. ipt_indd.visible = false;
  750. if(model.getValue("/root/send/indschacptstat") != "3"){
  751. caption17.visible = true;
  752. ipt_infromdd.visible = true;
  753. caption20.visible = true;
  754. ipt_intodd.visible = true;
  755. }
  756. }
  757. } else {
  758. ipt_fromtm.visible = false;
  759. ipt_totm.visible = false;
  760. caption4.visible = false;
  761. }
  762. if (indschacptstat == "4") {
  763. chk_timeflag.disabled = false;
  764. } else {
  765. chk_timeflag.disabled = true;
  766. }
  767. cmb_insucd.visible = false;
  768. model.setValue("/root/send/insucd", "");
  769. model.refresh();
  770. ]]>
  771. </script>
  772. </select1>
  773. <select1 id="cmb_sex" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:570px; top:3px; width:115px; height:19px; ">
  774. <choices>
  775. <item>
  776. <label>남</label>
  777. <value>M</value>
  778. </item>
  779. <item>
  780. <label>여</label>
  781. <value>F</value>
  782. </item>
  783. </choices>
  784. </select1>
  785. <select1 id="cmb_orddeptcd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:560px; top:13px; width:115px; height:19px; ">
  786. <choices>
  787. <itemset nodeset="/root/hidden/init/orddeptcd">
  788. <label ref="nm"/>
  789. <value ref="cd"/>
  790. </itemset>
  791. </choices>
  792. </select1>
  793. <select1 id="cmb_wardcd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:570px; top:13px; width:115px; height:19px; ">
  794. <choices>
  795. <itemset nodeset="/root/hidden/init/wardcd">
  796. <label ref="nm"/>
  797. <value ref="cd"/>
  798. </itemset>
  799. </choices>
  800. </select1>
  801. <select1 id="cmb_specordyn" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:580px; top:3px; width:115px; height:19px; ">
  802. <choices>
  803. <item>
  804. <label>선택진료</label>
  805. <value>Y</value>
  806. </item>
  807. <item>
  808. <label>비선택진료</label>
  809. <value>N</value>
  810. </item>
  811. </choices>
  812. </select1>
  813. <select1 id="cmb_insukind" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:580px; top:13px; width:115px; height:19px; ">
  814. <choices>
  815. <itemset nodeset="/root/hidden/init/insukind">
  816. <label ref="nm"/>
  817. <value ref="cd"/>
  818. </itemset>
  819. </choices>
  820. <script type="javascript" ev:event="xforms-select">
  821. <![CDATA[
  822. var sInsukind = model.getValue("/root/send/data1");
  823. if (sInsukind == "31") {
  824. cmb_insucd.visible = true;
  825. } else {
  826. cmb_insucd.visible = false;
  827. model.setValue("/root/send/insucd", "");
  828. }
  829. ]]>
  830. </script>
  831. </select1>
  832. <select1 id="cmb_vipyn" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:590px; top:3px; width:115px; height:19px; ">
  833. <choices>
  834. <item>
  835. <label>VIP</label>
  836. <value>Y</value>
  837. </item>
  838. <item>
  839. <label>일반</label>
  840. <value>N</value>
  841. </item>
  842. </choices>
  843. </select1>
  844. <select1 id="cmb_suppkind" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:590px; top:13px; width:115px; height:19px; ">
  845. <choices>
  846. <itemset nodeset="/root/hidden/init/suppkind">
  847. <label ref="nm"/>
  848. <value ref="cd"/>
  849. </itemset>
  850. </choices>
  851. </select1>
  852. <select1 id="cmb_disccd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:600px; top:13px; width:115px; height:19px; ">
  853. <choices>
  854. <itemset nodeset="/root/hidden/init/disccd">
  855. <label ref="nm"/>
  856. <value ref="cd"/>
  857. </itemset>
  858. </choices>
  859. </select1>
  860. <select1 id="cmb_inpath" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:610px; top:13px; width:115px; height:19px; ">
  861. <choices>
  862. <itemset nodeset="/root/init/P0002list/P0002">
  863. <label ref="cdnm"/>
  864. <value ref="cdid"/>
  865. </itemset>
  866. </choices>
  867. </select1>
  868. <select1 id="radio1" ref="/root/send/indschacptstat" visibility="hidden" appearance="full" overflow="visible" style="left:330px; top:0px; width:75px; height:15px; border-style:none; ">
  869. <choices>
  870. <item>
  871. <label>퇴원예고</label>
  872. <value>5</value>
  873. </item>
  874. </choices>
  875. <script type="javascript" ev:event="xforms-select">
  876. <![CDATA[
  877. var indschacptstat = rdo_indschacptstat.value;
  878. if (indschacptstat == "5") {
  879. //caption17.visible = true;
  880. //caption20.visible = true;
  881. caption17.value = "퇴원예고 :";
  882. model.setValue("/root/send/fromdd", getCurrentDate());
  883. ipt_infromdd.visible = true;
  884. ipt_intodd.visible = true;
  885. chk_tdayinexptyn.disabled = true;
  886. model.setValue("/root/send/srchcond" , "1");
  887. model.setValue("/root/send/tdayinexptyn" , "N");
  888. cmb_orddeptcd.visible = false;
  889. cmb_wardcd.visible = false;
  890. cmb_insukind.visible = false;
  891. cmb_suppkind.visible = false;
  892. cmb_disccd.visible = false;
  893. cmb_inpath.visible= false;
  894. cmb_sex.visible = false;
  895. cmb_specordyn.visible = false;
  896. cmb_vipyn.visible = false;
  897. ipt_text.visible = false;
  898. if(model.getValue("/root/send/srchdateyn") == "Y"){
  899. var left1 = chk_srchdateyn.attribute("left");
  900. var left2 = parseInt(left1.substring(0,3)) + 85;
  901. var left3 = left2 + "px";
  902. ipt_indd.attribute("left") = left3;
  903. ipt_indd.visible = true;
  904. caption17.visible = false;
  905. ipt_infromdd.visible = false;
  906. caption20.visible = false;
  907. ipt_intodd.visible = false;
  908. }else{
  909. ipt_indd.visible = false;
  910. if(model.getValue("/root/send/indschacptstat") != "3"){
  911. caption17.visible = true;
  912. ipt_infromdd.visible = true;
  913. caption20.visible = true;
  914. ipt_intodd.visible = true;
  915. }
  916. }
  917. model.refresh();
  918. }
  919. ]]>
  920. </script>
  921. </select1>
  922. <select id="checkbox1" ref="/root/send/vipyn" disabled="true" visibility="visible" overflow="visible" appearance="full" style="left:183px; top:35px; width:40px; height:20px; border-style:none; ">
  923. <choices>
  924. <item>
  925. <label>VIP</label>
  926. <value>Y</value>
  927. </item>
  928. </choices>
  929. </select>
  930. <select id="chk_tdayinexptyn" ref="/root/send/tdayinexptyn" disabled="true" appearance="full" style="left:337px; top:35px; width:105px; height:20px; border-style:none; ">
  931. <choices>
  932. <item>
  933. <label>당일입원제외</label>
  934. <value>Y</value>
  935. </item>
  936. </choices>
  937. <script type="javascript" ev:event="xforms-select">
  938. <![CDATA[
  939. model.setValue("/root/send/tdayinexptyn", "Y");
  940. ]]>
  941. </script>
  942. <script type="javascript" ev:event="xforms-deselect">
  943. <![CDATA[
  944. model.setValue("/root/send/tdayinexptyn", "N");
  945. ]]>
  946. </script>
  947. </select>
  948. <input id="ipt_indd" ref="/root/send/srchdate" class="input_search" visibility="hidden" inputtype="date" style="left:1005px; top:8px; width:100px; height:19px; "/>
  949. <select id="chk_srchdateyn" ref="/root/send/srchdateyn" disabled="false" visibility="visible" appearance="full" style="left:240px; top:35px; width:80px; height:20px; border-style:none; ">
  950. <choices>
  951. <item>
  952. <label>특정인조회</label>
  953. <value>Y</value>
  954. </item>
  955. </choices>
  956. <script type="javascript" ev:event="xforms-value-changed">
  957. <![CDATA[
  958. // 날짜가 없으면 전체를 조회
  959. //model.setValue("/root/send/srchdate", getCurrentDate());
  960. if(model.getValue("/root/send/srchdateyn") == "Y"){
  961. var left1 = chk_srchdateyn.attribute("left");
  962. var left2 = parseInt(left1.substring(0,3)) + 85;
  963. var left3 = left2 + "px";
  964. ipt_indd.attribute("left") = left3;
  965. ipt_indd.visible = true;
  966. caption17.visible = false;
  967. ipt_infromdd.visible = false;
  968. caption20.visible = false;
  969. ipt_intodd.visible = false;
  970. rdo_indschacptstat.disabled = true;
  971. radio1.disabled = true;
  972. }else{
  973. ipt_indd.visible = false;
  974. if(model.getValue("/root/send/indschacptstat") != "3"){
  975. caption17.visible = true;
  976. ipt_infromdd.visible = true;
  977. caption20.visible = true;
  978. ipt_intodd.visible = true;
  979. }
  980. rdo_indschacptstat.disabled = false;
  981. radio1.disabled = false;
  982. }
  983. model.refresh();
  984. ]]>
  985. </script>
  986. </select>
  987. <select id="chk_timeflag" ref="/root/send/timeflag" disabled="true" visibility="visible" overflow="visible" appearance="full" style="left:65px; top:35px; width:100px; height:20px; border-style:none; ">
  988. <choices>
  989. <item>
  990. <label>조회 시점 기준</label>
  991. <value>Y</value>
  992. </item>
  993. </choices>
  994. </select>
  995. <select1 id="cmb_insucd" ref="/root/send/insucd" visibility="hidden" appearance="minimal" style="left:640px; top:8px; width:165px; height:19px; ">
  996. <choices>
  997. <itemset nodeset="/root/hidden/init/insucd">
  998. <label ref="nm"/>
  999. <value ref="cd"/>
  1000. </itemset>
  1001. </choices>
  1002. </select1>
  1003. <caption id="caption5" class="search_name" style="left:4px; top:37px; width:60px; height:17px; ">기타 :</caption>
  1004. <input id="ipt_totm" ref="/root/send/totm" visibility="hidden" format="hh:nn" style="left:957px; top:35px; width:40px; height:19px; text-align:center; "/>
  1005. <caption id="caption4" visibility="hidden" style="left:945px; top:38px; width:13px; height:15px; ">~</caption>
  1006. <input id="ipt_fromtm" ref="/root/send/fromtm" visibility="hidden" format="hh:nn" style="left:902px; top:35px; width:40px; height:19px; text-align:center; "/>
  1007. </group>
  1008. <caption id="caption2" class="tit_2" style="left:5px; top:80px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">입원/퇴원/재원내역</caption>
  1009. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  1010. <button id="button3" class="btn2_letter4" style="left:1130px; top:75px; width:64px; height:19px; ">
  1011. <caption>엑셀저장</caption>
  1012. <script type="javascript" ev:event="DOMActivate">
  1013. <![CDATA[
  1014. var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1015. if (fileName != "")
  1016. {
  1017. grd_inddschspec.saveExcel(fileName, "SheetName", false, false, "", "", false); // 시트명, 숨은컬럼저장여부, 숨은 row저장여부.......
  1018. }
  1019. ]]>
  1020. </script>
  1021. </button>
  1022. <datagrid id="grd_inddschspec" nodeset="/root/main/inptlist/inddschspec" class="datagrid2" caption="사생활보호^환자번호^환자성명^환자성명(표)^주민번호^성별^나이^진료과^전문의^병동^병실^입실&#xA;확인^선택&#xA;여부^입원경로^입원일자^응급실내원일^입원시간^퇴원일자^퇴원시간^퇴원예고일^재원일수^예상&#xA;재원기간^퇴원&#xA;예정일^사망여부^사망일자^진료의뢰서유무^주소^외국인^주/부^보험유형^보험회사명^보조유형^보조유형사유^병실등급^상급&#xA;서명^병실형태^할인^전화(자택)^전화(휴대폰)^진료과약어^입원경로1^종교^보험사^주치의^진료과약어^진단명" colsep="^" colwidth="70, 77, 51, 80, 110, 35, 35, 100, 66, 84, 86, 35, 35, 60, 80, 85, 60, 80, 60, 70, 35, 63, 82, 35, 100, 55, 242, 81, 63, 80, 90, 80, 85, 105, 35, 100, 139, 110, 110, 100, 100, 100, 100, 60, 100, 300, 100, 100" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:100px; width:1194px; height:644px; ">
  1023. <col disabled="true" ref="privacyyn" style="color:#ff0000; text-align:center; "/>
  1024. <col editable="false" ref="pid" type="input" style="text-align:center; "/>
  1025. <col disabled="true" ref="hngnm" visibility="hidden" style="text-align:center; "/>
  1026. <col disabled="true" ref="hngnm2" style="text-align:center; "/>
  1027. <col disabled="true" ref="rrgstno" format="999999-9999999" style="text-align:center; "/>
  1028. <col disabled="true" ref="sex" style="text-align:center; "/>
  1029. <col disabled="true" ref="age" style="text-align:center; "/>
  1030. <col disabled="true" ref="orddeptnm" type="output" style="text-align:center; "/>
  1031. <col disabled="true" ref="medispclnm" type="output" style="text-align:center; "/>
  1032. <col disabled="true" ref="wardcd" type="combo" style="text-align:center; ">
  1033. <choices>
  1034. <itemset nodeset="/root/hidden/init/wardcd">
  1035. <label ref="nm"/>
  1036. <value ref="cd"/>
  1037. </itemset>
  1038. </choices>
  1039. </col>
  1040. <col disabled="true" ref="roomcd" style="text-align:center; "/>
  1041. <col ref="inrmchk" visibility="hidden" style="text-align:center; "/>
  1042. <col ref="specordyn" type="output" style="text-align:center; "/>
  1043. <col disabled="true" ref="inpath" type="combo" style="text-align:center; ">
  1044. <choices>
  1045. <itemset nodeset="/root/init/P0002list/P0002">
  1046. <label ref="cdnm"/>
  1047. <value ref="cdid"/>
  1048. </itemset>
  1049. </choices>
  1050. </col>
  1051. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  1052. <col disabled="true" ref="erindd" format="yyyy-mm-dd" style="text-align:center; "/>
  1053. <col disabled="true" ref="intm" visibility="hidden" format="hh:nn" style="text-align:center; "/>
  1054. <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1055. <col disabled="true" ref="dschtm" visibility="hidden" format="hh:nn" style="text-align:center; "/>
  1056. <col disabled="true" ref="dschdclrdt" visibility="hidden" style="text-align:center; "/>
  1057. <col ref="inhospdays" visibility="hidden" style="text-align:center; "/>
  1058. <col ref="fcstinterm" visibility="hidden" style="text-align:center; "/>
  1059. <col ref="dschfcstdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  1060. <col ref="dethyn" visibility="hidden" style="text-align:center; "/>
  1061. <col ref="dethdt" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  1062. <col ref="cnstyn" visibility="hidden" style="text-align:center; "/>
  1063. <col disabled="true" ref="detladdr" visibility="hidden"/>
  1064. <col ref="forgeryn" visibility="hidden"/>
  1065. <col ref="mskind" type="combo" visibility="hidden" style="text-align:center; ">
  1066. <choices>
  1067. <itemset nodeset="/root/init/P0006list/P0006">
  1068. <label ref="cdnm"/>
  1069. <value ref="cdid"/>
  1070. </itemset>
  1071. </choices>
  1072. </col>
  1073. <col disabled="true" ref="insukind" type="combo" visibility="hidden" style="text-align:center; ">
  1074. <choices>
  1075. <itemset nodeset="/root/hidden/init/insukind">
  1076. <label ref="nm"/>
  1077. <value ref="cd"/>
  1078. </itemset>
  1079. </choices>
  1080. </col>
  1081. <col disabled="true" ref="insucdnm" visibility="hidden"/>
  1082. <col disabled="true" ref="suppkind" type="combo" visibility="hidden" style="text-align:center; ">
  1083. <choices>
  1084. <itemset nodeset="/root/hidden/init/suppkind">
  1085. <label ref="nm"/>
  1086. <value ref="cd"/>
  1087. </itemset>
  1088. </choices>
  1089. </col>
  1090. <col disabled="true" ref="suppkindresn" type="combo" visibility="hidden" style="text-align:center; ">
  1091. <choices>
  1092. <itemset nodeset="/root/init/P0032list/P0032">
  1093. <label ref="cdnm"/>
  1094. <value ref="cdid"/>
  1095. </itemset>
  1096. </choices>
  1097. </col>
  1098. <col disabled="true" ref="roomgrdecd" type="combo" visibility="hidden">
  1099. <choices>
  1100. <itemset nodeset="/root/hidden/init/roomgrdecd">
  1101. <label ref="nm"/>
  1102. <value ref="cd"/>
  1103. </itemset>
  1104. </choices>
  1105. </col>
  1106. <col ref="roomsignyn" style="text-align:center; "/>
  1107. <col disabled="true" ref="roomtypecd" type="combo" visibility="hidden">
  1108. <choices>
  1109. <itemset nodeset="/root/init/P0026list/P0026">
  1110. <label ref="cdnm"/>
  1111. <value ref="cdid"/>
  1112. </itemset>
  1113. </choices>
  1114. </col>
  1115. <col disabled="true" ref="disccd" type="output" visibility="hidden"/>
  1116. <col disabled="true" ref="hometel" visibility="hidden"/>
  1117. <col disabled="true" ref="mpphontel" visibility="hidden"/>
  1118. <col visibility="hidden"/>
  1119. <col ref="inpath1" visibility="hidden"/>
  1120. <col disabled="true" ref="religncd" type="output" visibility="visible"/>
  1121. <col ref="insucdnm"/>
  1122. <col ref="orddrnm" visibility="hidden"/>
  1123. <col ref="deptengabbr" visibility="hidden"/>
  1124. <col ref="diagnm" type="output" visibility="hidden" style="text-align:left; "/>
  1125. <col ref="dschtype" type="output" visibility="hidden" style="text-align:left; "/>
  1126. <col ref="wardnm" type="output" visibility="hidden" style="text-align:left; "/>
  1127. <script type="javascript" ev:event="onaftersort">
  1128. <![CDATA[
  1129. //sorting 시 인스턴스 구조를 재구성
  1130. grd_inddschspec.gridToInstance();
  1131. ]]>
  1132. </script>
  1133. </datagrid>
  1134. <button id="button4" class="btn2_letter2" visibility="visible" style="left:1085px; top:75px; width:42px; height:19px; ">
  1135. <caption>출력</caption>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. fPrint("PRINT");
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <button id="button5" class="btn2_letter4" visibility="hidden" style="left:560px; top:75px; width:64px; height:19px; ">
  1143. <caption>미리보기</caption>
  1144. <script type="javascript" ev:event="DOMActivate">
  1145. <![CDATA[
  1146. fPrint("PREVIEW");
  1147. ]]>
  1148. </script>
  1149. </button>
  1150. <group id="grp_report" visibility="hidden" style="left:630px; top:75px; width:65px; height:15px; "/>
  1151. <button id="button6" class="btn2_letter5" visibility="hidden" style="left:1007px; top:75px; width:75px; height:19px; ">
  1152. <caption>과별예고율</caption>
  1153. <script type="javascript" ev:event="DOMActivate">
  1154. <![CDATA[
  1155. submit("TRPMI00702");
  1156. model.refresh();
  1157. exeReportPreview("RPPMI00704", "XMLSTR" , "" , "" , "true" , "", "", "", "","false", "", "grp_report");
  1158. ]]>
  1159. </script>
  1160. </button>
  1161. <select id="chk_dclrflag" ref="/root/send/dclrflag" visibility="hidden" overflow="visible" appearance="full" style="left:870px; top:76px; width:130px; height:17px; vertical-align:middle; border-style:none; ">
  1162. <choices>
  1163. <item>
  1164. <label>전날 15:00 기준 적용</label>
  1165. <value>Y</value>
  1166. </item>
  1167. </choices>
  1168. </select>
  1169. </group>
  1170. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  1171. <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  1172. <caption>초기화</caption>
  1173. <script type="javascript" ev:event="DOMActivate">
  1174. <![CDATA[
  1175. fInitialize();
  1176. ]]>
  1177. </script>
  1178. </button>
  1179. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1180. <button id="btn_patinfoupdt" class="btn3_letter8" style="left:0px; top:5px; width:120px; height:22px; ">
  1181. <caption>환자기본정보조회</caption>
  1182. <script type="javascript" ev:event="DOMActivate">
  1183. <![CDATA[
  1184. var pid = '';
  1185. var row = grd_inddschspec.row;
  1186. var col = grd_inddschspec.col;
  1187. model.resetInstanceNode("/root/source");
  1188. model.setValue("/root/source/srchcond", '1');
  1189. if( row > 0 && col > 0 ){
  1190. pid = model.getValue("/root/main/inptlist/inddschspec[" + row + "]/pid");
  1191. model.setValue("/root/source/pid", pid);
  1192. }
  1193. modal("SMPMC01400", "1", "100", "100" ,"SMPMC01400", "/root/source", "/root/hidden/source");
  1194. ]]>
  1195. </script>
  1196. </button>
  1197. <button id="button36" class="btn3_letter7" style="left:131px; top:5px; width:116px; height:22px; ">
  1198. <caption>진료비상세내역</caption>
  1199. <script type="javascript" ev:event="DOMActivate">
  1200. <![CDATA[
  1201. var pid = '';
  1202. var row = grd_inddschspec.row;
  1203. var col = grd_inddschspec.col;
  1204. model.resetInstanceNode("/root/source");
  1205. model.setValue("/root/source/srchcond", '1');
  1206. if( row > 0 && col > 0 ){
  1207. pid = model.getValue("/root/main/inptlist/inddschspec[" + row + "]/pid");
  1208. }
  1209. if (pid == "" || pid == null) {
  1210. modal("SMPAI00200", "1","","", "SMPAI00200", "","");
  1211. } else {
  1212. modal("SMPAI00200", "1","","", "SMPAI00200", "/root/main/inptlist/inddschspec[" + row + "]/pid","/root/send/pid");
  1213. }
  1214. ]]>
  1215. </script>
  1216. </button>
  1217. <button id="button7" class="btn3_letter7" style="left:250px; top:5px; width:116px; height:22px; ">
  1218. <caption>사생활보호확인</caption>
  1219. <script type="javascript" ev:event="DOMActivate">
  1220. <![CDATA[
  1221. // 사생활보호관리화면 호출
  1222. modal("SPPMC06900", "", "", "", "", "", "");
  1223. ]]>
  1224. </script>
  1225. </button>
  1226. </group>
  1227. </xhtml:body>
  1228. </xhtml:html>