SMLNP00700_핵의학구분별검사수.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : 건수분석자료.xrw
  4. * 설 명 : 건수분석자료
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 송요셉
  7. * 작 성 일 : 2007.07.04
  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. <cntlist>
  20. <tclsnm/>
  21. <tclscnt/>
  22. <testcd/>
  23. </cntlist>
  24. <cntdetlist>
  25. <dispseq/>
  26. <pid/>
  27. <patnm/>
  28. <patage/>
  29. <patsex/>
  30. <orddeptnm/>
  31. <orddrnm/>
  32. <tclsnm/>
  33. <reptrslt/>
  34. <rgstdd/>
  35. <prcpdd/>
  36. <bcolldt/>
  37. <spcacptdt/>
  38. <lastreptdt/>
  39. </cntdetlist>
  40. </main>
  41. <send xmlns="">
  42. <srchym/>
  43. <srchym2/>
  44. <srchbdioflag/>
  45. <getgbn>1</getgbn>
  46. <detgbn/>
  47. <oflag/>
  48. <iflag/>
  49. <sflag/>
  50. <ois/>
  51. </send>
  52. <init>
  53. </init>
  54. <hidden>
  55. </hidden>
  56. </root>
  57. </instance>
  58. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  59. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  60. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  61. <script ev:event="xforms-ready" type="javascript">
  62. <![CDATA[
  63. fSetInit();
  64. ]]>
  65. </script>
  66. <submission id="TRLNP00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntlist"/>
  67. <submission id="TRLNP00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/cntdetlist"/>
  68. </model>
  69. <script type="javascript">
  70. <![CDATA[
  71. function fSetInit(){
  72. model.removeNodeset("/root/main/cntlist");
  73. model.removeNodeset("/root/main/cntdetlist");
  74. var toDay = getCurrentDate();
  75. model.setValue("/root/send/srchym", toDay);
  76. input3.attribute("format") = "yyyy-mm-dd";
  77. model.setValue("/root/send/srchym2", toDay);
  78. input1.attribute("format") = "yyyy-mm-dd";
  79. model.refresh();
  80. }
  81. function fGetTestCntList(){
  82. var O = model.getValue("/root/send/oflag"); // 외래
  83. var I = model.getValue("/root/send/iflag"); // 입원
  84. var S = model.getValue("/root/send/sflag"); // 건진
  85. var OIS = "";
  86. if(O == "1"){
  87. OIS = OIS + "1";
  88. }else{
  89. OIS = OIS + "0";
  90. }
  91. if(I == "1"){
  92. OIS = OIS + "1";
  93. }else{
  94. OIS = OIS + "0";
  95. }
  96. if(S == "1"){
  97. OIS = OIS + "1";
  98. }else{
  99. OIS = OIS + "0";
  100. }
  101. // 000 전체
  102. // 001 건진
  103. // 010 입원
  104. // 011 입원 건진
  105. // 100 외래
  106. // 101 외래 건진
  107. // 110 외래 입원
  108. // 111 전체
  109. model.setValue("/root/send/ois", OIS);
  110. model.removeNodeset("/root/main/cntlist");
  111. model.removeNodeset("/root/main/cntdetlist");
  112. submit("TRLNP00701");
  113. var detgbn = model.getValue("/root/send/detgbn");
  114. if(detgbn == "1"){
  115. submit("TRLNP00702");
  116. }
  117. model.refresh();
  118. }
  119. function fReportPrint(){
  120. //exeReportPreview("RPLNP00600", "XMLSTR", "", "", "true", "", "", "", "","true");
  121. exeReportPreview("RPLNP00600", "XMLSTR", "", "");
  122. }
  123. ]]>
  124. </script>
  125. </xhtml:head>
  126. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  127. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  128. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:220px; y2:70px; "/>
  129. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; font-weight:bold; ">
  130. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  131. <line id="line3" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  132. <button id="btn_Ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  133. <caption>조회</caption>
  134. <script ev:event="DOMActivate" type="javascript">
  135. <![CDATA[
  136. fGetTestCntList();
  137. ]]>
  138. </script>
  139. </button>
  140. <caption id="caption11" class="search_name" style="left:25px; top:8px; width:89px; height:17px; text-align:left; ">조회일자 :</caption>
  141. <input id="input3" ref="/root/send/srchym" class="input_default" inputtype="date" format="yyyy-mm" style="left:165px; top:8px; width:95px; height:19px; font-weight:normal; "/>
  142. <input id="input1" ref="/root/send/srchym2" class="input_default" inputtype="date" format="yyyy-mm" style="left:330px; top:8px; width:95px; height:19px; font-weight:normal; "/>
  143. <caption id="caption8" style="left:264px; top:10px; width:20px; height:20px; text-align:center; ">~</caption>
  144. <select1 id="combo1" ref="/root/send/getgbn" appearance="minimal" style="left:835px; top:8px; width:105px; height:19px; font-weight:normal; ">
  145. <choices>
  146. <item>
  147. <label>환자명순</label>
  148. <value>1</value>
  149. </item>
  150. <item>
  151. <label>결과일순</label>
  152. <value>2</value>
  153. </item>
  154. </choices>
  155. </select1>
  156. <caption id="caption2" class="search_name" style="left:460px; top:8px; width:89px; height:17px; text-align:left; ">조회구분 :</caption>
  157. <select id="checkbox2" ref="/root/send/oflag" overflow="visible" appearance="full" style="left:552px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
  158. <choices>
  159. <item>
  160. <label>외래</label>
  161. <value>1</value>
  162. </item>
  163. </choices>
  164. </select>
  165. <select id="checkbox3" ref="/root/send/iflag" overflow="visible" appearance="full" style="left:607px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
  166. <choices>
  167. <item>
  168. <label>입원</label>
  169. <value>1</value>
  170. </item>
  171. </choices>
  172. </select>
  173. <select id="checkbox4" ref="/root/send/sflag" overflow="visible" appearance="full" style="left:662px; top:9px; width:58px; height:20px; font-weight:normal; border-style:none; ">
  174. <choices>
  175. <item>
  176. <label>건진</label>
  177. <value>1</value>
  178. </item>
  179. </choices>
  180. </select>
  181. <caption id="caption4" style="left:120px; top:8px; width:45px; height:20px; ">채혈일</caption>
  182. <caption id="caption5" style="left:285px; top:8px; width:45px; height:20px; ">결과일</caption>
  183. <caption id="caption7" class="search_name" style="left:745px; top:8px; width:98px; height:17px; text-align:left; ">정렬순서 :</caption>
  184. </group>
  185. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:134px; height:14px; ">검사별 건수</caption>
  186. <datagrid id="grd_cntlist" nodeset="/root/main/cntlist" caption="검사명^건수" colwidth="150, 65" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:220px; height:640px; font-weight:normal; ">
  187. <col ref="tclsnm" style="text-align:center; "/>
  188. <col ref="tclscnt" style="text-align:center; "/>
  189. <col ref="testcd" visibility="hidden" style="text-align:center; "/>
  190. </datagrid>
  191. <button id="btn_excel" class="btn2_letter4" navindex="2" visibility="hidden" style="left:0px; top:719px; width:64px; height:19px; ">
  192. <caption>엑셀저장</caption>
  193. <script ev:event="onclick" type="javascript">
  194. <![CDATA[
  195. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  196. if (fileName != ""){
  197. grd_cntlist.saveExcel(fileName);
  198. }
  199. ]]>
  200. </script>
  201. </button>
  202. <caption id="caption1" class="tit_2" style="left:235px; top:55px; width:70px; height:13px; ">상세조회</caption>
  203. <line id="line2" class="line_1" style="x1:230px; y1:70px; x2:1195px; y2:70px; "/>
  204. <datagrid id="grd_cntdetlist" nodeset="/root/main/cntdetlist" caption="^등록번호^환자명^연령^성별^진료과^주치의^검사명^결과^등록일자^처방일자^채혈일자^접수일자^결과일자" colwidth="20, 75, 75, 35, 35, 80, 75, 180,80,130, 90, 130, 130, 130" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="25" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:230px; top:75px; width:965px; height:640px; font-weight:normal; ">
  205. <col ref="dispseq" style="text-align:center; "/>
  206. <col ref="pid" style="text-align:center; "/>
  207. <col ref="patnm" style="text-align:center; "/>
  208. <col ref="patage" style="text-align:center; "/>
  209. <col ref="patsex" style="text-align:center; "/>
  210. <col ref="orddeptnm" style="text-align:center; "/>
  211. <col ref="orddrnm" style="text-align:center; "/>
  212. <col ref="tclsnm" style="text-align:center; "/>
  213. <col ref="reptrslt" style="text-align:center; "/>
  214. <col ref="rgstdd" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  215. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  216. <col ref="bcolldt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  217. <col ref="spcacptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  218. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  219. </datagrid>
  220. <select id="checkbox1" ref="/root/send/detgbn" overflow="visible" appearance="full" style="left:305px; top:55px; width:20px; height:20px; border-style:none; ">
  221. <choices>
  222. <item>
  223. <label/>
  224. <value>1</value>
  225. </item>
  226. </choices>
  227. </select>
  228. </group>
  229. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  230. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">핵의학 구분별 검사수</caption>
  231. </group>
  232. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  233. <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  234. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  235. <caption>초기화</caption>
  236. <script ev:event="DOMActivate" type="javascript">
  237. <![CDATA[
  238. fSetInit();
  239. ]]>
  240. </script>
  241. </button>
  242. <button id="button11" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  243. <caption>출력</caption>
  244. <script ev:event="DOMActivate" type="javascript">
  245. <![CDATA[
  246. fReportPrint();
  247. ]]>
  248. </script>
  249. </button>
  250. </group>
  251. </xhtml:body>
  252. </xhtml:html>