SMLBD01300_공여자처방입력.xrw 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBD01300_공여자처방입력.xrw
  4. * 설 명 : 공여자처방입력
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.11.09
  8. * 수정이력 : 2007.11.09 박정은 2008.01.13
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>공여자처방입력</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <patinfo>
  20. <tnsrnm/>
  21. <tnsrgstno/>
  22. <tnssexage/>
  23. <btype/>
  24. <ordtype/>
  25. <orddd/>
  26. <cretno/>
  27. <instcd/>
  28. <acptseqno/>
  29. <orgorddd/>
  30. <tnsrpid/>
  31. <ordtypenm/>
  32. </patinfo>
  33. <dnor>
  34. <dnorlist>
  35. <dnorno/>
  36. <dnornm/>
  37. <dnorrgstno/>
  38. <dnorseqno/>
  39. <dsexage/>
  40. </dnorlist>
  41. <dnorprcplist>
  42. <chk/>
  43. <prcpdd/>
  44. <tclscd/>
  45. <tclsnm/>
  46. <bcolldt/>
  47. <bcnoyn/>
  48. <execprcpuniqno/>
  49. <prcpseq/>
  50. <dnornm/>
  51. <dsexage/>
  52. <payyn/>
  53. </dnorprcplist>
  54. </dnor>
  55. <prcpcdlist>
  56. <chk/>
  57. <tclscd/>
  58. <tclsnm/>
  59. <spccd/>
  60. </prcpcdlist>
  61. <barcdprntsetup>
  62. </barcdprntsetup>
  63. <barcodeinfo/>
  64. </main>
  65. <send>
  66. <pid/>
  67. <tclscdlist/>
  68. <spccdlist/>
  69. <dnorno/>
  70. <dnorseqno/>
  71. <scrnid/>
  72. <prcpdd/>
  73. <prcpcd/>
  74. <execprcpuniqno/>
  75. <codeflag/>
  76. <basecdid/>
  77. <prcplist/>
  78. <data1/>
  79. <data2/>
  80. <natno/>
  81. <ordtype/>
  82. <prcpflaglist/>
  83. </send>
  84. <init/>
  85. <hidden>
  86. <pid/>
  87. <cancelinfo>
  88. <resndesc/>
  89. <resncd/>
  90. <resncdkind>01</resncdkind>
  91. </cancelinfo>
  92. <natno/>
  93. <patinfolist/>
  94. <ord>
  95. <orddrid/>
  96. </ord>
  97. <otpt>
  98. <otptyn/>
  99. </otpt>
  100. </hidden>
  101. </root>
  102. </instance>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. // 처방코드목록 조회
  106. //fGetPrcpCdList();
  107. // 'LBD100', 'LBR001', 'LHR001', 'LCR118', 'LCR119'
  108. // 초기정보 조회
  109. model.setValue("/root/send/codeflag", "0118|"); // 0118=
  110. model.setValue("/root/send/basecdid", "LB001"); // LB001 = 공여자처방이가능한목록
  111. submit("TRLZZ00101");
  112. //model.copyNode("/root/main/prcpcdlist", "/root/init/LB0118");
  113. var count = getNodesetCount("/root/init/LB0118");
  114. for(i=1; i<= count ; i++){
  115. model.makeValue("/root/main/prcpcdlist["+i+"]/chk", "");
  116. model.makeValue("/root/main/prcpcdlist["+i+"]/tclscd", model.getValue("/root/init/LB0118["+i+"]/cd"));
  117. model.makeValue("/root/main/prcpcdlist["+i+"]/tclsnm", model.getValue("/root/init/LB0118["+i+"]/nm"));
  118. model.makeValue("/root/main/prcpcdlist["+i+"]/spccd", model.getValue("/root/init/LB0118["+i+"]/etc01"));
  119. model.makeValue("/root/main/prcpcdlist["+i+"]/prcpflag", model.getValue("/root/init/LB0118["+i+"]/etc04")); //basecddesc 사전, 사후검사 구분용 1: 사전, 2: 사후검사
  120. }
  121. model.removeNodeset("/root/main/dnor/dnorprcplist");
  122. grd_dnorprcplist.rebuild();
  123. model.removeNodeset("/root/main/dnor/dnorlist");
  124. grd_dnorlist.rebuild();
  125. // 바코드정보조회
  126. fGetBarcdInfo();
  127. //lzzfMakeBrcdPrntObj("CommAX");
  128. lzzfMakeBrcdPrntObjHanDo("CommAX");
  129. grd_prcpcdlist.fixedcellcheckbox(0,1)=true;
  130. grd_dnorprcplist.fixedcellcheckbox(0,1)=true;
  131. if(getPatientInfo("pid") != ""){
  132. model.setValue("/root/hidden/pid", getPatientInfo("pid"));
  133. ipt_pid.refresh();
  134. }else{
  135. model.setFocus("ipt_pid");
  136. }
  137. if(model.getValue("/root/hidden/pid") != ""){
  138. fGetPatinfo("N");
  139. }
  140. ]]>
  141. </script>
  142. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  143. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  144. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  145. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  146. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  149. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0118"/>
  150. <submission id="TRLBD01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patinfo"/>
  151. <submission id="TRLBD01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnor"/>
  152. <submission id="TRLBD01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prcpcdlist"/>
  153. <submission id="TXLBD01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnor"/>
  154. <submission id="TRLBD01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnor/dnorprcplist"/>
  155. <!-- 프린터 설정-->
  156. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  157. <submission id="TXLBD01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnor"/>
  158. <submission id="TXLBD01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  159. <submission id="TRLBD01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcodeinfo"/>
  160. <submission id="TXLLC90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  161. <submission id="TXLBD01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  162. <submission id="TXLBD01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  163. <submission id="TRLBD01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/ord"/>
  164. </model>
  165. <script type="javascript">
  166. <![CDATA[
  167. // 초기화
  168. function fSetInit(){
  169. model.removeNodeset("/root/main/patinfo");
  170. model.removeNodeset("/root/main/dnor");
  171. model.resetInstanceNode("/root/main/patinfo");
  172. model.setValue("/root/hidden/pid","");
  173. model.resetInstanceNode("/root/send");
  174. grd_dnorlist.rebuild();
  175. grd_prcpcdlist.rebuild();
  176. grd_dnorprcplist.rebuild();
  177. model.refresh();
  178. } // 사용
  179. // 바코드정보조회
  180. function fGetBarcdInfo(){
  181. model.setValue("/root/send/scrnid", getScreenID());
  182. submit("TRLLC90101");
  183. }
  184. // 엔터키 이벤트
  185. function fKeyEvent(){
  186. if(event.keyCode == "13"){
  187. if(event.target=="ipt_pid"){
  188. model.setValue("/root/hidden/pid", (ipt_pid.currentText).toUpperCase());
  189. // 환자정보 조회
  190. fGetPatinfo("Y");
  191. ipt_pid.selBegin = 0;
  192. ipt_pid.selEnd = ipt_pid.currentText.length;
  193. }
  194. }
  195. }
  196. // 환자정보조회
  197. function fGetPatinfo(topyn){
  198. model.removeNodeset("/root/main/patinfo");
  199. model.removeNodeset("/root/main/dnor/dnorlist");
  200. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  201. submit("TRLBD01301");
  202. /*if(model.getValue("/root/main/patinfo/ordtype")=="O"){
  203. if(model.getValue("/root/main/patinfo/orddd") != getCurrentDate()){
  204. delPatientInfos();
  205. alert("접수정보가 없습니다. 외래등록을 하십시오.");
  206. return;
  207. }
  208. }*/
  209. if(topyn == "Y"){
  210. fSetTopInfo();
  211. }
  212. //if(model.getValue("/root/main/patinfo/tnsrnm")==""){
  213. // messageBox("공여자 등록이 안되어있습니다. 공여자 처방 등록 " , "E001", ""); //할 수 없습니다.
  214. // return;
  215. //}
  216. // 공여자목록 조회
  217. fGetDnorPrcpList();
  218. }
  219. // 공여자목록, 처방코드목록, 처방내역 조회
  220. function fGetDnorPrcpList(){
  221. //grd_dnorlist.rebuildStyle();
  222. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  223. submit("TRLBD01302");
  224. if(grd_dnorlist.rows < 2){
  225. messageBox("공여자 등록이 안되어있습니다. 공여자 처방 등록 " , "E001", ""); //할 수 없습니다.
  226. return;
  227. }else{
  228. grd_dnorlist.row = 1;
  229. fGetPrcpList();
  230. }
  231. }
  232. // 처방코드목록조회
  233. function fGetPrcpCdList(){
  234. submit("TRLBD01303");
  235. }
  236. // 환자정보검색 팝업 띄우기
  237. function fGetPatInfoPopUp(){
  238. modal("SPLBD91300", "", "", "","", "", "");
  239. model.setValue("/root/hidden/pid", model.getValue("/root/hidden/patinfolist/tnsrpid"));
  240. fGetPatinfo("Y");
  241. }
  242. // 처방코드 선택
  243. function fSetPrcpcdSelect(ref){
  244. if(ref == "dd"){ // 더블클릭시
  245. model.setValue("/root/main/prcpcdlist["+ grd_prcpcdlist.row +"]/chk", "Y");
  246. }
  247. var pcnt = 1;
  248. for(i=1; i<grd_prcpcdlist.rows; i++ ){
  249. if(model.getValue("/root/main/prcpcdlist["+i+"]/chk")=="Y"){
  250. model.makeValue("/root/main/dnor/dnorprcplist["+ pcnt +"]/tclscd", model.getValue("/root/main/prcpcdlist["+i+"]/tclscd"));
  251. model.makeValue("/root/main/dnor/dnorprcplist["+ pcnt +"]/tclsnm", model.getValue("/root/main/prcpcdlist["+i+"]/tclsnm"));
  252. pcnt ++;
  253. }
  254. }
  255. grd_dnorprcplist.rebuild();
  256. }
  257. // 처방저장(추가처방)
  258. function fExeDnorPrcp(){
  259. if(model.getValue("/root/main/patinfo/ordtype")=="O"){
  260. if(model.getValue("/root/main/patinfo/orddd") != getCurrentDate()){
  261. //delPatientInfos();
  262. alert("접수정보가 없습니다. 외래등록을 하십시오.");
  263. return;
  264. }
  265. }
  266. if(grd_dnorlist.row < 1){
  267. messageBox("공여자를 ", "C002"); // 선택하십시오.
  268. return;
  269. }
  270. var prcprow = grd_dnorlist.row;
  271. var tclscdlist = "";
  272. var spccdlist = "";
  273. var prcpflag = ""; //추가 20090609
  274. for(i=1; i<grd_prcpcdlist.rows; i++ ){
  275. if(model.getValue("/root/main/prcpcdlist["+i+"]/chk")=="Y"){
  276. tclscdlist = tclscdlist + model.getValue("/root/main/prcpcdlist["+i+"]/tclscd") + "▦";
  277. spccdlist = spccdlist + model.getValue("/root/main/prcpcdlist["+i+"]/spccd") + "▦";
  278. prcpflag = prcpflag + model.getValue("/root/main/prcpcdlist["+i+"]/prcpflag") + "▦"; //추가 20090609
  279. // NAT 처방낼때 nat번호 입력창 띄우기
  280. if(model.getValue("/root/main/prcpcdlist["+i+"]/tclscd")=="LBD101"){
  281. //alert("Nat입력");
  282. model.makeNode("root/hidden/natno");
  283. modal("SPLBD91301", "", "", "","", "", "");
  284. if(model.getValue("/root/hidden/natno/btn") == "cancel"){ //Nat입력 팝업에서 취소버튼 눌렀을때 저장 중지!! _20090209추가
  285. return;
  286. }
  287. }
  288. }
  289. }
  290. if(tclscdlist == ""){
  291. messageBox("처방코드를 ", "C002"); // 선택하십시오.
  292. return;
  293. }
  294. //alert("tclscdlist= " +tclscdlist);
  295. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  296. model.setValue("/root/send/tclscdlist", tclscdlist); // tclscd▦tclscd▦
  297. model.setValue("/root/send/spccdlist", spccdlist); // spccd▦spccd▦
  298. model.setValue("/root/send/prcpflaglist", prcpflag); // prcpflag▦prcpflag▦
  299. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  300. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  301. model.setValue("/root/send/natno", model.getValue("/root/hidden/natno/natno"));
  302. if(submit("TXLBD01301")){
  303. //fLisSpcBarcodePrint("/root/main/barcodeinfo");
  304. grd_prcpcdlist.fixedcellischeck(0,1) = false;
  305. grd_dnorprcplist.fixedcellischeck(0,1) = false;
  306. fGetPatinfo("Y");
  307. if(grd_dnorlist.rows > 1){
  308. //grd_dnorlist.row = 1;
  309. fGetPrcpList();
  310. }
  311. grd_dnorlist.row = prcprow;
  312. fGetPrcpList();
  313. }
  314. }
  315. //NAT 번호입력
  316. function fSetNATNoRgst(){
  317. if(grd_dnorlist.row < 1){
  318. messageBox("공여자를 ", "C002"); // 선택하십시오.
  319. return;
  320. }
  321. if(grd_dnorprcplist.row < 1){
  322. messageBox("처방내역을 ", "C002"); // 선택하십시오.
  323. return;
  324. }
  325. model.makeNode("root/hidden/natno");
  326. modal("SPLBD91301", "", "", "","", "", "");
  327. if(model.getValue("root/hidden/natno/btn")=="cancel"){
  328. //alert("aa");
  329. return;
  330. }
  331. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  332. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  333. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  334. model.setValue("/root/send/prcpdd", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/prcpdd"));
  335. model.setValue("/root/send/execprcpuniqno", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/execprcpuniqno"));
  336. model.setValue("/root/send/natno", model.getValue("root/hidden/natno/natno"));
  337. submit("TXLBD01305");
  338. }
  339. // 처방내역 리스트 조회
  340. function fGetPrcpList(){
  341. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  342. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  343. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  344. submit("TRLBD01304");
  345. grd_dnorprcplist.rebuildStyle();
  346. for(i= 1; i< grd_dnorprcplist.rows; i++){
  347. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/bcnoyn")=="Y"){
  348. grd_dnorprcplist.cellStyle("color", i, 1, i, 6) = "red";
  349. }
  350. }
  351. }
  352. //프린터 설정
  353. function fSetPrint() {
  354. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  355. if(count == 0) {
  356. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  357. }
  358. open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  359. }
  360. //바코드발행
  361. function fExeBcoll(){
  362. if(grd_dnorlist.row < 1){
  363. messageBox("공여자를 " , "C002", ""); //공여자를 선택하십시오.
  364. return;
  365. }
  366. if(model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/bcnoyn") == "Y"){
  367. messageBox("이미 발행되었습니다. \n바코드 발행을 " , "E001", ""); // 할 수 없습니다.
  368. return;
  369. }
  370. var prcprow = grd_dnorlist.row;
  371. /*if(grd_dnorprcplist.row < 1){
  372. messageBox("처방내역을 " , "C002", ""); //처방코드를 선택하십시오.
  373. return;
  374. }
  375. */
  376. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  377. model.setValue("/root/send/prcpdd", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/prcpdd"));
  378. model.setValue("/root/send/prcpcd", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/tclscd"));
  379. model.setValue("/root/send/execprcpuniqno", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/execprcpuniqno"));
  380. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  381. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  382. var prcplist = "";
  383. var chkyn = "";
  384. var payyn = "";
  385. for(i=1; i< grd_dnorprcplist.rows; i++){
  386. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/chk")=="Y"){
  387. prcplist += model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpdd") + "▣" + model.getValue("/root/main/dnor/dnorprcplist["+i+"]/tclscd") + "▣"
  388. + model.getValue("/root/main/dnor/dnorprcplist["+i+"]/execprcpuniqno") + "▣" + model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpseq") + "◈";
  389. chkyn += i;
  390. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/payyn")=="N"){ // 수납안했을때
  391. payyn += i;
  392. }
  393. }
  394. }
  395. if(chkyn==""){
  396. messageBox("바코드 발행할 처방을" , "C002", ""); // 선택하십시오.
  397. return;
  398. }
  399. if(payyn != ""){
  400. messageBox("미수납내역이 존재합니다. 바코드 발행 " , "E001", ""); // 할 수 없습니다.
  401. return;
  402. }
  403. model.setValue("/root/send/prcplist", prcplist);
  404. //submit("TXLBD01302");
  405. if(submit("TXLBD01302")){
  406. fGetPatinfo("N");
  407. grd_dnorlist.row = prcprow;
  408. if(grd_dnorlist.rows > 1){
  409. fGetPrcpList();
  410. }
  411. if(grd_dnorprcplist.rows > 0){
  412. grd_dnorprcplist.row = 1;
  413. }
  414. if(grd_dnorprcplist.row > 0){
  415. var count = getNodesetCount("/root/main/barcodeinfo") ;
  416. for(i=1; i<=count; i++){
  417. model.makeValue("/root/main/barcodeinfo["+i+"]/dnornm", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/dnornm"));
  418. model.makeValue("/root/main/barcodeinfo["+i+"]/dnorsexage", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/dsexage"));
  419. }
  420. }
  421. fLisSpcBarcodePrint("/root/main/barcodeinfo");
  422. model.removeNodeset("/root/main/barcodeinfo");
  423. }
  424. }
  425. //바코드재발행
  426. function fExeBarcdRePrnt(){
  427. var bcollyn = "";
  428. var execuniqlist = "";
  429. var chkyn="";
  430. if(grd_dnorlist.row < 1){
  431. messageBox("공여자를 " , "C002", ""); //공여자를 선택하십시오.
  432. return;
  433. }
  434. if(grd_dnorprcplist.row < 1){
  435. messageBox("재발행할 처방을 " , "C002", ""); //공여자를 선택하십시오.
  436. return;
  437. }
  438. for(i=1; i<grd_dnorprcplist.rows; i++ ){
  439. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/chk")=="Y"){
  440. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/bcnoyn")=="N"){
  441. bcollyn += i;
  442. }else{
  443. execuniqlist += model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpdd") + "▤" +
  444. model.getValue("/root/main/dnor/dnorprcplist["+i+"]/execprcpuniqno") + "▤" +
  445. model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpseq") + "▥";
  446. }
  447. chkyn += i;
  448. }
  449. }
  450. if(bcollyn != ""){
  451. messageBox("바코드발행이 안된 처방입니다. 재발행 " , "E001", ""); //할 수 없습니다.
  452. return;
  453. }
  454. if(chkyn == ""){
  455. messageBox("재발행할 처방을 " , "C002", ""); //재발행할 처방을 선택하십시오
  456. return;
  457. }
  458. model.setValue("/root/send/prcplist", execuniqlist);
  459. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  460. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  461. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  462. if(submit("TRLBD01305")){
  463. if(grd_dnorprcplist.row > 0){
  464. var count = getNodesetCount("/root/main/barcodeinfo") ;
  465. for(i=1; i<=count; i++){
  466. model.makeValue("/root/main/barcodeinfo["+i+"]/dnornm", "공여자 : " + model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/dnornm"));
  467. model.makeValue("/root/main/barcodeinfo["+i+"]/dnorsexage", model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/dsexage"));
  468. }
  469. }
  470. fLisSpcBarcodePrint("/root/main/barcodeinfo");
  471. model.removeNodeset("/root/main/barcodeinfo");
  472. }
  473. }// 미완료
  474. // 처방취소
  475. function fExePrcpCancel(){
  476. if(grd_dnorlist.row < 1){
  477. messageBox("공여자를 ", "C002"); // 선택하십시오.
  478. return;
  479. }
  480. var prcpcdlist = "";
  481. var bcollyn = "";
  482. var prcprow = grd_dnorlist.row;
  483. for(i=1; i<grd_dnorprcplist.rows; i++ ){
  484. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/chk")=="Y"){
  485. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/bcnoyn")=="N"){
  486. prcpcdlist += model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpdd") + "▤" + model.getValue("/root/main/dnor/dnorprcplist["+i+"]/tclscd")
  487. + "▤" + model.getValue("/root/main/dnor/dnorprcplist["+i+"]/execprcpuniqno") + "▥";
  488. }else{
  489. bcollyn += i;
  490. }
  491. }
  492. }
  493. if(bcollyn != ""){
  494. messageBox("바코드발행된 상태 입니다. 처방 취소 " , "E001", ""); //할 수 없습니다.
  495. return;
  496. }
  497. if(prcpcdlist ==""){
  498. messageBox("취소할 처방을 ", "C002"); // 선택하십시오.
  499. return;
  500. }
  501. //alert("tclscdlist= " +tclscdlist);
  502. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  503. model.setValue("/root/send/dnorno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno"));
  504. model.setValue("/root/send/dnorseqno", model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno"));
  505. model.setValue("/root/send/prcplist", prcpcdlist);
  506. //submit("TXLBD01303");
  507. if(submit("TXLBD01303")){
  508. grd_prcpcdlist.fixedcellischeck(0,1) = false;
  509. grd_dnorprcplist.fixedcellischeck(0,1) = false;
  510. fGetPatinfo("Y");
  511. grd_dnorlist.row = prcprow;
  512. if(grd_dnorlist.rows > 1){
  513. //grd_dnorlist.row = 1;
  514. fGetPrcpList();
  515. }
  516. }
  517. }
  518. // 바코드발행취소
  519. function fExeBcollCancel(){
  520. if(grd_dnorlist.row < 1){
  521. messageBox("공여자를 ", "C002"); // 선택하십시오.
  522. return;
  523. }
  524. var prcpcdlist = "";
  525. var bcollyn = "";
  526. var prcprow = grd_dnorlist.row;
  527. //grd_dnorlist.row = prcprow;
  528. for(i=1; i< grd_dnorprcplist.rows; i++){
  529. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/chk")=="Y"){
  530. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/bcnoyn")=="Y"){
  531. prcpcdlist += model.getValue("/root/hidden/pid") + "▤" +
  532. model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorno") + "▤" +
  533. model.getValue("/root/main/dnor/dnorlist["+grd_dnorlist.row+"]/dnorseqno") + "▤" +
  534. model.getValue("/root/main/dnor/dnorprcplist["+i+"]/prcpdd") + "▤" +
  535. model.getValue("/root/main/dnor/dnorprcplist["+i+"]/execprcpuniqno") + "▥";
  536. }else{
  537. bcollyn += i;
  538. }
  539. }
  540. }
  541. if(bcollyn != ""){
  542. messageBox("바코드발행이 안된 상태입니다. 발행 취소 " , "E001", ""); //할 수 없습니다.
  543. return;
  544. }
  545. if(prcpcdlist ==""){
  546. messageBox("발행 취소할 처방을 ", "C002"); // 선택하십시오.
  547. return;
  548. }
  549. model.setValue("/root/send/prcplist", prcpcdlist);
  550. //alert("prcpcdlist= " + prcpcdlist);
  551. if(submit("TXLBD01304")){
  552. fGetPatinfo("Y");
  553. grd_dnorlist.row = prcprow;
  554. if(grd_dnorlist.rows > 1){
  555. fGetPrcpList();
  556. }
  557. }
  558. /*var bcollyn = "";
  559. var bcnoccdata = "";
  560. grd_dnorprcplist.clearStatus();
  561. for(i=1; i<grd_dnorprcplist.rows; i++ ){
  562. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/chk")=="Y"){
  563. if(model.getValue("/root/main/dnor/dnorprcplist["+i+"]/bcnoyn")=="N"){
  564. bcollyn += i;
  565. }else{
  566. grd_dnorprcplist.rowStatus(i) = 1;
  567. bcnoccdata = grd_dnorprcplist.getUpdateData();
  568. }
  569. }
  570. }
  571. alert("bcnoccdata= " + bcnoccdata);
  572. if(bcollyn != ""){
  573. messageBox("바코드발행이 안된 처방입니다. 재발행 " , "E001", ""); //할 수 없습니다.
  574. return;
  575. }
  576. model.setValue("/root/send/data1", bcnoccdata);
  577. model.setValue("/root/send/data2", "01");
  578. model.makeNode("/root/send/data3");
  579. model.copyNode("/root/send/data3" , "/root/hidden/cancelinfo");
  580. //submit("TXLLC90401"); //채혈취소
  581. */
  582. }
  583. //top 정보
  584. function fSetTopInfo(){
  585. //alert("qq");
  586. delPatientInfos(); //환자정보 전체 삭제
  587. //alert("ww");
  588. // O▦00301165▦20070516▦1▦012▦1▦20070516▦
  589. var today = getCurrentDate();
  590. if(model.getValue("/root/main/patinfo/ordtype")=="I"){
  591. //alert("ee");
  592. setParameter("condparam", model.getValue("/root/main/patinfo/ordtype") + "▦" +
  593. model.getValue("/root/main/patinfo/tnsrpid") + "▦" +
  594. model.getValue("/root/main/patinfo/orddd") + "▦" +
  595. model.getValue("/root/main/patinfo/cretno") + "▦" +
  596. model.getValue("/root/main/patinfo/acptseqno") + "▦" + // seqno
  597. today + "▦" +
  598. model.getValue("/root/main/patinfo/instcd"));
  599. }else if(model.getValue("/root/main/patinfo/ordtype")=="O"){
  600. setParameter("condparam", model.getValue("/root/main/patinfo/ordtype") + "▦" +
  601. model.getValue("/root/main/patinfo/tnsrpid") + "▦" +
  602. model.getValue("/root/main/patinfo/orddd") + "▦" +
  603. model.getValue("/root/main/patinfo/cretno") + "▦" +
  604. model.getValue("/root/main/patinfo/instcd") + "▦" +
  605. model.getValue("/root/main/patinfo/acptseqno") + "▦" +
  606. model.getValue("/root/main/patinfo/orgorddd") + "▦");
  607. }
  608. modal("SPMMO08900");
  609. //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  610. }
  611. // 외래등록
  612. function fSetOuterRgst(){
  613. //model.makeValue("/root/hidden/ord/orddrid", "");
  614. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/tnsrpid"));
  615. model.setValue("/root/send/ordtype", model.getValue("/root/main/patinfo/ordtype"));
  616. //model.setValue("/root/send/ordtype", "I");
  617. //setParameter("pid", model.getValue("/root/main/patinfo/tnsrpid") ); //등록번호
  618. // 외래 환자 접수목록 조회 팝업
  619. modal("SPLBD91400", "1", "", "", "SPLBD91400", "/root/hidden/pid", "/root/hidden/pid");
  620. if(model.getValue("/root/hidden/otpt/otptyn")=="Y"){
  621. fGetPatinfo("Y");
  622. ipt_pid.selBegin = 0;
  623. ipt_pid.selEnd = ipt_pid.currentText.length;
  624. }
  625. /* 2009-02-03 임시 막음
  626. // 가장 최근에 진료받은 혈액내과 의사로 접수
  627. submit("TRLBD01306");
  628. setParameter("pid", model.getValue("/root/main/patinfo/tnsrpid") ); //등록번호
  629. setParameter("pidflag", '20'); // 연속처방/기타구분
  630. setParameter("disccd", ""); //감면유형
  631. setParameter("orddeptcd", "2010800000"); //의뢰부서코드
  632. if(model.getValue("/root/hidden/ord/orddrid")==""){
  633. alert("최근 진료받은 혈액내과 의사가 없습니다. ");
  634. setParameter("orddrid", ""); //의뢰의 ID
  635. }else{
  636. setParameter("orddrid", model.getValue("/root/hidden/ord/orddrid")); //의뢰의 ID
  637. }
  638. modal("SMPMO00100", "1", "", "", "SMPMO00100", "", "");
  639. */ //2009-02-03 임시 막음
  640. }
  641. //처방내역 클릭시 체크
  642. function fSetPrcpListCheck(){
  643. if(grd_dnorprcplist.row > 0){
  644. if(model.getValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/chk")=="Y"){
  645. model.setValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/chk", "N");
  646. }else{
  647. model.setValue("/root/main/dnor/dnorprcplist["+grd_dnorprcplist.row+"]/chk", "Y");
  648. }
  649. //grd_dnorprcplist.rebuild();
  650. }
  651. }
  652. // 환자별 채혈 팝업
  653. function fExeBcollPid(){
  654. modal("SMLLC00300", "1", "", "", "SMLLC00300", "", "");
  655. //SMLLC00300_환자별채혈관리.xrw
  656. }
  657. ]]>
  658. </script>
  659. </xhtml:head>
  660. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  661. <group id="group3" style="left:0px; top:0px; width:1195px; height:13px; ">
  662. <caption id="caption7" class="tit_1" style="left:0px; top:0px; width:223px; height:14px; ">공여자처방입력</caption>
  663. </group>
  664. <group id="group2" style="left:0px; top:40px; width:1195px; height:744px; ">
  665. <button id="button5" class="icon_search" style="left:259px; top:32px; width:16px; height:16px; ">
  666. <caption/>
  667. <script type="javascript" ev:event="DOMActivate">
  668. <![CDATA[
  669. // 환자정보검색 팝업 띄우기
  670. fGetPatInfoPopUp();
  671. ]]>
  672. </script>
  673. </button>
  674. <caption id="caption26" class="tit_2" style="left:350px; top:87px; width:110px; height:13px; ">처방코드목록</caption>
  675. <caption id="caption36" class="tit_2" style="left:5px; top:10px; width:100px; height:14px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자정보</caption>
  676. <line id="line17" class="line_1" style="x1:345px; y1:102px; x2:655px; y2:102px; "/>
  677. <line id="line1" class="line_1" style="x1:0px; y1:102px; x2:340px; y2:102px; "/>
  678. <line id="line8" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
  679. <caption id="caption1" class="tit_2" style="left:5px; top:87px; width:111px; height:13px; ">공여자목록</caption>
  680. <line id="line6" class="line_1" style="x1:0px; y1:25px; x2:1194; y2:25px; "/>
  681. <caption id="caption43" class="cell_1" style="left:0px; top:54px; width:120px; height:23px; vertical-align:middle; ">환자명</caption>
  682. <caption id="caption46" class="cell_1" style="left:532px; top:54px; width:100px; height:23px; vertical-align:middle; ">성별/나이</caption>
  683. <caption id="caption47" class="cell_1" style="left:256px; top:54px; width:120px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  684. <caption id="caption48" class="cell_1" style="left:738px; top:54px; width:100px; height:23px; vertical-align:middle; ">혈액형</caption>
  685. <line id="line2" class="line_1" style="x1:660px; y1:102px; x2:1194px; y2:102px; "/>
  686. <caption id="caption5" class="tit_2" style="left:665px; top:87px; width:100px; height:13px; ">처방내역</caption>
  687. <button id="btn_addrow" class="btn2_letter5" style="left:930px; top:81px; width:75px; height:19px; ">
  688. <caption>바코드발행</caption>
  689. <script type="javascript" ev:event="DOMActivate">
  690. <![CDATA[
  691. fExeBcoll();
  692. ]]>
  693. </script>
  694. </button>
  695. <caption id="caption39" class="cell_1" style="left:0px; top:30px; width:120px; height:23px; vertical-align:middle; ">등록번호</caption>
  696. <output id="output1" ref="/root/main/patinfo/tnsrnm" class="output_fix" style="left:123px; top:55px; width:130px; height:19px; "/>
  697. <output id="output2" ref="/root/main/patinfo/tnsrgstno" class="output_fix" format="999999-9999999" style="left:379px; top:55px; width:150px; height:19px; "/>
  698. <output id="output3" ref="/root/main/patinfo/tnssexage" class="output_fix" style="left:635px; top:55px; width:100px; height:19px; "/>
  699. <output id="output4" ref="/root/main/patinfo/btype" class="output_fix" style="left:841px; top:55px; width:120px; height:19px; "/>
  700. <button id="button2" class="btn2_letter6" style="left:1008px; top:81px; width:86px; height:19px; ">
  701. <caption>바코드재발행</caption>
  702. <script type="javascript" ev:event="DOMActivate">
  703. <![CDATA[
  704. //alert("개발중");
  705. fExeBarcdRePrnt();
  706. ]]>
  707. </script>
  708. </button>
  709. <button id="button3" class="btn2_letter7" style="left:1097px; top:81px; width:97px; height:19px; ">
  710. <caption>바코드발행취소</caption>
  711. <script type="javascript" ev:event="DOMActivate">
  712. <![CDATA[
  713. //alert("개발중");
  714. fExeBcollCancel();
  715. ]]>
  716. </script>
  717. </button>
  718. <input id="ipt_pid" ref="/root/hidden/pid" class="input_s_button" inputtype="button" maxlength="10" style="left:123px; top:31px; width:130px; height:19px; ">
  719. <script type="javascript" ev:event="onkeypress">
  720. <![CDATA[
  721. fKeyEvent();
  722. ]]>
  723. </script>
  724. </input>
  725. <datagrid id="grd_dnorlist" nodeset="/root/main/dnor/dnorlist" caption="공여자번호^공여자명^주민등록번호^공여자sexage" colsep="^" colwidth="80, 80, 140, 0" dataheight="25" focuscolor="#9999ff" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:107px; width:340px; height:634px; ">
  726. <col ref="dnorno"/>
  727. <col ref="dnornm"/>
  728. <col ref="dnorrgstno"/>
  729. <col/>
  730. <script type="javascript" ev:event="onclick">
  731. <![CDATA[
  732. if(grd_dnorlist.isCell(event.target) && grd_dnorlist.row >= grd_dnorlist.fixedRows){
  733. fGetPrcpList();
  734. }
  735. ]]>
  736. </script>
  737. </datagrid>
  738. <datagrid id="grd_prcpcdlist" nodeset="/root/main/prcpcdlist" caption="^처방코드^처방명^검체코드" colsep="^" colwidth="40, 80, 147, 0" dataheight="23" ellipsis="true" focuscolor="#ccecff" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:345px; top:107px; width:310px; height:634px; ">
  739. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  740. <col ref="tclscd" style="left:20px; top:25px; width:90px; height:25px; "/>
  741. <col ref="tclsnm"/>
  742. <col ref="spccd"/>
  743. <script type="javascript" ev:event="ondblclick">
  744. <![CDATA[
  745. // 처방코드 선택
  746. //fSetPrcpcdSelect("dd");
  747. ]]>
  748. </script>
  749. </datagrid>
  750. <datagrid id="grd_dnorprcplist" nodeset="/root/main/dnor/dnorprcplist" caption="^처방일자^처방코드^처방명^바코드출력일시^출력여부^공여자성별나이^공여자명^caption1" colsep="^" colwidth="35, 70, 70, 140, 106, 70, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" focuscolor="#ccecff" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:660px; top:107px; width:534px; height:634px; ">
  751. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  752. <col ref="prcpdd" format="yyyy-mm-dd" style="left:20px; top:25px; width:90px; height:25px; "/>
  753. <col ref="tclscd"/>
  754. <col ref="tclsnm"/>
  755. <col ref="bcolldt" format="yyyy-mm-dd hh:nn"/>
  756. <col ref="bcnoyn" style="text-align:center; "/>
  757. <col ref="dsexage"/>
  758. <col ref="dnornm"/>
  759. <col ref="bcno2"/>
  760. <col ref="spccd"/>
  761. <col ref="pid"/>
  762. <col ref="prcpgenrflag"/>
  763. <col ref="payyn"/>
  764. <script type="javascript" ev:event="onclick">
  765. <![CDATA[
  766. //처방내역 클릭시 체크
  767. if(grd_dnorprcplist.col != 1 ){
  768. fSetPrcpListCheck();
  769. }
  770. ]]>
  771. </script>
  772. </datagrid>
  773. <!--<object id="CommAX" clsid="{35cc9cfa-e6f8-4b22-b6d2-fe7cd108f943}" visibility="hidden" style="left:220px; top:205px; width:45px; height:45px; "/>-->
  774. <output id="output5" ref="/root/main/patinfo/ordtypenm" class="output_fix" style="left:1040px; top:55px; width:154px; height:19px; "/>
  775. <caption id="caption2" class="cell_1" style="left:965px; top:54px; width:70px; height:23px; vertical-align:middle; ">입원/외래</caption>
  776. <line id="line9" class="line_3" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
  777. </group>
  778. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  779. <button id="btn_prt" class="btn4_letter4" style="left:961px; top:3px; width:80px; height:22px; ">
  780. <caption>처방저장</caption>
  781. <script type="javascript" ev:event="DOMActivate">
  782. <![CDATA[
  783. fExeDnorPrcp();
  784. ]]>
  785. </script>
  786. </button>
  787. <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  788. <caption>초기화</caption>
  789. <script type="javascript" ev:event="DOMActivate">
  790. <![CDATA[
  791. fSetInit();
  792. ]]>
  793. </script>
  794. </button>
  795. <line id="line35" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  796. <button id="button1" class="btn4_letter4" style="left:1044px; top:3px; width:80px; height:22px; ">
  797. <caption>처방취소</caption>
  798. <script type="javascript" ev:event="DOMActivate">
  799. <![CDATA[
  800. //alert("개발중");
  801. fExePrcpCancel();
  802. ]]>
  803. </script>
  804. </button>
  805. <button id="btn_prnt" class="btn3_letter5" navindex="18" style="left:0px; top:3px; width:92px; height:22px; ">
  806. <caption>프린터설정</caption>
  807. <script type="javascript" ev:event="DOMActivate">
  808. <![CDATA[
  809. // 프린터 설정
  810. fSetPrint();
  811. ]]>
  812. </script>
  813. </button>
  814. <button id="button4" class="btn4_letter4" style="left:878px; top:3px; width:80px; height:22px; ">
  815. <caption>외래등록</caption>
  816. <script type="javascript" ev:event="DOMActivate">
  817. <![CDATA[
  818. fSetOuterRgst();
  819. ]]>
  820. </script>
  821. </button>
  822. <button id="button6" class="btn4_letter6" style="left:771px; top:3px; width:104px; height:22px; ">
  823. <caption>NAT번호입력</caption>
  824. <script type="javascript" ev:event="DOMActivate">
  825. <![CDATA[
  826. fSetNATNoRgst();
  827. ]]>
  828. </script>
  829. </button>
  830. <button id="button8" class="btn4_letter9" style="left:628px; top:3px; width:140px; height:22px; ">
  831. <caption>바코드발행(환자별)</caption>
  832. <script type="javascript" ev:event="DOMActivate">
  833. <![CDATA[
  834. fExeBcollPid();
  835. ]]>
  836. </script>
  837. </button>
  838. </group>
  839. </xhtml:body>
  840. </xhtml:html>