SMLNP00800_핵의학재검리스트조회.xrw 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLNP00100_핵의학WorkList조회.xrw
  4. * 설 명 : 핵의학 WorkList 조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)평화is - 김성희
  7. * 작 성 일 : 2007.08.28
  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. <retestlist>
  20. <pid/>
  21. <hngnm/>
  22. <sexage/>
  23. <orddrnm/>
  24. <tclsscrnnm/>
  25. <spcnm/>
  26. <fir/>
  27. <sec/>
  28. <last/>
  29. <rsltstat/>
  30. </retestlist>
  31. </main>
  32. <send>
  33. <fromdd/>
  34. <todd/>
  35. </send>
  36. <init/>
  37. <hidden>
  38. <cnt/>
  39. <cnt2/>
  40. <date/>
  41. <report>
  42. <rslt1>
  43. </rslt1>
  44. <rslt2/>
  45. </report>
  46. </hidden>
  47. </root>
  48. </instance>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" ev:event="xforms-ready">
  54. <![CDATA[
  55. fSetInit();
  56. ]]>
  57. </script>
  58. <submission id="TRLNP00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/retestlist"/>
  59. </model>
  60. <script type="javascript">
  61. <![CDATA[
  62. function fSetInit() {
  63. model.setValue("/root/send/fromdd", getCurrentDate());
  64. model.setValue("/root/send/todd", getCurrentDate());
  65. model.refresh();
  66. }
  67. ]]>
  68. </script>
  69. </xhtml:head>
  70. <xhtml:body caption="2" itemwidth="50" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  71. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  72. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">일일 재검일지(핵의학 검체검사)</caption>
  73. </group>
  74. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  75. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  76. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:35px; "/>
  77. <line id="line1" class="line_4" style="x1:1098px; y1:8px; x2:1098px; y2:25px; "/>
  78. <button id="button6" class="btn1_letter2" style="left:1115px; top:7px; width:56px; height:22px; ">
  79. <caption>조회</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. submit("TRLNP00801", false);
  83. model.setValue("/root/hidden/cnt", model.getxpathvalue('count(/root/main/retestlist[rsltstat != "5"])') + " 건");
  84. model.setValue("/root/hidden/cnt2", model.getxpathvalue('count(/root/main/retestlist[rsltstat = "5"])') + " 건");
  85. model.refresh();
  86. ]]>
  87. </script>
  88. </button>
  89. </group>
  90. <group id="group5" style="left:15px; top:15px; width:320px; height:25px; background-color:#fffbf2; ">
  91. <caption id="caption3" class="search_name" style="left:0px; top:4px; width:90px; height:17px; ">검사일자 :</caption>
  92. <caption id="caption4" style="left:190px; top:5px; width:20px; height:20px; text-align:center; ">~</caption>
  93. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_s_essential" inputtype="date" style="left:90px; top:4px; width:100px; height:19px; "/>
  94. <input id="ipt_todd" ref="/root/send/todd" class="input_s_essential" inputtype="date" style="left:210px; top:4px; width:100px; height:19px; "/>
  95. </group>
  96. <datagrid id="datagrid1" nodeset="/root/main/retestlist[rsltstat != 5]" caption="등록번호^환자명^성별/나이^주치의^검사명^검체명^첫번째결과^재검결과^보고결과^결과상태" colsep="^" colwidth="90, 90, 80, 80, 200, 150, 110, 110, 110, 0" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:71px; width:1194px; height:545px; ">
  97. <col ref="pid"/>
  98. <col ref="hngnm" style="text-align:center; "/>
  99. <col ref="sexage" style="text-align:center; "/>
  100. <col ref="orddrnm"/>
  101. <col ref="tclsscrnnm"/>
  102. <col ref="spcnm"/>
  103. <col ref="fir"/>
  104. <col ref="sec"/>
  105. <col ref="last"/>
  106. <col ref="rsltstat"/>
  107. </datagrid>
  108. <caption id="caption1" class="tit_2" style="left:5px; top:50px; width:134px; height:14px; ">자체 재검 리스트</caption>
  109. <line id="line2" class="line_1" style="x1:0px; y1:66px; x2:1194px; y2:66px; "/>
  110. <button id="button2" class="btn2_letter2" style="left:1149px; top:46px; width:42px; height:19px; ">
  111. <caption>엑셀</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. var fileName = window.fileDialog("save", ",", false, "재검리스트_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  115. if (fileName != ""){
  116. datagrid1.nodeset = "/root/main/retestlist";
  117. datagrid1.refresh()
  118. datagrid1.saveExcel(fileName);
  119. datagrid1.nodeset = "/root/main/retestlist[rsltstat != 5]";
  120. datagrid1.refresh()
  121. }
  122. ]]>
  123. </script>
  124. </button>
  125. <caption id="cap_countlist" style="left:390px; top:105px; width:750px; height:20px; "/>
  126. <caption id="caption7" visibility="hidden" style="left:910px; top:105px; width:235px; height:20px; font-size:10pt; font-weight:bold; color:#3366ff; "/>
  127. <caption id="caption2" class="tit_2" style="left:5px; top:619px; width:134px; height:14px; ">임상 재검 리스트</caption>
  128. <line id="line3" class="line_1" style="x1:0px; y1:635px; x2:1194px; y2:635px; "/>
  129. <datagrid id="datagrid2" nodeset="/root/main/retestlist[rsltstat = 5]" caption="등록번호^환자명^성별/나이^주치의^검사명^검체명^첫번째결과^재검결과^보고결과^결과상태" colsep="^" colwidth="90, 90, 80, 80, 200, 150, 110, 110, 110, 0" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:640px; width:1194px; height:102px; ">
  130. <col ref="pid"/>
  131. <col ref="hngnm" style="text-align:center; "/>
  132. <col ref="sexage" style="text-align:center; "/>
  133. <col ref="orddrnm"/>
  134. <col ref="tclsscrnnm"/>
  135. <col ref="spcnm"/>
  136. <col ref="fir"/>
  137. <col ref="sec"/>
  138. <col ref="last"/>
  139. <col ref="rsltstat"/>
  140. </datagrid>
  141. <output id="output1" ref="/root/hidden/cnt" style="left:790px; top:46px; width:65px; height:19px; font-weight:bold; "/>
  142. <output id="output2" ref="/root/hidden/cnt2" style="left:975px; top:46px; width:65px; height:19px; font-weight:bold; "/>
  143. <caption id="caption5" style="left:688px; top:48px; width:100px; height:15px; font-weight:bold; ">자체 재검 건수 :</caption>
  144. <caption id="caption8" style="left:875px; top:48px; width:100px; height:15px; font-weight:bold; ">임상 재검 건수 :</caption>
  145. </group>
  146. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  147. <button id="button11" class="btn6_letter2" visibility="visible" style="left:0px; top:3px; width:56px; height:22px; ">
  148. <caption>출력</caption>
  149. <script type="javascript" ev:event="DOMActivate">
  150. <![CDATA[
  151. model.setValue("/root/hidden/date", model.getValue("/root/send/todd"));
  152. copyNodeListType("/root/hidden/report/rslt1", "/root/main/retestlist[rsltstat != 5]", "replace");
  153. copyNodeListType("/root/hidden/report/rslt2", "/root/main/retestlist[rsltstat = 5]", "replace");
  154. var r1Cnt = getNodesetCount("/root/main/retestlist[rsltstat != 5]");
  155. var r2Cnt = getNodesetCount("/root/main/retestlist[rsltstat = 5]");
  156. if(r2Cnt > 0 ){ //임상재검 있을경우
  157. model.makeValue("/root/hidden/report/rslt1/retestlist["+ r1Cnt + "]/lastflag", "True"); //마지막행 True라면 임상재검리스트 보여지게끔처리함
  158. }
  159. exeReportPreview("RPLNP00800", "XMLSTR");
  160. ]]>
  161. </script>
  162. </button>
  163. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  164. </group>
  165. </xhtml:body>
  166. </xhtml:html>