SMLPP02300_면역형광결과조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP02300_면역형광결과조회.xrw
  4. * 설 명 : 면역형광결과조회 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2008.06.14
  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. <ifrslt>
  20. <ifrsltlist>
  21. <instcd/>
  22. <ptno/>
  23. <dispptno/>
  24. <pid/>
  25. <patnm/>
  26. <sexage/>
  27. <orddeptnm/>
  28. <prcpdd/>
  29. <acptdd/>
  30. <readdrnm/>
  31. <mcnts/>
  32. <testnm/>
  33. <testrslt01/>
  34. <testrslt02/>
  35. <testrslt03/>
  36. <testrslt04/>
  37. <testrslt05/>
  38. <testrslt06/>
  39. <testrslt07/>
  40. <testrslt08/>
  41. <testrslt09/>
  42. <testrslt10/>
  43. <testrslt11/>
  44. <testrslt12/>
  45. <testrslt16/>
  46. <testrslt17/>
  47. <testrslt18/>
  48. <testrslt19/>
  49. <testrslt20/>
  50. </ifrsltlist>
  51. </ifrslt>
  52. </main>
  53. <send/>
  54. <init>
  55. <acptfromdd/>
  56. <acpttodd/>
  57. <refval/>
  58. <rsltflagcd/>
  59. <sysdt>
  60. <sysdtinfo>
  61. <sysdd/>
  62. <systm/>
  63. </sysdtinfo>
  64. </sysdt>
  65. </init>
  66. <hidden>
  67. </hidden>
  68. <message/>
  69. </root>
  70. </instance>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. fExeInitialize();
  78. ]]>
  79. </script>
  80. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  81. <submission id="TRLPP02301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ifrslt/ifrsltlist"/>
  82. </model>
  83. <script type="javascript">
  84. <![CDATA[
  85. /* @group : 면역형광결과조회 화면
  86. * @ver : 2008.06.14 (CMCDEV-0001)
  87. * @by : 유동철(ACK)
  88. * @-----------------------------------
  89. * @type : function
  90. * @access : public
  91. * @desc : 화면초기화 함수
  92. */
  93. function fExeInitialize() {
  94. var sCurDate = "";
  95. //--------------------------------------------------
  96. model.removeNodeset("/root/main/ifrslt/ifrsltlist");
  97. //----------------
  98. // 시스템일자 조회
  99. model.removeNodeset("/root/send");
  100. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  101. submit("TRLPZ00102");
  102. //------------------------------------------------------------
  103. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  104. //------------
  105. // 초기값 설정
  106. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(From)
  107. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(To)
  108. model.makeValue("/root/init/rsltflagcd", "1"); // 결과구분(1:Kidney, 2:Skin)
  109. model.makeValue("/root/init/refval", ""); // 검색값
  110. //-------------------
  111. fExeRsltFlagChange();
  112. //--------------
  113. model.refresh();
  114. }
  115. /* @group : 면역형광결과조회 화면
  116. * @ver : 2008.06.14 (CMCDEV-0001)
  117. * @by : 유동철(ACK)
  118. * @-----------------------------------
  119. * @type : function
  120. * @access : public
  121. * @desc : 접수목록 조회 처리 함수
  122. */
  123. function fGetRsltList() {
  124. var sNode = "/root/main/ifrslt/ifrsltlist";
  125. //--------------------------------
  126. model.removeNodeset("/root/send");
  127. model.removeNodeset(sNode);
  128. //----------------------------------------------------------------------
  129. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  130. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  131. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  132. model.makeValue("/root/send/rsltflagcd", model.getValue("/root/init/rsltflagcd"));
  133. model.makeValue("/root/send/mcnts", model.getValue("/root/init/refval"));
  134. //-------------------
  135. submit("TRLPP02301");
  136. }
  137. /* @group : 면역형광결과조회 화면
  138. * @ver : 2008.06.14 (CMCDEV-0001)
  139. * @by : 유동철(ACK)
  140. * @-----------------------------------
  141. * @type : function
  142. * @access : public
  143. * @desc : 결과구분 변경 처리 함수
  144. */
  145. function fExeRsltFlagChange() {
  146. var iStartNo = 0;
  147. //--------------------------------------------------
  148. model.removeNodeset("/root/main/ifrslt/ifrsltlist");
  149. //----------------------------------------------------
  150. if (model.getValue("/root/init/rsltflagcd") == "1") {
  151. grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^FG^CG^L^No^GBM^Mes^TBM^Cast^Vessel^Interstitium^^^^^^";
  152. iStartNo = 24;
  153. } else {
  154. grd_ptnolist.caption = "기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^Epidermis,intercellular^Dermoepidermal Junction^Dermis^Vessel^OTHER^^^^^^^^^^^";
  155. iStartNo =19;
  156. }
  157. //----------------------------
  158. // 결과구분에 따를 컬럼 숨기기
  159. for (var iNo=iStartNo; iNo <= grd_ptnolist.cols-1; iNo++) {
  160. grd_ptnolist.colWidth(iNo) = 0;
  161. }
  162. //---------------------
  163. grd_ptnolist.refresh();
  164. }
  165. /* @group : 면역형광결과조회 화면
  166. * @ver : 2008.06.14 (CMCDEV-0001)
  167. * @by : 유동철(ACK)
  168. * @-----------------------------------
  169. * @type : function
  170. * @access : public
  171. * @desc : 진단내용 입력 처리 함수
  172. */
  173. function fExeRefValKeyPress() {
  174. if(event.keyCode == "13") {
  175. model.setValue("/root/init/refval", ipt_refval.currentText);
  176. ipt_refval.refresh();
  177. //-------------
  178. fGetRsltList();
  179. //----------------------
  180. ipt_refval.selBegin = 0;
  181. ipt_refval.selEnd = ipt_refval.currentText.length;
  182. model.setFocus("ipt_refval");
  183. }
  184. }
  185. ]]>
  186. </script>
  187. </xhtml:head>
  188. <xhtml:body visibility="visible">
  189. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  190. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  191. <button id="btn_excel" class="btn6_letter5" navindex="7" style="left:5px; top:3px; width:92px; height:22px; ">
  192. <caption>EXCEL저장</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. lpzfExeSaveToExcel(grd_ptnolist, "정도관리 상세내역");
  196. ]]>
  197. </script>
  198. </button>
  199. </group>
  200. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  201. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">면역형광 결과조회</caption>
  202. </group>
  203. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  204. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:146px; height:14px; ">결과목록</caption>
  205. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  206. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  207. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  208. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  209. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  210. <button id="btn_sea" class="btn1_letter2" navindex="5" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  211. <caption>조회</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. fGetRsltList();
  215. ]]>
  216. </script>
  217. </button>
  218. <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; "/>
  219. <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="4" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; "/>
  220. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">진단내용 :</caption>
  221. <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  222. <caption id="caption3" class="search_name" style="left:470px; top:9px; width:86px; height:17px; ">결과구분 :</caption>
  223. <select1 id="combo1" ref="/root/init/rsltflagcd" navindex="2" appearance="minimal" style="left:560px; top:8px; width:120px; height:19px; ">
  224. <choices>
  225. <item>
  226. <label>Kidney</label>
  227. <value>1</value>
  228. </item>
  229. <item>
  230. <label>Skin</label>
  231. <value>2</value>
  232. </item>
  233. </choices>
  234. <script type="javascript" ev:event="xforms-value-changed">
  235. <![CDATA[
  236. fExeRsltFlagChange();
  237. ]]>
  238. </script>
  239. </select1>
  240. <input id="ipt_refval" ref="/root/init/refval" navindex="1" style="left:106px; top:8px; width:234px; height:19px; ">
  241. <script type="javascript" ev:event="onkeypress">
  242. <![CDATA[
  243. fExeRefValKeyPress();
  244. ]]>
  245. </script>
  246. </input>
  247. </group>
  248. <datagrid id="grd_ptnolist" nodeset="/root/main/ifrslt/ifrsltlist" class="datagrid2" caption="기관코드^병리번호^병리번호^등록번호^환자명^성별/나이^진료과^처방일자^접수일자^판독의^진단^검사^결과^FG^CG^L^No^GBM^Mes^TBM^Cast^Vessel^Interstitium^other1^other2^caption1^caption2^caption3^caption4" colsep="^" colwidth="0, 0, 80, 70, 70, 60, 60, 80, 80, 80, 150, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="6" style="left:0px; top:75px; width:1194px; height:668px; ">
  249. <col ref="instcd"/>
  250. <col ref="ptno"/>
  251. <col class="text_center" ref="dispptno"/>
  252. <col class="text_center" ref="pid"/>
  253. <col class="text_center" ref="patnm"/>
  254. <col ref="sexage"/>
  255. <col ref="orddeptnm"/>
  256. <col class="text_center" ref="prcpdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  257. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  258. <col class="text_center" ref="readdrnm"/>
  259. <col ref="mcnts"/>
  260. <col ref="testnm"/>
  261. <col class="text_center" ref="testrslt01"/>
  262. <col class="text_center" ref="testrslt02"/>
  263. <col class="text_center" ref="testrslt03"/>
  264. <col class="text_center" ref="testrslt04"/>
  265. <col class="text_center" ref="testrslt05"/>
  266. <col class="text_center" ref="testrslt06"/>
  267. <col class="text_center" ref="testrslt07"/>
  268. <col class="text_center" ref="testrslt08"/>
  269. <col class="text_center" ref="testrslt09"/>
  270. <col class="text_center" ref="testrslt10"/>
  271. <col class="text_center" ref="testrslt11"/>
  272. <col class="text_center" ref="testrslt12"/>
  273. <col class="text_center" ref="testrslt16"/>
  274. <col class="text_center" ref="testrslt17"/>
  275. <col class="text_center" ref="testrslt18"/>
  276. <col class="text_center" ref="testrslt19"/>
  277. <col class="text_center" ref="testrslt20"/>
  278. <script type="javascript" ev:event="onaftersort">
  279. <![CDATA[
  280. grd_ptnolist.gridToInstance();
  281. ]]>
  282. </script>
  283. </datagrid>
  284. </group>
  285. </xhtml:body>
  286. </xhtml:html>