SMMRC02700_입원차트대출및반납.xrw 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142
  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. <rendreport>
  11. <report>
  12. <chrtlist>
  13. <chk/>
  14. <pid/>
  15. <ioflag/>
  16. <medirecno/>
  17. <orddeptcd/>
  18. <orddeptnm/>
  19. <orddeptabbr/>
  20. <indd/>
  21. <dschdd/>
  22. <chrtstat/>
  23. <lendyn/>
  24. <lenddept/>
  25. </chrtlist>
  26. <unpreplist>
  27. <medirecno/>
  28. <ioflag/>
  29. <dschdeptcd/>
  30. <dschdeptnm/>
  31. <dschdeptabbr/>
  32. <dschdd/>
  33. <orddd/>
  34. <pid/>
  35. <unprepstat/>
  36. <jobposcd/>
  37. <jobposnm/>
  38. <unprepdrid/>
  39. <unprepdrnm/>
  40. <unprepdeptcd/>
  41. <unprepdeptnm/>
  42. <unprepdeptabbr/>
  43. <fromcd/>
  44. <fromnm/>
  45. </unpreplist>
  46. <chrtlendlist>
  47. <chrtseqno/>
  48. <pid/>
  49. <appdeptcd/>
  50. <lendmanid/>
  51. <appmanid/>
  52. <appdt/>
  53. <renddt/>
  54. <rtndt/>
  55. <delyn/>
  56. <rendcd/>
  57. <rendresn/>
  58. <unrendcd/>
  59. <unrendresn/>
  60. <unrtnresn/>
  61. <msgcnts/>
  62. <pnm/>
  63. <medirecno/>
  64. <ioflag/>
  65. <dschdeptcd/>
  66. <dschdeptnm/>
  67. <dschdeptabbr/>
  68. <dschdd/>
  69. <appdeptnm/>
  70. <appdeptabbr/>
  71. <appman/>
  72. <lendman/>
  73. </chrtlendlist>
  74. <chrtstatlist>
  75. <pid/>
  76. <ioflag/>
  77. <orddeptcd/>
  78. <depthngnm/>
  79. <chrtstat/>
  80. <chrtstatdt/>
  81. <rgstrnm/>
  82. </chrtstatlist>
  83. </report>
  84. </rendreport>
  85. <chartlend>
  86. <clrs>
  87. <chrtlendlist>
  88. <chrtseqno/>
  89. <pid/>
  90. <pnm/>
  91. <appdeptcd/>
  92. <lendmanid/>
  93. <appmanid/>
  94. <appdt/>
  95. <renddt/>
  96. <rtndt/>
  97. <delyn/>
  98. <rendcd/>
  99. <rendresn/>
  100. <unrendcd/>
  101. <unrendresn/>
  102. <unrtnresn/>
  103. <msgcnts/>
  104. <pnm/>
  105. <medirecno/>
  106. <ioflag/>
  107. <dschdeptcd/>
  108. <dschdeptnm/>
  109. <dschdeptabbr/>
  110. <dschdd/>
  111. <appdeptnm/>
  112. <appdeptabbr/>
  113. <appman/>
  114. <lendman/>
  115. </chrtlendlist>
  116. </clrs>
  117. <chrtlist>
  118. <chkflag/>
  119. <pid/>
  120. <ioflag/>
  121. <medirecno/>
  122. <orddeptcd/>
  123. <depthngnm/>
  124. <lenddept/>
  125. <lendyn/>
  126. </chrtlist>
  127. </chartlend>
  128. <chartreturn>
  129. <clrs>
  130. <rtntrgtlist>
  131. <chrtseqno/>
  132. <pid/>
  133. <pnm/>
  134. <appdeptcd/>
  135. <lendmanid/>
  136. <appmanid/>
  137. <appdt/>
  138. <renddt/>
  139. <rtndt/>
  140. <delyn/>
  141. <rendcd/>
  142. <rendresn/>
  143. <unrendcd/>
  144. <unrendresn/>
  145. <unrtnresn/>
  146. <msgcnts/>
  147. <pnm/>
  148. <medirecno/>
  149. <ioflag/>
  150. <dschdeptcd/>
  151. <dschdeptnm/>
  152. <dschdeptabbr/>
  153. <dschdd/>
  154. <appdeptnm/>
  155. <appdeptabbr/>
  156. <appman/>
  157. <lendman/>
  158. <checked/>
  159. </rtntrgtlist>
  160. <rtnlist>
  161. <chrtseqno/>
  162. <pid/>
  163. <pnm/>
  164. <appdeptcd/>
  165. <lendmanid/>
  166. <appmanid/>
  167. <appdt/>
  168. <renddt/>
  169. <rtndt/>
  170. <delyn/>
  171. <rendcd/>
  172. <rendresn/>
  173. <unrendcd/>
  174. <unrendresn/>
  175. <unrtnresn/>
  176. <msgcnts/>
  177. <pnm/>
  178. <medirecno/>
  179. <ioflag/>
  180. <dschdeptcd/>
  181. <dschdeptnm/>
  182. <dschdeptabbr/>
  183. <dschdd/>
  184. <appdeptnm/>
  185. <appdeptabbr/>
  186. <appman/>
  187. <lendman/>
  188. </rtnlist>
  189. </clrs>
  190. </chartreturn>
  191. <result/>
  192. <patinfo>
  193. <patinfolist/>
  194. </patinfo>
  195. </main>
  196. <send>
  197. <savedata/>
  198. <reqdata/>
  199. </send>
  200. <req>
  201. <rendreport>
  202. <pid/>
  203. <pnm/>
  204. <medirecno/>
  205. <orddeptcd/>
  206. <bcno/>
  207. <chrtrem/>
  208. <chrtstat/>
  209. <lendyn/>
  210. <lastorddd/>
  211. <chrtstat>00</chrtstat>
  212. <ioflag>I</ioflag>
  213. </rendreport>
  214. <chartlend>
  215. <status/>
  216. <renddd/>
  217. <resettm/>
  218. <rendcd/>
  219. <appdeptcd/>
  220. <lendmanid/>
  221. <msgcnts/>
  222. <cntctelno/>
  223. <bcno/>
  224. <chrtpid/>
  225. <chrtpnm/>
  226. <count/>
  227. <ioflag>I</ioflag>
  228. <lendman/>
  229. <appmanid/>
  230. <appman/>
  231. <acptid/>
  232. </chartlend>
  233. <chartreturn>
  234. <rendcd/>
  235. <appdeptcd/>
  236. <lendmanid/>
  237. <appmanid/>
  238. <fromappdd/>
  239. <toappdd/>
  240. <fromrtndd/>
  241. <tortndd/>
  242. <bcno/>
  243. <pid/>
  244. <pnm/>
  245. <acptid/>
  246. <resettm/>
  247. <count/>
  248. <ioflag>I</ioflag>
  249. <lendman/>
  250. <appman/>
  251. </chartreturn>
  252. </req>
  253. <hidden>
  254. <rtntrgtlist_menu>
  255. <menu>
  256. <label>차트반납</label>
  257. <func>fsetrtnchart</func>
  258. </menu>
  259. <menu>
  260. <label/>
  261. <func/>
  262. </menu>
  263. <menu>
  264. <label>차트분실</label>
  265. <func>fsetlosschrt</func>
  266. </menu>
  267. </rtntrgtlist_menu>
  268. <tmp>
  269. <userpopupinfo>
  270. <param/>
  271. <flag/>
  272. <searchitem/>
  273. </userpopupinfo>
  274. <tempuserinfo/>
  275. <pidpopupinfo>
  276. <checkfnexam/>
  277. <autoflag/>
  278. <srchcond/>
  279. </pidpopupinfo>
  280. </tmp>
  281. <applist>
  282. </applist>
  283. <lendlist>
  284. <chrtstat>01</chrtstat>
  285. </lendlist>
  286. <chrtapplist>
  287. <chrtseqno/>
  288. <pnm/>
  289. <rendschedd/>
  290. <rendresn/>
  291. <appdept/>
  292. <lendman/>
  293. <appman/>
  294. </chrtapplist>
  295. <chrtlendlist/>
  296. <chkchrt>
  297. <instcd/>
  298. <medirecno/>
  299. <bcno/>
  300. </chkchrt>
  301. <chkyn1>Y</chkyn1>
  302. <chkyn2>Y</chkyn2>
  303. <chkyn3>Y</chkyn3>
  304. </hidden>
  305. <init>
  306. <rendsettm/>
  307. <rtnsettm/>
  308. <paminfo>
  309. <list/>
  310. </paminfo>
  311. <M0392>
  312. </M0392>
  313. <M0412/>
  314. <M0424/>
  315. <userlist>
  316. </userlist>
  317. <lenduserlist/>
  318. <lendmastinfo>
  319. <rendcdlist>
  320. <rendcd>ALL</rendcd>
  321. <rendresn>전체</rendresn>
  322. <defltrendterm/>
  323. <defltrendtermunit/>
  324. <useyn/>
  325. </rendcdlist>
  326. <lenddeptlist>
  327. <orddeptflag/>
  328. <lenddeptcd>ALL</lenddeptcd>
  329. <lenddeptnm>전체</lenddeptnm>
  330. <lenddeptabbr/>
  331. <useyn/>
  332. <allwardyn/>
  333. </lenddeptlist>
  334. </lendmastinfo>
  335. <unprepstatlist>
  336. <unprepstat>
  337. <cd>0</cd>
  338. <nm>배치미비</nm>
  339. </unprepstat>
  340. <unprepstat>
  341. <cd>1</cd>
  342. <nm>미비확인</nm>
  343. </unprepstat>
  344. <unprepstat>
  345. <cd>2</cd>
  346. <nm>의사확인</nm>
  347. </unprepstat>
  348. <unprepstat>
  349. <cd>3</cd>
  350. <nm>재미비</nm>
  351. </unprepstat>
  352. <unprepstat>
  353. <cd>4</cd>
  354. <nm>완료</nm>
  355. </unprepstat>
  356. <unprepstat>
  357. <cd>9</cd>
  358. <nm>삭제</nm>
  359. </unprepstat>
  360. </unprepstatlist>
  361. </init>
  362. <tmp>
  363. <lendcd/>
  364. <lenddeptabbr/>
  365. <lendtermdisabled>Y</lendtermdisabled>
  366. <rtntermdisabled/>
  367. </tmp>
  368. </root>
  369. </instance>
  370. <submission id="TRZBC00101" method="post" mediatype="application/x-www-form-urlencoded"/>
  371. <submission id="TRZSD00109" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
  372. <submission id="TRPMC02500" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/result/patinfo"/>
  373. <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded" add="bottom"/>
  374. <submission id="TRMRC00100" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/lendmastinfo/rendcdlist" add="bottom"/>
  375. <submission id="TRMRC00110" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartlend/clrs"/>
  376. <submission id="TRMRC00130" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartreturn/clrs"/>
  377. <submission id="TRMRC00113" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartlend/clrs/rendlist"/>
  378. <submission id="TRMRC00131" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartreturn/clrs/rtnlist"/>
  379. <submission id="TRMRC00190" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/chrtlendlist"/>
  380. <submission id="TRMRC00300" mediatype="application/x-www-form-urlencoded"/>
  381. <submission id="TRMRC02700" mediatype="application/x-www-form-urlencoded"/>
  382. <submission id="TRMRC02701" mediatype="application/x-www-form-urlencoded"/>
  383. <submission id="TRMRC02702" mediatype="application/x-www-form-urlencoded"/>
  384. <submission id="TRMRC02703" mediatype="application/x-www-form-urlencoded"/>
  385. <submission id="TRMRC02704" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartreturn/clrs/rtntrgtlist"/>
  386. <submission id="TRMRC02705" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartreturn/clrs/rtnlist"/>
  387. <submission id="TRMRC01401" mediatype="application/x-www-form-urlencoded"/>
  388. <submission id="TXMRC00120" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartlend/clrs"/>
  389. <submission id="TXMRC00105" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  390. <submission id="TXMRC00102" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  391. <submission id="TXMRC00130" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/chartreturn/clrs"/>
  392. <submission id="TXMRC00106" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  393. <submission id="TXMRC00103" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  394. <submission id="TXMRC02701" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  395. <submission id="TXMRC02702" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  396. <submission id="TXMRC01403" mediatype="application/x-www-form-urlencoded"/>
  397. <submission id="TXMRC00110" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded"/>
  398. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  399. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  400. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  401. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  402. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  403. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  404. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  405. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  406. <script type="javascript" src="../../../emr/chrtmngtweb/js/SMMRC02700.js"/>
  407. <script type="javascript" ev:event="xforms-ready">
  408. <![CDATA[
  409. fFormInit();
  410. ]]>
  411. </script>
  412. <bind id="bind_lendyn" ref="/root/main/chartlend/chrtlist/chkflag" readonly="../lendyn != 'N'"/>
  413. </model>
  414. </xhtml:head>
  415. <xhtml:body guideline="1,1196;" style="font-weight:normal; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  416. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  417. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:275px; height:13px; ">입원 차트 대출 및 반납</caption>
  418. </group>
  419. <group id="group3" scroll="auto" style="left:0px; top:20px; width:1195px; height:744px; "/>
  420. <group id="group2" style="left:0px; top:13px; width:1195px; height:767px; ">
  421. <switch id="switch1" style="left:0px; top:25px; width:1195px; height:740px; border-color:#c7a3cf; border-style:solid; ">
  422. <case id="lendreport" selected="true">
  423. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:3px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  424. <button id="btn_r_pat1" navindex="2" class="icon_search" style="left:210px; top:10px; width:16px; height:16px; ">
  425. <caption/>
  426. <script type="javascript" ev:event="onclick">
  427. <![CDATA[
  428. fGetPid("/root/req/rendreport/pid", "/root/req/rendreport/pnm");
  429. ]]>
  430. </script>
  431. </button>
  432. <caption id="caption5" class="search_name" style="left:13px; top:12px; width:86px; height:17px; ">등록번호 :</caption>
  433. <input id="ipt_pname" ref="/root/req/rendreport/pnm" navindex="3" class="input_search" disabled="true" style="left:235px; top:10px; width:100px; height:19px; "/>
  434. <datagrid id="grd_lendlist" nodeset="/root/main/rendreport/report/chrtlendlist" caption="퇴원일^대출과^대출자^대출일시^반납일시^반납예정일^대출용도^대출메세지^대출처리자^pid^medirecno^chrtseqno" colwidth="70, 50, 50, 100, 100, 70, 80, 80, 70, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:505px; top:320px; width:683px; height:415px; ">
  435. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  436. <col ref="appdeptabbr" style="text-align:center; "/>
  437. <col ref="lendman" style="text-align:center; "/>
  438. <col ref="renddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  439. <col ref="rtndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  440. <col ref="rtnschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  441. <col ref="rendresn" style="text-align:left; "/>
  442. <col ref="msgcnts" style="text-align:left; "/>
  443. <col ref="appman" style="text-align:center; "/>
  444. <col ref="pid" visibility="hidden"/>
  445. <col ref="medirecno" visibility="hidden"/>
  446. <col ref="chrtseqno" visibility="hidden"/>
  447. </datagrid>
  448. <caption id="caption23" class="tit_2" style="left:505px; top:300px; width:147px; height:13px; ">차트대출반납이력</caption>
  449. <line id="line1" class="line_1" style="x1:505px; y1:60px; x2:1188px; y2:60px; "/>
  450. <caption id="caption20" class="tit_2" style="left:505px; top:45px; width:126px; height:13px; ">미비현황</caption>
  451. <line id="line2" class="line_1" style="x1:505px; y1:315px; x2:1188px; y2:315px; "/>
  452. <datagrid id="grd_unpreplist" nodeset="/root/main/rendreport/report/unpreplist" caption="퇴원일^퇴원과^미비과^의사구분^미비의사^미비상태^서식명" colwidth="70, 50, 50, 70, 70, 100, 200" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:505px; top:65px; width:683px; height:230px; ">
  453. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  454. <col ref="dschdeptabbr" style="text-align:center; "/>
  455. <col ref="unprepdeptabbr" style="text-align:center; "/>
  456. <col ref="jobposnm" style="text-align:center; "/>
  457. <col ref="unprepdrnm" style="text-align:center; "/>
  458. <col ref="unprepstat" style="text-align:center; "/>
  459. <col ref="formnm" style="text-align:left; "/>
  460. </datagrid>
  461. <datagrid id="grd_chrtstatlist" nodeset="/root/main/rendreport/report/chrtstatlist" caption="퇴원일^퇴원과^분실상태^처리일시^처리자" colwidth="80, 65, 120, 120, 70" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:5px; top:620px; width:495px; height:115px; ">
  462. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  463. <col ref="orddeptabbr" style="text-align:center; "/>
  464. <col ref="chrtstat" type="combo" disabled="true" style="text-align:left; ">
  465. <choices>
  466. <itemset nodeset="/root/init/M0424/M0424">
  467. <label ref="cdnm"/>
  468. <value ref="cdid"/>
  469. </itemset>
  470. </choices>
  471. </col>
  472. <col ref="chrtstatdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  473. <col ref="rgstrnm" style="text-align:center; "/>
  474. </datagrid>
  475. <caption id="caption2" class="tit_2" style="left:5px; top:601px; width:108px; height:13px; ">분실이력</caption>
  476. <line id="line3" class="line_1" style="x1:5px; y1:615px; x2:500px; y2:615px; "/>
  477. <datagrid id="grd_chrtlist" nodeset="/root/main/rendreport/report/chrtlist" caption="퇴원일^퇴원과^회차^대출여부^퇴원분석^Index상태^미비상태^분실상태" colwidth="70, 50, 30, 60, 60, 60, 60, 80" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" multitotal="false" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:5px; top:65px; width:495px; height:530px; ">
  478. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  479. <col ref="dschdeptnm" style="text-align:center; "/>
  480. <col ref="indg" style="text-align:center; "/>
  481. <col ref="lendyn" style="text-align:center; "/>
  482. <col ref="dschanalyyn" style="text-align:center; "/>
  483. <col ref="indexyn" style="text-align:center; "/>
  484. <col ref="unprepstat" style="text-align:center; "/>
  485. <col ref="chrtstat" type="combo" disabled="true" style="text-align:center; ">
  486. <choices>
  487. <itemset nodeset="/root/init/M0424/M0424">
  488. <label ref="cdnm"/>
  489. <value ref="cdid"/>
  490. </itemset>
  491. </choices>
  492. </col>
  493. <script type="javascript" ev:event="onclick">
  494. <![CDATA[
  495. if(isDataCell){
  496. // 선택로우의 챠트 정보를 디스플레이 해 주자..
  497. fDisplayChrtInfo(grd_chrtlist);
  498. }
  499. ]]>
  500. </script>
  501. </datagrid>
  502. <caption id="caption4" class="tit_2" style="left:5px; top:45px; width:121px; height:14px; ">입원 챠트</caption>
  503. <line id="line13" class="line_1" style="x1:5px; y1:60px; x2:500px; y2:60px; "/>
  504. <button id="btn_r_chrtmovelist" navindex="4" class="btn1_letter2" style="left:1121px; top:10px; width:56px; height:22px; ">
  505. <caption>조회</caption>
  506. <script type="javascript" ev:event="DOMActivate">
  507. <![CDATA[
  508. fChartHistory();
  509. ]]>
  510. </script>
  511. </button>
  512. <line id="line18" class="line_4" style="x1:1106px; y1:10px; x2:1106px; y2:32px; "/>
  513. <input id="ipt_pid" ref="/root/req/rendreport/pid" navindex="1" class="input_s_essential" style="left:105px; top:10px; width:100px; height:19px; ">
  514. <script type="javascript" ev:event="onkeydown">
  515. <![CDATA[
  516. if(event.keyCode == "13") {
  517. setInputNodeCurText();
  518. fGetPidNo(ipt_pid, "/root/hidden/chkyn1");
  519. fCheckPid(ipt_pid, "/root/req/rendreport/pnm");
  520. fChartHistory();
  521. }
  522. ]]>
  523. </script>
  524. </input>
  525. <select id="checkbox1" ref="/root/hidden/chkyn1" overflow="visible" appearance="full" style="left:340px; top:12px; width:125px; height:20px; border-style:none; ">
  526. <choices>
  527. <item>
  528. <label>체킹번호생성제외</label>
  529. <value>Y</value>
  530. </item>
  531. </choices>
  532. </select>
  533. </case>
  534. <case id="chartlend">
  535. <button id="button7" class="btn6_letter2" style="left:1070px; top:25px; width:56px; height:22px; ">
  536. <caption>출력</caption>
  537. <script type="javascript" ev:event="DOMActivate">
  538. <![CDATA[
  539. exeReportPreview("RPMRC02701", "XMLSTR");
  540. ]]>
  541. </script>
  542. </button>
  543. <line id="line12" class="line_3" style="x1:5px; y1:278px; x2:350px; y2:278px; "/>
  544. <button id="btn_excel_lend" class="btn6_letter2" style="left:1130px; top:25px; width:56px; height:22px; ">
  545. <caption>엑셀</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. fExcel(grd_rendlist, "입원차트대출현황");
  549. ]]>
  550. </script>
  551. </button>
  552. <input id="ipt_lendcd" ref="/root/tmp/lendcd" navindex="7" style="left:103px; top:52px; width:46px; height:19px; ">
  553. <script type="javascript" ev:event="onkeydown">
  554. <![CDATA[
  555. if(event.keyCode == "13") {
  556. fSelectedComboLendCd(ipt_lendcd, "/root/req/chartlend/rendcd");
  557. }
  558. ]]>
  559. </script>
  560. </input>
  561. <input id="ipt_lenddeptabbr" ref="/root/tmp/lenddeptabbr" navindex="9" style="left:103px; top:78px; width:46px; height:19px; ">
  562. <script type="javascript" ev:event="onkeydown">
  563. <![CDATA[
  564. if(event.keyCode == "13") {
  565. fSelectedComboLendDeptCd(ipt_lenddeptabbr, cbo_lenddeptcd);
  566. }
  567. ]]>
  568. </script>
  569. </input>
  570. <caption id="caption41" class="tit_2" style="left:5px; top:7px; width:149px; height:14px; ">차트 대출</caption>
  571. <line id="line26" class="line_1" style="x1:5px; y1:21px; x2:1187px; y2:21px; "/>
  572. <button id="btn_r_pat2" navindex="19" class="icon_search" style="left:333px; top:257px; width:16px; height:16px; ">
  573. <caption/>
  574. <script type="javascript" ev:event="onclick">
  575. <![CDATA[
  576. fGetPid("/root/req/chartlend/chrtpid", "/root/req/chartlend/chrtpnm");
  577. ]]>
  578. </script>
  579. </button>
  580. <caption id="caption53" class="tit_2" style="left:5px; top:184px; width:121px; height:13px; ">BARCODE 대출</caption>
  581. <caption id="caption54" class="cell_1" style="left:5px; top:204px; width:95px; height:23px; vertical-align:middle; ">BARCODE</caption>
  582. <caption id="caption55" class="cell_1" style="left:5px; top:255px; width:95px; height:23px; vertical-align:middle; ">등록번호</caption>
  583. <line id="line35" class="line_3" style="x1:5px; y1:228px; x2:350px; y2:228px; "/>
  584. <line id="line36" class="line_1" style="x1:5px; y1:199px; x2:350px; y2:199px; "/>
  585. <line id="line34" class="line_1" style="x1:5px; y1:250px; x2:350px; y2:250px; "/>
  586. <button id="btn_x_rendchrt" navindex="21" class="btn2_letter4" style="left:285px; top:283px; width:64px; height:19px; ">
  587. <caption>대출등록</caption>
  588. <script type="javascript" ev:event="onclick">
  589. <![CDATA[
  590. fSetLendChart();
  591. ]]>
  592. </script>
  593. </button>
  594. <datagrid id="grd_chartlist" nodeset="/root/main/chartlend/chrtlist" caption="V^퇴원일^퇴원과^회차^미비상태^대출여부^분실상태" colwidth="25, 80, 50, 35, 35, 35, 60" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" navindex="22" style="left:5px; top:310px; width:345px; height:425px; ">
  595. <col ref="chkflag" type="checkbox" checkvalue="Y,N"/>
  596. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  597. <col ref="dschdeptnm" style="text-align:center; "/>
  598. <col ref="indg" style="text-align:center; "/>
  599. <col ref="unprepstat" style="text-align:center; "/>
  600. <col ref="lendyn" style="text-align:center; "/>
  601. <col ref="chrtstat" type="combo" disabled="true" style="text-align:center; ">
  602. <choices>
  603. <itemset nodeset="/root/init/M0424/M0424">
  604. <label ref="cdnm"/>
  605. <value ref="cdid"/>
  606. </itemset>
  607. </choices>
  608. </col>
  609. <script type="javascript" ev:event="onmouseup">
  610. <![CDATA[
  611. if (grd_chartlist.rows <= 1 || grd_chartlist.row == 0){
  612. return;
  613. }
  614. if (grd_chartlist.col == 0){
  615. return;
  616. }
  617. if(grd_chartlist.mouseRow < grd_chartlist.fixedrows){
  618. return;
  619. }
  620. for ( var i= 0; i< grd_chartlist.selectedRows; i++)
  621. {
  622. var lendyn = model.getValue("/root/main/chartlend/chrtlist["+ grd_chartlist.row +"]/lendyn");
  623. if (lendyn == "N") {
  624. var chk = grd_chartlist.valueMatrix(grd_chartlist.selectedRow(i), 0);
  625. if (chk == "Y"){
  626. grd_chartlist.valueMatrix(grd_chartlist.selectedRow(i), 0) = "N"
  627. } else {
  628. grd_chartlist.valueMatrix(grd_chartlist.selectedRow(i), 0) = "Y"
  629. }
  630. }
  631. }
  632. model.refresh();
  633. ]]>
  634. </script>
  635. </datagrid>
  636. <caption id="caption8" class="tit_2" style="left:5px; top:287px; width:96px; height:13px; ">입원 차트</caption>
  637. <line id="line9" class="line_1" style="x1:5px; y1:305px; x2:350px; y2:305px; "/>
  638. <caption id="caption10" class="tit_2" style="left:5px; top:30px; width:121px; height:13px; ">대출정보</caption>
  639. <line id="line10" class="line_3" style="x1:5px; y1:74px; x2:350px; y2:74px; "/>
  640. <caption id="caption26" class="cell_1" style="left:5px; top:50px; width:95px; height:23px; vertical-align:middle; ">대출용도</caption>
  641. <line id="line11" class="line_1" style="x1:5px; y1:45px; x2:350px; y2:45px; "/>
  642. <line id="line28" class="line_3" style="x1:5px; y1:125px; x2:350px; y2:125px; "/>
  643. <caption id="caption62" class="cell_1" style="left:5px; top:76px; width:95px; height:23px; vertical-align:middle; ">대출과</caption>
  644. <line id="line29" class="line_3" style="x1:5px; y1:177px; x2:350px; y2:177px; "/>
  645. <caption id="caption67" class="tit_2" style="left:5px; top:235px; width:121px; height:13px; ">환자정보</caption>
  646. <select1 id="cbo_lenddeptcd" ref="/root/req/chartlend/appdeptcd" navindex="10" class="combo_essential" appearance="minimal" style="left:150px; top:78px; width:200px; height:19px; ">
  647. <choices>
  648. <itemset nodeset="/root/init/lendmastinfo/lenddeptlist[lenddeptcd !='ALL']">
  649. <label ref="lenddeptnm"/>
  650. <value ref="lenddeptcd"/>
  651. </itemset>
  652. </choices>
  653. <script type="javascript" ev:event="xforms-value-changed">
  654. <![CDATA[
  655. model.setValue("/root/req/chartlend/lendmanid", "");
  656. cmb_l_lendman.refresh();
  657. var orddeptcd = cbo_lenddeptcd.value;
  658. fGetUserComboList("/root/send/userlist", "/root/init/userlist", orddeptcd, '0330', '');
  659. var lenddeptabbr = model.getValue("/root/init/lendmastinfo/lenddeptlist[lenddeptcd =" + orddeptcd + "]/lenddeptabbr");
  660. model.setValue("/root/tmp/lenddeptabbr", lenddeptabbr);
  661. ipt_lenddeptabbr.refresh();
  662. ]]>
  663. </script>
  664. </select1>
  665. <button id="btn_chrtlist" navindex="20" class="btn2_letter4" style="left:220px; top:283px; width:64px; height:19px; ">
  666. <caption>챠트조회</caption>
  667. <script type="javascript" ev:event="DOMActivate">
  668. <![CDATA[
  669. fGetChartList();
  670. ]]>
  671. </script>
  672. </button>
  673. <input id="ipt_lendbcno" ref="/root/req/chartlend/bcno" navindex="16" class="input_essential" appearance="input" style="left:103px; top:206px; width:247px; height:19px; ">
  674. <script type="javascript" ev:event="onkeydown">
  675. <![CDATA[
  676. if(event.keyCode == "13") {
  677. setInputNodeCurText();
  678. // 바코드입력 후 엔터시 -> 대출등록
  679. fSetLendChart("Y");
  680. }
  681. ]]>
  682. </script>
  683. </input>
  684. <input id="ipt_chrtpnm" ref="/root/req/chartlend/chrtpnm" navindex="18" class="input_essential" disabled="true" style="left:217px; top:256px; width:112px; height:19px; "/>
  685. <input id="ipt_chrtpid" ref="/root/req/chartlend/chrtpid" navindex="17" class="input_essential" appearance="input" style="left:103px; top:256px; width:112px; height:19px; ">
  686. <script type="javascript" ev:event="onkeydown">
  687. <![CDATA[
  688. if(event.keyCode == "13") {
  689. setInputNodeCurText();
  690. fGetChartList();
  691. }
  692. ]]>
  693. </script>
  694. </input>
  695. <select1 id="cbo_l_rendcd" ref="/root/req/chartlend/rendcd" navindex="8" class="combo_essential" appearance="minimal" style="left:150px; top:52px; width:200px; height:19px; ">
  696. <choices>
  697. <itemset nodeset="/root/init/lendmastinfo/rendcdlist[rendcd != 'ALL']">
  698. <label ref="rendresn"/>
  699. <value ref="rendcd"/>
  700. </itemset>
  701. </choices>
  702. <script type="javascript" ev:event="xforms-value-changed">
  703. <![CDATA[
  704. var rendcd = model.getValue("/root/req/chartlend/rendcd");
  705. model.setValue("/root/tmp/lendcd", rendcd);
  706. ipt_lendcd.refresh();
  707. ]]>
  708. </script>
  709. </select1>
  710. <caption id="cap_rendlist" ref="/root/req/chartlend/count" style="left:803px; top:27px; width:50px; height:15px; font-weight:bold; color:#000000; text-align:right; "/>
  711. <datagrid id="grd_rendlist" nodeset="/root/main/chartlend/clrs/chrtlendlist" caption="등록번호^ 환자명^퇴원일^퇴원과^회차^대출과^대출용도^대출일시^반납예정일^대출메세지^대출자^연락처^대출처리자^pid^medirecno^chrtseqno^rendcd" colwidth="70, 60, 80, 60, 30, 60, 80, 100, 80, 80, 60, 50, 70, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:355px; top:51px; width:832px; height:685px; ">
  712. <col ref="pid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  713. <col ref="pnm" style="text-align:center; "/>
  714. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  715. <col ref="dschdeptnm" style="text-align:center; "/>
  716. <col ref="indg" style="text-align:center; "/>
  717. <col ref="appdeptabbr" style="text-align:center; "/>
  718. <col ref="rendresn" style="text-align:left; "/>
  719. <col ref="renddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  720. <col ref="rtnschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  721. <col ref="msgcnts" style="text-align:left; "/>
  722. <col ref="lendman" style="text-align:center; "/>
  723. <col ref="cntctelno" style="text-align:center; "/>
  724. <col ref="appman" style="text-align:center; "/>
  725. <col ref="pid" visibility="hidden"/>
  726. <col ref="chrtseqno" visibility="hidden"/>
  727. <col ref="medirecno" visibility="hidden"/>
  728. <col ref="rendcd" visibility="hidden"/>
  729. <script type="javascript" ev:event="ondblclick">
  730. <![CDATA[
  731. fMoveTabChartByPid(grd_rendlist, "/root/main/chartlend/clrs/chrtlendlist");
  732. ]]>
  733. </script>
  734. </datagrid>
  735. <button id="btn_delrow" class="btn5_letter3" style="left:925px; top:26px; width:53px; height:19px; ">
  736. <caption>Reset</caption>
  737. <script type="javascript" ev:event="onclick">
  738. <![CDATA[
  739. model.setValue("/root/req/chartlend/resettm", getCurrentTime());
  740. // 다시조회..
  741. fGetUserLendList();
  742. ]]>
  743. </script>
  744. </button>
  745. <caption id="caption52" class="tit_2" style="left:355px; top:29px; width:149px; height:13px; ">대출현황</caption>
  746. <caption id="caption75" style="left:855px; top:28px; width:15px; height:15px; font-weight:bold; text-align:right; ">건</caption>
  747. <line id="line27" class="line_1" style="x1:355px; y1:46px; x2:1187px; y2:46px; "/>
  748. <caption id="cap_resettm1" ref="/root/req/chartlend/resettm" format="hh:nn" style="left:878px; top:27px; width:40px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
  749. <caption id="caption83" class="cell_1" style="left:5px; top:101px; width:95px; height:23px; vertical-align:middle; ">대출의사</caption>
  750. <line id="line4" class="line_3" style="x1:5px; y1:99px; x2:350px; y2:99px; "/>
  751. <caption id="caption93" class="cell_1" style="left:5px; top:127px; width:95px; height:23px; vertical-align:middle; ">대출메세지</caption>
  752. <input id="input7" ref="/root/req/chartlend/msgcnts" navindex="14" appearance="input" style="left:103px; top:129px; width:247px; height:19px; ">
  753. <script type="javascript" ev:event="onkeydown">
  754. <![CDATA[
  755. if(event.keyCode == "13") {
  756. var userdeptcd = fCheckUserid(ipt_appmanid);
  757. }
  758. ]]>
  759. </script>
  760. </input>
  761. <line id="line50" class="line_3" style="x1:5px; y1:151px; x2:350px; y2:151px; "/>
  762. <button id="btn_r_reqchrtlend" class="btn2_letter6" style="left:980px; top:26px; width:86px; height:19px; ">
  763. <caption>대출현황조회</caption>
  764. <script type="javascript" ev:event="onclick">
  765. <![CDATA[
  766. fGetLendList();
  767. ]]>
  768. </script>
  769. </button>
  770. <select1 id="cmb_l_lendman" ref="/root/req/chartlend/lendmanid" navindex="12" appearance="minimal" style="left:217px; top:103px; width:112px; height:19px; ">
  771. <choices>
  772. <itemset nodeset="/root/init/userlist/userlist/usercombo">
  773. <label ref="usernm"/>
  774. <value ref="userid"/>
  775. </itemset>
  776. </choices>
  777. <script type="javascript" ev:event="xforms-value-changed">
  778. <![CDATA[
  779. var lendmanid = cmb_l_lendman.value;
  780. model.setValue("/root/req/chartlend/lendmanid", lendmanid);
  781. model.refresh();
  782. ]]>
  783. </script>
  784. </select1>
  785. <button id="button9" navindex="13" class="icon_search" style="left:334px; top:103px; width:16px; height:16px; ">
  786. <caption/>
  787. <script type="javascript" ev:event="DOMActivate">
  788. <![CDATA[
  789. fGetUserid("/root/req/chartlend/lendmanid","/root/req/chartlend/lendman", "", cmb_l_lendman);
  790. ]]>
  791. </script>
  792. </button>
  793. <input id="ipt_l_lendmanid" ref="/root/req/chartlend/lendmanid" navindex="11" disabled="true" appearance="input" style="left:103px; top:103px; width:112px; height:19px; "/>
  794. <input id="input1" ref="/root/req/chartlend/cntctelno" navindex="15" appearance="input" style="left:103px; top:155px; width:247px; height:19px; "/>
  795. <caption id="caption1" class="cell_1" style="left:5px; top:153px; width:95px; height:23px; vertical-align:middle; ">연락처</caption>
  796. <select id="checkbox2" ref="/root/hidden/chkyn2" overflow="visible" appearance="full" style="left:103px; top:232px; width:125px; height:20px; border-style:none; ">
  797. <choices>
  798. <item>
  799. <label>체킹번호생성제외</label>
  800. <value>Y</value>
  801. </item>
  802. </choices>
  803. </select>
  804. </case>
  805. <case id="chartreturn">
  806. <datagrid id="grd_rendlist2" nodeset="/root/main/chartreturn/clrs/rtntrgtlist" caption="V^등록번호^ 환자명^퇴원일^퇴원과^회차^대출과^대출용도^대출일시^반납예정일^대출메세지^대출자^연락처^대출처리자^pid^medirecno^chrtseqno^rendcd" colwidth="25, 65, 65, 80, 60, 30, 60, 80, 100, 80, 80, 60, 50, 70, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:355px; top:51px; width:832px; height:202px; ">
  807. <col ref="checked" type="checkbox" style="text-align:center; "/>
  808. <col ref="pid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  809. <col ref="pnm" style="text-align:center; "/>
  810. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  811. <col ref="dschdeptnm" style="text-align:center; "/>
  812. <col ref="indg" style="text-align:center; "/>
  813. <col ref="appdeptabbr" style="text-align:center; "/>
  814. <col ref="rendresn" style="text-align:left; "/>
  815. <col ref="renddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  816. <col ref="rtnschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  817. <col ref="msgcnts" style="text-align:left; "/>
  818. <col ref="lendman" style="text-align:center; "/>
  819. <col ref="cntctelno" style="text-align:center; "/>
  820. <col ref="appman" style="text-align:center; "/>
  821. <col ref="pid" visibility="hidden"/>
  822. <col ref="chrtseqno" visibility="hidden"/>
  823. <col ref="medirecno" visibility="hidden"/>
  824. <col ref="rendcd" visibility="hidden"/>
  825. <script type="javascript" ev:event="ondblclick">
  826. <![CDATA[
  827. fMoveTabChartByPid(grd_rendlist2, "/root/main/chartreturn/clrs/rtntrgtlist");
  828. ]]>
  829. </script>
  830. <script type="javascript" ev:event="onmousedown">
  831. <![CDATA[
  832. fMouseRghtBtnPopup(grd_rendlist2, "1"); // 1: 챠트반납
  833. ]]>
  834. </script>
  835. <script type="javascript" ev:event="DOMFocusOut">
  836. <![CDATA[
  837. window.setPopupMenu(false);
  838. ]]>
  839. </script>
  840. <script type="javascript" ev:event="onclick">
  841. <![CDATA[
  842. // 2008.12.11. 전체 선택 or 해제
  843. if (grd_rendlist2.col == 1 && grd_rendlist2.row == 0) {
  844. if (allchecked == "true") { allchecked = "false" } else { allchecked = "true" };
  845. for( var i = 1 ; i < grd_rendlist2.rows ; i++){
  846. model.setValue("/root/main/chartreturn/clrs/rtntrgtlist["+ i +"]/checked", allchecked);
  847. }
  848. grd_rendlist2.refresh();
  849. }
  850. // grid row 선택시 check box 에 선택 or 해제
  851. if (grd_rendlist2.col > 0 && grd_rendlist2.row > 0) {
  852. var row = grd_rendlist2.row;
  853. var checked = model.getValue("/root/main/chartreturn/clrs/rtntrgtlist["+ row +"]/checked");
  854. if (checked == "true") { checked = "false" } else { checked = "true" };
  855. model.setValue("/root/main/chartreturn/clrs/rtntrgtlist["+ row +"]/checked", checked);
  856. grd_rendlist2.refresh();
  857. }
  858. ]]>
  859. </script>
  860. </datagrid>
  861. <button id="btn_excel_return" class="btn6_letter2" style="left:1130px; top:254px; width:56px; height:22px; ">
  862. <caption>엑셀</caption>
  863. <script type="javascript" ev:event="DOMActivate">
  864. <![CDATA[
  865. fExcel(grd_rtnlist, "입원차트반납현황");
  866. ]]>
  867. </script>
  868. </button>
  869. <shape id="roundrect8" class="roundrect_search" appearance="roundrect" style="left:5px; top:30px; width:345px; height:225px; "/>
  870. <input id="ipt_rtntrgtpid" ref="/root/req/chartreturn/pid" navindex="37" class="input_search" appearance="input" style="left:120px; top:184px; width:89px; height:19px; ">
  871. <script type="javascript" ev:event="onkeydown">
  872. <![CDATA[
  873. if(event.keyCode == "13") {
  874. setInputNodeCurText();
  875. fGetPidNo(ipt_rtntrgtpid, "/root/hidden/chkyn3");
  876. fCheckPid(ipt_rtntrgtpid, "/root/req/chartreturn/pnm");
  877. fGetRtnList();
  878. }
  879. ]]>
  880. </script>
  881. </input>
  882. <select1 id="cbo_rtnlendusecd" ref="/root/req/chartreturn/rendcd" navindex="23" class="combo_search" appearance="minimal" style="left:120px; top:45px; width:184px; height:19px; ">
  883. <choices>
  884. <itemset nodeset="/root/init/lendmastinfo/rendcdlist">
  885. <label ref="rendresn"/>
  886. <value ref="rendcd"/>
  887. </itemset>
  888. </choices>
  889. </select1>
  890. <input id="ipt_tortndd" ref="/root/req/chartreturn/tortndd" navindex="34" class="input_search" inputtype="date" style="left:215px; top:161px; width:89px; height:19px; "/>
  891. <input id="ipt_fromrtndd" ref="/root/req/chartreturn/fromrtndd" navindex="33" class="input_search" inputtype="date" style="left:120px; top:161px; width:89px; height:19px; "/>
  892. <input id="ipt_rtntoappdd" ref="/root/req/chartreturn/toappdd" navindex="32" class="input_search" inputtype="date" style="left:215px; top:137px; width:89px; height:19px; "/>
  893. <input id="ipt_rtnfromappdd" ref="/root/req/chartreturn/fromappdd" navindex="31" class="input_search" inputtype="date" style="left:120px; top:137px; width:89px; height:19px; "/>
  894. <input id="ipt_rtntrgtpnm" ref="/root/req/chartreturn/pnm" navindex="38" class="input_search" disabled="true" style="left:215px; top:184px; width:89px; height:19px; "/>
  895. <select1 id="cbo_rtnappdeptcd" ref="/root/req/chartreturn/appdeptcd" navindex="24" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:120px; top:68px; width:184px; height:19px; ">
  896. <choices>
  897. <itemset nodeset="/root/init/lendmastinfo/lenddeptlist">
  898. <label ref="lenddeptnm"/>
  899. <value ref="lenddeptcd"/>
  900. </itemset>
  901. </choices>
  902. <script type="javascript" ev:event="xforms-value-changed">
  903. <![CDATA[
  904. var orddeptcd = cbo_rtnappdeptcd.value;
  905. fGetUserComboList("/root/send/userlist", "/root/init/lenduserlist", orddeptcd, '0330', '');
  906. model.refresh();
  907. ]]>
  908. </script>
  909. </select1>
  910. <caption id="caption13" class="tit_2" style="left:5px; top:260px; width:149px; height:13px; ">BARCODE 반납</caption>
  911. <caption id="caption15" class="search_name" style="left:20px; top:45px; width:86px; height:17px; text-align:left; ">대출용도 :</caption>
  912. <line id="line37" class="line_3" style="x1:5px; y1:304px; x2:350px; y2:304px; "/>
  913. <caption id="caption16" class="cell_1" style="left:5px; top:281px; width:95px; height:23px; vertical-align:middle; ">BARCODE</caption>
  914. <caption id="caption46" class="search_name" style="left:20px; top:91px; width:86px; height:17px; text-align:left; ">대출의사 :</caption>
  915. <line id="line38" class="line_1" style="x1:5px; y1:276px; x2:350px; y2:276px; "/>
  916. <caption id="caption47" class="search_name" style="left:20px; top:184px; width:86px; height:17px; vertical-align:middle; ">등록번호 :</caption>
  917. <caption id="caption48" class="search_name" style="left:20px; top:68px; width:86px; height:17px; text-align:left; ">대출과 :</caption>
  918. <caption id="caption60" class="search_name" style="left:20px; top:138px; width:86px; height:17px; text-align:left; ">대출일자 :</caption>
  919. <input id="ipt_rtnbcno" ref="/root/req/chartreturn/bcno" navindex="40" class="input_essential" appearance="input" style="left:103px; top:283px; width:247px; height:19px; ">
  920. <script type="javascript" ev:event="onkeydown">
  921. <![CDATA[
  922. if(event.keyCode == "13") {
  923. setInputNodeCurText();
  924. // 바코드입력 후 엔터시 -> 챠트반납
  925. fsetrtnchart("Y");
  926. }
  927. ]]>
  928. </script>
  929. </input>
  930. <button id="btn_r_pat3" navindex="39" class="icon_search" style="left:310px; top:184px; width:16px; height:16px; ">
  931. <caption/>
  932. <script type="javascript" ev:event="onclick">
  933. <![CDATA[
  934. fGetPid("/root/req/chartreturn/pid", "/root/req/chartreturn/pnm");
  935. ]]>
  936. </script>
  937. </button>
  938. <caption id="caption66" class="tit_2" style="left:5px; top:7px; width:149px; height:14px; ">차트 반납</caption>
  939. <line id="line42" class="line_1" style="x1:5px; y1:21px; x2:1190px; y2:21px; "/>
  940. <caption id="caption28" class="search_name" style="left:20px; top:161px; width:105px; height:17px; ">반납예정일 :</caption>
  941. <button id="button2" class="btn5_letter3" style="left:985px; top:255px; width:53px; height:19px; ">
  942. <caption>Reset</caption>
  943. <script type="javascript" ev:event="onclick">
  944. <![CDATA[
  945. model.setValue("/root/req/chartreturn/acptid", getUserId());
  946. model.setValue("/root/req/chartreturn/resettm", getCurrentTime());
  947. // 다시 조회하기..
  948. fGetUserRtnList();
  949. ]]>
  950. </script>
  951. </button>
  952. <caption id="caption64" class="tit_2" style="left:355px; top:260px; width:149px; height:13px; ">반납현황</caption>
  953. <caption id="cap_rtnlist" ref="/root/req/chartreturn/count" style="left:863px; top:258px; width:50px; height:15px; font-weight:bold; color:#000000; text-align:right; "/>
  954. <caption id="caption77" style="left:918px; top:258px; width:15px; height:15px; font-weight:bold; text-align:right; ">건</caption>
  955. <line id="line39" class="line_1" style="x1:355px; y1:276px; x2:1187px; y2:277px; "/>
  956. <caption id="cap_resettm2" ref="/root/req/chartreturn/resettm" format="hh:nn" style="left:938px; top:258px; width:40px; height:15px; font-weight:bold; color:#ff0000; text-align:right; "/>
  957. <datagrid id="grd_rtnlist" nodeset="/root/main/chartreturn/clrs/rtnlist" caption="대출과^대출자^등록번호^ 환자명^퇴원일^대출일시^반납예정일^반납일시^대출용도^퇴원과^회차^미비상태^pid^medirecno^chrtseqno^rendcd" colwidth="60, 60, 60, 50, 80, 100, 80, 100, 100, 60, 30, 80, 30, 30, 30, 30" dataheight="25" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" multitotal="false" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:355px; top:280px; width:832px; height:455px; ">
  958. <col ref="appdeptabbr" style="text-align:center; "/>
  959. <col ref="lendman" style="text-align:center; "/>
  960. <col ref="pid" style="left:20px; top:25px; width:70px; height:25px; text-align:right; "/>
  961. <col ref="pnm" style="text-align:center; "/>
  962. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  963. <col ref="renddt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  964. <col ref="rtnschedd" format="yyyy-mm-dd" style="text-align:center; "/>
  965. <col ref="rtndt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  966. <col ref="rendresn" style="text-align:left; "/>
  967. <col ref="dschdeptnm" style="text-align:center; "/>
  968. <col ref="indg" style="text-align:center; "/>
  969. <col ref="unprepstat" style="text-align:center; "/>
  970. <col ref="pid" visibility="hidden"/>
  971. <col ref="chrtseqno" visibility="hidden"/>
  972. <col ref="medirecno" visibility="hidden"/>
  973. <col ref="rendcd" visibility="hidden"/>
  974. <script type="javascript" ev:event="ondblclick">
  975. <![CDATA[
  976. fMoveTabChartByPid(grd_rtnlist, "/root/main/chartreturn/clrs/rtnlist");
  977. ]]>
  978. </script>
  979. </datagrid>
  980. <caption id="caption65" class="tit_2" style="left:355px; top:30px; width:149px; height:13px; ">대출현황</caption>
  981. <select id="lendterm_disabled" ref="/root/tmp/lendtermdisabled" navindex="35" overflow="visible" appearance="full" style="left:306px; top:137px; width:20px; height:20px; border-style:none; ">
  982. <choices>
  983. <item>
  984. <label/>
  985. <value>Y</value>
  986. </item>
  987. </choices>
  988. <script type="javascript" ev:event="xforms-value-changed">
  989. <![CDATA[
  990. fLendTermDisabled();
  991. ]]>
  992. </script>
  993. </select>
  994. <select id="rtnterm_disabled" ref="/root/tmp/rtntermdisabled" navindex="36" overflow="visible" appearance="full" style="left:306px; top:162px; width:20px; height:20px; border-style:none; ">
  995. <choices>
  996. <item>
  997. <label/>
  998. <value>Y</value>
  999. </item>
  1000. </choices>
  1001. <script type="javascript" ev:event="xforms-value-changed">
  1002. <![CDATA[
  1003. fRrtTermDisabled();
  1004. ]]>
  1005. </script>
  1006. </select>
  1007. <caption id="caption91" class="search_name" style="left:20px; top:115px; width:99px; height:17px; text-align:left; ">대출처리자 :</caption>
  1008. <line id="line5" class="line_1" style="x1:355px; y1:46px; x2:1187px; y2:46px; "/>
  1009. <button id="btn_r_rtnlist" class="btn2_letter6" style="left:1040px; top:255px; width:86px; height:19px; ">
  1010. <caption>반납현황조회</caption>
  1011. <script type="javascript" ev:event="onclick">
  1012. <![CDATA[
  1013. model.setValue("/root/req/chartreturn/acptid", "");
  1014. model.setValue("/root/req/chartreturn/resettm", "000000");
  1015. fGetUserRtnList();
  1016. ]]>
  1017. </script>
  1018. </button>
  1019. <select1 id="cmb_r_lendman" ref="/root/req/chartreturn/lendmanid" navindex="26" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:215px; top:90px; width:89px; height:19px; ">
  1020. <choices>
  1021. <itemset nodeset="/root/init/lenduserlist/userlist/usercombo">
  1022. <label ref="usernm"/>
  1023. <value ref="userid"/>
  1024. </itemset>
  1025. </choices>
  1026. <script type="javascript" ev:event="xforms-value-changed">
  1027. <![CDATA[
  1028. var lendmanid = cmb_r_lendman.value;
  1029. model.setValue("/root/req/chartreturn/lendmanid", lendmanid);
  1030. model.refresh();
  1031. ]]>
  1032. </script>
  1033. </select1>
  1034. <button id="button1" navindex="27" class="icon_search" style="left:310px; top:92px; width:16px; height:16px; ">
  1035. <caption/>
  1036. <script type="javascript" ev:event="DOMActivate">
  1037. <![CDATA[
  1038. fGetUserid("/root/req/chartreturn/lendmanid","/root/req/chartreturn/lendman", "", cmb_r_lendman);
  1039. ]]>
  1040. </script>
  1041. </button>
  1042. <input id="input2" ref="/root/req/chartreturn/lendmanid" navindex="25" class="input_search" disabled="true" appearance="input" style="left:120px; top:90px; width:89px; height:19px; "/>
  1043. <input id="ipt_l_appmanid" ref="/root/req/chartreturn/appman" navindex="28" class="input_search" disabled="true" appearance="input" style="left:120px; top:114px; width:89px; height:19px; "/>
  1044. <button id="button3" navindex="30" class="icon_search" style="left:310px; top:114px; width:16px; height:16px; ">
  1045. <caption/>
  1046. <script type="javascript" ev:event="DOMActivate">
  1047. <![CDATA[
  1048. fGetUserid("/root/req/chartreturn/appmanid","/root/req/chartreturn/appman");
  1049. ]]>
  1050. </script>
  1051. </button>
  1052. <input id="ipt_l_appmannm" ref="/root/req/chartreturn/appmanid" navindex="29" class="input_search" disabled="true" appearance="input" style="left:215px; top:114px; width:89px; height:19px; "/>
  1053. <button id="button4" navindex="19" class="btn1_letter6" style="left:215px; top:223px; width:104px; height:22px; ">
  1054. <caption>대출현황조회</caption>
  1055. <script type="javascript" ev:event="onclick">
  1056. <![CDATA[
  1057. fGetRtnList();
  1058. ]]>
  1059. </script>
  1060. </button>
  1061. <group id="grup_losschrt" visibility="hidden" style="left:875px; top:145px; width:285px; height:39px; border-color:#adceff; border-width:3px; border-style:solid; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
  1062. <button id="button6" navindex="31" class="btn2_letter2" style="left:232px; top:7px; width:42px; height:19px; ">
  1063. <caption>취소</caption>
  1064. <script type="javascript" ev:event="DOMActivate">
  1065. <![CDATA[
  1066. grup_losschrt.visible = "false";
  1067. ]]>
  1068. </script>
  1069. </button>
  1070. <line id="line7" class="line_3" style="x1:4px; y1:3px; x2:275px; y2:3px; "/>
  1071. <caption id="caption7" class="cell_1" style="left:5px; top:5px; width:67px; height:23px; vertical-align:middle; ">차트분실</caption>
  1072. <line id="line8" class="line_3" style="x1:4px; y1:29px; x2:275px; y2:29px; "/>
  1073. <button id="button8" navindex="30" class="btn2_letter2" style="left:187px; top:7px; width:42px; height:19px; ">
  1074. <caption>확인</caption>
  1075. <script type="javascript" ev:event="DOMActivate">
  1076. <![CDATA[
  1077. fUpdateChrtStat();
  1078. ]]>
  1079. </script>
  1080. </button>
  1081. <select1 id="combo1" ref="/root/hidden/lendlist/chrtstat" navindex="29" appearance="minimal" style="left:77px; top:7px; width:105px; height:19px; ">
  1082. <choices>
  1083. <itemset nodeset="/root/init/M0424/M0424">
  1084. <label ref="cdnm"/>
  1085. <value ref="cdid"/>
  1086. </itemset>
  1087. </choices>
  1088. </select1>
  1089. </group>
  1090. <select id="checkbox3" ref="/root/hidden/chkyn3" overflow="visible" appearance="full" style="left:120px; top:205px; width:125px; height:20px; border-style:none; ">
  1091. <choices>
  1092. <item>
  1093. <label>체킹번호생성제외</label>
  1094. <value>Y</value>
  1095. </item>
  1096. </choices>
  1097. </select>
  1098. <button id="button5" class="btn2_letter6" style="left:1100px; top:26px; width:86px; height:19px; ">
  1099. <caption>선택차트반납</caption>
  1100. <script type="javascript" ev:event="onclick">
  1101. <![CDATA[
  1102. fsetrtnchart("C");
  1103. ]]>
  1104. </script>
  1105. </button>
  1106. </case>
  1107. </switch>
  1108. <button id="btn_rtnchrt" class="btn_sw" group="tab" style="left:190px; top:4px; width:80px; height:22px; ">
  1109. <caption>반납</caption>
  1110. <toggle case="chartreturn" ev:event="onclick"/>
  1111. <script type="javascript" ev:event="DOMActivate">
  1112. <![CDATA[
  1113. fClickTab();
  1114. ]]>
  1115. </script>
  1116. </button>
  1117. <button id="btn_rendchrt" class="btn_sw" group="tab" style="left:110px; top:4px; width:80px; height:22px; ">
  1118. <caption>대출</caption>
  1119. <toggle case="chartlend" ev:event="onclick"/>
  1120. <script type="javascript" ev:event="DOMActivate">
  1121. <![CDATA[
  1122. fClickTab();
  1123. ]]>
  1124. </script>
  1125. </button>
  1126. <button id="btn_movchrt" class="btn_sw" group="tab" selected="true" style="left:0px; top:4px; width:110px; height:22px; ">
  1127. <caption>현위치 조회</caption>
  1128. <toggle case="lendreport" ev:event="onclick"/>
  1129. </button>
  1130. <button id="btn_r_" class="btn2_letter6" style="left:1104px; top:3px; width:86px; height:19px; ">
  1131. <caption>진료정보조회</caption>
  1132. <script type="javascript" ev:event="onclick">
  1133. <![CDATA[
  1134. var pid = model.getValue("/root/req/rendreport/pid");
  1135. setParameter("SMMMO02500_cond", pid + "▩▩▩");
  1136. open("SMMMO02500");
  1137. ]]>
  1138. </script>
  1139. </button>
  1140. </group>
  1141. </xhtml:body>
  1142. </xhtml:html>