SMPIF71700_삭감현황(자보).xrw 17 KB

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