SMMRI01800_의사별미비리스트.xrw 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066
  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. <unpreplist>
  11. <unpreplist/>
  12. </unpreplist>
  13. <cond>
  14. <unprepdeptcd/>
  15. <unprepdeptnm/>
  16. <unprepdrnm/>
  17. <unprepdrid/>
  18. <fromdd/>
  19. <todd/>
  20. <indschflagnm/>
  21. <indschflag>D</indschflag>
  22. <dateflagnm/>
  23. <dateflag>dschdd</dateflag>
  24. <doctkindflag>-</doctkindflag>
  25. <checkflag>N</checkflag>
  26. <formcd/>
  27. <formnm/>
  28. <unprepitemcd/>
  29. <unprepitemnm/>
  30. <unprepsign/>
  31. <orderby/>
  32. <detldeptcd/>
  33. <completeflag/>
  34. <deptflag/>
  35. <drflag/>
  36. <xsignmibi/>
  37. </cond>
  38. <cond>
  39. <patcnt/>
  40. <reccnt/>
  41. </cond>
  42. <cnfmcmplcnt>
  43. <cnfmcmplcnt>0</cnfmcmplcnt>
  44. </cnfmcmplcnt>
  45. <formcnt>
  46. <cnt_0000000680/>
  47. <cnt_0000000003/>
  48. <cnt_0000000004/>
  49. <cnt_0000003169/>
  50. <cnt_0000001594/>
  51. <cnt_0000000676/>
  52. <cnt_0000001592/>
  53. <cnt_0800003416/>
  54. <formcnt>
  55. <col1/>
  56. <col2/>
  57. <col3/>
  58. <col4/>
  59. <col5/>
  60. </formcnt>
  61. </formcnt>
  62. </main>
  63. <send>
  64. <reqdata/>
  65. </send>
  66. <hidden>
  67. <deptlist/>
  68. <drlist/>
  69. <docinfo/>
  70. <patcnt/>
  71. <reccnt/>
  72. <pid/>
  73. <formcd/>
  74. <combo>
  75. <item>
  76. <label>퇴원일자</label>
  77. <value>dschdd</value>
  78. </item>
  79. </combo>
  80. <combo1>
  81. <item>
  82. <label>입원일자</label>
  83. <value>orddd</value>
  84. </item>
  85. <item>
  86. <label>진료일자</label>
  87. <value>fromdd</value>
  88. </item>
  89. </combo1>
  90. <combo2>
  91. <item>
  92. <label>진료일자</label>
  93. <value>fromdd</value>
  94. </item>
  95. </combo2>
  96. </hidden>
  97. <temp>
  98. <alertinfo>
  99. <medcnts/>
  100. <doccnts/>
  101. </alertinfo>
  102. <unprepdrinfo/>
  103. <userinfo/>
  104. <formcnt>
  105. <col1/>
  106. <col2/>
  107. <col3/>
  108. <col4/>
  109. <col5/>
  110. </formcnt>
  111. </temp>
  112. <init>
  113. <drunprepstat>
  114. <unprepstat>
  115. <label>전체</label>
  116. <value>-</value>
  117. </unprepstat>
  118. <unprepstat>
  119. <label>배치미비</label>
  120. <value>0</value>
  121. </unprepstat>
  122. <unprepstat>
  123. <label>미비확인</label>
  124. <value>1</value>
  125. </unprepstat>
  126. <unprepstat>
  127. <label>의사확인</label>
  128. <value>2</value>
  129. </unprepstat>
  130. <unprepstat>
  131. <label>재미비</label>
  132. <value>3</value>
  133. </unprepstat>
  134. <unprepstat>
  135. <label>완료</label>
  136. <value>4</value>
  137. </unprepstat>
  138. </drunprepstat>
  139. <mediunprepstat>
  140. <unprepstat>
  141. <label>전체</label>
  142. <value>-</value>
  143. </unprepstat>
  144. <unprepstat>
  145. <label>퇴원미비</label>
  146. <value>d</value>
  147. </unprepstat>
  148. <unprepstat>
  149. <label>재원미비</label>
  150. <value>i</value>
  151. </unprepstat>
  152. <unprepstat>
  153. <label>의사확인</label>
  154. <value>c</value>
  155. </unprepstat>
  156. </mediunprepstat>
  157. <orddept/>
  158. <openday/>
  159. <M0501>
  160. </M0501>
  161. <M0502>
  162. </M0502>
  163. <M0503>
  164. </M0503>
  165. <merge>1</merge>
  166. </init>
  167. <popupmenu>
  168. <menulist>
  169. <item>
  170. <name>미비상세리스트</name>
  171. <func>callUnprepDtPopMenu</func>
  172. </item>
  173. </menulist>
  174. </popupmenu>
  175. </root>
  176. </instance>
  177. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  178. <script type="javascript" ev:event="xforms-ready">
  179. <![CDATA[
  180. grd_unpreplist.backColorAlternate = "#ffffff";
  181. grd_unpreplist.colHidden(grd_unpreplist.colRef("unprepdrnm")) = true;
  182. grd_unpreplist.colHidden(grd_unpreplist.colRef("doctkindflag"))= true;
  183. grd_unpreplist.colHidden(grd_unpreplist.colRef("indd")) = true;
  184. grd_unpreplist.refresh();
  185. model.removeNodeset("/root/main/unpreplist");
  186. fGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "A", getCurrentDate());
  187. addComboItem("cmb_deptcd", "전체" , "-" , "above");
  188. addComboItem("cmb_deptcd", "호스피스과", "3100000000", "below");
  189. zbcfGetKindCodeList(new Array("M0037"), new Array("M0546"), new Array("/root/init/openday"), false);
  190. var fDate = getCurrentDate();
  191. var fgetdd = fDate.toDate();
  192. var isDate = fgetdd.getAddDate(-1);
  193. model.setValue("/root/main/cond/fromdd",isDate.getDateFormat());
  194. model.setValue("/root/main/cond/todd", getCurrentDate());
  195. model.setValue("/root/main/cond/dateflag" , "dschdd");
  196. model.setValue("/root/main/cond/unprepdeptcd" , "-");
  197. model.setValue("/root/main/cond/deptflag" , "01");
  198. model.setValue("/root/main/cond/drflag" , "01");
  199. fReqGetFormList(); //서식명 조회
  200. model.setValue("/root/main/cond/formcd" ,"-");
  201. fReqGetFormItemList(cmb_formcd.value); //항목명 조회
  202. model.setValue("/root/main/cond/unprepitemcd" ,"-");
  203. if(getUserInfo("jobkindcd").substring(0, 2) == "03")
  204. {
  205. if(opener.window.javascript.getParameter("SMMMO04900") == "Y")
  206. {
  207. //2010.01.20 이남익 추가 : 진료 현황판에 미비구분 연동을 위한 추가
  208. var indschflag = opener.window.javascript.getParameter("SMMRI01800_Indschflag");
  209. model.setValue("/root/main/cond/indschflag", indschflag);
  210. // end 2010.01.20
  211. var xsignmibi = opener.window.javascript.getParameter("SMMRI01800_xsignmibi");
  212. model.setValue("/root/main/cond/xsignmibi", xsignmibi);
  213. if(indschflag == "A"){
  214. rdo_inoutflag.select(0);
  215. }else if(indschflag =="D"){
  216. rdo_inoutflag.select(1);
  217. }else if(indschflag =="I"){
  218. rdo_inoutflag.select(2);
  219. }else if(indschflag =="O"){
  220. rdo_inoutflag.select(3);
  221. }
  222. var orddeptcd = opener.window.javascript.getParameter("SMMRI01800_Orddeptcd");
  223. model.setValue("/root/main/cond/unprepdeptcd", orddeptcd);
  224. if(opener.window.javascript.getParameter("SMMRI01800_Orddrid") != "-")
  225. {
  226. model.setValue("/root/main/cond/unprepdrnm", getUserInfo("usernm"));
  227. model.setValue("/root/main/cond/unprepdrid", getUserInfo("userid"));
  228. }
  229. if(opener.window.javascript.getParameter("SMMRI01800_StaffYn") == "Y")
  230. {
  231. button2.dispatch("DOMActivate"); //Staff Sign미비조회
  232. }
  233. else
  234. {
  235. btn_req.dispatch("DOMActivate"); //미비조회
  236. }
  237. }
  238. else
  239. {
  240. // 2010.06.07 이은영.. REA (14313).. 의사샘이 의사별미비리스트 로딩시 디폴트 전체로 함.
  241. var instcd = getUserInfo("dutplceinstcd");
  242. if (instcd == "012") {
  243. model.setValue("/root/main/cond/indschflag", "A");
  244. rdo_inoutflag.select(0);
  245. }
  246. model.setValue("/root/main/cond/unprepdrnm", getUserInfo("usernm"));
  247. model.setValue("/root/main/cond/unprepdrid", getUserInfo("userid"));
  248. button2.dispatch("DOMActivate"); //Staff Sign미비조회
  249. }
  250. }
  251. //깜빡이 기능
  252. gTimeCnt = 1;
  253. fviewinfomsg();
  254. zbcfGetCodeList(new Array("M0501", "M0502", "M0503"), new Array("/root/init/M0501", "/root/init/M0502", "/root/init/M0503"));
  255. model.refresh();
  256. ]]>
  257. </script>
  258. <submission id="TRMRI01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" add="bottom" resultref="/root/main/unpreplist"/>
  259. <submission id="TRMRI01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/unprepsublist"/>
  260. <submission id="TRMRI01803" mediatype="application/x-www-form-urlencoded" method="post"/>
  261. <submission id="TRMRI01804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/docinfo/unprepformcd"/>
  262. <submission id="TRMRI01805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/docinfo/itemcd"/>
  263. <submission id="TRMRI02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/opinfolist"/>
  264. <submission id="TXMRI01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/unpreplist"/>
  265. <submission id="TRMMR01810" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/opinfolist"/>
  266. <submission id="TXMRI01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
  267. <submission id="TRMRI02604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/unprepdrinfo"/>
  268. <submission id="TRMRI02108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/hidden"/>
  269. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/orddept"/>
  270. <submission id="TRMRI01806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnfmcmplcnt"/>
  271. <submission id="TRMRI01703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/unprepiteminfo"/>
  272. <submission id="TRMRI02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/userinfo"/>
  273. <submission id="TRMRI02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/mibiinfo"/>
  274. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  275. </model>
  276. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  277. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  278. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  279. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  280. <script type="javascript" src="../../../emr/unprepmngtweb/js/SMMRI01800.js"/>
  281. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  282. </xhtml:head>
  283. <xhtml:body guideline="2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  284. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  285. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:129px; height:14px; ">의사별 미비리스트</caption>
  286. </group>
  287. <group id="grp_biz" scroll="auto" style="left:0px; top:12px; width:1195px; height:772px; ">
  288. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1194px; height:79px; background-color:#fffbf2; border-color:#ffd799; "/>
  289. <caption id="caption1" class="tit_2" style="left:0px; top:87px; width:87px; height:13px; ">
  290. <![CDATA[미비리스트]]>
  291. <script type="javascript" ev:event="ondblclick">
  292. <![CDATA[
  293. if(chk_merge.visible == false)
  294. {
  295. chk_merge.visible = true;
  296. return;
  297. }
  298. if(chk_merge.visible == true)
  299. {
  300. chk_merge.visible = false;
  301. return;
  302. }
  303. ]]>
  304. </script>
  305. </caption>
  306. <line id="line1" class="line_1" style="x1:0px; y1:102px; x2:1194px; y2:102px; "/>
  307. <button id="btn_ex" class="btn2_letter2" style="left:1147px; top:82px; width:42px; height:19px; ">
  308. <caption>엑셀</caption>
  309. <script type="javascript" ev:event="DOMActivate">
  310. <![CDATA[
  311. fSaveExcel();
  312. ]]>
  313. </script>
  314. </button>
  315. <caption id="caption2" class="search_name" style="left:670px; top:83px; width:99px; height:17px; ">미비환자수 :</caption>
  316. <caption id="caption8" class="search_name" style="left:805px; top:83px; width:112px; height:17px; ">미비기록건수 :</caption>
  317. <output id="opt_pid" ref="/root/main/cond/patcnt" class="output_fix" appearance="output" style="left:767px; top:82px; width:30px; height:19px; "/>
  318. <output id="opt_formcd" ref="/root/main/cond/reccnt" class="output_fix" appearance="output" style="left:917px; top:82px; width:30px; height:19px; "/>
  319. <caption id="caption10" class="tit_2" style="left:600px; top:718px; width:205px; height:13px; ">전달사항 From 의사(보기 전용)</caption>
  320. <textarea id="textarea1" ref="/root/temp/alertinfo/doccnts" editable="false" style="left:600px; top:734px; width:594px; height:38px; ">
  321. <script type="javascript" ev:event="DOMFocusOut">
  322. <![CDATA[
  323. ]]>
  324. </script>
  325. </textarea>
  326. <textarea id="textarea2" ref="/root/temp/alertinfo/medcnts" editable="false" style="left:0px; top:733px; width:591px; height:38px; ">
  327. <script type="javascript" ev:event="DOMFocusOut">
  328. <![CDATA[
  329. ]]>
  330. </script>
  331. </textarea>
  332. <caption id="caption9" class="tit_2" style="left:0px; top:718px; width:240px; height:13px; ">전달사항 From 의무기록실(보기전용)</caption>
  333. <caption id="caption11" style="left:340px; top:60px; width:14px; height:10px; ">~</caption>
  334. <caption id="cap_reqflag" class="search_name" style="left:10px; top:56px; width:86px; height:17px; ">조회구분 :</caption>
  335. <input id="ipt_todd" ref="/root/main/cond/todd" disabled="true" inputtype="date" style="left:350px; top:55px; width:90px; height:19px; "/>
  336. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" disabled="true" inputtype="date" style="left:250px; top:55px; width:90px; height:19px; "/>
  337. <datagrid id="grd_unpreplist" nodeset="/root/main/unpreplist/unpreplist" caption="시간경과(h)^미비과^미비분과^등록번호^환자명^퇴원일자^퇴원과^unprepno^전문의^미비의사^의사구분^입원일^서식코드^서식명^unprepitemcd^항목명^진료일자^재미비^전달사항 From 의무기록실^전달사항 From 의사^발생번호^서식기록순번^최종수정자^최종수정일시^의사확인일시" colsep="^" colwidth="81, 54, 68, 80, 72, 73, 55, 0, 75, 95, 58, 75, 0, 116, 0, 100, 80, 45, 142, 138, 0, 0, 100, 150, 150" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:105px; width:1195px; height:546px; ">
  338. <col ref="overchk" style="color:#000000; text-align:center; "/>
  339. <col ref="unprepdeptnm"/>
  340. <col ref="detldeptnm"/>
  341. <col ref="pid" style="text-align:center; "/>
  342. <col ref="hngnm" style="text-align:center; "/>
  343. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  344. <col ref="dschdeptnm" style="text-align:center; "/>
  345. <col ref="unprepno" visibility="hidden"/>
  346. <col ref="medispclnm" style="text-align:center; "/>
  347. <col ref="unprepdrnm"/>
  348. <col ref="doctkindflag"/>
  349. <col ref="indd" format="yyyy-mm-dd"/>
  350. <col ref="formcd" visibility="hidden"/>
  351. <col ref="formnm"/>
  352. <col ref="unprepitemcd" visibility="hidden"/>
  353. <col ref="unprepitemnm" style="text-align:center; "/>
  354. <col ref="formrecdd" format="yyyy-mm-dd"/>
  355. <col ref="reunprepflag" style="text-align:center; "/>
  356. <col ref="medirecalertcnts"/>
  357. <col ref="dralertcnts" type="inputbutton"/>
  358. <col ref="cretno"/>
  359. <col ref="formrecseq" visibility="hidden"/>
  360. <col ref="lastupdtrnm"/>
  361. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  362. <col ref="drcnfmdt" format="yyyy-mm-dd hh:nn"/>
  363. <script type="javascript" ev:event="onbuttonclick">
  364. <![CDATA[
  365. var currow = grd_unpreplist.row;
  366. var dralertcnts = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/dralertcnts");
  367. setParameter("SPMRI01900_scrnflag" , "d");
  368. setParameter("SPMRI01900_alertcnts", dralertcnts);
  369. modal("SPMRI01900");
  370. if(getParameter("SPMRI01900_useyn") == "Y"){
  371. model.setValue(grd_unpreplist.nodeset + "[" + currow + "]/dralertcnts", getParameter("SPMRI01900_alertcnts"));
  372. model.removeNode("/root/send/savedata");
  373. model.makeNode("/root/send/savedata");
  374. model.copyNode("/root/send/savedata", grd_unpreplist.nodeset + "[" + currow + "]");
  375. model.makeValue("/root/send/savedata/setuseflag", "dr");
  376. if(submit("TXMRI01802")){
  377. //reqGetUnprepDrCnfmCompl();
  378. //grd_unpreplist.colRef("aa").
  379. }
  380. }
  381. ]]>
  382. </script>
  383. <script type="javascript" ev:event="onclick">
  384. <![CDATA[
  385. var total = grd_unpreplist.rows;
  386. if(total < 2){
  387. return;
  388. }
  389. var currow = grd_unpreplist.row;
  390. var curcol = grd_unpreplist.col;
  391. if(isDataCell()){
  392. var medcnts = grd_unpreplist.valuematrix(currow , grd_unpreplist.colRef("medirecalertcnts") );
  393. var doccnts = grd_unpreplist.valuematrix(currow , grd_unpreplist.colRef("dralertcnts"));
  394. model.setValue("/root/temp/alertinfo/medcnts", medcnts);
  395. model.setValue("/root/temp/alertinfo/doccnts", doccnts);
  396. //textarea1.disabled = false;
  397. }else{
  398. //그리드 Header를 클릭한 경우,
  399. if(currow == 0){
  400. if(sORDERBY == "desc"){
  401. sORDERBY = "asc";
  402. }else{
  403. sORDERBY = "desc";
  404. }
  405. var orderby = grd_unpreplist.colAttribute(curcol, "ref") + " " + sORDERBY;
  406. model.setValue("/root/main/cond/orderby", orderby);
  407. fReqGetUnPrepDrClsList(model.getValue("/root/main/cond/unprepsign"));
  408. }
  409. }
  410. model.refresh();
  411. ]]>
  412. </script>
  413. <script type="javascript" ev:event="ondblclick">
  414. <![CDATA[
  415. var currow = grd_unpreplist.row;
  416. var curcol = grd_unpreplist.col;
  417. if (isDataCell()) {
  418. if(grd_unpreplist.col == grd_unpreplist.colRef("dralertcnts")){
  419. grd_unpreplist.editCell();
  420. }else{
  421. //활성화된 검사결과 화면 로드
  422. //검사결과화면이 있는 경우 환자를 변경함
  423. curExamRsltObj = getOpenWindow("SMAER00800");
  424. if(curExamRsltObj != null){
  425. var pid = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/pid");
  426. curExamRsltObj.model.setvalue("/root/send/data/singdata/srchpid", pid);
  427. curExamRsltObj.javascript.btn_srch.dispatch("DOMActivate");
  428. }
  429. curExamRsltObj = getOpenWindow("SMMMI00100");
  430. if(curExamRsltObj != null){
  431. var pid = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/pid");
  432. curExamRsltObj.model.setvalue("/root/send/data/singdata/srchpid", pid);
  433. curExamRsltObj.javascript.btn_srch.dispatch("DOMActivate");
  434. }
  435. //이윤주추가-20140310
  436. //열려있는 미비 상세 화면
  437. var MibiDetlObj = getOpenWindow("SPMRI03800");
  438. if(MibiDetlObj != null){
  439. MibiDetlObj.close();
  440. }
  441. var unprepitemcd = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/unprepitemcd");
  442. var srcformcd = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/srcformcd");
  443. var pid = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/pid");
  444. var indd = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/indd");
  445. var cretno = model.getValue(grd_unpreplist.nodeset + "[" + currow + "]/cretno");
  446. var staffyn = opener.window.javascript.getParameter("SMMRI01800_StaffYn");
  447. model.makeValue("/root/send/reqdata/pid",pid);
  448. model.makeValue("/root/send/reqdata/indd",indd);
  449. model.makeValue("/root/send/reqdata/cretno",cretno);
  450. model.makeValue("/root/send/reqdata/srcformcd",srcformcd);
  451. if (unprepitemcd == "000000002") {
  452. submit("TRMRI02902");
  453. var mibicnt = model.getValue("/root/hidden/mibiinfo/mibicnt") ;
  454. if ( mibicnt > 0 ) {
  455. if (6 != messageBox("전공의 미비완료후 Staff sign이 가능합니다.\n미비상세조회 확인하시기 바랍니다.\n문의:의무기록파트 본원:5232~3, 칠곡:2402~3 \n계속 진행할까요?","Q999") ) {
  456. return;
  457. }
  458. }
  459. }
  460. //미비기록을 로드
  461. fLoadUnPrepRec();
  462. }
  463. }else{
  464. if(currow == 0){
  465. }
  466. }
  467. ]]>
  468. </script>
  469. <script type="javascript" ev:event="onaftersort">
  470. <![CDATA[
  471. grd_unpreplist.gridToInstance();
  472. fSetRowStyle();
  473. ]]>
  474. </script>
  475. <script type="javascript" ev:event="onendedit">
  476. <![CDATA[
  477. var dralertcnt = grd_unpreplist.valueMatrix(grd_unpreplist.row, grd_unpreplist.col);
  478. if(dralertcnt != ""){
  479. model.removeNode("/root/send/savedata");
  480. model.makeNode("/root/send/savedata");
  481. model.copyNode("/root/send/savedata", grd_unpreplist.nodeset + "[" + grd_unpreplist.row + "]");
  482. model.makeValue("/root/send/savedata/setuseflag", "dr");
  483. if(submit("TXMRI01802")){
  484. }
  485. }
  486. ]]>
  487. </script>
  488. <script type="javascript" ev:event="onscroll">
  489. <![CDATA[
  490. fSubmitOnScroll();
  491. ]]>
  492. </script>
  493. <script type="javascript" ev:event="onmousedown">
  494. <![CDATA[
  495. if ( grd_unpreplist.isCell(event.target)
  496. && grd_unpreplist.mouserow >= grd_unpreplist.fixedrows)
  497. {
  498. if (event.button == "3") // 오른쪽 마우스 버튼 => popup menu
  499. {
  500. setPopupMenu("grd_unpreplist", false, "/root/popupmenu/menulist/item", "name", "func");
  501. }
  502. }
  503. ]]>
  504. </script>
  505. <script type="javascript" ev:event="DOMFocusOut">
  506. <![CDATA[
  507. initPopupMenu();
  508. ]]>
  509. </script>
  510. </datagrid>
  511. <input id="ipt_unprepdrnm" ref="/root/main/cond/unprepdrnm" style="left:576px; top:8px; width:100px; height:19px; ">
  512. <script type="javascript" ev:event="onkeydown">
  513. <![CDATA[
  514. if(event.keyCode == 13){
  515. model.setValue("/root/main/cond/unprepdrnm", ipt_unprepdrnm.currentText);
  516. var unprepdrnm = ipt_unprepdrnm.currentText;
  517. if(isNumber(unprepdrnm.charAt(0)) == "Y"){
  518. fReqGetUnPrepDrSmplList("id", unprepdrnm);
  519. }else{
  520. fReqGetUnPrepDrSmplList("nm", unprepdrnm);
  521. }
  522. var nodelist = model.instances(0).selectNodes("/root/temp/userinfo/usercombo");
  523. if(nodelist.length == 0){
  524. messageBox("의사 정보가", "I004");
  525. return;
  526. }else if(nodelist.length == 1){
  527. model.setValue("/root/main/cond/unprepdrid", model.getValue("/root/temp/userinfo/usercombo/userid"));
  528. model.setValue("/root/main/cond/unprepdrnm", model.getValue("/root/temp/userinfo/usercombo/usernm"));
  529. }else if(nodelist.length > 1){
  530. setParameter("SPMRI02900_stnddd" , getCurrentDate());
  531. setParameter("SPMRI02900_orddrnm", unprepdrnm);
  532. modal("SPMRI02900");
  533. if(getParameter("SPMRI02900_useyn")=="Y"){
  534. var doctinfo = getParameter("SPMRI02900_rtnparam");
  535. doctinfo = doctinfo.split("^");
  536. model.setValue("/root/main/cond/unprepdrid", doctinfo[3]);
  537. model.setValue("/root/main/cond/unprepdrnm", doctinfo[4]);
  538. }
  539. }else{
  540. model.setValue("/root/main/cond/unprepdrid", model.getValue("/root/temp/unprepdrinfo/unprepdrlist/orddrid"));
  541. model.setValue("/root/main/cond/unprepdrnm", model.getValue("/root/temp/unprepdrinfo/unprepdrlist/orddrnm"));
  542. }
  543. model.refresh();
  544. }
  545. ]]>
  546. </script>
  547. <script type="javascript" ev:event="DOMFocusOut">
  548. <![CDATA[
  549. if(ipt_unprepdrnm.value == ""){
  550. model.setValue("/root/main/cond/unprepdrnm", "");
  551. model.setValue("/root/main/cond/unprepdrid", "");
  552. model.refresh();
  553. }
  554. ]]>
  555. </script>
  556. </input>
  557. <button id="button1" class="btn2_letter2" style="left:1105px; top:82px; width:42px; height:19px; ">
  558. <caption>출력</caption>
  559. <script type="javascript" ev:event="DOMActivate">
  560. <![CDATA[
  561. fPrntUnPrepInfo();
  562. ]]>
  563. </script>
  564. </button>
  565. <select1 id="cmb_formcd" ref="/root/main/cond/formcd" class="combo_search" appearance="minimal" style="left:565px; top:54px; width:135px; height:19px; ">
  566. <choices>
  567. <itemset nodeset="/root/hidden/docinfo/unprepformcd">
  568. <label ref="formnm"/>
  569. <value ref="formcd"/>
  570. </itemset>
  571. </choices>
  572. <script type="javascript" ev:event="xforms-value-changed">
  573. <![CDATA[
  574. if(cmb_formcd.value != "-"){ //전체로 변경된 경우, 미비항목코드 조회하지 않음
  575. fReqGetFormItemList(cmb_formcd.value);
  576. }
  577. ]]>
  578. </script>
  579. </select1>
  580. <button id="button2" class="btn1_letter9" style="left:1031px; top:30px; width:140px; height:22px; ">
  581. <caption>StaffSign미비조회</caption>
  582. <script type="javascript" ev:event="DOMActivate">
  583. <![CDATA[
  584. fStaffMibi();
  585. ]]>
  586. </script>
  587. </button>
  588. <select1 id="cmb_deptcd" ref="/root/main/cond/unprepdeptcd" class="combo_search" appearance="minimal" style="left:128px; top:8px; width:100px; height:19px; ">
  589. <choices>
  590. <itemset nodeset="/root/init/orddept/dept">
  591. <label ref="depthngnm"/>
  592. <value ref="deptcd"/>
  593. </itemset>
  594. </choices>
  595. <script type="javascript" ev:event="xforms-value-changed">
  596. <![CDATA[
  597. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  598. var orddeptcd = model.getValue("/root/main/cond/unprepdeptcd");
  599. if(orddeptcd == "2040000000"
  600. || orddeptcd == "2110000000"
  601. || orddeptcd == "2100000000")
  602. {
  603. cmb_detldept.disabled = false;
  604. //미비과에 따라 미비분과 combo정보를 변경
  605. if(orddeptcd == "2040000000"){ //외과
  606. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  607. }else if(orddeptcd == "2100000000"){ //산부인과
  608. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  609. }else if(orddeptcd == "2110000000"){ //소아과
  610. cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  611. }
  612. addComboItem("cmb_detldept", "전체", "ALL", "above");
  613. cmb_detldept.select(0);
  614. cmb_detldept.refresh();
  615. }
  616. else
  617. {
  618. cmb_detldept.disabled = true;
  619. }
  620. ]]>
  621. </script>
  622. </select1>
  623. <select1 id="cmb_inoutddflag" ref="/root/main/cond/dateflag" disabled="true" appearance="minimal" style="left:170px; top:55px; width:75px; height:19px; ">
  624. <choices>
  625. <item>
  626. <label>퇴원일자</label>
  627. <value>dschdd</value>
  628. </item>
  629. <item>
  630. <label>입원일자</label>
  631. <value>indd</value>
  632. </item>
  633. <item>
  634. <label>진료일자</label>
  635. <value>formrecdd</value>
  636. </item>
  637. </choices>
  638. </select1>
  639. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/checkflag" style="left:90px; top:54px; width:30px; height:20px; ">
  640. <script type="javascript" ev:event="xforms-value-changed">
  641. <![CDATA[
  642. if(bool1.value == "Y"){
  643. cmb_inoutddflag.disabled = false;
  644. ipt_fromdd.disabled = false;
  645. ipt_todd.disabled = false;
  646. }else{
  647. cmb_inoutddflag.disabled = true;
  648. ipt_fromdd.disabled = true;
  649. ipt_todd.disabled = true;
  650. }
  651. model.refresh();
  652. ]]>
  653. </script>
  654. </bool>
  655. <line id="line13" class="line_4" style="x1:1025px; y1:5px; x2:1025px; y2:75px; "/>
  656. <select1 id="rdo_inoutflag" ref="/root/main/cond/indschflag" appearance="full" cellspacing="5" cols="6" rows="1" overflow="visible" style="left:95px; top:32px; width:360px; height:20px; border-style:none; ">
  657. <choices>
  658. <item>
  659. <label>전체</label>
  660. <value>A</value>
  661. </item>
  662. <item>
  663. <label>퇴원미비</label>
  664. <value>D</value>
  665. </item>
  666. <item>
  667. <label>재원미비</label>
  668. <value>I</value>
  669. </item>
  670. <item>
  671. <label>외래미비</label>
  672. <value>O</value>
  673. </item>
  674. <item>
  675. <label>응급실미비</label>
  676. <value>E</value>
  677. </item>
  678. </choices>
  679. <script type="javascript" ev:event="xforms-value-changed">
  680. <![CDATA[
  681. var indschflag = model.getValue("/root/main/cond/indschflag");
  682. if(indschflag == "D"){ //퇴원미비인 경우
  683. model.setValue("/root/main/cond/dateflag", "dschdd");
  684. }else if(indschflag == "I"){ //재원미비인 경우
  685. model.setValue("/root/main/cond/dateflag", "indd");
  686. }else if(indschflag == "O"){ //외래미비인 경우
  687. model.setValue("/root/main/cond/dateflag", "formrecdd");
  688. }else if(indschflag == "E"){ //응급미비인 경우
  689. model.setValue("/root/main/cond/dateflag", "dschdd");
  690. //model.setValue("/root/main/cond/dateflag", "formrecdd");
  691. }
  692. btn_req.disabled = false;
  693. button2.disabled = false;
  694. button3.disabled = false;
  695. model.refresh();
  696. ]]>
  697. </script>
  698. </select1>
  699. <caption id="caption12" class="search_name" style="left:685px; top:8px; width:91px; height:17px; ">의사구분 :</caption>
  700. <caption id="caption3" class="search_name" style="left:275px; top:85px; width:75px; height:17px; ">미비과 :</caption>
  701. <button id="btn_req" class="btn1_letter4" style="left:1031px; top:6px; width:80px; height:22px; ">
  702. <caption>미비조회</caption>
  703. <script type="javascript" ev:event="DOMActivate">
  704. <![CDATA[
  705. fSearchMibi();
  706. // var indschflag = model.getValue("/root/main/cond/indschflag");
  707. //
  708. // grd_unpreplist.caption = "미비의사ID^미비과^미비분과^등록번호^환자명^퇴원일자^퇴원과^unprepno^주치의^미비의사^의사구분^입원일^서식코드^서식명^unprepitemcd^항목명^진료일자^재미비^전달사항 From 의무기록실^전달사항 From 의사^발생번호^서식기록순번^ordtype^의사확인일시^ordtype";
  709. // if(indschflag == "I"){ //재원미비인 경우
  710. // grd_unpreplist.caption = "미비의사ID^미비과^미비분과^등록번호^환자명^퇴원일자^재원과^unprepno^주치의^미비의사^의사구분^입원일^서식코드^서식명^unprepitemcd^항목명^진료일자^재미비^전달사항 From 의무기록실^전달사항 From 의사^발생번호^서식기록순번^ordtype^의사확인일시^ordtype";
  711. // }else if(indschflag == "A"){ //전체미비인 경우
  712. // grd_unpreplist.caption = "미비의사ID^미비과^미비분과^등록번호^환자명^퇴원일자^재(퇴)원과^unprepno^주치의^미비의사^의사구분^입원일^서식코드^서식명^unprepitemcd^항목명^진료일자^재미비^전달사항 From 의무기록실^전달사항 From 의사^발생번호^서식기록순번^ordtype^의사확인일시^ordtype";
  713. // }
  714. //
  715. // if(indschflag == "O"){
  716. // model.removeNodeset("/root/main/unpreplist/unpreplist");
  717. // model.setFocus("rdo_inoutflag");
  718. // model.refresh();
  719. // return;
  720. // }
  721. // /* 응급실 미비 기능 추가로 Remark(2009.12.21 이남익)
  722. // if(indschflag == "E"){
  723. // model.removeNodeset("/root/main/unpreplist/unpreplist");
  724. // model.setFocus("rdo_inoutflag");
  725. // model.refresh();
  726. // return;
  727. // }
  728. // */
  729. //
  730. // if(indschflag =="A"){
  731. // var unprepdrid = model.getValue("/root/main/cond/unprepdrid");
  732. // var deptcd = cmb_deptcd.value;
  733. //
  734. // if(unprepdrid == "" && deptcd == "-"){
  735. // messageBox("미비과 또는 미비의사중 하나는 반드시 선택 또는 입력해야 합니다.","I003");
  736. // if(deptcd == "-"){
  737. // model.setFocus("cmb_deptcd");
  738. // } else {
  739. // model.setFocus("ipt_unprepdrnm");
  740. // }
  741. // return;
  742. // }
  743. // }
  744. // model.setValue("/root/main/cond/orderby", "");
  745. // fReqGetUnPrepDrClsList("N");
  746. ]]>
  747. </script>
  748. </button>
  749. <caption id="caption13" class="search_name" style="left:465px; top:56px; width:130px; height:17px; ">미비서식명 :</caption>
  750. <caption id="caption4" class="search_name" style="left:370px; top:85px; width:89px; height:17px; ">미비의사 :</caption>
  751. <caption id="caption14" class="search_name" style="left:730px; top:55px; width:130px; height:17px; ">미비항목명 :</caption>
  752. <caption id="caption15" style="left:114px; top:56px; width:50px; height:20px; ">날짜조회</caption>
  753. <caption id="caption7" class="search_name" style="left:10px; top:32px; width:86px; height:17px; ">미비구분 :</caption>
  754. <select1 id="cmb_itemcd" ref="/root/main/cond/unprepitemcd" class="combo_search" appearance="minimal" style="left:830px; top:54px; width:150px; height:19px; ">
  755. <choices>
  756. <itemset nodeset="/root/hidden/docinfo/itemcd">
  757. <label ref="unprepitemnm"/>
  758. <value ref="unprepitemcd"/>
  759. </itemset>
  760. </choices>
  761. <script type="javascript" ev:event="xforms-value-changed">
  762. <![CDATA[
  763. // fChngDept();
  764. ]]>
  765. </script>
  766. </select1>
  767. <button id="button4" style="left:508px; top:82px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_right.gif; ">
  768. <caption/>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. grd_unpreplist.colHidden(grd_unpreplist.colRef("unprepdrnm")) = false;
  772. grd_unpreplist.colHidden(grd_unpreplist.colRef("doctkindflag"))= false;
  773. grd_unpreplist.colHidden(grd_unpreplist.colRef("indd")) = false;
  774. grd_unpreplist.refresh();
  775. ]]>
  776. </script>
  777. </button>
  778. <button id="button5" style="left:480px; top:82px; width:28px; height:20px; background-image:../../../com/commonweb/images/btn_send_left.gif; ">
  779. <caption/>
  780. <script type="javascript" ev:event="DOMActivate">
  781. <![CDATA[
  782. grd_unpreplist.colHidden(grd_unpreplist.colRef("unprepdrnm")) = true;
  783. grd_unpreplist.colHidden(grd_unpreplist.colRef("doctkindflag"))= true;
  784. grd_unpreplist.colHidden(grd_unpreplist.colRef("indd")) = true;
  785. grd_unpreplist.refresh();
  786. ]]>
  787. </script>
  788. </button>
  789. <select1 id="cmb_doctkindflag" ref="/root/main/cond/doctkindflag" class="combo_s_essential" appearance="minimal" style="left:772px; top:8px; width:75px; height:19px; ">
  790. <choices>
  791. <item>
  792. <label>전체</label>
  793. <value>-</value>
  794. </item>
  795. <item>
  796. <label>스태프</label>
  797. <value>St</value>
  798. </item>
  799. <item>
  800. <label>레지던트</label>
  801. <value>R</value>
  802. </item>
  803. <item>
  804. <label>인턴</label>
  805. <value>I</value>
  806. </item>
  807. </choices>
  808. </select1>
  809. <output id="output1" ref="/root/main/cnfmcmplcnt/cnfmcmplcnt" class="output_fix" appearance="output" style="left:1071px; top:82px; width:30px; height:19px; "/>
  810. <caption id="caption16" class="search_name" style="left:956px; top:84px; width:112px; height:17px; ">미비완료건수 :</caption>
  811. <button id="button3" class="btn1_letter7" style="left:1031px; top:55px; width:116px; height:22px; ">
  812. <caption>의사별미비현황</caption>
  813. <script type="javascript" ev:event="DOMActivate">
  814. <![CDATA[
  815. open("SMMRI00300");
  816. ]]>
  817. </script>
  818. </button>
  819. <button id="button6" class="btn2_letter5" style="left:86px; top:82px; width:75px; height:19px; ">
  820. <caption>labor note</caption>
  821. <script type="javascript" ev:event="DOMActivate">
  822. <![CDATA[
  823. setParameter("unprepflag", "Y");
  824. open("SPMRF05200");
  825. ]]>
  826. </script>
  827. </button>
  828. <select1 id="cmb_detldept" ref="/root/main/cond/detldeptcd" class="combo_search" disabled="true" appearance="minimal" style="left:331px; top:8px; width:100px; height:19px; ">
  829. <choices>
  830. <itemset>
  831. <label ref="cdnm"/>
  832. <value ref="cdid"/>
  833. </itemset>
  834. </choices>
  835. <script type="javascript" ev:event="xforms-value-changed">
  836. <![CDATA[
  837. ]]>
  838. </script>
  839. </select1>
  840. <caption id="caption5" class="search_name" style="left:240px; top:8px; width:89px; height:17px; ">미비분과 :</caption>
  841. <select id="chk_merge" ref="/root/init/merge" visibility="hidden" overflow="visible" appearance="full" style="left:195px; top:85px; width:80px; height:20px; border-style:none; ">
  842. <choices>
  843. <item>
  844. <label>셀머지</label>
  845. <value>1</value>
  846. </item>
  847. </choices>
  848. <script type="javascript" ev:event="xforms-select">
  849. <![CDATA[
  850. fDoMergeUnPrepDrClsList();
  851. ]]>
  852. </script>
  853. <script type="javascript" ev:event="xforms-deselect">
  854. <![CDATA[
  855. fDoUnMergeUnPrepDrClsList();
  856. ]]>
  857. </script>
  858. </select>
  859. <caption id="caption17" class="tit_2" style="left:0px; top:661px; width:175px; height:13px; ">미비 서식별 세부건수</caption>
  860. <group id="grp_formcnt" style="left:3px; top:680px; width:1191px; height:28px; ">
  861. <output id="opt_0000003169" ref="/root/main/formcnt/cnt_0000003169" class="output_fix" appearance="output" style="left:545px; top:4px; width:30px; height:19px; "/>
  862. <output id="opt_0000000003" ref="/root/main/formcnt/cnt_0000000003" class="output_fix" appearance="output" style="left:261px; top:4px; width:30px; height:19px; "/>
  863. <output id="opt_0000000004" ref="/root/main/formcnt/cnt_0000000004" class="output_fix" appearance="output" style="left:385px; top:4px; width:30px; height:19px; "/>
  864. <output id="opt_0000000676" ref="/root/main/formcnt/cnt_0000000676" class="output_fix" appearance="output" style="left:827px; top:4px; width:30px; height:19px; "/>
  865. <caption id="caption20" class="search_name" style="left:297px; top:6px; width:87px; height:17px; ">경과기록 :</caption>
  866. <caption id="caption21" class="search_name" style="left:422px; top:6px; width:123px; height:17px; ">Brief OP Note :</caption>
  867. <caption id="caption22" class="search_name" style="left:580px; top:6px; width:118px; height:17px; ">Expired Note :</caption>
  868. <caption id="caption23" class="search_name" style="left:740px; top:6px; width:88px; height:17px; ">수술기록 :</caption>
  869. <caption id="caption24" class="search_name" style="left:865px; top:6px; width:134px; height:17px; ">Discharge Note :</caption>
  870. <caption id="caption25" class="search_name" style="left:1035px; top:6px; width:124px; height:17px; ">Post Op Note :</caption>
  871. <output id="opt_0800003416" ref="/root/main/formcnt/cnt_0800003416" class="output_fix" appearance="output" style="left:1157px; top:4px; width:30px; height:19px; "/>
  872. <output id="opt_0000001592" ref="/root/main/formcnt/cnt_0000001592" class="output_fix" appearance="output" style="left:997px; top:4px; width:30px; height:19px; "/>
  873. <caption id="caption18" class="search_name" style="left:147px; top:6px; width:112px; height:17px; ">입원초진기록 :</caption>
  874. <output id="opt_0000000680" ref="/root/main/formcnt/cnt_0000000680" class="output_fix" appearance="output" style="left:110px; top:4px; width:30px; height:19px; "/>
  875. <output id="opt_0000001594" ref="/root/main/formcnt/cnt_0000001594" class="output_fix" appearance="output" style="left:702px; top:4px; width:30px; height:19px; "/>
  876. <caption id="caption19" class="search_name" style="left:7px; top:6px; width:99px; height:17px; ">입퇴원요약 :</caption>
  877. </group>
  878. <select id="chk_complete" ref="/root/main/cond/completeflag" visibility="visible" overflow="visible" appearance="full" style="left:460px; top:32px; width:105px; height:20px; border-style:none; ">
  879. <choices>
  880. <item>
  881. <label>미비정리완료</label>
  882. <value>F</value>
  883. </item>
  884. </choices>
  885. </select>
  886. <select1 id="cmb_deptflag" ref="/root/main/cond/deptflag" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:15px; top:8px; width:107px; height:19px; ">
  887. <choices>
  888. <item>
  889. <label>미비과</label>
  890. <value>01</value>
  891. </item>
  892. <item>
  893. <label>재(퇴)원과</label>
  894. <value>02</value>
  895. </item>
  896. </choices>
  897. <script type="javascript" ev:event="xforms-value-changed">
  898. <![CDATA[
  899. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  900. // var orddeptcd = model.getValue("/root/main/cond/unprepdrbase/orddeptcd");
  901. //
  902. // if(orddeptcd == "2040000000"
  903. // || orddeptcd == "2110000000"
  904. // || orddeptcd == "2100000000")
  905. // {
  906. // radio_detldept.disabled = false;
  907. // radio_detldept.value = "Y";
  908. // cmb_detldept.disabled = false;
  909. //
  910. // //미비과에 따라 미비분과 combo정보를 변경
  911. // if(orddeptcd == "2040000000"){ //외과
  912. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  913. //
  914. // }else if(orddeptcd == "2100000000"){ //산부인과
  915. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  916. //
  917. // }else if(orddeptcd == "2110000000"){ //소아과
  918. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  919. //
  920. // }
  921. // addComboItem("cmb_detldept", "전체", "ALL", "above");
  922. // cmb_detldept.select(0);
  923. // cmb_detldept.refresh();
  924. // }
  925. // else
  926. // {
  927. // radio_detldept.disabled = true;
  928. // radio_detldept.value = "N";
  929. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0504/M0504";
  930. // model.setValue("/root/main/cond/unprepdrbase/detldeptcd", "");
  931. // cmb_detldept.disabled = true;
  932. // cmb_detldept.refresh();
  933. // }
  934. //
  935. ]]>
  936. </script>
  937. </select1>
  938. <select1 id="combo1" ref="/root/main/cond/drflag" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:465px; top:8px; width:107px; height:19px; ">
  939. <choices>
  940. <item>
  941. <label>미비의사</label>
  942. <value>01</value>
  943. </item>
  944. <item>
  945. <label>전문의</label>
  946. <value>02</value>
  947. </item>
  948. </choices>
  949. <script type="javascript" ev:event="xforms-value-changed">
  950. <![CDATA[
  951. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  952. // var orddeptcd = model.getValue("/root/main/cond/unprepdrbase/orddeptcd");
  953. //
  954. // if(orddeptcd == "2040000000"
  955. // || orddeptcd == "2110000000"
  956. // || orddeptcd == "2100000000")
  957. // {
  958. // radio_detldept.disabled = false;
  959. // radio_detldept.value = "Y";
  960. // cmb_detldept.disabled = false;
  961. //
  962. // //미비과에 따라 미비분과 combo정보를 변경
  963. // if(orddeptcd == "2040000000"){ //외과
  964. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0501/M0501";
  965. //
  966. // }else if(orddeptcd == "2100000000"){ //산부인과
  967. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0502/M0502";
  968. //
  969. // }else if(orddeptcd == "2110000000"){ //소아과
  970. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0503/M0503";
  971. //
  972. // }
  973. // addComboItem("cmb_detldept", "전체", "ALL", "above");
  974. // cmb_detldept.select(0);
  975. // cmb_detldept.refresh();
  976. // }
  977. // else
  978. // {
  979. // radio_detldept.disabled = true;
  980. // radio_detldept.value = "N";
  981. // cmb_detldept.choices.itemset.attribute("nodeset") = "/root/init/M0504/M0504";
  982. // model.setValue("/root/main/cond/unprepdrbase/detldeptcd", "");
  983. // cmb_detldept.disabled = true;
  984. // cmb_detldept.refresh();
  985. // }
  986. //
  987. ]]>
  988. </script>
  989. </select1>
  990. <button id="button7" class="btn1_letter4" style="left:1111px; top:6px; width:80px; height:22px; ">
  991. <caption>상세조회</caption>
  992. <script type="javascript" ev:event="DOMActivate">
  993. <![CDATA[
  994. model.setValue("/root/main/cond/deptflag", "02");
  995. model.setValue("/root/main/cond/drflag", "02");
  996. fSearchMibi();
  997. button4.dispatch("DOMActivate"); //펼쳐보기
  998. ]]>
  999. </script>
  1000. </button>
  1001. <caption id="cap_infomsg" style="left:175px; top:655px; width:706px; height:20px; font-weight:bold; color:#0000ff; text-align:left; ">※ 24시간이 경과된(빨간색) 서식지가 처방제어대상입니다.</caption>
  1002. <bool id="bool2" visibility="hidden" checkvalue="Y,N" ref="/root/main/cond/xsignmibi" style="left:962px; top:10px; width:35px; height:20px; "/>
  1003. <caption id="caption26" class="search_name" visibility="hidden" style="left:860px; top:8px; width:102px; height:17px; ">인증미비제외</caption>
  1004. </group>
  1005. </xhtml:body>
  1006. </xhtml:html>