SMLBP01200_혈액이력조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 혈액재고조회.xrw.xrw
  4. * 설 명 : 혈액재고조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.06.20
  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. <blodinfo>
  20. <bloodinfo>
  21. <blodkind/>
  22. <blodbasevol/>
  23. <newElement/>
  24. <dondt/>
  25. <aborh/>
  26. </bloodinfo>
  27. <blodcomlist>
  28. <blodcomnm/>
  29. <windt/>
  30. <validt/>
  31. <blodcomcd/>
  32. <blodbarcd/>
  33. <blodno/>
  34. </blodcomlist>
  35. </blodinfo>
  36. <blodhist>
  37. <doninfo>
  38. <rrgstno/>
  39. <patnm/>
  40. <sexage/>
  41. </doninfo>
  42. <tnsinfo>
  43. <patnm/>
  44. <sexage/>
  45. <orddeptnm/>
  46. <orddrnm/>
  47. <wardroom/>
  48. <prcphopedt/>
  49. </tnsinfo>
  50. <blodhistlist>
  51. <blodcomnm/>
  52. <state/>
  53. <execdt/>
  54. <execnm/>
  55. <acptid/>
  56. <acptnm/>
  57. <gbn/>
  58. <pid/>
  59. <patnm/>
  60. <prcphopedt/>
  61. <abo/>
  62. <rh/>
  63. <rtnabnresn/>
  64. </blodhistlist>
  65. </blodhist>
  66. </main>
  67. <send>
  68. <data1/>
  69. <blodno/>
  70. <blodno2/>
  71. </send>
  72. <init>
  73. </init>
  74. <hidden>
  75. <refparam>
  76. <blodno/>
  77. </refparam>
  78. </hidden>
  79. </root>
  80. </instance>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  84. <submission id="TRLBP01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/blodinfo"/>
  85. <submission id="TRLBP01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/blodhist"/>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. fSetInit();
  89. ]]>
  90. </script>
  91. </model>
  92. <script type="javascript">
  93. <![CDATA[
  94. function fSetInit() {
  95. model.resetInstanceNode("/root/main/blodhist/blodhistlist");
  96. model.resetInstanceNode("/root/main/blodhist/tnsinfo");
  97. model.resetInstanceNode("/root/main/blodhist/doninfo");
  98. model.resetInstanceNode("/root/main/blodinfo/blodcomlist");
  99. model.resetInstanceNode("/root/main/blodinfo/bloodinfo");
  100. model.refresh();
  101. model.setFocus("ipt_blodno");
  102. }
  103. function fBloodHistRef(){
  104. //model.setValue("/root/send/blodno" , model.getvalue("/root/hidden/refparam/blodno"));
  105. model.setValue("/root/send/blodno2", model.getvalue("/root/hidden/refparam/blodno"));
  106. submit("TRLBP01201");
  107. if(getNodesetCount("/root/main/blodinfo/blodcomlist") > 0) fBlodHistList("1");
  108. }
  109. function fKeyEvent(){
  110. if(event.keyCode == "13"){
  111. if(event.target == "ipt_blodno"){
  112. model.setvalue("/root/hidden/refparam/blodno", ipt_blodno.currentText);
  113. model.refresh();
  114. fBloodHistRef();
  115. ipt_blodno.selBegin = 0;
  116. ipt_blodno.selEnd = ipt_blodno.currentText.length;
  117. }
  118. }
  119. }
  120. function fBlodHistList(gbn){
  121. if(gbn == "1") {
  122. var row = 1;
  123. }
  124. else {
  125. if(datagrid3.isCell(event.target) && datagrid3.row >= datagrid3.fixedRows ){
  126. var row = datagrid3.row;
  127. }
  128. else return;
  129. }
  130. model.copyNode("/root/send/data1" , "/root/main/blodinfo/blodcomlist["+row+"]");
  131. submit("TRLBP01202");
  132. }
  133. ]]>
  134. </script>
  135. </xhtml:head>
  136. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  137. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
  138. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  139. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  140. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  141. <caption id="caption2" class="search_name" style="left:16px; top:8px; width:99px; height:17px; ">혈액번호 :</caption>
  142. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  143. <caption>조회</caption>
  144. </button>
  145. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  146. <input id="ipt_blodno" ref="/root/hidden/refparam/blodno" class="input_s_button" inputtype="button" style="left:113px; top:8px; width:120px; height:19px; ">
  147. <script type="javascript" ev:event="onbuttonclick">
  148. <![CDATA[
  149. fBloodHistRef();
  150. ]]>
  151. </script>
  152. <script type="javascript" ev:event="onkeypress">
  153. <![CDATA[
  154. fKeyEvent();
  155. ]]>
  156. </script>
  157. </input>
  158. </group>
  159. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">혈액정보</caption>
  160. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:500px; y2:70px; "/>
  161. <caption id="caption4" class="tit_2" style="left:5px; top:325px; width:131px; height:13px; ">혈액 이력 리스트</caption>
  162. <line id="line2" class="line_1" style="x1:0px; y1:340px; x2:1194px; y2:340px; "/>
  163. <datagrid id="datagrid2" nodeset="/root/main/blodhist/blodhistlist" caption="성분제제^작업구분^작업일시^작업자^수령자ID^수령자 성명^구분^등록번호^성명^수혈희망일시^ABO^Rh^반납/폐기사유" colsep="^" colwidth="100, 80, 120, 80, 80, 90, 90, 90, 90, 120, 60, 40, 215" dataheight="23" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:345px; width:1194px; height:393px; ">
  164. <col ref="blodcomnm"/>
  165. <col ref="state"/>
  166. <col ref="execdt" format="9999-99-99 99:99"/>
  167. <col ref="execnm"/>
  168. <col ref="acptid"/>
  169. <col ref="acptnm"/>
  170. <col ref="gbn"/>
  171. <col ref="pid"/>
  172. <col ref="patnm"/>
  173. <col ref="prcphopedt" format="9999-99-99 99:99"/>
  174. <col ref="abo"/>
  175. <col ref="rh"/>
  176. <col ref="rtnabnresn"/>
  177. <script type="javascript" ev:event="onaftersort">
  178. <![CDATA[
  179. datagrid2.gridToInstance();
  180. ]]>
  181. </script>
  182. </datagrid>
  183. <caption id="caption5" class="tit_2" style="left:5px; top:225px; width:131px; height:14px; ">헌혈자 정보</caption>
  184. <line id="line3" class="line_1" style="x1:0px; y1:240px; x2:500px; y2:240px; "/>
  185. <datagrid id="datagrid3" nodeset="/root/main/blodinfo/blodcomlist" caption="성분제제^입고일시^유효일시^성분제제코드^혈액바코드^혈액번호" colsep="^" colwidth="173, 120, 120, 80, 80, 90" dataheight="23" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:505px; top:75px; width:689px; height:140px; ">
  186. <col ref="blodcomnm"/>
  187. <col ref="windt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  188. <col ref="validt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  189. <col ref="blodcomcd"/>
  190. <col ref="blodbarcd"/>
  191. <col ref="blodno"/>
  192. <script type="javascript" ev:event="onclick">
  193. <![CDATA[
  194. fBlodHistList();
  195. ]]>
  196. </script>
  197. <script type="javascript" ev:event="onaftersort">
  198. <![CDATA[
  199. datagrid3.gridToInstance();
  200. ]]>
  201. </script>
  202. </datagrid>
  203. <output id="output4" ref="/root/main/blodhist/doninfo/rrgstno" class="output_fix" style="left:203px; top:246px; width:297px; height:19px; "/>
  204. <output id="output1" ref="/root/main/blodhist/doninfo/patnm" class="output_fix" style="left:203px; top:270px; width:297px; height:19px; "/>
  205. <output id="output2" ref="/root/main/blodhist/doninfo/sexage" class="output_fix" style="left:203px; top:294px; width:297px; height:19px; "/>
  206. <line id="line4" class="line_2" style="x1:0px; y1:267px; x2:449px; y2:267px; "/>
  207. <line id="line5" class="line_2" style="x1:0px; y1:291px; x2:449px; y2:291px; "/>
  208. <output id="output17" ref="/root/main/blodinfo/bloodinfo/newElement" class="output_fix" style="left:153px; top:124px; width:150px; height:19px; "/>
  209. <output id="output18" ref="/root/main/blodinfo/bloodinfo/dondt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" style="left:153px; top:148px; width:150px; height:19px; "/>
  210. <line id="line11" class="line_2" style="x1:0px; y1:97px; x2:303px; y2:97px; "/>
  211. <line id="line12" class="line_2" style="x1:0px; y1:121px; x2:303px; y2:121px; "/>
  212. <line id="line14" class="line_2" style="x1:0px; y1:145px; x2:303px; y2:145px; "/>
  213. <caption id="caption57" ref="/root/main/blodinfo/bloodinfo/aborh" class="font_ab" style="left:335px; top:85px; width:150px; height:70px; font-size:48pt; text-align:center; vertical-align:middle; ">AB</caption>
  214. <caption id="caption26" class="tit_2" style="left:510px; top:55px; width:131px; height:13px; ">성분제제 리스트</caption>
  215. <line id="line16" class="line_1" style="x1:505px; y1:70px; x2:1194px; y2:70px; "/>
  216. <output id="output19" ref="/root/main/blodhist/tnsinfo/patnm" class="output_fix" style="left:668px; top:246px; width:180px; height:19px; "/>
  217. <caption id="caption27" class="tit_2" style="left:510px; top:225px; width:131px; height:13px; ">수혈자 정보</caption>
  218. <line id="line17" class="line_1" style="x1:505px; y1:240px; x2:1194px; y2:240px; "/>
  219. <output id="output20" ref="/root/main/blodhist/tnsinfo/sexage" class="output_fix" style="left:668px; top:270px; width:180px; height:19px; "/>
  220. <output id="output21" ref="/root/main/blodhist/tnsinfo/orddeptnm" class="output_fix" style="left:668px; top:294px; width:180px; height:19px; "/>
  221. <output id="output3" ref="/root/main/blodhist/tnsinfo/wardroom" class="output_fix" style="left:1013px; top:270px; width:180px; height:19px; "/>
  222. <output id="output5" ref="/root/main/blodhist/tnsinfo/prcphopedt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" style="left:1013px; top:294px; width:180px; height:19px; "/>
  223. <output id="output6" ref="/root/main/blodhist/tnsinfo/orddrnm" class="output_fix" style="left:1013px; top:246px; width:180px; height:19px; "/>
  224. <caption id="caption23" class="cell_1" style="left:0px; top:123px; width:150px; height:23px; text-align:left; vertical-align:middle; ">입고장소</caption>
  225. <caption id="caption3" class="cell_1" style="left:0px; top:99px; width:150px; height:23px; text-align:left; vertical-align:middle; ">용량</caption>
  226. <caption id="caption24" class="cell_1" style="left:0px; top:75px; width:150px; height:23px; text-align:left; vertical-align:middle; ">구분</caption>
  227. <caption id="caption25" class="cell_1" style="left:0px; top:147px; width:150px; height:23px; text-align:left; vertical-align:middle; ">헌혈일시</caption>
  228. <line id="line18" class="line_3" style="x1:0px; y1:169px; x2:500px; y2:169px; "/>
  229. <line id="line20" class="line_2" style="x1:505px; y1:267px; x2:1194px; y2:267px; "/>
  230. <line id="line21" class="line_2" style="x1:505px; y1:291px; x2:1194px; y2:291px; "/>
  231. <caption id="caption30" class="cell_1" style="left:505px; top:245px; width:160px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
  232. <caption id="caption10" class="cell_1" style="left:850px; top:269px; width:160px; height:23px; text-align:left; vertical-align:middle; ">병동병실</caption>
  233. <caption id="caption11" class="cell_1" style="left:850px; top:293px; width:160px; height:23px; text-align:left; vertical-align:middle; ">수혈희망일시</caption>
  234. <caption id="caption28" class="cell_1" style="left:505px; top:269px; width:160px; height:23px; text-align:left; vertical-align:middle; ">Sex/Age</caption>
  235. <caption id="caption9" class="cell_1" style="left:850px; top:245px; width:160px; height:23px; text-align:left; vertical-align:middle; ">의뢰의사</caption>
  236. <caption id="caption29" class="cell_1" style="left:505px; top:293px; width:160px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
  237. <line id="line19" class="line_3" style="x1:505px; y1:315px; x2:1194px; y2:315px; "/>
  238. <caption id="caption7" class="cell_1" style="left:0px; top:269px; width:200px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
  239. <caption id="caption8" class="cell_1" style="left:0px; top:293px; width:200px; height:23px; text-align:left; vertical-align:middle; ">Sex/Age</caption>
  240. <caption id="caption18" class="cell_1" style="left:0px; top:245px; width:200px; height:23px; text-align:left; vertical-align:middle; ">주민등록번호</caption>
  241. <line id="line10" class="line_3" style="x1:0px; y1:315px; x2:500px; y2:315px; "/>
  242. <select1 id="radio1" ref="/root/main/blodinfo/bloodinfo/blodkind" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:159px; top:78px; width:160px; height:15px; border-style:none; ">
  243. <choices>
  244. <item>
  245. <label>혈액원</label>
  246. <value>0</value>
  247. </item>
  248. <item>
  249. <label>헌혈</label>
  250. <value>1</value>
  251. </item>
  252. </choices>
  253. </select1>
  254. <select1 id="radio2" ref="/root/main/blodinfo/bloodinfo/blodbasevol" appearance="full" cellspacing="22" cols="2" overflow="visible" style="left:159px; top:102px; width:160px; height:15px; border-style:none; ">
  255. <choices>
  256. <item>
  257. <label>400 ml</label>
  258. <value>400</value>
  259. </item>
  260. <item>
  261. <label>320 ml</label>
  262. <value>320</value>
  263. </item>
  264. </choices>
  265. </select1>
  266. </group>
  267. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  268. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  269. <caption>초기화</caption>
  270. <script type="javascript" ev:event="onclick">
  271. <![CDATA[
  272. fSetInit();
  273. ]]>
  274. </script>
  275. </button>
  276. <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  277. </group>
  278. <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
  279. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">혈액이력조회</caption>
  280. </group>
  281. </xhtml:body>
  282. </xhtml:html>