SMLLP01400_개인별결과조회.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLP01400_개인별결과조회.xrw
  4. * 설 명 : 개인별결과조회
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2006.12.04
  8. * 수정이력 : 2007.11.01 박정은 UI수정
  9. 2008.03.19 윤재한 UI수정 및 구현
  10. * 기 타 :
  11. -->
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>개인별결과조회</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <orgncrmtrsltlist/>
  21. <trnptcrmtlist/>
  22. <donorhla/>
  23. </main>
  24. <send>
  25. </send>
  26. <init>
  27. </init>
  28. <hidden>
  29. <refsdd/>
  30. <refedd/>
  31. <refflag/>
  32. <searchflag/>
  33. <search/>
  34. </hidden>
  35. </root>
  36. </instance>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fSetClear();
  42. ]]>
  43. </script>
  44. <submission id="TRLLP01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/orgncrmtrsltlist"/>
  45. </model>
  46. <script type="javascript">
  47. <![CDATA[
  48. // 초기화
  49. function fSetClear(){
  50. var today = getCurrentDate();
  51. model.setValue("/root/hidden/refsdd", today);
  52. model.setValue("/root/hidden/refedd", today);
  53. model.setValue("/root/hidden/refflag", "1");
  54. model.setValue("/root/hidden/searchflag", "1");
  55. if(model.getValue("/root/properties/menu/menuparam") != "") {
  56. if(getPatientInfo("pid") != "") {
  57. model.setValue("/root/hidden/search", getPatientInfo("pid"));
  58. } else {
  59. model.setValue("/root/hidden/search", "");
  60. }
  61. }else {
  62. model.setValue("/root/hidden/search", "");
  63. }
  64. model.removenode("/root/main/orgncrmtrsltlist");
  65. model.removenode("/root/main/trnptcrmtlist");
  66. model.removenode("/root/main/donorhla");
  67. model.refresh();
  68. }
  69. //조회
  70. function fGetCmPRA() {
  71. model.removeNodeset("/root/main/orgncrmtrsltlist");
  72. model.removeNodeset("/root/main/trnptcrmtlist");
  73. model.removeNodeset("/root/main/donorhla");
  74. model.makeValue("/root/send/refsdd", model.getValue("/root/hidden/refsdd"));
  75. model.makeValue("/root/send/refedd", model.getValue("/root/hidden/refedd"));
  76. model.makeValue("/root/send/refflag", model.getValue("/root/hidden/refflag"));
  77. model.makeValue("/root/send/searchflag", model.getValue("/root/hidden/searchflag"));
  78. model.makeValue("/root/send/search", model.getValue("/root/hidden/search"));
  79. submit("TRLLP01401");
  80. model.removeNodeset("/root/send");
  81. model.makeNode("/root/send");
  82. }
  83. // 출력
  84. function fExePrint(){
  85. }
  86. // 엑셀 저장
  87. function fExeSaveExcel(flag){
  88. if(flag == "cm") {
  89. var fileName = window.fileDialog("save", ",", false, "장기이식 교차시험결과목록", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  90. if (fileName != "")
  91. {
  92. grd_cmrslt.saveExcel(fileName);
  93. }
  94. } else if(flag == "pra") {
  95. var fileName = window.fileDialog("save", ",", false, "장기이식 PRA 결과관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  96. if (fileName != "")
  97. {
  98. grd_pra.saveExcel(fileName);
  99. }
  100. }
  101. }
  102. ]]>
  103. </script>
  104. </xhtml:head>
  105. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  106. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  107. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">HLA 교차시험 및 PRA 결과관리</caption>
  108. </group>
  109. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  110. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  111. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  112. <caption id="caption2" class="search_name" style="left:16px; top:9px; width:90; height:17px; ">조회기간 :</caption>
  113. <button id="brn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  114. <caption>조회</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. fGetCmPRA();
  118. ]]>
  119. </script>
  120. </button>
  121. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  122. <input id="ipt_refsdd" ref="/root/hidden/refsdd" class="input_s_essential" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; "/>
  123. <caption id="caption3" class="search_no_b" style="left:199px; top:10px; width:15px; height:17px; ">~</caption>
  124. <input id="refedd" ref="/root/hidden/refedd" class="input_s_essential" inputtype="date" style="left:213px; top:8px; width:90px; height:19px; "/>
  125. <caption id="caption5" class="search_name" style="left:350px; top:9px; width:90px; height:17px; ">조회구분 :</caption>
  126. <select1 id="rdo_refflag" ref="/root/hidden/refflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:439px; top:10px; width:181px; height:13px; border-style:none; ">
  127. <choices>
  128. <item>
  129. <label>미입력</label>
  130. <value>1</value>
  131. </item>
  132. <item>
  133. <label>미완료</label>
  134. <value>2</value>
  135. </item>
  136. <item>
  137. <label>최종보고</label>
  138. <value>3</value>
  139. </item>
  140. </choices>
  141. </select1>
  142. <caption id="caption4" class="search_name" style="left:667px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  143. <select1 id="cmb_searchflag" ref="/root/hidden/searchflag" appearance="minimal" style="left:760px; top:8px; width:100px; height:19px; ">
  144. <choices>
  145. <item>
  146. <label>등록번호</label>
  147. <value>1</value>
  148. </item>
  149. <item>
  150. <label>성명</label>
  151. <value>2</value>
  152. </item>
  153. </choices>
  154. </select1>
  155. <input id="ipt_search" ref="/root/hidden/search" style="left:863px; top:8px; width:147px; height:19px; "/>
  156. </group>
  157. <line id="line10" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  158. <caption id="caption32" class="tit_2" style="left:5px; top:50px; width:130px; height:13px; ">장기이식 교차시험</caption>
  159. <datagrid id="grd_pra" nodeset="/root/main/orgncrmtrsltlist" caption="처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^PRAS-I^PRAS-I^PRAS-II^PRAS-II^PRAI-I^PRAI-I^PRAI-I^PRAI-I^PRAI-I^PRAI-II^PRAI-II^PRAI-II^other^remark|처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^Result^grade^Result^grade^%PRA*^anti-HLA - A^anti-HLA - B^anti-HLA - Cw^No.of Positive/Total^%PRA*^anti-HLA - DR^No.of Positive/Total^other^remark" colsep="^" colwidth="70, 70, 70, 85, 70, 60, 60, 55, 55, 55, 55, 60, 85, 85, 85, 85, 60, 85, 85, 70, 160" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:534px; width:1194px; height:207px; text-align:center; ">
  160. <col ref="prcpdd" format="yyyy-mm-dd"/>
  161. <col ref="spcacptdt" format="yyyy-mm-dd"/>
  162. <col ref="lastreptdt" format="yyyy-mm-dd"/>
  163. <col ref="bcno"/>
  164. <col ref="pid"/>
  165. <col ref="patnm"/>
  166. <col ref="atdrnm"/>
  167. <col ref="praLIP162"/>
  168. <col ref="praLIP16201"/>
  169. <col ref="praLIP163"/>
  170. <col ref="praLIP16301"/>
  171. <col ref="praLIP165"/>
  172. <col ref="praLIP16501"/>
  173. <col ref="praLIP16502"/>
  174. <col ref="praLIP16503"/>
  175. <col ref="praLIP16504"/>
  176. <col ref="praLIP166"/>
  177. <col ref="praLIP16601"/>
  178. <col ref="praLIP16602"/>
  179. <col ref="other"/>
  180. <col ref="rem"/>
  181. </datagrid>
  182. <button id="btn_excel_cmrslt" class="btn2_letter2" style="left:1152px; top:46px; width:42px; height:19px; ">
  183. <caption>엑셀</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. fExeSaveExcel("cm");
  187. ]]>
  188. </script>
  189. </button>
  190. <line id="line1" class="line_1" style="x1:0px; y1:529px; x2:1194px; y2:529px; "/>
  191. <caption id="caption1" class="tit_2" style="left:5px; top:514px; width:105px; height:13px; ">장기이식 PRA</caption>
  192. <datagrid id="grd_cmrslt" nodeset="/root/main/trnptcrmtlist" caption="처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^D_등록번호^D_성명^CDC-T^CDC-T^CDC-T^CDC-T^CDC-T^CDC-B^CDC-B^CDC-B^FCXM-T^FCXM-T^FCXM-T^FCXM-T^FCXM-T^FCXM-T^FCXM-T^FCXM-B^FCXM-B^FCXM-B^FCXM-B^FCXM-B^FCXM-B^FCXM-B^other^remark|처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^D_등록번호^D_성명^Result^NIH(결과)^NIH(ratio)^AHG(결과)^AHG(ratio)^Result^NIH(결과)^NIH(ratio)^Result^Negative control^Recipient autocontrol^Donor autocontorl^Positive control^Test (MCF)^Test (%)^Result^Negative control^Recipient autocontrol^Donor autocontorl^Positive control^Test (MCF)^Test (%)^other^remark" colsep="^" colwidth="70, 70, 70, 85, 70, 60, 60, 70, 55, 70, 70, 55, 70, 55, 70, 70, 55, 65, 75, 75, 65, 75, 90, 110, 65, 75, 75, 65, 75, 90, 110, 70, 170" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:70px; width:1194px; height:207px; text-align:center; ">
  193. <col ref="prcpdd" format="yyyy-mm-dd"/>
  194. <col ref="spcacptdt" format="yyyy-mm-dd"/>
  195. <col ref="lastreptdt" format="yyyy-mm-dd"/>
  196. <col ref="bcno"/>
  197. <col ref="pid"/>
  198. <col ref="patnm"/>
  199. <col ref="atdrnm"/>
  200. <col ref="dunitno" format="yyyy-mm-dd hh:nn"/>
  201. <col ref="dname"/>
  202. <col ref="cmLIP153"/>
  203. <col ref="cmLIP15301"/>
  204. <col ref="cmLIP15302"/>
  205. <col ref="cmLIP15303"/>
  206. <col ref="cmLIP15304"/>
  207. <col ref="cmLIP154"/>
  208. <col ref="cmLIP15401"/>
  209. <col ref="cmLIP15402"/>
  210. <col ref="cmLIP156"/>
  211. <col ref="cmLIP15601"/>
  212. <col ref="cmLIP15602"/>
  213. <col ref="cmLIP15603"/>
  214. <col ref="cmLIP15604"/>
  215. <col ref="cmLIP15605"/>
  216. <col ref="cmLIP15606"/>
  217. <col ref="cmLIP157"/>
  218. <col ref="cmLIP15701"/>
  219. <col ref="cmLIP15702"/>
  220. <col ref="cmLIP15703"/>
  221. <col ref="cmLIP15704"/>
  222. <col ref="cmLIP15705"/>
  223. <col ref="cmLIP15706"/>
  224. <col ref="other"/>
  225. <col ref="rem"/>
  226. </datagrid>
  227. <button id="btn_excel_pra" class="btn2_letter2" style="left:1150px; top:378px; width:42px; height:19px; ">
  228. <caption>엑셀</caption>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. fExeSaveExcel("pra");
  232. ]]>
  233. </script>
  234. </button>
  235. <caption id="caption7" class="tit_2" style="left:5px; top:282px; width:149px; height:14px; ">공여자 특이 HLA 항체</caption>
  236. <datagrid id="datagrid1" nodeset="/root/main/donorhla" caption="처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^Donor Specific HLA Antibody Class-I^Donor Specific HLA Antibody Class-I^Donor Specific HLA Antibody Class-II^Donor Specific HLA Antibody Class-II^other^remark|처방일자^검체접수일^결과보고일^바코드번호^R_등록번호^R_성명^주치의^Result^s/c ratio^Result^s/c ratio^other^remark" colsep="^" colwidth="70, 70, 70, 85, 70, 60, 60, 110, 110, 110, 110, 70, 160" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:302px; width:1194px; height:207px; text-align:center; ">
  237. <col ref="prcpdd" format="yyyy-mm-dd"/>
  238. <col ref="spcacptdt" format="yyyy-mm-dd"/>
  239. <col ref="lastreptdt" format="yyyy-mm-dd"/>
  240. <col ref="bcno"/>
  241. <col ref="pid"/>
  242. <col ref="patnm"/>
  243. <col ref="atdrnm"/>
  244. <col ref="donorLIP158"/>
  245. <col ref="donorLIP15801"/>
  246. <col ref="donorLIP159"/>
  247. <col ref="donorLIP15901"/>
  248. <col ref="other"/>
  249. <col ref="rem"/>
  250. </datagrid>
  251. <line id="line2" class="line_1" style="x1:0px; y1:297px; x2:1194px; y2:297px; "/>
  252. </group>
  253. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  254. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  255. <button id="btn_prtn" class="btn6_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  256. <caption>출력</caption>
  257. <script type="javascript" ev:event="DOMActivate">
  258. <![CDATA[
  259. fExePrint();
  260. ]]>
  261. </script>
  262. </button>
  263. <button id="btn_init" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1127px; top:3px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  264. <caption>초기화</caption>
  265. <script type="javascript" ev:event="DOMActivate">
  266. <![CDATA[
  267. fSetClear();
  268. ]]>
  269. </script>
  270. </button>
  271. </group>
  272. </xhtml:body>
  273. </xhtml:html>