SPLNP90700_장기이식대기자.xrw 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLNP90700_장기이식대기자.xrw
  4. * 설 명 : 장기이식대기자관리화면
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : 유민규
  7. * 작 성 일 : 2011.02.
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>Manual작업대장</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <OranList>
  20. <chk/>
  21. <trnsseqno/>
  22. <konosid/>
  23. <patnm/>
  24. <keeppos/>
  25. <bcolldt/>
  26. <trnscorpnm/>
  27. <trnshopeorgncd/>
  28. <abndt/>
  29. <trnscmt/>
  30. <rgstdt/>
  31. </OranList>
  32. </main>
  33. <send>
  34. <workgbn/>
  35. <workcmd/>
  36. <colfromdd/>
  37. <coltodd/>
  38. <trnsseqno/>
  39. <konosid/>
  40. <patnm/>
  41. <keeppos/>
  42. <bcolldt/>
  43. <trnscorpnm/>
  44. <trnshopeorgncd/>
  45. <abndt/>
  46. <trnscmt/>
  47. <rgstdt/>
  48. <bcolgbn/>
  49. <oranlist/>
  50. <uioranlist/>
  51. <skonosid/>
  52. <spatnm/>
  53. </send>
  54. <init>
  55. <report/>
  56. <tclsnm1/>
  57. <tclsnm2/>
  58. <tclsnm3/>
  59. <tclsnm4/>
  60. <tclsnm5/>
  61. <tclsnms/>
  62. </init>
  63. <hidden>
  64. <ref>
  65. <workgbn/>
  66. <workcmd/>
  67. <searchadd/>
  68. <colfromdd/>
  69. <coltodd/>
  70. </ref>
  71. <ref2/>
  72. </hidden>
  73. </root>
  74. </instance>
  75. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  79. <script type="javascript" ev:event="xforms-ready">
  80. <![CDATA[
  81. fSetInit();
  82. ]]>
  83. </script>
  84. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0116"/>
  85. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  86. <submission id="TRLNP90701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/orglist"/>
  87. <submission id="TXLNP90701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  88. <submission id="TXLNP90702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  89. <submission id="TRLNP90702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/hidden/ref2/"/>
  90. </model>
  91. <script type="javascript">
  92. <![CDATA[
  93. function fExeExcel(pGridId) {
  94. if(pGridId == "1"){
  95. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  96. if (fileName != "")
  97. {
  98. datagrid1.saveExcel(fileName);
  99. }
  100. }
  101. else{
  102. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  103. if (fileName != "")
  104. {
  105. datagrid2.saveExcel(fileName);
  106. }
  107. }
  108. }
  109. function fSetInit() {
  110. var toDay = getCurrentDate();
  111. var mDay = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3,"M")
  112. //alert(mDay);
  113. model.setValue("/root/hidden/ref/colfromdd", mDay.getDateFormat("YYYYMMDD"));
  114. model.setValue("/root/hidden/ref/coltodd", toDay);
  115. model.removeNodeset("/root/main/OranList");
  116. model.setValue("/root/hidden/ref/workgbn" , "2");
  117. model.removeNodeset("/root/init/LB0116");
  118. //model.setValue("/root/send/codeflag","0103|0116|0000|0126|"); //0126 핵의학 병원별 간략보기 체크 여부
  119. //submit("TRLZZ00101");
  120. model.refresh();
  121. }
  122. //조회
  123. function fGetNmedWorkList(gbn){
  124. var acptfromdd = model.getValue("/root/hidden/ref/acptfromdd");
  125. var acpttodd = model.getValue("/root/hidden/ref/acpttodd");
  126. var divgrupcd = model.getValue("/root/hidden/ref/divgrupcd");
  127. //var divgrupnmlist = chk_divgrupnmlist.value;
  128. //var divgrupnmlistlabel = chk_divgrupnmlist.label;
  129. var divgrupnm = "";
  130. var divgrupnmcount = 0;
  131. if(acptfromdd == "" || acpttodd == ""){
  132. messageBox("접수일자가 선택되지 ","E007","");
  133. return;
  134. }
  135. if(model.getValue("/root/hidden/ref/tclscdlist/tclscdlist2") == ""){
  136. messageBox("작업구분이 선택되지 ","E007","");
  137. return;
  138. }
  139. /*
  140. if(divgrupnmlistlabel != ""){
  141. divgrupnm = divgrupnmlistlabel.split("▦");
  142. divgrupnmcount = divgrupnm.length;
  143. }else{
  144. messageBox("분주라벨이 선택되지 ","E007","");
  145. return;
  146. }
  147. */
  148. model.setValue("/root/send/acptfromdd", model.getValue("/root/hidden/ref/acptfromdd"));
  149. model.setValue("/root/send/acpttodd", model.getValue("/root/hidden/ref/acpttodd"));
  150. model.setValue("/root/send/divgrupcd", model.getValue("/root/hidden/ref/divgrupcd"));
  151. //model.setValue("/root/send/divgrupcd", "TFT");
  152. //if(divgrupnmlist != ""){
  153. // model.setValue("/root/send/tclscd", divgrupnmlist);
  154. //}else if(divgrupnmlist == ""){
  155. // model.setValue("/root/send/tclscd", "");
  156. //}
  157. model.setValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  158. //model.setValue("/root/send/userdeptflagcd", "N");
  159. //alert(model.getValue("/root/send/acptfromdd"));
  160. //alert(model.getValue("/root/send/acpttodd"));
  161. //alert(model.getValue("/root/send/tclscd"));
  162. //alert(model.getValue("/root/send/userdeptflagcd"));
  163. //var nTclsnm = chk_divgrupnmlist.label;
  164. //nTclsnm = nTclsnm.setReplaceWord("▦", ", ");
  165. //model.setValue("/root/hidden/nTclsnm", nTclsnm);
  166. datagrid1.fixedcellischeck(0, 1) = false;
  167. if(gbn == "enter"){
  168. model.setValue("/root/send/tclsgbn", model.getValue("/root/hidden/ref/tclsgbn"));
  169. model.setValue("/root/send/workbcno", model.getValue("/root/hidden/ref/workbcno"));
  170. model.setValue("/root/send/tclscdlist", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  171. var bcno = model.getValue("/root/hidden/ref/workbcno");
  172. var find = datagrid1.findRow(bcno, 1, 3, true, true);
  173. if(find > 0) {
  174. messageBox("이미 선택된 검체", "E008");
  175. return;
  176. }
  177. submit("TRLLP02601");
  178. var cRow = datagrid1.rows - 1;
  179. var WBC = model.getValue("/root/main/nmedworklist/write["+cRow+"]/cbc");
  180. var NUT = model.getValue("/root/main/nmedworklist/write["+cRow+"]/nut");
  181. fCalWB(WBC, NUT, cRow);
  182. model.refresh();
  183. }else{
  184. model.setValue("/root/send/tclsgbn", model.getValue("/root/hidden/ref/tclsgbn"));
  185. model.setValue("/root/send/tclscdlist", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  186. submit("TRLLP02602");
  187. if(datagrid1.rows > 1){
  188. for(var cRow = 1; cRow < datagrid1.rows ; cRow++){
  189. var WBC = model.getValue("/root/main/nmedworklist/write["+cRow+"]/cbc");
  190. var NUT = model.getValue("/root/main/nmedworklist/write["+cRow+"]/nut");
  191. fCalWB(WBC, NUT, cRow);
  192. }
  193. model.refresh();
  194. }
  195. }
  196. }
  197. function fCalWB(WBC, NUT, cRow){
  198. if(WBC != "" && NUT != ""){
  199. var calWB = (220000 / (WBC * NUT / 100));
  200. var ext = Math.pow(10, 1);
  201. var calWB = Math.round(calWB * ext) / ext;
  202. model.setValue("/root/main/nmedworklist/write["+cRow+"]/wbval", calWB);
  203. }
  204. }
  205. function getAcptChk(){
  206. modal("SPLNP90100","","","","","/root/send","/root/hidden/ref");
  207. }
  208. //분주라벨그룹 상세조회
  209. function fSelectDivGrup(){
  210. model.removenodeset("/root/main/divgrupnmlist");
  211. model.refresh();
  212. model.setValue("/root/hidden/ref/tclscd", "");
  213. model.setValue("/root/send/divgrupcd", combo2.value);
  214. //model.setValue("/root/send/divgrupcd", "TFT");
  215. submit("TRLNP00102" ,false);
  216. if(model.getValue("/root/hidden/ref/divgrupcd") == "00"){
  217. checkbox1.visible = false;
  218. }
  219. else{
  220. checkbox1.visible = true;
  221. }
  222. model.setValue("/root/hidden/ref/allcheck", "");
  223. model.refresh();
  224. /*
  225. var count = getNodesetCount("/root/main/divgrupnmlist");
  226. if(count > 0){
  227. for(i=0; i< count; i++){
  228. chk_divgrupnmlist.select(i);
  229. }
  230. }
  231. */
  232. }
  233. function fExeallcheck(){
  234. var count = getNodesetCount("/root/main/divgrupnmlist");
  235. if(model.getValue("/root/hidden/ref/allcheck") == "1"){
  236. if(count > 0){
  237. for(i=0; i< count; i++){
  238. chk_divgrupnmlist.select(i);
  239. }
  240. }
  241. }
  242. else{
  243. if(count > 0){
  244. for(i=0; i< count; i++){
  245. chk_divgrupnmlist.deselect(i);
  246. }
  247. }
  248. }
  249. }
  250. //조회
  251. function fGetOranTranfList(gbn){
  252. if(model.getValue("/root/hidden/ref/searchadd") != "true"){
  253. model.removeNodeset("/root/main/OranList");
  254. }
  255. model.resetInstanceNode("/root/send");
  256. if(gbn == "ref"){
  257. //alert("선택");
  258. //alert(model.getValue("/root/hidden/ref/workgbn") );
  259. if (model.getValue("/root/hidden/ref/workgbn") == "1"){
  260. model.setValue("/root/send/trnsseqno", model.getValue("/root/hidden/ref/workcmd"));
  261. }else if (model.getValue("/root/hidden/ref/workgbn") == "2"){
  262. model.setValue("/root/send/konosid", model.getValue("/root/hidden/ref/workcmd"));
  263. }else if (model.getValue("/root/hidden/ref/workgbn") == "3"){
  264. model.setValue("/root/send/patnm", model.getValue("/root/hidden/ref/workcmd"));
  265. }else if (model.getValue("/root/hidden/ref/workgbn") == "4"){
  266. model.setValue("/root/send/keeppos", model.getValue("/root/hidden/ref/workcmd"));
  267. }else if (model.getValue("/root/hidden/ref/workgbn") == "5"){
  268. model.setValue("/root/send/bcolldt", model.getValue("/root/hidden/ref/workcmd"));
  269. }else if (model.getValue("/root/hidden/ref/workgbn") == "6"){
  270. model.setValue("/root/send/trnscorpnm", model.getValue("/root/hidden/ref/workcmd"));
  271. }else if (model.getValue("/root/hidden/ref/workgbn") == "7"){
  272. model.setValue("/root/send/rgstdt", model.getValue("/root/hidden/ref/workcmd"));
  273. }
  274. }
  275. model.setValue("/root/send/workgbn", model.getValue("/root/hidden/ref/workgbn"));
  276. model.setValue("/root/send/workcmd", model.getValue("/root/hidden/ref/workcmd"));
  277. if (gbn == "days"){
  278. model.setValue("/root/send/colfromdd", model.getValue("/root/hidden/ref/colfromdd"));
  279. model.setValue("/root/send/coltodd", model.getValue("/root/hidden/ref/coltodd"));
  280. model.setValue("root/send/bcolgbn" , "1");
  281. }
  282. submit("TRLNP90701");
  283. for (var i =1; i<=grd_orglist.rows; i++){
  284. if (model.getValue("/root/main/OranList["+i+"]/abndt" ) == "19000101000000"){
  285. model.setValue("/root/main/OranList["+i+"]/abndt" , "");
  286. }else if(model.getValue("/root/main/OranList["+i+"]/abndt" ) == "19000101"){
  287. model.setValue("/root/main/OranList["+i+"]/abndt" , "");
  288. }
  289. }
  290. }
  291. function fSetAddRow(){
  292. //alert("!!");
  293. var tDay = getCurrentDate();
  294. if (grd_orglist.rows < 2 ){
  295. grd_orglist.addRow();
  296. }else{
  297. grd_orglist.insertRow(1);
  298. }
  299. //model.copyNodeset("/root/main/OranList2","/root/main/OranList");
  300. //model.removenodeset("/root/main/OranList");
  301. model.setValue("/root/main/OranList["+grd_orglist.row+"]/bcolldt" , tDay);
  302. model.setValue("/root/main/OranList["+grd_orglist.row+"]/rgstdt" , tDay);
  303. model.setValue("/root/main/OranList["+grd_orglist.row+"]/trnshopeorgncd" , "00");
  304. //model.copyNodeset("/root/main/OranList","/root/main/OranList2");
  305. //model.removeNodeset("/root/main/OranList2");
  306. model.refresh();
  307. }
  308. function fInsRowdel() {
  309. var kRows = grd_orglist.rows;
  310. for (var i =1; i<=grd_orglist.rows; i++){
  311. //alert("for");
  312. var chk = model.getValue("/root/main/OranList["+i+"]/chk" );
  313. //alert(chk);
  314. if(model.getValue("/root/main/OranList["+i+"]/chk") == "true"){
  315. //alert("if");
  316. //grd_eqmttclscd.deleteitem(i);
  317. model.removenodeset("/root/main/OranList["+i+"]");
  318. i = i -1;
  319. kRows = kRows -1 ;
  320. }
  321. }
  322. model.refresh();
  323. //var row = grd_eqmttclscd.row;
  324. //grd_eqmttclscd.deleteItem(row);
  325. for ( i =1 ; i<= grd_orglist.rows ; i++){
  326. grd_orglist.rowStatus(i) = 0 ;
  327. }
  328. //alert (stestcdseqno);
  329. /*if ( stestcdseqno == ""){
  330. var row = grd_eqmttclscd.row;
  331. grd_eqmttclscd.deleteItem(row);
  332. }
  333. else{
  334. grd_eqmttclscd.rowStatus(grd_eqmttclscd.row) = 4;
  335. }
  336. */
  337. }
  338. function fsavelist(){
  339. //for (var i = 1 ; i <= grd_eqmttclscd.rows ; i++){
  340. // grd_eqmttclscd.rowStatus(i) = 1 ;
  341. // }
  342. // if(grd_orglist.rows <2){
  343. // messageBox("장비별 검사코드 상세내역 정보를 ", "C001"); //장비별 검사코드 상세내역 정보를 입력하십시오
  344. // return;
  345. // }
  346. for ( i = 1 ; i<= grd_orglist.rows - 1 ; i++){
  347. if (grd_orglist.rowStatus(i) == "1" || "2" ){
  348. if (model.getValue("/root/main/OranList["+i+"]/abndt" ) == ""){
  349. model.setValue("/root/main/OranList["+i+"]/abndt" , "19000101000000");
  350. }
  351. }
  352. }
  353. var uioranlist = grd_orglist.getUpdateData();
  354. //model.setValue("/root/send/eqmtcd" , model.getValue("/root/main/eqmtdetllist["+grd_eqmtlist.row+"]/eqmtcd"));
  355. model.setValue("/root/send/uioranlist" , uioranlist);
  356. model.copyNode("/root/send/oranlist" , "/root/main/OranList");
  357. var comment = "" ;
  358. for ( i = 1 ; i<= grd_orglist.rows - 1 ; i++){
  359. //alert(grd_orglist.rows);
  360. //alert(i);
  361. if (grd_orglist.rowStatus(i) == "1" || "2" ){
  362. if(model.getValue("/root/main/OranList["+i+"]/konosid" ) == ""){
  363. //alert(model.getValue("/root/main/OranList["+i+"]/konosid" ));
  364. comment = comment + "KONOSID ";
  365. }else if (model.getValue("/root/main/OranList["+i+"]/patnm" ) == ""){
  366. comment = comment + "환자명 ";
  367. }else if (model.getValue("/root/main/OranList["+i+"]/keeppos" ) == ""){
  368. comment = comment + "보관함 ";
  369. }else if (model.getValue("/root/main/OranList["+i+"]/bcolldt" ) == ""){
  370. comment = comment + "채취일자 ";
  371. }else if (model.getValue("/root/main/OranList["+i+"]/trnscorpnm" ) == ""){
  372. comment = comment + "이식의료기관 ";
  373. }else if (model.getValue("/root/main/OranList["+i+"]/trnshopeorgncd" ) == ""){
  374. comment = comment + "이식희망장기 ";
  375. }else if (model.getValue("/root/main/OranList["+i+"]/rgstdt" ) == ""){
  376. comment = comment + "등록일시 "
  377. }
  378. if(comment != ""){
  379. alert ( comment + " 를 입력하여주세요 ");
  380. return;
  381. }
  382. }
  383. }
  384. if(submit("TXLNP90701")){
  385. // 초기화
  386. fSetInit();
  387. }
  388. }
  389. //출력
  390. function fReportPreview(){
  391. var PrintOption = model.getValue("/root/hidden/printoption");
  392. if(PrintOption == "1"){
  393. exeReportPreview("RPLLP02601", "XMLSTR", "", "");
  394. }else{
  395. exeReportPreview("RPLLP02600", "XMLSTR", "", "");
  396. }
  397. }
  398. function fReportPreview2(){
  399. if(model.getValue("/root/hidden/ref/nacpt") == "1"){
  400. getAcptChk();
  401. }
  402. //alert("개발중입니다");
  403. //return;
  404. var divgrupnmlist = chk_divgrupnmlist.value;
  405. //alert(divgrupnmlist);
  406. var divgrupnmlistlabel = chk_divgrupnmlist.label;
  407. var divgrupnm = "";
  408. var divgrupnmcount = 0;
  409. if(divgrupnmlistlabel != ""){
  410. divgrupnm = divgrupnmlistlabel.split("▦");
  411. divgrupnmcount = divgrupnm.length;
  412. }
  413. if(divgrupnmcount != 1){
  414. if(divgrupnmcount > 5){
  415. alert("5개 이상의 항목을 출력할수 없습니다.");
  416. return;
  417. }
  418. fReportPreview3(); // 단항목 워크리스트가 아닐경우
  419. return;
  420. }
  421. //model.setValue("/root/hidden/ref/tclsnm", "["+divgrupnm+"]");
  422. //model.setValue("/root/hidden/ref/grupnm", combo2.label);
  423. fReportPreview3("single");
  424. //exeReportPreview("RPLNP00106", "XMLSTR");
  425. }
  426. function fReportPreview3(gbn){
  427. var testcds = "";
  428. var n = getNodesetCount("/root/main/divgrupnmlist");
  429. var divgrupnmlist = chk_divgrupnmlist.value;
  430. var Tnm = divgrupnmlist.split("▦");
  431. model.setValue("/root/init/tclsnm1", "");
  432. model.setValue("/root/init/tclsnm2", "");
  433. model.setValue("/root/init/tclsnm3", "");
  434. model.setValue("/root/init/tclsnm4", "");
  435. model.setValue("/root/init/tclsnm5", "");
  436. for(divR = 1 ; divR <= n ; divR++){
  437. testcds = testcds + "'" + model.getValue("/root/main/divgrupnmlist["+divR+"]/tclscd") + "',";
  438. for(i = 0 ; i < Tnm.length ; i++){
  439. if(Tnm[i] == model.getValue("/root/main/divgrupnmlist["+divR+"]/tclscd")){
  440. model.setValue("/root/init/tclsnm" + (i+1), model.getValue("/root/main/divgrupnmlist["+divR+"]/tclsnm"));
  441. }
  442. }
  443. }
  444. testcds = testcds.substr(0,testcds.length-1);
  445. //alert(testcds);
  446. model.setValue("/root/send/testcds" , testcds);
  447. if(gbn == "single"){
  448. model.makeValue("/root/send/single" , "single");
  449. }
  450. submit("TRLNP00103");
  451. if(gbn == "single"){
  452. model.removenode("/root/send/single");
  453. }
  454. var nTclsnm = chk_divgrupnmlist.label;
  455. nTclsnm = nTclsnm.setReplaceWord("▦", ", ");
  456. model.setValue("/root/init/tclsnms", "[" + nTclsnm + "]");
  457. //var divgrupnmlistlabel = chk_divgrupnmlist.label;
  458. //var divgrupnm = divgrupnmlistlabel.split("▦");
  459. //for(i = 0 ; i < divgrupnm.length ; i++){
  460. // model.setValue("/root/init/tclsnm" + (i+1), divgrupnm[i]);
  461. //}
  462. // 단항목 다항목 구분 및 간략출력 여부에 따른 레포트 로딩
  463. datagrid1.fixedcellischeck(0, 1) = false;
  464. if(gbn == "single"){
  465. if(model.getValue("/root/hidden/ref/dprint") == "1"){
  466. exeReportPreview("RPLNP00106", "XMLSTR", "", "", "true", "", "", "", "","true");
  467. //exeReportPreview("RPLNP00106", "XMLSTR", "");
  468. }
  469. else{
  470. exeReportPreview("RPLNP00108", "XMLSTR", "", "", "true", "", "", "", "","true");
  471. //exeReportPreview("RPLNP00108", "XMLSTR", "");
  472. }
  473. }else{
  474. if(model.getValue("/root/hidden/ref/dprint") == "1"){
  475. exeReportPreview("RPLNP00105", "XMLSTR", "", "", "true", "", "", "", "","true");
  476. //exeReportPreview("RPLNP00105", "XMLSTR", "");
  477. }
  478. else{
  479. exeReportPreview("RPLNP00104", "XMLSTR", "", "", "true", "", "", "", "","true");
  480. //exeReportPreview("RPLNP00104", "XMLSTR", "");
  481. }
  482. }
  483. // 다항목 레포트 제목 초기화
  484. //for(i = 0 ; i < 5 ; i++){
  485. // model.setValue("/root/init/tclsnm" + (i+1), "");
  486. //}
  487. }
  488. function fbfrslt(){
  489. var count = getNodesetCount("/root/main/divgrupnmlist");
  490. if(count > 0){
  491. var tclscdlist = model.getValue("/root/main/divgrupnmlist[1]/tclscd");
  492. for(i=2; i<= count; i++){
  493. tclscdlist = tclscdlist + "','" + model.getValue("/root/main/divgrupnmlist["+i+"]/tclscd");
  494. }
  495. tclscdlist = "'" + tclscdlist + "'";
  496. model.setValue("/root/send/data3/pid", model.getValue("/root/main/nmedworklist/write["+ datagrid1.row+"]/pid"));
  497. model.setValue("/root/send/data3/tclslist", tclscdlist);
  498. modal("SPLNR90600","","","","","/root/send/data3","/root/hidden/ref");
  499. }
  500. }
  501. function fSetListRemove(){
  502. if(datagrid1.rows < 2){
  503. return;
  504. }else{
  505. model.removenodeset("/root/main/nmedworklist/write");
  506. model.refresh();
  507. }
  508. }
  509. function fchktrueFalse(){
  510. var selectedCells = datagrid1.selectedCells;
  511. for (var i=0; i<selectedCells.length; i++){
  512. var cell = selectedCells.item(i);
  513. if (cell){
  514. var curRow = cell.row;
  515. var curCol = cell.col;
  516. if(curCol ==1){
  517. if(datagrid1.valueMatrix(curRow,curCol) == "false"){
  518. model.setValue("/root/main/nmedworklist/write["+curRow+"]/chk", "true");
  519. }else if(datagrid1.valueMatrix(curRow,curCol) == "true"){
  520. model.setValue("/root/main/nmedworklist/write["+curRow+"]/chk", "false");
  521. }else{
  522. model.setValue("/root/main/nmedworklist/write["+curRow+"]/chk", "true");
  523. }
  524. }
  525. }
  526. }
  527. }
  528. function fRequestPage(){
  529. var reqno = model.getValue("/root/main/nmedworklist/write["+datagrid1.row+"]/reqno");
  530. var pid = model.getValue("/root/main/nmedworklist/write["+datagrid1.row+"]/pid");
  531. var prcpcd = model.getValue("/root/main/nmedworklist/write["+datagrid1.row+"]/prcpcd");
  532. var spccd = model.getValue("/root/main/nmedworklist/write["+datagrid1.row+"]/spccd");
  533. model.setValue("/root/hidden/request/pid", pid);
  534. model.setValue("/root/hidden/request/reqno", reqno);
  535. model.setValue("/root/hidden/request/prcpcd", prcpcd);
  536. model.setValue("/root/hidden/request/spccd", spccd);
  537. modal("SPLRR91000" ,"","","","","/root/hidden/request", "/root/hidden/reqfrminfo");
  538. }
  539. function fViewList(){
  540. var viewgbn = model.getValue("/root/hidden/ref/viewgbn");
  541. if(viewgbn == "1"){
  542. datagrid1.colWidth(9) = 0;
  543. datagrid1.colWidth(10) = 0;
  544. }else{
  545. datagrid1.colWidth(9) = 65;
  546. datagrid1.colWidth(10) = 65;
  547. }
  548. }
  549. //환자성명 클릭시 상단정보 조회
  550. function fUpPatinfo2(){
  551. if(getPatientInfo("pid") != model.getValue("/root/main/nmedworklist/write["+ datagrid1.row +"]/pid")) {
  552. if(datagrid1.rows> 1){
  553. setParameter("errflag", "Y");
  554. setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/nmedworklist/write["+ datagrid1.row +"]/prcpdd")+ "▦"
  555. + model.getvalue("/root/main/nmedworklist/write["+ datagrid1.row +"]/execprcpuniqno") + "▦"
  556. + model.getvalue("/root/main/nmedworklist/write["+ datagrid1.row +"]/instcd") );
  557. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  558. }
  559. var paminfo = getGlobalVariable("paminfo");
  560. if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/nmedworklist/write["+ datagrid1.row +"]/pid"))){ //상단정보가 없는 경우
  561. delPatientInfos(); //환자정보 전체 삭제
  562. var pid = model.getValue("/root/main/nmedworklist/write["+ datagrid1.row +"]/pid")
  563. var hngnm = model.getValue("/root/main/nmedworklist/write["+ datagrid1.row +"]/patnm");
  564. //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
  565. setPatientInfo("pid" , pid); //등록번호
  566. setPatientInfo("pname" , pid + "|" + hngnm); //환자명
  567. }
  568. }
  569. }
  570. function fSelectTestGrup(){
  571. model.makeValue("/root/send/testgrupnm", combo1.label);
  572. submit("TRLLF90401" ,false);
  573. fSetPopUpTclscdList();
  574. }
  575. function fSetPopUpTclscdList(){
  576. var count = getNodesetCount("/root/main/testgrupdetl");
  577. if(count > 0){
  578. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  579. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  580. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  581. // 검사그룹 상세 목록 없을때
  582. if(sendtclsnm == ""){
  583. model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
  584. model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
  585. }else{ // 검사그룹 상세 목록 있을때
  586. for(i=2; i<= count; i++){
  587. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  588. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  589. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  590. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  591. }
  592. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  593. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  594. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  595. }
  596. model.refresh();
  597. }
  598. }
  599. function fSetTclscdClean(){
  600. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  601. }
  602. function feditValue(){
  603. var cRow = datagrid1.row;
  604. var WBC = datagrid1.valueMatrix(cRow, 11);
  605. var NUT = datagrid1.valueMatrix(cRow, 12);
  606. fCalWB(WBC, NUT, cRow);
  607. }
  608. function fmovesell() {
  609. var Nrow = grd_orglist.row;
  610. var Mcol = grd_orglist.col + 1;
  611. grd_orglist.row = Nrow;
  612. grd_orglist.col = Mcol;
  613. grd_orglist.editCell();
  614. //model.refresh();
  615. }
  616. function fdelitem(){
  617. for (var i =1; i<=grd_orglist.rows; i++){
  618. //alert("for");
  619. var chk = model.getValue("/root/main/OranList["+i+"]/chk" );
  620. //alert(chk);
  621. if(model.getValue("/root/main/OranList["+i+"]/chk") == "true"){
  622. grd_orglist.rowStatus(i) = 4 ;
  623. }
  624. }
  625. var uioranlist = grd_orglist.getUpdateData();
  626. model.setValue("/root/send/uioranlist" , uioranlist);
  627. model.copyNode("/root/send/oranlist" , "/root/main/OranList");
  628. if(submit("TXLNP90702")){
  629. // 초기화
  630. fSetInit();
  631. }
  632. }
  633. function fgetmaxdata(){
  634. if ( grd_orglist.col == 3 ){
  635. var skonosid = model.getValue("/root/main/OranList["+ grd_orglist.row +"]/konosid");
  636. if (skonosid == ""){
  637. return;
  638. }
  639. model.makeValue("/root/send/skonosid", skonosid );
  640. model.setValue("/root/send/spatnm" , "");
  641. submit("TRLNP90702");
  642. //alert( "konosid = " + model.getValue("/root/hidden/ref2/maxoranlist/konosid") ) ;
  643. if (model.getValue("/root/hidden/ref2/maxoranlist/konosid") != "" ) {
  644. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/konosid" , model.getValue("/root/hidden/ref2/maxoranlist/konosid"));;
  645. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/patnm" , model.getValue("/root/hidden/ref2/maxoranlist/patnm"));
  646. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/keeppos" , model.getValue("/root/hidden/ref2/maxoranlist/keeppos"));
  647. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/bcolldt" , model.getValue("/root/hidden/ref2/maxoranlist/bcolldt"));
  648. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnscorpnm" , model.getValue("/root/hidden/ref2/maxoranlist/trnscorpnm"));
  649. //model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnshopeorgncd" , model.getValue("/root/hidden/ref2/maxoranlist/trnshopeorgncd"));
  650. //model.refresh();
  651. } else {
  652. //model.setValue("/root/main/OranList["+ grd_orglist.row +"]/konosid" , model.getValue("/root/hidden/ref2/maxoranlist/konosid"));;
  653. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/patnm" , "");
  654. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/keeppos" , "");
  655. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/bcolldt" , "");
  656. model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnscorpnm" , "");
  657. }
  658. }
  659. // JJH 이름 검색 제외 2011-03-17
  660. // alert( "konosid = " + model.getValue("/root/hidden/ref2/maxoranlist/konosid") ) ;
  661. // if (grd_orglist.col == 4 ){
  662. // var spatnm = model.getValue("/root/main/OranList["+ grd_orglist.row +"]/patnm");
  663. // if (spatnm == ""){
  664. // return;
  665. // }
  666. //
  667. // model.makeValue("/root/send/spatnm", spatnm );
  668. // model.setValue("/root/send/skonosid" , "");
  669. // submit("TRLNP90702");
  670. //
  671. // if (model.getValue("/root/hidden/ref2/maxoranlist/konosid") != "" ) {
  672. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/konosid", model.getValue("/root/hidden/ref2/maxoranlist/konosid"));;
  673. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/patnm", model.getValue("/root/hidden/ref2/maxoranlist/patnm"));
  674. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/keeppos", model.getValue("/root/hidden/ref2/maxoranlist/keeppos"));
  675. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/bcolldt", model.getValue("/root/hidden/ref2/maxoranlist/bcolldt"));
  676. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnscorpnm", model.getValue("/root/hidden/ref2/maxoranlist/trnscorpnm"));
  677. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnshopeorgncd", model.getValue("/root/hidden/ref2/maxoranlist/trnshopeorgncd"));
  678. // //model.refresh();
  679. // } else {
  680. // //model.setValue("/root/main/OranList["+ grd_orglist.row +"]/konosid", model.getValue("/root/hidden/ref2/maxoranlist/konosid"));;
  681. // //model.setValue("/root/main/OranList["+ grd_orglist.row +"]/patnm", model.getValue("/root/hidden/ref2/maxoranlist/patnm"));
  682. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/keeppos", "");
  683. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/bcolldt", "");
  684. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnscorpnm", "");
  685. // model.setValue("/root/main/OranList["+ grd_orglist.row +"]/trnshopeorgncd", "");
  686. // }
  687. // }
  688. model.removeNodeset("/root/hidden/ref2");
  689. model.makeNode("/root/hidden/ref2");
  690. }
  691. ]]>
  692. </script>
  693. </xhtml:head>
  694. <xhtml:body caption="2" itemwidth="50" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  695. <group id="group1" style="left:0px; top:0px; width:1180px; height:13px; ">
  696. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">장기이식대기자관리</caption>
  697. </group>
  698. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1181px; height:730px; ">
  699. <group id="group2" style="left:0px; top:0px; width:1180px; height:40px; vertical-align:top; ">
  700. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1180px; height:40px; "/>
  701. <caption id="caption3" class="search_name" style="left:5px; top:11px; width:80px; height:17px; ">구 분 :</caption>
  702. <button id="btn_search" class="btn1_letter3" style="left:1080px; top:10px; width:68px; height:22px; ">
  703. <caption>조 회</caption>
  704. <script type="javascript" ev:event="onclick">
  705. <![CDATA[
  706. fGetOranTranfList("days");
  707. ]]>
  708. </script>
  709. </button>
  710. <line id="line1" class="line_4" style="x1:1058px; y1:6px; x2:1058px; y2:33px; "/>
  711. <select1 id="cbo_slist" ref="/root/hidden/ref/workgbn" appearance="minimal" style="left:90px; top:10px; width:125px; height:19px; ">
  712. <choices>
  713. <item>
  714. <label>번호</label>
  715. <value>1</value>
  716. </item>
  717. <item>
  718. <label>KONOS_ID</label>
  719. <value>2</value>
  720. </item>
  721. <item>
  722. <label>환자명</label>
  723. <value>3</value>
  724. </item>
  725. <item>
  726. <label>보관함</label>
  727. <value>4</value>
  728. </item>
  729. <item>
  730. <label>채취일자</label>
  731. <value>5</value>
  732. </item>
  733. <item>
  734. <label>이식의료기관</label>
  735. <value>6</value>
  736. </item>
  737. <item>
  738. <label>폐기일시</label>
  739. <value>7</value>
  740. </item>
  741. </choices>
  742. </select1>
  743. <input id="ipt_search" ref="/root/hidden/ref/workcmd" class="input_button" inputtype="button" style="left:220px; top:10px; width:131px; height:19px; ">
  744. <script type="javascript" ev:event="onbuttonclick">
  745. <![CDATA[
  746. if(ipt_search.currentText == ""){
  747. alert("조회구분을 입력해 주세요. ");
  748. return;
  749. }
  750. fGetOranTranfList("ref");
  751. ]]>
  752. </script>
  753. <script type="javascript" ev:event="onkeyup">
  754. <![CDATA[
  755. if(event.keyCode == "13"){
  756. model.setValue("/root/hidden/ref/workcmd", (ipt_search.currentText).toUpperCase());
  757. if(ipt_search.currentText == ""){
  758. alert("조회구분을 입력해 주세요. ");
  759. return;
  760. }
  761. fGetOranTranfList("ref");
  762. }
  763. ]]>
  764. </script>
  765. </input>
  766. <select id="chk_add" ref="/root/hidden/ref/searchadd" overflow="visible" appearance="full" style="left:355px; top:10px; width:105px; height:20px; border-style:none; ">
  767. <choices>
  768. <item>
  769. <label>추가</label>
  770. <value>true</value>
  771. </item>
  772. </choices>
  773. </select>
  774. <input id="ipt_colfromdd" ref="/root/hidden/ref/colfromdd" class="input_s_essential" inputtype="date" style="left:805px; top:10px; width:100px; height:19px; "/>
  775. <input id="ipt_coltodd" ref="/root/hidden/ref/coltodd" class="input_s_essential" inputtype="date" style="left:930px; top:10px; width:100px; height:19px; "/>
  776. <caption id="caption2" class="search_name" style="left:695px; top:10px; width:99px; height:17px; ">채취일구간 :</caption>
  777. <caption id="caption4" class="search_no_b" style="left:910px; top:10px; width:15px; height:17px; ">~</caption>
  778. </group>
  779. <line id="line2" class="line_1" style="x1:0px; y1:63px; x2:1180px; y2:63px; "/>
  780. <caption id="caption1" class="tit_2" style="left:5px; top:46px; width:134px; height:13px; ">장기이식대기자목록</caption>
  781. <button id="btn_excel" class="btn2_letter2" style="left:1137px; top:43px; width:42px; height:19px; ">
  782. <caption>엑셀</caption>
  783. <script type="javascript" ev:event="DOMActivate">
  784. <![CDATA[
  785. var fileName = window.fileDialog("save", ",", false, "장기이식관리", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  786. if (fileName != "")
  787. {
  788. grd_orglist.saveExcel(fileName);
  789. }
  790. ]]>
  791. </script>
  792. </button>
  793. <datagrid id="grd_orglist" nodeset="/root/main/OranList" caption="^번호^KONOS_ID^환자명^보관함^채취일자^이식의료기관^이식희망장기^폐기일시^비고^등록일시^" colsep="^" colwidth="30, 80, 80, 70, 100, 100, 120, 100, 100, 200, 115" dataheight="25" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:69px; width:1180px; height:655px; ">
  794. <col ref="chk" type="checkbox"/>
  795. <col ref="trnsseqno" type="output" style="text-align:center; "/>
  796. <col ref="konosid" type="input" style="text-align:center; "/>
  797. <col ref="patnm" type="input" style="text-align:center; "/>
  798. <col ref="keeppos" type="input" style="text-align:center; "/>
  799. <col ref="bcolldt" type="inputdate" style="text-align:center; "/>
  800. <col ref="trnscorpnm" type="input"/>
  801. <col ref="trnshopeorgncd" type="combo">
  802. <choices>
  803. <item>
  804. <label>신장</label>
  805. <value>00</value>
  806. </item>
  807. <item>
  808. <label>신장+췌장</label>
  809. <value>01</value>
  810. </item>
  811. <item>
  812. <label>신장+간장</label>
  813. <value>02</value>
  814. </item>
  815. <item>
  816. <label>췌장</label>
  817. <value>03</value>
  818. </item>
  819. <item>
  820. <label>심장</label>
  821. <value>04</value>
  822. </item>
  823. <item>
  824. <label>간장</label>
  825. <value>05</value>
  826. </item>
  827. <item>
  828. <label>기타</label>
  829. <value>06</value>
  830. </item>
  831. <item>
  832. <label>췌도</label>
  833. <value>07</value>
  834. </item>
  835. <item>
  836. <label>폐장</label>
  837. <value>08</value>
  838. </item>
  839. <item>
  840. <label>신장+심장</label>
  841. <value>09</value>
  842. </item>
  843. <item>
  844. <label>신장+췌도</label>
  845. <value>10</value>
  846. </item>
  847. <item>
  848. <label>심장+폐장</label>
  849. <value>11</value>
  850. </item>
  851. <item>
  852. <label>-</label>
  853. <value>-</value>
  854. </item>
  855. </choices>
  856. </col>
  857. <col ref="abndt" type="inputdate" style="text-align:center; "/>
  858. <col ref="trnscmt" type="input" style="text-align:center; "/>
  859. <col ref="rgstdt" type="inputdate" style="text-align:center; "/>
  860. <script type="javascript" ev:event="onaftersort">
  861. <![CDATA[
  862. datagrid1.gridToInstance();
  863. ]]>
  864. </script>
  865. <script type="javascript" ev:event="onendedit">
  866. <![CDATA[
  867. if(event.keyCode == "13"){
  868. if (grd_orglist.col == 3 || 4){
  869. fgetmaxdata();
  870. }
  871. fmovesell();
  872. }
  873. ]]>
  874. </script>
  875. </datagrid>
  876. <button id="button1" class="btn2_letter3" style="left:1027px; top:43px; width:53px; height:19px; ">
  877. <caption>행추가</caption>
  878. <script type="javascript" ev:event="DOMActivate">
  879. <![CDATA[
  880. fSetAddRow();]]>
  881. </script>
  882. </button>
  883. <button id="button2" class="btn2_letter3" style="left:1082px; top:43px; width:53px; height:19px; ">
  884. <caption>행삭제</caption>
  885. <script type="javascript" ev:event="DOMActivate">
  886. <![CDATA[
  887. fInsRowdel();
  888. ]]>
  889. </script>
  890. </button>
  891. </group>
  892. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1180px; height:27px; ">
  893. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1179px; y2:25px; "/>
  894. <button id="btn_save" class="btn4_letter3" style="left:974px; top:3px; width:68px; height:22px; ">
  895. <caption>저 장</caption>
  896. <script type="javascript" ev:event="onclick">
  897. <![CDATA[
  898. fsavelist();
  899. ]]>
  900. </script>
  901. </button>
  902. <button id="btn_init" class="btn4_letter3" style="left:1110px; top:3px; width:68px; height:22px; ">
  903. <caption>초기화</caption>
  904. <script type="javascript" ev:event="onclick">
  905. <![CDATA[
  906. fSetInit();
  907. ]]>
  908. </script>
  909. </button>
  910. <button id="button3" class="btn4_letter3" style="left:1042px; top:3px; width:68px; height:22px; ">
  911. <caption>삭 제</caption>
  912. <script type="javascript" ev:event="onclick">
  913. <![CDATA[
  914. fdelitem();
  915. ]]>
  916. </script>
  917. </button>
  918. <caption id="caption5" style="left:20px; top:5px; width:640px; height:20px; font-weight:bold; color:#ff0000; background-color:#ffffff; ">※ 상기 환자관리는 매우 중요한 사항입니다. 담당자외 저장 및 삭제는 하실수 없습니다.</caption>
  919. </group>
  920. </xhtml:body>
  921. </xhtml:html>