SMLBP01100_특수혈액조회.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 특수혈액조회.xrw
  4. * 설 명 : 특수혈액조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.07.24
  8. * 수정이력 :
  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. <prest>
  20. <blodbankprcplist>
  21. <stat/>
  22. <prcpdt/>
  23. <pid/>
  24. <patnm/>
  25. <orddeptnm/>
  26. <room/>
  27. <prcp/>
  28. <btype/>
  29. <recttnsbtype/>
  30. <pltrslt/>
  31. <cnfm/>
  32. <qty/>
  33. <spcyn/>
  34. <rsrvdt/>
  35. <acpt/>
  36. <er/>
  37. <reqyn/>
  38. <blodcomcd/>
  39. </blodbankprcplist>
  40. <sdpprest>
  41. <a/>
  42. <b/>
  43. <o/>
  44. <ab/>
  45. </sdpprest>
  46. <pcprest>
  47. <a/>
  48. <b/>
  49. <o/>
  50. <ab/>
  51. </pcprest>
  52. </prest>
  53. <app>
  54. <appcnt>
  55. <sdpa/>
  56. <sdpb/>
  57. <sdpo/>
  58. <sdpab/>
  59. <pca/>
  60. <pcb/>
  61. <pco/>
  62. <pcab/>
  63. </appcnt>
  64. <hopecnt>
  65. <sdpa/>
  66. <sdpb/>
  67. <sdpo/>
  68. <sdpab/>
  69. <pca/>
  70. <pcb/>
  71. <pco/>
  72. <pcab/>
  73. </hopecnt>
  74. <sdpapp>
  75. <a/>
  76. <b/>
  77. <o/>
  78. <ab/>
  79. </sdpapp>
  80. <pcapp>
  81. <a/>
  82. <b/>
  83. <o/>
  84. <ab/>
  85. </pcapp>
  86. </app>
  87. </main>
  88. <send>
  89. <rsrvfromdd/>
  90. <rsrvtodd/>
  91. <rsrvfromtm/>
  92. <rsrvtotm/>
  93. <blodkind/>
  94. <pid/>
  95. <codeflag/>
  96. <grddata/>
  97. <refflag/>
  98. <prcpdd/>
  99. <blodcomcd/>
  100. <reqyn/>
  101. <abogbn/>
  102. <aborh/>
  103. </send>
  104. <init>
  105. <cmtrslt>-</cmtrslt>
  106. </init>
  107. <hidden>
  108. <rsrvfromdd/>
  109. <rsrvtodd/>
  110. <rsrvfromtm>0000</rsrvfromtm>
  111. <rsrvtotm>2359</rsrvtotm>
  112. <blodkind/>
  113. <pid/>
  114. <abogbn/>
  115. <aborh/>
  116. </hidden>
  117. </root>
  118. </instance>
  119. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  120. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  121. <script type="javascript" ev:event="xforms-ready">
  122. <![CDATA[
  123. fSetInit();
  124. //초기정보
  125. /* var toDay = getCurrentDate();
  126. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
  127. model.setValue("/root/hidden/rsrvfromdd", mDate.getDateFormat("YYYYMMDD"));
  128. model.setValue("/root/hidden/rsrvtodd", toDay);
  129. ipt_rsrvfromdd.refresh();
  130. ipt_rsrvtodd.refresh();
  131. //혈액종류
  132. model.setValue("/root/send/codeflag", "blodkind");
  133. submit("TRLBP01101");
  134. */
  135. ]]>
  136. </script>
  137. <submission id="TRLBP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/blodkind"/>
  138. <submission id="TRLBP01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/prest"/>
  139. <submission id="TXLBP01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  140. <submission id="TRLBP01103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/app"/>
  141. <submission id="TXLBP01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  142. </model>
  143. <script type="javascript">
  144. <![CDATA[
  145. //초기화
  146. function fSetInit() {
  147. //초기정보
  148. var toDay = getCurrentDate();
  149. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-5);
  150. model.setValue("/root/hidden/rsrvfromdd", mDate.getDateFormat("YYYYMMDD"));
  151. model.setValue("/root/hidden/rsrvtodd", toDay);
  152. ipt_rsrvfromdd.refresh();
  153. ipt_rsrvtodd.refresh();
  154. //혈액종류
  155. model.setValue("/root/send/codeflag", "blodkind");
  156. submit("TRLBP01101");
  157. model.setValue("/root/hidden/blodkind", "00");
  158. model.setValue("/root/hidden/abogbn", "1");
  159. model.setValue("/root/hidden/aborh", "1");
  160. //model.setValue("/root/send/codeflag", "0605|"); //성분제제 blodbarcd
  161. //submit("TRLZZ00101");
  162. //model.reset();
  163. model.refresh();
  164. }
  165. //조회
  166. function fGetBlodBankPrcpList(flag) {
  167. var fromdd = model.getValue("/root/hidden/rsrvfromdd");
  168. var todd = model.getValue("/root/hidden/rsrvtodd");
  169. model.setValue("/root/send/rsrvfromdd", fromdd);
  170. model.setValue("/root/send/rsrvtodd", todd);
  171. model.setValue("/root/send/blodkind", model.getValue("/root/hidden/blodkind"));
  172. model.setValue("/root/send/pid", model.getValue("/root/hidden/pid"));
  173. model.setValue("/root/send/refflag", flag); // 예약조회=1 조회=0
  174. model.setValue("/root/send/abogbn", model.getValue("/root/hidden/abogbn")); // 1=환자혈액형 2= 최근수혈혈액형
  175. model.setValue("/root/send/aborh", model.getValue("/root/hidden/aborh")); // 1=전체 A=A+ B=B+ O=O+ AB=AB+ E=기타
  176. if(submit("TRLBP01102")) {
  177. fSetRectTnsBtype();
  178. //신청수량
  179. fGetAppCnt();
  180. fSetAppCntEdit();
  181. }
  182. }
  183. //신청수량
  184. function fGetAppCnt(){
  185. var fromdd = model.getValue("/root/hidden/rsrvfromdd");
  186. var todd = model.getValue("/root/hidden/rsrvtodd");
  187. model.setValue("/root/send/rsrvfromdd", fromdd);
  188. model.setValue("/root/send/rsrvtodd", todd);
  189. submit("TRLBP01103");
  190. model.refresh();
  191. }
  192. // 신청예정 수량에서 재고빼기
  193. function fSetAppCntEdit(){
  194. if(model.getValue("/root/main/app/hopecnt/sdpa") > 0){
  195. if(parseInt(model.getValue("/root/main/app/hopecnt/sdpa")) - parseInt(model.getValue("/root/main/prest/sdpprest/a")) > 0){
  196. model.setValue("/root/main/app/hopecnt/sdpa", parseInt(model.getValue("/root/main/app/hopecnt/sdpa")) - parseInt(model.getValue("/root/main/prest/sdpprest/a")));
  197. }else{
  198. model.setValue("/root/main/app/hopecnt/sdpa", 0);
  199. }
  200. }
  201. if(model.getValue("/root/main/app/hopecnt/sdpb") > 0){
  202. if( parseInt(model.getValue("/root/main/app/hopecnt/sdpb")) - parseInt(model.getValue("/root/main/prest/sdpprest/b")) > 0){
  203. model.setValue("/root/main/app/hopecnt/sdpb", parseInt(model.getValue("/root/main/app/hopecnt/sdpb")) - parseInt(model.getValue("/root/main/prest/sdpprest/b")));
  204. }else{
  205. model.setValue("/root/main/app/hopecnt/sdpb", 0);
  206. }
  207. }
  208. if(model.getValue("/root/main/app/hopecnt/sdpo") > 0){
  209. if(parseInt(model.getValue("/root/main/app/hopecnt/sdpo")) - parseInt(model.getValue("/root/main/prest/sdpprest/o")) > 0) {
  210. model.setValue("/root/main/app/hopecnt/sdpo", parseInt(model.getValue("/root/main/app/hopecnt/sdpo")) - parseInt(model.getValue("/root/main/prest/sdpprest/o")));
  211. }else{
  212. model.setValue("/root/main/app/hopecnt/sdpo", 0);
  213. }
  214. }
  215. if(model.getValue("/root/main/app/hopecnt/sdpab") > 0){
  216. if(parseInt(model.getValue("/root/main/app/hopecnt/sdpab")) - parseInt(model.getValue("/root/main/prest/sdpprest/ab")) > 0){
  217. model.setValue("/root/main/app/hopecnt/sdpab", parseInt(model.getValue("/root/main/app/hopecnt/sdpab")) - parseInt(model.getValue("/root/main/prest/sdpprest/ab")));
  218. }else{
  219. model.setValue("/root/main/app/hopecnt/sdpab", 0);
  220. }
  221. }
  222. if(model.getValue("/root/main/app/hopecnt/pca") > 0){
  223. if(parseInt(model.getValue("/root/main/app/hopecnt/pca")) - parseInt(model.getValue("/root/main/prest/pcprest/a")) > 0){
  224. model.setValue("/root/main/app/hopecnt/pca", parseInt(model.getValue("/root/main/app/hopecnt/pca")) - parseInt(model.getValue("/root/main/prest/pcprest/a")));
  225. }else{
  226. model.setValue("/root/main/app/hopecnt/pca", 0);
  227. }
  228. }
  229. if(model.getValue("/root/main/app/hopecnt/pcb") > 0){
  230. if(parseInt(model.getValue("/root/main/app/hopecnt/pcb")) - parseInt(model.getValue("/root/main/prest/pcprest/b")) > 0){
  231. model.setValue("/root/main/app/hopecnt/pcb", parseInt(model.getValue("/root/main/app/hopecnt/pcb")) - parseInt(model.getValue("/root/main/prest/pcprest/b")));
  232. }else{
  233. model.setValue("/root/main/app/hopecnt/pcb", 0);
  234. }
  235. }
  236. if(model.getValue("/root/main/app/hopecnt/pco") > 0){
  237. if(parseInt(model.getValue("/root/main/app/hopecnt/pco")) - parseInt(model.getValue("/root/main/prest/pcprest/o")) >0 ){
  238. model.setValue("/root/main/app/hopecnt/pco", parseInt(model.getValue("/root/main/app/hopecnt/pco")) - parseInt(model.getValue("/root/main/prest/pcprest/o")));
  239. }else{
  240. model.setValue("/root/main/app/hopecnt/pco", 0);
  241. }
  242. }
  243. if(model.getValue("/root/main/app/hopecnt/pcab") > 0){
  244. if(parseInt(model.getValue("/root/main/app/hopecnt/pcab")) - parseInt(model.getValue("/root/main/prest/pcprest/ab")) >0 ){
  245. model.setValue("/root/main/app/hopecnt/pcab", parseInt(model.getValue("/root/main/app/hopecnt/pcab")) - parseInt(model.getValue("/root/main/prest/pcprest/ab")));
  246. }else{
  247. model.setValue("/root/main/app/hopecnt/pcab", 0);
  248. }
  249. }
  250. if(model.getValue("/root/main/app/appcnt/sdpa") > 0){
  251. if(parseInt(model.getValue("/root/main/app/appcnt/sdpa")) - parseInt(model.getValue("/root/main/prest/sdpprest/a")) >0){
  252. model.setValue("/root/main/app/appcnt/sdpa", parseInt(model.getValue("/root/main/app/appcnt/sdpa")) - parseInt(model.getValue("/root/main/prest/sdpprest/a")));
  253. }else{
  254. model.setValue("/root/main/app/appcnt/sdpa", 0);
  255. }
  256. }
  257. if(model.getValue("/root/main/app/appcnt/sdpb") > 0){
  258. if(parseInt(model.getValue("/root/main/app/appcnt/sdpb")) - parseInt(model.getValue("/root/main/prest/sdpprest/b")) >0 ){
  259. model.setValue("/root/main/app/appcnt/sdpb", parseInt(model.getValue("/root/main/app/appcnt/sdpb")) - parseInt(model.getValue("/root/main/prest/sdpprest/b")));
  260. }else{
  261. model.setValue("/root/main/app/appcnt/sdpb", 0);
  262. }
  263. }
  264. if(model.getValue("/root/main/app/appcnt/sdpo") > 0){
  265. if(parseInt(model.getValue("/root/main/app/appcnt/sdpo")) - parseInt(model.getValue("/root/main/prest/sdpprest/o")) >0){
  266. model.setValue("/root/main/app/appcnt/sdpo", parseInt(model.getValue("/root/main/app/appcnt/sdpo")) - parseInt(model.getValue("/root/main/prest/sdpprest/o")));
  267. }else{
  268. model.setValue("/root/main/app/appcnt/sdpo", 0);
  269. }
  270. }
  271. if(model.getValue("/root/main/app/appcnt/sdpab") > 0){
  272. if(parseInt(model.getValue("/root/main/app/appcnt/sdpab")) - parseInt(model.getValue("/root/main/prest/sdpprest/ab")) >0){
  273. model.setValue("/root/main/app/appcnt/sdpab", parseInt(model.getValue("/root/main/app/appcnt/sdpab")) - parseInt(model.getValue("/root/main/prest/sdpprest/ab")));
  274. }else{
  275. model.setValue("/root/main/app/appcnt/sdpab", 0);
  276. }
  277. }
  278. if(model.getValue("/root/main/app/appcnt/pca") > 0){
  279. if(parseInt(model.getValue("/root/main/app/appcnt/pca")) - parseInt(model.getValue("/root/main/prest/pcprest/a")) >0){
  280. model.setValue("/root/main/app/appcnt/pca", parseInt(model.getValue("/root/main/app/appcnt/pca")) - parseInt(model.getValue("/root/main/prest/pcprest/a")));
  281. }else{
  282. model.setValue("/root/main/app/appcnt/pca", 0);
  283. }
  284. }
  285. if(model.getValue("/root/main/app/appcnt/pcb") > 0){
  286. if(parseInt(model.getValue("/root/main/app/appcnt/pcb")) - parseInt(model.getValue("/root/main/prest/pcprest/b")) >0){
  287. model.setValue("/root/main/app/appcnt/pcb", parseInt(model.getValue("/root/main/app/appcnt/pcb")) - parseInt(model.getValue("/root/main/prest/pcprest/b")));
  288. }else{
  289. model.setValue("/root/main/app/appcnt/pcb", 0);
  290. }
  291. }
  292. if(model.getValue("/root/main/app/appcnt/pco") > 0){
  293. if(parseInt(model.getValue("/root/main/app/appcnt/pco")) - parseInt(model.getValue("/root/main/prest/pcprest/o")) >0 ){
  294. model.setValue("/root/main/app/appcnt/pco", parseInt(model.getValue("/root/main/app/appcnt/pco")) - parseInt(model.getValue("/root/main/prest/pcprest/o")));
  295. }else{
  296. model.setValue("/root/main/app/appcnt/pco", 0);
  297. }
  298. }
  299. if(model.getValue("/root/main/app/appcnt/pcab") > 0){
  300. if(parseInt(model.getValue("/root/main/app/appcnt/pcab")) - parseInt(model.getValue("/root/main/prest/pcprest/ab"))>0){
  301. model.setValue("/root/main/app/appcnt/pcab", parseInt(model.getValue("/root/main/app/appcnt/pcab")) - parseInt(model.getValue("/root/main/prest/pcprest/ab")));
  302. }else{
  303. model.setValue("/root/main/app/appcnt/pcab", 0);
  304. }
  305. }
  306. model.refresh();
  307. }
  308. //예약조회
  309. function fRsrvRef() {
  310. fGetBlodBankPrcpList("1");
  311. }
  312. //최근수혈 혈액형
  313. function fSetRectTnsBtype() {
  314. for(i = 1; i < grd_BlodBankPrcpList.rows; i++) {
  315. if(model.getValue("/root/main/prest/blodbankprcplist["+ i +"]/btype") != model.getValue("/root/main/prest/blodbankprcplist["+ i +"]/recttnsbtype")) {
  316. grd_BlodBankPrcpList.cellStyle("color", i, 9) = "#ff0000";
  317. }
  318. }
  319. }
  320. //저장
  321. function fSetSpclBlod() {
  322. model.setValue("/root/send/grddata", grd_BlodBankPrcpList.getUpdateData());
  323. //alert(grd_BlodBankPrcpList.getUpdateData());
  324. submit("TXLBP01101");
  325. }
  326. //키이벤트 엔터키 입력시
  327. function fKeyEvent(){
  328. if(event.keyCode == "13"){
  329. // 검사자 바코드 리딩시
  330. if(event.target == "ipt_pid"){
  331. model.setvalue("/root/hidden/pid", (ipt_pid.currentText).substr(0,10));
  332. fGetBlodBankPrcpList("0");
  333. ipt_pid.selBegin = 0;
  334. ipt_pid.selEnd = ipt_pid.currentText.length;
  335. }
  336. }
  337. }
  338. // 특수혈액 신청여부 체크
  339. function fSetSpclBloodReqYN(){
  340. model.setValue("/root/send/pid", model.getValue("/root/main/prest/blodbankprcplist["+grd_BlodBankPrcpList.row+"]/pid"));
  341. model.setValue("/root/send/prcpdd", model.getValue("/root/main/prest/blodbankprcplist["+grd_BlodBankPrcpList.row+"]/prcpdt"));
  342. model.setValue("/root/send/blodcomcd", model.getValue("/root/main/prest/blodbankprcplist["+grd_BlodBankPrcpList.row+"]/blodcomcd"));
  343. model.setValue("/root/send/reqyn", model.getValue("/root/main/prest/blodbankprcplist["+grd_BlodBankPrcpList.row+"]/reqyn"));
  344. if(submit("TXLBP01102")){
  345. fGetBlodBankPrcpList("0");
  346. }
  347. }
  348. function fExeExcel(pGridId) {
  349. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  350. if (fileName != "") {
  351. pGridId.saveExcel(fileName);
  352. }
  353. }
  354. function fReportPrint(){
  355. exeReportPreview("RPLBP01100", "XMLSTR", "");
  356. //exeReportPreview("RPLNP00600", "XMLSTR", "", "");
  357. }
  358. ]]>
  359. </script>
  360. </xhtml:head>
  361. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  362. <group id="group4" style="left:0px; top:40px; width:1195px; height:744px; ">
  363. <caption id="caption11" class="tit_2" style="left:5px; top:55px; width:139px; height:14px; ">LRSDP 신청완료</caption>
  364. <line id="line7" class="line_1" style="x1:0px; y1:70px; x2:595px; y2:70px; "/>
  365. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; ">
  366. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195px; height:35px; "/>
  367. <button id="btn_sea" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; ">
  368. <caption>조회</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. fGetBlodBankPrcpList("0");
  372. ]]>
  373. </script>
  374. </button>
  375. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">예약일시 :</caption>
  376. <caption id="caption6" class="search_name" style="left:593px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
  377. <caption id="caption8" class="search_name" style="left:390px; top:9px; width:86px; height:17px; ">혈액종류 :</caption>
  378. <line id="line2" class="line_4" style="x1:1026px; y1:6px; x2:1026px; y2:28px; "/>
  379. <caption id="caption4" class="search_no_b" style="left:227px; top:9px; width:15px; height:17px; ">~</caption>
  380. <input id="ipt_rsrvfromdd" ref="/root/hidden/rsrvfromdd" class="input_search" inputtype="date" style="left:106px; top:8px; width:85px; height:19px; "/>
  381. <input id="ipt_rsrvfromtm" ref="/root/hidden/rsrvfromtm" class="input_search" format="hh:nn" style="left:189px; top:8px; width:35px; height:19px; "/>
  382. <input id="ipt_rsrvtodd" ref="/root/hidden/rsrvtodd" class="input_search" inputtype="date" style="left:242px; top:8px; width:85px; height:19px; "/>
  383. <input id="ipt_rsrvtotm" ref="/root/hidden/rsrvtotm" class="input_search" format="hh:nn" style="left:325px; top:8px; width:35px; height:19px; "/>
  384. <select1 id="cmb_blodkind" ref="/root/hidden/blodkind" class="combo_search" appearance="minimal" style="left:482px; top:8px; width:80px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/hidden/blodkind">
  387. <label ref="nm"/>
  388. <value ref="etc02"/>
  389. </itemset>
  390. </choices>
  391. </select1>
  392. <input id="ipt_pid" ref="/root/hidden/pid" class="input_search" style="left:684px; top:8px; width:80px; height:19px; ">
  393. <script type="javascript" ev:event="onkeypress">
  394. <![CDATA[
  395. fKeyEvent();
  396. ]]>
  397. </script>
  398. </input>
  399. <button id="button1" class="btn1_letter4" style="left:1041px; top:7px; width:80px; height:22px; ">
  400. <caption>예약조회</caption>
  401. <script type="javascript" ev:event="DOMActivate">
  402. <![CDATA[
  403. fRsrvRef();
  404. ]]>
  405. </script>
  406. </button>
  407. <select1 id="combo1" ref="/root/hidden/aborh" class="combo_search" appearance="minimal" style="left:942px; top:8px; width:70px; height:19px; ">
  408. <choices>
  409. <item>
  410. <label>-전체-</label>
  411. <value>1</value>
  412. </item>
  413. <item>
  414. <label>A+</label>
  415. <value>A+</value>
  416. </item>
  417. <item>
  418. <label>B+</label>
  419. <value>B+</value>
  420. </item>
  421. <item>
  422. <label>O+</label>
  423. <value>O+</value>
  424. </item>
  425. <item>
  426. <label>AB+</label>
  427. <value>AB+</value>
  428. </item>
  429. <item>
  430. <label>기타</label>
  431. <value>E</value>
  432. </item>
  433. </choices>
  434. </select1>
  435. <caption id="caption37" class="search_name" style="left:795px; top:9px; width:86px; height:17px; ">혈액종류 :</caption>
  436. <select1 id="combo2" ref="/root/hidden/abogbn" class="combo_search" appearance="minimal" style="left:888px; top:8px; width:55px; height:19px; ">
  437. <choices>
  438. <item>
  439. <label>환자</label>
  440. <value>1</value>
  441. </item>
  442. <item>
  443. <label>최근</label>
  444. <value>2</value>
  445. </item>
  446. </choices>
  447. </select1>
  448. </group>
  449. <caption id="caption1" class="tit_2" style="left:605px; top:55px; width:139px; height:14px; ">PC 신청완료</caption>
  450. <line id="line3" class="line_1" style="x1:600px; y1:70px; x2:1195px; y2:70px; "/>
  451. <caption id="caption3" class="tit_2" style="left:605px; top:107px; width:139px; height:13px; ">PC 현재고</caption>
  452. <caption id="caption7" class="tit_2" style="left:5px; top:107px; width:139px; height:13px; ">LRSDP 현재고</caption>
  453. <line id="line4" class="line_1" style="x1:600px; y1:122px; x2:1195px; y2:122px; "/>
  454. <line id="line5" class="line_1" style="x1:0px; y1:122px; x2:595px; y2:122px; "/>
  455. <caption id="caption18" class="cell_1" style="left:0px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  456. <caption id="caption9" class="cell_1" style="left:150px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  457. <caption id="caption10" class="cell_1" style="left:300px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  458. <caption id="caption12" class="cell_1" style="left:450px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  459. <line id="line10" class="line_3" style="x1:0px; y1:97px; x2:595px; y2:97px; "/>
  460. <caption id="caption13" class="cell_1" style="left:900px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  461. <caption id="caption14" class="cell_1" style="left:1050px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  462. <caption id="caption15" class="cell_1" style="left:600px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  463. <caption id="caption16" class="cell_1" style="left:750px; top:75px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  464. <output id="output9" ref="/root/main/prest/sdpprest/a" class="output_fix" style="left:67px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  465. <output id="output10" ref="/root/main/prest/sdpprest/b" class="output_fix" style="left:217px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  466. <output id="output11" ref="/root/main/prest/sdpprest/o" class="output_fix" style="left:367px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  467. <output id="output12" ref="/root/main/prest/sdpprest/ab" class="output_fix" style="left:517px; top:128px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  468. <caption id="caption17" class="cell_1" style="left:300px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  469. <caption id="caption19" class="cell_1" style="left:450px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  470. <caption id="caption20" class="cell_1" style="left:0px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  471. <caption id="caption21" class="cell_1" style="left:150px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  472. <output id="output13" ref="/root/main/prest/pcprest/b" class="output_fix" style="left:817px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  473. <output id="output14" ref="/root/main/prest/pcprest/o" class="output_fix" style="left:967px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  474. <output id="output15" ref="/root/main/prest/pcprest/ab" class="output_fix" style="left:1117px; top:128px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  475. <caption id="caption22" class="cell_1" style="left:600px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  476. <output id="output16" ref="/root/main/prest/pcprest/a" class="output_fix" style="left:667px; top:128px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  477. <caption id="caption23" class="cell_1" style="left:750px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  478. <caption id="caption24" class="cell_1" style="left:900px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  479. <caption id="caption25" class="cell_1" style="left:1050px; top:127px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  480. <line id="line6" class="line_3" style="x1:0px; y1:149px; x2:595px; y2:149px; "/>
  481. <line id="line8" class="line_3" style="x1:600px; y1:97px; x2:1195px; y2:97px; "/>
  482. <line id="line9" class="line_3" style="x1:600px; y1:149px; x2:1195px; y2:149px; "/>
  483. <caption id="caption26" class="tit_2" style="left:5px; top:212px; width:139px; height:13px; ">혈액은행 처방목록</caption>
  484. <line id="line11" class="line_1" style="x1:0px; y1:227px; x2:1195px; y2:227px; "/>
  485. <datagrid id="grd_BlodBankPrcpList" nodeset="/root/main/prest/blodbankprcplist" caption="상태^처방일시^등록번호^환자명^진료과^병실^처방^B Type^최근수혈 혈액형^PLT^확인^수량^Irr^filter^보관검체^예약일시^접수^응급^신청^blodcomcd" colsep="^" colwidth="52, 80, 64, 62, 54, 86, 110, 90, 100, 70, 0, 43, 40, 40, 60, 121, 40, 40, 40, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooptip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:232px; width:1194px; height:408px; text-align:center; ">
  486. <col ref="stat" visibility="hidden" style="font-weight:bold; text-align:center; "/>
  487. <col ref="prcpdt" format="yyyy-mm-dd" style="font-weight:bold; text-align:center; "/>
  488. <col ref="pid" style="font-weight:bold; "/>
  489. <col ref="patnm" style="font-weight:bold; "/>
  490. <col ref="orddeptnm" style="font-weight:bold; "/>
  491. <col ref="room" style="font-weight:bold; "/>
  492. <col ref="prcp" style="font-weight:bold; text-align:left; "/>
  493. <col ref="btype" style="font-weight:bold; "/>
  494. <col ref="recttnsbtype" style="font-weight:bold; "/>
  495. <col ref="pltrslt" style="font-weight:bold; "/>
  496. <col checkvalue="true,false" ref="cnfm" type="checkbox"/>
  497. <col ref="qty" style="font-weight:bold; text-align:center; "/>
  498. <col ref="iryn" style="font-weight:bold; color:#ff0000; text-align:center; "/>
  499. <col ref="filteryn" style="font-weight:bold; color:#800080; text-align:center; "/>
  500. <col ref="spcyn" visibility="hidden" style="font-weight:bold; text-align:center; "/>
  501. <col ref="rsrvdt" visibility="hidden" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  502. <col checkvalue="true,false" disabled="true" ref="acpt" type="checkbox" visibility="hidden"/>
  503. <col checkvalue="true,false" disabled="true" ref="er" type="checkbox" visibility="hidden"/>
  504. <col checkvalue="Y,N" ref="reqyn" type="checkbox"/>
  505. <col ref="blodcomcd"/>
  506. <script type="javascript" ev:event="onaftersort">
  507. <![CDATA[
  508. grd_BlodBankPrcpList.gridToInstance();
  509. ]]>
  510. </script>
  511. <script type="javascript" ev:event="xforms-value-changed">
  512. <![CDATA[
  513. //alert("change= " + grd_BlodBankPrcpList.col);
  514. if(grd_BlodBankPrcpList.col == "19"){
  515. fSetSpclBloodReqYN();
  516. }
  517. ]]>
  518. </script>
  519. </datagrid>
  520. <output id="opt_spca" ref="/root/main/app/appcnt/sdpa" class="output_fix" style="left:67px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  521. <output id="opt_sdpb" ref="/root/main/app/appcnt/sdpb" class="output_fix" style="left:217px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  522. <output id="opt_sdpo" ref="/root/main/app/appcnt/sdpo" class="output_fix" style="left:367px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  523. <output id="opt_sdpab" ref="/root/main/app/appcnt/sdpab" class="output_fix" style="left:517px; top:76px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  524. <output id="opt_pca" ref="/root/main/app/appcnt/pca" class="output_fix" style="left:667px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  525. <output id="opt_pcb" ref="/root/main/app/appcnt/pcb" class="output_fix" style="left:817px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  526. <output id="opt_pco" ref="/root/main/app/appcnt/pco" class="output_fix" style="left:967px; top:76px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  527. <output id="opt_pcab" ref="/root/main/app/appcnt/pcab" class="output_fix" style="left:1117px; top:76px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  528. <output id="output1" ref="/root/main/app/hopecnt/sdpb" class="output_fix" style="left:217px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  529. <output id="output2" ref="/root/main/app/hopecnt/sdpo" class="output_fix" style="left:367px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  530. <output id="output3" ref="/root/main/app/hopecnt/sdpab" class="output_fix" style="left:517px; top:180px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  531. <output id="output4" ref="/root/main/app/hopecnt/sdpa" class="output_fix" style="left:67px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  532. <caption id="caption27" class="cell_1" style="left:0px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  533. <caption id="caption28" class="cell_1" style="left:150px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  534. <caption id="caption29" class="tit_2" style="left:5px; top:159px; width:139px; height:14px; ">LRSDP 신청예정</caption>
  535. <caption id="caption30" class="cell_1" style="left:300px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  536. <line id="line12" class="line_1" style="x1:0px; y1:174px; x2:595px; y2:174px; "/>
  537. <caption id="caption31" class="cell_1" style="left:450px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  538. <line id="line13" class="line_3" style="x1:0px; y1:201px; x2:595px; y2:201px; "/>
  539. <output id="output5" ref="/root/main/app/hopecnt/pcb" class="output_fix" style="left:817px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  540. <output id="output6" ref="/root/main/app/hopecnt/pco" class="output_fix" style="left:967px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  541. <caption id="caption32" class="cell_1" style="left:600px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">A</caption>
  542. <output id="output7" ref="/root/main/app/hopecnt/pcab" class="output_fix" style="left:1117px; top:180px; width:78px; height:19px; font-weight:bold; text-align:center; "/>
  543. <caption id="caption33" class="cell_1" style="left:750px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">B</caption>
  544. <output id="output8" ref="/root/main/app/hopecnt/pca" class="output_fix" style="left:667px; top:180px; width:80px; height:19px; font-weight:bold; text-align:center; "/>
  545. <caption id="caption34" class="tit_2" style="left:605px; top:159px; width:139px; height:14px; ">PC 신청예정</caption>
  546. <caption id="caption35" class="cell_1" style="left:900px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">O</caption>
  547. <caption id="caption36" class="cell_1" style="left:1050px; top:179px; width:64px; height:23px; font-weight:bold; text-align:center; vertical-align:middle; ">AB</caption>
  548. <line id="line15" class="line_1" style="x1:600px; y1:174px; x2:1195px; y2:174px; "/>
  549. <line id="line14" class="line_3" style="x1:600px; y1:201px; x2:1195px; y2:201px; "/>
  550. <button id="btn_excel" class="btn2_letter2" style="left:1150px; top:205px; width:42px; height:19px; ">
  551. <caption>엑셀</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. fExeExcel(grd_BlodBankPrcpList);
  555. ]]>
  556. </script>
  557. </button>
  558. <textarea id="textarea1" ref="/root/init/cmtrslt" style="left:0px; top:667px; width:1194px; height:75px; "/>
  559. <caption id="caption38" class="tit_2" style="left:0px; top:647px; width:139px; height:14px; ">Comment</caption>
  560. <line id="line16" class="line_1" style="x1:0px; y1:662px; x2:1195px; y2:662px; "/>
  561. </group>
  562. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  563. <caption id="caption5" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">특수혈액조회</caption>
  564. </group>
  565. <group id="group3" style="left:0px; top:13px; width:1195px; height:27px; ">
  566. <button id="btn_cle" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  567. <caption>초기화</caption>
  568. <script type="javascript" ev:event="DOMActivate">
  569. <![CDATA[
  570. fSetInit() ;
  571. ]]>
  572. </script>
  573. </button>
  574. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  575. <button id="button42" class="btn4_letter2" visibility="hidden" style="left:1068px; top:3px; width:56px; height:22px; ">
  576. <caption>저장</caption>
  577. <script type="javascript" ev:event="DOMActivate">
  578. <![CDATA[
  579. //fSetSpclBlod();
  580. ]]>
  581. </script>
  582. </button>
  583. <button id="btn_Prnt" class="btn6_letter2" style="left:0px; top:3px; width:96px; height:22px; ">
  584. <caption>출력</caption>
  585. <script type="javascript" ev:event="DOMActivate">
  586. <![CDATA[
  587. fReportPrint();
  588. ]]>
  589. </script>
  590. </button>
  591. </group>
  592. </xhtml:body>
  593. </xhtml:html>