SMSTP01300_인원연보.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <enddd/>
  11. <dataflag>1,2,3,4,5,6,7,8,9,10,11,12</dataflag>
  12. <orddeptcd/>
  13. <orddrid/>
  14. <dataflag2>1</dataflag2>
  15. </send>
  16. <main>
  17. <month>
  18. <monthlist>
  19. <orddeptnm/>
  20. <orddrnm/>
  21. <lrgitem/>
  22. <mdlitem/>
  23. <pcnt_jan/>
  24. <pcnt_feb/>
  25. <pcnt_mar/>
  26. <pcnt_apr/>
  27. <pcnt_may/>
  28. <pcnt_jun/>
  29. <pcnt_jul/>
  30. <pcnt_aug/>
  31. <pcnt_sep/>
  32. <pcnt_oct/>
  33. <pcnt_nov/>
  34. <pcnt_dec/>
  35. <total/>
  36. </monthlist>
  37. </month>
  38. <insu_month>
  39. <insu_monthlist>
  40. <lrgnm/>
  41. <insukindnm/>
  42. <total/>
  43. <pcnt_jan/>
  44. <pcnt_feb/>
  45. <pcnt_mar/>
  46. <pcnt_apr/>
  47. <pcnt_may/>
  48. <pcnt_jun/>
  49. <pcnt_jul/>
  50. <pcnt_aug/>
  51. <pcnt_sep/>
  52. <pcnt_oct/>
  53. <pcnt_nov/>
  54. <pcnt_dec/>
  55. </insu_monthlist>
  56. </insu_month>
  57. </main>
  58. <init>
  59. <grdform>
  60. <grdtitle/>
  61. </grdform>
  62. <orddeptcd>
  63. <cd/>
  64. <nm/>
  65. </orddeptcd>
  66. <orddrid>
  67. <cd/>
  68. <nm/>
  69. </orddrid>
  70. </init>
  71. </root>
  72. </instance>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. model.setValue("/root/send/enddd",getCurrentDate());
  76. fComCDRef();
  77. addComboItem("cmb_orddept","전체","","above");
  78. addComboItem("cmb_orddr","전체","","above");
  79. model.refresh();
  80. ]]>
  81. </script>
  82. <submission id="TRSTP01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/month"/>
  83. <submission id="TRSTP01302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/insu_month"/>
  84. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  85. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  93. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  94. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  95. <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
  96. <script type="javascript">
  97. <![CDATA[
  98. ]]>
  99. </script>
  100. </xhtml:head>
  101. <xhtml:body guideline="1,225;">
  102. <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
  103. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">인원연보</caption>
  104. </group>
  105. <switch id="switch1" style="left:0px; top:41px; width:1203px; height:713px; border-width:0px; border-style:none; ">
  106. <case id="case1" selected="true">
  107. <datagrid id="grd_monthlist" nodeset="/root/main/month/monthlist" class="datagrid2" caption="진료과^진료의사^대분류^중분류^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월^합계" colsep="^" colwidth="110, 90, 100, 100, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:106px; width:1201px; height:605px; ">
  108. <col ref="orddeptnm" style="text-align:center; "/>
  109. <col ref="orddrnm" style="text-align:center; "/>
  110. <col ref="lrgitem"/>
  111. <col ref="mdlitem"/>
  112. <col ref="pcnt_jan" format="#,###.##" style="text-align:right; "/>
  113. <col ref="pcnt_feb" format="#,###.##" style="text-align:right; "/>
  114. <col ref="pcnt_mar" format="#,###.##" style="text-align:right; "/>
  115. <col ref="pcnt_apr" format="#,###.##" style="text-align:right; "/>
  116. <col ref="pcnt_may" format="#,###.##" style="text-align:right; "/>
  117. <col ref="pcnt_jun" format="#,###.##" style="text-align:right; "/>
  118. <col ref="pcnt_jul" format="#,###.##" style="text-align:right; "/>
  119. <col ref="pcnt_aug" format="#,###.##" style="text-align:right; "/>
  120. <col ref="pcnt_sep" format="#,###.##" style="text-align:right; "/>
  121. <col ref="pcnt_oct" format="#,###.##" style="text-align:right; "/>
  122. <col ref="pcnt_nov" format="#,###.##" style="text-align:right; "/>
  123. <col ref="pcnt_dec" format="#,###.##" style="text-align:right; "/>
  124. <col ref="total" format="#,###.##" style="text-align:right; "/>
  125. </datagrid>
  126. <group id="group4" style="left:0px; top:0px; width:1201px; height:82px; ">
  127. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1201px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
  128. <button id="btn_search" class="btn1_letter2" style="left:1053px; top:10px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
  129. <caption>조회</caption>
  130. <script type="javascript" ev:event="DOMActivate">
  131. <![CDATA[
  132. if (model.getValue("/root/send/dataflag") == "") {
  133. messageBox("조회할 항목이 선택되지 않았습니다. 조회구분을 확인하세요.", "E999", "");
  134. return;
  135. }
  136. if (submit("TRSTP01301")) {
  137. for (i=0; i < grd_monthlist.cols; i++) {
  138. if (i == 0 || i == 1) {
  139. grd_monthlist.mergeCol(i) = true;
  140. } else {
  141. grd_monthlist.mergeCol(i) = false;
  142. }
  143. }
  144. grd_monthlist.mergeCells = "bycolrec";
  145. model.refresh();
  146. }
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="btn_excel" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1114px; top:10px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  151. <caption>EXCEL</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var xlsTitle = "";
  155. xlsTitle = "인원통계 연보(진료과별)_" + cmb_orddept.label + "("+ipt_enddd.value.substr(0,4) + "년"+")";
  156. var fileName = window.fileDialog("save", ",", false, xlsTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  157. grd_monthlist.saveExcel(fileName, xlsTitle, false, false, "", "", false);
  158. ]]>
  159. </script>
  160. </button>
  161. <line id="line2" class="line_4" style="top:5px; x1:1046px; y1:9px; x2:1046px; y2:70px; border-color:#ffe4bb; border-left-style:solid; "/>
  162. <caption id="caption1" class="search_name" style="left:15px; top:8; width:98px; height:17px; ">조회기간</caption>
  163. <input id="ipt_enddd" ref="/root/send/enddd" class="input_search" inputtype="date" format="yyyy" style="left:100px; top:8; width:90px; height:19px; text-align:center; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. messageBox("조회할 항목이 선택되지 않았습니다. 조회구분을 확인하세요.", "E999", "");
  167. ]]>
  168. </script>
  169. </input>
  170. <select id="checkbox1" ref="/root/send/dataflag" overflow="visible" appearance="full" cellspacing="5" cols="6" sep="," vcellspacing="7" style="left:225px; top:30px; width:762px; height:50px; border-style:none; ">
  171. <choices>
  172. <item>
  173. <label>외래환자,초진</label>
  174. <value>1</value>
  175. </item>
  176. <item>
  177. <label>외래환자,재진</label>
  178. <value>2</value>
  179. </item>
  180. <item>
  181. <label>외래환자,신환수</label>
  182. <value>3</value>
  183. </item>
  184. <item>
  185. <label>외래환자,연인원</label>
  186. <value>4</value>
  187. </item>
  188. <item>
  189. <label>입원환자,실인원</label>
  190. <value>5</value>
  191. </item>
  192. <item>
  193. <label>입원환자,연인원</label>
  194. <value>6</value>
  195. </item>
  196. <item>
  197. <label>병상상 이용율</label>
  198. <value>7</value>
  199. </item>
  200. <item>
  201. <label>퇴원환자,실인원</label>
  202. <value>8</value>
  203. </item>
  204. <item>
  205. <label>퇴원환자,연인원</label>
  206. <value>9</value>
  207. </item>
  208. <item>
  209. <label>퇴원환자,평균재원일</label>
  210. <value>10</value>
  211. </item>
  212. <item>
  213. <label>사망,입원24hr전</label>
  214. <value>11</value>
  215. </item>
  216. <item>
  217. <label>사망,입원24hr후</label>
  218. <value>12</value>
  219. </item>
  220. </choices>
  221. </select>
  222. <caption id="caption3" class="search_name" style="left:226px; top:8; width:86px; height:17px; ">진료과</caption>
  223. <select1 id="cmb_orddept" ref="/root/send/orddeptcd" class="combo_search" appearance="minimal" style="left:300px; top:8; width:120px; height:19px; ">
  224. <choices>
  225. <itemset nodeset="/root/init/orddeptcd">
  226. <label ref="nm"/>
  227. <value ref="cd"/>
  228. </itemset>
  229. </choices>
  230. <script type="javascript" ev:event="xforms-value-changed">
  231. <![CDATA[
  232. cmb_orddr.choices.itemset.attribute("nodeset") = "/root//init/orddrid[dp = '" + cmb_orddept.value + "' or cd = '']";
  233. model.setValue("/root/send/orddrid", "");
  234. model.refresh();
  235. ]]>
  236. </script>
  237. </select1>
  238. <caption id="caption4" class="search_name" style="left:480px; top:8; width:86px; height:17px; ">진료의</caption>
  239. <select1 id="cmb_orddr" ref="/root/send/orddrid" class="combo_search" appearance="minimal" style="left:555px; top:8; width:100px; height:19px; ">
  240. <choices>
  241. <itemset nodeset="/root/init/orddrid">
  242. <label ref="nm"/>
  243. <value ref="cd"/>
  244. </itemset>
  245. </choices>
  246. <script type="javascript" ev:event="xforms-value-changed">
  247. <![CDATA[
  248. ]]>
  249. </script>
  250. </select1>
  251. </group>
  252. <caption id="caption46" class="tit_2" style="left:0px; top:86px; width:139px; height:14px; ">진료과별 인원연보</caption>
  253. <line id="line3" class="line_1" style="x1:0px; y1:101px; x2:1201px; y2:101px; "/>
  254. </case>
  255. <case id="case2">
  256. <group id="group1" style="left:0px; top:0px; width:1201px; height:45px; ">
  257. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1201px; height:45px; background-color:#fffbf2; border-color:#ffd799; "/>
  258. <button id="button1" class="btn1_letter2" style="left:1053px; top:11px; width:56px; height:22px; color:transparent; background-image:../../../com/commonweb/images/btn1_letter2.gif; border-color:transparent; ">
  259. <caption>조회</caption>
  260. <script type="javascript" ev:event="DOMActivate">
  261. <![CDATA[
  262. if (submit("TRSTP01302")) {
  263. for (i=0; i < grd_insumonth.cols; i++) {
  264. if (i == 0 || i == 1) {
  265. grd_insumonth.mergeCol(i) = true;
  266. } else {
  267. grd_insumonth.mergeCol(i) = false;
  268. }
  269. }
  270. grd_insumonth.mergeCells = "bycolrec";
  271. model.refresh();
  272. }
  273. ]]>
  274. </script>
  275. </button>
  276. <button id="button2" class="btn1_letter4" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter4.gif" style="left:1114px; top:11px; width:80px; height:22px; background-image:../../../com/commonweb/images/btn1_letter4.gif; ">
  277. <caption>EXCEL</caption>
  278. <script type="javascript" ev:event="DOMActivate">
  279. <![CDATA[
  280. var xlsTitle = "";
  281. xlsTitle = "인원통계 연보(급여종류별)_" + rdo_dataflag.label + "("+ipt_enddd2.value.substr(0,4) + "년"+")";
  282. var fileName = window.fileDialog("save", ",", false, xlsTitle, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  283. grd_insumonth.saveExcel(fileName, xlsTitle, false, false, "", "", false);
  284. ]]>
  285. </script>
  286. </button>
  287. <line id="line1" class="line_4" style="top:5px; x1:1046px; y1:7px; x2:1046px; y2:38px; border-color:#ffe4bb; border-left-style:solid; "/>
  288. <caption id="caption2" class="search_name" style="left:15px; top:13px; width:98px; height:17px; ">조회기간</caption>
  289. <input id="ipt_enddd2" ref="/root/send/enddd" class="input_search" inputtype="date" format="yyyy" style="left:100px; top:13px; width:90px; height:19px; text-align:center; ">
  290. <script type="javascript" ev:event="xforms-value-changed">
  291. <![CDATA[
  292. messageBox("조회할 항목이 선택되지 않았습니다. 조회구분을 확인하세요.", "E999", "");
  293. ]]>
  294. </script>
  295. </input>
  296. <select1 id="rdo_dataflag" ref="/root/send/dataflag2" overflow="visible" appearance="full" cellspacing="5" cols="7" vcellspacing="2" style="left:330px; top:13px; width:690px; height:18px; border-style:none; ">
  297. <choices>
  298. <item>
  299. <label>입원실인원</label>
  300. <value>1</value>
  301. </item>
  302. <item>
  303. <label>입원연인원(재원환자)</label>
  304. <value>2</value>
  305. </item>
  306. <item>
  307. <label>퇴원실인원</label>
  308. <value>3</value>
  309. </item>
  310. <item>
  311. <label>퇴원연인원</label>
  312. <value>4</value>
  313. </item>
  314. <item>
  315. <label>외래신환</label>
  316. <value>5</value>
  317. </item>
  318. <item>
  319. <label>외래구환(재진)</label>
  320. <value>6</value>
  321. </item>
  322. <item>
  323. <label>외래연인원</label>
  324. <value>7</value>
  325. </item>
  326. </choices>
  327. </select1>
  328. <caption id="caption6" class="search_name" style="left:245px; top:13px; width:98px; height:17px; ">조회구분</caption>
  329. </group>
  330. <caption id="caption7" class="tit_2" style="left:0px; top:54px; width:139px; height:13px; ">급여종류별 인원연보</caption>
  331. <line id="line4" class="line_1" style="x1:0px; y1:69px; x2:1201px; y2:69px; "/>
  332. <datagrid id="grd_insumonth" nodeset="/root/main/insu_month/insu_monthlist" class="datagrid2" caption="보험유형^합계^1월^2월^3월^4월^5월^6월^7월^8월^9월^10월^11월^12월" colsep="^" colwidth="120, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70" frozencols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:74px; width:1201px; height:637px; ">
  333. <col ref="insukindnm" style="text-align:left; "/>
  334. <col ref="total" format="#,###" style="text-align:right; "/>
  335. <col ref="pcnt_jan" format="#,###" style="text-align:right; "/>
  336. <col ref="pcnt_feb" format="#,###" style="text-align:right; "/>
  337. <col ref="pcnt_mar" format="#,###" style="text-align:right; "/>
  338. <col ref="pcnt_apr" format="#,###" style="text-align:right; "/>
  339. <col ref="pcnt_may" format="#,###" style="text-align:right; "/>
  340. <col ref="pcnt_jun" format="#,###" style="text-align:right; "/>
  341. <col ref="pcnt_jul" format="#,###" style="text-align:right; "/>
  342. <col ref="pcnt_aug" format="#,###" style="text-align:right; "/>
  343. <col ref="pcnt_sep" format="#,###" style="text-align:right; "/>
  344. <col ref="pcnt_oct" format="#,###" style="text-align:right; "/>
  345. <col ref="pcnt_nov" format="#,###" style="text-align:right; "/>
  346. <col ref="pcnt_dec" format="#,###" style="text-align:right; "/>
  347. </datagrid>
  348. </case>
  349. </switch>
  350. <button id="btn_month" class="btn_sw" group="tab" selected="false" style="left:81px; top:18px; width:80px; height:22px; ">
  351. <caption>급여종류별</caption>
  352. <toggle case="case2" ev:event="onclick"/>
  353. <script type="javascript" ev:event="DOMActivate">
  354. <![CDATA[
  355. ]]>
  356. </script>
  357. </button>
  358. <button id="btn_day" class="btn_sw" group="tab" selected="true" style="left:0px; top:18px; width:80px; height:22px; ">
  359. <caption>진료과별</caption>
  360. <toggle case="case1" ev:event="onclick"/>
  361. <script type="javascript" ev:event="DOMActivate">
  362. <![CDATA[
  363. ]]>
  364. </script>
  365. </button>
  366. </xhtml:body>
  367. </xhtml:html>