SMPIF71600_분심현황(자보).xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  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. <termflag/>
  11. <fromdd/>
  12. <todd/>
  13. <ioflag>1</ioflag>
  14. <endyn/>
  15. <patunitsrch1/>
  16. <patunitsrch2/>
  17. <certno/>
  18. <acdacptno/>
  19. </send>
  20. <main>
  21. <list>
  22. <datagrid1>
  23. <insucmpymark/>
  24. <clamym/>
  25. <acptym/>
  26. <ioflag/>
  27. <docuseqno/>
  28. <pid/>
  29. <patnm/>
  30. <orddeptcd/>
  31. <indd/>
  32. <dschdd/>
  33. <chosindayno/>
  34. <judgrid/>
  35. <clamamt/>
  36. <tdacptdd/>
  37. <trobamt/>
  38. <tddecidocuarvdd/>
  39. <tddecicutamt/>
  40. <tddeciamt/>
  41. <tdcomsamt/>
  42. <acdacptno/>
  43. </datagrid1>
  44. </list>
  45. <patinfo>
  46. <patinfolist/>
  47. </patinfo>
  48. </main>
  49. <init>
  50. <U0001list>
  51. <U0001>
  52. <cd/>
  53. <nm/>
  54. </U0001>
  55. </U0001list>
  56. <P0028list>
  57. <P0028>
  58. <cdid/>
  59. <cdnm/>
  60. </P0028>
  61. </P0028list>
  62. </init>
  63. <hidden>
  64. <U0001>
  65. <cd/>
  66. <nm>전체</nm>
  67. </U0001>
  68. <U0002list>
  69. <U0002>
  70. <cdid/>
  71. <cdnm/>
  72. </U0002>
  73. </U0002list>
  74. <sppmc02500>
  75. <cond>
  76. <srchcond/>
  77. <pid/>
  78. <hngnm/>
  79. <rrgstno1/>
  80. <rrgstno2/>
  81. <insukind/>
  82. </cond>
  83. </sppmc02500>
  84. </hidden>
  85. </root>
  86. </instance>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. CommCode_Load();
  90. // 그리드 초기화(행을 모두 삭제한다.)
  91. model.removeNodeset("/root/main/list/datagrid1");
  92. model.removeNodeset("/root/main/list/datagrid2");
  93. model.removeNodeset("/root/main/list/datagrid3");
  94. model.refresh();
  95. // 손보사 코드 조회
  96. // submit("TRPIF70305");
  97. ]]>
  98. </script>
  99. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  100. <submission id="TRPIF30903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/U0002list"/>
  101. <!-- 손보사 리스트 조회 -->
  102. <submission id="TRPIF70305" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/U0001list"/>
  103. <!-- 손보사별/월별/과별 청구현황 -->
  104. <submission id="TRPIF71601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  105. </model>
  106. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  112. <script type="javascript">
  113. <![CDATA[
  114. // 공통코드 Load작업
  115. function CommCode_Load() {
  116. // 관련 Control 초기화
  117. zbcfGetCodeList(new Array("P0028"), new Array("/root/init/P0028list"));
  118. //손보사 콤보 data 조회(자보미수관리 참조)
  119. submit("TRPIF70305");
  120. // 손보자 조회 조건에 전체가없어서 추가 해달라고 했는데 해당 조회 쿼리는 공통으로 쓰는거라
  121. // 임의로 추가함.
  122. // 20090108. JHP
  123. var node = root.init.U0001list;
  124. var addnode = root.hidden.U0001;
  125. var refnode = root.init.U0001list.U0001;
  126. node.insertbefore(addnode,refnode);
  127. submit("TRPIF30903"); // 진료과
  128. }
  129. function fGetInAftJudgTrgtManList(){
  130. // 환자단위조회를 하는 경우
  131. var patunitsrch1 = model.getValue("/root/send/patunitsrch1").getTrim(); // (stringHelper.js) 문자열 앞뒤에 있는 공백 제거
  132. model.setValue("/root/send/patunitsrch1", patunitsrch1);
  133. if (patunitsrch1 == "") {
  134. model.setValue("/root/send/patunitsrch2", "");
  135. }
  136. else if (patunitsrch1.isNumber()) { // (numericHelper.js) 숫자가 입력된 경우 환자번호로 조회한다.
  137. /** [2007.03.23 jumi]
  138. Table Layout 상에는 pid가 VARCHAR(10) 이지만, 테스트용 data에서는 VARCHAR(8) 이므로 8자리로 구현함
  139. */
  140. // if (patunitsrch1.length < 8) {
  141. // model.setValue("/root/send/patunitsrch1", patunitsrch1.getLeftPad(8, "0")); // (stringHelper.js) 저장된 숫자 값에 원하는 길이만큼 '0'을 붙여 표현
  142. // }
  143. model.setValue("/root/send/patunitsrch2", "pidSrch");
  144. } else { // 문자가 입력된 경우 환자이름으로 조회한다.
  145. if (patunitsrch1.length > 1) {
  146. model.setValue("/root/send/patunitsrch2", "nmSrch");
  147. } else {
  148. model.setValue("/root/send/patunitsrch2", "");
  149. model.refresh();
  150. messageBox("환자단위조회시 검색할 환자이름은 2글자 이상", "C001"); ///환자단위조회시 검색할 환자이름은 2글자 이상 입력하십시오.
  151. return;
  152. }
  153. }
  154. }
  155. ]]>
  156. </script>
  157. </xhtml:head>
  158. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  159. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  160. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">분심현황(자보)</caption>
  161. </group>
  162. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
  163. <button id="button93" class="btn6_letter2" style="left:1138px; top:80px; width:56px; height:22px; ">
  164. <caption>출력</caption>
  165. <script type="javascript" ev:event="onclick">
  166. <![CDATA[
  167. window.print();
  168. ]]>
  169. </script>
  170. </button>
  171. <datagrid id="datagrid4" nodeset="/root/main/list/datagrid1" caption="손보사명^청구월^미수월^내원유형^명번^등록번호^수진자명^진료과^입원일^퇴원일^재원기간^심사자^청구액^분심접수일^분심가중액^분심결정일자^분심결정삭감총액^분심결정총액^분심수수료^분심이자환수^분심이자 환불^사고접수번호" colsep="^" colwidth="100, 84, 84, 60, 70, 82, 60, 127, 90, 90, 87, 82, 100, 90, 100, 92, 122, 100, 100, 100, 100, 100" dataheight="25" defaultrows="2" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:103px; width:1193px; height:627px; ">
  172. <col disabled="true" ref="insucmpymark" type="combo">
  173. <choices>
  174. <itemset nodeset="/root/init/U0001list/U0001">
  175. <label ref="nm"/>
  176. <value ref="cd"/>
  177. </itemset>
  178. </choices>
  179. </col>
  180. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  181. <col ref="acptym" format="yyyy-mm" style="text-align:center; "/>
  182. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  183. <choices>
  184. <itemset nodeset="/root/init/P0028list/P0028">
  185. <label ref="cdnm"/>
  186. <value ref="cdid"/>
  187. </itemset>
  188. </choices>
  189. </col>
  190. <col ref="docuseqno"/>
  191. <col ref="pid"/>
  192. <col ref="patnm" style="text-align:center; "/>
  193. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
  194. <choices>
  195. <itemset nodeset="/root/init/U0002list/U0002">
  196. <label ref="cdnm"/>
  197. <value ref="cdid"/>
  198. </itemset>
  199. </choices>
  200. </col>
  201. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  202. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  203. <col ref="chosindayno"/>
  204. <col ref="judgrid"/>
  205. <col ref="clamamt" format="#,###" style="text-align:right; "/>
  206. <col ref="tdacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  207. <col ref="trobamt" format="#,###" style="text-align:right; "/>
  208. <col ref="tddecidocuarvdd" format="yyyy-mm-dd" style="text-align:center; "/>
  209. <col ref="tddecicutamt" format="#,###" style="text-align:right; "/>
  210. <col ref="tddeciamt" format="#,###" style="text-align:right; "/>
  211. <col ref="tdcomsamt" format="#,###" style="text-align:right; "/>
  212. <col/>
  213. <col/>
  214. <col ref="acdacptno"/>
  215. </datagrid>
  216. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:64px; vertical-align:top; ">
  217. <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; "/>
  218. <button id="button1" class="btn1_letter2" style="left:1123px; top:22px; width:56px; height:22px; ">
  219. <caption>조회</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. submit("TRPIF71601");
  223. ]]>
  224. </script>
  225. </button>
  226. <line id="line13" class="line_4" style="x1:1108px; y1:22px; x2:1108px; y2:44px; "/>
  227. <caption id="caption3" style="left:276px; top:10px; width:15px; height:20px; ">~</caption>
  228. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" format="yyyy-mm" style="left:185px; top:9px; width:86px; height:19px; "/>
  229. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" format="yyyy-mm" style="left:291px; top:9px; width:85px; height:19px; "/>
  230. <select1 id="radio1" ref="/root/send/ioflag" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:500px; top:10px; width:145px; height:15px; border-style:none; ">
  231. <choices>
  232. <item>
  233. <label>전체</label>
  234. <value>A</value>
  235. </item>
  236. <item>
  237. <label>입원</label>
  238. <value>I</value>
  239. </item>
  240. <item>
  241. <label>외래</label>
  242. <value>O</value>
  243. </item>
  244. </choices>
  245. </select1>
  246. <caption id="caption7" class="search_name" style="left:411px; top:9px; width:86px; height:17px; ">내원유형 :</caption>
  247. <caption id="caption8" class="search_name" style="left:411px; top:36px; width:87px; height:17px; ">손 보 사 :</caption>
  248. <select1 id="cmb_insucmpymark" ref="/root/send/certno" class="combo_search" appearance="minimal" style="left:500px; top:36px; width:100px; height:19px; ">
  249. <choices>
  250. <itemset nodeset="/root/init/U0001list/U0001">
  251. <label ref="nm"/>
  252. <value ref="cd"/>
  253. </itemset>
  254. </choices>
  255. </select1>
  256. <input id="ipt_patunitsrch" ref="/root/send/patunitsrch1" class="input_search" inputtype="button" style="left:130px; top:36px; width:90px; height:19px; ">
  257. <hint>
  258. <![CDATA[환자성명으로 검색시 2자 이상 입력하세요.]]>
  259. </hint>
  260. <script type="javascript" ev:event="onkeypress">
  261. <![CDATA[
  262. if (event.keyCode == "13") { // Enter 입력 시에
  263. if (ipt_patunitsrch.currentText.length > 1) { // 2글자 이상이면
  264. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  265. fGetInAftJudgTrgtManList();
  266. }
  267. }
  268. ]]>
  269. </script>
  270. <script type="javascript" ev:event="onbuttonclick">
  271. <![CDATA[
  272. var ipt_pid = model.getValue("/root/send/patunitsrch1");
  273. if (ipt_pid) {
  274. if(ipt_pid.isNumber()) {
  275. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "1"); // 검색조건 : 등록번호로 설정
  276. model.setValue("/root/hidden/sppmc02500/cond/pid", ipt_pid);
  277. } else {
  278. model.setValue("/root/hidden/sppmc02500/cond/srchcond", "2"); // 검색조건 : 환자명으로 설정
  279. model.setValue("/root/hidden/sppmc02500/cond/hngnm", ipt_pid);
  280. }
  281. } else {
  282. model.resetInstanceNode("/root/hidden/sppmc02500/cond");
  283. }
  284. model.setValue("/root/hidden/sppmc02500/cond/insukind", "31");
  285. modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/hidden/sppmc02500/cond", "/root/send");
  286. // 환자단위조회 InputBox에 값을 입력후 팝업조회했을 때
  287. if (ipt_pid != "") {
  288. if(ipt_pid.isNumber()) {
  289. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  290. model.setValue("/root/send/patunitsrch1", srch_pid);
  291. } else {
  292. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  293. model.setValue("/root/send/patunitsrch1", srch_pid);
  294. }
  295. } else {
  296. var srch_pid = model.getValue("/root/main/patinfo/patinfolist/pid");
  297. model.setValue("/root/send/patunitsrch1", srch_pid);
  298. }
  299. model.refresh();
  300. fGetInAftJudgTrgtManList();
  301. ]]>
  302. </script>
  303. </input>
  304. <select1 id="rdo_endyn" ref="/root/send/endyn" class="radio_search" overflow="visible" appearance="full" cols="3" style="left:780px; top:10px; width:149px; height:20px; border-style:none; ">
  305. <choices>
  306. <item>
  307. <label>전체</label>
  308. <value>A</value>
  309. </item>
  310. <item>
  311. <label>완료</label>
  312. <value>Y</value>
  313. </item>
  314. <item>
  315. <label>미완료</label>
  316. <value>N</value>
  317. </item>
  318. </choices>
  319. </select1>
  320. <caption id="caption11" class="search_name" style="left:675px; top:9px; width:116px; height:17px; ">완 료 여 부 :</caption>
  321. <caption id="caption18" class="search_name" style="left:15px; top:36px; width:112px; height:17px; ">환자단위조회 :</caption>
  322. <input id="input11" ref="/root/send/acdacptno" class="input_search" style="left:780px; top:33px; width:78px; height:19px; "/>
  323. <caption id="caption17" class="search_name" style="left:675px; top:34px; width:112px; height:17px; ">사 고 번 호 :</caption>
  324. <select1 id="radio2" ref="/root/send/termflag" class="radio_search" overflow="visible" appearance="full" cellspacing="5" cols="3" style="left:15px; top:10px; width:165px; height:15px; border-style:none; ">
  325. <choices>
  326. <item>
  327. <label>청구일자</label>
  328. <value>1</value>
  329. </item>
  330. <item>
  331. <label>분심접수일자</label>
  332. <value>2</value>
  333. </item>
  334. </choices>
  335. </select1>
  336. </group>
  337. </group>
  338. <group id="group1" scroll="auto" style="left:0px; top:752px; width:1195px; height:28px; ">
  339. <button id="button8" class="btn3_letter4" style="left:8px; top:5px; width:80px; height:22px; ">
  340. <caption>자보관리</caption>
  341. </button>
  342. <button id="button45" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  343. <caption>닫기</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. window.close();
  347. ]]>
  348. </script>
  349. </button>
  350. <button id="button4" class="btn3_letter4" style="left:90px; top:5px; width:80px; height:22px; ">
  351. <caption>자보장부</caption>
  352. </button>
  353. <button id="button5" class="btn3_letter4" style="left:172px; top:5px; width:80px; height:22px; ">
  354. <caption>입금관리</caption>
  355. </button>
  356. </group>
  357. </xhtml:body>
  358. </xhtml:html>