SMPMS03511_상병별진료비조회.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version="1.0" encoding="UTF-16"?>
  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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <insukind/>
  13. <flag/>
  14. <diagfromcd/>
  15. <diagfromnm/>
  16. <diagkind>1</diagkind>
  17. </send>
  18. <main>
  19. <diagamt>
  20. <diagamtlist/>
  21. </diagamt>
  22. <diagmaxamt>
  23. <diagmaxamtlist/>
  24. </diagmaxamt>
  25. </main>
  26. <savemaindetl>
  27. <srchflag/>
  28. <spclcd/>
  29. <seq/>
  30. <seqdetl/>
  31. <flagcd>1</flagcd>
  32. <diagfromcd/>
  33. <diagtocd/>
  34. <eidfromcd/>
  35. <editocd/>
  36. <diagfromnm/>
  37. <diagtonm/>
  38. <eidfromnm/>
  39. <editonm/>
  40. </savemaindetl>
  41. <hidden>
  42. <tmp/>
  43. <sppiz00400>
  44. <cond>
  45. <basedd/>
  46. <diagcd/>
  47. <diagnm/>
  48. <selectedrdodiagkind/>
  49. <flag/>
  50. </cond>
  51. <rslt>
  52. <diagcd/>
  53. <diaghngnm/>
  54. <diagengnm/>
  55. <termcd/>
  56. </rslt>
  57. </sppiz00400>
  58. </hidden>
  59. <init>
  60. <!--20090828 zzui 하드코딩된것들 공통코드로 정리-->
  61. <!-- 보험유형 -->
  62. <P0008list>
  63. <P0008>
  64. <cdnm>전체</cdnm>
  65. <cdid/>
  66. </P0008>
  67. </P0008list>
  68. </init>
  69. </root>
  70. </instance>
  71. <script type="javascript" ev:event="xforms-ready">
  72. <![CDATA[
  73. zbcfGetCodeList(new Array("P0008"), new Array("/root/init/P0008list"));
  74. var cur_Date = getCurrentDate();
  75. model.setValue("/root/send/fromdd",cur_Date);
  76. model.setValue("/root/send/todd",cur_Date);
  77. btn_diagamt.dispatch("onclick");
  78. model.refresh();
  79. ]]>
  80. </script>
  81. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  82. <submission id="TRPMS03511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  83. </model>
  84. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  91. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  92. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  93. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  94. </xhtml:head>
  95. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  96. <group id="group6" style="left:0px; top:25px; width:1195px; height:37px; ">
  97. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  98. <caption id="caption3" class="search_name" style="left:10px; top:9px; width:100px; height:17px; ">집계일자 :</caption>
  99. <button id="button1" class="btn1_letter2" style="left:1118px; top:7px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. model.setValue("/root/send/diagfromcd", model.getValue("/root/savemaindetl/diagfromcd")) ;
  104. model.setValue("/root/send/diagfromnm", model.getValue("/root/savemaindetl/diagfromnm"));
  105. submit("TRPMS03511");
  106. ]]>
  107. </script>
  108. </button>
  109. <input id="input1" ref="/root/send/fromdd" class="input_default" navindex="7" inputtype="date" style="left:105px; top:10px; width:90px; height:19px; ">
  110. <script type="javascript" ev:event="onkeydown">
  111. <![CDATA[
  112. if( event.keyCode == 13 ) {
  113. var pCurTargetObj = event.ptarget.parent;
  114. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  115. event.keyCode = 9;
  116. pCurTargetObj.dispatch("onkeydown");
  117. }
  118. else {
  119. event.keyCode = 9;
  120. }
  121. }
  122. event.stopPropagation();
  123. ]]>
  124. </script>
  125. </input>
  126. <input id="input2" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:220px; top:10px; width:90px; height:19px; ">
  127. <script type="javascript" ev:event="onkeydown">
  128. <![CDATA[
  129. if( event.keyCode == 13 ) {
  130. var pCurTargetObj = event.ptarget.parent;
  131. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  132. event.keyCode = 9;
  133. pCurTargetObj.dispatch("onkeydown");
  134. }
  135. else {
  136. event.keyCode = 9;
  137. }
  138. }
  139. event.stopPropagation();
  140. ]]>
  141. </script>
  142. </input>
  143. <button id="button2" class="btn6_letter2" style="left:1054px; top:7px; width:56px; height:22px; ">
  144. <caption>출력</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. exeReportPreview("RPPMS14017", "XMLSTR", "","", "false","","","","","false");
  148. ]]>
  149. </script>
  150. </button>
  151. <caption id="caption4" style="left:200px; top:10px; width:20px; height:20px; ">~</caption>
  152. </group>
  153. <group id="group3" style="left:0px; top:0px; width:1185px; height:13px; ">
  154. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">상병별 진료비 조회</caption>
  155. </group>
  156. <group id="group5" style="left:0px; top:25px; width:1195px; height:37px; ">
  157. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  158. <caption id="caption10" class="search_name" style="left:524px; top:9px; width:100px; height:17px; ">퇴원일자 :</caption>
  159. <button id="button5" class="btn1_letter2" style="left:1118px; top:7px; width:56px; height:22px; ">
  160. <caption>조회</caption>
  161. <script type="javascript" ev:event="DOMActivate">
  162. <![CDATA[
  163. model.setValue("/root/send/diagfromcd", model.getValue("/root/savemaindetl/diagfromcd")) ;
  164. model.setValue("/root/send/diagfromnm", model.getValue("/root/savemaindetl/diagfromnm"));
  165. submit("TRPMS03511");
  166. ]]>
  167. </script>
  168. </button>
  169. <input id="input6" ref="/root/send/fromdd" class="input_default" navindex="7" inputtype="date" style="left:615px; top:9px; width:90px; height:19px; ">
  170. <script type="javascript" ev:event="onkeydown">
  171. <![CDATA[
  172. if( event.keyCode == 13 ) {
  173. var pCurTargetObj = event.ptarget.parent;
  174. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  175. event.keyCode = 9;
  176. pCurTargetObj.dispatch("onkeydown");
  177. }
  178. else {
  179. event.keyCode = 9;
  180. }
  181. }
  182. event.stopPropagation();
  183. ]]>
  184. </script>
  185. </input>
  186. <input id="input8" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:727px; top:9px; width:90px; height:19px; ">
  187. <script type="javascript" ev:event="onkeydown">
  188. <![CDATA[
  189. if( event.keyCode == 13 ) {
  190. var pCurTargetObj = event.ptarget.parent;
  191. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  192. event.keyCode = 9;
  193. pCurTargetObj.dispatch("onkeydown");
  194. }
  195. else {
  196. event.keyCode = 9;
  197. }
  198. }
  199. event.stopPropagation();
  200. ]]>
  201. </script>
  202. </input>
  203. <button id="btn_print" class="btn6_letter2" style="left:1054px; top:7px; width:56px; height:22px; ">
  204. <caption>출력</caption>
  205. <script type="javascript" ev:event="DOMActivate">
  206. <![CDATA[
  207. exeReportPreview("RPPMS14016", "XMLSTR", "","", "false","","","","","false");
  208. ]]>
  209. </script>
  210. </button>
  211. <caption id="caption11" style="left:711px; top:9px; width:15px; height:20px; ">~</caption>
  212. <caption id="caption1" class="search_name" style="left:10px; top:10px; width:100px; height:17px; ">상병코드 :</caption>
  213. <input id="ipt_diagcdfrom" ref="/root/savemaindetl/diagfromcd" class="input_essential" disabled="false" navindex="8" imemode="disabled" maxlength="16" _chartype="upper" style="left:100px; top:9px; width:100px; height:19px; ">
  214. <script type="javascript" ev:event="onkeypress">
  215. <![CDATA[
  216. if (event.keyCode==13) {
  217. inputEnterKey("btn_diagcdfrom", "DOMFocusIn");
  218. // 1. 시작상병 엔터
  219. model.makeValue("/root/send/data/srch",model.getValue("/root/savemaindetl/diagfromcd"));
  220. model.makeValue("/root/send/data/diagkind",model.getValue("/root/savemaindetl/flagcd"));
  221. submit("TRPIB00803");
  222. var hngnm = model.getValue("/root/hidden/listrsltnm/rsltnm/hngnm");
  223. // 상병코드로 상병명 조회가 된 경우
  224. if(hngnm != ""){
  225. model.setValue("/root/savemaindetl/diagfromnm", hngnm);
  226. }
  227. model.refresh();
  228. }
  229. ]]>
  230. </script>
  231. </input>
  232. <input id="opt_diagnmfrom" ref="/root/savemaindetl/diagfromnm" class="input_search" appearance="output" style="left:224px; top:9px; width:163px; height:19px; "/>
  233. <button id="btn_diagcdfrom" class="icon_search" navindex="9" style="left:204px; top:10px; width:16px; height:16px; ">
  234. <caption/>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. var diagkind = model.getValue("/root/send/diagkind");
  238. model.setvalue("/root/hidden/sppiz00400/rslt/diagcd", "");
  239. model.setvalue("/root/hidden/sppiz00400/rslt/diaghngnm", "");
  240. model.setValue("/root/hidden/sppiz00400/cond/basedd", getCurrentDate());
  241. model.setValue("/root/hidden/sppiz00400/cond/diagcd", model.getValue("/root/savemaindetl/diagfromcd"));
  242. model.setValue("/root/hidden/sppiz00400/cond/selectedrdodiagkind", diagkind);
  243. model.setValue("/root/hidden/sppiz00400/cond/flag", "P");
  244. modal("../../../pam/insucomweb/xrw/SPPIZ00400", "", "200", "200" ,"SPPIZ00400", "/root/hidden/sppiz00400/cond", "/root/init", "", "");
  245. if (diagkind == "1") {
  246. model.setvalue("/root/savemaindetl/diagfromcd", model.getvalue("/root/hidden/sppiz00400/rslt/diagcd"));
  247. model.setvalue("/root/savemaindetl/diagfromnm", model.getvalue("/root/hidden/sppiz00400/rslt/diaghngnm"));
  248. } else {
  249. model.setvalue("/root/savemaindetl/diagfromcd", model.getvalue("/root/hidden/sppiz00400/rslt/termcd"));
  250. model.setvalue("/root/savemaindetl/diagfromnm", model.getvalue("/root/hidden/sppiz00400/rslt/termcd"));
  251. }
  252. model.refresh();
  253. ]]>
  254. </script>
  255. </button>
  256. <caption id="caption2" class="search_name" style="left:847px; top:10px; width:100px; height:17px; ">환자유형 :</caption>
  257. <select1 id="cmb_srchinsukind" ref="/root/send/insukind" appearance="minimal" style="left:936px; top:9px; width:106px; height:19px; ">
  258. <choices>
  259. <itemset nodeset="/root/init/P0008list/P0008">
  260. <label ref="cdnm"/>
  261. <value ref="cdid"/>
  262. </itemset>
  263. </choices>
  264. </select1>
  265. <select1 id="rdo_diagkind" ref="/root/send/diagkind" overflow="visible" appearance="full" cellspacing="5" cols="2" style="left:395px; top:10px; width:100px; height:20px; border-style:none; ">
  266. <choices>
  267. <item>
  268. <label>ICD10</label>
  269. <value>1</value>
  270. </item>
  271. <item>
  272. <label>확장</label>
  273. <value>2</value>
  274. </item>
  275. </choices>
  276. </select1>
  277. </group>
  278. <switch id="switch1" style="left:0px; top:91px; width:1195px; height:654px; ">
  279. <case id="case1" selected="true">
  280. <line id="line8" class="line_1" style="x1:5px; y1:5px; x2:1187px; y2:5px; "/>
  281. <datagrid id="datagrid3" nodeset="/root/main/diagamt/diagamtlist" caption="상병코드^상병명^ICD10^등록번호^성명^일수^유형^총금액^본인금액^특진금액^병실차액" colsep="^" colwidth="100, 270, 90, 90, 80, 50, 100, 90, 90, 90, 90" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1182px; height:635px; ">
  282. <col ref="diagcd" style="text-align:center; "/>
  283. <col ref="diaghngnm" style="text-align:left; "/>
  284. <col ref="icd10cd" style="text-align:center; "/>
  285. <col ref="pid" style="text-align:center; "/>
  286. <col ref="pnm" style="text-align:center; "/>
  287. <col ref="inday" style="text-align:center; "/>
  288. <col ref="insukind" style="text-align:center; "/>
  289. <col ref="totamt" format="#,###" style="text-align:right; "/>
  290. <col ref="ownbamt" format="#,###" style="text-align:right; "/>
  291. <col ref="specamt" format="#,###" style="text-align:right; "/>
  292. <col ref="roomamt" format="#,###" style="text-align:right; "/>
  293. </datagrid>
  294. </case>
  295. <case id="case2">
  296. <line id="line1" class="line_1" style="x1:5px; y1:5px; x2:1187px; y2:5px; "/>
  297. <datagrid id="datagrid1" nodeset="/root/main/diagmaxamt/diagmaxamtlist" caption="상병코드^ICD10^상병명^본인부담 총액" colsep="^" colwidth="120, 100, 290, 120" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1182px; height:635px; ">
  298. <col ref="diagcd" style="text-align:center; "/>
  299. <col ref="icd10cd" style="text-align:center; "/>
  300. <col ref="diaghngnm"/>
  301. <col ref="totamt" format="#,###" style="text-align:right; "/>
  302. </datagrid>
  303. </case>
  304. </switch>
  305. <button id="btn_diagamtmax" class="btn_sw" group="tab" selected="true" style="left:121px; top:70px; width:120px; height:22px; ">
  306. <caption>최고진료비(집계)</caption>
  307. <toggle case="case2" ev:event="xforms-activate"/>
  308. <script type="javascript" ev:event="onclick">
  309. <![CDATA[
  310. group6.visible = true;
  311. group5.visible = false;
  312. model.setValue("/root/send/flag","diagmaxamt");
  313. ]]>
  314. </script>
  315. </button>
  316. <button id="btn_diagamt" class="btn_sw" group="tab" selected="true" style="left:0px; top:70px; width:120px; height:22px; ">
  317. <caption>상병별진료비조회</caption>
  318. <toggle case="case1" ev:event="xforms-activate"/>
  319. <script type="javascript" ev:event="onclick">
  320. <![CDATA[
  321. group5.visible = true;
  322. group6.visible = false;
  323. model.setValue("/root/send/flag","diagamt");
  324. ]]>
  325. </script>
  326. </button>
  327. </xhtml:body>
  328. </xhtml:html>