SMPMO00995_감사자료조회(비급여환자).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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. <nopypatinfo>
  11. <seqno/>
  12. <pid/>
  13. <hngnm/>
  14. <indd/>
  15. <depthngnm/>
  16. <snglcalcscorcd/>
  17. <calchngnm/>
  18. <hunitcost/>
  19. <totqty/>
  20. <totamt/>
  21. <memo/>
  22. <cretno/>
  23. <year/>
  24. <edicd/>
  25. <spclcd/>
  26. <gubun/>
  27. <newpayflag/>
  28. <sugicode/>
  29. <confirmyn/>
  30. </nopypatinfo>
  31. </main>
  32. <send>
  33. <reqdata>
  34. <year/>
  35. <orddeptcd/>
  36. <snglcalcscorcd/>
  37. <ioflag/>
  38. <brateflag/>
  39. </reqdata>
  40. <savedata/>
  41. </send>
  42. <init>
  43. <P6600list/>
  44. </init>
  45. <init_pam>
  46. <init>
  47. </init>
  48. </init_pam>
  49. </root>
  50. </instance>
  51. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  52. <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_pam/init"/>
  53. <submission id="TRPAO05005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/main"/>
  54. <submission id="TXPAO05005" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/main"/>
  55. <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
  56. </model>
  57. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  61. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  62. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  63. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  64. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. submit("TRPAMCOM01");
  68. pamfGetCodeList(new Array("P6600"), new Array("/root/init/P6600list"));
  69. addComboItem("cmb_orddeptcd","전체", "-", "above");
  70. if (checkOpener()){
  71. model.makeValue("/root/send/reqdata/year", opener.javascript.getParameter("year"));
  72. model.makeValue("/root/send/reqdata/orddeptcd", opener.javascript.getParameter("orddeptcd"));
  73. model.makeValue("/root/send/reqdata/ioflag", opener.javascript.getParameter("ioflag"));
  74. model.makeValue("/root/send/reqdata/snglcalcscorcd", opener.javascript.getParameter("snglcalcscorcd"));
  75. model.makeValue("/root/send/reqdata/brateflag", opener.javascript.getParameter("brateflag"));
  76. btn_search.dispatch("DOMActivate");
  77. }else{
  78. model.makeValue("/root/send/reqdata/year", "2013");
  79. model.makeValue("/root/send/reqdata/orddeptcd", "-");
  80. model.makeValue("/root/send/reqdata/ioflag", "O");
  81. model.makeValue("/root/send/reqdata/brateflag", "O");
  82. }
  83. model.makeValue("/root/send/reqdata/gubun", "-");
  84. cmb_year.value="2017";
  85. combo1.value="-";
  86. combo3.value="-";
  87. model.refresh();
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  92. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  93. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:15px; ">자료조회</caption>
  94. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  95. </group>
  96. <group id="group5" style="left:0px; top:15px; width:1195px; height:45px; vertical-align:top; ">
  97. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:45px; "/>
  98. <line id="line13" class="line_4" style="x1:1033px; y1:7px; x2:1033px; y2:40px; border-color:#ffe4bb; border-left-style:solid; "/>
  99. <caption id="caption21" class="search_name" visibility="hidden" style="left:6px; top:8px; width:86px; height:17px; ">조회연도:</caption>
  100. <button id="btn_search" class="btn2_letter2" style="left:1037px; top:13px; width:42px; height:19px; ">
  101. <caption>조회</caption>
  102. <script type="javascript" ev:event="DOMActivate">
  103. <![CDATA[
  104. if(submit("TRPAO05005")){
  105. model.refresh();
  106. }
  107. ]]>
  108. </script>
  109. </button>
  110. <caption id="caption1" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">진료과 :</caption>
  111. <select1 id="cmb_orddeptcd" ref="/root/send/reqdata/orddeptcd" appearance="minimal" style="left:85px; top:9px; width:130px; height:19px; text-align:center; vertical-align:middle; ">
  112. <choices>
  113. <itemset nodeset="/root/init_pam/init/orddeptcd">
  114. <label ref="nm"/>
  115. <value ref="cd"/>
  116. </itemset>
  117. </choices>
  118. </select1>
  119. <caption id="caption2" class="search_name" style="left:451px; top:8px; width:86px; height:17px; ">수진구분:</caption>
  120. <select1 id="combo3" ref="/root/send/reqdata/ioflag" appearance="minimal" style="left:535px; top:10px; width:70px; height:19px; text-align:center; vertical-align:middle; ">
  121. <choices>
  122. <item>
  123. <label>전체</label>
  124. <value>-</value>
  125. </item>
  126. <item>
  127. <label>외래</label>
  128. <value>O</value>
  129. </item>
  130. <item>
  131. <label>입원</label>
  132. <value>I</value>
  133. </item>
  134. </choices>
  135. </select1>
  136. <button id="button1" class="btn2_letter4" style="left:1124px; top:13px; width:64px; height:19px; ">
  137. <caption>엑셀저장</caption>
  138. <script type="javascript" ev:event="DOMActivate">
  139. <![CDATA[
  140. var fileName = window.fileDialog("save", ",", false, "비급여개인별내역", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  141. grd_nopypat.saveExcel(fileName, "sheet1");
  142. ]]>
  143. </script>
  144. </button>
  145. <caption id="caption3" class="search_name" style="left:226px; top:8px; width:86px; height:17px; ">수가코드 :</caption>
  146. <select1 id="combo1" ref="/root/send/reqdata/brateflag" appearance="minimal" style="left:730px; top:10px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  147. <choices>
  148. <item>
  149. <label>전체</label>
  150. <value>-</value>
  151. </item>
  152. <item>
  153. <label>외퇴</label>
  154. <value>O</value>
  155. </item>
  156. <item>
  157. <label>입퇴</label>
  158. <value>I</value>
  159. </item>
  160. </choices>
  161. </select1>
  162. <caption id="caption5" class="search_name" style="left:611px; top:8px; width:119px; height:17px; ">입퇴/외퇴 구분:</caption>
  163. <input id="input1" ref="/root/send/reqdata/snglcalcscorcd" style="left:310px; top:10px; width:135px; height:19px; "/>
  164. <select1 id="cmb_year" ref="/root/send/reqdata/year" disabled="true" visibility="hidden" appearance="minimal" style="left:85px; top:10px; width:85px; height:19px; ">
  165. <choices>
  166. <item>
  167. <label>전체</label>
  168. <value>-</value>
  169. </item>
  170. <item>
  171. <label>2013년</label>
  172. <value>2013</value>
  173. </item>
  174. <item>
  175. <label>2014년</label>
  176. <value>2014</value>
  177. </item>
  178. <item>
  179. <label>2015년</label>
  180. <value>2015</value>
  181. </item>
  182. <item>
  183. <label>2016년</label>
  184. <value>2016</value>
  185. </item>
  186. <item>
  187. <label>2017년</label>
  188. <value>2017</value>
  189. </item>
  190. </choices>
  191. </select1>
  192. <button id="button2" class="btn2_letter2" style="left:1081px; top:13px; width:42px; height:19px; ">
  193. <caption>저장</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. if(submit("TXPAO05005")){
  197. submit("TRPAO05005");
  198. model.resetInstanceNode("/root/send/savedata");
  199. model.refresh();
  200. }
  201. ]]>
  202. </script>
  203. </button>
  204. <caption id="caption7" class="search_name" style="left:835px; top:10px; width:119px; height:17px; ">수가구분:</caption>
  205. <select1 id="combo2" ref="/root/send/reqdata/gubun" appearance="minimal" style="left:919px; top:11px; width:100px; height:19px; text-align:center; vertical-align:middle; ">
  206. <choices>
  207. <itemset nodeset="/root/init/P6600list/P6600">
  208. <label ref="cdnm"/>
  209. <value ref="cdid"/>
  210. </itemset>
  211. </choices>
  212. </select1>
  213. </group>
  214. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1195px; y2:65px; "/>
  215. <datagrid id="grd_nopypat" nodeset="/root/main/nopypatinfo" autoresize="true" caption="연도^연번^환자번호^환자명^진료일자^진료과^수진형태^입외퇴구분^수가코드^수가명^단가^처방건수^금액^사유^비고^수가구분^EDICD^특정기호^구분^수기료코드^확인여부^수진형태" colsep="^" colwidth="0, 38, 76, 72, 70, 139, 59, 0, 100, 180, 0, 0, 0, 214, 211, 70, 100, 100, 100, 100, 100, 0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:60px; width:1195px; height:710px; ">
  216. <col ref="year" visibility="hidden" style="text-align:center; "/>
  217. <col ref="seqno" style="text-align:center; "/>
  218. <col ref="pid" style="text-align:center; "/>
  219. <col ref="hngnm" style="text-align:center; "/>
  220. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  221. <col ref="depthngnm" style="text-align:left; "/>
  222. <col disabled="true" ref="ioflag" type="combo">
  223. <choices>
  224. <item>
  225. <label>외래</label>
  226. <value>O</value>
  227. </item>
  228. <item>
  229. <label>입원</label>
  230. <value>I</value>
  231. </item>
  232. </choices>
  233. </col>
  234. <col disabled="true" ref="brateflag" type="combo" visibility="hidden">
  235. <choices>
  236. <item>
  237. <label>외퇴</label>
  238. <value>O</value>
  239. </item>
  240. <item>
  241. <label>입퇴</label>
  242. <value>I</value>
  243. </item>
  244. </choices>
  245. </col>
  246. <col ref="snglcalcscorcd" style="text-align:left; "/>
  247. <col ref="calchngnm" style="text-align:left; "/>
  248. <col ref="hunitcost" visibility="hidden" format="#,###" style="text-align:right; "/>
  249. <col ref="totqty" visibility="hidden" style="text-align:center; "/>
  250. <col ref="totamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  251. <col editable="true" ref="memo" type="input" style="text-align:left; "/>
  252. <col editable="true" ref="bigo" type="input" style="text-align:left; "/>
  253. <col disabled="true" ref="gubun" type="combo">
  254. <choices>
  255. <itemset nodeset="/root/init/P6600list/P6600">
  256. <label ref="cdnm"/>
  257. <value ref="cdid"/>
  258. </itemset>
  259. </choices>
  260. </col>
  261. <col ref="edicd" style="text-align:left; "/>
  262. <col ref="spclcd" style="text-align:left; "/>
  263. <col editable="true" ref="newpayflag" type="input" style="text-align:left; "/>
  264. <col editable="true" ref="sugicode" type="input" style="text-align:left; "/>
  265. <col ref="confirmyn" style="text-align:left; "/>
  266. <col ref="cretno" visibility="hidden"/>
  267. <script type="javascript" ev:event="xforms-value-changed">
  268. <![CDATA[
  269. if(grd_nopypat.col==grd_nopypat.colRef("memo") || grd_nopypat.col==grd_nopypat.colRef("bigo") || grd_nopypat.col==grd_nopypat.colRef("newpayflag") || grd_nopypat.col==grd_nopypat.colRef("sugicode")){
  270. model.makeValue("/root/send/savedata", grd_nopypat.getUpdateData("update"));
  271. model.refresh();
  272. }
  273. ]]>
  274. </script>
  275. <script type="javascript" ev:event="onaftersort">
  276. <![CDATA[
  277. grd_nopypat.gridToInstance();
  278. ]]>
  279. </script>
  280. <!--
  281. <script type="javascript" ev:event="onkeyup">
  282. <![CDATA[
  283. event.preventDefault();
  284. if (event.keyCode == "13") {
  285. grd_nopypat.valueMatrix(grd_nopypat.row, grd_nopypat.col) += "\n";
  286. grd_nopypat.editCell();
  287. }
  288. ]]>
  289. </script>
  290. <script type="javascript" ev:event="onkeydown">
  291. <![CDATA[
  292. event.preventDefault();
  293. ]]>
  294. </script>
  295. <script type="javascript" ev:event="onkeypress">
  296. <![CDATA[
  297. event.preventDefault();
  298. ]]>
  299. </script>
  300. -->
  301. </datagrid>
  302. </xhtml:body>
  303. </xhtml:html>