SMLBP01600_환자별불출내역조회.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBP01600_환자별불출내역조회.xrw
  4. * 설 명 :환자별불출내역조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.12.11
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
  18. <main>
  19. <getpiddelivelist>
  20. <blodcomstat/>
  21. <blodno/>
  22. <prepblodseqno/>
  23. <btype/>
  24. <blodcomnm/>
  25. <iryn/>
  26. <patnm/>
  27. <pid/>
  28. <wardroom/>
  29. <dept/>
  30. <prepdt/>
  31. <prepid/>
  32. <cmid/>
  33. <deliveid/>
  34. <acptid/>
  35. <rslt/>
  36. <cmrslt01/>
  37. <cmrslt02/>
  38. <cmrslt03/>
  39. <cmrslt04/>
  40. <cmrslt05/>
  41. <cmrslt06/>
  42. <delivedt/>
  43. <testdt/>
  44. <validt/>
  45. <rtnabn/>
  46. <rtnabndt/>
  47. <tnsstrddtm/>
  48. <tnssideeffect/>
  49. <orddrnm/>
  50. <returncnt/>
  51. <cmt/>
  52. <filteryn/>
  53. </getpiddelivelist>
  54. </main>
  55. <send>
  56. <fromdd/>
  57. <todd/>
  58. <fromtm/>
  59. <totm/>
  60. <blodcomcd/>
  61. <btype/>
  62. <pid/>
  63. <blodno/>
  64. <cnt/>
  65. </send>
  66. <init/>
  67. <hidden>
  68. <ref>
  69. <fromdd/>
  70. <todd/>
  71. <fromtm/>
  72. <totm/>
  73. <pid/>
  74. <patnm/>
  75. <blodcomcd>00</blodcomcd>
  76. <btype>00</btype>
  77. <return/>
  78. <blodno/>
  79. <prcCnt>3</prcCnt>
  80. </ref>
  81. </hidden>
  82. </root>
  83. </instance>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  87. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. fSetInit();
  92. ]]>
  93. </script>
  94. <submission id="TRLBP01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getpiddelivelist"/>
  95. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  96. <bind id="returnCnt" ref="/root/hidden/ref/return" calculate="sum(/root/main/getpiddelivelist/returncnt)" type="xsd:int"/>
  97. </model>
  98. <script type="javascript">
  99. <![CDATA[
  100. // 초기화
  101. function fSetInit() {
  102. fBaseInfoRef("0606|");
  103. //var ttime = getCurrentTime();
  104. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(1);
  105. model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
  106. model.setValue("/root/hidden/ref/todd", mDate.getDateFormat("YYYYMMDD"));
  107. model.setValue("/root/hidden/ref/fromtm", "0800");
  108. model.setValue("/root/hidden/ref/totm", "0759");
  109. model.refresh();
  110. }
  111. // 조회버튼
  112. function fGetPidDelive(cnt){
  113. model.removeNodeset("/root/main/getpiddelivelist");
  114. model.refresh();
  115. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  116. model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
  117. model.setValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
  118. model.setValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
  119. model.setValue("/root/send/blodcomcd", model.getValue("/root/hidden/ref/blodcomcd").getTrim());
  120. model.setValue("/root/send/btype", model.getValue("/root/hidden/ref/btype").getTrim());
  121. model.setValue("/root/send/pid", model.getValue("/root/hidden/ref/pid").getTrim());
  122. model.setValue("/root/send/blodno", model.getValue("/root/hidden/ref/blodno").getTrim());
  123. if(!cnt) cnt = 0;
  124. model.setValue("/root/send/cnt", cnt);
  125. submit("TRLBP01601");
  126. // 환자명 보이기
  127. if(model.getValue("/root/hidden/ref/pid").getTrim() != ""){
  128. if(grd_delive.rows > 1){
  129. grd_delive.row = 1;
  130. model.setValue("/root/hidden/ref/patnm", model.getValue("/root/main/getpiddelivelist["+grd_delive.row+"]/patnm"));
  131. opt_patnm.refresh();
  132. }
  133. }else{
  134. model.setValue("/root/hidden/ref/patnm", "");
  135. opt_patnm.refresh();
  136. }
  137. // 반환 노란색으로
  138. if(grd_delive.rows > 1){
  139. //setRowStyle("grd_delive", "4", "혈액폐기", "blodcomstat", "equal"); // 4 - 하늘색
  140. setRowStyle("grd_delive", "6", "혈액반환", "blodcomstat", "equal"); // 7 - 주황색
  141. setRowStyle("grd_delive", "0", "수혈접수", "blodcomstat", "equal");
  142. setRowStyle("grd_delive", "0", "혈액준비", "blodcomstat", "equal");
  143. setRowStyle("grd_delive", "0", "매칭검사", "blodcomstat", "equal");
  144. setRowStyle("grd_delive", "0", "불출대기", "blodcomstat", "equal");
  145. }
  146. }
  147. //키이벤트 엔터키 입력시
  148. function fKeyEvent(){
  149. if(event.keyCode == "13"){
  150. // 등록번호 바코드 리딩시
  151. if(event.target == "ipt_blodno"){
  152. model.setvalue("/root/hidden/ref/pid", (ipt_blodno.currentText).toUpperCase());
  153. fGetPidDelive();
  154. ipt_blodno.selBegin = 0;
  155. ipt_blodno.selEnd = ipt_blodno.currentText.length;
  156. }
  157. // 혈액번호 바코드 리딩시
  158. if(event.target == "ipt_blodno2"){
  159. model.setvalue("/root/hidden/ref/blodno", (ipt_blodno2.currentText).toUpperCase().substr(0,10));
  160. fGetPidDelive();
  161. ipt_blodno2.selBegin = 0;
  162. ipt_blodno2.selEnd = ipt_blodno2.currentText.length;
  163. }
  164. }
  165. }
  166. //환자코멘트 가져오기
  167. function fGetpatCMT(){
  168. var row = grd_delive.row;
  169. if(model.getValue("/root/main/getpiddelivelist["+ row +"]/patcmt") != ""){
  170. var cmt = model.getValue("/root/main/getpiddelivelist["+ row +"]/patcmt");
  171. /*
  172. var cmts = cmt.split("[");
  173. //var cmt2 = cmt.replace("▦[", "\n[");
  174. var cmt2 = "";
  175. for( i=1; i<cmts.length; i++){
  176. cmt2 += cmts[i].replace("[", "\n [");
  177. }
  178. */
  179. messageBox("* 환자별 코멘트 \n" + cmt, "I");
  180. }
  181. }
  182. ]]>
  183. </script>
  184. </xhtml:head>
  185. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  186. <group id="group4" style="left:0px; top:40px; width:1195px; height:744px; ">
  187. <caption id="caption3" class="tit_2" style="left:5px; top:80px; width:118px; height:13px; ">불출 내역</caption>
  188. <line id="line2" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  189. <group id="group2" style="left:0px; top:10px; width:1195px; height:60px; ">
  190. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1020px; height:60px; "/>
  191. <input id="input1" ref="/root/hidden/ref/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:107px; top:8px; width:100px; height:19px; "/>
  192. <button id="btn_sea" class="btn1_letter2" style="left:950px; top:20px; width:56px; height:22px; ">
  193. <caption>조회</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. fGetPidDelive();
  197. ]]>
  198. </script>
  199. </button>
  200. <caption id="caption9" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">조회일자 :</caption>
  201. <line id="line13" class="line_4" style="x1:935px; y1:10px; x2:935px; y2:52px; "/>
  202. <input id="input2" ref="/root/hidden/ref/todd" class="input_s_essential" inputtype="date" style="left:299px; top:8px; width:100px; height:19px; "/>
  203. <caption id="caption13" class="search_no_b" style="left:275px; top:9px; width:15px; height:17px; ">~</caption>
  204. <input id="ipt_blodno" ref="/root/hidden/ref/pid" class="input_s_button" inputtype="button" style="left:107px; top:35px; width:110px; height:19px; ">
  205. <script type="javascript" ev:event="onbuttonclick">
  206. <![CDATA[
  207. //fBloodHistRef();
  208. if(model.getValue("/root/hidden/ref/pid") == ""){
  209. alert("등록번호를 입력하십시오");
  210. }else{
  211. fGetPidDelive();
  212. }
  213. ]]>
  214. </script>
  215. <script type="javascript" ev:event="onkeypress">
  216. <![CDATA[
  217. fKeyEvent();
  218. ]]>
  219. </script>
  220. </input>
  221. <caption id="caption18" class="search_name" style="left:15px; top:36px; width:89px; height:17px; ">등록번호 :</caption>
  222. <caption id="caption20" class="search_name" style="left:487px; top:11px; width:91px; height:17px; ">혈액성분 :</caption>
  223. <select1 id="combo1" ref="/root/hidden/ref/blodcomcd" appearance="minimal" style="left:579px; top:10px; width:128px; height:19px; ">
  224. <choices>
  225. <itemset nodeset="/root/init/LB0606">
  226. <label ref="nm"/>
  227. <value ref="cd"/>
  228. </itemset>
  229. </choices>
  230. </select1>
  231. <caption id="caption21" class="search_name" style="left:723px; top:11px; width:91px; height:17px; ">혈액형 :</caption>
  232. <select1 id="combo2" ref="/root/hidden/ref/btype" appearance="minimal" style="left:803px; top:10px; width:110px; height:19px; ">
  233. <choices>
  234. <item>
  235. <label>-전체-</label>
  236. <value>00</value>
  237. </item>
  238. <item>
  239. <label>A+</label>
  240. <value>A+</value>
  241. </item>
  242. <item>
  243. <label>B+</label>
  244. <value>B+</value>
  245. </item>
  246. <item>
  247. <label>O+</label>
  248. <value>O+</value>
  249. </item>
  250. <item>
  251. <label>AB+</label>
  252. <value>AB+</value>
  253. </item>
  254. <item>
  255. <label>other</label>
  256. <value>E</value>
  257. </item>
  258. </choices>
  259. </select1>
  260. <caption id="caption22" class="search_name" style="left:723px; top:34px; width:79px; height:17px; ">반환 :</caption>
  261. <output id="out_return" ref="/root/hidden/ref/return" class="output_search" style="left:803px; top:33px; width:115px; height:19px; font-size:12pt; font-weight:bold; color:#cc0000; text-align:right; word-wrap:hard; padding-right:4; "/>
  262. <input id="input6" ref="/root/hidden/ref/totm" format="hh:nn" style="left:402px; top:8px; width:50px; height:19px; text-align:center; "/>
  263. <output id="opt_patnm" ref="/root/hidden/ref/patnm" class="output_search" appearance="output" style="left:220px; top:35px; width:115px; height:19px; "/>
  264. <caption id="caption23" class="search_name" style="left:487px; top:35px; width:91px; height:17px; ">혈액번호 :</caption>
  265. <input id="ipt_blodno2" ref="/root/hidden/ref/blodno" class="input_s_button" inputtype="button" style="left:579px; top:35px; width:90px; height:19px; ">
  266. <script type="javascript" ev:event="onkeypress">
  267. <![CDATA[
  268. fKeyEvent();
  269. ]]>
  270. </script>
  271. <script type="javascript" ev:event="onbuttonclick">
  272. <![CDATA[
  273. if(model.getValue("/root/hidden/ref/blodno") == ""){
  274. alert("혈액번호를 입력하십시오");
  275. }else{
  276. fGetPidDelive();
  277. }
  278. ]]>
  279. </script>
  280. </input>
  281. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:1025px; top:0px; width:170px; height:60px; "/>
  282. <button id="button1" class="btn1_letter2" style="left:1130px; top:30px; width:56px; height:22px; ">
  283. <caption>조회</caption>
  284. <script type="javascript" ev:event="DOMActivate">
  285. <![CDATA[
  286. fGetPidDelive(model.getValue("/root/hidden/ref/prcCnt"));
  287. ]]>
  288. </script>
  289. </button>
  290. <caption id="caption19" class="search_name" style="left:1040px; top:7px; width:115px; height:17px; ">PRC 동시 출고</caption>
  291. <caption id="caption25" style="left:1091px; top:27px; width:31px; height:25px; font-weight:bold; ">이상</caption>
  292. <input id="input3" ref="/root/hidden/ref/fromtm" format="hh:nn" style="left:210px; top:8px; width:50px; height:19px; text-align:center; "/>
  293. <input id="input5" ref="/root/hidden/ref/prcCnt" format="#,###" style="left:1050px; top:30px; width:35px; height:19px; text-align:right; padding-right:4; "/>
  294. </group>
  295. <button id="button51" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
  296. <caption>엑셀</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  300. if(filename != "") {
  301. grd_delive.saveExcel(filename);
  302. }
  303. ]]>
  304. </script>
  305. </button>
  306. <group id="group1" visibility="hidden" style="left:0px; top:612px; width:1195px; height:130px; font-size:12pt; ">
  307. <datagrid id="datagrid2" caption="일자^결과" colsep="^" colwidth="100, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:960px; top:20px; width:235px; height:94px; border-style:solid; ">
  308. <col ref="testdt"/>
  309. <col ref="colldt"/>
  310. </datagrid>
  311. <line id="line8" class="line_3" style="x1:0px; y1:127px; x2:1195px; y2:127px; "/>
  312. <output id="output4" class="output_fix" style="left:455px; top:82px; width:100px; height:19px; "/>
  313. <output id="output5" class="output_fix" style="left:83px; top:106px; width:80px; height:19px; "/>
  314. <output id="output10" class="output_fix" style="left:878px; top:21px; width:80px; height:19px; "/>
  315. <output id="output6" class="output_fix" style="left:259px; top:82px; width:100px; height:19px; "/>
  316. <output id="output11" class="output_fix" style="left:806px; top:45px; width:152px; height:19px; "/>
  317. <output id="output7" class="output_fix" style="left:259px; top:106px; width:100px; height:19px; "/>
  318. <output id="output12" class="output_fix" style="left:806px; top:69px; width:152px; height:19px; "/>
  319. <output id="output8" class="output_fix" style="left:455px; top:106px; width:100px; height:19px; "/>
  320. <output id="output13" class="output_fix" style="left:806px; top:93px; width:152px; height:19px; "/>
  321. <output id="output9" class="output_fix" style="left:806px; top:21px; width:70px; height:19px; "/>
  322. <caption id="caption10" class="cell_1" style="left:362px; top:105px; width:90px; height:23px; vertical-align:middle; ">???</caption>
  323. <output id="output15" class="font_pid" style="left:362px; top:20px; width:193px; height:50px; font-size:26pt; "/>
  324. <caption id="caption11" class="tit_2" style="left:5px; top:0px; width:94px; height:13px; ">불출 정보</caption>
  325. <caption id="caption24" class="font_ab" style="left:560px; top:49px; width:150px; height:36px; font-size:48pt; ">AB</caption>
  326. <caption id="caption4" class="cell_1" style="left:0px; top:105px; width:80px; height:23px; vertical-align:middle; ">환자혈액형</caption>
  327. <caption id="caption17" class="cell_1" style="left:713px; top:92px; width:90px; height:23px; vertical-align:middle; ">Coomb's ID</caption>
  328. <caption id="caption8" class="cell_1" style="left:166px; top:105px; width:90px; height:23px; vertical-align:middle; ">공여자혈액형</caption>
  329. <input id="input4" accesskey="f1" class="input_button" inputtype="button" appearance="input" style="left:559px; top:21px; width:150px; height:19px; "/>
  330. <output id="output2" class="output_fix" style="left:83px; top:82px; width:80px; height:19px; "/>
  331. <line id="line7" class="line_1" style="x1:0px; y1:15px; x2:1195px; y2:15px; "/>
  332. <output id="output1" class="font_pid" style="left:82px; top:20px; width:174px; height:55px; font-size:24pt; "/>
  333. <line id="line3" class="line_2" style="x1:0px; y1:79px; x2:554px; y2:79px; "/>
  334. <line id="line4" class="line_2" style="x1:0px; y1:103px; x2:554px; y2:103px; "/>
  335. <line id="line5" class="line_2" style="x1:559px; y1:42px; x2:958px; y2:42px; "/>
  336. <line id="line6" class="line_2" style="x1:713px; y1:66px; x2:958px; y2:66px; "/>
  337. <line id="line9" class="line_2" style="x1:713px; y1:90px; x2:958px; y2:90px; "/>
  338. <caption id="caption1" class="cell_1" style="left:166px; top:81px; width:90px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  339. <caption id="caption2" class="cell_1" style="left:362px; top:81px; width:90px; height:23px; vertical-align:middle; ">진료과</caption>
  340. <caption id="caption12" class="cell_1" style="left:0px; top:20px; width:80px; height:60px; vertical-align:middle; ">환자번호</caption>
  341. <caption id="caption14" class="cell_1" style="left:713px; top:20px; width:90px; height:23px; vertical-align:middle; ">AST</caption>
  342. <caption id="caption15" class="cell_1" style="left:713px; top:44px; width:90px; height:23px; vertical-align:middle; ">ID</caption>
  343. <caption id="caption6" class="cell_1" style="left:259px; top:20px; width:100px; height:60px; vertical-align:middle; ">환자명</caption>
  344. <caption id="caption16" class="cell_1" style="left:713px; top:68px; width:90px; height:23px; vertical-align:middle; ">Coomb's D</caption>
  345. <caption id="caption7" class="cell_1" style="left:0px; top:81px; width:80px; height:23px; vertical-align:middle; ">Sex / Age</caption>
  346. </group>
  347. <datagrid id="grd_delive" nodeset="/root/main/getpiddelivelist" caption="상태^혈액번호^seq^혈액형^성분제제^Irr^환자명^등록번호^병동/병실^접수자^검사자^불출자^수령자^검사결과^실온 Saline^37˚c ALB/LISS^Coombs^Special^4˚c Saline^Enzyme^불출일자^준비일자^검사일자^유효일자^반환,폐기^반환,폐기일^지정Donor^처방의^Filter^수혈시작시간^수혈부작용^수혈부서^Comment^caption2" colsep="^" colwidth="60, 80, 46, 66, 80, 30, 80, 74, 90, 60, 60, 60, 60, 66, 66, 66, 66, 66, 66, 66, 106, 106, 106, 106, 100, 106, 70, 70, 40, 100, 114, 100, 500, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:100px; width:1194px; height:641px; ">
  348. <col ref="blodcomstat" style="left:20px; top:23px; width:60px; height:23px; "/>
  349. <col ref="blodno"/>
  350. <col ref="prepblodseqno"/>
  351. <col ref="btype"/>
  352. <col ref="blodcomnm"/>
  353. <col ref="iryn" type="output" style="text-align:center; "/>
  354. <col ref="patnm" style="text-align:center; "/>
  355. <col ref="pid"/>
  356. <col ref="wardroom"/>
  357. <col ref="prepid" style="text-align:center; "/>
  358. <col ref="cmid" style="text-align:center; "/>
  359. <col checkvalue="true,false" ref="deliveid" style="text-align:center; "/>
  360. <col ref="acptid" style="text-align:center; "/>
  361. <col disabled="true" ref="rslt" type="combo">
  362. <choices>
  363. <item>
  364. <label>적합</label>
  365. <value>1</value>
  366. </item>
  367. <item>
  368. <label>부적합</label>
  369. <value>2</value>
  370. </item>
  371. <item>
  372. <label>적합(응급)</label>
  373. <value>3</value>
  374. </item>
  375. <item>
  376. <label>준비</label>
  377. <value>4</value>
  378. </item>
  379. <item>
  380. <label>검사중</label>
  381. <value>5</value>
  382. </item>
  383. <item>
  384. <label>보류</label>
  385. <value>6</value>
  386. </item>
  387. <item>
  388. <label>최소적합</label>
  389. <value>7</value>
  390. </item>
  391. </choices>
  392. </col>
  393. <col ref="cmrslt01"/>
  394. <col ref="cmrslt02"/>
  395. <col ref="cmrslt03"/>
  396. <col ref="cmrslt04"/>
  397. <col ref="cmrslt05"/>
  398. <col ref="cmrslt06"/>
  399. <col ref="delivedt" format="yyyy-mm-dd hh:nn"/>
  400. <col ref="prepdt" format="yyyy-mm-dd hh:nn"/>
  401. <col ref="testdt" format="yyyy-mm-dd hh:nn"/>
  402. <col ref="validt" format="yyyy-mm-dd hh:nn"/>
  403. <col ref="rtnabn"/>
  404. <col ref="rtnabndt" format="yyyy-mm-dd hh:nn"/>
  405. <col ref="dnornm" style="text-align:center; "/>
  406. <col ref="orddrnm" style="text-align:center; "/>
  407. <col ref="filteryn" style="text-align:center; "/>
  408. <col ref="tnsstrddtm" format="yyyy-mm-dd hh:nn"/>
  409. <col ref="tnssideeffect"/>
  410. <col ref="dept"/>
  411. <col ref="cmt"/>
  412. <col/>
  413. <script type="javascript" ev:event="onclick">
  414. <![CDATA[
  415. if(grd_delive.isCell(event.target) && grd_delive.row >= grd_delive.fixedRows){
  416. //환자별 코멘트 가져오기
  417. fGetpatCMT();
  418. }
  419. ]]>
  420. </script>
  421. <script type="javascript" ev:event="onaftersort">
  422. <![CDATA[
  423. grd_delive.gridToInstance();
  424. ]]>
  425. </script>
  426. </datagrid>
  427. <button id="button2" class="btn2_letter4" style="left:1085px; top:74px; width:64px; height:19px; ">
  428. <caption>BISS출고</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. modal("SMLBP02900 ","","","","","","");
  432. ]]>
  433. </script>
  434. </button>
  435. </group>
  436. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  437. <caption id="caption5" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">환자별 불출 내역 조회</caption>
  438. </group>
  439. <group id="group3" style="left:0px; top:13px; width:1195px; height:27px; ">
  440. <button id="btn_cle" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  441. <caption>초기화</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. fSetInit();
  445. ]]>
  446. </script>
  447. </button>
  448. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  449. <button id="button46" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
  450. <caption>출력</caption>
  451. <script type="javascript" ev:event="DOMActivate">
  452. <![CDATA[
  453. var filename = window.fileDialog("save",",",false,"excel","xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  454. if(filename != "") {
  455. grd_delive.saveExcel(filename);
  456. }
  457. window.exec(filename);
  458. ]]>
  459. </script>
  460. </button>
  461. <button id="button42" class="btn4_letter2" visibility="hidden" style="left:1008px; top:3px; width:56px; height:22px; ">
  462. <caption>저장</caption>
  463. </button>
  464. </group>
  465. </xhtml:body>
  466. </xhtml:html>