SMPIF71400_종결현황(자보).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. <send>
  10. <fromdd/>
  11. <todd/>
  12. <ioflag>A</ioflag>
  13. <endyn>N</endyn>
  14. <patunitsrch1/>
  15. <patunitsrch2/>
  16. <certno/>
  17. <acdacptno/>
  18. </send>
  19. <main>
  20. <list>
  21. <datagrid1>
  22. <insucmpymark/>
  23. <acptdd/>
  24. <ioflag/>
  25. <pid/>
  26. <patnm/>
  27. <clamym/>
  28. <orddeptcd/>
  29. <indd/>
  30. <dschdd/>
  31. <interm/>
  32. <acptno/>
  33. <endyn/>
  34. <clamamt/>
  35. <depodd/>
  36. <depoflag/>
  37. <depoamt/>
  38. <cutrate/>
  39. </datagrid1>
  40. </list>
  41. <patinfo>
  42. <patinfolist/>
  43. </patinfo>
  44. </main>
  45. <init>
  46. <U0001list>
  47. <U0001>
  48. <cd/>
  49. <nm/>
  50. </U0001>
  51. </U0001list>
  52. </init>
  53. <hidden>
  54. <sppmc02500>
  55. <cond>
  56. <srchcond/>
  57. <pid/>
  58. <hngnm/>
  59. <rrgstno1/>
  60. <rrgstno2/>
  61. <insukind/>
  62. </cond>
  63. </sppmc02500>
  64. </hidden>
  65. </root>
  66. </instance>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. // 그리드 초기화(행을 모두 삭제한다.)
  70. model.removeNodeset("/root/main/list/datagrid1");
  71. model.removeNodeset("/root/main/list/datagrid2");
  72. model.removeNodeset("/root/main/list/datagrid3");
  73. model.refresh();
  74. // 손보사 코드 조회
  75. submit("TRPIF70305");
  76. ]]>
  77. </script>
  78. <!-- 손보사 리스트 조회 -->
  79. <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  80. <!-- 손보사별/월별/과별 청구현황 -->
  81. <submission id="TRPIF71401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  82. </model>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  86. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  88. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  89. <script type="javascript">
  90. <![CDATA[
  91. function fGetInAftJudgTrgtManList(){
  92. // 환자단위조회를 하는 경우
  93. var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  94. model.setValue("/root/send/patunitsrch1", patunitsrch1);
  95. if (patunitsrch1 == "") {
  96. model.setValue("/root/send/patunitsrch2", "");
  97. }
  98. else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
  99. /** [2007.03.23 jumi]
  100. Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  101. */
  102. // if (patunitsrch1.length < 8) {
  103. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  104. // }
  105. model.setValue("/root/send/patunitsrch2", "pidSrch");
  106. } else { // 문자가 입력된 경우 환자이름으로 조회한다.
  107. if (patunitsrch1.length > 1) {
  108. model.setValue("/root/send/patunitsrch2", "nmSrch");
  109. } else {
  110. model.setValue("/root/send/patunitsrch2", "");
  111. model.refresh();
  112. messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  113. return;
  114. }
  115. }
  116. }
  117. ]]>
  118. </script>
  119. </xhtml:head>
  120. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  121. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  122. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">종결현황(자보)</caption>
  123. </group>
  124. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
  125. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:64px; vertical-align:top; ">
  126. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
  127. <button id="button1" class="btn1_letter2" style="left:1123px; top:22px; width:56px; height:22px; ">
  128. <caption>조회</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. submit("TRPIF71401");
  132. ]]>
  133. </script>
  134. </button>
  135. <line id="line13" class="line_4" style="x1:1108px; y1:22px; x2:1108px; y2:44px; "/>
  136. <caption id="caption3" style="left:221px; top:10px; width:15px; height:20px; ">~</caption>
  137. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:130px; top:9px; width:86px; height:19px; "/>
  138. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:236px; top:9px; width:85px; height:19px; "/>
  139. <select1 id="radio1" ref="/root/send/ioflag" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:430px; top:10px; width:145px; height:15px; border-style:none; ">
  140. <choices>
  141. <item>
  142. <label>전체</label>
  143. <value>A</value>
  144. </item>
  145. <item>
  146. <label>입원</label>
  147. <value>I</value>
  148. </item>
  149. <item>
  150. <label>외래</label>
  151. <value>O</value>
  152. </item>
  153. </choices>
  154. </select1>
  155. <caption id="caption7" class="search_name" style="left:341px; top:9px; width:86px; height:17px; ">내원유형 :</caption>
  156. <caption id="caption8" class="search_name" style="left:341px; top:36px; width:87px; height:17px; ">손 보 사 :</caption>
  157. <select1 id="cmb_insucmpymark" ref="/root/send/certno" class="combo_search" appearance="minimal" style="left:430px; top:36px; width:100px; height:19px; ">
  158. <choices>
  159. <itemset nodeset="/root/init/U0001list/U0001">
  160. <label ref="nm"/>
  161. <value ref="cd"/>
  162. </itemset>
  163. </choices>
  164. </select1>
  165. <input id="ipt_patunitsrch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:130px; top:36px; width:90px; height:19px; ">
  166. <hint>
  167. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  168. </hint>
  169. <script type="javascript" ev:event="onkeypress">
  170. <![CDATA[
  171. if (event.keyCode == "13") { // Enter 입력 시에
  172. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  173. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  174. fGetInAftJudgTrgtManList();
  175. }
  176. }
  177. ]]>
  178. </script>
  179. <script type="javascript" ev:event="onbuttonclick">
  180. <![CDATA[
  181. var ipt_pid = model.getValue("/root/send/patunitsrch1");
  182. if (ipt_pid) {
  183. if(ipt_pid.isNumber()) {
  184. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  185. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  186. } else {
  187. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  188. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  189. }
  190. } else {
  191. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  192. }
  193. model.setValue("/root/hidden/sppmc02500/cond/insukind", "31");
  194. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  195. // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
  196. if (ipt_pid != "") {
  197. if(ipt_pid.isNumber()) {
  198. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  199. model.setValue("/root/send/patunitsrch1", srch_pid);
  200. } else {
  201. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  202. model.setValue("/root/send/patunitsrch1", srch_pid);
  203. }
  204. } else {
  205. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  206. model.setValue("/root/send/patunitsrch1", srch_pid);
  207. }
  208. model.refresh();
  209. fGetInAftJudgTrgtManList();
  210. ]]>
  211. </script>
  212. </input>
  213. <select1 id="rdo_endyn" ref="/root/send/endyn" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:705px; top:10px; width:149px; height:20px; border-style:none; ">
  214. <choices>
  215. <item>
  216. <label>전체</label>
  217. <value>A</value>
  218. </item>
  219. <item>
  220. <label>완료</label>
  221. <value>Y</value>
  222. </item>
  223. <item>
  224. <label>미완료</label>
  225. <value>N</value>
  226. </item>
  227. </choices>
  228. </select1>
  229. <caption id="caption11" class="search_name" style="left:600px; top:9px; width:116px; height:17px; ">종 결 여 부 :</caption>
  230. <caption id="caption18" class="search_name" style="left:15px; top:36px; width:112px; height:17px; ">환자단위조회 :</caption>
  231. <caption id="caption13" class="search_name" style="left:15px; top:9px; width:111px; height:17px; ">입 금 일 자 :</caption>
  232. <input id="input11" ref="/root/send/acdacptno" class="input_search" style="left:705px; top:33px; width:78px; height:19px; "/>
  233. <caption id="caption17" class="search_name" style="left:600px; top:34px; width:112px; height:17px; ">사 고 번 호 :</caption>
  234. </group>
  235. <button id="button93" class="btn6_letter2" style="left:1138px; top:80px; width:56px; height:22px; ">
  236. <caption>출력</caption>
  237. <script type="javascript" ev:event="onclick">
  238. <![CDATA[
  239. window.print();
  240. ]]>
  241. </script>
  242. </button>
  243. <datagrid id="datagrid1" nodeset="/root/main/list/datagrid1" caption="손보사^청구(접수)일자^내원유형^등록번호^수진자명^청구년월^진료과^입원일^퇴원일^재원기간^접수번호^종결여부^청구금액^입금일자^입금구분^입금액^삭감율" colsep="^" colwidth="100, 91, 60, 80, 70, 80, 71, 80, 80, 60, 80, 60, 80, 80, 60, 80, 70" dataheight="25" defaultrows="2" ellipsis="true" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:103px; width:1195px; height:627px; ">
  244. <col ref="insucmpymark" type="combo">
  245. <choices>
  246. <itemset nodeset="/root/init/U0001list/U0001">
  247. <label ref="nm"/>
  248. <value ref="cd"/>
  249. </itemset>
  250. </choices>
  251. </col>
  252. <col ref="acptdd" format="yyyy-mm-dd"/>
  253. <col ref="ioflag"/>
  254. <col ref="pid" style="text-align:center; "/>
  255. <col ref="patnm" style="text-align:center; "/>
  256. <col ref="clamym" format="yyyy-mm"/>
  257. <col ref="orddeptcd" style="text-align:right; "/>
  258. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  259. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  260. <col ref="interm" format="#,###" style="text-align:right; "/>
  261. <col ref="acptno" style="text-align:center; "/>
  262. <col ref="endyn"/>
  263. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  264. <col ref="depodd" format="yyyy-mm-dd"/>
  265. <col ref="depoflag"/>
  266. <col ref="depoamt" format="#,###" style="text-align:right; "/>
  267. <col ref="cutrate" style="text-align:center; "/>
  268. </datagrid>
  269. </group>
  270. <group id="group1" scroll="auto" style="left:0px; top:752px; width:1195px; height:28px; ">
  271. <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  272. <caption>닫기</caption>
  273. <script type="javascript" ev:event="onclick">
  274. <![CDATA[
  275. window.close();
  276. ]]>
  277. </script>
  278. </button>
  279. </group>
  280. </xhtml:body>
  281. </xhtml:html>