SMPMI01000_퇴원미수환자관리.xrw 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>퇴원미수환자관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <uncolist>
  11. <grduncolist>
  12. <ordtype/>
  13. <pid/>
  14. <hngnm/>
  15. <indd/>
  16. <dschdd/>
  17. <uncocd/>
  18. <uncoamt/>
  19. <orgrcptdd/>
  20. <rcptno/>
  21. <rcptseqno/>
  22. <cretno/>
  23. <orddeptcd/>
  24. <atdoctid/>
  25. <insukind/>
  26. <uncocls/>
  27. <zipcd1/>
  28. <zipcd2/>
  29. <zipcdseq/>
  30. <detladdr/>
  31. <brthdd/>
  32. <sex/>
  33. <mpphontel/>
  34. <ownbtotamt/>
  35. </grduncolist>
  36. </uncolist>
  37. <ptbsinfo>
  38. <hngnm/>
  39. <zipcd1/>
  40. <zipcd2/>
  41. <zipcdseq/>
  42. <detladdr/>
  43. <age/>
  44. <sex/>
  45. <mpphontel/>
  46. </ptbsinfo>
  47. <admlinfo>
  48. <insukind/>
  49. <orddeptcd/>
  50. <indd/>
  51. <uncoamt/>
  52. <atdoctid/>
  53. <orgrcptdd/>
  54. <cretno/>
  55. </admlinfo>
  56. <ihgtinfo>
  57. <grnternm/>
  58. <grntertel/>
  59. <realcd/>
  60. <addr/>
  61. <grnternm1/>
  62. <grntertel1/>
  63. <real1/>
  64. <addr1/>
  65. <grnternm2/>
  66. <grntertel2/>
  67. <real2/>
  68. <addr2/>
  69. <pid/>
  70. <indd/>
  71. <state/>
  72. </ihgtinfo>
  73. <otptinptinfo>
  74. <grdotptinpt>
  75. <ordtype/>
  76. <indd/>
  77. <dschdd/>
  78. <orddeptcd/>
  79. <orddeptnm/>
  80. <medispclid/>
  81. <medispclnm/>
  82. <insukind/>
  83. <suppkind/>
  84. </grdotptinpt>
  85. </otptinptinfo>
  86. <admiopmiinfo>
  87. <grdadmiopmi>
  88. <ordtype/>
  89. <indd/>
  90. <orgrcptdd/>
  91. <totalamt/>
  92. <totownbamt/>
  93. <payinsubamt/>
  94. <cashamt/>
  95. <uncoamt/>
  96. <uncocalcflag/>
  97. </grdadmiopmi>
  98. </admiopmiinfo>
  99. <ihdcinfo>
  100. <grdihdcinfo>
  101. <cnstflag/>
  102. <workdd/>
  103. <cnstspec/>
  104. <lastupdtrid/>
  105. <lastupdtrnm/>
  106. <cnstdetlseqno/>
  107. <cretno/>
  108. <indd/>
  109. <lastupdtdt/>
  110. </grdihdcinfo>
  111. </ihdcinfo>
  112. <dssuinfo>
  113. <grddssuinfo>
  114. <suitsezrflag/>
  115. <appdd/>
  116. <prstdd/>
  117. <acdno/>
  118. <judgyn/>
  119. <pid/>
  120. <indd/>
  121. <cretno/>
  122. <suitseqno/>
  123. <state/>
  124. </grddssuinfo>
  125. </dssuinfo>
  126. <insihdc>
  127. <workdd/>
  128. <cnstspec/>
  129. <cnstdetlseqno/>
  130. <state/>
  131. </insihdc>
  132. </main>
  133. <send>
  134. <reference>
  135. <pid/>
  136. <hngnm/>
  137. <orddeptcd/>
  138. <orddrid/>
  139. <wardcd/>
  140. <disccd/>
  141. <insukind/>
  142. <ownbamt/>
  143. <uncoamt/>
  144. <uncocd/>
  145. <uncocls/>
  146. <ordtype/>
  147. <rcptstat/>
  148. <suitflag/>
  149. <fstrgstdt1/>
  150. <fstrgstdt2/>
  151. </reference>
  152. <cond1>
  153. <pid/>
  154. </cond1>
  155. <cond2>
  156. <pid/>
  157. <indd/>
  158. <cretno/>
  159. </cond2>
  160. <cond3>
  161. <pid/>
  162. <indd/>
  163. <cnstdetlseqno/>
  164. </cond3>
  165. <insihdc>
  166. <pid/>
  167. <indd/>
  168. <cretno/>
  169. <cnstflag/>
  170. <cnstdetlseqno/>
  171. <workdd/>
  172. <cnstspec/>
  173. <state/>
  174. </insihdc>
  175. <senditems/>
  176. <insihgt>
  177. <grnternm/>
  178. <grntertel/>
  179. <realcd/>
  180. <addr/>
  181. <grnternm1/>
  182. <grntertel1/>
  183. <real1/>
  184. <addr1/>
  185. <grnternm2/>
  186. <grntertel2/>
  187. <real2/>
  188. <addr2/>
  189. <pid/>
  190. <indd/>
  191. <state/>
  192. </insihgt>
  193. </send>
  194. <init>
  195. <instcd>012</instcd>
  196. <P0001list>
  197. <P0001>
  198. <cdid/>
  199. <cdnm/>
  200. </P0001>
  201. </P0001list>
  202. <P0028list>
  203. <P0028>
  204. <cdid/>
  205. <cdnm/>
  206. </P0028>
  207. </P0028list>
  208. </init>
  209. <hidden>
  210. <init>
  211. <disccd>
  212. <cd/>
  213. <nm/>
  214. </disccd>
  215. <insukind>
  216. <cd/>
  217. <nm/>
  218. </insukind>
  219. <suppkind>
  220. <up/>
  221. <cd/>
  222. <nm/>
  223. <io/>
  224. </suppkind>
  225. <orddeptcd>
  226. <cd/>
  227. <nm/>
  228. <deptengabbr/>
  229. </orddeptcd>
  230. <orddrid>
  231. <cd/>
  232. <nm/>
  233. <dp/>
  234. <sp/>
  235. </orddrid>
  236. <wardcd>
  237. <cd/>
  238. <nm/>
  239. <of/>
  240. </wardcd>
  241. <uncocd>
  242. <cd/>
  243. <nm/>
  244. </uncocd>
  245. </init>
  246. <ihgtinfo>
  247. <grnternm/>
  248. <grntertel/>
  249. <realcd/>
  250. <addr/>
  251. <grnternm1/>
  252. <grntertel1/>
  253. <real1/>
  254. <addr1/>
  255. <grnternm2/>
  256. <grntertel2/>
  257. <real2/>
  258. <addr2/>
  259. </ihgtinfo>
  260. </hidden>
  261. <temp>
  262. <realcd>
  263. <item>
  264. <nm>
  265. </nm>
  266. <cd>
  267. </cd>
  268. </item>
  269. <item>
  270. <nm>본인</nm>
  271. <cd>1</cd>
  272. </item>
  273. <item>
  274. <nm>배우자</nm>
  275. <cd>2</cd>
  276. </item>
  277. <item>
  278. <nm>자녀</nm>
  279. <cd>3</cd>
  280. </item>
  281. <item>
  282. <nm>부모</nm>
  283. <cd>4</cd>
  284. </item>
  285. <item>
  286. <nm>기타</nm>
  287. <cd>5</cd>
  288. </item>
  289. </realcd>
  290. </temp>
  291. <temp1>
  292. <suitflag>
  293. <item>
  294. <nm>
  295. </nm>
  296. <cd>
  297. </cd>
  298. </item>
  299. <item>
  300. <nm>소송</nm>
  301. <cd>1</cd>
  302. </item>
  303. <item>
  304. <nm>가압류</nm>
  305. <cd>2</cd>
  306. </item>
  307. </suitflag>
  308. </temp1>
  309. </root>
  310. </instance>
  311. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  312. <submission id="TRPMI01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reference" resultref="/root/main/uncolist"/>
  313. <submission id="TRPMI01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/instcd" resultref="/root/hidden/init"/>
  314. <submission id="TRPMI01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1/pid" resultref="/root/main/ptbsinfo"/>
  315. <submission id="TRPMI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/admlinfo"/>
  316. <submission id="TRPMI01005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/hidden/ihgtinfo"/>
  317. <submission id="TRPMI01006" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1" resultref="/root/main/otptinptinfo"/>
  318. <submission id="TRPMI01007" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond1" resultref="/root/main/admiopmiinfo"/>
  319. <submission id="TRPMI01008" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/ihdcinfo"/>
  320. <submission id="TRPMI01009" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond2" resultref="/root/main/dssuinfo"/>
  321. <submission id="TRPMI01010" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond3" resultref="/root/main/insihdc"/>
  322. <submission id="TXPMI01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihdc"/>
  323. <submission id="TXPMI01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond3"/>
  324. <submission id="TXPMI01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/insihgt"/>
  325. <submission id="TXPMI01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/senditems"/>
  326. </model>
  327. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  328. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  329. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  330. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  331. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  332. <script type="javascript" ev:event="xforms-ready">
  333. <![CDATA[
  334. zbcfGetCodeList(new Array("P0001","P0101","P0028","P0038"),new Array("/root/init/P0001list","/root/init/P0101list","/root/init/P0028list","/root/init/P0038list"));
  335. submit("TRPMI01002");
  336. model.setFocus("ipt_pid");
  337. model.setValue("/root/send/reference/fstrgstdt1", getCurrentDate());
  338. model.setValue("/root/send/reference/fstrgstdt2", getCurrentDate());
  339. model.refresh();
  340. //2009.10.15 mykim 추가
  341. if (checkOpener()) {
  342. var pid = opener.javascript.getParameter("pid");
  343. var indd = opener.javascript.getParameter("indd");
  344. var dschdd = opener.javascript.getParameter("dschdd");
  345. var grd_admiopmi
  346. //선택된 날짜의 열을 select 로 선택해준다.
  347. //grd_admiopmi.select(indd,grd_admiopmi.fixedRows) = true;
  348. //미수수납화면에서 링크되어 정보 가져옴.
  349. if (pid != "")
  350. {
  351. /*환자 미수금 조회*/
  352. model.setValue("/root/send/reference/pid", pid);
  353. model.setValue("/root/send/reference/fstrgstdt1", indd);
  354. submit("TRPMI01001");
  355. /* 인적사항 조회 */
  356. fExe(pid);
  357. }
  358. model.refresh();
  359. }
  360. ]]>
  361. </script>
  362. <script type="javascript">
  363. <![CDATA[
  364. function fOrdDrSet()
  365. {
  366. var sorddeptcd = model.getValue("/root/send/reference/orddeptcd");
  367. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/hidden/init/orddrid[dp = '" + sorddeptcd + "' ]";
  368. cmb_orddrid.refresh();
  369. }
  370. function fInitialize(){
  371. model.removeNodeset("/root/main/uncolist/grduncolist");
  372. model.removeNodeset("/root/main/otptinptinfo/grdotptinpt");
  373. model.removeNodeset("/root/main/admiopmiinfo/grdadmiopmi");
  374. model.removeNodeset("/root/main/ihdcinfo/grdihdcinfo");
  375. model.removeNodeset("/root/main/dssuinfo/grddssuinfo");
  376. model.resetInstanceNode("/root/main/ptbsinfo");
  377. model.resetInstanceNode("/root/main/admlinfo");
  378. model.resetInstanceNode("/root/main/ihgtinfo");
  379. model.resetInstanceNode("/root/main/insihdc");
  380. model.resetInstanceNode("/root/send");
  381. model.resetInstanceNode("/root/hidden/ihgtinfo");
  382. }
  383. function fPatInfo(){
  384. model.setValue("/root/send/cond1/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
  385. submit("TRPMI01003"); /* 인적사항 조회 */
  386. model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
  387. model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/indd"));
  388. }
  389. function fExe(pid){
  390. var currow = grd_uncolist.row;
  391. model.resetInstanceNode("/root/hidden/ihgtinfo");
  392. if (pid != "" && currow < 1)
  393. {
  394. model.setValue("/root/send/cond1/pid", pid);
  395. model.setValue("/root/send/cond2/pid", pid);
  396. //alert(model.getValue("/root/main/uncolist/grduncolist/indd"));
  397. submit("TRPMI01003"); /* 인적사항 조회 */
  398. submit("TRPMI01004"); /* 퇴원정산내역 조회 */
  399. model.setValue("/root/main/admlinfo/indd", model.getValue("/root/main/uncolist/grduncolist/indd"));//인적사항 입원일자 세팅..
  400. }else{
  401. model.setValue("/root/send/cond1/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
  402. model.setValue("/root/send/cond2/pid", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/pid"));
  403. submit("TRPMI01003"); /* 인적사항 조회 */
  404. model.setValue("/root/send/cond2/indd", model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/indd"));
  405. submit("TRPMI01004"); /* 퇴원정산내역 조회 */
  406. }
  407. // model.setValue("/root/main/admlinfo/uncoamt",model.getValue("/root/main/uncolist/grduncolist[" + grd_uncolist.row + "]/uncoamt"));
  408. submit("TRPMI01005"); /* 보증인 조회 */
  409. model.setValue("/root/main/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
  410. model.setValue("/root/main/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
  411. model.setValue("/root/main/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
  412. model.setValue("/root/main/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
  413. model.setValue("/root/main/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
  414. model.setValue("/root/main/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
  415. model.setValue("/root/main/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
  416. model.setValue("/root/main/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
  417. model.setValue("/root/main/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
  418. model.setValue("/root/main/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
  419. model.setValue("/root/main/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
  420. model.setValue("/root/main/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
  421. if (model.getValue("/root/hidden/ihgtinfo/grnternm") == "") {
  422. model.setValue("/root/main/ihgtinfo/state", "I");
  423. } else {
  424. model.setValue("/root/main/ihgtinfo/state", "U");
  425. }
  426. submit("TRPMI01006"); /* 내원내역 조회 */
  427. submit("TRPMI01007"); /* 수납내역 조회 */
  428. submit("TRPMI01008"); /* 상담상세내역 조회 */
  429. submit("TRPMI01009"); /* 소송가압류 조회 */
  430. model.setValue("/root/main/insihdc/workdd", getCurrentDate());
  431. model.setFocus("textarea1");
  432. model.refresh();
  433. }
  434. ]]>
  435. </script>
  436. <script type="javascript" ev:event="xforms-ready">
  437. <![CDATA[
  438. ]]>
  439. </script>
  440. </xhtml:head>
  441. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  442. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  443. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:13px; ">퇴원미수환자관리</caption>
  444. </group>
  445. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  446. <line id="line23" class="line_2" style="x1:487px; y1:504px; x2:1194px; y2:504px; "/>
  447. <line id="line11" class="line_2" style="x1:485px; y1:125px; x2:1194px; y2:125px; "/>
  448. <line id="line10" class="line_2" style="x1:485px; y1:101px; x2:1194px; y2:101px; "/>
  449. <line id="line9" class="line_2" style="x1:485px; y1:77px; x2:1194px; y2:77px; "/>
  450. <line id="line8" class="line_2" style="x1:485px; y1:53px; x2:1194px; y2:53px; "/>
  451. <caption id="caption46" class="tit_2" style="left:5px; top:208px; width:170px; height:13px; ">환자조회</caption>
  452. <line id="line4" class="line_1" style="x1:0px; y1:223px; x2:482px; y2:223px; "/>
  453. <datagrid id="grd_uncolist" nodeset="/root/main/uncolist/grduncolist" class="datagrid1" caption="환자번호^환자성명^입원일자^퇴원일자^미수사유^미수금^영수일자^영수번호^일련번호^생성번호^진료과^진료의사^전문의^보험유형^미수사유^주소1^주소2^주소3^주소4^생년월일^성별^전화^본인부담총액" colsep="^" colwidth="65, 60, 70, 70, 100, 83, 0, 0, 0" dataheight="23" defaultrows="1" explorerbar="sort" focuscolor="transparent" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:228px; width:482px; height:508px; ">
  454. <col disabled="true" ref="pid"/>
  455. <col disabled="true" ref="hngnm"/>
  456. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  457. <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  458. <col disabled="true" ref="uncocd" type="combo">
  459. <choices>
  460. <itemset nodeset="/root/hidden/init/uncocd">
  461. <label ref="nm"/>
  462. <value ref="cd"/>
  463. </itemset>
  464. </choices>
  465. </col>
  466. <col disabled="true" ref="uncoamt" format="#,###" style="text-align:right; "/>
  467. <col disabled="true" ref="rcptdd"/>
  468. <col disabled="true" ref="rcptno"/>
  469. <col disabled="true" ref="rcptseqno"/>
  470. <script type="javascript" ev:event="onclick">
  471. <![CDATA[
  472. if( isDataCell() ){
  473. fExe();
  474. }
  475. ]]>
  476. </script>
  477. <script type="javascript" ev:event="onaftersort">
  478. <![CDATA[
  479. grd_uncolist.gridToInstance();
  480. ]]>
  481. </script>
  482. </datagrid>
  483. <line id="line2" class="line_1" style="x1:487px; y1:26px; x2:1194px; y2:26px; "/>
  484. <caption id="caption11" class="tit_2" style="left:492px; top:11px; width:170px; height:13px; ">인적사항</caption>
  485. <input id="ipt_workdd" ref="/root/main/insihdc/workdd" class="input_default" inputtype="date" style="left:581px; top:483px; width:103px; height:19px; "/>
  486. <line id="line3" class="line_1" style="x1:487px; y1:477px; x2:1194px; y2:477px; "/>
  487. <caption id="caption45" class="tit_2" style="left:492px; top:462px; width:170px; height:13px; ">상담일지 작성 및 조회</caption>
  488. <textarea id="textarea1" ref="/root/main/insihdc/cnstspec" style="left:581px; top:509px; width:613px; height:41px; "/>
  489. <caption id="caption48" class="cell_1" style="left:487px; top:482px; width:91px; height:23px; vertical-align:middle; ">작성일자</caption>
  490. <caption id="caption49" class="cell_1" style="left:487px; top:506px; width:91px; height:48px; vertical-align:middle; ">내용</caption>
  491. <datagrid id="grd_ihdcinfo" nodeset="/root/main/ihdcinfo/grdihdcinfo" caption="분류^진료/입원일자^상담내용^작성자^작성일자^최종수정일자^일련번호" colsep="^" colwidth="80, 85, 345, 74, 82, 82, 0" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:487px; top:563px; width:707px; height:70px; ">
  492. <col disabled="true" ref="cnstflag" type="combo" style="text-align:center; ">
  493. <choices>
  494. <item>
  495. <label>재원미수</label>
  496. <value>1</value>
  497. </item>
  498. <item>
  499. <label>재원환자</label>
  500. <value>2</value>
  501. </item>
  502. <item>
  503. <label>퇴원미수</label>
  504. <value>3</value>
  505. </item>
  506. <item>
  507. <label>응급대불</label>
  508. <value>4</value>
  509. </item>
  510. </choices>
  511. </col>
  512. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  513. <col disabled="true" ref="cnstspec"/>
  514. <col disabled="true" ref="lastupdtrnm" style="text-align:center; "/>
  515. <col disabled="true" ref="workdd" format="yyyy-mm-dd" style="text-align:center; "/>
  516. <col disabled="true" ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  517. <col disabled="true" ref="cnstdetlseqno"/>
  518. <script type="javascript" ev:event="onclick">
  519. <![CDATA[
  520. //if (isDataCell()) {
  521. if (grd_ihdcinfo.rows<= 1) return;
  522. if (grd_ihdcinfo.row < 1) return;
  523. //model.copyNode("/root/main/insihdc","/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]");
  524. model.copyNode("/root/main/insihdc","/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]");
  525. model.setValue("/root/send/insihdc/state", "u");
  526. model.refresh();
  527. /*
  528. model.setValue("/root/send/cond3/pid", model.getValue("/root/send/cond1/pid"));
  529. model.setValue("/root/send/cond3/indd", model.getValue("/root/main/admlinfo/indd"));
  530. model.setValue("/root/send/cond3/cnstdetlseqno", model.getValue("/root/main/ihdcinfo/grdihdcinfo[" + grd_ihdcinfo.row + "]/cnstdetlseqno"));
  531. submit("TRPMI01010");
  532. model.refresh();
  533. */
  534. //}
  535. ]]>
  536. </script>
  537. </datagrid>
  538. <input id="ipt_grntertel1" ref="/root/main/ihgtinfo/grntertel1" class="input_default" navindex="22" style="left:664px; top:152px; width:90px; height:19px; ">
  539. <hint>
  540. <![CDATA[보증인연락처]]>
  541. </hint>
  542. </input>
  543. <input id="input71" ref="/root/main/admlinfo/indd" class="input_default" disabled="true" inputtype="date" style="left:1098px; top:80px; width:96px; height:19px; text-align:center; "/>
  544. <input id="ipt_addr1" ref="/root/main/ihgtinfo/addr1" class="input_default" navindex="24" imemode="hangul" style="left:822px; top:152px; width:372px; height:19px; ">
  545. <hint>
  546. <![CDATA[보증인주소]]>
  547. </hint>
  548. </input>
  549. <input id="ipt_grnternm1" ref="/root/main/ihgtinfo/grnternm1" class="input_default" navindex="21" imemode="hangul" style="left:581px; top:152px; width:80px; height:19px; ">
  550. <hint>
  551. <![CDATA[보증인이름]]>
  552. </hint>
  553. </input>
  554. <input id="input83" ref="/root/main/admlinfo/orgrcptdd" class="input_default" disabled="true" inputtype="date" style="left:1098px; top:104px; width:96px; height:19px; text-align:center; "/>
  555. <caption id="caption82" class="cell_1" style="left:487px; top:103px; width:91px; height:23px; vertical-align:middle; ">퇴원미수금</caption>
  556. <input id="ipt_grnternm2" ref="/root/main/ihgtinfo/grnternm2" class="input_default" navindex="25" imemode="hangul" style="left:581px; top:176px; width:80px; height:19px; ">
  557. <hint>
  558. <![CDATA[보증인이름]]>
  559. </hint>
  560. </input>
  561. <input id="input95" ref="/root/main/ptbsinfo/zipcd1" class="input_default" disabled="true" style="left:767px; top:32px; width:30px; height:19px; "/>
  562. <caption id="caption83" class="cell_1" style="left:684px; top:79px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
  563. <input id="ipt_uncoamt" ref="/root/main/admlinfo/uncoamt" class="input_default" disabled="true" imemode="numeric" format="#,###" style="left:581px; top:104px; width:100px; height:19px; text-align:right; "/>
  564. <input id="input85" ref="/root/main/ptbsinfo/sex" class="input_default" disabled="true" style="left:1148px; top:32px; width:46px; height:19px; text-align:center; "/>
  565. <input id="input74" ref="/root/main/ptbsinfo/zipcd2" class="input_default" disabled="true" style="left:800px; top:32px; width:30px; height:19px; "/>
  566. <input id="input96" ref="/root/main/ptbsinfo/detladdr" class="input_default" disabled="true" style="left:767px; top:56px; width:245px; height:19px; "/>
  567. <caption id="caption84" class="cell_1" style="left:684px; top:55px; width:80px; height:23px; vertical-align:middle; ">하위주소</caption>
  568. <caption id="caption74" class="cell_1" style="left:1015px; top:31px; width:80px; height:23px; vertical-align:middle; ">나이/성별</caption>
  569. <input id="input87" ref="/root/main/ptbsinfo/mpphontel" class="input_default" disabled="true" style="left:1098px; top:56px; width:96px; height:19px; text-align:center; "/>
  570. <caption id="caption75" class="cell_1" style="left:1015px; top:55px; width:80px; height:23px; vertical-align:middle; ">전화번호</caption>
  571. <caption id="caption86" class="cell_1" style="left:487px; top:79px; width:91px; height:23px; vertical-align:middle; ">보험유형</caption>
  572. <caption id="caption87" class="cell_1" style="left:1015px; top:103px; width:80px; height:23px; vertical-align:middle; ">퇴원일자</caption>
  573. <input id="input77" ref="/root/main/ptbsinfo/zipcdseq" class="input_default" disabled="true" style="left:833px; top:32px; width:179px; height:19px; "/>
  574. <caption id="caption76" class="cell_1" style="left:487px; top:55px; width:91px; height:23px; vertical-align:middle; ">성명</caption>
  575. <input id="ipt_pid" ref="/root/send/cond1/pid" class="input_s_essential" navindex="0" style="left:581px; top:32px; width:100px; height:19px; ">
  576. <script type="javascript" ev:event="onkeypress">
  577. <![CDATA[
  578. setInputNodeCurText();
  579. if(event.keyCode == "13") {
  580. model.resetInstanceNode("/root/hidden/ihgtinfo");
  581. model.resetInstanceNode("/root/main/insihdc"); // 상담일지
  582. submit("TRPMI01003"); //환자기본정보조회 PMCMPTBS
  583. model.setValue("/root/send/cond2/pid", model.getValue("/root/send/cond1/pid"));
  584. model.setValue("/root/send/cond2/indd", "");
  585. model.setValue("/root/send/cond2/cretno", "");
  586. submit("TRPMI01004"); //환자입원내역조회 PMIHADMI
  587. model.setValue("/root/send/cond2/pid", model.getValue("/root/send/cond1/pid"));
  588. model.setValue("/root/send/cond2/indd", model.getValue("/root/main/admlinfo/indd"));
  589. model.setValue("/root/send/cond2/cretno", model.getValue("/root/main/admlinfo/cretno"));
  590. submit("TRPMI01005"); //보증인정보조회 PMIHIHGT
  591. model.setValue("/root/main/ihgtinfo/grnternm", model.getValue("/root/hidden/ihgtinfo/grnternm"));
  592. model.setValue("/root/main/ihgtinfo/grntertel", model.getValue("/root/hidden/ihgtinfo/grntertel"));
  593. model.setValue("/root/main/ihgtinfo/realcd", model.getValue("/root/hidden/ihgtinfo/realcd"));
  594. model.setValue("/root/main/ihgtinfo/addr", model.getValue("/root/hidden/ihgtinfo/addr"));
  595. model.setValue("/root/main/ihgtinfo/grnternm1", model.getValue("/root/hidden/ihgtinfo/grnternm1"));
  596. model.setValue("/root/main/ihgtinfo/grntertel1", model.getValue("/root/hidden/ihgtinfo/grntertel1"));
  597. model.setValue("/root/main/ihgtinfo/real1", model.getValue("/root/hidden/ihgtinfo/real1"));
  598. model.setValue("/root/main/ihgtinfo/addr1", model.getValue("/root/hidden/ihgtinfo/addr1"));
  599. model.setValue("/root/main/ihgtinfo/grnternm2", model.getValue("/root/hidden/ihgtinfo/grnternm2"));
  600. model.setValue("/root/main/ihgtinfo/grntertel2", model.getValue("/root/hidden/ihgtinfo/grntertel2"));
  601. model.setValue("/root/main/ihgtinfo/real2", model.getValue("/root/hidden/ihgtinfo/real2"));
  602. model.setValue("/root/main/ihgtinfo/addr2", model.getValue("/root/hidden/ihgtinfo/addr2"));
  603. if (model.getValue("/root/main/ihgtinfo/grnternm") == "") {
  604. model.setValue("/root/main/ihgtinfo/state", "I");
  605. } else {
  606. model.setValue("/root/main/ihgtinfo/state", "U");
  607. }
  608. submit("TRPMI01006");
  609. submit("TRPMI01007");
  610. submit("TRPMI01008");
  611. submit("TRPMI01009");
  612. model.makeValue("/root/send/reference", "");
  613. model.makeValue("/root/main/insihdc/cnstspec", "");
  614. model.makeValue("/root/main/insihdc/cnstdetlseqno", "");
  615. model.refresh();
  616. model.setValue("/root/main/insihdc/workdd", getCurrentDate());
  617. }
  618. ]]>
  619. </script>
  620. </input>
  621. <input id="ipt_addr2" ref="/root/main/ihgtinfo/addr2" class="input_default" navindex="28" imemode="hangul" style="left:822px; top:176px; width:372px; height:19px; ">
  622. <hint>
  623. <![CDATA[보증인주소]]>
  624. </hint>
  625. </input>
  626. <input id="ipt_grntertel" ref="/root/main/ihgtinfo/grntertel" class="input_default" navindex="18" style="left:664px; top:128px; width:90px; height:19px; ">
  627. <hint>
  628. <![CDATA[보증인연락처]]>
  629. </hint>
  630. </input>
  631. <caption id="caption88" class="cell_1" style="left:684px; top:31px; width:80px; height:23px; vertical-align:middle; ">주소</caption>
  632. <input id="ipt_grntertel2" ref="/root/main/ihgtinfo/grntertel2" class="input_default" navindex="26" style="left:664px; top:176px; width:90px; height:19px; ">
  633. <hint>
  634. <![CDATA[보증인연락처]]>
  635. </hint>
  636. </input>
  637. <caption id="caption89" class="cell_1" style="left:684px; top:103px; width:80px; height:23px; vertical-align:middle; ">전문의</caption>
  638. <caption id="caption78" class="cell_1" style="left:487px; top:31px; width:91px; height:23px; vertical-align:middle; ">환자번호</caption>
  639. <input id="ipt_addr" ref="/root/main/ihgtinfo/addr" class="input_default" navindex="20" imemode="hangul" style="left:822px; top:128px; width:372px; height:19px; ">
  640. <hint>
  641. <![CDATA[보증인주소]]>
  642. </hint>
  643. </input>
  644. <caption id="caption79" class="cell_1" style="left:1015px; top:79px; width:80px; height:23px; vertical-align:middle; ">입원일자</caption>
  645. <input id="ipt_grnternm" ref="/root/main/ihgtinfo/grnternm" class="input_default" navindex="17" imemode="hangul" style="left:581px; top:128px; width:80px; height:19px; ">
  646. <hint>
  647. <![CDATA[보증인이름]]>
  648. </hint>
  649. </input>
  650. <caption id="caption90" class="cell_1" style="left:487px; top:127px; width:91px; height:71px; ">연대보증인 (성명/연락처/관계/주소)</caption>
  651. <input id="input80" ref="/root/main/ptbsinfo/age" class="input_default" disabled="true" style="left:1098px; top:32px; width:47px; height:19px; text-align:center; "/>
  652. <caption id="caption56" class="tit_2" style="left:492px; top:207px; width:170px; height:13px; ">내원내역</caption>
  653. <line id="line6" class="line_1" style="x1:487px; y1:222px; x2:1194px; y2:222px; "/>
  654. <datagrid id="datagrid3" nodeset="/root/main/otptinptinfo/grdotptinpt" caption="구분^진료/입원일자^퇴원일자^진료과^전문의^보험유형^보조유형" colsep="^" colwidth="40, 90, 80, 160, 85, 110, 119" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:487px; top:227px; width:707px; height:92px; ">
  655. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  656. <choices>
  657. <itemset nodeset="/root/init/P0001list/P0001">
  658. <label ref="cdnm"/>
  659. <value ref="cdid"/>
  660. </itemset>
  661. </choices>
  662. </col>
  663. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  664. <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  665. <col disabled="true" ref="orddeptnm" type="output" style="text-align:center; "/>
  666. <col disabled="true" ref="medispclnm" type="output" style="text-align:center; "/>
  667. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  668. <choices>
  669. <itemset nodeset="/root/hidden/init/insukind">
  670. <label ref="nm"/>
  671. <value ref="cd"/>
  672. </itemset>
  673. </choices>
  674. </col>
  675. <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
  676. <choices>
  677. <itemset nodeset="/root/hidden/init/suppkind">
  678. <label ref="nm"/>
  679. <value ref="cd"/>
  680. </itemset>
  681. </choices>
  682. </col>
  683. </datagrid>
  684. <caption id="caption72" class="tit_2" style="left:492px; top:329px; width:170px; height:13px; ">수납내역</caption>
  685. <line id="line7" class="line_1" style="x1:487px; y1:344px; x2:1194px; y2:344px; "/>
  686. <datagrid id="grd_admiopmi" nodeset="/root/main/admiopmiinfo/grdadmiopmi" caption="구분^진료/입원일자^수납일자^총진료비^본인부담^보험자부담^수납금액^미수금액^미수사유" colsep="^" colwidth="40, 84, 80, 80, 80, 80, 80, 80, 85" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:487px; top:349px; width:707px; height:103px; ">
  687. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  688. <choices>
  689. <itemset nodeset="/root/init/P0001list/P0001">
  690. <label ref="cdnm"/>
  691. <value ref="cdid"/>
  692. </itemset>
  693. </choices>
  694. </col>
  695. <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  696. <col disabled="true" ref="orgrcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  697. <col disabled="true" ref="totalamt" format="#,###" style="text-align:right; "/>
  698. <col disabled="true" ref="totownbamt" format="#,###" style="text-align:right; "/>
  699. <col disabled="true" ref="payinsubamt" format="#,###" style="text-align:right; "/>
  700. <col disabled="true" ref="cashamt" format="#,###" style="text-align:right; "/>
  701. <col disabled="true" ref="uncoamt" format="#,###" style="text-align:right; "/>
  702. <col disabled="true" ref="uncocalcflag" type="combo">
  703. <choices>
  704. <itemset nodeset="/root/hidden/init/disccd">
  705. <label ref="nm"/>
  706. <value ref="cd"/>
  707. </itemset>
  708. </choices>
  709. </col>
  710. </datagrid>
  711. <group id="group2" style="left:0px; top:10px; width:482px; height:185px; ">
  712. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:482px; height:185px; background-color:#fffbf2; border-color:#ffd799; "/>
  713. <caption id="caption1" class="search_name" style="left:15px; top:33px; width:86px; height:17px; ">진료과 :</caption>
  714. <select1 id="cmb_orddeptcd" ref="/root/send/reference/orddeptcd" class="combo_search" navindex="3" appearance="minimal" style="left:104px; top:32px; width:115px; height:19px; ">
  715. <choices>
  716. <itemset nodeset="/root/hidden/init/orddeptcd">
  717. <label ref="nm"/>
  718. <value ref="cd"/>
  719. </itemset>
  720. </choices>
  721. <script type="javascript" ev:event="onclick">
  722. <![CDATA[
  723. fOrdDrSet();
  724. ]]>
  725. </script>
  726. </select1>
  727. <caption id="caption3" class="search_name" style="left:250px; top:33px; width:115px; height:17px; ">본인부담금≥</caption>
  728. <caption id="caption2" class="search_name" style="left:15px; top:57px; width:86px; height:17px; ">전문의 :</caption>
  729. <caption id="caption4" class="search_name" style="left:15px; top:81px; width:86px; height:17px; ">병동 :</caption>
  730. <caption id="caption5" class="search_name" style="left:15px; top:129px; width:86px; height:17px; ">소송구분 :</caption>
  731. <caption id="caption7" class="search_name" style="left:15px; top:154px; width:86px; height:17px; ">등록기간 :</caption>
  732. <select1 id="cmb_orddrid" ref="/root/send/reference/orddrid" class="combo_search" navindex="5" appearance="minimal" style="left:104px; top:56px; width:115px; height:19px; ">
  733. <choices>
  734. <itemset nodeset="/root/hidden/init/orddrid">
  735. <label ref="nm"/>
  736. <value ref="cd"/>
  737. </itemset>
  738. </choices>
  739. </select1>
  740. <select1 id="cmb_wardcd" ref="/root/send/reference/wardcd" class="combo_search" navindex="7" appearance="minimal" style="left:104px; top:80px; width:115px; height:19px; ">
  741. <choices>
  742. <itemset nodeset="/root/hidden/init/wardcd">
  743. <label ref="nm"/>
  744. <value ref="cd"/>
  745. </itemset>
  746. </choices>
  747. </select1>
  748. <select1 id="cmb_rcptstat" ref="/root/send/reference/rcptstat" class="combo_search" navindex="12" appearance="minimal" style="left:352px; top:128px; width:115px; height:19px; ">
  749. <choices>
  750. <item>
  751. <label>전체</label>
  752. <value/>
  753. </item>
  754. <item>
  755. <label>완납</label>
  756. <value>Y</value>
  757. </item>
  758. <item>
  759. <label>미결</label>
  760. <value>N</value>
  761. </item>
  762. </choices>
  763. </select1>
  764. <input id="ipt_fstrgstdt1" ref="/root/send/reference/fstrgstdt1" class="input_search" navindex="13" inputtype="date" style="left:105px; top:153px; width:115px; height:19px; "/>
  765. <input id="ipt_fstrgstdt2" ref="/root/send/reference/fstrgstdt2" class="input_search" navindex="14" inputtype="date" style="left:241px; top:153px; width:115px; height:19px; "/>
  766. <caption id="caption8" class="search_name" style="left:250px; top:57px; width:115px; height:17px; ">미수금 ≥</caption>
  767. <caption id="caption9" class="search_name" style="left:250px; top:81px; width:95px; height:17px; ">보험유형 :</caption>
  768. <input id="input1" ref="/root/send/reference/uncoamt" class="input_search" navindex="6" imemode="numeric" format="#,###" style="left:352px; top:56px; width:115px; height:19px; text-align:right; "/>
  769. <select1 id="cmb_insukind" ref="/root/send/reference/insukind" class="combo_search" navindex="8" appearance="minimal" style="left:352px; top:80px; width:115px; height:19px; ">
  770. <choices>
  771. <itemset nodeset="/root/hidden/init/insukind">
  772. <label ref="nm"/>
  773. <value ref="cd"/>
  774. </itemset>
  775. </choices>
  776. </select1>
  777. <button id="button1" class="btn1_letter2" navindex="15" style="left:411px; top:155px; width:56px; height:22px; ">
  778. <caption>조회</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. submit("TRPMI01001");
  782. ]]>
  783. </script>
  784. </button>
  785. <line id="line1" class="line_4" style="x1:396px; y1:155px; x2:396px; y2:175px; border-color:#ffe4bb; border-left-style:solid; "/>
  786. <caption id="caption20" class="search_no_b" style="left:225px; top:154px; width:12px; height:17px; ">~</caption>
  787. <input id="input32" ref="/root/send/reference/ownbamt" class="input_search" navindex="4" imemode="numeric" format="#,###" style="left:352px; top:32px; width:115px; height:19px; text-align:right; "/>
  788. <caption id="caption50" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
  789. <input id="input2" ref="/root/send/reference/pid" class="input_s_essential" navindex="1" style="left:104px; top:8px; width:115px; height:19px; "/>
  790. <caption id="caption57" class="search_name" style="left:250px; top:9px; width:86px; height:17px; ">환자성명 :</caption>
  791. <input id="ipt_hngnm" ref="/root/send/reference/hngnm" class="input_s_essential" navindex="2" imemode="hangul" style="left:352px; top:8px; width:115px; height:19px; "/>
  792. <caption id="caption70" class="search_name" style="left:15px; top:105px; width:86px; height:17px; ">할인계정 :</caption>
  793. <select1 id="cmb_disccd" ref="/root/send/reference/disccd" class="combo_search" navindex="9" appearance="minimal" style="left:104px; top:104px; width:115px; height:19px; ">
  794. <choices>
  795. <itemset nodeset="/root/hidden/init/disccd">
  796. <label ref="nm"/>
  797. <value ref="cd"/>
  798. </itemset>
  799. </choices>
  800. </select1>
  801. <select1 id="cmb_uncocd" ref="/root/send/reference/uncocd" class="combo_search" navindex="10" appearance="minimal" style="left:352px; top:104px; width:115px; height:19px; ">
  802. <choices>
  803. <itemset nodeset="/root/hidden/init/uncocd">
  804. <label ref="nm"/>
  805. <value ref="cd"/>
  806. </itemset>
  807. </choices>
  808. </select1>
  809. <caption id="caption73" class="search_name" style="left:250px; top:105px; width:86px; height:17px; ">미수사유 :</caption>
  810. <caption id="caption22" class="search_name" style="left:250px; top:129px; width:86px; height:17px; ">입금구분 :</caption>
  811. <select1 id="combo10" ref="/root/send/reference/suitflag" class="combo_search" navindex="11" appearance="minimal" style="left:104px; top:128px; width:115px; height:19px; ">
  812. <choices>
  813. <itemset nodeset="/root/temp1/suitflag/item">
  814. <label ref="nm"/>
  815. <value ref="cd"/>
  816. </itemset>
  817. </choices>
  818. </select1>
  819. </group>
  820. <input id="input3" ref="/root/main/ptbsinfo/hngnm" class="input_default" disabled="true" style="left:581px; top:56px; width:100px; height:19px; "/>
  821. <caption id="caption14" class="tit_2" style="left:490px; top:644px; width:174px; height:13px; ">소송/가압류정보</caption>
  822. <line id="line5" class="line_1" style="x1:487px; y1:659px; x2:1194px; y2:659px; "/>
  823. <line id="line12" class="line_2" style="x1:581px; y1:149px; x2:1194px; y2:149px; "/>
  824. <line id="line13" class="line_2" style="x1:581px; y1:173px; x2:1194px; y2:173px; "/>
  825. <button id="button5" class="btn2_letter2" visibility="hidden" style="left:373px; top:203px; width:42px; height:19px; ">
  826. <caption>출력</caption>
  827. </button>
  828. <button id="button8" class="btn2_letter4" navindex="16" style="left:418px; top:203px; width:64px; height:19px; ">
  829. <caption>액셀저장</caption>
  830. <script type="javascript" ev:event="DOMActivate">
  831. <![CDATA[
  832. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  833. if (!isNull(fileName)) {
  834. grd_uncolist.saveExcel(fileName, "SheetName", true, true, "", "");
  835. }
  836. window.exec(fileName);
  837. ]]>
  838. </script>
  839. </button>
  840. <datagrid id="grd_dssuinfo" nodeset="/root/main/dssuinfo/grddssuinfo" caption="구분^신청일자^제출/해제일자^사건번호^판결여부^등록번호^입원일자^생성번호^소송일련번호^상태" colsep="^" colwidth="90, 160, 160, 160, 114,0,0,0,0,0" dataheight="23" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:487px; top:663px; width:707px; height:74px; ">
  841. <col ref="suitsezrflag" type="combo">
  842. <choices>
  843. <itemset nodeset="/root/temp1/suitflag/item">
  844. <label ref="nm"/>
  845. <value ref="cd"/>
  846. </itemset>
  847. </choices>
  848. </col>
  849. <col ref="appdd" type="inputdate"/>
  850. <col ref="prstdd" type="inputdate"/>
  851. <col ref="acdno" type="input"/>
  852. <col ref="judgyn" type="combo">
  853. <choices>
  854. <item>
  855. <label>판결완료</label>
  856. <value>Y</value>
  857. </item>
  858. <item>
  859. <label>판결중</label>
  860. <value>N</value>
  861. </item>
  862. </choices>
  863. </col>
  864. <col ref="pid"/>
  865. <col ref="indd"/>
  866. <col ref="cretno"/>
  867. <col ref="suitseqno"/>
  868. <col ref="state"/>
  869. <script type="javascript" ev:event="xforms-value-changed">
  870. <![CDATA[
  871. // if (isDataCell() && model.getvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state") != "I"){
  872. if (model.getvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state") != "I"){
  873. grd_dssuinfo.addStatus(grd_dssuinfo.row, "update");
  874. grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_u.gif";
  875. model.setvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row + "]/state", "U");
  876. model.refresh();
  877. }
  878. ]]>
  879. </script>
  880. </datagrid>
  881. <button id="button13" class="btn5_letter7" style="left:1095px; top:639px; width:97px; height:19px; ">
  882. <caption>소송가압류저장</caption>
  883. <script type="javascript" ev:event="DOMActivate">
  884. <![CDATA[
  885. for (var i = 1; i <= grd_dssuinfo.rows-1;i++) {
  886. model.resetInstanceNode("/root/send/senditems");
  887. copyNodeType("/root/send/senditems", "/root/main/dssuinfo/grddssuinfo[" + i + "]", "replace");
  888. submit("TXPMI01004");
  889. }
  890. grd_dssuinfo.colStyle(0, "data","background-image") = "../../../com/commonweb/images/icon_n.gif";
  891. submit("TRPMI01009");
  892. ]]>
  893. </script>
  894. </button>
  895. <line id="line15" class="line_1" style="x1:487px; y1:558px; x2:1194px; y2:558px; "/>
  896. <line id="line14" class="line_3" style="x1:487px; y1:197px; x2:1194px; y2:197px; "/>
  897. <line id="line22" class="line_3" style="x1:487px; y1:553px; x2:1194px; y2:553px; "/>
  898. <input id="input4" ref="/root/main/insihdc/cnstdetlseqno" visibility="hidden" style="left:840px; top:485px; width:20px; height:10px; "/>
  899. <select1 id="cmb_" ref="/root/main/admlinfo/orddeptcd" disabled="true" appearance="minimal" style="left:767px; top:80px; width:245px; height:19px; ">
  900. <choices>
  901. <itemset nodeset="/root/hidden/init/orddeptcd">
  902. <label ref="nm"/>
  903. <value ref="cd"/>
  904. </itemset>
  905. </choices>
  906. </select1>
  907. <select1 id="combo3" ref="/root/main/admlinfo/atdoctid" disabled="true" appearance="minimal" style="left:767px; top:104px; width:245px; height:19px; ">
  908. <choices>
  909. <itemset nodeset="/root/hidden/init/orddrid">
  910. <label ref="nm"/>
  911. <value ref="cd"/>
  912. </itemset>
  913. </choices>
  914. </select1>
  915. <select1 id="combo8" ref="/root/main/admlinfo/insukind" disabled="true" appearance="minimal" style="left:581px; top:80px; width:100px; height:19px; ">
  916. <choices>
  917. <itemset nodeset="/root/hidden/init/insukind">
  918. <label ref="nm"/>
  919. <value ref="cd"/>
  920. </itemset>
  921. </choices>
  922. </select1>
  923. <select1 id="cmb_realcd" ref="/root/main/ihgtinfo/realcd" navindex="19" appearance="minimal" style="left:757px; top:128px; width:60px; height:19px; ">
  924. <choices>
  925. <itemset nodeset="/root/temp/realcd/item">
  926. <label ref="nm"/>
  927. <value ref="cd"/>
  928. </itemset>
  929. </choices>
  930. <hint>
  931. <![CDATA[보증인과의 관계]]>
  932. </hint>
  933. <script type="javascript" ev:event="xforms-select">
  934. <![CDATA[
  935. model.setFocus("ipt_addr");
  936. ]]>
  937. </script>
  938. </select1>
  939. <select1 id="cmb_real1" ref="/root/main/ihgtinfo/real1" navindex="23" appearance="minimal" style="left:757px; top:152px; width:60px; height:19px; ">
  940. <choices>
  941. <itemset nodeset="/root/temp/realcd/item">
  942. <label ref="nm"/>
  943. <value ref="cd"/>
  944. </itemset>
  945. </choices>
  946. <hint>
  947. <![CDATA[보증인과의 관계]]>
  948. </hint>
  949. <script type="javascript" ev:event="xforms-select">
  950. <![CDATA[
  951. model.setFocus("ipt_addr1");
  952. ]]>
  953. </script>
  954. </select1>
  955. <select1 id="cmb_real2" ref="/root/main/ihgtinfo/real2" navindex="27" appearance="minimal" style="left:757px; top:176px; width:60px; height:19px; ">
  956. <choices>
  957. <itemset nodeset="/root/temp/realcd/item">
  958. <label ref="nm"/>
  959. <value ref="cd"/>
  960. </itemset>
  961. </choices>
  962. <hint>
  963. <![CDATA[보증인과의 관계]]>
  964. </hint>
  965. <script type="javascript" ev:event="xforms-select">
  966. <![CDATA[
  967. model.setFocus("ipt_addr2");
  968. ]]>
  969. </script>
  970. </select1>
  971. <button id="btn_deleteRow" class="btn2_letter3" style="left:1039px; top:639px; width:53px; height:19px; ">
  972. <caption>행삭제</caption>
  973. <script type="javascript" ev:event="onclick">
  974. <![CDATA[
  975. if (grd_dssuinfo.row >= 1) {
  976. grd_dssuinfo.addStatus(grd_dssuinfo.row, "delete");
  977. grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_d.gif";
  978. model.setvalue("/root/main/dssuinfo/grddssuinfo[" + grd_dssuinfo.row+"]/state", "D");
  979. }
  980. ]]>
  981. </script>
  982. </button>
  983. <button id="btn_addRow" class="btn2_letter3" style="left:983px; top:639px; width:53px; height:19px; ">
  984. <caption>행추가</caption>
  985. <script type="javascript" ev:event="onclick">
  986. <![CDATA[
  987. grd_dssuinfo.addRow();
  988. grd_dssuinfo.cellStyle("background-image", grd_dssuinfo.row, 0) = "../../../com/commonweb/images/icon_i.gif";
  989. model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/state", "I");
  990. model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/pid", model.getvalue("/root/send/cond1/pid"));
  991. model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/indd", model.getvalue("/root/main/admlinfo/indd"));
  992. model.setvalue("/root/main/dssuinfo/grddssuinfo["+ grd_dssuinfo.row+"]/cretno", model.getvalue("/root/main/admlinfo/cretno"));
  993. // grd_dssuinfo.refresh();
  994. ]]>
  995. </script>
  996. </button>
  997. <button id="btn_insihgt" class="btn5_letter5" style="left:1119px; top:6px; width:75px; height:19px; ">
  998. <caption>보증인저장</caption>
  999. <script type="javascript" ev:event="DOMActivate">
  1000. <![CDATA[
  1001. var sPid = model.getValue("/root/send/cond1/pid");
  1002. var sGrnTerNm = model.getValue("/root/main/ihgtinfo/grnternm");
  1003. if (sPid != "" && sGrnTerNm != "") {
  1004. model.setValue("/root/send/insihgt/pid", model.getValue("/root/send/cond1/pid"));
  1005. model.setValue("/root/send/insihgt/indd", model.getValue("/root/main/admlinfo/indd"));
  1006. model.setValue("/root/send/insihgt/grnternm", model.getValue("/root/main/ihgtinfo/grnternm"));
  1007. model.setValue("/root/send/insihgt/grntertel", model.getValue("/root/main/ihgtinfo/grntertel"));
  1008. model.setValue("/root/send/insihgt/realcd", model.getValue("/root/main/ihgtinfo/realcd"));
  1009. model.setValue("/root/send/insihgt/addr", model.getValue("/root/main/ihgtinfo/addr"));
  1010. model.setValue("/root/send/insihgt/grnternm1", model.getValue("/root/main/ihgtinfo/grnternm1"));
  1011. model.setValue("/root/send/insihgt/grntertel1", model.getValue("/root/main/ihgtinfo/grntertel1"));
  1012. model.setValue("/root/send/insihgt/real1", model.getValue("/root/main/ihgtinfo/real1"));
  1013. model.setValue("/root/send/insihgt/addr1", model.getValue("/root/main/ihgtinfo/addr1"));
  1014. model.setValue("/root/send/insihgt/grnternm2", model.getValue("/root/main/ihgtinfo/grnternm2"));
  1015. model.setValue("/root/send/insihgt/grntertel2", model.getValue("/root/main/ihgtinfo/grntertel2"));
  1016. model.setValue("/root/send/insihgt/real2", model.getValue("/root/main/ihgtinfo/real2"));
  1017. model.setValue("/root/send/insihgt/addr2", model.getValue("/root/main/ihgtinfo/addr2"));
  1018. model.setValue("/root/send/insihgt/state", model.getValue("/root/main/ihgtinfo/state"));
  1019. submit("TXPMI01003");
  1020. } else {
  1021. messageBox("저장할 내역이 없습니다!!", "I");
  1022. }
  1023. ]]>
  1024. </script>
  1025. </button>
  1026. <button id="btn_insihdc" class="btn5_letter2" style="left:1105px; top:457px; width:42px; height:19px; ">
  1027. <caption>저장</caption>
  1028. <script type="javascript" ev:event="DOMActivate">
  1029. <![CDATA[
  1030. var sPid = model.getValue("/root/send/cond1/pid");
  1031. var sWorkDD = model.getValue("/root/main/insihdc/workdd");
  1032. if (sPid != "" && sWorkDD != "") {
  1033. model.setValue("/root/send/insihdc/pid", model.getValue("/root/send/cond1/pid"));
  1034. if(model.getValue("/root/send/insihdc/state") != "u"){
  1035. model.setValue("/root/send/insihdc/state", "i");
  1036. model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/admlinfo/indd"));
  1037. model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/admlinfo/cretno"));
  1038. }else{
  1039. model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/insihdc/indd"));
  1040. model.setValue("/root/send/insihdc/cretno", model.getValue("/root/main/insihdc/cretno"));
  1041. model.setValue("/root/send/insihdc/state", "u");
  1042. }
  1043. model.setValue("/root/send/insihdc/cnstflag", "3");
  1044. model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/insihdc/cnstdetlseqno"));
  1045. model.setValue("/root/send/insihdc/workdd", model.getValue("/root/main/insihdc/workdd"));
  1046. model.setValue("/root/send/insihdc/cnstspec", model.getValue("/root/main/insihdc/cnstspec"));
  1047. if(submit("TXPMI01001")) { //상담내역저장 PMIHIHDC
  1048. model.resetInstanceNode("/root/send/insihdc");
  1049. model.resetInstanceNode("/root/main/insihdc");
  1050. }
  1051. submit("TRPMI01008");
  1052. model.setValue("/root/main/insihdc/workdd", getCurrentDate());
  1053. model.refresh();
  1054. }
  1055. ]]>
  1056. </script>
  1057. </button>
  1058. <button id="btn_delihdc" class="btn5_letter2" style="left:1151px; top:457px; width:42px; height:19px; ">
  1059. <caption>삭제</caption>
  1060. <script type="javascript" ev:event="DOMActivate">
  1061. <![CDATA[
  1062. var iSelectedRow = grd_ihdcinfo.row;
  1063. if (iSelectedRow > 0) {
  1064. model.setValue("/root/send/insihdc/pid", model.getValue("/root/send/cond1/pid"));
  1065. model.setValue("/root/send/insihdc/indd", model.getValue("/root/main/admlinfo/indd"));
  1066. model.setValue("/root/send/insihdc/cnstdetlseqno", model.getValue("/root/main/insihdc/cnstdetlseqno"));
  1067. model.resetInstanceNode("/root/main/insihdc");
  1068. if (submit("TXPMI01002")) { //상담내역저장 PMIHIHDC
  1069. model.resetInstanceNode("/root/send/insihdc");
  1070. }
  1071. submit("TRPMI01008");
  1072. } else {
  1073. messageBox("삭제할 상담일지를", "C002");
  1074. return;
  1075. }
  1076. // fInitialize();
  1077. ]]>
  1078. </script>
  1079. </button>
  1080. </group>
  1081. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  1082. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  1083. <caption>초기화</caption>
  1084. <script type="javascript" ev:event="DOMActivate">
  1085. <![CDATA[
  1086. model.resetInstanceNode("/root/send");
  1087. model.resetInstanceNode("/root/main/uncolist");
  1088. model.resetInstanceNode("/root/main/ptbsinfo");
  1089. model.resetInstanceNode("/root/main/admlinfo");
  1090. model.resetInstanceNode("/root/main/ihgtinfo/grnternm");
  1091. model.resetInstanceNode("/root/main/ihgtinfo/grntertel");
  1092. model.resetInstanceNode("/root/main/ihgtinfo/addr");
  1093. model.resetInstanceNode("/root/main/ihgtinfo/grnternm1");
  1094. model.resetInstanceNode("/root/main/ihgtinfo/grntertel1");
  1095. model.resetInstanceNode("/root/main/ihgtinfo/addr1");
  1096. model.resetInstanceNode("/root/main/ihgtinfo/grnternm2");
  1097. model.resetInstanceNode("/root/main/ihgtinfo/grntertel2");
  1098. model.resetInstanceNode("/root/main/ihgtinfo/addr2");
  1099. model.resetInstanceNode("/root/main/otptinptinfo");
  1100. model.resetInstanceNode("/root/main/admiopmiinfo");
  1101. model.resetInstanceNode("/root/main/ihdcinfo");
  1102. model.resetInstanceNode("/root/main/dssuinfo");
  1103. model.resetInstanceNode("/root/main/insihdc");
  1104. model.setValue("/root/send/reference/fstrgstdt1", getCurrentDate());
  1105. model.setValue("/root/send/reference/fstrgstdt2", getCurrentDate());
  1106. model.refresh();
  1107. ]]>
  1108. </script>
  1109. </button>
  1110. <button id="button9" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
  1111. <caption>민원환자관리</caption>
  1112. <script type="javascript" ev:event="DOMActivate">
  1113. <![CDATA[
  1114. modal("SMPMC00100");
  1115. ]]>
  1116. </script>
  1117. </button>
  1118. <button id="button10" class="btn3_letter6" style="left:107px; top:5px; width:104px; height:22px; ">
  1119. <caption>수진환자관리</caption>
  1120. <script type="javascript" ev:event="DOMActivate">
  1121. <![CDATA[
  1122. modal("SMPMC00300");
  1123. ]]>
  1124. </script>
  1125. </button>
  1126. <button id="button11" class="btn3_letter6" style="left:214px; top:5px; width:104px; height:22px; ">
  1127. <caption>특이환자관리</caption>
  1128. <script type="javascript" ev:event="DOMActivate">
  1129. <![CDATA[
  1130. modal("SMPMC01300");
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <button id="button12" class="btn3_letter6" style="left:321px; top:5px; width:104px; height:22px; ">
  1135. <caption>미수입금관리</caption>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. modal("SMPAM00100");
  1139. ]]>
  1140. </script>
  1141. </button>
  1142. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1143. </group>
  1144. </xhtml:body>
  1145. </xhtml:html>