SPMRI02800_과별통계.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <dayflag/>
  12. <srchflag/>
  13. <fromdd/>
  14. <todd/>
  15. <doctkindflag/>
  16. <unprepdeptcd/>
  17. <dschdeptcd/>
  18. <indschflag>D</indschflag>
  19. <unprepstat/>
  20. <unprepstatlist/>
  21. <formcd/>
  22. <unprepitemcd/>
  23. <doctkindflaglist/>
  24. <staffsignflag/>
  25. </cond>
  26. <unprepdrstatisitc>
  27. <unprepdrstatisitc>
  28. <depthngnm/>
  29. <t1/>
  30. <t2/>
  31. <t3/>
  32. <t4/>
  33. <t5/>
  34. <t6/>
  35. </unprepdrstatisitc>
  36. </unprepdrstatisitc>
  37. <prntcond>
  38. <prnttitl/>
  39. <condtitl/>
  40. <fromdd/>
  41. <todd/>
  42. <insttitl/>
  43. </prntcond>
  44. </main>
  45. <send>
  46. <reqdata/>
  47. <savedata/>
  48. </send>
  49. <hidden>
  50. <docinfo/>
  51. </hidden>
  52. <init>
  53. <orddept/>
  54. </init>
  55. </root>
  56. </instance>
  57. <script type="javascript" ev:event="xforms-ready">
  58. <![CDATA[
  59. model.removeNodeset("/root/main/unprepdrstatisitc/unprepdrstatisitc");
  60. fGetDeptCodeComboList("/root/send/reqdata" , "/root/init/orddept", "A");
  61. addComboItem("cmb_dschdeptcd" , "전체", "-", "above");
  62. fReqGetFormList(); //서식명 조회
  63. model.setValue("/root/main/cond/formcd" ,"-");
  64. fReqGetFormItemList(cmb_formcd.value); //항목명 조회
  65. model.setValue("/root/main/cond/unprepitemcd" ,"-");
  66. chk_tot.select(0);
  67. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  68. model.setValue("/root/main/cond/todd" , getCurrentDate());
  69. model.setValue("/root/main/cond/dschdeptcd" , "-");
  70. model.setValue("/root/main/cond/unprepdeptcd", "-");
  71. model.setValue("/root/main/cond/unprepstat" , "1 3");
  72. model.setValue("/root/main/cond/srchflag" , "dsch");
  73. model.refresh();
  74. ]]>
  75. </script>
  76. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  77. <submission id="TRMRI02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/unprepdrstatisitc"/>
  78. <submission id="TRMRI01804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/docinfo/unprepformcd"/>
  79. <submission id="TRMRI01805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/docinfo/itemcd"/>
  80. </model>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript">
  85. <![CDATA[
  86. /**
  87. * @desc 부서콤보 조회
  88. */
  89. function fGetDeptCodeComboList(ref, rsltref, orddeptflag, stnddd){
  90. var mmb_rsltref = "/root/hidden/mmb/orddept";
  91. model.removeNode(mmb_rsltref);
  92. model.makeNode(mmb_rsltref);
  93. model.removeNode(ref);
  94. model.makeValue(ref + "/orddeptflag", orddeptflag);
  95. if(stnddd != ""){
  96. model.makeValue(ref + "/stnddd", stnddd);
  97. }
  98. if(submit("TRMMB04101", "false", ref, mmb_rsltref)==true){
  99. model.copyNode(rsltref, mmb_rsltref);
  100. model.removeNode(mmb_rsltref);
  101. }
  102. model.refresh();
  103. }
  104. /**
  105. * @desc 서식명 조회
  106. */
  107. function fReqGetFormList(){
  108. if(submit("TRMRI01804")){ //서식명콤보 조회
  109. addComboItem("cmb_formcd","전체","-");
  110. }
  111. }
  112. /**
  113. * @desc 미비항목코드 조회
  114. */
  115. function fReqGetFormItemList(formcd){
  116. model.removeNodeset("/root/send/reqdata");
  117. model.makeNode("/root/send/reqdata");
  118. model.makeValue("/root/send/reqdata/formcd", formcd);
  119. if(submit("TRMRI01805")){
  120. addComboItem("cmb_itemcd","전체","-");
  121. }
  122. }
  123. ]]>
  124. </script>
  125. </xhtml:head>
  126. <xhtml:body guideline="2,770;1,1195;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  127. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1195px; height:100px; color:#3366ff; "/>
  128. <caption id="caption20" class="tit_2" style="left:5px; top:109px; width:108px; height:13px; ">과별통계결과</caption>
  129. <line id="line1" class="line_1" style="x1:0px; y1:125px; x2:1194px; y2:125px; "/>
  130. <button id="btn_req" class="btn1_letter2" style="left:1132px; top:40px; width:56px; height:22px; ">
  131. <caption>조회</caption>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. //재원구분이 응급, 외래인 경우 조회하지 않도록 처리
  135. var indschflag = model.getValue("/root/main/cond/indschflag");
  136. if(indschflag == "O" || indschflag == "E"){
  137. return;
  138. }
  139. //조회조건 미비상태값 설정
  140. var unprepstat = model.getValue("/root/main/cond/unprepstat");
  141. if(unprepstat != "-"){
  142. var unprepstatArray = unprepstat.split(' ');
  143. var cond = "";
  144. for(var i = 0; i < unprepstatArray.length; i++){
  145. cond += unprepstatArray[i] + '\',\'';
  146. }
  147. model.setValue("/root/main/cond/unprepstatlist", cond.substring(0, cond.length - 3));
  148. }
  149. //조회조건 의사구분값 설정
  150. var doctkindflag = model.getValue("/root/main/cond/doctkindflag");
  151. if(doctkindflag != "-"){
  152. var doctkindflagArray = doctkindflag.split(' ');
  153. var cond = "";
  154. for(var i = 0; i < doctkindflagArray.length; i++){
  155. cond += doctkindflagArray[i] + '\',\'';
  156. }
  157. model.setValue("/root/main/cond/doctkindflaglist", cond.substring(0, cond.length - 3));
  158. }
  159. model.copyNode("/root/send/reqdata", "/root/main/cond");
  160. var staffsignflag = model.getValue("/root/main/cond/staffsignflag");
  161. if(staffsignflag == "Ss"){
  162. model.setValue("/root/send/reqdata/doctkindflag", "Ss");
  163. }
  164. if(submit("TRMRI02801")){
  165. grd_unpreplist.mergeCells = "bycol";
  166. grd_unpreplist.mergeCol(grd_unpreplist.colRef("supdepthngnm")) = true;
  167. grd_unpreplist.mergeCol(grd_unpreplist.colRef("underdepthngnm")) = true;
  168. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t1")) = false;
  169. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t2")) = false;
  170. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t3")) = false;
  171. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t4")) = false;
  172. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t5")) = false;
  173. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t6")) = false;
  174. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t7")) = false;
  175. grd_unpreplist.mergeCol(grd_unpreplist.colRef("t8")) = false;
  176. grd_unpreplist.merge();
  177. }
  178. ]]>
  179. </script>
  180. </button>
  181. <line id="line5" style="x1:1125px; y1:7px; x2:1125px; y2:92px; border-color:#ffe4bb; border-left-style:solid; "/>
  182. <select id="chk_unprepflagA" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:97px; top:53px; width:45px; height:20px; border-style:none; ">
  183. <choices>
  184. <item>
  185. <label>전체</label>
  186. <value>-</value>
  187. </item>
  188. </choices>
  189. <script type="javascript" ev:event="xforms-select">
  190. <![CDATA[
  191. chk_unprepflagB.disabled = true;
  192. chk_unprepflagB.deselect(0);
  193. chk_unprepflagC.disabled = true;
  194. chk_unprepflagC.deselect(0);
  195. chk_unprepflagD.disabled = true;
  196. chk_unprepflagD.deselect(0);
  197. chk_unprepflagR.disabled = true;
  198. chk_unprepflagR.deselect(0);
  199. chk_unprepflagS.disabled = true;
  200. chk_unprepflagS.deselect(0);
  201. ]]>
  202. </script>
  203. <script type="javascript" ev:event="xforms-deselect">
  204. <![CDATA[
  205. chk_unprepflagB.disabled = false;
  206. chk_unprepflagC.disabled = false;
  207. chk_unprepflagD.disabled = false;
  208. chk_unprepflagR.disabled = false;
  209. chk_unprepflagS.disabled = false;
  210. ]]>
  211. </script>
  212. </select>
  213. <select id="chk_unprepflagR" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:340px; top:53px; width:56px; height:20px; border-style:none; ">
  214. <choices>
  215. <item>
  216. <label>재미비</label>
  217. <value>3</value>
  218. </item>
  219. </choices>
  220. <script type="javascript" ev:event="xforms-select">
  221. <![CDATA[
  222. chk_unprepflagA.deselect(0);
  223. ]]>
  224. </script>
  225. </select>
  226. <select id="chk_unprepflagB" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:143px; top:53px; width:65px; height:20px; border-style:none; ">
  227. <choices>
  228. <item>
  229. <label>배치미비</label>
  230. <value>0</value>
  231. </item>
  232. </choices>
  233. <script type="javascript" ev:event="xforms-select">
  234. <![CDATA[
  235. chk_unprepflagA.deselect(0);
  236. ]]>
  237. </script>
  238. </select>
  239. <select id="chk_unprepflagS" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:397px; top:53px; width:46px; height:20px; border-style:none; ">
  240. <choices>
  241. <item>
  242. <label>완료</label>
  243. <value>4</value>
  244. </item>
  245. </choices>
  246. <script type="javascript" ev:event="xforms-select">
  247. <![CDATA[
  248. chk_unprepflagA.deselect(0);
  249. ]]>
  250. </script>
  251. </select>
  252. <select id="chk_unprepflagC" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:208px; top:53px; width:66px; height:20px; border-style:none; ">
  253. <choices>
  254. <item>
  255. <label>미비확인</label>
  256. <value>1</value>
  257. </item>
  258. </choices>
  259. <script type="javascript" ev:event="xforms-select">
  260. <![CDATA[
  261. chk_unprepflagA.deselect(0);
  262. ]]>
  263. </script>
  264. </select>
  265. <select id="chk_unprepflagD" ref="/root/main/cond/unprepstat" overflow="visible" appearance="full" style="left:274px; top:53px; width:65px; height:20px; color:transparent; border-style:none; ">
  266. <choices>
  267. <item>
  268. <label>의사확인</label>
  269. <value>2</value>
  270. </item>
  271. </choices>
  272. <script type="javascript" ev:event="xforms-select">
  273. <![CDATA[
  274. chk_unprepflagA.deselect(0);
  275. ]]>
  276. </script>
  277. </select>
  278. <select1 id="cmb_inoutddflag" ref="/root/main/cond/srchflag" disabled="true" appearance="minimal" style="left:170px; top:76px; width:78px; height:19px; ">
  279. <choices>
  280. <item>
  281. <label>퇴원일자</label>
  282. <value>dsch</value>
  283. </item>
  284. <item>
  285. <label>입원일자</label>
  286. <value>indd</value>
  287. </item>
  288. <item>
  289. <label>진료일자</label>
  290. <value>orddd</value>
  291. </item>
  292. </choices>
  293. </select1>
  294. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/dayflag" style="left:90px; top:75px; width:30px; height:20px; ">
  295. <script type="javascript" ev:event="xforms-value-changed">
  296. <![CDATA[
  297. if(bool1.value == "Y"){
  298. cmb_inoutddflag.disabled = false;
  299. ipt_fromdd.disabled = false;
  300. ipt_todd.disabled = false;
  301. }else{
  302. cmb_inoutddflag.disabled = true;
  303. ipt_fromdd.disabled = true;
  304. ipt_todd.disabled = true;
  305. }
  306. model.refresh();
  307. ]]>
  308. </script>
  309. </bool>
  310. <caption id="caption1" style="left:340px; top:78px; width:15px; height:15px; ">~</caption>
  311. <select1 id="rdo_inoutflag" ref="/root/main/cond/indschflag" appearance="full" cellspacing="3" cols="4" rows="1" overflow="visible" style="left:97px; top:30px; width:199px; height:20px; border-style:none; ">
  312. <choices>
  313. <item>
  314. <label>퇴원</label>
  315. <value>D</value>
  316. </item>
  317. <item>
  318. <label>재원</label>
  319. <value>I</value>
  320. </item>
  321. <item>
  322. <label>외래</label>
  323. <value>O</value>
  324. </item>
  325. <item>
  326. <label>응급실</label>
  327. <value>E</value>
  328. </item>
  329. </choices>
  330. <script type="javascript" ev:event="xforms-value-changed">
  331. <![CDATA[
  332. //재원구분 퇴원
  333. if(rdo_inoutflag.value == "D"){
  334. model.setValue("/root/main/cond/srchflag", "dsch");
  335. }else if(rdo_inoutflag.value == "I"){
  336. model.setValue("/root/main/cond/srchflag", "indd");
  337. }else if(rdo_inoutflag.value == "O"){
  338. model.setValue("/root/main/cond/srchflag", "orddd");
  339. }else if(rdo_inoutflag.value == "E"){
  340. model.setValue("/root/main/cond/srchflag", "orddd");
  341. }
  342. model.refresh();
  343. ]]>
  344. </script>
  345. </select1>
  346. <caption id="caption2" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">재원구분 :</caption>
  347. <caption id="caption4" class="search_name" style="left:10px; top:52px; width:86px; height:17px; ">미비구분 :</caption>
  348. <caption id="cap_reqflag" class="search_name" style="left:10px; top:76px; width:86px; height:17px; ">조회구분 :</caption>
  349. <input id="ipt_todd" ref="/root/main/cond/todd" disabled="true" inputtype="date" style="left:351px; top:76px; width:90px; height:19px; "/>
  350. <caption id="caption15" style="left:115px; top:76px; width:50px; height:20px; ">날짜조회</caption>
  351. <caption id="caption6" class="search_name" style="left:10px; top:8px; width:99px; height:17px; ">의사구분 :</caption>
  352. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" disabled="true" inputtype="date" style="left:250px; top:76px; width:90px; height:19px; "/>
  353. <caption id="caption3" class="search_name" style="left:479px; top:7px; width:75px; height:17px; ">퇴원과 :</caption>
  354. <caption id="caption5" class="search_name" style="left:710px; top:7px; width:75px; height:17px; ">미비과 :</caption>
  355. <select1 id="cmb_dschdeptcd" ref="/root/main/cond/dschdeptcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:554px; top:7px; width:140px; height:19px; ">
  356. <choices>
  357. <itemset nodeset="/root/init/orddept/dept">
  358. <label ref="depthngnm"/>
  359. <value ref="deptcd"/>
  360. </itemset>
  361. </choices>
  362. <script type="javascript" ev:event="xforms-select">
  363. <![CDATA[
  364. ]]>
  365. </script>
  366. </select1>
  367. <select1 id="cmb_unprepdeptcd" ref="/root/main/cond/unprepdeptcd" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:785px; top:7px; width:137px; height:19px; ">
  368. <choices>
  369. <itemset nodeset="/root/init/orddept/dept">
  370. <label ref="depthngnm"/>
  371. <value ref="deptcd"/>
  372. </itemset>
  373. </choices>
  374. <script type="javascript" ev:event="xforms-select">
  375. <![CDATA[
  376. ]]>
  377. </script>
  378. </select1>
  379. <button id="button1" class="btn2_letter2" style="left:1104px; top:103px; width:42px; height:19px; ">
  380. <caption>출력</caption>
  381. <script type="javascript" ev:event="DOMActivate">
  382. <![CDATA[
  383. var doctkindflag = model.getValue("/root/main/cond/doctkindflag");
  384. if(doctkindflag != "-"){
  385. var doctkindflag = chk_staff.value;
  386. var re = /St/i;
  387. var r = doctkindflag.search(re);
  388. var titl = "(";
  389. if(r != -1){
  390. titl += "Staff";
  391. }
  392. var re = /R/i;
  393. var r = doctkindflag.search(re);
  394. if(r != -1){
  395. if(titl == "(")
  396. {
  397. titl += "Resident";
  398. }
  399. else
  400. {
  401. titl += "+Resident";
  402. }
  403. }
  404. var re = /I/i;
  405. var r = doctkindflag.search(re);
  406. if(r != -1){
  407. if(titl == "(")
  408. {
  409. titl += "Intern";
  410. }
  411. else
  412. {
  413. titl += "+Intern";
  414. }
  415. }
  416. titl += ")◈";
  417. }else{
  418. titl = "(Staff + Resident + Intern)◈";
  419. }
  420. model.setValue("/root/main/prntcond/prnttitl", "◈과별 미정리 현황".concat(titl));
  421. if(model.getValue("/root/main/cond/dayflag")=="Y"){
  422. model.setValue("/root/main/prntcond/condtitl", cmb_inoutddflag.label);
  423. model.setValue("/root/main/prntcond/fromdd", model.getValue("/root/main/cond/fromdd"));
  424. model.setValue("/root/main/prntcond/todd", model.getValue("/root/main/cond/todd"));
  425. }else{
  426. model.setValue("/root/main/prntcond/condtitl", "전체");
  427. model.setValue("/root/main/prntcond/fromdd", "");
  428. model.setValue("/root/main/prntcond/todd", "");
  429. }
  430. model.setValue("/root/main/prntcond/insttitl", getUserInfo("dutplceinstnm") + " " + getUserInfo("dutplcenm"));
  431. exeReportPreview("RPMRI00600", "XMLSTR"); //미리보기만 가능
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_ex" class="btn2_letter2" style="left:1149px; top:103px; width:42px; height:19px; ">
  436. <caption>엑셀</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  440. if (fileName != ""){
  441. grd_unpreplist.saveExcel(fileName, "colhiddenextend:false;col_0:label;col_1:label;col_2:label;col_3:label;");
  442. }
  443. ]]>
  444. </script>
  445. </button>
  446. <datagrid id="grd_unpreplist" nodeset="/root/main/unprepdrstatisitc/unprepdrstatisitc" caption="미비과^미비분과^퇴원기록수^전과기록수^미비발생수^타과미비수^미비환자수^타과환자수^미비율1^미비율2" colsep="^" colwidth="104, 103, 85, 85, 85, 85, 85, 85, 85, 85" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:130px; width:1195px; height:640px; ">
  447. <col ref="supdepthngnm"/>
  448. <col ref="underdepthngnm" style="text-align:left; "/>
  449. <col ref="t1" style="text-align:right; "/>
  450. <col ref="t2" style="text-align:right; "/>
  451. <col ref="t3" style="text-align:right; "/>
  452. <col ref="t4" style="text-align:right; "/>
  453. <col ref="t5" style="text-align:right; "/>
  454. <col ref="t6" style="text-align:right; "/>
  455. <col ref="t7" style="text-align:right; "/>
  456. <col ref="t8" style="text-align:right; "/>
  457. </datagrid>
  458. <caption id="caption12" class="search_name" style="left:480px; top:35px; width:99px; height:17px; ">미비서식명 :</caption>
  459. <caption id="caption13" class="search_name" style="left:710px; top:35px; width:99px; height:17px; ">미비항목명 :</caption>
  460. <select1 id="cmb_formcd" ref="/root/main/cond/formcd" appearance="minimal" style="left:580px; top:35px; width:115px; height:19px; ">
  461. <choices>
  462. <itemset nodeset="/root/hidden/docinfo/unprepformcd">
  463. <label ref="formnm"/>
  464. <value ref="formcd"/>
  465. </itemset>
  466. </choices>
  467. </select1>
  468. <select1 id="cmb_itemcd" ref="/root/main/cond/unprepitemcd" appearance="minimal" style="left:810px; top:35px; width:165px; height:19px; ">
  469. <choices>
  470. <itemset nodeset="/root/hidden/docinfo/itemcd">
  471. <label ref="unprepitemnm"/>
  472. <value ref="unprepitemcd"/>
  473. </itemset>
  474. </choices>
  475. </select1>
  476. <select id="chk_staffsign" ref="/root/main/cond/staffsignflag" disabled="true" overflow="visible" appearance="full" style="left:200px; top:5px; width:44px; height:20px; border-style:none; ">
  477. <choices>
  478. <item>
  479. <label>실제</label>
  480. <value>Ss</value>
  481. </item>
  482. </choices>
  483. <script type="javascript" ev:event="xforms-select">
  484. <![CDATA[
  485. chk_tot.deselect(0);
  486. chk_resident.deselect(0);
  487. chk_intern.deselect(0);
  488. ]]>
  489. </script>
  490. <script type="javascript" ev:event="xforms-value-changed">
  491. <![CDATA[
  492. if(chk_staffsign.value == "Ss"){
  493. }else{
  494. model.setValue("/root/main/cond/doctkindflag", "St");
  495. }
  496. model.refresh();
  497. ]]>
  498. </script>
  499. </select>
  500. <select id="chk_tot" ref="/root/main/cond/doctkindflag" overflow="visible" appearance="full" style="left:97px; top:6px; width:45px; height:20px; border-style:none; ">
  501. <choices>
  502. <item>
  503. <label>전체</label>
  504. <value>-</value>
  505. </item>
  506. </choices>
  507. <script type="javascript" ev:event="xforms-value-changed">
  508. <![CDATA[
  509. //chk_staffsign.deselect(0);
  510. chk_staff.deselect(0);
  511. chk_resident.deselect(0);
  512. chk_intern.deselect(0);
  513. //chk_staffsign.disabled =! chk_staffsign.disabled;
  514. chk_staff.disabled =! chk_staff.disabled;
  515. chk_resident.disabled =! chk_resident.disabled;
  516. chk_intern.disabled =! chk_intern.disabled;
  517. ]]>
  518. </script>
  519. </select>
  520. <select id="chk_staff" ref="/root/main/cond/doctkindflag" overflow="visible" appearance="full" style="left:143px; top:6px; width:62px; height:20px; border-style:none; ">
  521. <choices>
  522. <item>
  523. <label>스태프(</label>
  524. <value>St</value>
  525. </item>
  526. </choices>
  527. <script type="javascript" ev:event="xforms-value-changed">
  528. <![CDATA[
  529. if(chk_staff.value == "St"){
  530. chk_staffsign.disabled = false;
  531. }else{
  532. chk_staffsign.disabled = true;
  533. chk_staffsign.value = "";
  534. }
  535. ]]>
  536. </script>
  537. </select>
  538. <select id="chk_resident" ref="/root/main/cond/doctkindflag" overflow="visible" appearance="full" style="left:252px; top:6px; width:70px; height:20px; color:transparent; border-style:none; ">
  539. <choices>
  540. <item>
  541. <label>레지던트</label>
  542. <value>R</value>
  543. </item>
  544. </choices>
  545. <script type="javascript" ev:event="xforms-select">
  546. <![CDATA[
  547. chk_staffsign.deselect(0);
  548. ]]>
  549. </script>
  550. </select>
  551. <select id="chk_intern" ref="/root/main/cond/doctkindflag" overflow="visible" appearance="full" style="left:322px; top:6px; width:56px; height:20px; border-style:none; ">
  552. <choices>
  553. <item>
  554. <label>인턴</label>
  555. <value>I</value>
  556. </item>
  557. </choices>
  558. <script type="javascript" ev:event="xforms-select">
  559. <![CDATA[
  560. chk_staffsign.deselect(0);
  561. ]]>
  562. </script>
  563. </select>
  564. <caption id="caption7" style="left:244px; top:5px; width:15px; height:20px; ">)</caption>
  565. <button id="button2" visibility="hidden" style="left:130px; top:105px; width:100px; height:20px; ">
  566. <caption>button2</caption>
  567. <script type="javascript" ev:event="DOMActivate">
  568. <![CDATA[
  569. setParameter("SPMRI03000_pid", "19715712");
  570. setParameter("SPMRI03000_indd", "20090101");
  571. setParameter("SPMRI03000_cretno", "1");
  572. open("SPMRI03000");
  573. ]]>
  574. </script>
  575. </button>
  576. </xhtml:body>
  577. </xhtml:html>