SMPIC06000_슬립조회.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <outSlip>
  11. <historyuc/>
  12. <creceipt/>
  13. <paohoscl/>
  14. <paohopmi/>
  15. </outSlip>
  16. <inSlip>
  17. <inhistoryuc/>
  18. <mediatereceipt/>
  19. <paihiscl/>
  20. <paihadmi/>
  21. <priceConflictSlip/>
  22. <noSlip/>
  23. </inSlip>
  24. </main>
  25. <send>
  26. <outPid/>
  27. <inPid/>
  28. <inAdmDate/>
  29. <outCrTime/>
  30. <outObTime/>
  31. <inObTime/>
  32. </send>
  33. <init/>
  34. <hidden/>
  35. <temp/>
  36. </root>
  37. </instance>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. // 화면초기화
  41. ]]>
  42. </script>
  43. <submission id="TRPIC06001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/outSlip"/>
  44. <submission id="TRPIC06002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inSlip"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript">
  50. <![CDATA[
  51. ]]>
  52. </script>
  53. </xhtml:head>
  54. <xhtml:body guideline="1,1211;2,787;1,500;">
  55. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:120px; height:14px; vertical-align:middle; ">슬립조회</caption>
  56. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:10px; top:20px; width:100px; height:20px; ">
  57. <caption>외래</caption>
  58. <toggle case="case1" ev:event="onclick"/>
  59. </button>
  60. <button id="button2" class="btn_sw" group="tab" style="left:110px; top:20px; width:100px; height:22px; ">
  61. <caption>입원</caption>
  62. <toggle case="case2" ev:event="onclick"/>
  63. </button>
  64. <switch id="switch1" style="left:0px; top:40px; width:1200px; height:735px; ">
  65. <case id="case1" selected="true" style="left:0px; top:0px; width:1198px; height:888px; ">
  66. <script type="javascript">
  67. <![CDATA[
  68. function fOutValidForm() {
  69. var pid = model.getValue("/root/send/outPid");
  70. if (pid == null || pid == '') {
  71. alert("PID는 필수입력항목입니다.");
  72. return false;
  73. } else {
  74. return true;
  75. }
  76. }
  77. function fOutGetList() {
  78. if (fOutValidForm()) {
  79. submit('TRPIC06001');
  80. out_caption11.value = out_datagrid1.rows - 1;
  81. out_caption13.value = out_datagrid2.rows - 1;
  82. out_caption15.value = out_datagrid3.rows - 1;
  83. out_caption17.value = out_datagrid4.rows - 1;
  84. }
  85. }
  86. ]]>
  87. </script>
  88. <caption id="out_caption3" class="tit_2" style="left:10px; top:75px; width:192px; height:14px; ">HISTORYUC</caption>
  89. <datagrid id="out_datagrid1" nodeset="/root/main/outSlip/historyuc" caption="calcscorcd^수가코드^처방명^처방일자^수납일자^급여유무^단가^1일수량^기간^EDI코드^금액^병원가산금^지정진료비^예외^나이가산^시간가산^일자가산^기간가산^병원가산금^응급가산^지정진료가산" colsep="^" colwidth="100, 61, 135, 90, 90, 60, 70, 56, 37, 60, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 83" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:5px; top:95px; width:585px; height:460px; ">
  90. <col ref="calcscorcd"/>
  91. <col ref="ucid"/>
  92. <col ref="ucname"/>
  93. <col ref="obtime" format="yyyy-mm-dd"/>
  94. <col ref="crtime" format="yyyy-mm-dd"/>
  95. <col ref="ucstatus"/>
  96. <col ref="ucunitprice" format="#,###" style="text-align:right; "/>
  97. <col ref="ucqtyperday"/>
  98. <col ref="ucduration"/>
  99. <col ref="auditcode"/>
  100. <col ref="ucsumprice" format="#,###" style="text-align:right; "/>
  101. <col ref="uchosprice" format="#,###" style="text-align:right; "/>
  102. <col ref="ucspcprice" format="#,###" style="text-align:right; "/>
  103. <col ref="ucexceptionid"/>
  104. <col ref="ucageap"/>
  105. <col ref="uctimeap"/>
  106. <col ref="ucdateap"/>
  107. <col ref="uctermap"/>
  108. <col ref="uchosap"/>
  109. <col ref="ucemgap"/>
  110. <col ref="ucspcap"/>
  111. </datagrid>
  112. <shape id="out_roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:5px; top:5px; width:1185px; height:60px; "/>
  113. <caption id="out_caption4" class="tit_2" style="left:15px; top:15px; width:145px; height:13px; ">조회조건</caption>
  114. <input id="out_input1" ref="/root/send/outPid" navindex="3" style="left:50px; top:35px; width:100px; height:19px; ">
  115. <script type="javascript" ev:event="onkeypress">
  116. <![CDATA[
  117. // Enter 입력 시
  118. if (event.keyCode == "13") {
  119. // 현재 입력값 노드 반영
  120. setInputNodeCurText();
  121. fOutGetList();
  122. }
  123. ]]>
  124. </script>
  125. </input>
  126. <caption id="out_caption5" style="left:15px; top:35px; width:35px; height:20px; ">PID</caption>
  127. <button id="out_button3" class="btn1_letter2" navindex="10" style="left:1125px; top:35px; width:56px; height:22px; ">
  128. <caption>조회</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. fOutGetList();
  132. ]]>
  133. </script>
  134. </button>
  135. <line id="out_line2" class="line_1" style="x1:5px; y1:90px; x2:590px; y2:90px; "/>
  136. <caption id="out_caption6" class="tit_2" style="left:610px; top:75px; width:145px; height:14px; ">PAOHOSCL</caption>
  137. <line id="out_line1" class="line_1" style="x1:605px; y1:90px; x2:1190px; y2:90px; "/>
  138. <datagrid id="out_datagrid2" nodeset="/root/main/outSlip/paohoscl" caption="calcscorcd^그룹수가코드^싱글수가코드^수가명^처방명^처방일자^수납일자^수가급여구분^적용단가" colsep="^" colwidth="90, 87, 79, 100, 100, 90, 90, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:605px; top:95px; width:585px; height:460px; ">
  139. <col ref="calcscorcd"/>
  140. <col ref="grupcalcscorcd"/>
  141. <col ref="snglcalcscorcd"/>
  142. <col ref="hngnm"/>
  143. <col ref="ordhngnm"/>
  144. <col ref="prcpdd" format="yyyy-mm-dd"/>
  145. <col ref="rcptexecdd" format="yyyy-mm-dd"/>
  146. <col ref="calcscorpayflag" style="left:166px; top:23px; width:100px; height:23px; "/>
  147. <col ref="appunitcost" format="#,###" style="text-align:right; "/>
  148. </datagrid>
  149. <caption id="out_caption7" class="tit_2" style="left:10px; top:570px; width:192px; height:14px; ">CRECEIPT</caption>
  150. <line id="out_line3" class="line_1" style="x1:605px; y1:585px; x2:1190px; y2:585px; "/>
  151. <line id="out_line4" class="line_1" style="x1:5px; y1:585px; x2:590px; y2:585px; "/>
  152. <caption id="out_caption8" class="tit_2" style="left:610px; top:570px; width:145px; height:14px; ">PAOHOPMI</caption>
  153. <line id="out_line5" class="line_4" style="x1:597px; y1:78px; x2:597px; y2:726px; "/>
  154. <datagrid id="out_datagrid4" nodeset="/root/main/outSlip/paohopmi" caption="총본인부담액^할인액^선택진료료^수납일자" colsep="^" colwidth="100, 100, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:605px; top:590px; width:585px; height:135px; ">
  155. <col ref="totownbamt" format="#,###" style="text-align:right; "/>
  156. <col ref="discamt" format="#,###" style="text-align:right; "/>
  157. <col ref="specamt" format="#,###" style="text-align:right; "/>
  158. <col ref="rcptexecdd" format="yyyy-mm-dd"/>
  159. </datagrid>
  160. <caption id="out_caption10" style="left:570px; top:73px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  161. <caption id="out_caption12" style="left:1170px; top:73px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  162. <caption id="out_caption14" style="left:570px; top:568px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  163. <caption id="out_caption16" style="left:1170px; top:568px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  164. <caption id="out_caption11" format="#,###" style="left:465px; top:73px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  165. <caption id="out_caption13" format="#,###" style="left:1065px; top:73px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  166. <caption id="out_caption15" format="#,###" style="left:465px; top:568px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  167. <caption id="out_caption17" format="#,###" style="left:1065px; top:568px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  168. <datagrid id="out_datagrid3" nodeset="/root/main/outSlip/creceipt" caption="처방일자^수납일자^급여계(2+3)^급여본인부담금(2)^조합부담금(3)^비급여계^총진료비^본인부담금계^감면액^예약료(+)^선납진찰료(-)^기납부 현금^기납부 카드,미수^기납부액^절사^영수액" colsep="^" colwidth="90, 90, 78, 110, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:5px; top:590px; width:585px; height:135px; ">
  169. <col ref="obtime" format="yyyy-mm-dd"/>
  170. <col ref="crtime" format="yyyy-mm-dd"/>
  171. <col ref="criamtpc_sum"/>
  172. <col ref="criamtpc_2"/>
  173. <col ref="criamtpc_3"/>
  174. <col ref="criamtpc_4"/>
  175. <col ref="paytotal"/>
  176. <col ref="payself"/>
  177. <col ref="paydc"/>
  178. <col ref="criamtpc_12"/>
  179. <col ref="criamtpc_13"/>
  180. <col/>
  181. <col/>
  182. <col ref="criamtpc_8"/>
  183. <col ref="paycut"/>
  184. <col ref="criamtpc_9"/>
  185. </datagrid>
  186. <caption id="out_caption2" style="left:190px; top:35px; width:50px; height:20px; ">처방일자</caption>
  187. <input id="out_input2" ref="/root/send/outObTime" navindex="4" inputtype="date" format="yyyy-mm-dd" style="left:255px; top:35px; width:100px; height:19px; ">
  188. <script type="javascript" ev:event="onkeypress">
  189. <![CDATA[
  190. // Enter 입력 시
  191. if (event.keyCode == "13") {
  192. // 현재 입력값 노드 반영
  193. setInputNodeCurText();
  194. fOutGetList();
  195. }
  196. ]]>
  197. </script>
  198. </input>
  199. <caption id="out_caption18" style="left:364px; top:37px; width:86px; height:20px; font-size:11pxpt; ">(yyyy-mm-dd)</caption>
  200. <caption id="out_caption19" style="left:491px; top:35px; width:50px; height:20px; ">수납일자</caption>
  201. <caption id="out_caption20" style="left:665px; top:37px; width:86px; height:20px; font-size:11pxpt; ">(yyyy-mm-dd)</caption>
  202. <input id="out_input3" ref="/root/send/outCrTime" navindex="9" inputtype="date" format="yyyy-mm-dd" style="left:556px; top:35px; width:100px; height:19px; ">
  203. <script type="javascript" ev:event="onkeypress">
  204. <![CDATA[
  205. // Enter 입력 시
  206. if (event.keyCode == "13") {
  207. // 현재 입력값 노드 반영
  208. setInputNodeCurText();
  209. fOutGetList();
  210. }
  211. ]]>
  212. </script>
  213. </input>
  214. </case>
  215. <case id="case2">
  216. <script type="javascript">
  217. <![CDATA[
  218. function fInValidForm() {
  219. var pid = model.getValue("/root/send/inPid");
  220. var admDate = model.getValue("/root/send/inAdmDate");
  221. if ((pid == null || pid == '') || (admDate == null || admDate == '')) {
  222. alert("PID 및 입원일자는 필수입력항목입니다.");
  223. return false;
  224. } else {
  225. return true;
  226. }
  227. }
  228. function fInGetList() {
  229. fInClearStyle();
  230. fnInClearScroll();
  231. if (fInValidForm()) {
  232. submit('TRPIC06002');
  233. in_caption11.value = in_datagrid1.rows - 1;
  234. //in_datagrid1.subtotal("sum", 4, 4, "#,###", "background-color:#99ff99", 0, "소계1");
  235. // inHistoryUC 슬립기반 총진료비
  236. var inHistTotal = 0;
  237. for (i = 1; i < in_datagrid1.rows; i++) {
  238. inHistTotal = inHistTotal + parseInt(model.getValue("/root/main/inSlip/inhistoryuc[" + i + "]/total"));
  239. }
  240. caption9.value = inHistTotal;
  241. // iscl 슬립기반 총진료비
  242. var isclTotal = 0;
  243. for (i = 1; i < in_datagrid2.rows; i++) {
  244. isclTotal = isclTotal + parseInt(model.getValue("/root/main/inSlip/paihiscl[" + i + "]/total"));
  245. }
  246. caption12.value = isclTotal;
  247. // 금액불일치 슬립의 총진료비
  248. var conflictInHistTotal = 0;
  249. var conflictIsclTotal = 0;
  250. for (i = 1; i < in_datagrid5.rows; i++) {
  251. conflictInHistTotal = conflictInHistTotal + parseInt(model.getValue("/root/main/inSlip/priceConflictSlip[" + i + "]/inHistPrice"));
  252. conflictIsclTotal = conflictIsclTotal + parseInt(model.getValue("/root/main/inSlip/priceConflictSlip[" + i + "]/isclPrice"));
  253. }
  254. caption17.value = conflictInHistTotal;
  255. caption20.value = conflictIsclTotal;
  256. // 미존재 슬립의 총진료비
  257. var noSlipTotal = 0;
  258. for (i = 1; i < in_datagrid6.rows; i++) {
  259. noSlipTotal = noSlipTotal + parseInt(model.getValue("/root/main/inSlip/noSlip[" + i + "]/inHistPrice"));
  260. }
  261. caption21.value = noSlipTotal;
  262. in_caption13.value = in_datagrid2.rows - 1;
  263. in_caption15.value = in_datagrid3.rows - 1;
  264. in_caption17.value = in_datagrid4.rows - 1;
  265. in_priceConflictSlipCnt.value = in_datagrid5.rows - 1;
  266. in_noSlipCnt.value = in_datagrid6.rows - 1;
  267. }
  268. }
  269. function fInClearStyle() {
  270. in_datagrid1.rebuildStyle();
  271. in_datagrid2.rebuildStyle();
  272. in_datagrid3.rebuildStyle();
  273. in_datagrid4.rebuildStyle();
  274. in_datagrid5.rebuildStyle();
  275. in_datagrid6.rebuildStyle();
  276. }
  277. function fnInClearScroll() {
  278. in_datagrid1.topRow = 1;
  279. in_datagrid2.topRow = 1;
  280. in_datagrid3.topRow = 1;
  281. in_datagrid4.topRow = 1;
  282. in_datagrid5.topRow = 1;
  283. in_datagrid6.topRow = 1;
  284. }
  285. ]]>
  286. </script>
  287. <caption id="in_caption3" class="tit_2" style="left:10px; top:75px; width:192px; height:14px; ">INHISTORYUC</caption>
  288. <datagrid id="in_datagrid1" nodeset="/root/main/inSlip/inhistoryuc" caption="처방일자^calcscorcd^처방명^급여^단가^급여액^비급여액^선택진료^총진료비" colsep="^" colwidth="70, 90, 200, 60, 70, 70, 70, 100, 75" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:5px; top:95px; width:585px; height:205px; ">
  289. <col ref="obtime" format="yyyy-mm-dd"/>
  290. <col ref="calcscorcd"/>
  291. <col ref="ucname"/>
  292. <col disabled="true" ref="ucstatus" type="combo">
  293. <choices>
  294. <item>
  295. <label>무효</label>
  296. <value>0</value>
  297. </item>
  298. <item>
  299. <label>급여</label>
  300. <value>1</value>
  301. </item>
  302. <item>
  303. <label>비급여</label>
  304. <value>2</value>
  305. </item>
  306. <item>
  307. <label>비보험</label>
  308. <value>3</value>
  309. </item>
  310. <item>
  311. <label>급여확인</label>
  312. <value>4</value>
  313. </item>
  314. <item>
  315. <label>행위료포함</label>
  316. <value>5</value>
  317. </item>
  318. <item>
  319. <label>본인100</label>
  320. <value>6</value>
  321. </item>
  322. <item>
  323. <label>선택100</label>
  324. <value>7</value>
  325. </item>
  326. </choices>
  327. </col>
  328. <col ref="ucunitprice" format="#,###" style="text-align:right; "/>
  329. <col ref="ucsupprice" format="#,###" style="text-align:right; "/>
  330. <col ref="ucnosupprice" format="#,###" style="text-align:right; "/>
  331. <col ref="ucspcprice" format="#,###" style="text-align:right; "/>
  332. <col ref="total" format="#,###" style="text-align:right; "/>
  333. <script type="javascript" ev:event="onscroll">
  334. <![CDATA[
  335. in_datagrid2.topRow = in_datagrid1.topRow;
  336. ]]>
  337. </script>
  338. </datagrid>
  339. <shape id="in_roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:5px; top:5px; width:1185px; height:60px; "/>
  340. <caption id="in_caption4" class="tit_2" style="left:15px; top:15px; width:145px; height:13px; ">조회조건</caption>
  341. <input id="in_input1" ref="/root/send/inPid" navindex="5" style="left:50px; top:35px; width:100px; height:19px; ">
  342. <script type="javascript" ev:event="onkeypress">
  343. <![CDATA[
  344. // Enter 입력 시
  345. if (event.keyCode == "13") {
  346. // 현재 입력값 노드 반영
  347. setInputNodeCurText();
  348. fInGetList();
  349. }
  350. ]]>
  351. </script>
  352. </input>
  353. <caption id="in_caption5" style="left:15px; top:35px; width:35px; height:20px; ">PID</caption>
  354. <button id="in_button3" class="btn1_letter2" navindex="8" style="left:1125px; top:35px; width:56px; height:22px; ">
  355. <caption>조회</caption>
  356. <script type="javascript" ev:event="DOMActivate">
  357. <![CDATA[
  358. fInGetList();
  359. ]]>
  360. </script>
  361. </button>
  362. <line id="in_line2" class="line_1" style="x1:5px; y1:90px; x2:590px; y2:90px; "/>
  363. <caption id="in_caption6" class="tit_2" style="left:610px; top:75px; width:145px; height:13px; ">PAIHISCL</caption>
  364. <line id="in_line1" class="line_1" style="x1:605px; y1:90px; x2:1190px; y2:90px; "/>
  365. <datagrid id="in_datagrid2" nodeset="/root/main/inSlip/paihiscl" caption="처방일자^calcscorcd^수가명(처방명)^급여^적용단가^급여액(1+2)^비급여액(3)^본인100^선택진료(4)^총진료비^감면액" colsep="^" colwidth="70, 90, 200, 60, 70, 70, 70, 70, 70, 75, 75" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:605px; top:95px; width:585px; height:205px; ">
  366. <col ref="orddd" format="yyyy-mm-dd"/>
  367. <col ref="calcscorcd"/>
  368. <col ref="ordhngnm"/>
  369. <col disabled="true" ref="calcscorpayflag" type="combo" style="left:166px; top:23px; width:100px; height:23px; ">
  370. <choices>
  371. <item>
  372. <label>급여</label>
  373. <value>0</value>
  374. </item>
  375. <item>
  376. <label>선택본인</label>
  377. <value>1</value>
  378. </item>
  379. <item>
  380. <label>전액본인</label>
  381. <value>2</value>
  382. </item>
  383. <item>
  384. <label>인정비급</label>
  385. <value>3</value>
  386. </item>
  387. <item>
  388. <label>임의비급</label>
  389. <value>4</value>
  390. </item>
  391. <item>
  392. <label>신의료기술</label>
  393. <value>5</value>
  394. </item>
  395. </choices>
  396. </col>
  397. <col ref="appunitcost" format="#,###" style="text-align:right; "/>
  398. <col ref="payamt" format="#,###" style="text-align:right; "/>
  399. <col ref="nopyamt" format="#,###" style="text-align:right; "/>
  400. <col ref="allownbamt" format="#,###" style="text-align:right; "/>
  401. <col ref="specamt" format="#,###" style="text-align:right; "/>
  402. <col ref="total" format="#,###" style="text-align:right; "/>
  403. <col ref="disctotal" format="#,###" style="text-align:right; "/>
  404. </datagrid>
  405. <caption id="in_caption7" class="tit_2" style="left:10px; top:344px; width:192px; height:13px; ">MEDIATERECEIPT</caption>
  406. <line id="in_line3" class="line_1" style="x1:605px; y1:359px; x2:1190px; y2:359px; "/>
  407. <line id="in_line4" class="line_1" style="x1:5px; y1:359px; x2:590px; y2:359px; "/>
  408. <caption id="in_caption8" class="tit_2" style="left:610px; top:344px; width:145px; height:13px; ">PAIHADMI</caption>
  409. <line id="in_line5" class="line_4" style="x1:596px; y1:343px; x2:596px; y2:456px; "/>
  410. <datagrid id="in_datagrid3" nodeset="/root/main/inSlip/mediatereceipt" caption="수납일자^총진료비^급여계(1+2)^급여본인(1)^급여보험(2)^비급여계^본인부담계^수납계정^감면액^중간수납액^보증금^보관금^대불금^희귀대불^환불금^미수금^외래예약금^총수납액^납부할금액" colsep="^" colwidth="80, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:5px; top:364px; width:585px; height:90px; ">
  411. <col ref="crtime" format="yyyy-mm-dd"/>
  412. <col ref="total" format="#,###" style="font-weight:bold; text-align:right; "/>
  413. <col ref="suptotal" format="#,###" style="text-align:right; "/>
  414. <col ref="suptotalself" format="#,###" style="text-align:right; "/>
  415. <col ref="suptotalclaim" format="#,###" style="text-align:right; "/>
  416. <col ref="nosuptotal" format="#,###" style="text-align:right; "/>
  417. <col ref="dctotal" format="#,###" style="text-align:right; "/>
  418. <col ref="paytypedesc" style="text-align:right; "/>
  419. <col ref="beforecash" format="#,###" style="text-align:right; "/>
  420. <col ref="paykeep" format="#,###" style="text-align:right; "/>
  421. <col ref="paydeposit" format="#,###" style="text-align:right; "/>
  422. <col ref="payinst" format="#,###" style="text-align:right; "/>
  423. <col format="#,###" style="text-align:right; "/>
  424. <col ref="payrefund" format="#,###" style="text-align:right; "/>
  425. <col ref="payrcv" format="#,###" style="text-align:right; "/>
  426. <col ref="msrecefee" format="#,###" style="text-align:right; "/>
  427. <col format="#,###" style="text-align:right; "/>
  428. <col ref="aftercash" format="#,###" style="text-align:right; "/>
  429. </datagrid>
  430. <datagrid id="in_datagrid4" nodeset="/root/main/inSlip/paihadmi" caption="수납일자^총진료비^급여계(1+2)^급여본인(1)^급여보험(2)^비급여계(3)^본인100^선택진료(4)^총본인부담액^할인액^수납계정^수납현금^수납카드^수납입금" colsep="^" colwidth="80, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" navindex="-1" style="left:605px; top:364px; width:585px; height:90px; ">
  431. <col ref="rcptdd" format="yyyy-mm-dd"/>
  432. <col ref="total" format="#,###" style="font-weight:bold; text-align:right; "/>
  433. <col ref="payamt" format="#,###" style="text-align:right; "/>
  434. <col ref="payownbamt" format="#,###" style="text-align:right; "/>
  435. <col ref="payinsubamt" format="#,###" style="text-align:right; "/>
  436. <col ref="nopyamt" format="#,###" style="text-align:right; "/>
  437. <col ref="allownbamt" format="#,###" style="text-align:right; "/>
  438. <col ref="specordamt" format="#,###" style="text-align:right; "/>
  439. <col ref="totownbamt" format="#,###" style="text-align:right; "/>
  440. <col ref="discamt" format="#,###" style="text-align:right; "/>
  441. <col ref="calcrcptrem" style="text-align:right; "/>
  442. <col ref="cashamt" format="#,###" style="text-align:right; "/>
  443. <col ref="cardamt" format="#,###" style="text-align:right; "/>
  444. <col ref="onlineamt" format="#,###" style="text-align:right; "/>
  445. </datagrid>
  446. <caption id="in_caption10" style="left:570px; top:73px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  447. <caption id="in_caption12" style="left:1170px; top:73px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  448. <caption id="in_caption14" style="left:570px; top:342px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  449. <caption id="in_caption16" style="left:1170px; top:342px; width:15px; height:20px; font-size:11pxptpt; text-align:right; ">건</caption>
  450. <caption id="in_caption11" format="#,###" style="left:465px; top:73px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  451. <caption id="in_caption13" format="#,###" style="left:1065px; top:73px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  452. <caption id="in_caption15" format="#,###" style="left:465px; top:342px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  453. <caption id="in_caption17" format="#,###" style="left:1065px; top:342px; width:100px; height:20px; font-size:11pxptpt; color:#0000ff; text-align:right; ">0</caption>
  454. <input id="in_input2" ref="/root/send/inAdmDate" navindex="6" inputtype="date" format="yyyy-mm-dd" style="left:255px; top:35px; width:100px; height:19px; ">
  455. <script type="javascript" ev:event="onkeypress">
  456. <![CDATA[
  457. // Enter 입력 시
  458. if (event.keyCode == "13") {
  459. // 현재 입력값 노드 반영
  460. setInputNodeCurText();
  461. fInGetList();
  462. }
  463. ]]>
  464. </script>
  465. </input>
  466. <caption id="in_caption18" style="left:190px; top:35px; width:60px; height:20px; ">입원일자</caption>
  467. <caption id="in_caption19" style="left:364px; top:37px; width:86px; height:20px; font-size:11pxpt; ">(yyyy-mm-dd)</caption>
  468. <line id="line1" class="line_4" style="x1:597px; y1:78px; x2:597px; y2:325px; "/>
  469. <caption id="caption2" class="tit_2" style="left:10px; top:480px; width:194px; height:13px; color:#000000; ">INHISTORYUC vs PAIHISCL</caption>
  470. <caption id="caption3" style="left:15px; top:495px; width:158px; height:20px; ">1. 금액불일치 슬립 수 :</caption>
  471. <line id="line2" class="line_4" style="x1:597px; y1:500px; x2:597px; y2:724px; "/>
  472. <caption id="caption5" style="left:620px; top:495px; width:158px; height:20px; ">2. TOBE 미존재 슬립 수 :</caption>
  473. <caption id="caption4" style="left:210px; top:495px; width:25px; height:20px; ">건</caption>
  474. <caption id="caption6" style="left:825px; top:495px; width:25px; height:20px; ">건</caption>
  475. <caption id="in_noSlipCnt" format="#,###" style="left:760px; top:495px; width:60px; height:20px; font-size:11pxptpt; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
  476. <caption id="in_priceConflictSlipCnt" format="#,###" style="left:145px; top:495px; width:60px; height:20px; font-size:11pxptpt; font-weight:bold; color:#ff0000; text-align:right; ">0</caption>
  477. <datagrid id="in_datagrid5" nodeset="/root/main/inSlip/priceConflictSlip" caption="A 처방일자^A 수가코드^A 총진료비^A idx^-^T 처방일자^T 수가코드^T 총진료비^T idx" colsep="^" colwidth="80, 110, 80, 10, 22, 80, 110, 80, 11" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:520px; width:585px; height:180px; ">
  478. <col ref="inHistObtime" format="yyyy-mm-dd"/>
  479. <col ref="inHistCode"/>
  480. <col ref="inHistPrice" format="#,###" style="text-align:right; "/>
  481. <col ref="inHistIndex" visibility="hidden"/>
  482. <col/>
  483. <col ref="isclOrdDd" format="yyyy-mm-dd"/>
  484. <col ref="isclCode"/>
  485. <col ref="isclPrice" format="#,###" style="text-align:right; "/>
  486. <col ref="isclIndex" visibility="hidden"/>
  487. <script type="javascript" ev:event="ondblclick">
  488. <![CDATA[
  489. fInClearStyle();
  490. // INHISTORYUC 포커스 설정
  491. var inHistIndex = parseInt(model.getValue("/root/main/inSlip/priceConflictSlip[" + in_datagrid5.row + "]/inHistIndex")) + 1;
  492. in_datagrid1.rowStyle(inHistIndex, "all", "background-color") = "#FFF000";
  493. //in_datagrid1.row = inHistIndex;
  494. in_datagrid1.topRow = inHistIndex;
  495. // PAIHISCL 포커스 설정
  496. var isclIndex = parseInt(model.getValue("/root/main/inSlip/priceConflictSlip[" + in_datagrid5.row + "]/isclIndex")) + 1;
  497. in_datagrid2.rowStyle(isclIndex, "all", "background-color") = "#ff9900";
  498. in_datagrid2.topRow = isclIndex;
  499. // 불일치 슬립 선택
  500. in_datagrid5.rowStyle(in_datagrid5.row, "all", "background-color") = "#FFF000";
  501. //in_datagrid5.topRow = in_datagrid5.row;
  502. ]]>
  503. </script>
  504. </datagrid>
  505. <datagrid id="in_datagrid6" nodeset="/root/main/inSlip/noSlip" caption="처방일자^수가코드^처방명^총진료비^idx" colsep="^" colwidth="70, 80, 317, 100, 30" explorerbar="move" mergecellsfixedrows="bycolrec" rowsep="|" style="left:605px; top:520px; width:585px; height:180px; ">
  506. <col ref="inHistObtime" format="yyyy-mm-dd"/>
  507. <col ref="inHistCode"/>
  508. <col ref="ucname"/>
  509. <col ref="inHistPrice" format="#,###" style="text-align:right; "/>
  510. <col ref="inHistIndex" visibility="hidden"/>
  511. <script type="javascript" ev:event="ondblclick">
  512. <![CDATA[
  513. fInClearStyle();
  514. var inHistIndex2 = parseInt(model.getValue("/root/main/inSlip/noSlip[" + in_datagrid6.row + "]/inHistIndex")) + 1;
  515. in_datagrid1.rowStyle(inHistIndex2, "all", "background-color") = "#ff6699";
  516. in_datagrid1.topRow = inHistIndex2;
  517. in_datagrid6.rowStyle(in_datagrid6.row, "all", "background-color") = "#ff6699";
  518. in_datagrid6.topRow = in_datagrid6.row;
  519. ]]>
  520. </script>
  521. </datagrid>
  522. <line id="line3" class="line_1" style="x1:5px; y1:515px; x2:590px; y2:515px; "/>
  523. <line id="line4" class="line_1" style="x1:605px; y1:515px; x2:1190px; y2:515px; "/>
  524. <input id="input1" ref="/root/send/inObTime" navindex="7" inputtype="date" format="yyyy-mm-dd" style="left:556px; top:35px; width:100px; height:19px; ">
  525. <script type="javascript" ev:event="onkeypress">
  526. <![CDATA[
  527. // Enter 입력 시
  528. if (event.keyCode == "13") {
  529. // 현재 입력값 노드 반영
  530. setInputNodeCurText();
  531. fInGetList();
  532. }
  533. ]]>
  534. </script>
  535. </input>
  536. <caption id="caption7" style="left:491px; top:35px; width:60px; height:20px; ">처방일자</caption>
  537. <caption id="caption8" style="left:665px; top:37px; width:86px; height:20px; font-size:11pxpt; ">(yyyy-mm-dd)</caption>
  538. <caption id="caption9" format="#,###" style="left:465px; top:305px; width:90px; height:20px; font-size:11pxptpt; font-weight:bold; color:#000000; text-align:right; border-color:#ffffff; border-style:solid; ">0</caption>
  539. <caption id="caption10" style="left:348px; top:305px; width:112px; height:20px; font-size:10pt; color:#000000; text-align:center; background-color:#cc99ff; border-color:#999999; border-style:solid; ">sum(총진료비)</caption>
  540. <caption id="caption11" style="left:949px; top:305px; width:112px; height:20px; font-size:10pt; text-align:center; background-color:#cc99ff; border-color:#999999; border-style:solid; ">sum(총진료비)</caption>
  541. <caption id="caption12" format="#,###" style="left:1065px; top:305px; width:90px; height:20px; font-size:11pxptpt; font-weight:bold; color:#000000; text-align:right; ">0</caption>
  542. <caption id="caption13" style="left:459px; top:305px; width:115px; height:20px; text-align:right; border-color:#999999; border-style:solid; ">원</caption>
  543. <caption id="caption14" style="left:1060px; top:305px; width:115px; height:20px; text-align:right; border-color:#999999; border-style:solid; ">원</caption>
  544. <caption id="caption15" style="left:22px; top:705px; width:134px; height:20px; font-size:10pt; color:#000000; text-align:center; background-color:#ffff00; border-color:#999999; border-style:solid; ">ASIS sum(총진료비)</caption>
  545. <caption id="caption17" format="#,###" style="left:161px; top:705px; width:90px; height:20px; font-size:11pxptpt; font-weight:bold; color:#000000; text-align:right; border-color:#ffffff; border-style:solid; ">0</caption>
  546. <caption id="caption16" style="left:155px; top:705px; width:115px; height:20px; text-align:right; border-color:#999999; border-style:solid; ">원</caption>
  547. <caption id="caption18" style="left:327px; top:705px; width:134px; height:20px; font-size:10pt; color:#000000; text-align:center; background-color:#ff9900; border-color:#999999; border-style:solid; ">TOBE sum(총진료비)</caption>
  548. <caption id="caption20" format="#,###" style="left:466px; top:705px; width:90px; height:20px; font-size:11pxptpt; font-weight:bold; color:#000000; text-align:right; border-color:#ffffff; border-style:solid; ">0</caption>
  549. <caption id="caption19" style="left:460px; top:705px; width:115px; height:20px; text-align:right; border-color:#999999; border-style:solid; ">원</caption>
  550. <caption id="caption21" format="#,###" style="left:1066px; top:705px; width:90px; height:20px; font-size:11pxptpt; font-weight:bold; color:#000000; text-align:right; border-color:#ffffff; border-style:solid; ">0</caption>
  551. <caption id="caption23" style="left:1060px; top:705px; width:115px; height:20px; text-align:right; border-color:#999999; border-style:solid; ">원</caption>
  552. <caption id="caption22" style="left:949px; top:705px; width:112px; height:20px; font-size:10pt; color:#000000; text-align:center; background-color:#ff6699; border-color:#999999; border-style:solid; ">sum(총진료비)</caption>
  553. <caption id="caption24" style="left:280px; top:495px; width:305px; height:20px; font-size:8pt; color:#ff0000; ">* 동일일자에 동일처방이 있을 경우, 중복추출되는 경우 있음</caption>
  554. <select id="checkbox1" overflow="visible" appearance="full" style="left:130px; top:75px; width:145px; height:20px; font-size:8pt; border-style:none; ">
  555. <choices>
  556. <item>
  557. <label>PAIHISCL 스크롤 연동</label>
  558. <value>true</value>
  559. </item>
  560. </choices>
  561. </select>
  562. </case>
  563. </switch>
  564. </xhtml:body>
  565. </xhtml:html>