SPPID31000_KDRG상세정보.xrw 42 KB

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