SMMRD01200_챠트분석관리.xrw 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <list>
  11. <chrtanaly>
  12. <patlist>
  13. <remyn/>
  14. <delyn/>
  15. <unrtnyn/>
  16. <checked/>
  17. <sixdethflag/>
  18. <pid/>
  19. <pnm/>
  20. <sa/>
  21. <erindd/>
  22. <indd/>
  23. <indeptcd/>
  24. <indeptengcd/>
  25. <dschdt/>
  26. <dschdeptcd/>
  27. <dschdeptengcd/>
  28. <atdoctnm/>
  29. <ward/>
  30. <room/>
  31. <removedd/>
  32. <readprtflag/>
  33. <rrgstno/>
  34. <addr/>
  35. <signno/>
  36. <formcd/>
  37. <opsigngno/>
  38. <opformcd/>
  39. <cretno/>
  40. <instcd/>
  41. <removerid/>
  42. <removedt/>
  43. <indeluserid/>
  44. <indeldt/>
  45. <orgindd/>
  46. </patlist>
  47. </chrtanaly>
  48. <templist>
  49. <dschpat>
  50. <pid/>
  51. <pnm/>
  52. <indd/>
  53. <indeptcd/>
  54. <indeptengcd/>
  55. <dschdt/>
  56. <dschdeptcd/>
  57. <dschdeptengcd/>
  58. <hd/>
  59. <cdcryn/>
  60. <revalucnt/>
  61. <anstmthd/>
  62. <srgopyn/>
  63. <doptermcd/>
  64. <remyn/>
  65. <removedd/>
  66. <dschflag/>
  67. <unprepflag/>
  68. <indxflag/>
  69. <cretno/>
  70. <instcd/>
  71. <removerid/>
  72. <removedt/>
  73. <indeluserid/>
  74. <indeldt/>
  75. </dschpat>
  76. </templist>
  77. <templist1>
  78. <dschanaly>
  79. <pid/>
  80. <pnm/>
  81. <indd/>
  82. <indeptcd/>
  83. <indeptengcd/>
  84. <dschdt/>
  85. <dschdeptcd/>
  86. <dschdeptengcd/>
  87. <remyn/>
  88. <fstrgstdt/>
  89. <fstrgstrnm/>
  90. <lastupdtdt/>
  91. <lastrgstrnm/>
  92. </dschanaly>
  93. </templist1>
  94. <templist2>
  95. <dschindxlist>
  96. <pid/>
  97. <pnm/>
  98. <indd/>
  99. <indeptcd/>
  100. <indeptengcd/>
  101. <dschdeptengcd/>
  102. <dschflag/>
  103. <unprepflag/>
  104. <fstrgstdt/>
  105. <fstrgstrnm/>
  106. <lastupdtdt/>
  107. <lastrgstrid/>
  108. <lastupdtrnm/>
  109. <tmpcodeyn/>
  110. <tmpcoderesnnm/>
  111. <tmpcoderesncd/>
  112. <diagtermcd/>
  113. <optermcd/>
  114. <dethcd/>
  115. <cretno/>
  116. <instcd/>
  117. <removerid/>
  118. <removedt/>
  119. <indeluserid/>
  120. <indeldt/>
  121. <newElement/>
  122. </dschindxlist>
  123. </templist2>
  124. <templist3>
  125. <dschunprep>
  126. <pid/>
  127. <patnm/>
  128. <indd/>
  129. <indeptcd/>
  130. <indeptnm/>
  131. <dschdd/>
  132. <dschdeptcd/>
  133. <dschdeptnm/>
  134. <fstrgstdt/>
  135. <fstrgstrid/>
  136. <fstrgstrnm/>
  137. <lastupdtdt/>
  138. <lastupdtrid/>
  139. <lastupdtrnm/>
  140. <drnm1/>
  141. <drnm2/>
  142. <drnm3/>
  143. </dschunprep>
  144. </templist3>
  145. </list>
  146. <sumlist>
  147. <item>
  148. <title>퇴원환자</title>
  149. <sum>000</sum>
  150. </item>
  151. <item>
  152. <title>수거</title>
  153. <sum>000</sum>
  154. </item>
  155. <item>
  156. <title>미수거</title>
  157. <sum>000</sum>
  158. </item>
  159. <item>
  160. <title>입원삭제</title>
  161. <sum>000</sum>
  162. </item>
  163. <item>
  164. <title>미반납</title>
  165. <sum>000</sum>
  166. </item>
  167. <item>
  168. <title>퇴원분석</title>
  169. <sum>000</sum>
  170. </item>
  171. <item>
  172. <title>가코딩</title>
  173. <sum>000</sum>
  174. </item>
  175. <item>
  176. <title>미비</title>
  177. <sum>000</sum>
  178. </item>
  179. </sumlist>
  180. <chrtrtnlist>
  181. <rtnynstatelist/>
  182. </chrtrtnlist>
  183. <chrtunrtnlist>
  184. </chrtunrtnlist>
  185. </main>
  186. <send>
  187. <reqdata/>
  188. <savedata/>
  189. </send>
  190. <cond>
  191. <idflag>D</idflag>
  192. <rflag/>
  193. <userflag/>
  194. <pid/>
  195. <srchfrdd/>
  196. <srchtodd/>
  197. <orddeptcd/>
  198. <atdoctid/>
  199. <ward/>
  200. <srchflag/>
  201. <longinhosp/>
  202. <chrtanaly/>
  203. <remyn>all</remyn>
  204. <indelyn/>
  205. <rtnyn/>
  206. <inhospdd/>
  207. <remanalyflag>rem</remanalyflag>
  208. <usernm/>
  209. <userid/>
  210. <unrtnflag>deptuntrncnt</unrtnflag>
  211. <clsdeptflag/>
  212. <checknum>
  213. <value>true</value>
  214. </checknum>
  215. </cond>
  216. <hidden>
  217. <pid/>
  218. <menu>
  219. <chrtanaly>
  220. <label>입퇴원요약지</label>
  221. <func>fPrint_Chrt</func>
  222. </chrtanaly>
  223. <chrtanaly>
  224. <label>수술기록지</label>
  225. <func>fPrint_OpChrt</func>
  226. </chrtanaly>
  227. </menu>
  228. </hidden>
  229. <init>
  230. <orddept/>
  231. <ward/>
  232. <userlist/>
  233. <rem/>
  234. <urem/>
  235. <reqflag>dsch1</reqflag>
  236. <clsdeptlist/>
  237. </init>
  238. <temp>
  239. <keyinfo>
  240. <keylist>
  241. <signno/>
  242. <chrtflag/>
  243. <opflag/>
  244. <opsignno/>
  245. <pid/>
  246. <formcd/>
  247. <formflag/>
  248. </keylist>
  249. </keyinfo>
  250. <flag>
  251. <excelflag/>
  252. </flag>
  253. </temp>
  254. <search>
  255. <srchcnt/>
  256. </search>
  257. <source>
  258. <srchcond/>
  259. <pid/>
  260. <hngnm/>
  261. <rrgstno1/>
  262. <rrgstno2/>
  263. </source>
  264. </root>
  265. </instance>
  266. <script type="javascript" ev:event="xforms-ready">
  267. <![CDATA[
  268. fInitialize();
  269. ]]>
  270. </script>
  271. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  272. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  273. <submission id="TRMRD01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
  274. <submission id="TXMRD01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/sumlist"/>
  275. <submission id="TRMRD01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
  276. <submission id="TRMRD01203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/keyinfo"/>
  277. <submission id="TRMRD01204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/chrtunrtnlist"/>
  278. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  279. <submission id="TRZSD00204" mediatype="application/x-www-form-urlencoded" method="post"/>
  280. <submission id="TRMRF02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  281. <bind id="bind1" ref="/root/main/list/templist/dschpat[unprepflag='Y']/unprependdd" calculate="concat(&quot;&quot;, &quot;&quot;)"/>
  282. </model>
  283. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  284. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  285. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  286. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  287. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  288. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  289. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  290. <script type="javascript" src="../../../emr/dschanalyweb/js/SMMRD01200.js"/>
  291. </xhtml:head>
  292. <xhtml:body guideline="1,1198;">
  293. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:41px; width:225px; height:422px; background-color:#fffbf2; border-color:#ffd799; "/>
  294. <input id="ipt_srchfrdd" ref="/root/cond/srchfrdd" class="input_s_essential" navindex="1" inputtype="date" style="left:90px; top:97px; width:116px; height:19px; "/>
  295. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">챠트분석관리</caption>
  296. <select1 id="cmb_orddept" ref="/root/cond/orddeptcd" class="combo_search" appearance="minimal" editmode="input" style="left:90px; top:149px; width:116px; height:19px; ">
  297. <choices>
  298. <itemset nodeset="/root/init/orddept/dept">
  299. <label ref="depthngnm"/>
  300. <value ref="deptcd"/>
  301. </itemset>
  302. </choices>
  303. <script type="javascript" ev:event="xforms-select">
  304. <![CDATA[
  305. fChgUserListClsDept();
  306. ]]>
  307. </script>
  308. </select1>
  309. <input id="ipt_srchtodd" ref="/root/cond/srchtodd" class="input_s_essential" navindex="2" inputtype="date" style="left:90px; top:122px; width:116px; height:19px; "/>
  310. <button id="btn_r_chrtmovelist" class="btn1_letter2" style="left:163px; top:439px; width:56px; height:22px; ">
  311. <caption>조회</caption>
  312. <script type="javascript" ev:event="DOMActivate">
  313. <![CDATA[
  314. fGetPatList();
  315. ]]>
  316. </script>
  317. </button>
  318. <line id="line13" class="line_4" style="x1:157px; y1:439px; x2:157px; y2:461px; ">.</line>
  319. <caption id="cap_snm" class="search_name" style="left:1px; top:98px; width:91px; height:17px; ">퇴원일자 :</caption>
  320. <caption id="caption4" class="search_no_b" style="left:75px; top:123px; width:12px; height:17px; ">~</caption>
  321. <caption id="cap_indschflag" class="search_name" style="left:1px; top:50px; width:91px; height:17px; ">구 분 :</caption>
  322. <caption id="cap_ward" class="search_name" style="left:1px; top:197px; width:91px; height:17px; ">병 동 :</caption>
  323. <select1 id="cbo_ward" ref="/root/cond/ward" class="combo_search" appearance="minimal" style="left:90px; top:196px; width:116px; height:19px; ">
  324. <choices>
  325. <itemset nodeset="/root/init/ward/dept">
  326. <label ref="depthngnm"/>
  327. <value ref="deptcd"/>
  328. </itemset>
  329. </choices>
  330. </select1>
  331. <caption id="cap_dept" class="search_name" style="left:1px; top:150px; width:91px; height:17px; ">진 료 과 :</caption>
  332. <select1 id="rdo_ioflag" ref="/root/cond/idflag" scroll="auto" appearance="full" cols="3" rows="1" overflow="visible" style="left:93px; top:50px; width:90px; height:20px; border-style:none; ">
  333. <choices>
  334. <item>
  335. <label>퇴원</label>
  336. <value>D</value>
  337. </item>
  338. <item>
  339. <label>재원</label>
  340. <value>I</value>
  341. </item>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. fSaveDisable();
  346. ]]>
  347. </script>
  348. </select1>
  349. <caption id="cap_medispc" class="search_name" style="left:1px; top:172px; width:91px; height:17px; ">주 치 의 :</caption>
  350. <select1 id="cmb_medispc" ref="/root/cond/atdoctid" class="combo_search" appearance="minimal" style="left:90px; top:171px; width:116px; height:19px; ">
  351. <choices>
  352. <itemset nodeset="/root/init/userlist/drlist">
  353. <label ref="drnm"/>
  354. <value ref="drid"/>
  355. </itemset>
  356. </choices>
  357. </select1>
  358. <select id="chk_longinhosp" ref="/root/cond/longinhosp" overflow="visible" appearance="full" style="left:7px; top:444px; width:87px; height:20px; border-style:none; ">
  359. <choices>
  360. <item>
  361. <label>장기 재원시</label>
  362. <value>H</value>
  363. </item>
  364. </choices>
  365. <script type="javascript" ev:event="xforms-value-changed">
  366. <![CDATA[
  367. fChgInhospdd();
  368. ]]>
  369. </script>
  370. </select>
  371. <caption id="cap_remyn" class="search_name" style="left:1px; top:264px; width:91px; height:17px; ">수거상태 :</caption>
  372. <datagrid id="datagrid1" nodeset="/root/main/list/dschcnt" autoresize="true" caption="^" colsep="^" colwidth="120, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:495px; width:225px; height:255px; ">
  373. <col ref="flagnm"/>
  374. <col ref="totcnt"/>
  375. </datagrid>
  376. <caption id="cap_reqflag" class="search_name" style="left:1px; top:321px; width:91px; height:17px; ">조회구분 :</caption>
  377. <select1 id="rdo_reqflag" ref="/root/init/reqflag" appearance="full" overflow="visible" style="left:100px; top:321px; width:105px; height:159px; border-style:none; ">
  378. <choices>
  379. <item>
  380. <label>퇴원환자</label>
  381. <value>dsch1</value>
  382. </item>
  383. <item>
  384. <label>퇴원분석</label>
  385. <value>anly1</value>
  386. </item>
  387. <item>
  388. <label>미퇴원분석</label>
  389. <value>anly2</value>
  390. </item>
  391. <item>
  392. <label>진코딩</label>
  393. <value>indx1</value>
  394. </item>
  395. <item>
  396. <label>가코딩</label>
  397. <value>indx2</value>
  398. </item>
  399. <item>
  400. <label>미코딩</label>
  401. <value>indx3</value>
  402. </item>
  403. <item>
  404. <label>미비관리</label>
  405. <value>unpr</value>
  406. </item>
  407. <item>
  408. <label>재검토</label>
  409. <value>indx4</value>
  410. </item>
  411. </choices>
  412. <script type="javascript" ev:event="xforms-value-changed">
  413. <![CDATA[
  414. model.removeNodeset("/root/init/remanalyflag/cntflag");
  415. model.makeValue("/root/init/remanalyflag/cntflag","DA");
  416. model.removeNodeset("/root/temp/flag/excelflag");
  417. model.makeValue("/root/temp/flag/excelflag","2");
  418. ipt_unprepdrnm.disabled=false;
  419. btn_save.disabled=true;
  420. var reqflag = model.getValue("/root/init/reqflag");
  421. reqflag = reqflag.substr(0,4);
  422. if( "dsch" == reqflag){
  423. model.toggle("case2");
  424. btn_flag.selected =true;
  425. }else if( "anly" == reqflag){
  426. model.toggle("case3");
  427. btn_flag.selected =true;
  428. }else if( "indx" == reqflag){
  429. model.toggle("case4");
  430. btn_flag.selected =true;
  431. }else if( "unpr" == reqflag){
  432. model.toggle("case5");
  433. btn_flag.selected =true;
  434. }
  435. model.makeValue("/root/cond/remanalyflag", reqflag);
  436. model.refresh();
  437. ]]>
  438. </script>
  439. </select1>
  440. <button id="btn_excel" class="btn2_letter2" style="left:1097px; top:18px; width:42px; height:19px; ">
  441. <caption>엑셀</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. fChrtanalySaveExcel();
  445. ]]>
  446. </script>
  447. </button>
  448. <caption id="cap_pid" class="search_name" style="left:1px; top:77px; width:91px; height:17px; ">등록 번호:</caption>
  449. <input id="ipt_pid" ref="/root/cond/pid" class="input_default" style="left:90px; top:75px; width:91px; height:19px; ">
  450. <script type="javascript" ev:event="onkeyup">
  451. <![CDATA[
  452. inputEnterKey("btn_srchpid", "DOMActivate");
  453. ]]>
  454. </script>
  455. </input>
  456. <button id="btn_srchpid" class="icon_search" style="left:204px; top:74px; width:16px; height:16px; ">
  457. <caption/>
  458. <script type="javascript" ev:event="DOMActivate">
  459. <![CDATA[
  460. fPidKeyPress();
  461. ]]>
  462. </script>
  463. </button>
  464. <input id="ipt_inhospdd" ref="/root/cond/inhospdd" disabled="true" style="left:93px; top:441px; width:61px; height:19px; "/>
  465. <caption id="cap_text" autoresize="true" style="left:5px; top:470px; width:127px; height:20px; ">검색이완료되었습니다(</caption>
  466. <caption id="cap_srchcnt" ref="/root/search/srchcnt" style="left:133px; top:470px; width:35px; height:20px; "/>
  467. <caption id="cap_text2" style="left:171px; top:468px; width:21px; height:20px; ">)건</caption>
  468. <switch id="switch1" style="left:228px; top:36px; width:972px; height:718px; ">
  469. <case id="case1" style="left:0px; top:0px; width:970px; height:733px; ">
  470. <datagrid id="grd_chrtanaly" nodeset="/root/main/list/chrtanaly/patlist" class="datagrid2" visibility="visible" autoresize="true" caption="수거^삭제^미반납^6시간미만^등록번호^환자명^성별/나이^응급실내원일^입원일자^입원과명^입원과^퇴원일시^퇴원과명^퇴원과^주치의^병동^병실^수거일자^출력여부^주민번호^주소^입퇴원요약지인증번호^입퇴원요약지코드^수술기록지인증번호^수술기록지코드^생성번호^기관코드^차트수거자^수거일시^차트삭제자^삭제일시^원입원일자^기관코드^수거자^수거일시^삭제자^삭제일시" colsep="^" colwidth="45, 45, 45, 42, 70, 59, 63, 80, 80, 37, 42, 99, 43, 46, 53, 70, 54, 71, 67, 72, 200, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:5px; width:970px; height:709px; ">
  471. <col checkvalue="Y,N" ref="remyn" type="checkbox"/>
  472. <col checkvalue="Y,N" ref="delyn" type="checkbox"/>
  473. <col checkvalue="Y,N" ref="unrtnyn" type="checkbox"/>
  474. <col ref="sixdethflag" style="text-align:center; "/>
  475. <col ref="pid"/>
  476. <col ref="pnm"/>
  477. <col ref="sa" style="text-align:center; "/>
  478. <col ref="erindd" format="yyyy-mm-dd"/>
  479. <col ref="indd" format="yyyy-mm-dd"/>
  480. <col disabled="true" ref="indeptcd" type="combo" visibility="hidden">
  481. <choices>
  482. <itemset nodeset="/root/init/orddept/dept">
  483. <label ref="depthngnm"/>
  484. <value ref="deptcd"/>
  485. </itemset>
  486. </choices>
  487. </col>
  488. <col disabled="true" ref="indeptengcd" style="text-align:center; "/>
  489. <col ref="dschdt" format="yyyy-mm-dd hh:nn"/>
  490. <col disabled="true" ref="dschdeptcd" type="combo" visibility="hidden">
  491. <choices>
  492. <itemset nodeset="/root/init/orddept/dept">
  493. <label ref="depthngnm"/>
  494. <value ref="deptcd"/>
  495. </itemset>
  496. </choices>
  497. </col>
  498. <col disabled="true" ref="dschdeptengcd" style="text-align:center; "/>
  499. <col disabled="true" ref="atdoctnm"/>
  500. <col disabled="true" ref="ward" type="combo" visibility="hidden">
  501. <choices>
  502. <itemset nodeset="/root/init/ward/dept">
  503. <label ref="depthngnm"/>
  504. <value ref="deptcd"/>
  505. </itemset>
  506. </choices>
  507. </col>
  508. <col ref="room"/>
  509. <col ref="removedd" format="yyyy-mm-dd"/>
  510. <col ref="readprtflag" visibility="hidden" style="text-align:center; "/>
  511. <col ref="rrgstno" visibility="hidden"/>
  512. <col ref="addr" visibility="hidden"/>
  513. <col ref="signno" visibility="hidden"/>
  514. <col ref="formcd" visibility="hidden"/>
  515. <col ref="opsigngno" visibility="hidden"/>
  516. <col ref="opformcd" visibility="hidden"/>
  517. <col ref="cretno" visibility="hidden"/>
  518. <col ref="instcd" visibility="hidden"/>
  519. <col ref="removerid" visibility="hidden" style="left:1985px; top:32px; width:100px; height:23px; "/>
  520. <col ref="removedt" visibility="hidden"/>
  521. <col ref="indeluserid" visibility="hidden"/>
  522. <col ref="indeldt" visibility="hidden"/>
  523. <col ref="orgindd" visibility="hidden"/>
  524. <script type="javascript" ev:event="onaftersort">
  525. <![CDATA[
  526. grd_chrtanaly.gridToInstance();
  527. ]]>
  528. </script>
  529. <script type="javascript" ev:event="xforms-value-changed">
  530. <![CDATA[
  531. fChgUnrtnyn();
  532. ]]>
  533. </script>
  534. <script type="javascript" ev:event="onclick">
  535. <![CDATA[
  536. fSelectPatInfo("rem");
  537. ]]>
  538. </script>
  539. <script type="javascript" ev:event="onmousedown">
  540. <![CDATA[
  541. if(grd_chrtanaly.isCell(event.target) && grd_chrtanaly.mouserow >= grd_chrtanaly.fixedrows)
  542. {
  543. fMouseRightchrt();
  544. } else {
  545. initPopupMenu();
  546. }
  547. ]]>
  548. </script>
  549. </datagrid>
  550. </case>
  551. <case id="case2" selected="true">
  552. <datagrid id="grd_dschpat" nodeset="/root/main/list/templist/dschpat" class="datagrid2" visibility="visible" caption="등록번호^환자명^입원일자^입원과명^입원과^퇴원일자^퇴원과명^퇴원과^재원&#xA;일수^전과&#xA;여부^재평가&#xA;기록횟수^마취&#xA;방법^시술&#xA;여부^시술코드^ER&#xA;구분^수거상태^수거일자^퇴원분석&#xA;여부^미비&#xA;여부^코딩&#xA;여부^미비완료일^생성번호^기관코드^수거자^삭제자^삭제일시^주진단코드^주수술코드^암등록&#xA;여부^암등록코드&#xA;(T코드)^암등록일시^주치의" colsep="^" colwidth="70, 64, 80, 37, 46, 100, 43, 45, 35, 35, 58, 35, 35, 65, 34, 65, 80, 57, 40, 40, 80, 80, 70, 100, 100, 100, 71, 78, 44, 68, 81, 83" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:5px; width:970px; height:709px; ">
  553. <col ref="pid" style="text-align:center; "/>
  554. <col ref="pnm" style="text-align:center; "/>
  555. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  556. <col disabled="true" ref="indeptcd" type="combo" visibility="hidden" style="text-align:center; ">
  557. <choices>
  558. <itemset nodeset="/root/init/orddept/dept">
  559. <label ref="depthngnm"/>
  560. <value ref="deptcd"/>
  561. </itemset>
  562. </choices>
  563. </col>
  564. <col disabled="true" ref="indeptengcd" style="text-align:center; "/>
  565. <col ref="dschdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  566. <col disabled="true" ref="dschdeptcd" type="combo" visibility="hidden" style="text-align:center; ">
  567. <choices>
  568. <itemset nodeset="/root/init/orddept/dept">
  569. <label ref="depthngnm"/>
  570. <value ref="deptcd"/>
  571. </itemset>
  572. </choices>
  573. </col>
  574. <col disabled="true" ref="dschdeptengcd" style="text-align:center; "/>
  575. <col ref="hd" style="text-align:center; "/>
  576. <col ref="cdcryn" style="text-align:center; "/>
  577. <col ref="revalucnt" style="text-align:center; "/>
  578. <col ref="anstmthd" style="text-align:center; "/>
  579. <col ref="srgopyn" style="text-align:center; "/>
  580. <col ref="doptermcd" style="text-align:center; "/>
  581. <col ref="ordtype" style="text-align:center; "/>
  582. <col ref="remyn" visibility="hidden" style="text-align:center; "/>
  583. <col ref="removedd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  584. <col ref="dschflag" style="text-align:center; "/>
  585. <col ref="unprepflag" style="text-align:center; "/>
  586. <col ref="indxflag" type="output" style="text-align:center; "/>
  587. <col ref="unprependdd" format="yyyy-mm-dd" style="text-align:center; "/>
  588. <col ref="cretno" visibility="hidden"/>
  589. <col ref="instcd" visibility="hidden"/>
  590. <col ref="removerid" visibility="hidden"/>
  591. <col ref="indeluserid" visibility="hidden"/>
  592. <col ref="indeldt" visibility="hidden"/>
  593. <col ref="dispdiagcd" style="text-align:center; "/>
  594. <col ref="disoptermcd" style="text-align:center; "/>
  595. <col ref="cncr_regyn" style="text-align:center; "/>
  596. <col ref="cncr_tcode" style="text-align:center; "/>
  597. <col ref="cncr_regdate" format="yyyy-mm-dd" style="text-align:center; "/>
  598. <col ref="medispclnm" style="text-align:center; "/>
  599. <script type="javascript" ev:event="onaftersort">
  600. <![CDATA[
  601. grd_dschpat.gridToInstance();
  602. ]]>
  603. </script>
  604. <script type="javascript" ev:event="onclick">
  605. <![CDATA[
  606. fSelectPatInfo("dsch1");
  607. ]]>
  608. </script>
  609. </datagrid>
  610. </case>
  611. <case id="case3">
  612. <datagrid id="grd_dschanaly" nodeset="/root/main/list/templist1/dschanaly" class="datagrid2" visibility="visible" caption="등록번호^환자명^입원일자^입원과명^입원과^퇴원일자^퇴원과명^퇴원과^수거상태^주진단코드^주수술코드^암등록&#xA;여부^암등록코드&#xA;(T코드)^암등록일시^최초퇴원분석일^최초퇴원분석자^최종퇴원분석일^최종퇴원분석자^퇴원분석내용^생성번호^기관코드^수거자^수거일시^삭제자^삭제일시^삭제일시" colsep="^" colwidth="70, 64, 70, 37, 64, 74, 43, 44, 64, 71, 78, 44, 68, 81, 93, 58, 100, 58, 100" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:6px; width:970px; height:706px; ">
  613. <col ref="pid"/>
  614. <col ref="pnm"/>
  615. <col ref="indd" format="yyyy-mm-dd"/>
  616. <col disabled="true" ref="indeptcd" type="combo" visibility="hidden">
  617. <choices>
  618. <itemset nodeset="/root/init/orddept/dept">
  619. <label ref="depthngnm"/>
  620. <value ref="deptcd"/>
  621. </itemset>
  622. </choices>
  623. </col>
  624. <col disabled="true" ref="indeptengcd"/>
  625. <col disabled="true" ref="dschdt" format="yyyy-mm-dd"/>
  626. <col ref="dschdeptcd" type="combo" visibility="hidden">
  627. <choices>
  628. <itemset nodeset="/root/init/orddept/dept">
  629. <label ref="depthngnm"/>
  630. <value ref="deptcd"/>
  631. </itemset>
  632. </choices>
  633. </col>
  634. <col disabled="true" ref="dschdeptengcd" type="output"/>
  635. <col disabled="true" ref="remyn" type="output" visibility="hidden"/>
  636. <col ref="dispdiagcd" style="text-align:center; "/>
  637. <col ref="disoptermcd" style="text-align:center; "/>
  638. <col ref="cncr_regyn" style="text-align:center; "/>
  639. <col ref="cncr_tcode" style="text-align:center; "/>
  640. <col ref="cncr_regdate" format="yyyy-mm-dd" style="text-align:center; "/>
  641. <col ref="fstrgstdt" format="yyyy-mm-dd"/>
  642. <col ref="fstrgstrnm"/>
  643. <col ref="lastupdtdt" format="yyyy-mm-dd"/>
  644. <col ref="lastrgstrnm"/>
  645. <col visibility="hidden"/>
  646. <script type="javascript" ev:event="onaftersort">
  647. <![CDATA[
  648. grd_dschanaly.gridToInstance();
  649. ]]>
  650. </script>
  651. <script type="javascript" ev:event="onclick">
  652. <![CDATA[
  653. fSelectPatInfo("analy");
  654. ]]>
  655. </script>
  656. </datagrid>
  657. </case>
  658. <case id="case4">
  659. <datagrid id="grd_indxlist" nodeset="/root/main/list/templist2/dschindxlist" class="datagrid2" visibility="visible" caption="등록번호^환자명^입원일자^입원과명^입원과^퇴원일자^퇴원과명^퇴원과^퇴원분석여부^미비현황^최초코딩날짜^최초코딩작업자아이디^최초코딩작업자^최종코딩날짜^최종코딩작업자아이디^최종코딩작업자^가코딩여부^가코딩상세내용^가코딩상세정보코드^진단코드^수술코드^사망코드^코딩내용(옵션)^생성번호^기관코드^수거자^수거일시^삭제자^삭제일시^삭제일시" colsep="^" colwidth="55, 51, 66, 37, 47, 75, 43, 48, 51, 123, 81, 23, 60, 85, 33, 58, 48, 63, 49, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:6px; width:970px; height:706px; ">
  660. <col ref="pid"/>
  661. <col ref="pnm"/>
  662. <col ref="indd" format="yyyy-mm-dd"/>
  663. <col disabled="true" ref="indeptcd" type="combo" visibility="hidden">
  664. <choices>
  665. <itemset nodeset="/root/init/orddept/dept">
  666. <label ref="depthngnm"/>
  667. <value ref="deptcd"/>
  668. </itemset>
  669. </choices>
  670. </col>
  671. <col disabled="true" ref="indeptengcd"/>
  672. <col ref="dschdt" format="yyyy-mm-dd hh:nn"/>
  673. <col disabled="true" ref="dschdeptcd" type="combo" visibility="hidden">
  674. <choices>
  675. <itemset nodeset="/root/init/orddept/dept">
  676. <label ref="depthngnm"/>
  677. <value ref="deptcd"/>
  678. </itemset>
  679. </choices>
  680. </col>
  681. <col disabled="true" ref="dschdeptengcd"/>
  682. <col ref="dschflag"/>
  683. <col ref="unprepflag"/>
  684. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn"/>
  685. <col ref="fstrgstrid" visibility="hidden"/>
  686. <col ref="fstrgstrnm"/>
  687. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  688. <col ref="lastrgstrid" visibility="hidden"/>
  689. <col ref="lastupdtrnm"/>
  690. <col ref="tmpcodeyn"/>
  691. <col ref="tmpcoderesnnm"/>
  692. <col ref="tmpcoderesncd" visibility="hidden"/>
  693. <col ref="diagtermcd"/>
  694. <col ref="optermcd"/>
  695. <col ref="dethcd"/>
  696. <col/>
  697. <col ref="cretno" visibility="hidden"/>
  698. <col ref="instcd" visibility="hidden"/>
  699. <col ref="removerid" visibility="hidden"/>
  700. <col ref="removedt" visibility="hidden"/>
  701. <col ref="indeluserid" visibility="hidden"/>
  702. <col ref="indeldt" visibility="hidden"/>
  703. <script type="javascript" ev:event="onaftersort">
  704. <![CDATA[
  705. grd_indxlist.gridToInstance();
  706. ]]>
  707. </script>
  708. <script type="javascript" ev:event="onclick">
  709. <![CDATA[
  710. fSelectPatInfo("indx");
  711. ]]>
  712. </script>
  713. </datagrid>
  714. </case>
  715. <case id="case5">
  716. <datagrid id="grd_unprep" nodeset="/root/main/list/templist3/dschunprep" class="datagrid2" visibility="visible" caption="등록번호^환자명^입원일자^입원과코드^입원과^퇴원일자^퇴원과코드^퇴원과^미비입력일(작업일자)^미비입력자코드^미비입력자^미비완료일^미비완료작업자코드^미비완료작업자^미비의사" colsep="^" colwidth="59, 60, 73, 46, 58, 73, 56, 59, 81, 59, 73, 92, 16, 58, 110" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" style="left:0px; top:6px; width:970px; height:706px; ">
  717. <col ref="pid"/>
  718. <col ref="patnm"/>
  719. <col ref="indd" format="yyyy-mm-dd"/>
  720. <col ref="indeptcd" visibility="hidden"/>
  721. <col disabled="true" ref="indeptnm"/>
  722. <col ref="dschdd" format="yyyy-mm-dd"/>
  723. <col ref="dschdeptcd" visibility="hidden"/>
  724. <col disabled="true" ref="dschdeptnm"/>
  725. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn"/>
  726. <col ref="fstrgstrid" visibility="hidden"/>
  727. <col ref="fstrgstrnm"/>
  728. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn"/>
  729. <col ref="lastupdtrid" visibility="hidden"/>
  730. <col ref="lastupdtrnm"/>
  731. <col ref="drnm"/>
  732. <script type="javascript" ev:event="onaftersort">
  733. <![CDATA[
  734. grd_unprep.gridToInstance();
  735. ]]>
  736. </script>
  737. <script type="javascript" ev:event="onclick">
  738. <![CDATA[
  739. fSelectPatInfo("unpr");
  740. ]]>
  741. </script>
  742. </datagrid>
  743. </case>
  744. <case id="deptunrtn">
  745. <datagrid id="grd_deptunrtncntlist" nodeset="/root/main/chrtunrtnlist3/deptunrtncntlist" class="datagrid2" scroll="auto" caption="진료과코드^진료과^퇴원환자수^미반납건수^진료과별미반납비율(%)^퇴원환자수대비미반납율(%)" colsep="^" colwidth="100, 125, 88, 85, 206, 173" mergecellsfixedrows="bycolrec" rowsep="|" style="left:1px; top:2px; width:969px; height:712px; ">
  746. <col ref="deptcd" visibility="hidden"/>
  747. <col ref="depthngnm" style="text-align:center; "/>
  748. <col ref="dschcnt"/>
  749. <col ref="untrncnt"/>
  750. <col ref="deptuntrnrate"/>
  751. <col ref="dschuntrnrate"/>
  752. <script type="javascript" ev:event="onaftersort">
  753. <![CDATA[
  754. grd_deptunrtncntlist.gridToInstance();
  755. ]]>
  756. </script>
  757. </datagrid>
  758. </case>
  759. <case id="deptunrem">
  760. <datagrid id="grd_deptunremcntlist" nodeset="/root/main/chrtunrtnlist2/deptunremcntlist" class="datagrid2" scroll="auto" caption="진료과코드^진료과^미수거건수^비율(%)" colsep="^" colwidth="100, 156, 100, 237" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:3px; width:969px; height:712px; ">
  761. <col ref="deptcd" visibility="hidden"/>
  762. <col ref="depthngnm" style="text-align:center; "/>
  763. <col ref="unremcnt"/>
  764. <col ref="rate"/>
  765. <script type="javascript" ev:event="onaftersort">
  766. <![CDATA[
  767. grd_deptunremcntlist.gridToInstance();
  768. ]]>
  769. </script>
  770. </datagrid>
  771. </case>
  772. <case id="wardunrem">
  773. <datagrid id="grd_wardunremcntlist" nodeset="/root/main/chrtunrtnlist1/wardunremcntlist" class="datagrid2" scroll="auto" caption="Floor^병동^미수거건수^과별미수거건수^비율(%)" colsep="^" colwidth="38, 115, 83, 661, 105" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:3px; width:968px; height:712px; ">
  774. <col ref="floor" visibility="hidden"/>
  775. <col ref="wardnm" style="text-align:center; "/>
  776. <col ref="unremcnt"/>
  777. <col ref="deptunremcnt"/>
  778. <col ref="rate"/>
  779. <script type="javascript" ev:event="onaftersort">
  780. <![CDATA[
  781. grd_wardunremcntlist.gridToInstance();
  782. ]]>
  783. </script>
  784. </datagrid>
  785. </case>
  786. <case id="wardunrtn">
  787. <datagrid id="grd_wardunrtncntlist" nodeset="/root/main/chrtunrtnlist4/wardunrtncntlist" class="datagrid2" scroll="auto" caption="Floor^병동코드^병동^퇴원환자수^미반납건수^병동별미반납비율(%)^퇴원환자대비미반납율(%)" colsep="^" colwidth="100, 100, 156, 100, 100, 197, 211" mergecellsfixedrows="bycolrec" rowsep="|" style="left:2px; top:0px; width:968px; height:715px; ">
  788. <col ref="floor" visibility="hidden"/>
  789. <col ref="wardcd" visibility="hidden"/>
  790. <col ref="wardnm" style="text-align:center; "/>
  791. <col ref="dschcnt"/>
  792. <col ref="untrncnt"/>
  793. <col ref="warduntrnrate"/>
  794. <col ref="dschuntrnrate"/>
  795. <script type="javascript" ev:event="onaftersort">
  796. <![CDATA[
  797. grd_wardunrtncntlist.gridToInstance();
  798. ]]>
  799. </script>
  800. </datagrid>
  801. </case>
  802. </switch>
  803. <button id="btn_search" class="btn2_letter6" style="left:719px; top:18px; width:86px; height:19px; ">
  804. <caption>통합기록조회</caption>
  805. <script type="javascript" ev:event="DOMActivate">
  806. <![CDATA[
  807. var sPid = model.getValue("/root/init/tmp/pid");
  808. if(sPid==""){
  809. return;
  810. }
  811. setParameter("SMMRI00400_param_pid", sPid);
  812. //open("SMMRI00400");
  813. // 통합기록조회가 뜨는 위치를 지정.
  814. open("SMMRI00400", 1, 0, 0, "", "", "", "left:0px; top:0px");
  815. ]]>
  816. </script>
  817. </button>
  818. <button id="btn_indx" class="btn2_letter7" style="left:875px; top:18px; width:97px; height:19px; ">
  819. <caption>질병및수술분류</caption>
  820. <script type="javascript" ev:event="DOMActivate">
  821. <![CDATA[
  822. var sPid = model.getValue("/root/init/tmp/pid");
  823. if(sPid==""){
  824. return;
  825. }
  826. setParameter("SMMRD00400_pid", sPid);
  827. open("SMMRD00700", 1, 0, 0, "", "", "", "left:0px; top:0px");
  828. ]]>
  829. </script>
  830. </button>
  831. <button id="btn_patdinfo" class="btn2_letter6" visibility="hidden" style="left:620px; top:18px; width:86px; height:19px; ">
  832. <caption>환자상세정보</caption>
  833. <script type="javascript" ev:event="DOMActivate">
  834. <![CDATA[
  835. var sPid = model.getValue("/root/init/tmp/pid");
  836. if(sPid==""){
  837. return;
  838. }
  839. model.makeValue("/root/source/srchcond","1");
  840. model.makeValue("/root/source/pid",sPid);
  841. open("SMPMC01900", "1", "100", "100" ,"SMPMC01900", "/root/source", "/root/source");
  842. ]]>
  843. </script>
  844. </button>
  845. <button id="btn_dsch" class="btn2_letter4" style="left:808px; top:18px; width:64px; height:19px; ">
  846. <caption>퇴원분석</caption>
  847. <script type="javascript" ev:event="DOMActivate">
  848. <![CDATA[
  849. var sPid = model.getValue("/root/init/tmp/pid");
  850. if(sPid==""){
  851. return;
  852. }
  853. setParameter("SMMRD00400_param_pid", sPid);
  854. open("SMMRD00400", 1, 0, 0, "", "", "", "left:0px; top:0px");
  855. ]]>
  856. </script>
  857. </button>
  858. <button id="btn_save" class="btn4_letter2" style="left:1142px; top:15px; width:56px; height:22px; ">
  859. <caption>저장</caption>
  860. <script type="javascript" ev:event="onclick">
  861. <![CDATA[
  862. fSave();
  863. ]]>
  864. </script>
  865. </button>
  866. <button id="btn_stat" class="btn_sw" group="group" style="left:0px; top:19px; width:65px; height:22px; ">
  867. <caption>수거</caption>
  868. <script type="javascript" ev:event="DOMActivate">
  869. <![CDATA[
  870. model.toggle("case1");
  871. model.removeNodeset("root/cond/clsdeptflag");
  872. fDisabled("rem");
  873. model.makeValue("/root/cond/remanalyflag","rem");
  874. model.removeNodeset("/root/temp/flag/excelflag");
  875. model.makeValue("/root/temp/flag/excelflag","1");
  876. model.refresh();
  877. ]]>
  878. </script>
  879. </button>
  880. <button id="btn_flag" class="btn_sw" group="group" selected="true" style="left:65px; top:19px; width:65px; height:22px; ">
  881. <caption>분석</caption>
  882. <script type="javascript" ev:event="DOMActivate">
  883. <![CDATA[
  884. model.removeNodeset("/root/init/clsdeptlist/dept");
  885. model.makeNode("/root/init/clsdeptlist/dept");
  886. zsdfGetInClsDeptList(getUserInfo("dutplceinstcd"), cmb_orddept.value, "/root/init/clsdeptlist", "depthngnm", "asc");//분과
  887. if(getNodesetCnt(model,"/root/init/clsdeptlist/dept/deptcd")>0){
  888. model.makeValue("root/cond/clsdeptflag","Y");
  889. }
  890. fDisabled("dsch");
  891. model.removeNodeset("/root/init/remanalyflag/cntflag");
  892. model.makeValue("/root/init/remanalyflag/cntflag","DA");// 건수 구분
  893. model.removeNodeset("/root/temp/flag/excelflag");
  894. model.makeValue("/root/temp/flag/excelflag","2");//엑셀구분
  895. var reqflag = model.getValue("/root/init/reqflag");
  896. reqflag = reqflag.substr(0,4);
  897. if( "dsch" == reqflag){
  898. model.toggle("case2");
  899. }else if( "anly" == reqflag){
  900. model.toggle("case3");
  901. }else if( "indx" == reqflag || "review" == reqflag){
  902. model.toggle("case4");
  903. }else if( "unpr" == reqflag){
  904. model.toggle("case5");
  905. }
  906. model.makeValue("/root/cond/remanalyflag", reqflag);
  907. model.refresh();
  908. ]]>
  909. </script>
  910. </button>
  911. <line id="line2" class="line_1" style="x1:230px; y1:37px; x2:1200px; y2:37px; "/>
  912. <select1 id="rdo_remyn" ref="/root/cond/remyn" appearance="full" overflow="visible" style="left:100px; top:263px; width:75px; height:80px; border-style:none; ">
  913. <choices>
  914. <item>
  915. <label>전체</label>
  916. <value>all</value>
  917. </item>
  918. <item>
  919. <label>수거</label>
  920. <value>rem</value>
  921. </item>
  922. <item>
  923. <label>미수거</label>
  924. <value>urem</value>
  925. </item>
  926. <item>
  927. <label>입원삭제</label>
  928. <value>indelyn</value>
  929. </item>
  930. <item>
  931. <label>미반납</label>
  932. <value>rtnyn</value>
  933. </item>
  934. </choices>
  935. <script type="javascript" ev:event="xforms-value-changed">
  936. <![CDATA[
  937. btn_stat.selected="true"
  938. btn_save.disabled=false;
  939. model.toggle("case1");
  940. model.makeValue("/root/cond/remanalyflag","rem");
  941. model.refresh();
  942. ]]>
  943. </script>
  944. </select1>
  945. <input id="ipt_unprepdrid" ref="/root/cond/userid" visibility="hidden" style="left:15px; top:285px; width:70px; height:19px; ">
  946. <script type="javascript" ev:event="onkeydown">
  947. <![CDATA[
  948. if(event.keyCode == 13){
  949. setParameter("reqflag", "userid");
  950. setParameter("userid", ipt_unprepdrid.currentText);
  951. //setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  952. setParameter("autortnyn","Y");
  953. model.resetInstanceNode("/root/temp/userinfo");
  954. modal("SPMRF03200");
  955. model.setValue("/root/cond/userid", model.getValue("/root/temp/userinfo/userid"));
  956. model.setValue("/root/cond/usernm", model.getValue("/root/temp/userinfo/usernm"));
  957. ipt_unprepdrid.refresh();
  958. }
  959. ]]>
  960. </script>
  961. </input>
  962. <input id="ipt_unprepdrnm" ref="/root/cond/usernm" style="left:90px; top:220px; width:115px; height:19px; ">
  963. <script type="javascript" ev:event="onkeydown">
  964. <![CDATA[
  965. if(event.keyCode == 13){
  966. if(ipt_unprepdrnm.selBegin <= 5){
  967. setParameter("reqflag", "usernm");
  968. setParameter("usernm", ipt_unprepdrnm.currentText);
  969. //setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  970. setParameter("autortnyn","Y");
  971. model.resetInstanceNode("/root/temp/userinfo");
  972. modal("SPMRF03200");
  973. model.setValue("/root/cond/userid", model.getValue("/root/temp/userinfo/userid"));
  974. model.setValue("/root/cond/usernm", model.getValue("/root/temp/userinfo/usernm"));
  975. }else if(ipt_unprepdrnm.selEnd >5){
  976. //model.setValue("/root/cond/userid", ipt_unprepdrnm.currentText);
  977. //model.setValue("/root/cond/usernm",ipt_unprepdrnm.currentText);
  978. setParameter("reqflag", "userid");
  979. setParameter("userid", ipt_unprepdrnm.currentText);
  980. //setParameter("stnddd", model.getValue(xDschAnalyListPath+"/dschdd"));
  981. setParameter("autortnyn","Y");
  982. model.resetInstanceNode("/root/temp/userinfo");
  983. modal("SPMRF03200");
  984. model.setValue("/root/cond/userid", model.getValue("/root/temp/userinfo/userid"));
  985. model.setValue("/root/cond/usernm", model.getValue("/root/temp/userinfo/usernm"));
  986. }
  987. }
  988. /*alert(ipt_unprepdrnm.selBegin);
  989. alert(ipt_unprepdrnm.currentText);
  990. // if(ipt_unprepdrnm.selBegin>=5){
  991. model.setValue("/root/cond/userid" , ipt_unprepdrnm.currentText);
  992. model.setValue("/root/cond/usernm",ipt_unprepdrnm.currentText);
  993. //}*/
  994. ]]>
  995. </script>
  996. </input>
  997. <caption id="cap_user" class="search_name" style="left:1px; top:220px; width:89px; height:17px; ">사 용 자 :</caption>
  998. <select id="chk_rflag" ref="/root/cond/rflag" overflow="visible" appearance="full" style="left:182px; top:50px; width:45px; height:20px; border-style:none; ">
  999. <choices>
  1000. <item>
  1001. <label>수거</label>
  1002. <value>R</value>
  1003. </item>
  1004. </choices>
  1005. <script type="javascript" ev:event="xforms-value-changed">
  1006. <![CDATA[
  1007. fRflagChg();
  1008. ]]>
  1009. </script>
  1010. </select>
  1011. <button id="button2" class="btn_sw7" visibility="hidden" group="group" style="left:130px; top:19px; width:90px; height:22px; ">
  1012. <caption>미반납건수현황</caption>
  1013. <script type="javascript" ev:event="DOMActivate">
  1014. <![CDATA[
  1015. model.toggle("deptunrtn");
  1016. fDisabled("unrtn");
  1017. model.removeNodeset("/root/temp/flag/excelflag");
  1018. model.makeValue("/root/temp/flag/excelflag","3");
  1019. model.refresh();
  1020. ]]>
  1021. </script>
  1022. </button>
  1023. <caption id="cap_unrtnflag" class="search_name" visibility="hidden" style="left:1px; top:175px; width:89px; height:17px; ">조회구분 :</caption>
  1024. <select1 id="rdo_unrtnflag" ref="/root/cond/unrtnflag" visibility="hidden" appearance="full" overflow="visible" style="left:90px; top:174px; width:130px; height:80px; border-style:none; ">
  1025. <choices>
  1026. <item>
  1027. <label>병동별(미수거)</label>
  1028. <value>wardunremcnt</value>
  1029. </item>
  1030. <item>
  1031. <label>진료과별(미수거)</label>
  1032. <value>deptunremcnt</value>
  1033. </item>
  1034. <item>
  1035. <label>진료과별미반납건수</label>
  1036. <value>deptuntrncnt</value>
  1037. </item>
  1038. <item>
  1039. <label>병동별미반납건수</label>
  1040. <value>warduntrncnt</value>
  1041. </item>
  1042. </choices>
  1043. <script type="javascript" ev:event="xforms-value-changed">
  1044. <![CDATA[
  1045. var UnrtnFlag =model.getValue("/root/cond/unrtnflag");
  1046. if(UnrtnFlag=="wardunremcnt"){
  1047. model.toggle("wardunrem");
  1048. } else if(UnrtnFlag=="deptunremcnt"){
  1049. model.toggle("deptunrem");
  1050. } else if(UnrtnFlag=="deptuntrncnt"){
  1051. model.toggle("deptunrtn");
  1052. }else if(UnrtnFlag=="warduntrncnt"){
  1053. model.toggle("wardunrtn");
  1054. }
  1055. model.refresh();
  1056. fChrtUnrtnRemCntPresCondList();
  1057. ]]>
  1058. </script>
  1059. </select1>
  1060. <button id="btn_chrtuncntprescond" class="btn1_letter2" visibility="hidden" style="left:163px; top:415px; width:56px; height:22px; ">
  1061. <caption>조회</caption>
  1062. <script type="javascript" ev:event="DOMActivate">
  1063. <![CDATA[
  1064. fChrtUnrtnRemCntPresCondList();
  1065. ]]>
  1066. </script>
  1067. </button>
  1068. <button id="btn_unprep" class="btn2_letter4" style="left:974px; top:18px; width:64px; height:19px; ">
  1069. <caption>미비관리</caption>
  1070. <script type="javascript" ev:event="DOMActivate">
  1071. <![CDATA[
  1072. var sPid = model.getValue("/root/init/tmp/pid");
  1073. if(sPid==""){
  1074. return;
  1075. }
  1076. setParameter("SMMRI01700_Param", "");
  1077. var sPid = model.getValue("/root/init/tmp/pid");
  1078. var sInDD = model.getValue("/root/init/tmp/indd");
  1079. var sDschDD = model.getValue("/root/init/tmp/dschdd");
  1080. //sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦orddrid▦ordtype▩"+
  1081. sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦ordtype▩"+
  1082. sPid +"▦"+sInDD+"▦"+sDschDD+"▦"+"▦"+"i"+"▩";
  1083. setParameter("SMMRI01700_Param", sParamMsg);
  1084. open("SMMRI01700", 1, 0, 0, "", "", "", "left:0px; top:0px");
  1085. ]]>
  1086. </script>
  1087. </button>
  1088. <button id="btn_cncr" class="btn2_letter3" style="left:1041px; top:18px; width:53px; height:19px; ">
  1089. <caption>암등록</caption>
  1090. <script type="javascript" ev:event="DOMActivate">
  1091. <![CDATA[
  1092. var sPid = model.getValue("/root/init/tmp/pid");
  1093. if(sPid==""){
  1094. return;
  1095. }
  1096. var sPid = model.getValue("/root/init/tmp/pid");
  1097. var sDschDD = model.getValue("/root/init/tmp/dschdd");
  1098. setParameter("SMMRD00100_pid",sPid);
  1099. setParameter("SMMRD00100_dschdd",sDschDD);
  1100. open("SMMRD00100", 1, 0, 0, "", "", "", "left:0px; top:0px");
  1101. ]]>
  1102. </script>
  1103. </button>
  1104. <select id="chb_value" ref="/root/cond/checknum/value" overflow="visible" appearance="full" style="left:184px; top:75px; width:17px; height:20px; border-style:none; ">
  1105. <choices>
  1106. <item>
  1107. <label/>
  1108. <value>true</value>
  1109. </item>
  1110. </choices>
  1111. </select>
  1112. <select id="chk_userflag" ref="/root/cond/userflag" overflow="visible" appearance="full" style="left:11px; top:115px; width:70px; height:20px; border-style:none; ">
  1113. <choices>
  1114. <item>
  1115. <label>작업기준</label>
  1116. <value>dsch</value>
  1117. </item>
  1118. </choices>
  1119. <script type="javascript" ev:event="xforms-value-changed">
  1120. <![CDATA[
  1121. fRflagChg();
  1122. ]]>
  1123. </script>
  1124. </select>
  1125. </xhtml:body>
  1126. </xhtml:html>