SPPIJ03200_DRG상세정보.xrw 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SMPID23300_DRG상세정보 .xrw
  4. * 수정이력
  5. * - 2010.07.19 / 최초작성 / 김용민
  6. -->
  7. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>DRG상세정보</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <main>
  15. <drginfo>
  16. <seqno/>
  17. <ordfromdd/>
  18. <indd/>
  19. <pid/>
  20. <instcd/>
  21. <histstat/>
  22. <proccorpcd/>
  23. <rrgstno1/>
  24. <rrgstno2/>
  25. <chosindayno/>
  26. <ordrsltcd/>
  27. <age/>
  28. <diagcd1/>
  29. <diagcd2/>
  30. <diagcd3/>
  31. <diagcd4/>
  32. <diagcd5/>
  33. <diagcd6/>
  34. <diagcd7/>
  35. <diagcd8/>
  36. <diagcd9/>
  37. <diagcd10/>
  38. <opcd1/>
  39. <opcd2/>
  40. <opcd3/>
  41. <opcd4/>
  42. <opcd5/>
  43. <opcd6/>
  44. <opcd7/>
  45. <opcd8/>
  46. <opcd9/>
  47. <opcd10/>
  48. <excd1/>
  49. <excd2/>
  50. <excd3/>
  51. <excd4/>
  52. <excd5/>
  53. <rgcd1/>
  54. <rgcd2/>
  55. <rgcd3/>
  56. <rgcd4/>
  57. <rgcd5/>
  58. <ibcd1/>
  59. <ibcd2/>
  60. <ibcd3/>
  61. <ibcd4/>
  62. <ibcd5/>
  63. <arcd1/>
  64. <arcd2/>
  65. <arcd3/>
  66. <arcd4/>
  67. <arcd5/>
  68. <ncvcd/>
  69. <detailcd1/>
  70. <detailcd2/>
  71. <detailcd3/>
  72. <detailcd4/>
  73. <detailcd5/>
  74. <bw/>
  75. <vtl/>
  76. <mdcno/>
  77. <pccl/>
  78. <drgno/>
  79. <version/>
  80. <adrg/>
  81. <drgnm/>
  82. <nightflag/>
  83. <totalamt/>
  84. <nopyamt/>
  85. <allownbamt/>
  86. <payamt/>
  87. <specamt/>
  88. <totownbamt/>
  89. <payownbamt/>
  90. <payinsubamt/>
  91. <drgnopyamt/>
  92. <drgpayamt/>
  93. <drgeatamt/>
  94. <drggsaddamt/>
  95. <drgtotalamt/>
  96. <drgownbamt/>
  97. <drginsubamt/>
  98. <drggapamt/>
  99. <grupgbn/>
  100. <tdrgno/>
  101. <tdrgnm/>
  102. <insukind/>
  103. <suppkind/>
  104. <hngnm/>
  105. <orddeptcd/>
  106. <drgeatownbamt/>
  107. <drgeatinsubamt/>
  108. <drggsaddownbamt/>
  109. <drggsaddinsubamt/>
  110. <drgpaydiscamt/>
  111. <drgnopydiscamt/>
  112. <drgspecdiscamt/>
  113. <drgeatdiscamt/>
  114. <drggsadddiscamt/>
  115. <drgnm/>
  116. <drgallownbamt/>
  117. <drgoverpayinsubamt/>
  118. <drgoverpayamt/>
  119. <drgoverpayownbamt/>
  120. <accnopyamt/>
  121. <obgaaddyn/>
  122. <drgaccpayamt/>
  123. <drgaccpayownbamt/>
  124. <drgaccpayinsubamt/>
  125. <drgaccpaydiscamt/>
  126. <drgpayownbamt/>
  127. <accnopygapamt/>
  128. <robotyn/>
  129. <drgtype/>
  130. </drginfo>
  131. </main>
  132. <send>
  133. <filepath/>
  134. <attach>
  135. <file/>
  136. </attach>
  137. <drginfo>
  138. <seqno/>
  139. <ordfromdd/>
  140. <indd/>
  141. <pid/>
  142. <instcd/>
  143. <histstat/>
  144. <proccorpcd/>
  145. <rrgstno1/>
  146. <rrgstno2/>
  147. <chosindayno/>
  148. <ordrsltcd/>
  149. <age/>
  150. <diagcd1/>
  151. <diagcd2/>
  152. <diagcd3/>
  153. <diagcd4/>
  154. <diagcd5/>
  155. <diagcd6/>
  156. <diagcd7/>
  157. <diagcd8/>
  158. <diagcd9/>
  159. <diagcd10/>
  160. <opcd1/>
  161. <opcd2/>
  162. <opcd3/>
  163. <opcd4/>
  164. <opcd5/>
  165. <opcd6/>
  166. <opcd7/>
  167. <opcd8/>
  168. <opcd9/>
  169. <opcd10/>
  170. <excd1/>
  171. <excd2/>
  172. <excd3/>
  173. <excd4/>
  174. <excd5/>
  175. <rgcd1/>
  176. <rgcd2/>
  177. <rgcd3/>
  178. <rgcd4/>
  179. <rgcd5/>
  180. <ibcd1/>
  181. <ibcd2/>
  182. <ibcd3/>
  183. <ibcd4/>
  184. <ibcd5/>
  185. <arcd1/>
  186. <arcd2/>
  187. <arcd3/>
  188. <arcd4/>
  189. <arcd5/>
  190. <ncvcd/>
  191. <detailcd1/>
  192. <detailcd2/>
  193. <detailcd3/>
  194. <detailcd4/>
  195. <detailcd5/>
  196. <bw/>
  197. <vtl/>
  198. <mdcno/>
  199. <pccl/>
  200. <drgno/>
  201. <version/>
  202. <adrg/>
  203. <cretno/>
  204. <drggbn/>
  205. <drgmstat/>
  206. <robotyn/>
  207. </drginfo>
  208. </send>
  209. <init>
  210. <item1>
  211. <clamym/>
  212. <clamdg/>
  213. <pid/>
  214. <pidsn/>
  215. <patnm/>
  216. <insukind/>
  217. <suppkind/>
  218. <orddeptcd/>
  219. <indd/>
  220. </item1>
  221. <!-- 보험유형 -->
  222. <P0008list>
  223. <P0008>
  224. <cdnm/>
  225. <cdid/>
  226. </P0008>
  227. </P0008list>
  228. <!-- 보조유형 -->
  229. <P0010list>
  230. <P0010>
  231. <cdnm/>
  232. <cdid/>
  233. </P0010>
  234. </P0010list>
  235. <!-- 진료결과 -->
  236. <P0110list>
  237. <P0110>
  238. <cdnm/>
  239. <cdid/>
  240. </P0110>
  241. </P0110list>
  242. <orddeptcd2/>
  243. <PAM>
  244. <PK015list/>
  245. <PK016list/>
  246. <PK023list/>
  247. <PK030list/>
  248. </PAM>
  249. </init>
  250. <hidden>
  251. <drginfo/>
  252. <bind>
  253. <sum1/>
  254. <sum2/>
  255. <sum3/>
  256. <accnopay_sum/>
  257. <etcnopay_sum/>
  258. <drggapamt_sum/>
  259. </bind>
  260. <list/>
  261. </hidden>
  262. </root>
  263. </instance>
  264. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  265. <submission id="TRPID20309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/item1/ioflag" resultref="root/hidden/tmp"/>
  266. <script type="javascript" ev:event="xforms-ready">
  267. <![CDATA[
  268. // ---------------------------------------------------------------
  269. // 공통코드를 조회한다.
  270. // (ZBC001.js) com.ZBCMCODE 에서 기초코드 값 Get
  271. // ---------------------------------------------------------------
  272. zbcfGetCodeList(
  273. new Array("P0008" // 보험유형
  274. ,"P0010" // 보조유형
  275. ,"P0110" // 진료결과
  276. ),
  277. new Array("/root/init/P0008list"
  278. ,"/root/init/P0010list"
  279. ,"/root/init/P0110list"
  280. ) );
  281. // 2013.02.19 - 부가코드 원무공통코드조회
  282. pamfGetCodeList(new Array(
  283. "PK015"
  284. ,"PK016"
  285. ,"PK023"
  286. ,"PK030"
  287. ),
  288. new Array("/root/init/PAM/PK015list"
  289. ,"/root/init/PAM/PK016list"
  290. ,"/root/init/PAM/PK023list"
  291. ,"/root/init/PAM/PK030list"
  292. ));
  293. addComboItem("cmb_ncvcd", " ","", "above");
  294. addComboItem("cmb_detailcd1", " ","", "above");
  295. // ---------------------------------------------------------------
  296. // 진료과 초기화
  297. // ---------------------------------------------------------------
  298. submit("TRPID20309", false);
  299. model.copyNode("/root/init/orddeptcd2", "/root/hidden/tmp/orddeptcd2");
  300. model.removeNodeset("/root/hidden/tmp/orddeptcd");
  301. model.removeNodeset("/root/hidden/tmp/orddeptcd2");
  302. model.removeNodeset("/root/hidden/tmp/orddrid");
  303. model.removeNodeset("/root/hidden/tmp/orddrid2");
  304. fInitialize();
  305. ]]>
  306. </script>
  307. <script type="javascript" ev:event="xforms-close">
  308. <![CDATA[
  309. // if (model.getValue("/root/main/drginfo/drggbn") != "Y") {
  310. // if (model.getValue("/root/send/drginfo/drggbn") == ""){
  311. // model.setValue("/root/send/drginfo/drggbn","A");
  312. // };
  313. // submit("TXPIJ03204");
  314. // }
  315. //
  316. if (model.getValue("/root/send/drginfo/drggbn") == "Y" || model.getValue("/root/send/drginfo/drggbn") == "X") {
  317. opener.model.makeValue("/root/main/item11/drginfo/rslt","true");
  318. } else {
  319. opener.model.makeValue("/root/main/item11/drginfo/rslt","false");
  320. }
  321. ]]>
  322. </script>
  323. <submission id="TXPIJ03200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/drginfo" resultref="/root/rslt"/>
  324. <submission id="TXPIJ03201" mediatype="multipart/form-data" method="form-data-post" ref="/root/send"/>
  325. <submission id="TXPIJ03202" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main"/>
  326. <submission id="TRPIJ03200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  327. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  328. <submission id="TXPIJ03204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  329. <submission id="TXPIJ03208" mediatype="multipart/form-data" method="form-data-post"/>
  330. <submission id="TRPIJ03203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drginfo" resultref="/root/main/endchkinfo"/>
  331. </model>
  332. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  333. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  334. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  335. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  336. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  337. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  338. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  339. <script type="javascript">
  340. <![CDATA[
  341. function fInitialize() {
  342. var pid = opener.javascript.getParameter("pid");
  343. var indd = opener.javascript.getParameter("indd");
  344. var ordfromdd = opener.javascript.getParameter("ordfromdd");
  345. var cretno = opener.javascript.getParameter("cretno");
  346. var drgmstat = opener.javascript.getParameter("drgmstat");
  347. model.setValue("/root/send/drginfo/pid", pid );
  348. model.setValue("/root/send/drginfo/indd", indd);
  349. model.setValue("/root/send/drginfo/ordfromdd", ordfromdd);
  350. model.setValue("/root/send/drginfo/cretno", cretno);
  351. model.setValue("/root/send/drginfo/drgmstat", drgmstat);
  352. fGetdrgDetail();
  353. model.refresh();
  354. }
  355. function fGetdrgDetail() {
  356. submit("TRPIJ03200");
  357. //진료결과 체크 - 중간청구인경우 : 계속, 퇴원인경우 : 퇴원
  358. var dschnotiyn = model.getValue("/root/main/drginfo/dschnotiyn");
  359. var ordrslt = model.getValue("/root/main/drginfo/ordrsltcd");
  360. if(dschnotiyn == "Y"){
  361. if(ordrslt == "" || ordrslt == "-" || ordrslt == "1"){
  362. if(ordrslt != "4"){
  363. model.setValue("/root/main/drginfo/ordrsltcd","9");
  364. }
  365. }
  366. }else{
  367. if(ordrslt == "" || ordrslt == "-"){
  368. model.setValue("/root/main/drginfo/ordrsltcd","1");
  369. }
  370. }
  371. fGetdrgChk();
  372. }
  373. function fGetdrgChk() {
  374. var chosindayno = parseInt(model.getValue("/root/main/drginfo/chosindayno"));
  375. var insukind = model.getValue("/root/main/drginfo/insukind");
  376. var diagcd1 = model.getValue("/root/main/drginfo/diagcd1");
  377. var opcd1 = model.getValue("/root/main/drginfo/opcd1");
  378. var drggbn = model.getValue("/root/main/drginfo/drggbn");
  379. var drgmstat = model.getValue("/root/send/drginfo/drgmstat");
  380. if (insukind == "11" && chosindayno <= 30) {
  381. fSetdrgButton(false);
  382. } else {
  383. messageBox("재원일수 초과 : "+chosindayno+"일 DRG 대상이 아닙니다.","E");
  384. fSetdrgButton(true);
  385. }
  386. if (diagcd1.length > 0 && opcd1.length > 0) {
  387. fSetdrgButton(false);
  388. } else {
  389. messageBox("DRG 진단이나 수술처치가 없습니다.","E");
  390. fSetdrgButton(true);
  391. }
  392. if (drggbn == "Y") {
  393. fSetdrgButton(true);
  394. }
  395. if (drgmstat != "O") {
  396. button5.attribute("visibility") = "hidden";
  397. button7.attribute("visibility") = "hidden";
  398. }
  399. }
  400. function fSetdrgButton(btnVal) {
  401. if (btnVal) {
  402. button4.disabled = true;
  403. button5.disabled = true;
  404. button7.disabled = true;
  405. } else {
  406. button4.disabled = false;
  407. button5.disabled = true;
  408. button7.disabled = false;
  409. }
  410. }
  411. function fSleep(filenm) {
  412. var now = new Date();
  413. var exitTime = now.getTime() + 3000;
  414. var fldr = model.getValue("/root/init/PAM/PK023list/PK023[cdid='01']/cdnm");//"C:/Program Files/himed/components/KDRG/";
  415. var infile = model.getValue("/root/init/PAM/PK023list/PK023[cdid='02']/cdnm");//"kdrg33.in";
  416. var outfile = model.getValue("/root/init/PAM/PK023list/PK023[cdid='03']/cdnm");//"kdrg33.out";
  417. var fso = new ActiveXObject("Scripting.FileSystemObject");
  418. while (true) {
  419. now = new Date();
  420. //3초동안 파일이 있는지 체크한다. 생성되었으면 루프를 나온다.
  421. if (fso.FileExists(fldr+filenm) && fso.GetFile(fldr+filenm).Size > "0") { break; }
  422. //3초동안 파일이 없으면 빠져나온다.
  423. if (now.getTime() > exitTime) { break; }
  424. }
  425. }
  426. ]]>
  427. </script>
  428. </xhtml:head>
  429. <xhtml:body pagewidth="800" pageheight="910" guideline="1,1143;2,879;2,892;" style="margin-left:5; margin-top:0; margin-right:5; margin-bottom:0; ">
  430. <group id="grp_tle" style="left:0px; top:0px; width:785px; height:13px; ">
  431. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:195px; height:15px; ">DRG 상세정보</caption>
  432. </group>
  433. <group id="group1" scroll="auto" style="left:0px; top:15px; width:790px; height:890px; ">
  434. <caption id="caption1" class="tit_2" style="left:5px; top:77px; width:230px; height:13px; ">적용내역</caption>
  435. <line id="line1" class="line_1" style="x1:0px; y1:92px; x2:778px; y2:92px; "/>
  436. <group id="group2" style="left:0px; top:4px; width:365px; height:58px; vertical-align:top; ">
  437. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:365px; height:58px; "/>
  438. <caption id="caption2" class="search_name" style="left:90px; top:8px; width:85px; height:17px; ">등록번호</caption>
  439. <input id="input1" ref="/root/main/drginfo/pid" disabled="true" style="left:170px; top:7px; width:75px; height:19px; text-align:center; "/>
  440. <input id="input2" ref="/root/main/drginfo/hngnm" disabled="true" editable="false" style="left:250px; top:6px; width:78px; height:19px; text-align:center; "/>
  441. <caption id="caption3" class="tit_2" style="left:10px; top:10px; width:75px; height:13px; ">기본정보</caption>
  442. </group>
  443. <group id="group3" style="left:372px; top:4px; width:408px; height:58px; vertical-align:top; ">
  444. <shape id="roundrect2" appearance="roundrect" style="left:0px; top:0px; width:405px; height:58px; "/>
  445. <select1 id="combo1" ref="/root/main/drginfo/suppkind" class="combo_search" disabled="true" navindex="9" appearance="minimal" style="left:277px; top:33px; width:120px; height:19px; ">
  446. <choices>
  447. <itemset nodeset="/root/init/P0010list/P0010">
  448. <label ref="cdnm"/>
  449. <value ref="cdid"/>
  450. </itemset>
  451. </choices>
  452. </select1>
  453. <caption id="caption4" class="search_name" style="left:192px; top:8px; width:86px; height:17px; ">보험유형</caption>
  454. <caption id="caption5" class="search_name" style="left:5px; top:35px; width:80px; height:17px; ">진료과</caption>
  455. <select1 id="combo2" ref="/root/main/drginfo/insukind" class="combo_search" disabled="true" navindex="9" appearance="minimal" style="left:277px; top:7px; width:120px; height:19px; ">
  456. <choices>
  457. <itemset nodeset="/root/init/P0008list/P0008">
  458. <label ref="cdnm"/>
  459. <value ref="cdid"/>
  460. </itemset>
  461. </choices>
  462. </select1>
  463. <select1 id="combo3" ref="/root/main/drginfo/orddeptcd" class="combo_search" disabled="true" navindex="3" appearance="minimal" style="left:76px; top:34px; width:109px; height:19px; ">
  464. <choices>
  465. <itemset nodeset="/root/init/orddeptcd2/orddeptcdlist">
  466. <label ref="nm"/>
  467. <value ref="cd"/>
  468. </itemset>
  469. </choices>
  470. </select1>
  471. <caption id="caption6" class="search_name" style="left:192px; top:34px; width:86px; height:17px; ">보조유형</caption>
  472. <caption id="caption7" class="search_name" style="left:6px; top:9px; width:80px; height:17px; ">입원일</caption>
  473. <input id="input3" ref="/root/send/drginfo/indd" class="input_default" disabled="true" navindex="3" format="yyyy-mm-dd" appearance="minimal" style="left:75px; top:8px; width:109px; height:19px; "/>
  474. </group>
  475. <caption id="caption8" class="tit_2" style="left:5px; top:381px; width:170px; height:13px; ">분류결과</caption>
  476. <line id="line2" class="line_1" style="x1:0px; y1:399px; x2:778px; y2:400px; "/>
  477. <button id="button3" class="btn4_letter2" style="left:718px; top:867px; width:56px; height:22px; ">
  478. <caption>종료</caption>
  479. <script type="javascript" ev:event="DOMActivate">
  480. <![CDATA[
  481. model.dispatch("xforms-close");
  482. ]]>
  483. </script>
  484. </button>
  485. <caption id="caption9" class="search_name" style="left:11px; top:407px; width:119px; height:17px; ">DRG번호</caption>
  486. <input id="input4" ref="/root/main/drginfo/drgno" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:140px; top:406px; width:75px; height:39px; "/>
  487. <caption id="caption10" class="search_name" style="left:10px; top:452px; width:69px; height:17px; ">MDC</caption>
  488. <input id="input6" ref="/root/main/drginfo/mdcno" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:139px; top:451px; width:75px; height:19px; "/>
  489. <caption id="caption11" class="search_name" style="left:11px; top:105px; width:119px; height:17px; ">진료개시일</caption>
  490. <input id="input7" ref="/root/send/drginfo/ordfromdd" class="input_default" disabled="true" visibility="visible" format="yyyy-mm-dd" appearance="minimal" style="left:140px; top:105px; width:80px; height:19px; "/>
  491. <caption id="caption12" class="search_name" style="left:291px; top:105px; width:84px; height:17px; ">입원일수</caption>
  492. <input id="input8" ref="/root/main/drginfo/chosindayno" class="input_default" disabled="true" visibility="visible" format="###" appearance="minimal" style="left:390px; top:105px; width:50px; height:19px; "/>
  493. <caption id="caption13" class="search_name" style="left:501px; top:105px; width:84px; height:17px; ">진료결과</caption>
  494. <select1 id="combo7" ref="/root/main/drginfo/ordrsltcd" class="combo_search" disabled="true" visibility="visible" appearance="minimal" style="left:600px; top:105px; width:90px; height:19px; ">
  495. <choices>
  496. <itemset nodeset="/root/init/P0110list/P0110">
  497. <label ref="cdnm"/>
  498. <value ref="cdid"/>
  499. </itemset>
  500. </choices>
  501. </select1>
  502. <caption id="caption14" class="search_name" style="left:11px; top:133px; width:119px; height:17px; ">진단</caption>
  503. <input id="input9" ref="/root/main/drginfo/diagcd1" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:133px; width:50px; height:19px; "/>
  504. <input id="input10" ref="/root/main/drginfo/diagcd2" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:133px; width:50px; height:19px; "/>
  505. <input id="input11" ref="/root/main/drginfo/diagcd3" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:133px; width:50px; height:19px; "/>
  506. <input id="input12" ref="/root/main/drginfo/diagcd4" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:133px; width:50px; height:19px; "/>
  507. <input id="input13" ref="/root/main/drginfo/diagcd5" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:133px; width:50px; height:19px; "/>
  508. <input id="input14" ref="/root/main/drginfo/diagcd6" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:420px; top:133px; width:50px; height:19px; "/>
  509. <input id="input15" ref="/root/main/drginfo/diagcd7" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:477px; top:133px; width:50px; height:19px; "/>
  510. <input id="input16" ref="/root/main/drginfo/diagcd8" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:533px; top:133px; width:50px; height:19px; "/>
  511. <input id="input17" ref="/root/main/drginfo/diagcd9" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:589px; top:133px; width:50px; height:19px; "/>
  512. <input id="input18" ref="/root/main/drginfo/diagcd10" class="input_default" disabled="true" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:645px; top:133px; width:50px; height:19px; "/>
  513. <caption id="caption15" class="search_name" style="left:11px; top:161px; width:119px; height:17px; ">수술처치</caption>
  514. <input id="input19" ref="/root/main/drginfo/opcd1" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:161px; width:50px; height:19px; "/>
  515. <input id="input20" ref="/root/main/drginfo/opcd2" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:161px; width:50px; height:19px; "/>
  516. <input id="input21" ref="/root/main/drginfo/opcd3" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:161px; width:50px; height:19px; "/>
  517. <input id="input22" ref="/root/main/drginfo/opcd4" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:161px; width:50px; height:19px; "/>
  518. <input id="input23" ref="/root/main/drginfo/opcd5" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:161px; width:50px; height:19px; "/>
  519. <input id="input24" ref="/root/main/drginfo/opcd6" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:420px; top:161px; width:50px; height:19px; "/>
  520. <input id="input25" ref="/root/main/drginfo/opcd7" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:477px; top:161px; width:50px; height:19px; "/>
  521. <input id="input26" ref="/root/main/drginfo/opcd8" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:533px; top:161px; width:50px; height:19px; "/>
  522. <input id="input27" ref="/root/main/drginfo/opcd9" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:589px; top:161px; width:50px; height:19px; "/>
  523. <input id="input28" ref="/root/main/drginfo/opcd10" class="input_default" disabled="false" visibility="visible" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:645px; top:161px; width:50px; height:19px; "/>
  524. <caption id="caption16" class="search_name" style="left:11px; top:189px; width:119px; height:17px; ">검사</caption>
  525. <input id="input29" ref="/root/main/drginfo/excd1" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:189px; width:50px; height:19px; "/>
  526. <input id="input30" ref="/root/main/drginfo/excd2" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:189px; width:50px; height:19px; "/>
  527. <input id="input31" ref="/root/main/drginfo/excd3" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:189px; width:50px; height:19px; "/>
  528. <input id="input32" ref="/root/main/drginfo/excd4" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:189px; width:50px; height:19px; "/>
  529. <input id="input33" ref="/root/main/drginfo/excd5" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:189px; width:50px; height:19px; "/>
  530. <caption id="caption17" class="search_name" style="left:11px; top:216px; width:119px; height:17px; ">방사선</caption>
  531. <input id="input34" ref="/root/main/drginfo/rgcd1" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:216px; width:50px; height:19px; "/>
  532. <input id="input35" ref="/root/main/drginfo/rgcd2" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:216px; width:50px; height:19px; "/>
  533. <input id="input36" ref="/root/main/drginfo/rgcd3" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:216px; width:50px; height:19px; "/>
  534. <input id="input37" ref="/root/main/drginfo/rgcd4" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:216px; width:50px; height:19px; "/>
  535. <input id="input38" ref="/root/main/drginfo/rgcd5" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:216px; width:50px; height:19px; "/>
  536. <caption id="caption18" class="search_name" style="left:11px; top:243px; width:119px; height:17px; ">주사및혈액제제</caption>
  537. <input id="input39" ref="/root/main/drginfo/ibcd1" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:243px; width:50px; height:19px; "/>
  538. <input id="input40" ref="/root/main/drginfo/ibcd2" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:243px; width:50px; height:19px; "/>
  539. <input id="input41" ref="/root/main/drginfo/ibcd3" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:243px; width:50px; height:19px; "/>
  540. <input id="input42" ref="/root/main/drginfo/ibcd4" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:243px; width:50px; height:19px; "/>
  541. <input id="input43" ref="/root/main/drginfo/ibcd5" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:243px; width:50px; height:19px; "/>
  542. <caption id="caption19" class="search_name" style="left:11px; top:271px; width:119px; height:17px; ">마취및호흡치료</caption>
  543. <input id="input44" ref="/root/main/drginfo/arcd1" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:140px; top:271px; width:50px; height:19px; "/>
  544. <input id="input45" ref="/root/main/drginfo/arcd2" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:196px; top:271px; width:50px; height:19px; "/>
  545. <input id="input46" ref="/root/main/drginfo/arcd3" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:252px; top:271px; width:50px; height:19px; "/>
  546. <input id="input47" ref="/root/main/drginfo/arcd4" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:308px; top:271px; width:50px; height:19px; "/>
  547. <input id="input48" ref="/root/main/drginfo/arcd5" class="input_default" disabled="true" imemode="disabled" maxlength="5" _chartype="upper" appearance="minimal" style="left:364px; top:271px; width:50px; height:19px; "/>
  548. <caption id="caption20" class="search_name" style="left:11px; top:356px; width:119px; height:17px; ">입원시체중(g)</caption>
  549. <input id="input49" ref="/root/main/drginfo/bw" class="input_default" maxlength="4" _chartype="upper" appearance="minimal" style="left:140px; top:356px; width:50px; height:19px; "/>
  550. <caption id="caption21" class="search_name" style="left:270px; top:356px; width:145px; height:17px; ">인공호흡시간(hour)</caption>
  551. <input id="input50" ref="/root/main/drginfo/vtl" class="input_default" maxlength="4" _chartype="upper" appearance="minimal" style="left:424px; top:356px; width:50px; height:19px; "/>
  552. <button id="button4" class="btn4_letter6" style="left:452px; top:68px; width:104px; height:22px; ">
  553. <caption>DRG번호생성</caption>
  554. <script type="javascript" ev:event="DOMActivate">
  555. <![CDATA[
  556. var fldr = model.getValue("/root/init/PAM/PK023list/PK023[cdid='01']/cdnm");//"C:/Program Files/himed/components/KDRG/";
  557. var infile = model.getValue("/root/init/PAM/PK023list/PK023[cdid='02']/cdnm");//"kdrg33.in";
  558. var outfile = model.getValue("/root/init/PAM/PK023list/PK023[cdid='03']/cdnm");//"kdrg33.out";
  559. var exefile = model.getValue("/root/init/PAM/PK023list/PK023[cdid='04']/cdnm");//"kdrg33.exe";
  560. var updfileyn = model.getValue("/root/init/PAM/PK023list/PK023[cdid='05']/cdnm");//"번호생성프로그램 사용 유무
  561. var age = model.getValue("/root/main/drginfo/age");// 1세미만환자는 체중과 시간은 필수입력 체크
  562. var bw = model.getValue("/root/main/drginfo/bw");
  563. var vtl = model.getValue("/root/main/drginfo/vtl");
  564. var fso;
  565. var nofile = "";
  566. if (age < "1" ) {
  567. if (bw.length == 0 && vtl.length ==0 ){
  568. messageBox("1세미만 환자입니다. 입원체중, 호홉시간은 ","I003");
  569. return false;
  570. }
  571. }
  572. model.setValue("/root/send/attach/file",fldr+outfile);
  573. fso = new ActiveXObject("Scripting.FileSystemObject");
  574. if (fso.FolderExists(fldr)){
  575. var files = new Array();
  576. var filecnt = model.getXPathValue("count(/root/init/PAM/PK030list/PK030)");
  577. for (var i=1; i <= filecnt; i++) {
  578. files.push(model.getValue("/root/init/PAM/PK030list/PK030["+ i +"]/cdnm"));
  579. }
  580. var updfilechk = true;
  581. for (var i=0; i < files.length; i++) {
  582. var updfilesize = model.getValue("/root/init/PAM/PK030list/PK030[cdnm='"+ files[i] +"']/dispseq");
  583. var updfilepath = model.getValue("/root/init/PAM/PK030list/PK030[cdnm='"+ files[i] +"']/detl");
  584. if (fso.FileExists(fldr+files[i])){
  585. if (updfileyn == "Y") {
  586. var nowfilesize = fso.GetFile(fldr+files[i]).Size;
  587. if (updfilesize != nowfilesize && updfilepath.length > 0 )
  588. {
  589. //model.download(getActionURL("TXPIJ03208") + "&attfilepath=" + updfilepath + "&filepathcolnm=attfilepath", fldr+files[i], false);
  590. download("TXPIJ03208", "&attfilepath=" + updfilepath + "&filepathcolnm=attfilepath", fldr+files[i], false);
  591. updfilechk = false;
  592. }
  593. }
  594. } else {
  595. if (updfileyn == "Y") {
  596. //model.download(getActionURL("TXPIJ03208") + "&attfilepath=" + updfilepath + "&filepathcolnm=attfilepath", fldr+files[i], false);
  597. download("TXPIJ03208", "&attfilepath=" + updfilepath + "&filepathcolnm=attfilepath", fldr+files[i], false);
  598. updfilechk = false;
  599. } else {
  600. nofile += files[i]+"의 구성요서가 없습니다.! 다운로드 하세요.\n";
  601. }
  602. }
  603. }
  604. if (!updfilechk) {
  605. alert("파일이 업데이트 되었습니다. 다시 시도 해주세요." );
  606. return false;
  607. }
  608. if (nofile.length>0) {
  609. alert(nofile);
  610. return false;
  611. } else {
  612. //기존파일 삭제
  613. if (fso.FileExists(fldr + infile)){ fso.DeleteFile(fldr + infile); }
  614. if (fso.FileExists(fldr + outfile)){ fso.DeleteFile(fldr + outfile); }
  615. //1in파일 생성 및 다운로드
  616. var pid = model.getValue("/root/send/drginfo/pid");
  617. var indd = model.getValue("/root/send/drginfo/indd");
  618. var ordfromdd = model.getValue("/root/send/drginfo/ordfromdd");
  619. var cretno = model.getValue("/root/send/drginfo/cretno");
  620. //화면에있는 내용으로 마스터테이블에 저장후 in 파일을 다운로드한다.
  621. submit("TXPIJ03200",false);
  622. download("TXPIJ03201", "&pid=" + pid +
  623. "&ordfromdd=" + ordfromdd +
  624. "&indd=" + indd +
  625. "&cretno=" + cretno +
  626. "&infilenm=" + infile
  627. ,fldr + infile
  628. ,false);
  629. fSleep(infile);
  630. model.refresh();
  631. //2in파일이 다운로드되었으면 exe파일실행.
  632. if (fso.FileExists(fldr + infile)) {
  633. window.exec(fldr + exefile, fldr + infile, fldr);
  634. fSleep(outfile);
  635. model.refresh();
  636. if (fso.FileExists(fldr+outfile)) {
  637. upload2.refresh();
  638. if (submit("TXPIJ03202")) {
  639. //완료되었습니다.
  640. messageBox("DRG번호생성이","I002");
  641. button5.disabled = false;
  642. } else {
  643. //실패하였습니다.
  644. messageBox("DRG번호생성을","E009");
  645. button5.disabled = true;
  646. }
  647. //생성파일 삭제
  648. if (fso.FileExists(fldr + infile)){ fso.DeleteFile(fldr + infile); }
  649. if (fso.FileExists(fldr + outfile)){ fso.DeleteFile(fldr + outfile); }
  650. } else {
  651. messageBox("out 파일이 존재 하지 않습니다.","E");
  652. }
  653. } else {
  654. messageBox("in 파일이 존재 하지 않습니다.","E");
  655. }
  656. }
  657. } else {
  658. //폴더가 없으면 다운로드 한다.
  659. fso.CreateFolder(fldr);
  660. messageBox("DRG 번호생성 프로그램을 다운로드하거나 다시 시도 ","I008");
  661. }
  662. ]]>
  663. </script>
  664. </button>
  665. <upload id="upload2" nodeset="/root/send/attach/file" style="left:260px; top:65px; width:100px; height:20px; "/>
  666. <caption id="caption22" class="search_name" style="left:11px; top:328px; width:119px; height:17px; ">부가코드</caption>
  667. <select1 id="cmb_detailcd1" ref="/root/main/drginfo/detailcd1" appearance="minimal" style="left:140px; top:328px; width:105px; height:19px; ">
  668. <choices>
  669. <itemset nodeset="/root/init/PAM/PK015list/PK015">
  670. <label ref="cdnm"/>
  671. <value ref="cdid"/>
  672. </itemset>
  673. </choices>
  674. </select1>
  675. <select1 id="cmb_detailcd2" ref="/root/main/drginfo/detailcd2" appearance="minimal" style="left:250px; top:329px; width:105px; height:19px; ">
  676. <choices>
  677. <itemset nodeset="/root/init/PAM/PK015list/PK015">
  678. <label ref="cdnm"/>
  679. <value ref="cdid"/>
  680. </itemset>
  681. </choices>
  682. </select1>
  683. <select1 id="cmb_detailcd3" ref="/root/main/drginfo/detailcd3" appearance="minimal" style="left:360px; top:329px; width:105px; height:19px; ">
  684. <choices>
  685. <itemset nodeset="/root/init/PAM/PK015list/PK015">
  686. <label ref="cdnm"/>
  687. <value ref="cdid"/>
  688. </itemset>
  689. </choices>
  690. </select1>
  691. <select1 id="cmb_detailcd4" ref="/root/main/drginfo/detailcd4" appearance="minimal" style="left:470px; top:329px; width:105px; height:19px; ">
  692. <choices>
  693. <itemset nodeset="/root/init/PAM/PK015list/PK015">
  694. <label ref="cdnm"/>
  695. <value ref="cdid"/>
  696. </itemset>
  697. </choices>
  698. </select1>
  699. <select1 id="cmb_detailcd5" ref="/root/main/drginfo/detailcd5" appearance="minimal" style="left:580px; top:329px; width:105px; height:19px; ">
  700. <choices>
  701. <itemset nodeset="/root/init/PAM/PK015list/PK015">
  702. <label ref="cdnm"/>
  703. <value ref="cdid"/>
  704. </itemset>
  705. </choices>
  706. </select1>
  707. <caption id="caption23" class="search_name" style="left:10px; top:299px; width:167px; height:17px; ">알콜및약물중독재활치료</caption>
  708. <select1 id="cmb_ncvcd" ref="/root/main/drginfo/ncvcd" appearance="minimal" style="left:195px; top:300px; width:105px; height:19px; ">
  709. <choices>
  710. <itemset nodeset="/root/init/PAM/PK016list/PK016">
  711. <label ref="cdnm"/>
  712. <value ref="cdid"/>
  713. </itemset>
  714. </choices>
  715. </select1>
  716. <caption id="caption24" class="search_name" style="left:230px; top:450px; width:69px; height:17px; ">ADRG</caption>
  717. <input id="input51" ref="/root/main/drginfo/adrg" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:310px; top:450px; width:75px; height:19px; "/>
  718. <input id="input52" ref="/root/main/drginfo/pccl" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:484px; top:450px; width:75px; height:19px; "/>
  719. <caption id="caption25" class="search_name" style="left:410px; top:450px; width:69px; height:17px; ">PCCL</caption>
  720. <input id="input53" ref="/root/main/drginfo/version" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:670px; top:450px; width:75px; height:19px; "/>
  721. <caption id="caption26" class="search_name" style="left:580px; top:450px; width:90px; height:17px; ">Version</caption>
  722. <line id="line3" class="line_1" style="x1:0px; y1:510px; x2:778px; y2:510px; "/>
  723. <caption id="caption27" class="tit_2" style="left:5px; top:492px; width:170px; height:13px; ">DRG 진료비 계산 내역</caption>
  724. <button id="button5" accesskey="ctrl+f2" class="btn4_letter2" disabled="true" style="left:652px; top:68px; width:56px; height:22px; ">
  725. <caption>확정</caption>
  726. <script type="javascript" ev:event="DOMActivate">
  727. <![CDATA[
  728. submit("TRPIJ03203");
  729. var formendyn = model.getValue("/root/main/endchkinfo/formendyn");
  730. if (formendyn != "Y") {
  731. messageBox("의료질평가서 종결이 되지 않았습니다. 확인하세요. ","E");
  732. return false;
  733. }
  734. var msg = messageBox("DRG 확정 하시겠습니까?","S001");
  735. if (msg == 6) {
  736. model.setValue("/root/send/drginfo/drggbn", "Y");
  737. model.setValue("/root/send/drginfo/drgno", model.getValue("/root/main/drginfo/drgno"));
  738. if (submit("TXPIJ03204")) {
  739. } else {
  740. messageBox("DRG 확정중 에러 발생 ","E");
  741. return false;
  742. }
  743. model.dispatch("xforms-close");
  744. }
  745. ]]>
  746. </script>
  747. </button>
  748. <caption id="caption66" class="search_name" style="left:536px; top:358px; width:145px; height:17px; ">야간,공휴,심야가산</caption>
  749. <button id="button7" accesskey="f6" class="btn4_letter3" disabled="true" style="left:710px; top:68px; width:68px; height:22px; ">
  750. <caption>재심사</caption>
  751. <script type="javascript" ev:event="DOMActivate">
  752. <![CDATA[
  753. model.setValue("/root/send/drginfo/drggbn", "A");
  754. submit("TXPIJ03204");
  755. model.dispatch("xforms-close");
  756. ]]>
  757. </script>
  758. </button>
  759. <textarea id="textarea1" ref="/root/main/drginfo/drgnm" disabled="true" scroll="auto" style="left:221px; top:406px; width:549px; height:39px; "/>
  760. <caption id="caption28" class="search_name" style="left:360px; top:300px; width:144px; height:17px; ">산부인과가산 유무</caption>
  761. <caption id="caption29" style="left:4px; top:872px; width:378px; height:15px; font-weight:bold; color:#ff6600; ">* 열외군보상(★) = ((1) + (2) + (3)) - ((4) + (5) + (7) + (8))</caption>
  762. <caption id="caption30" style="left:395px; top:872px; width:320px; height:15px; font-weight:bold; color:#ff6600; ">* 진료비총액 차액(C) = (A) - (B)</caption>
  763. <button id="button1" class="btn4_letter5" style="left:558px; top:68px; width:92px; height:22px; ">
  764. <caption>DRG 제외</caption>
  765. <script type="javascript" ev:event="DOMActivate">
  766. <![CDATA[
  767. var msg = messageBox("DRG 대상에서 제외 하시겠습니까?","S001");
  768. if (msg == 6) {
  769. model.setValue("/root/send/drginfo/drggbn", "X");
  770. submit("TXPIJ03204");
  771. model.dispatch("xforms-close");
  772. }
  773. ]]>
  774. </script>
  775. </button>
  776. <bool id="bool1" checkvalue="Y,N" ref="/root/main/drginfo/obgaaddyn" style="left:495px; top:300px; width:20px; height:15px; "/>
  777. <button id="button2" accesskey="ctrl+f5" class="btn4_letter2" disabled="true" visibility="hidden" style="left:604px; top:867px; width:56px; height:22px; ">
  778. <caption>배포</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. open("SPPIJ03202");
  782. ]]>
  783. </script>
  784. </button>
  785. <bool id="bool2" checkvalue="Y,N" ref="/root/main/drginfo/nightflag" style="left:675px; top:360px; width:20px; height:15px; "/>
  786. <button id="button6" class="btn6_letter2" disabled="false" visibility="visible" style="left:661px; top:867px; width:56px; height:22px; ">
  787. <caption>출력</caption>
  788. <script type="javascript" ev:event="DOMActivate">
  789. <![CDATA[
  790. window.print();
  791. ]]>
  792. </script>
  793. </button>
  794. <import id="import1" src="../../../pam/bfjudgweb/xrw/SPPIJ03203_DRG계산내역.xrw" style="left:0px; top:515px; width:780px; height:349px; "/>
  795. <button id="btn_nopy" class="btn3_letter11" style="left:615px; top:485px; width:164px; height:22px; ">
  796. <caption>비급여 처방 내역 조회</caption>
  797. <script type="javascript" ev:event="DOMActivate">
  798. <![CDATA[
  799. model.resetInstanceNode("/root/hidden/list");
  800. model.makeValue("/root/hidden/list/instcd", model.getValue("/root/main/drginfo/instcd"));
  801. model.makeValue("/root/hidden/list/pid", model.getValue("/root/main/drginfo/pid"));
  802. model.makeValue("/root/hidden/list/indd", model.getValue("/root/main/drginfo/indd"));
  803. model.makeValue("/root/hidden/list/cretno", model.getValue("/root/main/drginfo/cretno"));
  804. model.makeValue("/root/hidden/list/ordfromdd",model.getValue("/root/main/drginfo/ordfromdd"));
  805. modal("SPPIJ03204", 1, "", "","SPPIJ03204", "/root/hidden/list", "/root/hidden/list");
  806. ]]>
  807. </script>
  808. </button>
  809. <bool id="bool3" checkvalue="Y,N" ref="/root/main/drginfo/robotyn" style="left:635px; top:300px; width:20px; height:15px; ">
  810. <script type="javascript" ev:event="xforms-value-changed">
  811. <![CDATA[
  812. if (bool3.value == "Y") {
  813. bool1.disabled = true;
  814. bool2.disabled = true;
  815. bool1.value = "N";
  816. bool2.value = "N";
  817. } else {
  818. bool1.disabled = false;
  819. bool2.disabled = false;
  820. }
  821. ]]>
  822. </script>
  823. </bool>
  824. <caption id="caption31" class="search_name" style="left:530px; top:300px; width:105px; height:17px; ">로봇수술유무</caption>
  825. <input id="input5" ref="/root/main/drginfo/drgtype" class="input_default" disabled="true" editable="false" appearance="minimal" style="left:139px; top:475px; width:75px; height:19px; "/>
  826. <caption id="caption32" class="search_name" style="left:10px; top:475px; width:90px; height:17px; ">대분류</caption>
  827. </group>
  828. </xhtml:body>
  829. </xhtml:html>