SMPAS00190_외국인진료현황.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <?xml version="1.0" encoding="UTF-16"?>
  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. <forgerInfo>
  11. <forgerInfolist/>
  12. </forgerInfo>
  13. </main>
  14. <send>
  15. <fromdd/>
  16. <todd/>
  17. <srchcond/>
  18. </send>
  19. <init>
  20. <orddeptcd>
  21. <orddeptcdlist>
  22. <cd/>
  23. <nm/>
  24. <deptengabbr/>
  25. </orddeptcdlist>
  26. </orddeptcd>
  27. <orddrid>
  28. <orddridlist>
  29. <cd/>
  30. <nm/>
  31. <dp/>
  32. <sp/>
  33. <nmsp/>
  34. </orddridlist>
  35. </orddrid>
  36. <P0008list>
  37. <P0008>
  38. <cdnm/>
  39. <cdid/>
  40. </P0008>
  41. </P0008list>
  42. </init>
  43. <temp/>
  44. </root>
  45. </instance>
  46. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  47. <script type="javascript" ev:event="xforms-ready">
  48. <![CDATA[
  49. zbcfGetCodeList(new Array("P0008"), new Array("/root/init/P0008list"));
  50. pamGetDeptCDDrIDList();
  51. fInitialize();
  52. model.refresh();
  53. ]]>
  54. </script>
  55. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  56. <submission id="TRPAS00191" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/forgerInfo"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  61. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  63. <script type="javascript">
  64. <![CDATA[
  65. function fInitialize(){
  66. model.removeNodeset("/root/main/forgerInfo/forgerInfolist");
  67. model.resetInstanceNode("/root/send");
  68. var srchcond = model.setValue("/root/send/srchcond", 'A');
  69. //날짜 세팅
  70. var curDate = getCurrentDate();
  71. model.setValue("/root/send/fromdd", curDate);
  72. model.setValue("/root/send/todd", curDate);
  73. model.refresh();
  74. }
  75. function fForgerInfolistPrint(){
  76. for (i = 1; i <= getNodesetCount("/root/main/forgerInfo/forgerInfolist"); i++) {
  77. model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ordtype",grd_forgerInfolist.labelmatrix(i, 1));
  78. // model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddeptcd",grd_forgerInfolist.labelmatrix(i, 5));
  79. // model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddrid",grd_forgerInfolist.labelmatrix(i, 6));
  80. model.setValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/insukind",grd_forgerInfolist.labelmatrix(i, 10));
  81. model.makeValue("/root/temp/print[" +i+"]/ordtype", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ordtype"));
  82. model.makeValue("/root/temp/print[" +i+"]/pid", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/pid"));
  83. model.makeValue("/root/temp/print[" +i+"]/hngnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/hngnm"));
  84. model.makeValue("/root/temp/print[" +i+"]/orddd", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddd"));
  85. model.makeValue("/root/temp/print[" +i+"]/orddeptnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddeptnm"));
  86. model.makeValue("/root/temp/print[" +i+"]/orddrnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/orddrnm"));
  87. model.makeValue("/root/temp/print[" +i+"]/termhngnm", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/termhngnm"));
  88. model.makeValue("/root/temp/print[" +i+"]/totbamt", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/totbamt"));
  89. model.makeValue("/root/temp/print[" +i+"]/ownbamt", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/ownbamt"));
  90. model.makeValue("/root/temp/print[" +i+"]/insukind", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/insukind"));
  91. model.makeValue("/root/temp/print[" +i+"]/remfact", model.getValue("/root/main/forgerInfo/forgerInfolist[" + i + "]/remfact"));
  92. model.makeValue("/root/temp/print[" +i+"]/fromdd", model.getValue("/root/send/fromdd"));
  93. model.makeValue("/root/temp/print[" +i+"]/todd", model.getValue("/root/send/todd"));
  94. }
  95. btn_search.dispatch("DOMActivate");
  96. //return;
  97. exeReportPreview("RPPAS00191", "XMLSTR", "","", "false","","","","","false");
  98. }
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">외국인 진료 현황</caption>
  105. </group>
  106. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  107. <group id="group4" style="left:0px; top:14px; width:1194px; height:35px; vertical-align:top; ">
  108. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  109. <button id="btn_search" class="btn1_letter2" style="left:1134px; top:7px; width:56px; height:22px; ">
  110. <caption>조회</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. //입력부, 조회부 초기화 후, 조회
  114. model.removeNodeset("/root/main/forgerInfo/forgerInfolist");
  115. submit("TRPAS00191");
  116. ]]>
  117. </script>
  118. </button>
  119. <caption id="caption10" style="left:385px; top:9px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  120. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:298px; top:9px; width:85px; height:19px; "/>
  121. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:400px; top:9px; width:85px; height:19px; "/>
  122. <caption id="caption3" class="search_name" style="left:209px; top:9px; width:97px; height:17px; ">조회기간 :</caption>
  123. <caption id="caption1" class="search_name" style="left:0px; top:9px; width:97px; height:17px; ">구분 :</caption>
  124. <select1 id="combo1" ref="/root/send/srchcond" appearance="minimal" style="left:64px; top:9px; width:100px; height:19px; ">
  125. <choices>
  126. <item>
  127. <label>전체</label>
  128. <value>A</value>
  129. </item>
  130. <item>
  131. <label>외래</label>
  132. <value>O</value>
  133. </item>
  134. <item>
  135. <label>입원</label>
  136. <value>I</value>
  137. </item>
  138. </choices>
  139. </select1>
  140. <button id="button95" class="btn6_letter4" style="left:981px; top:7px; width:80px; height:22px; ">
  141. <caption>액셀저장</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  145. if (fileName != "")
  146. {
  147. grd_forgerInfolist.saveExcel(fileName, "SheetName", true, true, "", "", "true");
  148. }
  149. ]]>
  150. </script>
  151. </button>
  152. </group>
  153. <col type="checkbox"/>
  154. <caption id="caption4" class="tit_2" style="left:6px; top:59px; width:131px; height:13px; ">외국인진료내역</caption>
  155. <line id="line3" class="line_1" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
  156. <datagrid id="grd_forgerInfolist" nodeset="/root/main/forgerInfo/forgerInfolist" class="datagrid2" caption="진료형태^등록번호^환자명^진료(처방)일자^진료과^주치의^상병^총진료비^본인부담액^환자유형^비고" colsep="^" colwidth="35, 85, 80, 100, 90, 80, 150, 100, 100, 100, 250" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:79px; width:1194px; height:661px; font-weight:bolder; ">
  157. <col ref="ordtype" type="combo">
  158. <choices>
  159. <item>
  160. <label>외래</label>
  161. <value>O</value>
  162. </item>
  163. <item>
  164. <label>입원</label>
  165. <value>I</value>
  166. </item>
  167. </choices>
  168. </col>
  169. <col disabled="true" ref="pid" style="text-align:center; "/>
  170. <col disabled="true" ref="hngnm" style="text-align:center; "/>
  171. <col disabled="true" ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  172. <col disabled="true" ref="orddeptnm"/>
  173. <col disabled="true" ref="orddrnm"/>
  174. <col ref="termhngnm" format="hh:nn" style="text-align:center; "/>
  175. <col ref="totbamt" style="text-align:right; "/>
  176. <col ref="ownbamt" style="text-align:center; "/>
  177. <col ref="insukind" type="combo" style="text-align:center; ">
  178. <choices>
  179. <itemset nodeset="/root/init/P0008list/P0008">
  180. <label ref="cdnm"/>
  181. <value ref="cdid"/>
  182. </itemset>
  183. </choices>
  184. </col>
  185. <col ref="remfact" style="text-align:center; "/>
  186. <script type="javascript" ev:event="onclick">
  187. <![CDATA[
  188. ]]>
  189. </script>
  190. </datagrid>
  191. <button id="btn_print" class="btn6_letter2" style="left:1070px; top:21px; width:56px; height:22px; ">
  192. <caption>출력</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. fForgerInfolistPrint();
  196. // btn_search.dispatch("DOMActivate");
  197. // exeReportPreview("RPPAS00191", "XMLSTR", "","", "false","","","","","false");
  198. ]]>
  199. </script>
  200. </button>
  201. </group>
  202. <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  203. <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  204. <caption>초기화</caption>
  205. <script type="javascript" ev:event="DOMActivate">
  206. <![CDATA[
  207. fInitialize();
  208. ]]>
  209. </script>
  210. </button>
  211. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  212. </group>
  213. </xhtml:body>
  214. </xhtml:html>