SMPMC06700_산재후유증상관리.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  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. <permanentsymplist>
  11. <permanentsymp>
  12. <psdiagcd/>
  13. <psdiagnm/>
  14. <cdtypeflag/>
  15. <fromdd/>
  16. <todd/>
  17. <endyn/>
  18. <mngtscop/>
  19. <apptrgt/>
  20. <mngtcnts/>
  21. <comments/>
  22. <fstrgstdt/>
  23. <fstrgstrid/>
  24. <lastupdtdt/>
  25. <lastupdtrid/>
  26. </permanentsymp>
  27. </permanentsymplist>
  28. <uptpermanentsymp>
  29. <psdiagcd/>
  30. <psdiagnm/>
  31. <cdtypeflag/>
  32. <mngtscop/>
  33. <apptrgt/>
  34. <mngtcnts/>
  35. <comments/>
  36. </uptpermanentsymp>
  37. </main>
  38. <send>
  39. <perref>
  40. <psdiagcd/>
  41. <cdtypeflag/>
  42. <fromdd/>
  43. <todd/>
  44. <history/>
  45. </perref>
  46. <setlist>
  47. <setinfo/>
  48. </setlist>
  49. </send>
  50. <init>
  51. <P0028list>
  52. <P0028>
  53. <cdnm/>
  54. <cdid/>
  55. </P0028>
  56. </P0028list>
  57. <hidden>
  58. <suppkind>
  59. <up/>
  60. <nm/>
  61. <cd/>
  62. <ios/>
  63. </suppkind>
  64. <chosresn>
  65. <nm/>
  66. <cd/>
  67. </chosresn>
  68. <endcnts>
  69. <nm/>
  70. <cd/>
  71. </endcnts>
  72. <mtrtamtflag>
  73. <nm/>
  74. <cd/>
  75. </mtrtamtflag>
  76. <orddeptcd>
  77. <cd/>
  78. <nm/>
  79. <deptengabbr/>
  80. <io/>
  81. </orddeptcd>
  82. <orddrid>
  83. <cd/>
  84. <nm/>
  85. <dp/>
  86. <sp/>
  87. </orddrid>
  88. <specordyn>
  89. <item>
  90. <cd>Y</cd>
  91. <nm>Y</nm>
  92. </item>
  93. <item>
  94. <cd>N</cd>
  95. <nm>N</nm>
  96. </item>
  97. </specordyn>
  98. <insukind>
  99. <items>
  100. <cd>41</cd>
  101. <nm>산재</nm>
  102. </items>
  103. <items>
  104. <cd>42</cd>
  105. <nm>공상</nm>
  106. </items>
  107. </insukind>
  108. <bizplce>
  109. <nm/>
  110. <cd/>
  111. </bizplce>
  112. <indulist>
  113. <nm/>
  114. <cd/>
  115. </indulist>
  116. <profcd>
  117. <nm/>
  118. <cd/>
  119. </profcd>
  120. </hidden>
  121. </init>
  122. <hidden>
  123. <setcheckrow>
  124. <row/>
  125. <status/>
  126. </setcheckrow>
  127. </hidden>
  128. <tmp>
  129. </tmp>
  130. </root>
  131. </instance>
  132. <script type="javascript" ev:event="xforms-ready">
  133. <![CDATA[
  134. zbcfGetCodeList(new Array("P0028"), new Array("/root/init/P0028list"));
  135. //초기화
  136. fInitialize();
  137. model.refresh();
  138. ]]>
  139. </script>
  140. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  141. <submission id="TRPMC06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/perref" resultref="/root/main/permanentsymplist"/>
  142. <submission id="TXPMC06701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/setlist"/>
  143. </model>
  144. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  145. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  146. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  149. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  150. <script type="javascript">
  151. <![CDATA[
  152. function fInitialize(){
  153. model.resetInstanceNode("/root/send/perref/psdiagcd");
  154. model.resetInstanceNode("/root/send/perref/cdtypeflag");
  155. model.setValue("/root/send/perref/cdtypeflag","-");
  156. model.resetInstanceNode("/root/send/perref/fromdd");
  157. model.resetInstanceNode("/root/send/perref/todd");
  158. model.resetInstanceNode("/root/send/perref/history");
  159. model.setValue("/root/send/perref/history","N");
  160. model.resetInstanceNode("/root/main/uptpermanentsymp/psdiagcd");
  161. model.resetInstanceNode("/root/main/uptpermanentsymp/psdiagnm");
  162. model.resetInstanceNode("/root/main/uptpermanentsymp/cdtypeflag");
  163. model.resetInstanceNode("/root/main/uptpermanentsymp/mngtscop");
  164. model.resetInstanceNode("/root/main/uptpermanentsymp/apptrgt");
  165. model.resetInstanceNode("/root/main/uptpermanentsymp/mngtcnts");
  166. model.resetInstanceNode("/root/main/uptpermanentsymp/comments");
  167. //초기화시리스트 공백 row를 삭제한다.
  168. model.removenode("/root/main/permanentsymplist/permanentsymp");
  169. }
  170. function fSearch(){
  171. submit("TRPMC06701");
  172. model.refresh();
  173. }
  174. function fBaseSet(){
  175. model.setValue("/root/main/uptpermanentsymp/psdiagcd","");
  176. model.setValue("/root/main/uptpermanentsymp/psdiagnm","-");
  177. model.setValue("/root/main/uptpermanentsymp/cdtypeflag","M");
  178. model.setValue("/root/main/uptpermanentsymp/mngtscop","-");
  179. model.setValue("/root/main/uptpermanentsymp/apptrgt","-");
  180. model.setValue("/root/main/uptpermanentsymp/mngtcnts","-");
  181. model.setValue("/root/main/uptpermanentsymp/comments","-");
  182. model.refresh();
  183. }
  184. ]]>
  185. </script>
  186. </xhtml:head>
  187. <xhtml:body pagewidth="1030" pageheight="800" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  188. <group id="group3" scroll="auto" style="left:0px; top:12px; width:1000px; height:740px; ">
  189. <group id="group2" style="left:0px; top:3px; width:1000px; height:39px; vertical-align:top; ">
  190. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1000px; height:37px; "/>
  191. <caption id="caption2" class="search_name" style="left:5px; top:10px; width:107px; height:17px; ">후유진단코드:</caption>
  192. <line id="line13" class="line_4" style="x1:909px; y1:6px; x2:909px; y2:34px; "/>
  193. <button id="btn_search" class="btn1_letter2" navindex="6" style="left:925px; top:8px; width:56px; height:22px; ">
  194. <caption>조회</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. var psdiagcd = model.getValue("/root/send/perref/psdiagcd");
  198. var cdtypeflag = model.getValue("/root/send/perref/cdtypeflag");
  199. var fromdd = model.getValue("/root/send/perref/fromdd");
  200. var todd = model.getValue("/root/send/perref/todd");
  201. var history = model.getValue("/root/send/perref/history");
  202. if(psdiagcd == "" && cdtypeflag == "" && fromdd == "" && todd == "" && history == ""){
  203. messageBox("전체조회","I009");
  204. fSearch();
  205. }else{
  206. fSearch();
  207. }
  208. ]]>
  209. </script>
  210. </button>
  211. <caption id="caption3" class="search_name" style="left:185px; top:10px; width:84px; height:17px; ">코드형태:</caption>
  212. <caption id="caption4" class="search_name" style="left:328px; top:10px; width:82px; height:17px; ">시작일자:</caption>
  213. <input id="ipt_pid" ref="/root/send/perref/psdiagcd" class="input_s_essential" navindex="1" maxlength="10" style="left:112px; top:9px; width:69px; height:19px; ">
  214. <script type="javascript" ev:event="onkeypress">
  215. <![CDATA[
  216. if(event.keyCode == "13") {
  217. btn_search.dispatch("DOMActivate");
  218. }
  219. ]]>
  220. </script>
  221. </input>
  222. <input id="input37" ref="/root/send/perref/fromdd" class="input_default" navindex="3" inputtype="date" style="left:410px; top:9px; width:85px; height:19px; "/>
  223. <caption id="caption14" class="search_name" style="left:498px; top:10px; width:82px; height:17px; ">종료일자:</caption>
  224. <input id="input1" ref="/root/send/perref/todd" class="input_default" navindex="4" inputtype="date" style="left:580px; top:9px; width:85px; height:19px; "/>
  225. <bool id="bool1" navindex="5" checkvalue="Y,N" ref="/root/send/perref/history" style="left:695px; top:9px; width:15px; height:20px; "/>
  226. <caption id="caption5" style="left:710px; top:12px; width:55px; height:15px; ">이력포함</caption>
  227. <select1 id="combo1" ref="/root/send/perref/cdtypeflag" class="combo_default" navindex="2" appearance="minimal" style="left:270px; top:10px; width:50px; height:19px; ">
  228. <choices>
  229. <item>
  230. <label>전체</label>
  231. <value>-</value>
  232. </item>
  233. <item>
  234. <label>상위형</label>
  235. <value>M</value>
  236. </item>
  237. <item>
  238. <label>하위형</label>
  239. <value>S</value>
  240. </item>
  241. </choices>
  242. </select1>
  243. </group>
  244. <caption id="caption1" class="tit_2" style="left:5px; top:300px; width:160px; height:13px; ">산재후유증상진단리스트</caption>
  245. <line id="line1" class="line_1" style="x1:0px; y1:315px; x2:1000px; y2:315px; "/>
  246. <datagrid id="grd_permanentsymp" nodeset="/root/main/permanentsymplist/permanentsymp" class="datagrid2" caption="후유증상&#xA;진단코드^후유증상&#xA;진단명^코드&#xA;형태^시작일자^종료일자^종료&#xA;여부^관리범위^적용대상^관리내용^참고사항^최초&#xA;등록일시^최초등록자^최종&#xA;수정일시^최종수정자" colsep="^" colwidth="67, 98, 42, 85, 85, 40, 70, 70, 70, 70, 70, 70, 70, 70" dataheight="25" defaultrows="0" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="byrowrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:319px; width:1000px; height:415px; ">
  247. <col disabled="true" ref="psdiagcd" style="text-align:left; "/>
  248. <col disabled="true" ref="psdiagnm" style="text-align:left; "/>
  249. <col disabled="true" ref="cdtypeflag" type="combo" style="text-align:center; ">
  250. <choices>
  251. <item>
  252. <label>상위형</label>
  253. <value>M</value>
  254. </item>
  255. <item>
  256. <label>하위형</label>
  257. <value>S</value>
  258. </item>
  259. </choices>
  260. </col>
  261. <col disabled="true" ref="fromdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  262. <col disabled="true" ref="todd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  263. <col disabled="true" ref="endyn" type="combo" style="text-align:center; ">
  264. <choices>
  265. <item>
  266. <label>Y</label>
  267. <value>Y</value>
  268. </item>
  269. <item>
  270. <label>N</label>
  271. <value>N</value>
  272. </item>
  273. </choices>
  274. </col>
  275. <col disabled="true" ref="mngtscop" style="text-align:left; "/>
  276. <col disabled="true" ref="apptrgt" style="text-align:left; "/>
  277. <col disabled="true" ref="mngtcnts" style="text-align:left; "/>
  278. <col disabled="true" ref="comments" style="text-align:left; "/>
  279. <col disabled="true" ref="fstrgstdt" style="text-align:left; "/>
  280. <col disabled="true" ref="fstrgstrid" style="text-align:left; "/>
  281. <col disabled="true" ref="lastupdtdt" style="text-align:left; "/>
  282. <col disabled="true" ref="lastupdtrid" style="text-align:left; "/>
  283. <script type="javascript" ev:event="onaftersort">
  284. <![CDATA[
  285. //sorting 시 인스턴스 구조를 재구성
  286. grd_permanentsymp.gridToInstance();
  287. ]]>
  288. </script>
  289. <script type="javascript" ev:event="onclick">
  290. <![CDATA[
  291. ipt_psdiagcd.disabled= true;
  292. //초기 row값
  293. var orgrow = grd_permanentsymp.row;
  294. model.setValue("/root/hidden/setcheckrow/row", orgrow);
  295. model.setValue("/root/hidden/setcheckrow/status", grd_permanentsymp.rowStatus(orgrow));
  296. model.setValue("/root/main/uptpermanentsymp/psdiagcd", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/psdiagcd"));
  297. model.setValue("/root/main/uptpermanentsymp/psdiagnm", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/psdiagnm"));
  298. model.setValue("/root/main/uptpermanentsymp/cdtypeflag", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/cdtypeflag"));
  299. model.setValue("/root/main/uptpermanentsymp/mngtscop", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/mngtscop"));
  300. model.setValue("/root/main/uptpermanentsymp/apptrgt", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/apptrgt"));
  301. model.setValue("/root/main/uptpermanentsymp/mngtcnts", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/mngtcnts"));
  302. model.setValue("/root/main/uptpermanentsymp/comments", model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/comments"));
  303. model.refresh();
  304. ]]>
  305. </script>
  306. </datagrid>
  307. <button id="btn_insicmt1" class="btn2_letter3" navindex="16" style="left:826px; top:295px; width:53px; height:19px; ">
  308. <caption>행추가</caption>
  309. <script type="javascript" ev:event="onclick">
  310. <![CDATA[
  311. ipt_psdiagcd.disabled= false;
  312. grd_permanentsymp.addRow(grd_permanentsymp.row, true);
  313. //초기 row값
  314. var orgrow = grd_permanentsymp.row;
  315. model.setValue("/root/hidden/setcheckrow/row", orgrow);
  316. model.setValue("/root/hidden/setcheckrow/status", grd_permanentsymp.rowStatus(orgrow));
  317. model.setFocus("ipt_psdiagcd", true);
  318. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/psdiagcd");
  319. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/psdiagnm");
  320. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/cdtypeflag");
  321. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/mngtscop");
  322. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/apptrgt");
  323. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/mngtcnts");
  324. model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/comments");
  325. fBaseSet();
  326. ]]>
  327. </script>
  328. </button>
  329. <button id="btn_saveicmt" class="btn5_letter5" navindex="14" style="left:923px; top:48px; width:75px; height:19px; ">
  330. <caption>저 장</caption>
  331. <script type="javascript" ev:event="DOMActivate">
  332. <![CDATA[
  333. ipt_psdiagcd.disabled= false;
  334. var row = grd_permanentsymp.row;
  335. var status = grd_permanentsymp.rowStatus(row);
  336. var currentdate = getCurrentDate();
  337. var psdiagcd = model.getValue("/root/main/uptpermanentsymp/psdiagcd");
  338. var psdiagnm = model.getValue("/root/main/uptpermanentsymp/psdiagnm");
  339. var cdtypeflag = model.getValue("/root/main/uptpermanentsymp/cdtypeflag");
  340. var mngtscop = model.getValue("/root/main/uptpermanentsymp/mngtscop");
  341. var apptrgt = model.getValue("/root/main/uptpermanentsymp/apptrgt");
  342. var mngtcnts = model.getValue("/root/main/uptpermanentsymp/mngtcnts");
  343. var comments = model.getValue("/root/main/uptpermanentsymp/comments");
  344. if(psdiagcd == "" && psdiagnm == "" && cdtypeflag == "" && mngtscop == "" && apptrgt == "" && mngtcnts == "" && comments == ""){
  345. alert("입력/수정할 data를 확인해주세요");
  346. }
  347. if(status == '1' || status == '3'){
  348. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("fromdd")) = currentdate;
  349. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("todd")) = "99991231";
  350. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("endyn")) = "N";
  351. } else if(status == '0'){
  352. var listpsdiagcd = model.getValue("/root/main/permanentsymplist/permanentsymp[" + grd_permanentsymp.row + "]/psdiagcd")
  353. if(listpsdiagcd == null && listpsdiagcd == "" && listpsdiagcd ==" "){
  354. } else {
  355. grd_permanentsymp.rowStatus(row) = 2;
  356. }
  357. }
  358. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("psdiagcd")) = psdiagcd;
  359. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("psdiagnm")) = psdiagnm;
  360. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("cdtypeflag")) = cdtypeflag;
  361. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("mngtscop")) = mngtscop;
  362. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("apptrgt")) = apptrgt;
  363. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("mngtcnts")) = mngtcnts;
  364. grd_permanentsymp.valueMatrix(row, grd_permanentsymp.colRef("comments")) = comments;
  365. model.refresh();
  366. model.setValue("/root/send/setlist/setinfo", grd_permanentsymp.getUpdateData());
  367. if (submit("TXPMC06701")) {
  368. // model.resetInstanceNode("/root/main/permanentsymplist/permanentsymp");
  369. // model.resetInstanceNode("//root/send/setlist");
  370. grd_permanentsymp.clearStatus();
  371. fInitialize();
  372. model.setValue("/root/send/perref/psdiagcd",psdiagcd);
  373. submit("TRPMC06701");
  374. }
  375. grd_permanentsymp.selectionMode = "";
  376. ]]>
  377. </script>
  378. </button>
  379. <button id="btn_insicmt2" class="btn2_letter3" navindex="15" style="left:772px; top:295px; width:53px; height:19px; ">
  380. <caption>행삽입</caption>
  381. <script type="javascript" ev:event="onclick">
  382. <![CDATA[
  383. ipt_psdiagcd.disabled= false;
  384. grd_permanentsymp.insertRow(grd_permanentsymp.row, "below", false);
  385. //초기 row값
  386. var orgrow = grd_permanentsymp.row;
  387. model.setValue("/root/hidden/setcheckrow/row", orgrow);
  388. model.setValue("/root/hidden/setcheckrow/status", grd_permanentsymp.rowStatus(orgrow));
  389. model.setFocus("ipt_psdiagcd", true);
  390. fBaseSet();
  391. ]]>
  392. </script>
  393. </button>
  394. <button id="btn_delicmt" class="btn5_letter3" navindex="17" style="left:880px; top:295px; width:53px; height:19px; ">
  395. <caption>행삭제</caption>
  396. <script type="javascript" ev:event="onclick">
  397. <![CDATA[
  398. if(messageBox("선택하신 후유증상진단코드를 ","Q001") == 6){
  399. var cur_row = grd_permanentsymp.row;
  400. //grd_permanentsymp.deleteItem(cur_row);
  401. grd_permanentsymp.rowStatus(cur_row) = 4;
  402. model.setValue("/root/send/setlist/setinfo", grd_permanentsymp.getUpdateData());
  403. if (submit("TXPMC06701")) {
  404. grd_permanentsymp.clearStatus();
  405. submit("TRPMC06701");
  406. }
  407. }else{
  408. messageBox("삭제작업을 취소 ","I001")
  409. }
  410. ]]>
  411. </script>
  412. </button>
  413. <button id="btn_excelicmt" class="btn2_letter4" navindex="18" style="left:934px; top:295px; width:64px; height:19px; ">
  414. <caption>엑셀저장</caption>
  415. <script type="javascript" ev:event="DOMActivate">
  416. <![CDATA[
  417. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  418. if (fileName != "")
  419. {
  420. grd_pmchicmt.saveExcel(fileName, "grd_pmchicmt", true, true, "", "", true);
  421. }
  422. ]]>
  423. </script>
  424. </button>
  425. <select1 id="cbo_insukind1" ref="/root/main/uptpermanentsymp/cdtypeflag" class="combo_default" navindex="9" appearance="minimal" style="left:946px; top:74px; width:50px; height:19px; ">
  426. <choices>
  427. <item>
  428. <label>상위형</label>
  429. <value>M</value>
  430. </item>
  431. <item>
  432. <label>하위형</label>
  433. <value>S</value>
  434. </item>
  435. </choices>
  436. </select1>
  437. <line id="line12" class="line_3" style="x1:0px; y1:290px; x2:1000px; y2:290px; "/>
  438. <caption id="caption12" class="cell_1" style="left:882px; top:74px; width:63px; height:23px; vertical-align:middle; ">코드형태</caption>
  439. <line id="line16" class="line_1" style="x1:0px; y1:68px; x2:1000px; y2:68px; "/>
  440. <textarea id="textarea1" ref="/root/main/uptpermanentsymp/mngtscop" class="input_essential" navindex="10" maxlength="166" style="left:91px; top:100px; width:904px; height:44px; "/>
  441. <caption id="caption7" class="cell_1" style="left:0px; top:98px; width:90px; height:47px; vertical-align:middle; ">관리범위</caption>
  442. <line id="line4" class="line_2" style="x1:0px; y1:96px; x2:1000px; y2:96px; "/>
  443. <caption id="caption9" class="cell_1" style="left:205px; top:73px; width:91px; height:23px; vertical-align:middle; ">후유증산진단명</caption>
  444. <input id="input3" ref="/root/main/uptpermanentsymp/psdiagnm" class="input_essential" navindex="8" maxlength="66" style="left:297px; top:75px; width:583px; height:19px; "/>
  445. <input id="ipt_psdiagcd" ref="/root/main/uptpermanentsymp/psdiagcd" class="input_essential" navindex="7" style="left:92px; top:75px; width:110px; height:19px; "/>
  446. <caption id="caption11" class="cell_1" style="left:0px; top:73px; width:90px; height:23px; vertical-align:middle; ">후유진단코드</caption>
  447. <line id="line2" class="line_2" style="x1:0px; y1:145px; x2:1000px; y2:145px; "/>
  448. <textarea id="textarea2" ref="/root/main/uptpermanentsymp/apptrgt" class="input_essential" navindex="11" maxlength="333" style="left:91px; top:147px; width:904px; height:41px; "/>
  449. <caption id="caption8" class="cell_1" style="left:0px; top:147px; width:90px; height:41px; vertical-align:middle; ">적용대상</caption>
  450. <line id="line3" class="line_2" style="x1:0px; y1:188px; x2:1000px; y2:188px; "/>
  451. <textarea id="textarea3" ref="/root/main/uptpermanentsymp/mngtcnts" class="input_essential" navindex="12" maxlength="1000" style="left:91px; top:190px; width:904px; height:78px; "/>
  452. <caption id="caption10" class="cell_1" style="left:0px; top:190px; width:90px; height:78px; vertical-align:middle; ">관리내용</caption>
  453. <caption id="caption13" class="tit_2" style="left:0px; top:54px; width:160px; height:13px; ">산재후유증상진단</caption>
  454. <line id="line5" class="line_2" style="x1:0px; y1:268px; x2:1000px; y2:268px; "/>
  455. <input id="input2" ref="/root/main/uptpermanentsymp/comments" navindex="13" maxlength="333" style="left:92px; top:270px; width:903px; height:19px; "/>
  456. <caption id="caption15" class="cell_1" style="left:0px; top:270px; width:91px; height:19px; vertical-align:middle; ">참고사항</caption>
  457. </group>
  458. <group id="group1" scroll="auto" style="left:0px; top:758px; width:1000px; height:24px; ">
  459. <button id="btn_confirm" class="btn4_letter2" navindex="20" style="left:881px; top:2px; width:56px; height:22px; ">
  460. <caption>확인</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. if ( checkOpener() ) {
  464. row = grd_vippatappinfo.row;
  465. opener.model.makeNode("/root/main/popupendflag");
  466. opener.model.setValue("/root/main/popupendflag", "cancel");
  467. if( row > 0 ){
  468. if( getNodesetCount("/root/main/vippatbaseinfo/vippatbaseinfolist") > 0 ){
  469. /*
  470. //합번된 등록번호 메세지 처리
  471. var sPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/pid");
  472. var sHngnm = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/hngnm");
  473. var sBindPid = model.getValue("/root/main/vippatbaseinfo/vippatbaseinfolist[" + row + "]/bindpid");
  474. if( sBindPid != '' && sBindPid != '-' ){
  475. alert(sPid + "(" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다.");
  476. return false;
  477. }
  478. */
  479. opener.model.copyNode("/root/main/vippatbaseinfo/vippatbaseinfolist", grd_vippatappinfo.getNode( row ));
  480. opener.model.makeNode("/root/main/popupendflag");
  481. opener.model.setValue("/root/main/popupendflag", "ok");
  482. }
  483. }else {
  484. messageBox("행이 정확히 선택되지", "E007");
  485. }
  486. } else {
  487. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  488. }
  489. opener.model.refresh();
  490. window.close();
  491. ]]>
  492. </script>
  493. </button>
  494. <button id="btn_cancel" class="btn4_letter2" navindex="21" style="left:938px; top:2px; width:56px; height:22px; ">
  495. <caption>취소</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. opener.model.makeNode("/root/main/popupendflag");
  499. opener.model.setValue("/root/main/popupendflag", "cancel");
  500. window.close();
  501. ]]>
  502. </script>
  503. </button>
  504. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:999px; y2:0px; "/>
  505. <button id="button1" class="btn4_letter3" navindex="19" style="left:812px; top:2px; width:68px; height:22px; ">
  506. <caption>초기화</caption>
  507. <script type="javascript" ev:event="DOMActivate">
  508. <![CDATA[
  509. fInitialize();
  510. ]]>
  511. </script>
  512. </button>
  513. </group>
  514. <group id="group4" style="left:0px; top:0px; width:1000px; height:13px; ">
  515. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">산재후유증상관리</caption>
  516. </group>
  517. </xhtml:body>
  518. </xhtml:html>