SMMCT00103_퇴원지원사유.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <condition>
  11. <fromdd/>
  12. <todd/>
  13. <orddeptcd/>
  14. <medispclid/>
  15. <wardcd/>
  16. <opt_ward>Y</opt_ward>
  17. <opt_orddept>Y</opt_orddept>
  18. <opt_orddr>Y</opt_orddr>
  19. <opt_all>Y</opt_all>
  20. </condition>
  21. <srchinfo>1</srchinfo>
  22. <dschresninfo>
  23. <dschresninfolist/>
  24. </dschresninfo>
  25. </main>
  26. <send>
  27. <reqdata/>
  28. </send>
  29. <init>
  30. <orddept/>
  31. <info/>
  32. <userlist/>
  33. <orddept2/>
  34. </init>
  35. </root>
  36. </instance>
  37. <script type="javascript" ev:event="xforms-ready">
  38. <![CDATA[/*
  39. model.setValue("/root/main/condition/fromdd", getCurrentDate());
  40. model.setValue("/root/main/condition/todd" , getCurrentDate());
  41. model.refresh();*/
  42. fInit_SMMCT00103();
  43. ]]>
  44. </script>
  45. <submission id="TRMMB04101" method="post" mediatype="application/x-www-form-urlencoded"/>
  46. <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded"/>
  47. <submission id="TRMMB04103" method="post" mediatype="application/x-www-form-urlencoded"/>
  48. <submission id="TRMMB04106" method="post" mediatype="application/x-www-form-urlencoded"/>
  49. <submission id="TRMCT00103" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/dschresninfo"/>
  50. </model>
  51. <script type="javascript">
  52. <![CDATA[
  53. /*
  54. * @desc : 초기화
  55. */
  56. function fInit_SMMCT00103(){
  57. //병동
  58. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept2", "W"); //병동코드 콤보
  59. addComboInstance("/root/init/orddept2" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
  60. //진료과
  61. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept" , "D"); //부서코드 콤보
  62. addComboInstance("/root/init/orddept" , "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 Item '전체'추가
  63. //addComboInstance("/root/init/subdeptinfo" , "subdeptcd^subdeptnm", "-^전체", "subdeptlist"); //부서콤보 Item '전체'추가
  64. //전문의
  65. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist" , getUserInfo("dutplcecd"), "0330", "", "M");
  66. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  67. //초기값 셋팅
  68. model.setValue("/root/main/condition/fromdd" , getCurrentDate());
  69. model.setValue("/root/main/condition/todd" , getCurrentDate());
  70. model.setValue("/root/main/condition/orddeptcd" , "-");
  71. model.setValue("/root/main/condition/wardcd" , "-");
  72. model.setValue("/root/main/condition/medispclid" , "-");
  73. model.removeNodeset(grd_resnlst.nodeset );
  74. cap_total.value = "총 0 건";
  75. model.refresh();
  76. }
  77. /**
  78. * @desc : 조회옵션에 따른 control 설정
  79. * @param : flag ( W:병동, D:진료과, M:주치의, NULL: 전체 )
  80. */
  81. function fSetCtrlStat( flag ){
  82. cmb_ward.disabled = true ;
  83. cmb_orddept.disabled = true ;
  84. cmb_medispclid.disabled = true ;
  85. grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = true ;
  86. grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = true ;
  87. grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = true ;
  88. var opt_ward = chk_ward.value ;
  89. var opt_dept = chk_dept.value ;
  90. var opt_dr = chk_dr.value ;
  91. var opt_all = chk_all.value ;
  92. if( isNull(flag) ){
  93. if( opt_all == "Y" ) {
  94. cmb_ward.disabled = false ;
  95. cmb_orddept.disabled = false ;
  96. cmb_medispclid.disabled = false ;
  97. chk_ward.value = "Y";
  98. chk_dept.value = "Y";
  99. chk_dr.value = "Y";
  100. grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = false ;
  101. grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
  102. grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = false ;
  103. } else {
  104. chk_ward.value = "";
  105. chk_dept.value = "";
  106. chk_dr.value = "";
  107. }
  108. } else {
  109. if ( opt_ward == "Y" ) {
  110. cmb_ward.disabled = false ;
  111. grd_resnlst.colHidden(grd_resnlst.colRef("wardnm") ) = false ;
  112. }
  113. if ( opt_dept == "Y" ) {
  114. cmb_orddept.disabled = false ;
  115. grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
  116. }
  117. if ( opt_dr == "Y" ) {
  118. chk_dept.value = "Y";
  119. cmb_orddept.disabled = false ;
  120. grd_resnlst.colHidden(grd_resnlst.colRef("orddeptnm") ) = false ;
  121. cmb_medispclid.disabled = false ;
  122. grd_resnlst.colHidden(grd_resnlst.colRef("orddrnm") ) = false ;
  123. }
  124. }
  125. btn_req.dispatch("DOMActivate");
  126. }
  127. ]]>
  128. </script>
  129. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  130. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  132. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  133. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  134. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  135. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  136. <script type="javascript" src="../../../emr/emrctlweb/js/MCT001.js"/>
  137. </xhtml:head>
  138. <xhtml:body accesskey="f2" guideline="2,776;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  139. <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">퇴원지연 사유</caption>
  140. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:20px; width:1194px; height:65px; "/>
  141. <button id="btn_req" class="btn1_letter2" style="left:1111px; top:44px; width:56px; height:22px; ">
  142. <caption>조회</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. var cnt = 0 ;
  146. cap_total.value = "총 " + cnt + " 건";
  147. model.removeNodeset(grd_resnlst.nodeset);
  148. model.resetInstanceNode("/root/send");
  149. var fromdd = model.getValue("/root/main/condition/fromdd");
  150. var todd = model.getValue("/root/main/condition/todd");
  151. var srchinfo = model.getValue("/root/main/srchinfo");
  152. if ( srchinfo == "" ) {
  153. alert("조건 값이 없습니다. 조건값을 체크해 주세요.");
  154. return ;
  155. }
  156. if ( fromdd == "" || todd == "" ) {
  157. alert("퇴원일이 없습니다. 퇴원일을 넣어 주세요.");
  158. return ;
  159. }
  160. model.copyNode("/root/send/reqdata", "/root/main/condition");
  161. if( model.getValue("/root/send/reqdata/orddeptcd") == "-" ) model.setValue("/root/send/reqdata/orddeptcd", "");
  162. if( model.getValue("/root/send/reqdata/medispclid") == "-" ) model.setValue("/root/send/reqdata/medispclid", "");
  163. if( model.getValue("/root/send/reqdata/wardcd") == "-" ) model.setValue("/root/send/reqdata/wardcd", "");
  164. if( chk_ward.value != "Y" ) model.setValue("/root/send/reqdata/wardcd", "");
  165. if( chk_dept.value != "Y" ) model.setValue("/root/send/reqdata/orddeptcd", "");
  166. if( chk_dr.value != "Y" ) model.setValue("/root/send/reqdata/medispclid", "");
  167. /*
  168. model.setValue("/root/send/srchinfo", srchinfo);
  169. model.setValue("/root/send/fromdd", fromdd);
  170. model.setValue("/root/send/todd", todd);
  171. */
  172. submit("TRMCT00103");
  173. var nodelst = instance1.selectNodes(grd_resnlst.nodeset );
  174. cnt = 0 ;
  175. var tmpCnt = 0 ;
  176. var sCnt = "";
  177. if( nodelst.length > 0 ) {
  178. var sCnt = "";
  179. for( var i = 1 ; i <= nodelst.length ; i++ ) {
  180. sCnt = model.getValue(grd_resnlst.nodeset + "[" + i + "]/total" );
  181. if( !isNull(sCnt ) ) {
  182. tmpCnt = parseInt(sCnt) ;
  183. if( !isNaN(tmpCnt) ) cnt = cnt + tmpCnt ;
  184. }
  185. }
  186. }
  187. cap_total.value = "총 " + cnt + " 건";
  188. var vGrupCol = -1;
  189. //var vStart = 2;
  190. if( model.getValue("/root/main/condition/opt_ward") == "Y" ) {
  191. if( model.getValue("/root/main/condition/opt_orddept")== "Y" || model.getValue("/root/main/condition/opt_orddr")== "Y" ) vGrupCol = 2;
  192. else vGrupCol = -1;
  193. } else if ( model.getValue("/root/main/condition/opt_orddept") == "Y" ) {
  194. if( model.getValue("/root/main/condition/opt_orddr") == "Y" ) vGrupCol = 3;
  195. else vGrupCol = -1;
  196. } else if ( model.getValue("/root/main/condition/opt_orddr") == "Y" ) {
  197. vGrupCol = 3;
  198. }
  199. //grd_resnlst.multiTotals = true ;
  200. /*
  201. grd_resnlst.subtotalPosition = "below";
  202. if( model.getValue("/root/main/condition/opt_ward") == "Y" || model.getValue("/root/main/condition/opt_orddept") == "Y" || model.getValue("/root/main/condition/opt_orddr") == "Y" ) {
  203. for( j= 5 ; j < grd_resnlst.cols ; j++ ){
  204. grd_resnlst.subTotal("sum", 1, j , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  205. }
  206. }
  207. if( vGrupCol > 0 ) {
  208. for( j= 5 ; j < grd_resnlst.cols ; j++ ){
  209. grd_resnlst.subTotal("sum", vGrupCol, j , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  210. }
  211. }
  212. */
  213. grd_resnlst.rebuildStyle();
  214. for( var i = 1 ; i <= grd_resnlst.rows; i++ ) {
  215. if(! isNull( grd_resnlst.valueMatrix(i, grd_resnlst.colref("grup"))) ){
  216. grd_resnlst.rowStyle(i ,"data", "background-color" ) = "#fafad2" ;
  217. grd_resnlst.rowStyle( i , "data", "font-weight" ) = "bold" ;
  218. }
  219. }
  220. /*
  221. grd_resnlst.subTotal("sum", vGrupCol, vStart + 3 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  222. grd_resnlst.subTotal("sum", vGrupCol, vStart + 4 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  223. grd_resnlst.subTotal("sum", vGrupCol, vStart + 5 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  224. grd_resnlst.subTotal("sum", vGrupCol, vStart + 6 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  225. grd_resnlst.subTotal("sum", vGrupCol, vStart + 7 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  226. grd_resnlst.subTotal("sum", vGrupCol, vStart + 8 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  227. grd_resnlst.subTotal("sum", vGrupCol, vStart + 9 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  228. grd_resnlst.subTotal("sum", vGrupCol, vStart + 10 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  229. grd_resnlst.subTotal("sum", vGrupCol, vStart + 11 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  230. grd_resnlst.subTotal("sum", vGrupCol, vStart + 12 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  231. grd_resnlst.subTotal("sum", vGrupCol, vStart + 13 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;");
  232. grd_resnlst.subTotal("sum", vGrupCol, vStart + 14 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  233. grd_resnlst.subTotal("sum", vGrupCol, vStart + 15 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  234. grd_resnlst.subTotal("sum", vGrupCol, vStart + 16, "format:#,###; ", "background-color:#fafad2; font-weight:bold;");
  235. grd_resnlst.subTotal("sum", vGrupCol, vStart + 17, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  236. grd_resnlst.subTotal("sum", vGrupCol, vStart + 18, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  237. grd_resnlst.subTotal("sum", vGrupCol, vStart + 19, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  238. grd_resnlst.subTotal("sum", vGrupCol, vStart + 20, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  239. grd_resnlst.subTotal("sum", vGrupCol, vStart + 21, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  240. grd_resnlst.subTotal("sum", vGrupCol, vStart + 22, "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  241. grd_resnlst.subTotal("sum", vGrupCol, vStart + 23 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  242. grd_resnlst.subTotal("sum", vGrupCol, vStart + 24 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  243. grd_resnlst.subTotal("sum", vGrupCol, vStart + 25 , "format:#,###; ", "background-color:#fafad2; font-weight:bold;" );
  244. */
  245. model.refresh();
  246. ]]>
  247. </script>
  248. </button>
  249. <line id="line5" style="x1:1095px; y1:33px; x2:1095px; y2:80px; border-color:#ffe4bb; border-left-style:solid; "/>
  250. <caption id="caption20" class="tit_2" style="left:5px; top:93px; width:190px; height:13px; ">퇴원지연 사유 조회</caption>
  251. <line id="line1" class="line_1" style="x1:4px; y1:111px; x2:1191px; y2:112px; "/>
  252. <input id="input1" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:208px; top:30px; width:93px; height:19px; "/>
  253. <input id="input2" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:95px; top:30px; width:93px; height:19px; "/>
  254. <caption id="caption8" style="left:193px; top:32px; width:15px; height:15px; ">~</caption>
  255. <caption id="caption9" class="search_name" style="left:15px; top:30px; width:86px; height:17px; ">퇴원일 :</caption>
  256. <datagrid id="grd_resnlst" nodeset="/root/main/dschresninfo/dschresninfolist" autoresize="true" caption="g^병동^과^주치의^퇴원환자수^퇴원지연환자수^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^total|g^병동^과^주치의^퇴원환자수^퇴원지연환자수^2^3^4^5^6^7^8^9^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^total" colwidth="0, 97, 83, 72, 49, 53, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37" mergecellsfixedrows="byrowrec" rowheader="seq" rowsep="|" colsep="^" style="left:3px; top:116px; width:1190px; height:564px; ">
  257. <col ref="grup"/>
  258. <col ref="wardnm"/>
  259. <col ref="orddeptnm"/>
  260. <col ref="orddrnm"/>
  261. <col ref="dschpatcnt"/>
  262. <col ref="delypatcnt"/>
  263. <col ref="col02" style="text-align:center; "/>
  264. <col ref="col03" style="text-align:center; "/>
  265. <col ref="col04" style="text-align:center; "/>
  266. <col ref="col05" style="text-align:center; "/>
  267. <col ref="col06" style="text-align:center; "/>
  268. <col ref="col07" style="text-align:center; "/>
  269. <col ref="col08" style="text-align:center; "/>
  270. <col ref="col09" style="text-align:center; "/>
  271. <col ref="col10" style="text-align:center; "/>
  272. <col ref="col11" style="text-align:center; "/>
  273. <col ref="col12" style="text-align:center; "/>
  274. <col ref="col13" style="text-align:center; "/>
  275. <col ref="col14" style="text-align:center; "/>
  276. <col ref="col15" style="text-align:center; "/>
  277. <col ref="col16" style="text-align:center; "/>
  278. <col ref="col17" style="text-align:center; "/>
  279. <col ref="col18" style="text-align:center; "/>
  280. <col ref="col19" style="text-align:center; "/>
  281. <col ref="col20" style="text-align:center; "/>
  282. <col ref="col21" style="text-align:center; "/>
  283. <col ref="col22" style="text-align:center; "/>
  284. <col ref="col23" style="text-align:center; "/>
  285. <col ref="col24" style="text-align:center; "/>
  286. <col ref="total" style="text-align:center; "/>
  287. </datagrid>
  288. <caption id="caption1" class="search_name" visibility="hidden" style="left:650px; top:85px; width:86px; height:17px; ">조건 :</caption>
  289. <select1 id="radio2" ref="/root/main/srchinfo" visibility="hidden" overflow="visible" appearance="full" cols="3" cellspacing="3" style="left:715px; top:85px; width:150px; height:25px; border-style:none; ">
  290. <choices>
  291. <item>
  292. <label>병동</label>
  293. <value>1</value>
  294. </item>
  295. <item>
  296. <label>과</label>
  297. <value>2</value>
  298. </item>
  299. <item>
  300. <label>주치의</label>
  301. <value>3</value>
  302. </item>
  303. </choices>
  304. </select1>
  305. <table id="table1" cellspacing="-1" style="left:4px; top:702px; width:1093px; height:65px; border-color:#999999; ">
  306. <tr>
  307. <td style="width:20px; height:15px; color:#808080; ">2</td>
  308. <td style="width:160px; height:15px; color:#808080; ">의사_회진후 퇴원결정</td>
  309. <td style="width:20px; height:15px; color:#808080; ">3</td>
  310. <td style="width:160px; height:15px; color:#808080; ">의사_퇴원 sign 입력지연</td>
  311. <td style="width:20px; height:15px; color:#808080; ">4</td>
  312. <td style="width:160px; height:15px; color:#808080; ">의사_추가처방 입력</td>
  313. <td style="width:20px; height:15px; color:#808080; ">5</td>
  314. <td style="width:160px; height:15px; color:#808080; ">의사_서류 입력지연</td>
  315. <td style="width:20px; height:15px; color:#808080; ">6</td>
  316. <td style="width:160px; height:15px; color:#808080; ">의사_처치 지연</td>
  317. <td style="width:20px; height:15px; color:#808080; ">7</td>
  318. <td style="width:160px; height:15px; color:#808080; ">환자_보호자 도착지연</td>
  319. </tr>
  320. <tr>
  321. <td style="width:20px; height:15px; color:#808080; ">8</td>
  322. <td style="width:160px; height:15px; color:#808080; ">환자_퇴원금액 준비부족</td>
  323. <td style="width:20px; height:15px; color:#808080; ">9</td>
  324. <td style="width:160px; height:15px; color:#808080; ">환자_추가서류 요청</td>
  325. <td style="width:20px; height:15px; color:#808080; ">10</td>
  326. <td style="width:160px; height:15px; color:#808080; ">환자_식사 후 퇴원</td>
  327. <td style="width:20px; height:15px; color:#808080; ">11</td>
  328. <td style="width:160px; height:15px; color:#808080; ">환자_환자요구에 의한 추가</td>
  329. <td style="width:20px; height:15px; color:#808080; ">12</td>
  330. <td style="width:160px; height:15px; color:#808080; ">절차_보험심사 지연</td>
  331. <td style="width:20px; height:15px; color:#808080; ">13</td>
  332. <td style="width:160px; height:15px; color:#808080; ">절차_퇴원약 지연</td>
  333. </tr>
  334. <tr>
  335. <td style="width:20px; height:15px; color:#808080; ">14</td>
  336. <td style="width:160px; height:15px; color:#808080; ">절차_간호사 처방정리 지연</td>
  337. <td style="width:20px; height:15px; color:#808080; ">15</td>
  338. <td style="width:160px; height:15px; color:#808080; ">당일 치료, 검사, consult 등</td>
  339. <td style="width:20px; height:15px; color:#808080; ">16</td>
  340. <td style="width:160px; height:15px; color:#808080; ">사망</td>
  341. <td style="width:20px; height:15px; color:#808080; ">17</td>
  342. <td style="width:160px; height:15px; color:#808080; ">전원</td>
  343. <td style="width:20px; height:15px; color:#808080; ">18</td>
  344. <td style="width:160px; height:15px; color:#808080; ">환자퇴원거부</td>
  345. <td style="width:20px; height:15px; color:#808080; ">19</td>
  346. <td style="width:160px; height:15px; color:#808080; ">문제제기</td>
  347. </tr>
  348. <tr>
  349. <td style="width:20px; height:15px; color:#808080; ">20</td>
  350. <td style="width:160px; height:15px; color:#808080; ">기타</td>
  351. <td style="width:20px; height:15px; color:#808080; ">21</td>
  352. <td style="width:160px; height:15px; color:#808080; ">항암치료 후 퇴원</td>
  353. <td style="width:20px; height:15px; color:#808080; ">22</td>
  354. <td style="width:160px; height:15px; color:#808080; ">검사 후 퇴원</td>
  355. <td style="width:20px; height:15px; color:#808080; ">23</td>
  356. <td style="width:160px; height:15px; color:#808080; ">수혈 후 퇴원</td>
  357. <td style="width:20px; height:15px; color:#808080; ">24</td>
  358. <td style="width:160px; height:15px; color:#808080; ">신생아 퇴원 지체사유</td>
  359. <td style="width:20px; height:15px; color:#808080; "/>
  360. <td style="width:160px; height:15px; color:#808080; "/>
  361. </tr>
  362. </table>
  363. <caption id="caption2" style="left:2px; top:683px; width:175px; height:23px; font-weight:bold; color:#808080; ">☞ 별첨</caption>
  364. <select id="chk_dept" ref="/root/main/condition/opt_orddept" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:495px; top:30px; width:75px; height:20px; border-style:none; ">
  365. <choices>
  366. <item>
  367. <label>진 료 과</label>
  368. <value>Y</value>
  369. </item>
  370. </choices>
  371. <script type="javascript" ev:event="xforms-value-changed">
  372. <![CDATA[
  373. fSetCtrlStat( "D");
  374. ]]>
  375. </script>
  376. </select>
  377. <caption id="cap_total" class="search_name" visibility="hidden" style="left:971px; top:30px; width:125px; height:17px; ">총 0 건</caption>
  378. <select id="chk_all" ref="/root/main/condition/opt_all" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:675px; top:30px; width:75px; height:20px; border-style:none; ">
  379. <choices>
  380. <item>
  381. <label>전 체</label>
  382. <value>Y</value>
  383. </item>
  384. </choices>
  385. <script type="javascript" ev:event="xforms-value-changed">
  386. <![CDATA[
  387. fSetCtrlStat( "");
  388. ]]>
  389. </script>
  390. </select>
  391. <caption id="caption3" class="search_name" style="left:691px; top:56px; width:76px; height:17px; ">주 치 의</caption>
  392. <select1 id="cmb_medispclid" ref="/root/main/condition/medispclid" class="combo_search" appearance="minimal" itemwidth="100" itemcount="30" style="left:770px; top:56px; width:105px; height:19px; ">
  393. <choices>
  394. <itemset nodeset="/root/init/userlist/usercombo">
  395. <label ref="usernm"/>
  396. <value ref="userid"/>
  397. </itemset>
  398. </choices>
  399. </select1>
  400. <select id="chk_dr" ref="/root/main/condition/opt_orddr" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:585px; top:30px; width:75px; height:20px; border-style:none; ">
  401. <choices>
  402. <item>
  403. <label>주 치 의</label>
  404. <value>Y</value>
  405. </item>
  406. </choices>
  407. <script type="javascript" ev:event="xforms-value-changed">
  408. <![CDATA[
  409. fSetCtrlStat( "M");
  410. ]]>
  411. </script>
  412. </select>
  413. <caption id="caption4" class="search_name" style="left:310px; top:56px; width:76px; height:17px; ">병 동</caption>
  414. <caption id="caption5" class="search_name" style="left:310px; top:30px; width:91px; height:17px; ">조 회 옵 션</caption>
  415. <select1 id="cmb_ward" ref="/root/main/condition/wardcd" class="combo_search" appearance="minimal" itemwidth="100" itemcount="30" style="left:375px; top:56px; width:105px; height:19px; ">
  416. <choices>
  417. <itemset nodeset="/root/init/orddept2/dept">
  418. <label ref="depthngnm"/>
  419. <value ref="deptcd"/>
  420. </itemset>
  421. </choices>
  422. </select1>
  423. <caption id="caption14" class="search_name" visibility="hidden" style="left:871px; top:88px; width:76px; height:17px; ">세 부 과</caption>
  424. <select1 id="cmb_subdept" ref="/root/main/condition/subdeptcd" class="combo" visibility="hidden" appearance="minimal" itemwidth="100" style="left:955px; top:88px; width:100px; height:19px; ">
  425. <choices>
  426. <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
  427. <label ref="subdeptnm"/>
  428. <value ref="subdeptcd"/>
  429. </itemset>
  430. </choices>
  431. </select1>
  432. <caption id="caption7" class="search_name" style="left:490px; top:56px; width:76px; height:17px; ">진 료 과</caption>
  433. <select id="chk_ward" ref="/root/main/condition/opt_ward" class="checkbox_search" overflow="visible" appearance="full" cols="1" sep="|" cellspacing="30" style="left:425px; top:30px; width:55px; height:20px; border-style:none; ">
  434. <choices>
  435. <item>
  436. <label>병 동</label>
  437. <value>Y</value>
  438. </item>
  439. </choices>
  440. <script type="javascript" ev:event="xforms-value-changed">
  441. <![CDATA[
  442. fSetCtrlStat( "W");
  443. ]]>
  444. </script>
  445. </select>
  446. <select1 id="cmb_orddept" ref="/root/main/condition/orddeptcd" class="combo_search" appearance="minimal" itemwidth="100" editmode="search" style="left:575px; top:56px; width:100px; height:19px; ">
  447. <choices>
  448. <itemset nodeset="/root/init/orddept/dept">
  449. <label ref="depthngnm"/>
  450. <value ref="deptcd"/>
  451. </itemset>
  452. </choices>
  453. <script type="javascript" ev:event="xforms-value-changed">
  454. <![CDATA[
  455. fSetMedDr("", cmb_orddept.value ) ;
  456. ]]>
  457. </script>
  458. </select1>
  459. <button id="button1" class="btn2_letter2" style="left:1150px; top:89px; width:42px; height:19px; ">
  460. <caption>엑셀</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. var title = "퇴원지연사유 (" + model.getValue("/root/main/condition/fromdd" ) + " ~ " + model.getValue("/root/main/condition/todd" ) ;
  464. //fsaveGridToExcel(grd_inpatinfolst, title);
  465. var fileName = window.fileDialog("save", ",", false, "퇴원지연사유", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  466. if (fileName != ""){
  467. grd_resnlst.saveExcel(fileName, "퇴원지연사유", true, true, "", "", false);
  468. var s = fileName.lastIndexOf("\\");
  469. var fileName=fileName.substring(s+1);
  470. var rmsg = messageBox("저장된 Excel을", "Q004");
  471. if( rmsg == 6 ){
  472. window.exec("excel.exe", fileName);
  473. }
  474. }
  475. ]]>
  476. </script>
  477. </button>
  478. </xhtml:body>
  479. </xhtml:html>