SPPMI04002_장기재원환자 주치교수 의견.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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. <pid/>
  11. <indd/>
  12. <cretno/>
  13. <hngnm/>
  14. <dschschdd/>
  15. <dschdelayresn/>
  16. <dsrnlist/>
  17. <dsrnbaseinfo/>
  18. <sex/>
  19. <age/>
  20. <orddeptnm/>
  21. <insukindnm/>
  22. <wardnm/>
  23. <roomcd/>
  24. <indaycnt/>
  25. <totamt/>
  26. <owntotamt/>
  27. <allowninsubamt/>
  28. <rcptexptamt/>
  29. <totpreamt/>
  30. <instpayamt/>
  31. <fromdd/>
  32. <todd/>
  33. <midamtmsg/>
  34. <cnticmt/>
  35. <futecmt/>
  36. <drcmt/>
  37. <atdoctid/>
  38. <medispclid/>
  39. </main>
  40. <send>
  41. <temp/>
  42. </send>
  43. <init/>
  44. <hidden>
  45. <rcv/>
  46. </hidden>
  47. </root>
  48. </instance>
  49. <script type="javascript" ev:event="xforms-ready">
  50. <![CDATA[
  51. var vflag = opener.javascript.getParameter("vflag");
  52. if(vflag != "1") {
  53. if ( checkOpener() ) {
  54. model.removeNodeset("/root/main/dsrnlist");
  55. var pid = opener.javascript.getParameter("SPPMI04002_PID");
  56. var indd = opener.javascript.getParameter("SPPMI04002_INDD");
  57. var cretno = opener.javascript.getParameter("SPPMI04002_CRETNO");
  58. var hgnm = opener.javascript.getParameter("SPPMI04002_HNGNM");
  59. var dschschdd = opener.javascript.getParameter("SPPMI04002_DSCHSCHDD");
  60. var dscgdelayresn = opener.javascript.getParameter("SPPMI04002_DSCHDELAYRESN");
  61. model.setValue("/root/main/pid", pid);
  62. model.setValue("/root/main/indd", indd);
  63. model.setValue("/root/main/cretno", cretno);
  64. model.setValue("/root/main/hngnm", hgnm);
  65. model.setValue("/root/main/dschschdd", dschschdd);
  66. model.setValue("/root/main/dschdelayresn", dscgdelayresn);
  67. // 해당 환자의 퇴원지연사유 리스트 조회
  68. submit("TRPMI04002");
  69. submit("TRPMI04003");
  70. // 기본정보 추가
  71. model.setValue("/root/main/sex", model.getValue("/root/main/dsrnbaseinfo/sex"));
  72. model.setValue("/root/main/age", model.getValue("/root/main/dsrnbaseinfo/age"));
  73. model.setValue("/root/main/orddeptnm", model.getValue("/root/main/dsrnbaseinfo/orddeptnm"));
  74. model.setValue("/root/main/insukindnm", model.getValue("/root/main/dsrnbaseinfo/insukindnm"));
  75. model.setValue("/root/main/wardnm", model.getValue("/root/main/dsrnbaseinfo/wardnm"));
  76. model.setValue("/root/main/roomcd", model.getValue("/root/main/dsrnbaseinfo/roomcd"));
  77. model.setValue("/root/main/indaycnt", model.getValue("/root/main/dsrnbaseinfo/indaycnt"));
  78. // model.setValue("/root/main/atdoctid", model.getValue("/root/main/dsrnbaseinfo/atdoctid"));
  79. // model.setValue("/root/main/medispclidroot", model.getValue("/root/main/dsrnbaseinfo/medispclidroot"));
  80. // 진료비 정보
  81. model.setValue("/root/main/totamt", model.getValue("/root/main/dsrnbaseinfo/totamt"));
  82. model.setValue("/root/main/owntotamt", model.getValue("/root/main/dsrnbaseinfo/owntotamt"));
  83. model.setValue("/root/main/allowninsubamt", model.getValue("/root/main/dsrnbaseinfo/allowninsubamt"));
  84. model.setValue("/root/main/rcptexptamt", model.getValue("/root/main/dsrnbaseinfo/rcptexptamt"));
  85. model.setValue("/root/main/totpreamt", model.getValue("/root/main/dsrnbaseinfo/totpreamt"));
  86. model.setValue("/root/main/instpayamt", model.getValue("/root/main/dsrnbaseinfo/instpayamt"));
  87. model.setValue("/root/main/fromdd", model.getValue("/root/main/dsrnbaseinfo/fromdd"));
  88. model.setValue("/root/main/todd", model.getValue("/root/main/dsrnbaseinfo/todd"));
  89. model.setValue("/root/main/midamtmsg", model.getValue("/root/main/dsrnbaseinfo/midamtmsg"));
  90. model.refresh();
  91. } else {
  92. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  93. //return false;
  94. }
  95. }
  96. ]]>
  97. </script>
  98. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  101. <submission id="TXPMI04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/hidden/rcv"/>
  102. <submission id="TRPMI04002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main" resultref="/root/main/dsrnlist"/>
  103. <submission id="TRPMI04003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main" resultref="/root/main/dsrnbaseinfo"/>
  104. </model>
  105. </xhtml:head>
  106. <xhtml:body pagewidth="800" pageheight="450" style="font-size:14px; ">
  107. <group id="group1" scroll="auto" style="left:0px; top:419px; width:800px; height:30px; ">
  108. <button id="btn_confirm" class="btn4_letter2" navindex="3" visibility="hidden" style="left:681px; top:4px; width:56px; height:22px; ">
  109. <caption>저장</caption>
  110. <script type="javascript" ev:event="DOMActivate">
  111. <![CDATA[
  112. model.resetInstanceNode("/root/send/temp");
  113. if ( messageBox("","Q002")==6 ) {
  114. var update = getGridUpdateData(grd_pmihdsrn);
  115. if(update == ""){
  116. messageBox("업데이트 정보가 없습니다.", "I");
  117. return 0;
  118. } else {
  119. // var vflag = opener.javascript.getParameter("vflag");
  120. // if(vflag != "1") {
  121. if ( checkOpener() ) {
  122. model.setValue("/root/send/temp", update);
  123. if( submit("TXPMI04002") ){
  124. messageBox("저장 되었습니다", "I999", "");
  125. }
  126. } else {
  127. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  128. //return false;
  129. }
  130. // } else {
  131. // if( submit("TXPMI04002") ){
  132. // messageBox("저장 되었습니다", "I999", "");
  133. // }
  134. // }
  135. // model.setValue("/root/send/temp", update);
  136. //submit("TXPMI04002");
  137. }
  138. }
  139. //grd_picmrulelist.dispatch("onclick");
  140. var rowcnt = grd_pmihdsrn.rows;
  141. for(var i = 1 ; i < rowcnt ; i++) {
  142. grd_pmihdsrn.rowStatus(i) = 0;
  143. }
  144. // 리스트 재조회
  145. model.removeNodeset("/root/main/dsrnlist");
  146. submit("TRPMI04002");
  147. model.refresh();
  148. /*
  149. if ( checkOpener() ) {
  150. if( submit("TXPMI04002") ){
  151. messageBox("저장 되었습니다", "I999", "");
  152. }
  153. } else {
  154. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  155. //return false;
  156. }
  157. */
  158. ]]>
  159. </script>
  160. </button>
  161. <button id="btn_cancel" class="btn4_letter2" navindex="4" style="left:740px; top:4px; width:56px; height:22px; ">
  162. <caption>닫기</caption>
  163. <script type="javascript" ev:event="DOMActivate">
  164. <![CDATA[
  165. /*
  166. var vflag = opener.javascript.getParameter("vflag");
  167. if(vflag != "1") {
  168. if ( checkOpener() ) {
  169. opener.javascript.setParameter("SPPMI04002_DSCHSCHDD", grd_pmihdsrn.valueMatrix(grd_pmihdsrn.rows - 1, grd_pmihdsrn.colRef("dschschdd")));
  170. opener.javascript.setParameter("SPPMI04002_DSCHDELAYRESN", grd_pmihdsrn.valueMatrix(grd_pmihdsrn.rows - 1, grd_pmihdsrn.colRef("dschdelayresn")));
  171. // opener.javascript.setParameter("SPPMI04002_DSCHSCHDD", model.getValue("/root/main/dschschdd"));
  172. // opener.javascript.setParameter("SPPMI04002_DSCHDELAYRESN", model.getValue("/root/main/dschdelayresn"));
  173. } else {
  174. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  175. //return false;
  176. }
  177. }
  178. */
  179. window.close();
  180. ]]>
  181. </script>
  182. </button>
  183. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:800px; y2:0px; "/>
  184. <input id="input17" ref="/root/main/orddeptnm" disabled="false" appearance="input" style="left:100px; top:5px; width:121px; height:19px; text-align:center; "/>
  185. <input id="input18" ref="/root/main/dsrnbaseinfo/medispclid" disabled="false" appearance="input" style="left:530px; top:5px; width:121px; height:19px; text-align:center; "/>
  186. <input id="input19" ref="/root/main/dsrnbaseinfo/atdoctid" disabled="false" appearance="input" style="left:315px; top:5px; width:121px; height:19px; text-align:center; "/>
  187. <caption id="caption25" style="left:45px; top:8px; width:54px; height:15px; ">진료과 :</caption>
  188. <caption id="caption26" style="left:260px; top:8px; width:52px; height:15px; ">주치의 :</caption>
  189. <caption id="caption27" style="left:473px; top:8px; width:54px; height:15px; ">전문의 :</caption>
  190. </group>
  191. <line id="line1" class="line_1" style="x1:0px; y1:17px; x2:798px; y2:18px; "/>
  192. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:194px; height:14px; ">장기재원환자 주치교수 의견서</caption>
  193. <caption id="caption3" class="cell_1" style="left:0px; top:21px; width:90px; height:20px; text-align:center; ">등 록 번 호</caption>
  194. <caption id="caption1" class="cell_1" style="left:215px; top:21px; width:90px; height:20px; text-align:center; ">성 명</caption>
  195. <line id="line104" class="line_2" style="x1:0px; y1:88px; x2:798px; y2:88px; "/>
  196. <caption id="caption2" class="cell_1" style="left:430px; top:67px; width:90px; height:20px; text-align:center; ">퇴원예정일</caption>
  197. <line id="line127" class="line_3" style="x1:0px; y1:416px; x2:800px; y2:416px; "/>
  198. <input id="ipt_pid" ref="/root/main/pid" disabled="false" appearance="input" style="left:92px; top:21px; width:121px; height:19px; text-align:center; ">
  199. <script type="javascript" ev:event="onkeydown">
  200. <![CDATA[
  201. if(ipt_pid.value != "" || ipt_pid.value != null){
  202. if (event.keyCode == '13') {
  203. model.setValue("/root/main/pid", ipt_pid.currentText.removeMask('\n'));
  204. //btn_ref.dispatch("onclick");
  205. submit("TRPMI04002");
  206. submit("TRPMI04003");
  207. model.setValue("/root/main/hngnm", model.getValue("/root/main/dsrnbaseinfo/hngnm"));
  208. model.setValue("/root/main/indd", model.getValue("/root/main/dsrnbaseinfo/indd"));
  209. model.setValue("/root/main/cretno", model.getValue("/root/main/dsrnbaseinfo/cretno"));
  210. model.setValue("/root/main/dschschdd", model.getValue("/root/main/dsrnbaseinfo/dschschdd"));
  211. // 기본정보 추가
  212. model.setValue("/root/main/sex", model.getValue("/root/main/dsrnbaseinfo/sex"));
  213. model.setValue("/root/main/age", model.getValue("/root/main/dsrnbaseinfo/age"));
  214. model.setValue("/root/main/orddeptnm", model.getValue("/root/main/dsrnbaseinfo/orddeptnm"));
  215. model.setValue("/root/main/insukindnm", model.getValue("/root/main/dsrnbaseinfo/insukindnm"));
  216. model.setValue("/root/main/wardnm", model.getValue("/root/main/dsrnbaseinfo/wardnm"));
  217. model.setValue("/root/main/roomcd", model.getValue("/root/main/dsrnbaseinfo/roomcd"));
  218. model.setValue("/root/main/indaycnt", model.getValue("/root/main/dsrnbaseinfo/indaycnt"));
  219. // model.setValue("/root/main/atdoctid", model.getValue("/root/main/dsrnbaseinfo/atdoctid"));
  220. // model.setValue("/root/main/medispclidroot", model.getValue("/root/main/dsrnbaseinfo/medispclidroot"));
  221. // 진료비 정보
  222. model.setValue("/root/main/totamt", model.getValue("/root/main/dsrnbaseinfo/totamt"));
  223. model.setValue("/root/main/owntotamt", model.getValue("/root/main/dsrnbaseinfo/owntotamt"));
  224. model.setValue("/root/main/allowninsubamt", model.getValue("/root/main/dsrnbaseinfo/allowninsubamt"));
  225. model.setValue("/root/main/rcptexptamt", model.getValue("/root/main/dsrnbaseinfo/rcptexptamt"));
  226. model.setValue("/root/main/totpreamt", model.getValue("/root/main/dsrnbaseinfo/totpreamt"));
  227. model.setValue("/root/main/instpayamt", model.getValue("/root/main/dsrnbaseinfo/instpayamt"));
  228. model.setValue("/root/main/fromdd", model.getValue("/root/main/dsrnbaseinfo/fromdd"));
  229. model.setValue("/root/main/todd", model.getValue("/root/main/dsrnbaseinfo/todd"));
  230. model.setValue("/root/main/midamtmsg", model.getValue("/root/main/dsrnbaseinfo/midamtmsg"));
  231. model.refresh();
  232. }
  233. }
  234. ]]>
  235. </script>
  236. </input>
  237. <input id="ipt_hngnm" ref="/root/main/hngnm" disabled="false" editable="false" appearance="input" style="left:307px; top:21px; width:121px; height:19px; text-align:center; "/>
  238. <input id="ipt_dschschdd" ref="/root/main/dschschdd" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:522px; top:67px; width:121px; height:19px; text-align:center; "/>
  239. <input id="input1" ref="/root/main/sex" disabled="false" editable="false" appearance="input" style="left:522px; top:21px; width:91px; height:19px; text-align:center; "/>
  240. <caption id="caption4" class="cell_1" style="left:430px; top:21px; width:90px; height:20px; text-align:center; ">성 별</caption>
  241. <caption id="caption5" class="cell_1" style="left:615px; top:21px; width:90px; height:20px; text-align:center; ">연 령</caption>
  242. <caption id="caption7" class="cell_1" style="left:0px; top:67px; width:90px; height:20px; text-align:center; ">입 원 일 자</caption>
  243. <input id="input2" ref="/root/main/wardnm" disabled="false" editable="false" appearance="input" style="left:522px; top:44px; width:91px; height:19px; text-align:center; "/>
  244. <caption id="caption8" class="cell_1" style="left:430px; top:44px; width:90px; height:20px; text-align:center; ">병 동</caption>
  245. <caption id="caption9" class="cell_1" style="left:615px; top:44px; width:90px; height:20px; text-align:center; ">병 실</caption>
  246. <input id="input4" ref="/root/main/orddeptnm" disabled="false" editable="false" appearance="input" style="left:92px; top:44px; width:121px; height:19px; text-align:center; "/>
  247. <input id="input5" ref="/root/main/indaycnt" disabled="false" editable="false" appearance="input" style="left:307px; top:67px; width:121px; height:19px; text-align:center; "/>
  248. <caption id="caption10" class="cell_1" style="left:0px; top:44px; width:90px; height:20px; text-align:center; ">입 원 과</caption>
  249. <caption id="caption11" class="cell_1" style="left:215px; top:44px; width:90px; height:20px; text-align:center; ">보 험 유 형</caption>
  250. <caption id="caption12" class="cell_1" style="left:215px; top:67px; width:90px; height:20px; text-align:center; ">현재입원일수</caption>
  251. <line id="line2" class="line_2" style="x1:1px; y1:42px; x2:799px; y2:42px; "/>
  252. <input id="input3" ref="/root/main/age" disabled="false" editable="false" appearance="input" style="left:707px; top:21px; width:91px; height:19px; text-align:center; "/>
  253. <input id="input6" ref="/root/main/roomcd" disabled="false" editable="false" appearance="input" style="left:707px; top:44px; width:91px; height:19px; text-align:center; "/>
  254. <line id="line3" class="line_2" style="x1:1px; y1:65px; x2:799px; y2:65px; "/>
  255. <input id="input7" ref="/root/main/insukindnm" disabled="false" editable="false" appearance="input" style="left:307px; top:44px; width:121px; height:19px; text-align:center; "/>
  256. <input id="input8" ref="/root/main/indd" editable="false" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:92px; top:68px; width:121px; height:19px; text-align:center; "/>
  257. <line id="line4" class="line_1" style="x1:0px; y1:112px; x2:798px; y2:113px; "/>
  258. <caption id="caption13" class="tit_2" style="left:0px; top:95px; width:125px; height:14px; font-family:돋움; vertical-align:middle; ">중간진료비 현황</caption>
  259. <line id="line5" class="line_2" style="x1:0px; y1:137px; x2:798px; y2:137px; "/>
  260. <input id="input9" ref="/root/main/totamt" disabled="false" format="#,###" appearance="input" style="left:98px; top:116px; width:100px; height:19px; text-align:center; "/>
  261. <caption id="caption14" class="cell_1" style="left:200px; top:116px; width:97px; height:20px; text-align:center; ">본인부담총액</caption>
  262. <caption id="caption15" class="cell_1" style="left:0px; top:116px; width:97px; height:20px; text-align:center; ">총 진 료 비</caption>
  263. <caption id="caption16" class="cell_1" style="left:401px; top:116px; width:97px; height:20px; text-align:center; ">기 납 부 액</caption>
  264. <input id="input10" ref="/root/main/owntotamt" disabled="false" editable="false" format="#,###" appearance="input" style="left:299px; top:116px; width:100px; height:19px; text-align:center; "/>
  265. <caption id="caption17" class="cell_1" style="left:602px; top:116px; width:97px; height:20px; text-align:center; ">감 면 액</caption>
  266. <input id="input11" ref="/root/main/totpreamt" disabled="false" editable="false" format="#,###" appearance="input" style="left:500px; top:116px; width:100px; height:19px; text-align:center; "/>
  267. <input id="input12" ref="/root/main/allowninsubamt" disabled="false" editable="false" format="#,###" appearance="input" style="left:700px; top:116px; width:98px; height:19px; text-align:center; "/>
  268. <line id="line6" class="line_2" style="x1:1px; y1:160px; x2:799px; y2:160px; "/>
  269. <input id="input13" ref="/root/main/instpayamt" disabled="false" format="#,###" appearance="input" style="left:98px; top:139px; width:100px; height:19px; text-align:center; "/>
  270. <input id="input14" ref="/root/main/rcptexptamt" disabled="false" editable="false" format="#,###" appearance="input" style="left:299px; top:139px; width:100px; height:19px; font-weight:bold; text-align:center; "/>
  271. <caption id="caption18" class="cell_1" style="left:200px; top:139px; width:97px; height:20px; text-align:center; ">미 수 총 액</caption>
  272. <caption id="caption19" class="cell_1" style="left:0px; top:139px; width:97px; height:20px; text-align:center; ">대 불 액</caption>
  273. <line id="line7" class="line_1" style="x1:1px; y1:188px; x2:799px; y2:189px; "/>
  274. <caption id="caption20" class="tit_2" style="left:0px; top:170px; width:265px; height:14px; font-family:돋움; vertical-align:middle; ">주치교수 의견(해당란에 체크하면 됩니다)</caption>
  275. <caption id="caption21" class="cell_1" style="left:401px; top:139px; width:97px; height:20px; text-align:center; ">계 산 일 자</caption>
  276. <input id="input15" ref="/root/main/fromdd" editable="false" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:500px; top:139px; width:121px; height:19px; text-align:center; "/>
  277. <input id="input16" ref="/root/main/todd" editable="false" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:641px; top:139px; width:121px; height:19px; text-align:center; "/>
  278. <caption id="caption22" style="left:625px; top:142px; width:15px; height:14px; ">~</caption>
  279. <output id="opt_midamtmsg" ref="/root/main/midamtmsg" style="left:133px; top:92px; width:305px; height:19px; font-size:10pt; font-weight:bold; color:#ff0000; "/>
  280. <select1 id="radio1" ref="/root/main/drcmt" appearance="full" cellspacing="50" cols="5" overflow="visible" style="left:5px; top:196px; width:790px; height:21px; border-style:none; ">
  281. <choices>
  282. <item>
  283. <label>계속진료</label>
  284. <value>1</value>
  285. </item>
  286. <item>
  287. <label>협력병원 전원</label>
  288. <value>2</value>
  289. </item>
  290. <item>
  291. <label>진료비문제</label>
  292. <value>3</value>
  293. </item>
  294. <item>
  295. <label>의료분쟁 or 민원</label>
  296. <value>4</value>
  297. </item>
  298. <item>
  299. <label>환자 퇴원거부</label>
  300. <value>5</value>
  301. </item>
  302. </choices>
  303. </select1>
  304. <caption id="caption23" class="tit_2" style="left:0px; top:225px; width:265px; height:13px; font-family:돋움; vertical-align:middle; ">계속 진료시 사유</caption>
  305. <textarea id="textarea1" ref="/root/main/cnticmt" style="left:0px; top:246px; width:800px; height:69px; "/>
  306. <caption id="caption24" class="tit_2" style="left:0px; top:325px; width:265px; height:13px; font-family:돋움; vertical-align:middle; ">향후 조치 계획</caption>
  307. <line id="line8" class="line_1" style="x1:0px; y1:242px; x2:798px; y2:243px; "/>
  308. <line id="line9" class="line_1" style="x1:1px; y1:341px; x2:799px; y2:342px; "/>
  309. <textarea id="textarea2" ref="/root/main/futecmt" style="left:0px; top:345px; width:800px; height:70px; "/>
  310. <line id="line10" class="line_3" style="x1:0px; y1:316px; x2:800px; y2:316px; "/>
  311. <line id="line11" class="line_3" style="x1:0px; y1:217px; x2:800px; y2:217px; "/>
  312. </xhtml:body>
  313. </xhtml:html>