SMLLS01200_결과 조회성 통계.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLS01200_결과 조회성 통계.xrw
  4. * 설 명 : 결과 조회성 통계
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2008.12.24
  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>결과 조회성 통계</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <refrslt>
  20. <lastreptdt/>
  21. <tclsscrnnm/>
  22. <spccd/>
  23. <pid/>
  24. <hngnm/>
  25. <sex/>
  26. <age/>
  27. <deptengabbr/>
  28. <termhngnm/>
  29. <reptrslt/>
  30. </refrslt>
  31. <page>
  32. <total/>
  33. <now/>
  34. </page>
  35. </main>
  36. <send/>
  37. <init>
  38. </init>
  39. <hidden>
  40. <ref>
  41. <hopesdd/>
  42. <hopestm>0000</hopestm>
  43. <hopeedd/>
  44. <hopeetm>2359</hopeetm>
  45. <execdeptflag>1</execdeptflag>
  46. <execdeptcd>00</execdeptcd>
  47. <rsltflag>0</rsltflag>
  48. <srslt/>
  49. <erslt/>
  50. <tclscdlist>
  51. <testgrup/>
  52. <tclsnmlist/>
  53. <tclscdlist/>
  54. <tclscdlist2/>
  55. </tclscdlist>
  56. <tclscdlist/>
  57. <spccd>00</spccd>
  58. <sex>0</sex>
  59. <sage/>
  60. <eage/>
  61. <ageflag>0</ageflag>
  62. <dept>00</dept>
  63. <term>00</term>
  64. <ordtype>A</ordtype>
  65. <page>1</page>
  66. </ref>
  67. </hidden>
  68. </root>
  69. </instance>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. fSetInit(); //초기화 함수 호출
  77. ]]>
  78. </script>
  79. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  80. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  81. <submission id="TRLLS01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/refrslt"/>
  82. </model>
  83. <script type="javascript">
  84. <![CDATA[
  85. //화면 open시 초기화
  86. function fSetInit() {
  87. fBaseInfoRef("0111|0106|0105|0103|"); //0111 : 계코드, 0106 : 검사계코드, 0105 : 검체코드, 0103 : 사용자별검사그룹
  88. var toDay = getCurrentDate();
  89. model.setValue("/root/hidden/ref/hopesdd", toDay); //통계희망시작일 = 현재일자
  90. model.setValue("/root/hidden/ref/hopeedd", toDay); //통계희망종료일 = 현재일자
  91. fExecDeptChange(); //시행부서 선택
  92. //그리드초기화
  93. model.resetInstanceNode("/root/main/refrslt");
  94. model.refresh();
  95. }
  96. //시행부서(H)인가.? 검사시행부서(H1)인가.?
  97. function fExecDeptChange(){
  98. if(model.getValue("/root/hidden/ref/execdeptflag") == "1"){
  99. cmb_execdeptcd.choices.itemset.attribute("nodeset") = "/root/init/LB0111";
  100. model.setvalue("/root/hidden/ref/execdeptcd" , "00");
  101. }
  102. else{
  103. cmb_execdeptcd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  104. model.setvalue("/root/hidden/ref/execdeptcd" , "00");
  105. }
  106. model.refresh();
  107. }
  108. //결과 콤보 바꿀때 결과칸 보이는 것.
  109. function fRsltFlagChange() {
  110. var flag = model.getValue("/root/hidden/ref/rsltflag");
  111. if(flag == "0") { //결과가 미선택인 경우 다 안 보임
  112. ipt_srslt.visible = false;
  113. cpt_rsltmul.visible = false;
  114. ipt_erslt.visible = false;
  115. }else if(flag == "5" ) { //결과가 사이인 경우 다 보임
  116. ipt_srslt.visible = true;
  117. cpt_rsltmul.value = "~";
  118. cpt_rsltmul.visible = true;
  119. ipt_erslt.visible = true;
  120. }else if(flag == "4"){
  121. ipt_srslt.visible = true;
  122. cpt_rsltmul.value = ",";
  123. cpt_rsltmul.visible = true;
  124. ipt_erslt.visible = true;
  125. }else { //그 외의 것은 input 하나만.
  126. ipt_srslt.visible = true;
  127. cpt_rsltmul.visible = false;
  128. ipt_erslt.visible = false;
  129. }
  130. model.refresh();
  131. }
  132. //나이 콤보 바꿀때 나이칸 보이는 것.
  133. function fAgeFlagChange() {
  134. var flag = model.getValue("/root/hidden/ref/ageflag");
  135. if(flag == "0") { //나이가 미선택인 경우 다 안 보임
  136. ipt_sage.visible = false;
  137. cpt_agemul.visible = false;
  138. ipt_eage.visible = false;
  139. } else if(flag == "3") { //나이가 사이인 경우 다 보임
  140. ipt_sage.visible = true;
  141. cpt_agemul.visible = true;
  142. ipt_eage.visible = true;
  143. } else { //그 외의 것은 input 하나만.
  144. ipt_sage.visible = true;
  145. cpt_agemul.visible = false;
  146. ipt_eage.visible = false;
  147. }
  148. model.refresh();
  149. }
  150. //검사그룹조회
  151. function fSelectTestGrup(){
  152. model.makeValue("/root/send/testgrupnm", cmb_testgrup.label);
  153. submit("TRLLF90401" ,false);
  154. fSetPopUpTclscdList(); //검사항목 조회
  155. }
  156. //검사항목 조회
  157. function fSetPopUpTclscdList(){
  158. var count = getNodesetCount("/root/main/testgrupdetl");
  159. if(count > 0){
  160. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  161. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  162. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  163. // 검사그룹 상세 목록 없을때
  164. if(sendtclsnm == ""){
  165. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  166. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  167. }else{ // 검사그룹 상세 목록 있을때
  168. for(i=2; i<= count; i++){
  169. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  170. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  171. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  172. }
  173. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  174. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  175. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  176. model.setValue("/root/hidden/ref/tclscdlist", sendtclscd2);
  177. }
  178. model.refresh();
  179. }
  180. }
  181. //결과조회
  182. function fGetRsltRef() {
  183. model.removeNodeset("/root/main/refrslt");
  184. model.removeNodeset("/root/main/page");
  185. var execdeptcd = model.getValue("/root/hidden/ref/execdeptcd");
  186. var testcd = model.getValue("/root/hidden/ref/tclscdlist/tclsnmlist");
  187. if(testcd == "") { //검사항목이 비어있으면 검사코드리스트도 비워준다.
  188. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  189. }
  190. if((execdeptcd != "00") || (testcd != "")) { //시행부서와 검사항목 중 하나는 꼭 선택이 되도록.
  191. } else {
  192. messageBox("시행부서와 검사항목 중 하나를", "C002");
  193. return;
  194. }
  195. model.setValue("/root/hidden/ref/ageflag" , "0");
  196. model.setValue("/root/hidden/ref/sex" , "0");
  197. model.setValue("/root/hidden/ref/dept" , "00"); //부서
  198. model.setValue("/root/hidden/ref/term" , "00"); //상병 초기화
  199. copyNodeType("/root/send", "/root/hidden/ref");
  200. model.refresh();
  201. model.removenodeset("/root/code");
  202. submit("TRLLS01201");
  203. var lastpage = model.getValue("/root/main/page/page");
  204. //페이지 처리
  205. for(page = 2 ; page <= lastpage ; page++){
  206. model.setValue("/root/send/page", page);
  207. submit("TRLLS01201");
  208. }
  209. model.removenode("/root/send");
  210. model.makeNode("/root/send");
  211. var total = model.getValue("/root/main/page/total"); //총 검사건수
  212. var now = model.getXPathValue("count(/root/main/refrslt)"); //조회된 건수를 구한다.
  213. var per = Math.round(now / total * 100); //백분율
  214. model.setValue("/root/main/page/now", now + "(" + per + "%)"); //조회된 건수(백분율)
  215. //=================================================================================
  216. var tmpstr;
  217. var nodeCnt = 1;
  218. var tmpList = new Array() ; //정렬 전
  219. var tmpSort; //정렬 후
  220. //------------------------ 진료부서 Combo List 생성
  221. model.makeNode("/root/temp");
  222. copyNodesetType("/root/temp", "/root/main/refrslt", "replace");
  223. model.removeNodeset("/root/hidden/list/dept");
  224. model.makeNode("/root/hidden/list/dept["+nodeCnt+"]");
  225. model.makeValue("/root/hidden/list/dept["+nodeCnt+"]/val", "00");
  226. model.makeValue("/root/hidden/list/dept["+nodeCnt+"]/nm", "-전체-");
  227. while(model.getXPathValue("count(/root/temp/deptengabbr)") != 0){
  228. tmpstr = model.getValue("/root/temp[1]/deptengabbr");
  229. tmpList[(nodeCnt-1)] = tmpstr;
  230. nodeCnt += 1;
  231. /*model.makeNode("/root/hidden/list/dept["+nodeCnt+"]"); //이부분은 정렬 때문에..
  232. model.makeValue("/root/hidden/list/dept["+nodeCnt+"]/val", nodeCnt);
  233. model.makeValue("/root/hidden/list/dept["+nodeCnt+"]/nm", tmpstr);*/
  234. model.removeNodeset("/root/temp[deptengabbr='"+tmpstr+"']");
  235. }
  236. tmpSort = tmpList.sort(); //정렬
  237. for (i = 0; i < (nodeCnt-1); i++){ //콤보 리스트 생성
  238. model.makeNode("/root/hidden/list/dept["+ (i+2) +"]");
  239. model.makeValue("/root/hidden/list/dept["+ (i+2) +"]/val", i);
  240. model.makeValue("/root/hidden/list/dept["+ (i+2) +"]/nm", tmpSort[i]);
  241. }
  242. //---------------------------- 진료부서 end
  243. //------------------------ 상병 Combo List 생성 ------------------------
  244. tmpList = new Array(); //배열 초기화
  245. model.makeNode("/root/temp");
  246. copyNodesetType("/root/temp", "/root/main/refrslt", "replace");
  247. model.removeNodeset("/root/hidden/list2/term");
  248. nodeCnt = 1;
  249. model.makeNode("/root/hidden/list2/term["+nodeCnt+"]");
  250. model.makeValue("/root/hidden/list2/term["+nodeCnt+"]/val", "00");
  251. model.makeValue("/root/hidden/list2/term["+nodeCnt+"]/nm", "-전체-");
  252. while(model.getXPathValue("count(/root/temp/termhngnm)") != 0){
  253. tmpstr = model.getValue("/root/temp[1]/termhngnm");
  254. tmpList[(nodeCnt-1)] = tmpstr;
  255. nodeCnt += 1;
  256. /*model.makeNode("/root/hidden/list2/term["+nodeCnt+"]");
  257. model.makeValue("/root/hidden/list2/term["+nodeCnt+"]/val", nodeCnt);
  258. model.makeValue("/root/hidden/list2/term["+nodeCnt+"]/nm", tmpstr);*/
  259. model.removeNodeset("/root/temp[termhngnm='"+tmpstr+"']");
  260. }
  261. tmpSort = tmpList.sort(); //정렬
  262. for (i = 0; i < (nodeCnt-1); i++){ //콤보 리스트 생성
  263. model.makeNode("/root/hidden/list2/term["+ (i+2) +"]");
  264. model.makeValue("/root/hidden/list2/term["+ (i+2) +"]/val", i);
  265. model.makeValue("/root/hidden/list2/term["+ (i+2) +"]/nm", tmpSort[i]);
  266. }
  267. //------------------------------- 상병 end --------------------------------
  268. grd_refrslt.nodeset = "/root/main/refrslt";
  269. model.refresh();
  270. }
  271. //엑셀저장
  272. function fExeSaveToExcel(){
  273. var stsnm = "결과조회성통계";
  274. var fileName = window.fileDialog("save", ",", false, stsnm+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  275. if (fileName != ""){
  276. grd_refrslt.saveExcel(fileName);
  277. }
  278. }
  279. function fGetFilter(){
  280. //-전체-
  281. // 필터 조건
  282. var sex = combo1.label; //성별
  283. var dept = combo2.label; //진료부서
  284. var term = combo3.label; //상병명
  285. var ageflag = cmb_ageflag.value; //0 : 미선택, 1 : 미만, 2 : 이상, 3 : 사이
  286. var vFilter;
  287. var vFilterCnt;
  288. var vSAge = ipt_sage.value;
  289. var vEAge = ipt_eage.value;
  290. if(sex == "-전체-"){
  291. vFilter = "sex != '-전체-' and ";
  292. }else{
  293. vFilter = "sex = '"+ sex +"' and ";
  294. }
  295. if(dept == "-전체-"){
  296. vFilter += "deptengabbr != '-전체-' and ";
  297. }else{
  298. vFilter += "deptengabbr = '"+ dept +"' and ";
  299. }
  300. if(term == "-전체-"){
  301. vFilter += "termhngnm != '-전체-' ";
  302. }else{
  303. vFilter += "termhngnm = '"+ term +"' ";
  304. }
  305. if(ageflag == "1"){
  306. vFilter += "and age < '"+ vSAge +"' ";
  307. }else if(ageflag == "2"){
  308. vFilter += "and age >= '"+ vSAge +"' ";
  309. }else if(ageflag == "3"){
  310. vFilter += "and age >= '"+ vSAge +"' and age <= '"+ vEAge +"' ";
  311. }
  312. grd_refrslt.nodeset = "/root/main/refrslt[" + vFilter +"]";
  313. vFilterCnt = model.getXPathValue('count(/root/main/refrslt[' + vFilter + ']) ');
  314. var total = model.getValue("/root/main/page/total"); //총 검사건수
  315. var per = Math.round(vFilterCnt / total * 100); //백분율
  316. model.setValue("/root/main/page/now", vFilterCnt + "(" + per + "%)"); //조회된 건수(백분율)
  317. opt_now.refresh();
  318. grd_refrslt.rebuild();
  319. }
  320. ]]>
  321. </script>
  322. </xhtml:head>
  323. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  324. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  325. <group id="group1" style="left:0px; top:10px; width:1195px; height:60px; ">
  326. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:60px; "/>
  327. <input id="ipt_hopesdd" ref="/root/hidden/ref/hopesdd" class="input_search" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:128px; top:8px; width:85px; height:19px; "/>
  328. <input id="ipt_hopeedd" ref="/root/hidden/ref/hopeedd" class="input_search" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:268px; top:8px; width:85px; height:19px; "/>
  329. <caption id="caption4" class="search_name" style="left:15px; top:9px; width:110px; height:17px; ">통계 희망일 :</caption>
  330. <caption id="caption9" class="search_no_b" style="left:252px; top:8px; width:13px; height:17px; ">~</caption>
  331. <caption id="caption12" class="search_name" style="left:399px; top:9px; width:86px; height:17px; ">시행부서 :</caption>
  332. <select1 id="cmd_execdeptflag" ref="/root/hidden/ref/execdeptflag" class="combo_s_essential" navindex="5" appearance="minimal" style="left:489px; top:8px; width:85px; height:19px; font-weight:normal; ">
  333. <choices>
  334. <item>
  335. <label>계</label>
  336. <value>1</value>
  337. </item>
  338. <item>
  339. <label>검사계</label>
  340. <value>2</value>
  341. </item>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. fExecDeptChange();
  346. ]]>
  347. </script>
  348. </select1>
  349. <select1 id="cmb_execdeptcd" ref="/root/hidden/ref/execdeptcd" class="combo_s_essential" navindex="6" appearance="minimal" style="left:576px; top:8px; width:125px; height:19px; font-weight:normal; ">
  350. <choices>
  351. <itemset nodeset="/root/init/LB0111">
  352. <label ref="nm"/>
  353. <value ref="cd"/>
  354. </itemset>
  355. </choices>
  356. </select1>
  357. <input id="ipt_tclsnmlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_s_essential" style="left:216px; top:32px; width:465px; height:19px; "/>
  358. <caption id="caption3" class="search_name" style="left:15px; top:33px; width:101px; height:17px; ">검 사 항 목 :</caption>
  359. <select1 id="cmb_testgrup" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_s_essential" appearance="minimal" style="left:128px; top:32px; width:85px; height:19px; ">
  360. <choices>
  361. <itemset nodeset="/root/init/LB0103">
  362. <label ref="nm"/>
  363. <value ref="cd"/>
  364. </itemset>
  365. </choices>
  366. <script type="javascript" ev:event="xforms-value-changed">
  367. <![CDATA[
  368. fSelectTestGrup();
  369. ]]>
  370. </script>
  371. </select1>
  372. <button id="button6" class="icon_search" navindex="7" style="left:684px; top:33px; width:16px; height:16px; ">
  373. <caption/>
  374. <script type="javascript" ev:event="DOMActivate">
  375. <![CDATA[
  376. modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  377. ]]>
  378. </script>
  379. </button>
  380. <caption id="caption2" class="search_name" style="left:711px; top:9px; width:60px; height:17px; ">결과 :</caption>
  381. <select1 id="cmd_rsltflag" ref="/root/hidden/ref/rsltflag" navindex="9" appearance="minimal" style="left:776px; top:8px; width:80px; height:19px; ">
  382. <choices>
  383. <item>
  384. <label>미선택</label>
  385. <value>0</value>
  386. </item>
  387. <item>
  388. <label>미만</label>
  389. <value>1</value>
  390. </item>
  391. <item>
  392. <label>이상</label>
  393. <value>2</value>
  394. </item>
  395. <item>
  396. <label>패턴</label>
  397. <value>3</value>
  398. </item>
  399. <item>
  400. <label>제외</label>
  401. <value>4</value>
  402. </item>
  403. <item>
  404. <label>사이</label>
  405. <value>5</value>
  406. </item>
  407. </choices>
  408. <script type="javascript" ev:event="xforms-value-changed">
  409. <![CDATA[
  410. fRsltFlagChange();
  411. ]]>
  412. </script>
  413. </select1>
  414. <input id="ipt_srslt" ref="/root/hidden/ref/srslt" navindex="10" visibility="hidden" style="left:859px; top:8px; width:70px; height:19px; "/>
  415. <caption id="caption1" class="search_name" style="left:712px; top:33px; width:65px; height:17px; ">검체 :</caption>
  416. <select1 id="cmd_spccd" ref="/root/hidden/ref/spccd" navindex="8" appearance="minimal" style="left:777px; top:32px; width:125px; height:19px; font-weight:normal; ">
  417. <choices>
  418. <itemset nodeset="/root/init/LB0105">
  419. <label ref="nm"/>
  420. <value ref="cd"/>
  421. </itemset>
  422. </choices>
  423. </select1>
  424. <caption id="cap_ordtype" class="search_name" style="left:912px; top:33px; width:71px; height:17px; ">구분 :</caption>
  425. <select1 id="cmd_ordtype" ref="/root/hidden/ref/ordtype" navindex="12" appearance="minimal" style="left:977px; top:32px; width:83px; height:19px; font-weight:normal; ">
  426. <choices>
  427. <item>
  428. <label>-전체-</label>
  429. <value>A</value>
  430. </item>
  431. <item>
  432. <label>입원</label>
  433. <value>I</value>
  434. </item>
  435. <item>
  436. <label>외래</label>
  437. <value>O</value>
  438. </item>
  439. <item>
  440. <label>건진</label>
  441. <value>S</value>
  442. </item>
  443. </choices>
  444. </select1>
  445. <button id="btn_search" class="btn1_letter2" navindex="13" style="left:1124px; top:19px; width:56px; height:22px; ">
  446. <caption>조회</caption>
  447. <script type="javascript" ev:event="DOMActivate">
  448. <![CDATA[
  449. fGetRsltRef();
  450. ]]>
  451. </script>
  452. </button>
  453. <line id="line3" class="line_4" style="x1:1109px; y1:8px; x2:1109px; y2:51px; "/>
  454. <caption id="cpt_rsltmul" class="search_no_b" visibility="hidden" style="left:932px; top:8px; width:13px; height:17px; ">~</caption>
  455. <input id="ipt_erslt" ref="/root/hidden/ref/erslt" navindex="11" visibility="hidden" style="left:948px; top:8px; width:70px; height:19px; "/>
  456. <input id="ipt_ustm" ref="/root/hidden/ref/hopestm" class="input_search" navindex="2" format="hh:nn" style="left:214px; top:8px; width:35px; height:19px; "/>
  457. <input id="ipt_uetm" ref="/root/hidden/ref/hopeetm" class="input_search" navindex="4" format="hh:nn" style="left:354px; top:8px; width:35px; height:19px; "/>
  458. </group>
  459. <caption id="caption7" class="tit_2" style="left:5px; top:80px; width:134px; height:14px; ">결과 조회</caption>
  460. <datagrid id="grd_refrslt" nodeset="/root/main/refrslt" caption="검사일^검사항목^검체명^등록번호^성명^성별^나이^진료부서^상병명^검사결과" colsep="^" colwidth="120, 220, 120, 80, 80, 40, 40, 60, 210, 120" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:111px; width:1194px; height:621px; ">
  461. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  462. <col ref="tclsscrnnm"/>
  463. <col disabled="true" ref="spccd" type="combo">
  464. <choices>
  465. <itemset nodeset="/root/init/LB0105">
  466. <label ref="nm"/>
  467. <value ref="cd"/>
  468. </itemset>
  469. </choices>
  470. </col>
  471. <col ref="pid"/>
  472. <col ref="hngnm"/>
  473. <col ref="sex"/>
  474. <col ref="age"/>
  475. <col ref="deptengabbr" style="text-align:center; "/>
  476. <col ref="termhngnm"/>
  477. <col ref="reptrslt"/>
  478. </datagrid>
  479. <select1 id="combo1" ref="/root/hidden/ref/sex" appearance="minimal" style="left:621px; top:90px; width:40px; height:19px; ">
  480. <choices>
  481. <item>
  482. <label>-전체-</label>
  483. <value>0</value>
  484. </item>
  485. <item>
  486. <label>M</label>
  487. <value>1</value>
  488. </item>
  489. <item>
  490. <label>F</label>
  491. <value>2</value>
  492. </item>
  493. </choices>
  494. </select1>
  495. <select1 id="combo2" ref="/root/hidden/ref/dept" appearance="minimal" style="left:701px; top:90px; width:58px; height:19px; ">
  496. <choices>
  497. <itemset nodeset="/root/hidden/list/dept">
  498. <label ref="nm"/>
  499. <value ref="val"/>
  500. </itemset>
  501. </choices>
  502. </select1>
  503. <select1 id="combo3" ref="/root/hidden/ref/term" appearance="minimal" style="left:760px; top:90px; width:210px; height:19px; ">
  504. <choices>
  505. <itemset nodeset="/root/hidden/list2/term">
  506. <label ref="nm"/>
  507. <value ref="val"/>
  508. </itemset>
  509. </choices>
  510. </select1>
  511. <button id="button1" class="btn2_letter4" style="left:971px; top:90px; width:64px; height:19px; ">
  512. <caption>필터조회</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. fGetFilter();
  516. ]]>
  517. </script>
  518. </button>
  519. <line id="line5" class="line_1" style="x1:0px; y1:107px; x2:1194px; y2:107px; "/>
  520. <input id="ipt_sage" ref="/root/hidden/ref/sage" visibility="hidden" style="left:760px; top:70px; width:70px; height:19px; "/>
  521. <select1 id="cmb_ageflag" ref="/root/hidden/ref/ageflag" appearance="minimal" style="left:679px; top:70px; width:80px; height:19px; ">
  522. <choices>
  523. <item>
  524. <label>미선택</label>
  525. <value>0</value>
  526. </item>
  527. <item>
  528. <label>미만</label>
  529. <value>1</value>
  530. </item>
  531. <item>
  532. <label>이상</label>
  533. <value>2</value>
  534. </item>
  535. <item>
  536. <label>사이</label>
  537. <value>3</value>
  538. </item>
  539. </choices>
  540. <script type="javascript" ev:event="xforms-value-changed">
  541. <![CDATA[
  542. fAgeFlagChange();
  543. ]]>
  544. </script>
  545. </select1>
  546. <input id="ipt_eage" ref="/root/hidden/ref/eage" visibility="hidden" style="left:845px; top:70px; width:70px; height:19px; "/>
  547. <caption id="cpt_agemul" class="search_no_b" visibility="hidden" style="left:831px; top:70px; width:13px; height:17px; ">~</caption>
  548. <caption id="caption8" class="hand" style="left:616px; top:72px; width:60px; height:13px; ">나이 :</caption>
  549. </group>
  550. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">결과 조회성 통계</caption>
  551. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  552. <line id="line2" class="line_2" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  553. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  554. <caption>출력</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. //fPrint();
  558. ]]>
  559. </script>
  560. </button>
  561. <button id="btn_excel" class="btn6_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
  562. <caption>EXCEL저장</caption>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. fExeSaveToExcel();
  566. ]]>
  567. </script>
  568. </button>
  569. <output id="opt_total" ref="/root/main/page/total" class="output_fix" visibility="visible" format="#,###" style="left:210px; top:5px; width:65px; height:19px; "/>
  570. <caption id="caption101" class="cell_1" visibility="visible" style="left:127px; top:4px; width:80px; height:23px; vertical-align:middle; ">총검사건수</caption>
  571. <line id="line7" class="line_1" visibility="visible" style="x1:127px; y1:0px; x2:426px; y2:0px; "/>
  572. <output id="opt_now" ref="/root/main/page/now" class="output_fix" visibility="visible" style="left:361px; top:5px; width:65px; height:19px; "/>
  573. <caption id="caption5" class="cell_1" visibility="visible" style="left:278px; top:4px; width:80px; height:23px; vertical-align:middle; ">조회된건수</caption>
  574. <line id="line4" class="line_3" visibility="visible" style="x1:127px; y1:26px; x2:426px; y2:26px; "/>
  575. </group>
  576. </xhtml:body>
  577. </xhtml:html>