SMLBP02500_헌혈자검사결과조회(BISS).xrw 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLBP02500_헌혈자검사결과조회(BISS).xrw
  4. * 설 명 : 헌혈자검사결과조회(BISS)
  5. * 설 계 자 : (주)에이씨케이 - 박정은
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2008. 02. 19
  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>헌혈자검사결과조회(BISS)</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <dnorrsltlist>
  20. <hospcd/>
  21. <hospnm/>
  22. <dondt/>
  23. <natno/>
  24. <dnorrrgstno/>
  25. <dnornm/>
  26. <btype/>
  27. <jobcd/>
  28. <homezipcd/>
  29. <homeaddr/>
  30. <hometel/>
  31. <mpphonno/>
  32. <blodbarcd/>
  33. <blodbarnm/>
  34. <inptid/>
  35. <natreqyn/>
  36. <hiv/>
  37. <hcv/>
  38. <hbv/>
  39. <sts/>
  40. <alt/>
  41. <nhcv/>
  42. <nhiv/>
  43. <abs/>
  44. <sub/>
  45. <nhbv/>
  46. <mal/>
  47. <htlvreqyn/>
  48. <htlv/>
  49. </dnorrsltlist>
  50. </main>
  51. <send>
  52. <codeflag/>
  53. <prcpdd/>
  54. <reqyn>Y</reqyn>
  55. </send>
  56. <init>
  57. </init>
  58. <hidden>
  59. <ref>
  60. <refsdd/>
  61. </ref>
  62. </hidden>
  63. </root>
  64. </instance>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fSetInit();
  71. ]]>
  72. </script>
  73. <submission id="TRLBP02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/dnorrsltlist"/>
  74. </model>
  75. <script type="javascript">
  76. <![CDATA[
  77. // 초기화
  78. function fSetInit() {
  79. model.setValue("/root/hidden/ref/refsdd", getCurrentDate());
  80. model.refresh();
  81. }
  82. // 조회
  83. function fGetDnorRslt(){
  84. model.setValue("/root/send/prcpdd", model.getValue("/root/hidden/ref/refsdd"));
  85. submit("TRLBP02501");
  86. }
  87. // BISS전송한 NAT검사 Y로 바꾸기
  88. function fSetNatBissReqYN(){
  89. }
  90. // CSV 저장
  91. function fExeCSV(pGridId) {
  92. var dd = model.getValue("/root/hidden/ref/refsdd");
  93. var fileName = window.fileDialog("save", ",", false, "BISS파일전송_"+dd+".csv", "", "");
  94. if (fileName != "")
  95. {
  96. pGridId.saveText(fileName, "\n", ", ", "", "", "");
  97. }
  98. }
  99. // 엑셀 저장
  100. function fExeExcel(pGridId) {
  101. var dd = model.getValue("/root/hidden/ref/refsdd");
  102. var fileName = window.fileDialog("save", ",", false, "BISS파일전송_"+dd, "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  103. if (fileName != "")
  104. {
  105. pGridId.saveExcel(fileName, dd, false, false , "", "0");
  106. }
  107. }
  108. ]]>
  109. </script>
  110. </xhtml:head>
  111. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  112. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; "/>
  113. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  114. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  115. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  116. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:94px; height:17px; ">시행일자 :</caption>
  117. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  118. <caption>조회</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. fGetDnorRslt();
  122. ]]>
  123. </script>
  124. </button>
  125. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  126. <input id="input26" ref="/root/hidden/ref/refsdd" class="input_s_essential" inputtype="date" style="left:110px; top:8px; width:110px; height:19px; "/>
  127. <select1 id="radio1" ref="/root/send/reqyn" appearance="full" cols="2" overflow="visible" style="left:1007px; top:10px; width:95px; height:20px; border-style:none; ">
  128. <choices>
  129. <item>
  130. <label>의뢰</label>
  131. <value>Y</value>
  132. </item>
  133. <item>
  134. <label>완료</label>
  135. <value>N</value>
  136. </item>
  137. </choices>
  138. </select1>
  139. </group>
  140. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:197px; height:13px; ">헌혈자 검사결과 조회(BISS)</caption>
  141. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  142. <button id="btn_excel" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  143. <caption>CSV저장</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fExeCSV(grd_rsltbiss);
  147. ]]>
  148. </script>
  149. </button>
  150. <datagrid id="grd_rsltbiss" nodeset="/root/main/dnorrsltlist" caption="병원코드^병원명^헌혈일자^증서번호^주민번호^이름^혈액형코드^직업코드^우편번호^주소^집전화^휴대전화^제제코드^제제종류명^입력자^NAT검사의뢰유무^결과(HIV)^결과(HCV)^결과(HBV)^결과(STS)^결과(ALT)^결과(ABS)^결과(SUB)^NAT(HIV)^NAT(HCV)^NAT(HBV)^결과(MAL)^HTLV의뢰^결과(HTLV)" colsep="^" colwidth="80, 120, 70, 100, 130, 90, 65, 60, 70, 159, 90, 100, 70, 80, 80, 80, 90, 90, 90, 90, 90, 0, 0, 90, 90, 0, 90, 90, 90" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooptip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:1194px; height:646px; text-align:center; ">
  151. <col ref="hospcd"/>
  152. <col ref="hospnm" style="text-align:center; "/>
  153. <col ref="dondt" format="yyyy-mm-dd"/>
  154. <col ref="natno" format="99-99-999999"/>
  155. <col ref="dnorrrgstno" style="text-align:center; "/>
  156. <col ref="dnornm"/>
  157. <col checkvalue="Y,N" ref="btype" style="left:610px; top:23px; width:65px; height:23px; "/>
  158. <col ref="jobcd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  159. <col ref="homezipcd" format="yyyy-mm-dd" style="text-align:center; "/>
  160. <col ref="homeaddr" format="yyyy-mm-dd" style="text-align:center; "/>
  161. <col ref="hometel" format="yyyy-mm-dd" style="text-align:center; "/>
  162. <col ref="mpphonno"/>
  163. <col ref="blodbarcd" type="input"/>
  164. <col ref="blodbarnm" type="input"/>
  165. <col ref="inptid" type="input"/>
  166. <col ref="natreqyn" type="input"/>
  167. <col ref="hiv"/>
  168. <col ref="hcv"/>
  169. <col ref="hbv"/>
  170. <col ref="sts"/>
  171. <col ref="alt"/>
  172. <col ref="abs"/>
  173. <col ref="sub"/>
  174. <col ref="nhiv"/>
  175. <col ref="nhcv"/>
  176. <col ref="nhbv"/>
  177. <col ref="mal"/>
  178. <col ref="htlvreqyn" type="input"/>
  179. <col ref="htlv"/>
  180. <script type="javascript" ev:event="onaftersort">
  181. <![CDATA[
  182. grd_rsltbiss.gridToInstance();
  183. ]]>
  184. </script>
  185. </datagrid>
  186. <button id="button3" class="btn2_letter4" style="left:1063px; top:49px; width:64px; height:19px; ">
  187. <caption>엑셀저장</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. fExeExcel(grd_rsltbiss);
  191. ]]>
  192. </script>
  193. </button>
  194. </group>
  195. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  196. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  197. <caption>초기화</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. window.reload();
  201. ]]>
  202. </script>
  203. </button>
  204. <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  205. <button id="button2" class="btn4_letter2" visibility="hidden" style="left:1068px; top:3px; width:56px; height:22px; ">
  206. <caption>저장</caption>
  207. <script type="javascript" ev:event="DOMActivate">
  208. <![CDATA[
  209. // BISS전송한 NAT검사 Y로 바꾸기
  210. fSetNatBissReqYN();
  211. ]]>
  212. </script>
  213. </button>
  214. </group>
  215. <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
  216. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:199px; height:13px; ">헌혈자 검사결과 조회(BISS)</caption>
  217. </group>
  218. </xhtml:body>
  219. </xhtml:html>