SMMNW01400_사망등록.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  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. <dethinfo>
  11. <dethinfo>
  12. <pid/>
  13. <indd/>
  14. <hngnm/>
  15. <dethdd/>
  16. <dethtm/>
  17. <dethdt/>
  18. <dethspec/>
  19. <dethyn/>
  20. <ioflag/>
  21. <ordrslt/>
  22. <rgstflag/>
  23. <cnclid/>
  24. <cncldt/>
  25. <dethdeptcd/>
  26. <inerflag/>
  27. </dethinfo>
  28. </dethinfo>
  29. <cond>
  30. <pid/>
  31. <hngnm/>
  32. <indd/>
  33. <dethdd/>
  34. <dethtm/>
  35. <dethyn/>
  36. <infyn/>
  37. <infetc/>
  38. <infetc1/>
  39. </cond>
  40. <paminfo/>
  41. <retinfo>
  42. <retinfo>
  43. <retmsg/>
  44. <dethdd/>
  45. <dethtm/>
  46. <dethdt/>
  47. <dethspec/>
  48. <dethyn/>
  49. </retinfo>
  50. </retinfo>
  51. </main>
  52. <send>
  53. <req/>
  54. </send>
  55. <init/>
  56. <hidden>
  57. <zsd>
  58. <resultref/>
  59. </zsd>
  60. </hidden>
  61. <temp>
  62. <pat_info/>
  63. <pid/>
  64. <orddd/>
  65. <ordtm/>
  66. <cretno/>
  67. <orddeptcd/>
  68. <orddrid/>
  69. <hngnm/>
  70. <mpphontel/>
  71. </temp>
  72. <tmp>
  73. <dethprtlist/>
  74. </tmp>
  75. </root>
  76. </instance>
  77. <script type="javascript">
  78. <![CDATA[
  79. function fInitialize()
  80. {
  81. // 환자정보 조회
  82. var sPamInfo = getGlobalVariable("paminfo");
  83. setCSVToNode("/root/main/paminfo",sPamInfo,"pamlist");
  84. if(sPamInfo != ""){
  85. ipt_pid.value = model.getValue("/root/main/paminfo/pamlist/pid");
  86. //ipt_rsvdd.value = model.getValue("/root/main/paminfo/pamlist/indd");
  87. var sPatname = model.getValue("/root/main/paminfo/pamlist/hngnm");
  88. sPatname = sPatname + " (" + model.getValue("/root/main/paminfo/pamlist/sex");
  89. sPatname = sPatname + "/" + model.getValue("/root/main/paminfo/pamlist/age") + ")";
  90. opt_hngnm.value = sPatname;
  91. fDethSearch(); //환자및 사망정보 조회
  92. } else {
  93. btn_dethcnfm.disabled = true ;// 사망확인 비활성화 시킨다.
  94. btn_dethcncl.disabled = true ;// 사망취소 비활성화 시킨다.
  95. model.setfocus("ipt_pid");
  96. }
  97. }
  98. function fDethSearch()
  99. {
  100. model.copynode("/root/send/req", "/root/main/cond");
  101. if (submit("TRMNW01401")) {
  102. //model.setValue("/root/main/dethinfo/dethinfo/pid", model.getValue("/root/main/cond/pid"));
  103. model.setValue("/root/main/cond/indd", model.getValue("/root/main/dethinfo/dethinfo/indd"));
  104. model.setValue("/root/main/cond/hngnm", model.getValue("/root/main/dethinfo/dethinfo/hngnm"));
  105. model.setValue(rdo_infyn.attribute("ref"), model.getValue("/root/main/dethinfo/dethinfo/infyn"));
  106. model.setValue(tar_infetc.attribute("ref"), model.getValue("/root/main/dethinfo/dethinfo/infetc"));
  107. model.setValue(opt_infetc1.attribute("ref"), model.getValue("/root/main/dethinfo/dethinfo/infetc1"));
  108. if (model.getValue("/root/main/dethinfo/dethinfo/dethyn") == "Y") {
  109. if(model.getValue("/root/main/dethinfo/dethinfo/rgstflag") == "doct") {
  110. model.makeValue("/root/main/dethinfo/dethinfo/dethspec", model.getValue("/root/main/dethinfo/dethinfo/dethspec") + " - 의사등록(수정불가)");
  111. btn_clock.disabled = false ;
  112. ipt_dethdd.disabled = false ;
  113. ipt_dethtm.disabled = false ;
  114. btn_clock.disabled = false;
  115. ipt_pid.disabled = false;
  116. ipt_dethdd.disabled = true;
  117. ipt_dethtm.disabled = true;
  118. btn_clock.disabled = true;
  119. btn_dethcnfm.disabled = true ; // 사망확인 비활성화 시킨다.
  120. btn_dethcncl.disabled = true ; // 사망취소 비활성화 시킨다.
  121. } else {
  122. btn_clock.disabled = true;
  123. ipt_dethdd.disabled = true ;
  124. ipt_dethtm.disabled = true ;
  125. btn_clock.disabled = true;
  126. btn_dethcnfm.disabled = true ;// 사망확인 비활성화 시킨다.
  127. btn_dethcncl.disabled = false ;// 사망취소 활성화 시킨다.
  128. }
  129. } else {
  130. if (model.getValue("/root/main/cond/hngnm") > "") {
  131. btn_clock.disabled = false ;
  132. ipt_dethdd.disabled = false ;
  133. ipt_dethtm.disabled = false ;
  134. btn_clock.disabled = false;
  135. btn_dethcnfm.disabled = false ;// 사망확인 활성화 시킨다.
  136. btn_dethcncl.disabled = true ;// 사망취소 비활성화 시킨다.
  137. } else {
  138. //model.setvalue("/root/main/dethinfo/dethinfo/dethspec", "");
  139. btn_dethcnfm.disabled = true ;// 사망확인 비활성화 시킨다.
  140. btn_dethcncl.disabled = true ;// 사망취소 비활성화 시킨다.
  141. opt_spec.value = "";
  142. messageBox("해당 환자번호가 ","I004");
  143. model.setfocus("ipt_pid");
  144. }
  145. model.makeValue("/root/main/dethinfo/dethinfo/dethdd", getCurrentDate());
  146. model.makeValue("/root/main/dethinfo/dethinfo/dethtm", getCurrentTime().substr(0,4));
  147. ipt_dethdd.refresh();
  148. ipt_dethtm.refresh();
  149. btn_clock.refresh();
  150. }
  151. ipt_pid.disabled = true ;
  152. }
  153. model.refresh();
  154. }
  155. function fDethSave(pDethyn)
  156. {
  157. if (pDethyn == "N") { // 사망취소인 경우
  158. model.makeValue("/root/main/dethinfo/dethinfo/dethdt", "-");
  159. model.makeValue("/root/main/dethinfo/dethinfo/ordrslt", "-");
  160. model.makeValue("/root/main/dethinfo/dethinfo/dethdd", "-");
  161. model.makeValue("/root/main/dethinfo/dethinfo/dethtm", "-");
  162. model.makeValue("/root/main/dethinfo/dethinfo/cnclid", getUserId()); // 사망취소자 ID
  163. model.makeValue("/root/main/dethinfo/dethinfo/cncldt", getCurrentDate() + getCurrentTime()); // 사망취소일시
  164. model.makeValue("/root/main/dethinfo/dethinfo/infyn", "");
  165. model.makeValue("/root/main/dethinfo/dethinfo/infetc", "");
  166. } else {
  167. var sDethdt = model.getValue("/root/main/dethinfo/dethinfo/dethdd") + model.getValue("/root/main/dethinfo/dethinfo/dethtm");
  168. model.makeValue("/root/main/dethinfo/dethinfo/dethdt", sDethdt);
  169. model.makeValue("/root/main/dethinfo/dethinfo/ordrslt", "4"); // 진료결과(4:사망)
  170. model.makeValue("/root/main/dethinfo/dethinfo/cnclid", "");
  171. model.makeValue("/root/main/dethinfo/dethinfo/cncldt", "");
  172. //20110426_KNUH_Start 감염정보, 감염정보기타 값 추가.
  173. model.makeValue("/root/main/dethinfo/dethinfo/infyn", model.getValue("/root/main/cond/infyn"));
  174. model.makeValue("/root/main/dethinfo/dethinfo/infetc", model.getValue("/root/main/cond/infetc"));
  175. //20110426_KNUH_Start
  176. if (model.getValue("/root/main/dethinfo/dethinfo/dethdt") == "") {
  177. messageBox("사망시간을 입력하지 ","E007");
  178. return;
  179. }
  180. var sCurdt = getCurrentDate() + getCurrentTime();
  181. if (sDethdt.substr(0, 12) > sCurdt.substr(0, 12)) {
  182. messageBox("사망시간을 미래일시로 등록할 수 없습니다.", "E999");
  183. return;
  184. }
  185. }
  186. var sRtnMsg = messageBox("","Q003");
  187. if(sRtnMsg != 6) return;
  188. model.makeValue("/root/main/dethinfo/dethinfo/dethyn", pDethyn); // 사망여부
  189. model.makeValue("/root/main/dethinfo/dethinfo/dethdeptcd", getUserInfo("dutplcecd")); // 사망등록부서
  190. // model.copynode("/root/send/req", "/root/main/dethinfo/dethinfo");
  191. model.makeValue("/root/send/req/pid" , model.getValue("/root/main/dethinfo/dethinfo/pid" ));
  192. model.makeValue("/root/send/req/dethdt" , model.getValue("/root/main/dethinfo/dethinfo/dethdt" ));
  193. model.makeValue("/root/send/req/dethyn" , model.getValue("/root/main/dethinfo/dethinfo/dethyn" ));
  194. model.makeValue("/root/send/req/ioflag" , model.getValue("/root/main/dethinfo/dethinfo/ioflag" ));
  195. model.makeValue("/root/send/req/inerflag" , model.getValue("/root/main/dethinfo/dethinfo/inerflag"));
  196. model.makeValue("/root/send/req/indd" , model.getValue("/root/main/dethinfo/dethinfo/indd" ));
  197. model.makeValue("/root/send/req/ordrslt" , model.getValue("/root/main/dethinfo/dethinfo/ordrslt" ));
  198. model.makeValue("/root/send/req/dethdd" , model.getValue("/root/main/dethinfo/dethinfo/dethdd" ));
  199. model.makeValue("/root/send/req/dethtm" , model.getValue("/root/main/dethinfo/dethinfo/dethtm" ));
  200. model.makeValue("/root/send/req/cnclid" , model.getValue("/root/main/dethinfo/dethinfo/cnclid" ));
  201. model.makeValue("/root/send/req/cncldt" , model.getValue("/root/main/dethinfo/dethinfo/cncldt" ));
  202. model.makeValue("/root/send/req/dethdeptcd", model.getValue("/root/main/dethinfo/dethinfo/dethdeptcd"));
  203. model.makeValue("/root/send/req/infyn" , model.getValue("/root/main/dethinfo/dethinfo/infyn"));
  204. model.makeValue("/root/send/req/infetc", model.getValue("/root/main/dethinfo/dethinfo/infetc"));
  205. model.removeNodeset("/root/main/retinfo");
  206. if (submit("TXMNW01402")) {
  207. if(model.getValue("/root/main/retinfo/retinfo/retmsg") != ""){
  208. messageBox(model.getValue("/root/main/retinfo/retinfo/retmsg"), "E");
  209. model.makeValue("/root/main/dethinfo/dethinfo/dethdd", model.getValue("/root/main/retinfo/retinfo/dethdd"));
  210. model.makeValue("/root/main/dethinfo/dethinfo/dethtm", model.getValue("/root/main/retinfo/retinfo/dethtm"));
  211. model.makeValue("/root/main/dethinfo/dethinfo/dethspec", model.getValue("/root/main/retinfo/retinfo/dethspec") + " - 의사등록(수정불가)" );
  212. ipt_dethdd.disabled = true;
  213. ipt_dethtm.disabled = true;
  214. btn_clock.disabled = true;
  215. btn_dethcnfm.disabled = true ;// 사망확인 비활성화 시킨다.
  216. btn_dethcncl.disabled = true ;// 사망취소 비활성화 시킨다.
  217. model.refresh();
  218. }else{
  219. btn_dethcnfm.disabled = true ;// 사망확인 비활성화 시킨다.
  220. btn_dethcncl.disabled = true ;// 사망취소 비활성화 시킨다.
  221. messageBox("", "I002");
  222. fDethSearch(); //환자및 사망정보 조회
  223. // fInit(); // 초기화
  224. // model.close();
  225. }
  226. }
  227. }
  228. //** 초기화 **//
  229. function fInit() {
  230. clearGroup(group3);
  231. //opt_hngnm.value = "";
  232. model.makeValue("/root/main/cond/hngnm", "");
  233. model.makeValue("/root/main/dethinfo/dethinfo/dethspec", "");
  234. ipt_pid.disabled = false ;
  235. btn_clock.disabled = true ;
  236. ipt_dethdd.disabled = true ;
  237. ipt_dethtm.disabled = true ;
  238. btn_clock.disabled = true;
  239. btn_dethcnfm.disabled = true ; // 사망확인 비활성화 시킨다.
  240. btn_dethcnfm.disabled = true ; // 사망확인 비활성화 시킨다.
  241. btn_dethcncl.disabled = true ; // 사망취소 비활성화 시킨다.
  242. model.setfocus("ipt_pid");
  243. model.refresh();
  244. }
  245. ]]>
  246. </script>
  247. <script type="javascript" ev:event="xforms-ready">
  248. <![CDATA[
  249. fInitialize();
  250. ]]>
  251. </script>
  252. <submission id="TRMNW01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dethinfo"/>
  253. <submission id="TRMNW01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/tmp/dethprtlist"/>
  254. <submission id="TXMNW01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/retinfo"/>
  255. </model>
  256. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  257. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  258. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  259. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  260. </xhtml:head>
  261. <xhtml:body pagewidth="330" pageheight="400" guideline="1,0;2,0;1,130;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  262. <group id="group3" scroll="auto" style="left:0px; top:0px; width:301px; height:350px; ">
  263. <caption id="caption7" class="tit_2" style="left:8px; top:10px; width:87px; height:13px; ">사망 등록</caption>
  264. <line id="line1" class="line_2" style="x1:0px; y1:85px; x2:300px; y2:85px; "/>
  265. <line id="line2" class="line_2" style="x1:0px; y1:56px; x2:300px; y2:56px; "/>
  266. <caption id="caption15" class="cell_1" style="left:0px; top:29px; width:74px; height:28px; text-align:center; vertical-align:middle; ">등록번호</caption>
  267. <line id="line4" class="line_3" style="x1:0px; y1:349px; x2:300px; y2:349px; "/>
  268. <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:300px; y2:25px; "/>
  269. <input id="ipt_rsvdd" ref="/root/main/cond/indd" class="input_search" disabled="true" navindex="2" format="yyyy-mm-dd" style="left:79px; top:62px; width:92px; height:19px; "/>
  270. <button id="btn_clock" class="icon_clock" style="left:218px; top:92px; width:16px; height:16px; ">
  271. <caption/>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. model.makeValue("/root/main/dethinfo/dethinfo/dethdd", getCurrentDate());
  275. model.makeValue("/root/main/dethinfo/dethinfo/dethtm", getCurrentTime().substr(0,4));
  276. ipt_dethdd.refresh();
  277. ipt_dethtm.refresh();
  278. btn_clock.refresh();
  279. ]]>
  280. </script>
  281. </button>
  282. <input id="ipt_dethtm" ref="/root/main/dethinfo/dethinfo/dethtm" class="input_default" navindex="4" format="hh:nn" style="left:174px; top:91px; width:39px; height:19px; ">
  283. <script type="javascript" ev:event="xforms-value-changed">
  284. <![CDATA[
  285. var dethtm = model.getValue("/root/main/dethinfo/dethinfo/dethtm");
  286. if(dethtm.length == 4){
  287. model.setValue("/root/main/dethinfo/dethinfo/dethtm", dethtm+"00");
  288. } else if(dethtm.length < 4) {
  289. messageBox("올바른 시간표시가 아닙니다.","E", '사망시간을 다시 입력하십시오.');
  290. model.setValue("/root/main/dethinfo/dethinfo/dethtm", "");
  291. model.setFocus("ipt_dethtm");
  292. ipt_dethtm.refresh();
  293. }
  294. ]]>
  295. </script>
  296. </input>
  297. <input id="ipt_dethdd" ref="/root/main/dethinfo/dethinfo/dethdd" class="input_search" navindex="3" inputtype="date" style="left:79px; top:91px; width:92px; height:19px; "/>
  298. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" navindex="1" maxlength="10" style="left:79px; top:33px; width:81px; height:19px; ">
  299. <script type="javascript" ev:event="onkeypress">
  300. <![CDATA[
  301. if(event.keyCode == "13"){
  302. model.setvalue("/root/main/cond/pid", ipt_pid.currentText);
  303. fDethSearch(); //환자및 사망정보 조회
  304. var IOFlag;
  305. // 상단정보존재여부 확인
  306. if(getNodesetCount("/root/main/paminfo/pamlist") > 0) {
  307. IOFlag = model.getValue("/root/main/paminfo/pamlist/ioflag");
  308. } else{
  309. if(model.getValue("/root/main/dethinfo/dethinfo/indd")==""){
  310. IOFlag = "O";
  311. }else{
  312. IOFlag = "I";
  313. }
  314. }
  315. model.makeValue("/root/main/dethinfo/dethinfo/ioflag", IOFlag); // 입원외래구분지정
  316. }
  317. ]]>
  318. </script>
  319. </input>
  320. <output id="opt_hngnm" ref="/root/main/cond/hngnm" class="output_fix" style="left:164px; top:33px; width:135px; height:19px; "/>
  321. <output id="opt_spec" ref="/root/main/dethinfo/dethinfo/dethspec" style="left:0px; top:323px; width:299px; height:19px; font-weight:bold; text-align:center; "/>
  322. <button id="button22" class="btn2_letter3" style="left:248px; top:4px; width:53px; height:19px; ">
  323. <caption>초기화</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. fInit(); // 초기화
  327. ]]>
  328. </script>
  329. </button>
  330. <caption id="caption1" class="cell_1" style="left:0px; top:58px; width:74px; height:28px; text-align:center; vertical-align:middle; ">입원일자</caption>
  331. <line id="line3" class="line_2" style="x1:0px; y1:114px; x2:300px; y2:114px; "/>
  332. <line id="line6" class="line_2" style="x1:0px; y1:143px; x2:300px; y2:143px; "/>
  333. <caption id="caption2" class="cell_1" style="left:0px; top:87px; width:74px; height:28px; text-align:center; vertical-align:middle; ">사망시간</caption>
  334. <caption id="caption3" class="cell_1" style="left:0px; top:116px; width:74px; height:28px; text-align:center; vertical-align:middle; ">전염성</caption>
  335. <caption id="caption4" class="cell_1" style="left:0px; top:174px; width:74px; height:147px; text-align:center; vertical-align:middle; ">기타</caption>
  336. <textarea id="tar_infetc" ref="/root/main/cond/infetc" style="left:77px; top:176px; width:222px; height:145px; "/>
  337. <select1 id="rdo_infyn" ref="/root/main/cond/infyn" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:77px; top:122px; width:68px; height:13px; border-style:none; ">
  338. <choices>
  339. <item>
  340. <label>Y</label>
  341. <value>Y</value>
  342. </item>
  343. <item>
  344. <label>N</label>
  345. <value>N</value>
  346. </item>
  347. </choices>
  348. </select1>
  349. <line id="line7" class="line_2" style="x1:0px; y1:172px; x2:300px; y2:172px; "/>
  350. <caption id="caption5" class="cell_1" style="left:0px; top:145px; width:74px; height:28px; text-align:center; vertical-align:middle; ">격리질환명</caption>
  351. <output id="opt_infetc1" ref="/root/main/cond/infetc1" class="output_fix" style="left:77px; top:149px; width:221px; height:19px; "/>
  352. </group>
  353. <group id="grp_btn" scroll="auto" style="left:0px; top:350px; width:301px; height:30px; ">
  354. <button id="button9" class="btn4_letter2" navindex="7" style="left:241px; top:5px; width:56px; height:22px; ">
  355. <caption>닫기</caption>
  356. <script type="javascript" ev:event="DOMActivate">
  357. <![CDATA[
  358. window.close();
  359. ]]>
  360. </script>
  361. </button>
  362. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:300px; y2:0px; "/>
  363. <button id="btn_dethcnfm" class="btn4_letter4" navindex="5" style="left:75px; top:5px; width:80px; height:22px; ">
  364. <caption>사망확인</caption>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. fDethSave("Y");
  368. ]]>
  369. </script>
  370. </button>
  371. <button id="btn_dethcncl" class="btn4_letter4" navindex="6" style="left:158px; top:5px; width:80px; height:22px; ">
  372. <caption>사망취소</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. fDethSave("N");
  376. ]]>
  377. </script>
  378. </button>
  379. <button id="button1" class="btn4_letter2" navindex="5" style="left:17px; top:5px; width:56px; height:22px; ">
  380. <caption>출력</caption>
  381. <script type="javascript" ev:event="DOMActivate">
  382. <![CDATA[
  383. var dethyn = model.getValue("/root/main/dethinfo/dethinfo/dethyn") ;
  384. if(dethyn == "Y") {
  385. model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/dethinfo/dethinfo/pid"));
  386. model.makeValue("/root/send/reqdata/ioflag", model.getValue("/root/main/dethinfo/dethinfo/ioflag"));
  387. submit("TRMNW01402");
  388. model.makeNode("/root/main/rexinfo");
  389. model.copyNode("/root/main/rexinfo", "/root/tmp/dethprtlist");
  390. model.makeValue("/root/main/rexinfo/dethprtinfo/infyn", model.getValue("/root/main/cond/infyn"));
  391. model.makeValue("/root/main/rexinfo/dethprtinfo/infetc", model.getValue("/root/main/cond/infetc"));
  392. model.makeValue("/root/main/rexinfo/dethprtinfo/infetc1", model.getValue("/root/main/cond/infetc1"));
  393. model.makeValue("/root/main/rexinfo/dethprtinfo/dethdd", model.getValue(ipt_dethdd.attribute("ref")));
  394. model.makeValue("/root/main/rexinfo/dethprtinfo/dethtm", model.getValue(ipt_dethtm.attribute("ref")));
  395. exeReportPreview("RPMNW01400", "XMLSTR");
  396. } else {
  397. messageBox("사망환자가 아니라 출력할 수 없습니다." , "E");
  398. return;
  399. }
  400. ]]>
  401. </script>
  402. </button>
  403. </group>
  404. <caption id="caption6" style="left:270px; top:381px; width:30px; height:16px; ">[표]</caption>
  405. </xhtml:body>
  406. </xhtml:html>