SMMRD01500_중증등록통계.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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. <tongmonth>
  11. <tongmonth>
  12. <daily/>
  13. <insu11/>
  14. <insu21/>
  15. <insu22/>
  16. <ioflago/>
  17. <ioflagi/>
  18. <insuedi/>
  19. <insupat/>
  20. <insuban/>
  21. <insudis/>
  22. <remark/>
  23. <insutot/>
  24. </tongmonth>
  25. </tongmonth>
  26. <tongdept>
  27. <tongdept>
  28. <orddeptcd/>
  29. <depthngnm/>
  30. <insui11/>
  31. <insui21/>
  32. <insui22/>
  33. <cnti/>
  34. <insuo11/>
  35. <insuo21/>
  36. <insuo22/>
  37. <cnto/>
  38. <tot11/>
  39. <tot21/>
  40. <tot22/>
  41. <totcnt/>
  42. </tongdept>
  43. </tongdept>
  44. <tongday>
  45. <tongday>
  46. <daily/>
  47. <dayno/>
  48. <insu11/>
  49. <insu21/>
  50. <insu22/>
  51. <ioflago/>
  52. <ioflagi/>
  53. <insuedi/>
  54. <insupat/>
  55. <insuban/>
  56. <insudis/>
  57. <insutot/>
  58. </tongday>
  59. </tongday>
  60. </main>
  61. <send>
  62. <rgstfromdd/>
  63. <rgsttodd/>
  64. </send>
  65. <init>
  66. <flag>month</flag>
  67. </init>
  68. <hidden>
  69. </hidden>
  70. <temp>
  71. </temp>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. var dd = getCurrentDate();
  77. model.setValue("/root/send/rgstfromdd", (dd.toDate().getAddDate(-1, "M").getAddDate(1)).getDateFormat());
  78. model.setValue("/root/send/rgsttodd", dd);
  79. model.toggle("case1");
  80. model.refresh();
  81. ]]>
  82. </script>
  83. <submission id="TRMRD01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tongmonth/tongmonth"/>
  84. <submission id="TRMRD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tongdept/tongdept"/>
  85. <submission id="TRMRD01503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tongday/tongday"/>
  86. </model>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  90. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  91. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  93. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  94. <script type="javascript" src="../../../emr/imgemrweb/js/SSMRC03100.js"/>
  95. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  96. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  97. </xhtml:head>
  98. <xhtml:body guideline="1,1193;2,785;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  99. <button id="button1" class="btn_sw" group="tab" style="left:200px; top:67px; width:200px; height:22px; ">
  100. <caption>진료과별</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. caption2.value= "진료과별 중증등록 통계";
  104. model.toggle("case2");
  105. model.makeValue("/root/init/flag","dept");
  106. ]]>
  107. </script>
  108. </button>
  109. <group id="group1" style="left:0px; top:25px; width:1194px; height:40px; vertical-align:top; ">
  110. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:40px; "/>
  111. <button id="button5" class="btn1_letter2" style="left:1121px; top:11px; width:56px; height:22px; ">
  112. <caption>조회</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. var sRemFlag = model.getValue("/root/init/flag");
  116. if (sRemFlag == "month"){
  117. submit("TRMRD01501");
  118. } else if (sRemFlag == "dept"){
  119. submit("TRMRD01502");
  120. } else if (sRemFlag == "day"){
  121. submit("TRMRD01503");
  122. }
  123. //model.resetInstanceNode("/root/main/serdiaginfo/serdiaginfo"); //선택된 환자 중증등록 정보
  124. //model.resetInstanceNode("/root/main/diagdetlinfo/serdiagdetllist/serdiagdetllist"); //선택된 환자의 최종진단방법
  125. grd_totalmonth.rebuildStyle();
  126. grd_totaldept.rebuildStyle();
  127. grd_totalday.rebuildStyle();
  128. alert("조회가 완료되었습니다.");
  129. ]]>
  130. </script>
  131. </button>
  132. <caption id="caption5" class="search_no_b" style="left:220px; top:12px; width:12px; height:17px; ">~</caption>
  133. <caption id="caption12" class="search_name" style="left:25px; top:10px; width:95px; height:17px; ">조회일자 :</caption>
  134. <input id="ipt_rgstfromdd" ref="/root/send/rgstfromdd" class="input_search" inputtype="date" style="left:115px; top:10px; width:100px; height:19px; "/>
  135. <input id="ipt_rgsttodd" ref="/root/send/rgsttodd" class="input_search" inputtype="date" style="left:235px; top:10px; width:100px; height:19px; "/>
  136. </group>
  137. <button id="button64" class="btn_sw" group="tab" selected="true" style="left:0px; top:67px; width:200px; height:22px; ">
  138. <caption>월별</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. caption2.value = "월별 중증진료 등록 현황";
  142. model.toggle("case1");
  143. model.makeValue("/root/init/flag","month");
  144. ]]>
  145. </script>
  146. </button>
  147. <switch id="switch1" style="left:0px; top:90px; width:1194px; height:688px; border-color:#c7a3cf; border-style:solid; ">
  148. <case id="case1" selected="true">
  149. <datagrid id="grd_totalmonth" nodeset="/root/main/tongmonth/tongmonth" caption="날짜^보험발급^의료급여1종^의료급여2종^미발급^미발급^EDI전송^보험환자&#xA;직접제출^기등록반송^자격상실반송^비고^총건수|날짜^보험발급^의료급여1종^의료급여2종^외래^입원^EDI전송^보험환자&#xA;직접제출^기등록반송^자격상실반송^비고^총건수" colsep="^" colwidth="90, 80, 80, 80, 80, 80, 80, 80, 80, 80, 260, 80" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1191px; height:675px; text-align:center; ">
  150. <col ref="daily" format="yyyy-mm-dd" style="left:0px; top:23px; width:60px; height:23px; text-align:center; "/>
  151. <col ref="insu11"/>
  152. <col ref="insu21"/>
  153. <col ref="insu22"/>
  154. <col ref="ioflago"/>
  155. <col ref="ioflagi"/>
  156. <col ref="insuedi"/>
  157. <col ref="insupat"/>
  158. <col ref="insuban"/>
  159. <col ref="insudis"/>
  160. <col ref="remark" type="input" style="text-align:left; "/>
  161. <col ref="insutot"/>
  162. </datagrid>
  163. </case>
  164. <case id="case2">
  165. <datagrid id="grd_totaldept" nodeset="/root/main/tongdept/tongdept" caption="진료과코드^진료과^입원^입원^입원^입원^외래^외래^외래^외래^합계^합계^합계^합계|진료과코드^진료과^건강보험^보호1종^보호2종^소계^건강보험^보호1종^보호2종^소계^건강보험^보호1종^보호2종^소계" colsep="^" colwidth="46, 130, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1191px; height:675px; text-align:center; ">
  166. <col ref="orddeptcd" visibility="hidden"/>
  167. <col ref="depthngnm" format="yyyy-mm-dd" style="left:0px; top:23px; width:60px; height:23px; text-align:center; "/>
  168. <col ref="insui11"/>
  169. <col ref="insui21"/>
  170. <col ref="insui22"/>
  171. <col ref="cnti"/>
  172. <col ref="insuo11"/>
  173. <col ref="insuo21"/>
  174. <col ref="insuo22"/>
  175. <col ref="cnto"/>
  176. <col ref="tot11"/>
  177. <col ref="tot21"/>
  178. <col ref="tot22"/>
  179. <col ref="totcnt"/>
  180. </datagrid>
  181. </case>
  182. <case id="case3">
  183. <datagrid id="grd_totalday" nodeset="/root/main/tongday/tongday" caption="날짜^요일^보험발급^의료급여1종^의료급여2종^미발급^미발급^EDI전송^보험환자&#xA;직접제출^기등록반송^자격상실반송^총건수|날짜^요일^보험발급^의료급여1종^의료급여2종^외래^입원^EDI전송^보험환자&#xA;직접제출^기등록반송^자격상실반송^총건수" colsep="^" colwidth="95, 95, 95, 95, 95, 95, 95, 95, 100, 95, 95, 95" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1191px; height:675px; text-align:center; ">
  184. <col ref="daily" format="yyyy-mm-dd" style="left:0px; top:23px; width:60px; height:23px; text-align:center; "/>
  185. <col ref="dayno"/>
  186. <col ref="insu11"/>
  187. <col ref="insu21"/>
  188. <col ref="insu22"/>
  189. <col ref="ioflago"/>
  190. <col ref="ioflagi"/>
  191. <col ref="insuedi"/>
  192. <col ref="insupat"/>
  193. <col ref="insuban"/>
  194. <col ref="insudis"/>
  195. <col ref="insutot"/>
  196. </datagrid>
  197. </case>
  198. </switch>
  199. <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:204px; height:14px; ">월별 중증진료 등록 현황</caption>
  200. <button id="btn_savexls" class="btn2_letter4" style="left:1125px; top:68px; width:64px; height:19px; ">
  201. <caption>엑셀저장</caption>
  202. <script type="javascript" ev:event="DOMActivate">
  203. <![CDATA[
  204. var sRemFlag = model.getValue("/root/init/flag");
  205. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  206. if (fileName != "")
  207. {
  208. if (sRemFlag == "month"){
  209. grd_totalmonth.saveExcel(fileName, "SheetName", true, false, "", "", true);
  210. } else if (sRemFlag == "dept"){
  211. grd_totaldept.saveExcel(fileName, "SheetName", true, false, "", "", true);
  212. } else if (sRemFlag == "day"){
  213. grd_totalday.saveExcel(fileName, "SheetName", true, false, "", "", true);
  214. }
  215. alert("저장이 완료되었습니다.");
  216. }
  217. ]]>
  218. </script>
  219. </button>
  220. <button id="button8" class="btn2_letter2" style="left:1076px; top:68px; width:42px; height:19px; ">
  221. <caption>인쇄</caption>
  222. <script type="javascript" ev:event="DOMActivate">
  223. <![CDATA[
  224. var sRemFlag = model.getValue("/root/init/flag");
  225. if (sRemFlag == "month"){
  226. exeReportPreview("RMMRD01501", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "");
  227. } else if (sRemFlag == "dept"){
  228. exeReportPreview("RMMRD01502", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "");
  229. } else if (sRemFlag == "day"){
  230. exeReportPreview("RMMRD01503", "XMLSTR", "", "", "true", "", "", "", "", "true","", "", "", "", "");
  231. }
  232. alert("출력이 완료되었습니다.");
  233. ]]>
  234. </script>
  235. </button>
  236. <button id="button2" class="btn_sw" group="tab" style="left:400px; top:67px; width:200px; height:22px; ">
  237. <caption>일자별</caption>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. caption2.value= "일자별 중증등록 현황";
  241. model.toggle("case3");
  242. model.makeValue("/root/init/flag","day");
  243. ]]>
  244. </script>
  245. </button>
  246. </xhtml:body>
  247. </xhtml:html>