SMMRI03600_시점기록관리통계.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>시점기록관리 통계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <srcformcd/>
  12. <deptcd/>
  13. <drid/>
  14. <drnm/>
  15. <fromdd/>
  16. <todd/>
  17. <searchtype>1</searchtype>
  18. <detldept/>
  19. <staffsign>1</staffsign>
  20. <fromdd1/>
  21. <fromdd2/>
  22. <fromdd3/>
  23. <todd1/>
  24. <todd2/>
  25. <todd3/>
  26. <compterm/>
  27. <compterm1/>
  28. <compterm2/>
  29. <compterm3/>
  30. <intrec>1</intrec>
  31. <ovrrec/>
  32. <nonrec/>
  33. <surgery>1</surgery>
  34. <cnstopflag/>
  35. </cond>
  36. <dtllist/>
  37. <list/>
  38. </main>
  39. <init>
  40. <drflag>
  41. <item>
  42. <name>전체</name>
  43. <id/>
  44. </item>
  45. <item>
  46. <name>스태프</name>
  47. <id>St</id>
  48. </item>
  49. <item>
  50. <name>레지던트</name>
  51. <id>R</id>
  52. </item>
  53. <item>
  54. <name>인턴</name>
  55. <id>I</id>
  56. </item>
  57. </drflag>
  58. <M0501>
  59. </M0501>
  60. <M0502>
  61. </M0502>
  62. <M0503>
  63. </M0503>
  64. <M0504>
  65. <M0504/>
  66. </M0504>
  67. <rspd/>
  68. </init>
  69. <temp>
  70. <userinfo/>
  71. <pid/>
  72. <hngnm/>
  73. <srchcond/>
  74. <autoflag>1</autoflag>
  75. </temp>
  76. <send>
  77. <req>
  78. <srcformcd/>
  79. <deptcd/>
  80. <drflag/>
  81. <drid/>
  82. <ddyn/>
  83. <ddflag/>
  84. <fromdd/>
  85. <todd/>
  86. <btnflag/>
  87. </req>
  88. </send>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. //model.setValue("/root/main/cond/tmpfromdd", getCurrentDate());
  94. //model.setValue("/root/main/cond/tmptodd", getCurrentDate());
  95. //ipt_fromdd.disabled = true; //combo_조회기간_날짜From
  96. //ipt_todd.disabled = true; //combo_조회기간_날짜To
  97. //비교기간설정 조건제어-선택불가
  98. fCtrlCond(true);
  99. if (submit("TRMRI03401")) {
  100. cmb_form.select(0); //combo_서식명
  101. cmb_dept.select(0); //combo_진료과
  102. model.refresh();
  103. }
  104. //기간 설정
  105. model.setValue("/root/main/cond/todd", getCurrentDate().substr(0, 8));
  106. model.setValue("/root/main/cond/fromdd", getCurrentDate().substr(0, 8));
  107. zbcfGetCodeList(new Array("M0501", "M0502", "M0503"), new Array("/root/init/M0501", "/root/init/M0502", "/root/init/M0503"));
  108. cmb_detldept.disabled = true; //분과
  109. /**
  110. * Tee Chart
  111. */
  112. fPreSetGraph();
  113. obj_chart1.Header.Text(0) = "시점기록관리 통계 그래프";
  114. obj_chart1.Aspect.View3D = 0;
  115. ]]>
  116. </script>
  117. <submission id="TRMRI03401" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rspd"/>
  118. <submission id="TRMRI03403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dtllist"/>
  119. <submission id="TRMRI02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/userinfo"/>
  120. <submission id="TRMRI02605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/patinfo"/>
  121. <submission id="TRMRI03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list"/>
  122. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  123. </model>
  124. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  127. <script type="javascript" src="../../../emr/recindxweb/js/SMMRI03600.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/tchartHelper.js"/>
  129. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  130. </xhtml:head>
  131. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  132. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  133. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:209px; height:14px; ">시점기록관리 통계</caption>
  134. </group>
  135. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1185px; height:744px; ">
  136. <group id="group5" style="left:0px; top:10px; width:1185px; height:725px; vertical-align:top; ">
  137. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:280px; height:475px; background-color:#fffbf2; border-color:#ffd799; "/>
  138. <caption id="caption17" class="search_name" style="left:5px; top:128px; width:103px; height:17px; ">작 성 과 :</caption>
  139. <caption id="caption8" class="search_name" style="left:5px; top:103px; width:90px; height:17px; ">서 식 명 :</caption>
  140. <select1 id="cmb_dept" ref="/root/main/cond/deptcd" class="combo_search" navindex="5" appearance="minimal" style="left:95px; top:128px; width:110px; height:19px; ">
  141. <choices>
  142. <itemset nodeset="/root/init/rspd/dept">
  143. <label ref="deptnm"/>
  144. <value ref="deptcd"/>
  145. </itemset>
  146. </choices>
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  150. var deptcd = model.getValue("/root/main/cond/deptcd");
  151. if(deptcd == "2040000000" || deptcd == "2110000000" || deptcd == "2100000000")
  152. {
  153. cmb_detldept.disabled = false;
  154. //미비과에 따라 미비분과 combo정보를 변경
  155. if(deptcd == "2040000000"){ //외과
  156. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  157. }else if(deptcd == "2100000000"){ //산부인과
  158. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  159. }else if(deptcd == "2110000000"){ //소아과
  160. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  161. }
  162. cmb_detldept.refresh();
  163. cmb_detldept.select(0);
  164. //전체가 없을 경우만 추가
  165. if( cmb_detldept.label != "전체" ) {
  166. addComboItem("cmb_detldept", "전체", "", "above");
  167. }
  168. cmb_detldept.select(0);
  169. cmb_detldept.refresh();
  170. }
  171. else
  172. {
  173. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0504/M0504";
  174. model.setValue("/root/main/cond/detldept", "");
  175. cmb_detldept.disabled = true;
  176. cmb_detldept.refresh();
  177. }
  178. ]]>
  179. </script>
  180. </select1>
  181. <select1 id="cmb_form" ref="/root/main/cond/srcformcd" class="combo_search" navindex="1" appearance="minimal" style="left:95px; top:103px; width:177px; height:19px; ">
  182. <choices>
  183. <itemset nodeset="/root/init/rspd/form/">
  184. <label ref="srcformnm"/>
  185. <value ref="srcformcd"/>
  186. </itemset>
  187. </choices>
  188. </select1>
  189. <button id="btn_PatListSel" class="btn1_letter2" navindex="6" style="left:208px; top:447px; width:56px; height:22px; ">
  190. <caption>조회</caption>
  191. <script type="javascript" ev:event="onclick">
  192. <![CDATA[
  193. fSearch();
  194. ]]>
  195. </script>
  196. </button>
  197. <caption id="caption1" class="search_name" style="left:5px; top:34px; width:86px; height:17px; ">작성현황 :</caption>
  198. <select1 id="radio1" ref="/root/main/cond/searchtype" overflow="visible" appearance="full" vcellspacing="3" style="left:95px; top:32px; width:175px; height:61px; border-style:none; ">
  199. <choices>
  200. <item>
  201. <label>서식별.진료과별</label>
  202. <value>1</value>
  203. </item>
  204. <item>
  205. <label>기간별.서식별</label>
  206. <value>2</value>
  207. </item>
  208. <item>
  209. <label>과별.의사별</label>
  210. <value>3</value>
  211. </item>
  212. </choices>
  213. <script type="javascript" ev:event="onclick">
  214. <![CDATA[
  215. //그리드 초기화
  216. model.removenode("/root/main/list");
  217. clearTChart(obj_chart1); //차트 초기화.
  218. obj_chart1.Header.Text(0) = "시점기록관리 통계 그래프";
  219. cap_cmts.value = ""; //서식의 주석
  220. model.refresh();
  221. //기간별.서식별 일 경우 - 비교기간설정 선택 가능
  222. if( model.getValue("/root/main/cond/searchtype") == "2" ) {
  223. //chk_compterm.disabled = false; //비교기간설정 선택 가능
  224. fCtrlCond(false);
  225. } else {
  226. //chk_compterm.disabled = true; //비교기간설정 선택 불가능
  227. fCtrlCond(true);
  228. }
  229. //작성현황별로 그리드 컬럼 제어
  230. if( model.getValue("/root/main/cond/searchtype") == "1" ) { //서식별.진료과별
  231. btn_graph.visible = true; //그래프Tab
  232. grd_list.colWidth(0) = 0; //서식명
  233. grd_list.colWidth(1) = 0; //기준
  234. grd_list.colWidth(2) = 0; //기간구분
  235. grd_list.colWidth(3) = 122; //과
  236. grd_list.colWidth(4) = 0; //의사
  237. grd_list.colWidth(5) = 0; //의사명
  238. grd_list.colWidth(6) = 100; //대상건수
  239. grd_list.colWidth(7) = 100; //작성
  240. grd_list.colWidth(8) = 92; //시점내작성
  241. grd_list.colWidth(9) = 92; //시점이후작성
  242. grd_list.colWidth(10) = 92; //미작성
  243. grd_list.colWidth(11) = 92; //작성율
  244. grd_list.colWidth(12) = 92; //시점내작성율
  245. grd_list.colWidth(13) = 92; //시점이후작성율
  246. } else if( model.getValue("/root/main/cond/searchtype") == "2" ) { //기간별.서식별
  247. btn_graph.visible = true; //그래프Tab
  248. grd_list.colWidth(0) = 150; //서식명
  249. grd_list.colWidth(1) = 72; //기준
  250. grd_list.colWidth(2) = 178; //기간구분
  251. grd_list.colWidth(3) = 0; //과
  252. grd_list.colWidth(4) = 0; //의사
  253. grd_list.colWidth(5) = 0; //의사명
  254. grd_list.colWidth(6) = 63; //대상건수
  255. grd_list.colWidth(7) = 63; //작성
  256. grd_list.colWidth(8) = 70; //시점내작성
  257. grd_list.colWidth(9) = 79; //시점이후작성
  258. grd_list.colWidth(10) = 60; //미작성
  259. grd_list.colWidth(11) = 60; //작성율
  260. grd_list.colWidth(12) = 79; //시점내작성율
  261. grd_list.colWidth(13) = 0; //시점이후작성율
  262. } else { //과별.의사별
  263. model.toggle("tong"); //통계로 탭 토글.
  264. btn_graph.visible = false; //그래프Tab
  265. btn_tong.selected = true;
  266. btn_excl.visible = true; //엑셀버튼 enable
  267. btn_prt.visible = true; //출력버튼 enable
  268. grd_list.colWidth(0) = 0; //서식명
  269. grd_list.colWidth(1) = 0; //기준
  270. grd_list.colWidth(2) = 0; //기간구분
  271. grd_list.colWidth(3) = 122; //과
  272. grd_list.colWidth(4) = 52; //의사
  273. grd_list.colWidth(5) = 100; //의사명
  274. grd_list.colWidth(6) = 150; //대상건수
  275. grd_list.colWidth(7) = 0; //작성
  276. grd_list.colWidth(8) = 150; //시점내작성
  277. grd_list.colWidth(9) = 150; //시점이후작성
  278. grd_list.colWidth(10) = 150; //미작성
  279. grd_list.colWidth(11) = 0; //작성율
  280. grd_list.colWidth(12) = 0; //시점내작성율
  281. grd_list.colWidth(13) = 0; //시점이후작성율
  282. }
  283. model.refresh();
  284. ]]>
  285. </script>
  286. </select1>
  287. <caption id="caption2" class="search_name" style="left:5px; top:183px; width:93px; height:17px; ">작성구분 :</caption>
  288. <select1 id="radio4" ref="/root/main/cond/staffsign" overflow="visible" appearance="full" cols="2" style="left:95px; top:183px; width:165px; height:17px; border-style:none; ">
  289. <choices>
  290. <item>
  291. <label>작 성</label>
  292. <value>1</value>
  293. </item>
  294. <item>
  295. <label>StaffSign작성</label>
  296. <value>2</value>
  297. </item>
  298. </choices>
  299. </select1>
  300. <caption id="caption5" class="search_name" style="left:5px; top:232px; width:90px; height:17px; ">분과구분 :</caption>
  301. <caption id="caption9" class="search_name" style="left:5px; top:258px; width:86px; height:17px; ">기 간 :</caption>
  302. <caption id="caption14" class="search_name" style="left:5px; top:153px; width:103px; height:17px; ">작성의사 :</caption>
  303. <input id="ipt_drid" ref="/root/main/cond/drnm" class="input" navindex="2" autonext="false" imemode="hangul" style="left:95px; top:153px; width:178px; height:19px; ">
  304. <script type="javascript" ev:event="onkeydown">
  305. <![CDATA[
  306. if(event.keyCode == 13){
  307. model.setValue("/root/main/cond/drid", ipt_drid.currentText);
  308. var drid = ipt_drid.currentText;
  309. if(isNumber(drid.charAt(0)) == "Y"){
  310. fReqGetUnPrepDrSmplList("id", drid);
  311. }else{
  312. fReqGetUnPrepDrSmplList("nm", drid);
  313. }
  314. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  315. if(nodelist.length == 1){
  316. model.setValue("/root/main/cond/drid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  317. model.setValue("/root/main/cond/drnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  318. } else if(nodelist.length > 1) {
  319. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  320. setParameter("SPMRI02900_orddrnm", drid );
  321. modal("SPMRI02900");
  322. if(getParameter("SPMRI02900_useyn")=="Y"){
  323. var doctinfo = getParameter("SPMRI02900_rtnparam");
  324. doctinfo = doctinfo.split("^");
  325. model.setValue("/root/main/cond/drid", doctinfo[3]);
  326. model.setValue("/root/main/cond/drnm", doctinfo[4]);
  327. }
  328. }else{
  329. messageBox("의사 정보가", "I004");
  330. return;
  331. }
  332. model.refresh();
  333. }
  334. ]]>
  335. </script>
  336. <script type="javascript" ev:event="DOMFocusOut">
  337. <![CDATA[
  338. if(ipt_drid.value == ""){
  339. model.setValue("/root/main/cond/drnm", "");
  340. model.setValue("/root/main/cond/drid", "");
  341. model.refresh();
  342. }
  343. ]]>
  344. </script>
  345. </input>
  346. <button id="btn_tong" class="btn_sw" navindex="10" group="tab" selected="true" style="left:288px; top:1px; width:47px; height:22px; ">
  347. <caption>통계</caption>
  348. <script type="javascript" ev:event="onclick">
  349. <![CDATA[
  350. model.toggle("tong");
  351. btn_excl.visible = true; //엑셀버튼 enable
  352. btn_prt.visible = true; //출력버튼 enable
  353. model.refresh();
  354. ]]>
  355. </script>
  356. </button>
  357. <button id="btn_graph" class="btn_sw" navindex="10" group="tab" selected="false" style="left:336px; top:1px; width:54px; height:22px; ">
  358. <caption>그래프</caption>
  359. <script type="javascript" ev:event="onclick">
  360. <![CDATA[
  361. model.toggle("graph");
  362. btn_excl.visible = false; //엑셀버튼 disable
  363. btn_prt.visible = false; //출력버튼 disable
  364. model.refresh();
  365. ]]>
  366. </script>
  367. </button>
  368. <button id="btn_prt" class="btn2_letter2" style="left:1092px; top:1px; width:42px; height:19px; ">
  369. <caption>출력</caption>
  370. <script type="javascript" ev:event="DOMActivate">
  371. <![CDATA[
  372. //fPrntPreview();
  373. ]]>
  374. </script>
  375. </button>
  376. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:480px; width:280px; height:240px; background-color:#fffbf2; border-color:#ffd799; "/>
  377. <input id="ipt_fromdd3" ref="/root/main/cond/fromdd3" class="input_search" navindex="3" inputtype="date" style="left:146px; top:391px; width:90px; height:19px; "/>
  378. <input id="ipt_todd3" ref="/root/main/cond/todd3" class="input_search" navindex="3" inputtype="date" style="left:146px; top:411px; width:90px; height:19px; "/>
  379. <caption id="caption10" style="left:78px; top:281px; width:15px; height:21px; ">~</caption>
  380. <caption id="caption11" style="left:131px; top:412px; width:15px; height:21px; ">~</caption>
  381. <caption id="caption3" style="left:131px; top:326px; width:15px; height:21px; ">~</caption>
  382. <select id="chk_compterm1" ref="/root/main/cond/compterm1" overflow="visible" appearance="full" style="left:93px; top:305px; width:50px; height:20px; border-style:none; ">
  383. <choices>
  384. <item>
  385. <label>비교1</label>
  386. <value>1</value>
  387. </item>
  388. </choices>
  389. <script type="javascript" ev:event="onclick">
  390. <![CDATA[
  391. fCtrlCompTerm("1");
  392. ]]>
  393. </script>
  394. </select>
  395. <caption id="caption4" style="left:131px; top:369px; width:15px; height:21px; ">~</caption>
  396. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_search" navindex="3" inputtype="date" style="left:95px; top:258px; width:90px; height:19px; "/>
  397. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_search" navindex="3" inputtype="date" style="left:95px; top:280px; width:90px; height:19px; "/>
  398. <input id="ipt_fromdd1" ref="/root/main/cond/fromdd1" class="input_search" navindex="3" inputtype="date" style="left:146px; top:305px; width:90px; height:19px; "/>
  399. <input id="ipt_todd1" ref="/root/main/cond/todd1" class="input_search" navindex="3" inputtype="date" style="left:146px; top:325px; width:90px; height:19px; "/>
  400. <input id="ipt_fromdd2" ref="/root/main/cond/fromdd2" class="input_search" navindex="3" inputtype="date" style="left:146px; top:348px; width:90px; height:19px; "/>
  401. <input id="ipt_todd2" ref="/root/main/cond/todd2" class="input_search" navindex="3" inputtype="date" style="left:146px; top:368px; width:90px; height:19px; "/>
  402. <caption id="caption12" class="tit_2" style="left:10px; top:13px; width:140px; height:13px; ">통계 조회</caption>
  403. <select id="chk_compterm2" ref="/root/main/cond/compterm2" overflow="visible" appearance="full" style="left:93px; top:349px; width:50px; height:20px; border-style:none; ">
  404. <choices>
  405. <item>
  406. <label>비교2</label>
  407. <value>1</value>
  408. </item>
  409. </choices>
  410. <script type="javascript" ev:event="onclick">
  411. <![CDATA[
  412. fCtrlCompTerm("2");
  413. ]]>
  414. </script>
  415. </select>
  416. <select id="chk_compterm3" ref="/root/main/cond/compterm3" overflow="visible" appearance="full" style="left:93px; top:391px; width:50px; height:20px; border-style:none; ">
  417. <choices>
  418. <item>
  419. <label>비교3</label>
  420. <value>1</value>
  421. </item>
  422. </choices>
  423. <script type="javascript" ev:event="onclick">
  424. <![CDATA[
  425. fCtrlCompTerm("3");
  426. ]]>
  427. </script>
  428. </select>
  429. <select1 id="cmb_detldept" ref="/root/main/cond/detldept" class="combo_search" navindex="5" appearance="minimal" style="left:208px; top:128px; width:64px; height:19px; ">
  430. <choices>
  431. <itemset>
  432. <label ref="cdnm"/>
  433. <value ref="cdid"/>
  434. </itemset>
  435. </choices>
  436. </select1>
  437. <select id="chk_compterm" ref="/root/main/cond/compterm" disabled="true" visibility="hidden" overflow="visible" appearance="full" style="left:15px; top:650px; width:105px; height:20px; border-style:none; ">
  438. <choices>
  439. <item>
  440. <label>비교기간설정</label>
  441. <value>1</value>
  442. </item>
  443. </choices>
  444. <script type="javascript" ev:event="onclick">
  445. <![CDATA[
  446. if( model.getValue("/root/main/cond/compterm") == "1" ) { //비교기간설정 Selected
  447. fCtrlCond(false);
  448. } else {
  449. fCtrlCond(true);
  450. }
  451. ]]>
  452. </script>
  453. </select>
  454. <line id="line16" style="x1:200px; y1:470px; x2:200px; y2:445px; border-color:#ffe4bb; border-left-style:solid; "/>
  455. <select id="chk_intrec" ref="/root/main/cond/intrec" overflow="visible" appearance="full" style="left:95px; top:518px; width:80px; height:20px; border-style:none; ">
  456. <choices>
  457. <item>
  458. <label>시점내작성</label>
  459. <value>1</value>
  460. </item>
  461. </choices>
  462. <script type="javascript" ev:event="onclick">
  463. <![CDATA[
  464. if( model.getValue("/root/main/cond/searchtype") == "3" ) { //과별.의사별은 그래프처리 없음.
  465. return;
  466. } else if( model.getValue("/root/main/cond/searchtype") == "1" ) { //서식별.진료과별.
  467. fProcGraph1();
  468. } else if( model.getValue("/root/main/cond/searchtype") == "2" ) { //기간별.서식별
  469. fProcGraph2();
  470. }
  471. //fSearch();
  472. btn_tong.selected = false; //통계탭버튼
  473. btn_graph.selected = true; //그래프탭버튼
  474. model.toggle("graph");
  475. model.refresh();
  476. ]]>
  477. </script>
  478. </select>
  479. <select id="chk_ovrrec" ref="/root/main/cond/ovrrec" overflow="visible" appearance="full" style="left:95px; top:540px; width:90px; height:20px; border-style:none; ">
  480. <choices>
  481. <item>
  482. <label>시점이후작성</label>
  483. <value>1</value>
  484. </item>
  485. </choices>
  486. <script type="javascript" ev:event="onclick">
  487. <![CDATA[
  488. if( model.getValue("/root/main/cond/searchtype") == "3" ) { //과별.의사별은 그래프처리 없음.
  489. return;
  490. } else if( model.getValue("/root/main/cond/searchtype") == "1" ) { //서식별.진료과별.
  491. fProcGraph1();
  492. } else if( model.getValue("/root/main/cond/searchtype") == "2" ) { //기간별.서식별
  493. fProcGraph2();
  494. }
  495. //fSearch();
  496. btn_tong.selected = false; //통계탭버튼
  497. btn_graph.selected = true; //그래프탭버튼
  498. model.toggle("graph");
  499. model.refresh();
  500. ]]>
  501. </script>
  502. </select>
  503. <select id="chk_nonrec" ref="/root/main/cond/nonrec" overflow="visible" appearance="full" style="left:95px; top:562px; width:60px; height:20px; border-style:none; ">
  504. <choices>
  505. <item>
  506. <label>미작성</label>
  507. <value>1</value>
  508. </item>
  509. </choices>
  510. <script type="javascript" ev:event="onclick">
  511. <![CDATA[
  512. if( model.getValue("/root/main/cond/searchtype") == "3" ) { //과별.의사별은 그래프처리 없음.
  513. return;
  514. } else if( model.getValue("/root/main/cond/searchtype") == "2" && chk_intrec.value == "" && chk_ovrrec.value == "" && chk_nonrec.value == "1" ) { //기간별.서식별
  515. return;
  516. } else if( model.getValue("/root/main/cond/searchtype") == "1" ) { //서식별.진료과별.
  517. fProcGraph1();
  518. } else if( model.getValue("/root/main/cond/searchtype") == "2" ) { //기간별.서식별
  519. fProcGraph2();
  520. }
  521. //fSearch();
  522. btn_tong.selected = false; //통계탭버튼
  523. btn_graph.selected = true; //그래프탭버튼
  524. model.toggle("graph");
  525. model.refresh();
  526. ]]>
  527. </script>
  528. </select>
  529. <caption id="caption13" class="tit_2" style="left:10px; top:495px; width:95px; height:13px; ">그래프 조회</caption>
  530. <caption id="caption7" class="search_name" style="left:5px; top:518px; width:93px; height:17px; ">시점구분 :</caption>
  531. <select1 id="radio2" ref="/root/main/cond/surgery" overflow="visible" appearance="full" cols="2" style="left:95px; top:233px; width:150px; height:17px; border-style:none; ">
  532. <choices>
  533. <item>
  534. <label>외과계</label>
  535. <value>1</value>
  536. </item>
  537. <item>
  538. <label>외과 분과별</label>
  539. <value>2</value>
  540. </item>
  541. </choices>
  542. </select1>
  543. <switch id="switch1" style="left:285px; top:25px; width:895px; height:647px; ">
  544. <case id="tong" selected="true">
  545. <datagrid id="grd_list" nodeset="/root/main/list/list" caption="서식명^기준^기간구분^과^직종^성명^대상건수^작성^시점내작성^시점이후작성^미작성^작성율^시점내작성율^시점이후작성율^미작성율" colsep="^" colwidth="0, 0, 0, 122, 0, 0, 100, 100, 92, 92, 90, 92, 92, 92, 0" defaultrows="0" rowsep="|" subtotalposition="below" style="left:0px; top:0px; width:893px; height:645px; ">
  546. <col ref="formnm" style="text-align:left; margin-left:10; "/>
  547. <col ref="reclimitenm" style="text-align:left; margin-left:10; "/>
  548. <col ref="termtype" style="text-align:left; margin-left:10; "/>
  549. <col ref="recorddeptnm" style="text-align:left; margin-left:10; "/>
  550. <col ref="doctkindflag" style="text-align:left; margin-left:10; "/>
  551. <col ref="recorddrnm" style="text-align:left; margin-left:10; "/>
  552. <col ref="totcnt" style="text-align:right; margin-right:10; "/>
  553. <col ref="reccnt" style="text-align:right; margin-right:10; "/>
  554. <col ref="intcnt" style="text-align:right; margin-right:10; "/>
  555. <col ref="ovrcnt" style="text-align:right; margin-right:10; "/>
  556. <col ref="noncnt" style="text-align:right; margin-right:10; "/>
  557. <col ref="recrate" style="text-align:right; margin-right:10; "/>
  558. <col ref="intrate" style="text-align:right; margin-right:10; "/>
  559. <col ref="ovrrate" style="text-align:right; margin-right:10; "/>
  560. <col ref="nonrate" style="text-align:right; margin-right:10; "/>
  561. </datagrid>
  562. </case>
  563. <case id="graph">
  564. <object id="obj_chart1" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" style="left:0px; top:0px; width:893px; height:645px; "/>
  565. </case>
  566. </switch>
  567. <caption id="caption15" class="search_name" style="left:5px; top:208px; width:90px; height:17px; ">수술구분 :</caption>
  568. <select id="chk_cnstopflag" ref="/root/main/cond/cnstopflag" overflow="visible" appearance="full" style="left:95px; top:209px; width:145px; height:20px; border-style:none; ">
  569. <choices>
  570. <item>
  571. <label>협진수술 포함</label>
  572. <value>1</value>
  573. </item>
  574. </choices>
  575. </select>
  576. </group>
  577. <caption id="cap_cmts" style="left:285px; top:685px; width:895px; height:45px; font-size:9pt; color:#4d4d4d; text-align:left; padding-left:5; background-color:#f2f2f2; border-color:#c0c0c0; border-style:solid; "/>
  578. <line id="line5" class="line_1" style="x1:286px; y1:33px; x2:1180px; y2:33px; "/>
  579. <button id="btn_excl" class="btn2_letter2" style="left:1137px; top:11px; width:42px; height:19px; ">
  580. <caption>엑셀</caption>
  581. <script type="javascript" ev:event="DOMActivate">
  582. <![CDATA[
  583. fSaveExcel(grd_list);
  584. ]]>
  585. </script>
  586. </button>
  587. </group>
  588. </xhtml:body>
  589. </xhtml:html>