SSSTC00300_통계조회.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * @(#)SSSTC00100_통계조회.xrw
  4. * 수정이력
  5. * - 2008.06.24 / 최초작성 / 박정화
  6. * /* 이 화면은 통합통계조회 공통화면으로 각 장표별 layout 을 DB에 적용하여 업무구분별로 검색기준 및 장표 Grid를 Dynamic 하게 조회가 가능하도록 설계하였다.
  7. 장표에 대한 layout 은 STS.SDCMRPTM 에서 관리하고, 화면은 하나로 구현하며, OPEN시 각 업무별 화면 parameter 를 활용하여 UI를 구성한다. */
  8. -->
  9. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  10. <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">
  11. <xhtml:head>
  12. <xhtml:title>통계집계</xhtml:title>
  13. <model id="model1">
  14. <instance id="instance1">
  15. <root xmlns="">
  16. <main>
  17. <!-- SPPMC02500_환자조회 화면에서 선택된 검색결과를 받는 경로임 -->
  18. <patinfo>
  19. <patinfolist/>
  20. </patinfo>
  21. </main>
  22. <init>
  23. <rptm_grid>
  24. <ret>
  25. <col1/>
  26. <col2/>
  27. <col3/>
  28. <col4/>
  29. <col5/>
  30. <col6/>
  31. <col7/>
  32. <col8/>
  33. <col9/>
  34. <col10/>
  35. <col11/>
  36. <col12/>
  37. <col13/>
  38. <col14/>
  39. <col15/>
  40. <col16/>
  41. <col17/>
  42. <col18/>
  43. <col19/>
  44. <col20/>
  45. <col21/>
  46. <col22/>
  47. <col23/>
  48. <col24/>
  49. <col25/>
  50. <col26/>
  51. <col27/>
  52. <col28/>
  53. <col29/>
  54. <col30/>
  55. <col31/>
  56. <col32/>
  57. <col33/>
  58. <col34/>
  59. <col35/>
  60. <col36/>
  61. <col37/>
  62. <col38/>
  63. <col39/>
  64. <col40/>
  65. <col41/>
  66. <col42/>
  67. <col43/>
  68. <col44/>
  69. <col45/>
  70. <col46/>
  71. <col47/>
  72. <col48/>
  73. <col49/>
  74. <col50/>
  75. <col51/>
  76. <col52/>
  77. <col53/>
  78. <col54/>
  79. <col55/>
  80. <col56/>
  81. <col57/>
  82. <col58/>
  83. <col59/>
  84. <col60/>
  85. <col61/>
  86. <col62/>
  87. <col63/>
  88. <col64/>
  89. <col65/>
  90. <col66/>
  91. <col67/>
  92. <col68/>
  93. <col69/>
  94. <col70/>
  95. <col71/>
  96. <col72/>
  97. <col73/>
  98. <col74/>
  99. <col75/>
  100. <col76/>
  101. <col77/>
  102. <col78/>
  103. <col79/>
  104. <col80/>
  105. <col81/>
  106. <col82/>
  107. <col83/>
  108. <col84/>
  109. <col85/>
  110. <col86/>
  111. <col87/>
  112. <col88/>
  113. <col89/>
  114. <col90/>
  115. <col91/>
  116. <col92/>
  117. <col93/>
  118. <col94/>
  119. <col95/>
  120. <col96/>
  121. <col97/>
  122. <col98/>
  123. <col99/>
  124. <col100/>
  125. <col101/>
  126. <col102/>
  127. <col103/>
  128. <col104/>
  129. <col105/>
  130. <col106/>
  131. <col107/>
  132. <col108/>
  133. <col109/>
  134. <col110/>
  135. <col111/>
  136. <col112/>
  137. <col113/>
  138. <col114/>
  139. <col115/>
  140. <col116/>
  141. <col117/>
  142. <col118/>
  143. <col119/>
  144. <col120/>
  145. <col121/>
  146. <col122/>
  147. <col123/>
  148. <col124/>
  149. <col125/>
  150. <col126/>
  151. <col127/>
  152. <col128/>
  153. <col129/>
  154. <col130/>
  155. <col131/>
  156. <col132/>
  157. <col133/>
  158. <col134/>
  159. <col135/>
  160. <col136/>
  161. <col137/>
  162. <col138/>
  163. <col139/>
  164. <col140/>
  165. <col141/>
  166. <col142/>
  167. <col143/>
  168. <col144/>
  169. <col145/>
  170. <col146/>
  171. <col147/>
  172. <col148/>
  173. <col149/>
  174. <col150/>
  175. <col151/>
  176. <col152/>
  177. <col153/>
  178. <col154/>
  179. <col155/>
  180. <col156/>
  181. <col157/>
  182. <col158/>
  183. <col159/>
  184. <col160/>
  185. <col161/>
  186. <col162/>
  187. <col163/>
  188. <col164/>
  189. <col165/>
  190. <col166/>
  191. <col167/>
  192. <col168/>
  193. <col169/>
  194. <col170/>
  195. <col171/>
  196. <col172/>
  197. <col173/>
  198. <col174/>
  199. <col175/>
  200. <col176/>
  201. <col177/>
  202. <col178/>
  203. <col179/>
  204. <col180/>
  205. <col181/>
  206. <col182/>
  207. <col183/>
  208. <col184/>
  209. <col185/>
  210. <col186/>
  211. <col187/>
  212. <col188/>
  213. <col189/>
  214. <col190/>
  215. <col191/>
  216. <col192/>
  217. <col193/>
  218. <col194/>
  219. <col195/>
  220. <col196/>
  221. <col197/>
  222. <col198/>
  223. <col199/>
  224. <col200/>
  225. <hid1/>
  226. <hid2/>
  227. <hid3/>
  228. <hid4/>
  229. <hid5/>
  230. <hid6/>
  231. <hid7/>
  232. <hid8/>
  233. <hid9/>
  234. <hid10/>
  235. </ret>
  236. </rptm_grid>
  237. <ret_cmmt>
  238. <out_cmmt/>
  239. </ret_cmmt>
  240. <inp_cmmt>
  241. <in_cmmt/>
  242. <in_enddd/>
  243. </inp_cmmt>
  244. </init>
  245. <basicSample>
  246. <gridData>
  247. <col0/>
  248. <col1/>
  249. <col2/>
  250. </gridData>
  251. </basicSample>
  252. </root>
  253. </instance>
  254. <script type="javascript" ev:event="xforms-ready">
  255. <![CDATA[
  256. import1.group_c1.attribute("top") = "50px";
  257. import1.group_c2.attribute("top") = "50px";
  258. import1.group_c3.attribute("top") = "50px";
  259. import1.group_c4.attribute("top") = "50px";
  260. import1.group_c5.attribute("top") = "50px";
  261. import1.group_c6.attribute("top") = "50px";
  262. import1.group_c7.attribute("top") = "50px";
  263. import1.group_c8.attribute("top") = "50px";
  264. import1.group_c9.attribute("top") = "50px";
  265. import1.group_c10.attribute("top") = "50px";
  266. var flag = getScreenMenuParameter().substr(13,1);
  267. var attflag = getScreenMenuParameter().substr(6,7);
  268. // var flag = "E";
  269. // var attflag = "RR01142";
  270. if ( flag == "A" || flag == "")
  271. {
  272. import1.group_c1.attribute("visibility") = "visible";
  273. import1.group1.ipt_procdd.attribute("visibility") = "visible";
  274. import1.group1.input1.attribute("visibility") = "visible";
  275. }
  276. if(attflag=="RR01100") {
  277. import1.group_c1.attribute("visibility") = "hidden";
  278. import1.group_c10.attribute("visibility") = "visible";
  279. }
  280. if ( flag == "B")
  281. {
  282. import1.group_c2.attribute("visibility") = "visible";
  283. model.setValue("/root/send/in_cond2","01");
  284. model.setValue("/root/send/in_cond3","01");
  285. }
  286. if ( flag == "C")
  287. {
  288. import1.group_c3.attribute("visibility") = "visible";
  289. model.setValue("/root/send/in_cond2","01");
  290. model.setValue("/root/send/in_cond4","01");
  291. }
  292. if ( flag == "D")
  293. {
  294. import1.group_c4.attribute("visibility") = "visible";
  295. model.setValue("/root/send/in_cond2","01");
  296. }
  297. if ( flag == "E")
  298. {
  299. import1.group_c5.attribute("visibility") = "visible";
  300. model.setValue("/root/send/in_cond2","01");
  301. }
  302. if ( flag == "F")
  303. {
  304. import1.group_c6.attribute("visibility") = "visible";
  305. }
  306. if ( flag == "G")
  307. {
  308. import1.group_c7.attribute("visibility") = "visible";
  309. model.setValue("/root/send/in_cond2","01");
  310. }
  311. if ( flag == "H")
  312. {
  313. import1.group_c8.attribute("visibility") = "visible";
  314. model.setValue("/root/send/in_cond2","01");
  315. model.setValue("/root/send/in_cond3","01");
  316. }
  317. if ( flag == "I")
  318. {
  319. import1.group_c9.attribute("visibility") = "visible";
  320. model.setValue("/root/send/in_cond2", "01");
  321. group_c9.cb_cond2_9.dispatch("xforms-select");
  322. }
  323. // 셀 병합
  324. if ( attflag == "RR00742" || attflag == "RR00730" || attflag == "RR00756" || attflag == "RR01139" || attflag == "RR01140" || attflag == "RR01141" || attflag == "RR00732" || attflag == "RR00821" || attflag == "RR00822" || attflag == "RR01138" || attflag == "RR00701" || attflag == "RR00702")
  325. {
  326. for(var i=0 ; i < dgrd_rpt.cols ; i++)
  327. {
  328. dgrd_rpt.mergecol(i) = false;
  329. }
  330. dgrd_rpt.mergeCells = "bycol";
  331. if ( attflag == "RR00821" || attflag == "RR00822") {
  332. dgrd_rpt.mergeCol(3) = true;
  333. } else if (attflag == "RR00701" || attflag == "RR00702" || attflag == "RR00730" ) {
  334. dgrd_rpt.mergeCol(0) = true;
  335. dgrd_rpt.mergeCol(1) = true;
  336. dgrd_rpt.mergeCells = "byrowrec";
  337. } else {
  338. dgrd_rpt.mergeCol(0) = true;
  339. }
  340. }
  341. // 보고서 출력 버튼 활성화
  342. if ( attflag == "RR00821" || attflag == "RR00822" || attflag == "RR00827" || attflag == "RR00829" || attflag == "RR00844" || attflag == "RR00828" || attflag == "RR00820" || attflag == "RR00701"|| attflag == "RR00730"|| attflag == "RR00736")
  343. {
  344. import1.group1.button2.attribute("visibility") = "visible";
  345. // 진료실적 일보. 보직자용 출력버튼 visible. 2008.11.21 syjung
  346. if (attflag == "RR00701") {
  347. // import1.group1.btn_print2.attribute("visibility") = "visible";
  348. }
  349. }
  350. // grid sort
  351. if ( attflag == "RR01147" || attflag == "RR01142" || attflag == "RR01143" || attflag == "RR01147" || attflag == "RR01148" || attflag == "RR01149" || attflag == "RR01146")
  352. {
  353. dgrd_rpt.attribute("explorerbar") = "sortshow";
  354. }
  355. // 환자번호 조회조건에 추가
  356. if ( attflag == "RR00820" || attflag == "RR00821" || attflag == "RR00822" || attflag == "RR00833" || attflag == "RR00834" || attflag == "RR00835" || attflag == "RR00836" || attflag == "RR00837" || attflag == "RR00839" || attflag == "RR00843" || attflag == "RR00844" )
  357. {
  358. import1.group1.in_pid.attribute("visibility") = "visible";
  359. } else {
  360. import1.group1.in_pid.attribute("visibility") = "hidden";
  361. }
  362. // 외래수익일보 Row 에 색상추가
  363. if ( attflag == "RR00821" )
  364. {
  365. dgrd_rpt.rowStyle(1, "data", "background-color") = "#dddddd";
  366. dgrd_rpt.rowStyle(28, "data", "background-color") = "#dddddd";
  367. dgrd_rpt.rowStyle(55, "data", "background-color") = "#dddddd";
  368. dgrd_rpt.rowStyle(59, "data", "background-color") = "#dddddd";
  369. dgrd_rpt.rowStyle(76, "data", "background-color") = "#dddddd";
  370. dgrd_rpt.rowStyle(80, "data", "background-color") = "#dddddd";
  371. dgrd_rpt.rowStyle(85, "data", "background-color") = "#dddddd";
  372. } else {
  373. //
  374. }
  375. if ( attflag == "RR00701" || attflag == "RR00702" ) {
  376. cap_option_RR00701.visible = true;
  377. setParameter("extflag", "Y");
  378. setParameter("screenid", "RR00701");
  379. }
  380. // 입원수익일보 Row 에 색상추가
  381. if ( attflag == "RR00822" )
  382. {
  383. dgrd_rpt.rowStyle(1, "data", "background-color") = "#dddddd";
  384. dgrd_rpt.rowStyle(27, "data", "background-color") = "#dddddd";
  385. dgrd_rpt.rowStyle(70, "data", "background-color") = "#dddddd";
  386. dgrd_rpt.rowStyle(73, "data", "background-color") = "#dddddd";
  387. dgrd_rpt.rowStyle(90, "data", "background-color") = "#dddddd";
  388. dgrd_rpt.rowStyle(95, "data", "background-color") = "#dddddd";
  389. dgrd_rpt.rowStyle(99, "data", "background-color") = "#dddddd";
  390. } else {
  391. //
  392. }
  393. // 재원퇴원 심사현황 Row Head Visible
  394. if ( attflag == "RR01146" )
  395. {
  396. dgrd_rpt.rowheader = "seq";
  397. dgrd_rpt.refresh();
  398. }
  399. // 2008.12.11 syjung 셀카피,열카피,행카피 버튼 visible
  400. if ( attflag == "RR01147" || attflag == "RR01148" || attflag == "RR00756" || attflag == "RR01141" || attflag == "RR01140" ||
  401. attflag == "RR00730" || attflag == "RR00732" || attflag == "RR00736" || attflag == "RR00742" || attflag == "RR01149" ||
  402. attflag == "RR01139" || attflag == "RR01138" || attflag == "RR01142" || attflag == "RR01146" || attflag == "RR01143" )
  403. {
  404. btn_cell.visible = true;
  405. btn_col.visible = true;
  406. btn_row.visible = true;
  407. }
  408. if (attflag == "RR00736") {
  409. cap_option.attribute("text") = "※삭감구성비=(각 항목 삭감액/전체삭감액)*100"
  410. cap_option.visible = true;
  411. } else if (attflag == "RR00742") {
  412. cap_option.attribute("text") = "※삭감구성비=(의사별,처방별 삭감액/전체삭감액)*100"
  413. cap_option.visible = true;
  414. } else {
  415. cap_option.visible = false;
  416. }
  417. if (attflag == "RR00819") {
  418. cap_option_RR00819.visible = true;
  419. } else {
  420. cap_option_RR00819.visible = false;
  421. }
  422. if (attflag == "RR00820") {
  423. cap_option_RR00820.visible = true;
  424. } else {
  425. cap_option_RR00820.visible = false;
  426. }
  427. // 2009.05.15 syjung 파일생성,생성로그 버튼 visible
  428. if (attflag == "RR00834" || attflag == "RR00835" || attflag == "RR00839" || attflag == "RR00831" || attflag == "RR00837" || attflag == "RR00820"
  429. || attflag == "RR00828" || attflag == "RR00845" || attflag == "RR00844" || attflag == "RR00843" || attflag == "RR00842" || attflag == "RR00840"
  430. || attflag == "RR00836" || attflag == "RR00833" || attflag == "RR00829" || attflag == "RR00827" || attflag == "RR00823" || attflag == "RR00837"
  431. || attflag == "RR00822" || attflag == "RR00821" || attflag == "RR00819" || attflag == "RR01099" || attflag== "RR01098"
  432. || attflag == "RR00793" || attflag == "RR00712" ) {
  433. btn_download.visible = true;
  434. btn_log.visible = true;
  435. } else {
  436. btn_download.visible = false;
  437. btn_log.visible = false;
  438. }
  439. if ( attflag == "RR01100" ) {
  440. btn_download1.visible = true;
  441. btn_log1.visible = true;
  442. } else {
  443. btn_download1.visible = false;
  444. btn_log1.visible = false;
  445. }
  446. if (attflag=="RR00713" || attflag=="RR00714"){
  447. import1.group1.ipt_procdd.attribute("visibility") = "hidden";
  448. import1.group1.input1.attribute("visibility") = "hidden";
  449. }
  450. model.refresh();
  451. ]]>
  452. </script>
  453. <submission id="TXSTC00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init/inp_cmmt" resultref="/root/main/result"/>
  454. </model>
  455. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  456. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  457. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  458. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  459. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  460. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  461. </xhtml:head>
  462. <xhtml:body pagewidth="1160" pageheight="780" style="font-family:돋움, Arial; font-size:12px; color:#4d4d4d; ">
  463. <group id="group1" style="left:0px; top:0px; width:1155px; height:773px; ">
  464. <import id="import1" src="../../../sts/stscomweb/xrw/SSSTC00500_통합조회조건.xrw" appearance="import" style="left:0px; top:0px; width:1155px; height:150px; "/>
  465. <caption id="caption26" class="tit_2" style="left:0px; top:145px; width:113px; height:13px; ">통계장표 내역</caption>
  466. <datagrid id="dgrd_rpt" nodeset="/root/init/rptm_grid/ret" class="grd_first" caption="caption1^caption2" colsep="^" colwidth="20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20," explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:165px; width:1142px; height:600px; ">
  467. <col ref="col1" type="output"/>
  468. <col ref="col2" type="output"/>
  469. <col ref="col3" type="output"/>
  470. <col ref="col4" type="output"/>
  471. <col ref="col5" type="output"/>
  472. <col ref="col6" type="output"/>
  473. <col ref="col7" type="output"/>
  474. <col ref="col8" type="output"/>
  475. <col ref="col9" type="output"/>
  476. <col ref="col10" type="output"/>
  477. <col ref="col11" type="output"/>
  478. <col ref="col12" type="output"/>
  479. <col ref="col13" type="output"/>
  480. <col ref="col14" type="output"/>
  481. <col ref="col15" type="output"/>
  482. <col ref="col16" type="output"/>
  483. <col ref="col17" type="output"/>
  484. <col ref="col18" type="output"/>
  485. <col ref="col19" type="output"/>
  486. <col ref="col20" type="output"/>
  487. <col ref="col21" type="output"/>
  488. <col ref="col22" type="output"/>
  489. <col ref="col23" type="output"/>
  490. <col ref="col24" type="output"/>
  491. <col ref="col25" type="output"/>
  492. <col ref="col26" type="output"/>
  493. <col ref="col27" type="output"/>
  494. <col ref="col28" type="output"/>
  495. <col ref="col29" type="output"/>
  496. <col ref="col30" type="output"/>
  497. <col ref="col31" type="output"/>
  498. <col ref="col32" type="output"/>
  499. <col ref="col33" type="output"/>
  500. <col ref="col34" type="output"/>
  501. <col ref="col35" type="output"/>
  502. <col ref="col36" type="output"/>
  503. <col ref="col37" type="output"/>
  504. <col ref="col38" type="output"/>
  505. <col ref="col39" type="output"/>
  506. <col ref="col40" type="output"/>
  507. <col ref="col41" type="output"/>
  508. <col ref="col42" type="output"/>
  509. <col ref="col43" type="output"/>
  510. <col ref="col44" type="output"/>
  511. <col ref="col45" type="output"/>
  512. <col ref="col46" type="output"/>
  513. <col ref="col47" type="output"/>
  514. <col ref="col48" type="output"/>
  515. <col ref="col49" type="output"/>
  516. <col ref="col50" type="output"/>
  517. <col ref="col51" type="output"/>
  518. <col ref="col52" type="output"/>
  519. <col ref="col53" type="output"/>
  520. <col ref="col54" type="output"/>
  521. <col ref="col55" type="output"/>
  522. <col ref="col56" type="output"/>
  523. <col ref="col57" type="output"/>
  524. <col ref="col58" type="output"/>
  525. <col ref="col59" type="output"/>
  526. <col ref="col60" type="output"/>
  527. <col ref="col61" type="output"/>
  528. <col ref="col62" type="output"/>
  529. <col ref="col63" type="output"/>
  530. <col ref="col64" type="output"/>
  531. <col ref="col65" type="output"/>
  532. <col ref="col66" type="output"/>
  533. <col ref="col67" type="output"/>
  534. <col ref="col68" type="output"/>
  535. <col ref="col69" type="output"/>
  536. <col ref="col70" type="output"/>
  537. <col ref="col71" type="output"/>
  538. <col ref="col72" type="output"/>
  539. <col ref="col73" type="output"/>
  540. <col ref="col74" type="output"/>
  541. <col ref="col75" type="output"/>
  542. <col ref="col76" type="output"/>
  543. <col ref="col77" type="output"/>
  544. <col ref="col78" type="output"/>
  545. <col ref="col79" type="output"/>
  546. <col ref="col80" type="output"/>
  547. <col ref="col81" type="output"/>
  548. <col ref="col82" type="output"/>
  549. <col ref="col83" type="output"/>
  550. <col ref="col84" type="output"/>
  551. <col ref="col85" type="output"/>
  552. <col ref="col86" type="output"/>
  553. <col ref="col87" type="output"/>
  554. <col ref="col88" type="output"/>
  555. <col ref="col89" type="output"/>
  556. <col ref="col90" type="output"/>
  557. <col ref="col91" type="output"/>
  558. <col ref="col92" type="output"/>
  559. <col ref="col93" type="output"/>
  560. <col ref="col94" type="output"/>
  561. <col ref="col95" type="output"/>
  562. <col ref="col96" type="output"/>
  563. <col ref="col97" type="output"/>
  564. <col ref="col98" type="output"/>
  565. <col ref="col99" type="output"/>
  566. <col ref="col100" type="output"/>
  567. <col ref="col101" type="output"/>
  568. <col ref="col102" type="output"/>
  569. <col ref="col103" type="output"/>
  570. <col ref="col104" type="output"/>
  571. <col ref="col105" type="output"/>
  572. <col ref="col106" type="output"/>
  573. <col ref="col107" type="output"/>
  574. <col ref="col108" type="output"/>
  575. <col ref="col109" type="output"/>
  576. <col ref="col110" type="output"/>
  577. <col ref="col111" type="output"/>
  578. <col ref="col112" type="output"/>
  579. <col ref="col113" type="output"/>
  580. <col ref="col114" type="output"/>
  581. <col ref="col115" type="output"/>
  582. <col ref="col116" type="output"/>
  583. <col ref="col117" type="output"/>
  584. <col ref="col118" type="output"/>
  585. <col ref="col119" type="output"/>
  586. <col ref="col120" type="output"/>
  587. <col ref="col121" type="output"/>
  588. <col ref="col122" type="output"/>
  589. <col ref="col123" type="output"/>
  590. <col ref="col124" type="output"/>
  591. <col ref="col125" type="output"/>
  592. <col ref="col126" type="output"/>
  593. <col ref="col127" type="output"/>
  594. <col ref="col128" type="output"/>
  595. <col ref="col129" type="output"/>
  596. <col ref="col130" type="output"/>
  597. <col ref="col131" type="output"/>
  598. <col ref="col132" type="output"/>
  599. <col ref="col133" type="output"/>
  600. <col ref="col134" type="output"/>
  601. <col ref="col135" type="output"/>
  602. <col ref="col136" type="output"/>
  603. <col ref="col137" type="output"/>
  604. <col ref="col138" type="output"/>
  605. <col ref="col139" type="output"/>
  606. <col ref="col140" type="output"/>
  607. <col ref="col141" type="output"/>
  608. <col ref="col142" type="output"/>
  609. <col ref="col143" type="output"/>
  610. <col ref="col144" type="output"/>
  611. <col ref="col145" type="output"/>
  612. <col ref="col146" type="output"/>
  613. <col ref="col147" type="output"/>
  614. <col ref="col148" type="output"/>
  615. <col ref="col149" type="output"/>
  616. <col ref="col150" type="output"/>
  617. <col ref="col151" type="output"/>
  618. <col ref="col152" type="output"/>
  619. <col ref="col153" type="output"/>
  620. <col ref="col154" type="output"/>
  621. <col ref="col155" type="output"/>
  622. <col ref="col156" type="output"/>
  623. <col ref="col157" type="output"/>
  624. <col ref="col158" type="output"/>
  625. <col ref="col159" type="output"/>
  626. <col ref="col160" type="output"/>
  627. <col ref="col161" type="output"/>
  628. <col ref="col162" type="output"/>
  629. <col ref="col163" type="output"/>
  630. <col ref="col164" type="output"/>
  631. <col ref="col165" type="output"/>
  632. <col ref="col166" type="output"/>
  633. <col ref="col167" type="output"/>
  634. <col ref="col168" type="output"/>
  635. <col ref="col169" type="output"/>
  636. <col ref="col170" type="output"/>
  637. <col ref="col171" type="output"/>
  638. <col ref="col172" type="output"/>
  639. <col ref="col173" type="output"/>
  640. <col ref="col174" type="output"/>
  641. <col ref="col175" type="output"/>
  642. <col ref="col176" type="output"/>
  643. <col ref="col177" type="output"/>
  644. <col ref="col178" type="output"/>
  645. <col ref="col179" type="output"/>
  646. <col ref="col180" type="output"/>
  647. <col ref="col181" type="output"/>
  648. <col ref="col182" type="output"/>
  649. <col ref="col183" type="output"/>
  650. <col ref="col184" type="output"/>
  651. <col ref="col185" type="output"/>
  652. <col ref="col186" type="output"/>
  653. <col ref="col187" type="output"/>
  654. <col ref="col188" type="output"/>
  655. <col ref="col189" type="output"/>
  656. <col ref="col190" type="output"/>
  657. <col ref="col191" type="output"/>
  658. <col ref="col192" type="output"/>
  659. <col ref="col193" type="output"/>
  660. <col ref="col194" type="output"/>
  661. <col ref="col195" type="output"/>
  662. <col ref="col196" type="output"/>
  663. <col ref="col197" type="output"/>
  664. <col ref="col198" type="output"/>
  665. <col ref="col199" type="output"/>
  666. <col ref="col200" type="output"/>
  667. <script type="javascript" ev:event="ondblclick">
  668. <![CDATA[
  669. var flag = getScreenMenuParameter().substr(6,7);
  670. if (flag=="RR01147" || flag=="RR01148" || flag=="RR01149" )
  671. {
  672. if ( isDataCell() && model.getValue("/root/init/rptm_grid/ret[" + dgrd_rpt.row + " - 1 ]/col3") != " ")
  673. {
  674. modal("SPSTC00100", "1", "100", "100", "SPSTC00100", "", "", "left:100; top:100; width:1200; height:650; sysmenu:visible; min:visible; max:true; resize:true; caption:visible;" , false);
  675. }
  676. }
  677. else if(flag=="RR00701")
  678. {
  679. if (isDataCell() == true){
  680. if(dgrd_rpt.cellStyle("font-weight",dgrd_rpt.row,2) == "bold")
  681. {
  682. var srow = dgrd_rpt.row - 1;
  683. var strfilenm=model.getValue("/root/init/rptm_grid/ret["+srow+"]/col3");
  684. model.makeNode("root/hidden/chart/info/in_fromdd");
  685. model.makeNode("root/hidden/chart/info/in_todd");
  686. model.makeNode("root/hidden/chart/info/chartselect");
  687. model.makeNode("root/hidden/chart/info/sumkind");
  688. model.makeNode("root/hidden/chart/info/gbweek");
  689. if (model.getValue("root/send/in_cond1") == "01")
  690. {
  691. if(dgrd_rpt.col == 3)
  692. {
  693. model.setValue("root/hidden/chart/info/in_fromdd", model.getValue("root/send/in_todd").substr(0,6) + "01");
  694. model.setValue("root/hidden/chart/info/in_todd", model.getValue("root/send/in_todd"));
  695. model.setValue("root/hidden/chart/info/sumkind",model.getValue("root/send/in_cond1"));
  696. model.setValue("root/hidden/chart/info/chartselect", srow);
  697. model.setValue("root/hidden/chart/info/gbweek",model.getValue("/root/init/rptm_grid/ret["+srow+"]/col2"));
  698. modal("SPSTP03001", "1", "100", "100", "", "root/hidden/chart", "root/init/chart");
  699. }
  700. else if(dgrd_rpt.col == 4)
  701. {
  702. model.setValue("root/hidden/chart/info/in_fromdd", model.getValue("root/send/in_todd").substr(0,4) + "01");
  703. model.setValue("root/hidden/chart/info/in_todd", model.getValue("root/send/in_todd").substr(0,6));
  704. model.setValue("root/hidden/chart/info/sumkind","02");
  705. model.setValue("root/hidden/chart/info/chartselect", srow);
  706. model.setValue("root/hidden/chart/info/gbweek",model.getValue("/root/init/rptm_grid/ret["+srow+"]/col2"));
  707. modal("SPSTP03001", "1", "100", "100", "", "root/hidden/chart", "root/init/chart");
  708. }
  709. }
  710. else if (model.getValue("root/send/in_cond1") == "02")
  711. {
  712. model.setValue("root/hidden/chart/info/in_fromdd", model.getValue("root/send/in_todd").substr(0,4) + "01");
  713. model.setValue("root/hidden/chart/info/in_todd", model.getValue("root/send/in_todd").substr(0,6));
  714. model.setValue("root/hidden/chart/info/sumkind",model.getValue("root/send/in_cond1"));
  715. model.setValue("root/hidden/chart/info/chartselect", srow);
  716. model.setValue("root/hidden/chart/info/gbweek",model.getValue("/root/init/rptm_grid/ret["+srow+"]/col2"));
  717. modal("SPSTP03001", "1", "100", "100", "", "root/hidden/chart", "root/init/chart");
  718. }
  719. else if (model.getValue("root/send/in_cond1") == "03")
  720. {
  721. model.setValue("root/hidden/chart/info/in_fromdd", "2011");
  722. model.setValue("root/hidden/chart/info/in_todd", model.getValue("root/send/in_todd").substr(0,4));
  723. model.setValue("root/hidden/chart/info/sumkind",model.getValue("root/send/in_cond1"));
  724. model.setValue("root/hidden/chart/info/chartselect", srow);
  725. model.setValue("root/hidden/chart/info/gbweek",model.getValue("/root/init/rptm_grid/ret["+srow+"]/col2"));
  726. modal("SPSTP03001", "1", "100", "100", "", "root/hidden/chart", "root/init/chart");
  727. }
  728. }
  729. }
  730. }
  731. ]]>
  732. </script>
  733. <script type="javascript" ev:event="onaftersort">
  734. <![CDATA[
  735. // dgrd_rpt.gridToInstance();
  736. var attflag = getScreenMenuParameter().substr(6,7);
  737. if (attflag=="RR01147" || attflag == "RR01148" || attflag == "RR01149") {
  738. var currow = dgrd_rpt.row;
  739. var curcol = dgrd_rpt.col;
  740. if(currow == 0){ //grid sort
  741. if(sORDERBY == "asc"){
  742. sORDERBY = "desc";
  743. }else{
  744. sORDERBY = "asc";
  745. }
  746. nodeListSort(dgrd_rpt.nodeset, dgrd_rpt.colAttribute(curcol, "ref"), sORDERBY);
  747. dgrd_rpt.refresh();
  748. }
  749. } else {
  750. dgrd_rpt.gridToInstance();
  751. }
  752. ]]>
  753. </script>
  754. <script type="javascript" ev:event="oncopy">
  755. <![CDATA[
  756. grid_oncopy();
  757. ]]>
  758. </script>
  759. </datagrid>
  760. <group id="group5" visibility="hidden" style="left:370px; top:275px; width:400px; height:145px; ">
  761. <!--shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:215px; height:215px; background-color:#d2d2d2; border-color:#ffd799; "/-->
  762. <button id="button3" class="btn4_letter2" style="left:278px; top:117px; width:56px; height:22px; ">
  763. <caption>저장</caption>
  764. <script type="javascript" ev:event="onclick">
  765. <![CDATA[
  766. group5.visible = false;
  767. ]]>
  768. </script>
  769. <script type="javascript" ev:event="DOMActivate">
  770. <![CDATA[
  771. if(model.getValue("/root/init/inp_cmmt/in_cmmt") == "" ){
  772. messageBox("특이사항이 입력되지 않았습니다. 입력 후 다시 저장하세요. " , "C001");
  773. return ;
  774. }
  775. model.setValue("/root/init/inp_cmmt/in_enddd",model.getValue("/root/send/in_fromdd"));
  776. submit("TXSTC00100");
  777. ]]>
  778. </script>
  779. </button>
  780. <button id="button4" class="btn4_letter2" style="left:335px; top:117px; width:56px; height:22px; ">
  781. <caption>닫기</caption>
  782. <script type="javascript" ev:event="DOMActivate">
  783. <![CDATA[
  784. group5.visible = false;
  785. ]]>
  786. </script>
  787. </button>
  788. <caption id="caption13" class="tit_2" style="left:10px; top:6px; width:177px; height:13px; ">특이사항 입력</caption>
  789. <line id="line3" class="line_1" style="x1:10px; y1:21px; x2:390px; y2:21px; "/>
  790. <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:1px; top:1px; width:399px; height:142px; "/>
  791. <textarea id="txtbox_cmmt" ref="/root/init/inp_cmmt/in_cmmt" disabled="false" style="left:10px; top:26px; width:380px; height:86px; "/>
  792. </group>
  793. <button id="btn_cell" class="btn2_letter3" visibility="hidden" style="left:972px; top:139px; width:53px; height:19px; ">
  794. <caption>셀카피</caption>
  795. <script type="javascript" ev:event="onclick">
  796. <![CDATA[
  797. dgrd_rpt.attribute("selectionmode") = "free";
  798. ]]>
  799. </script>
  800. </button>
  801. <button id="btn_col" class="btn2_letter3" visibility="hidden" style="left:1027px; top:139px; width:53px; height:19px; ">
  802. <caption>열카피</caption>
  803. <script type="javascript" ev:event="onclick">
  804. <![CDATA[
  805. dgrd_rpt.attribute("selectionmode") = "bycol";
  806. ]]>
  807. </script>
  808. </button>
  809. <button id="btn_row" class="btn2_letter3" visibility="hidden" style="left:1082px; top:139px; width:53px; height:19px; ">
  810. <caption>행카피</caption>
  811. <script type="javascript" ev:event="onclick">
  812. <![CDATA[
  813. dgrd_rpt.attribute("selectionmode") = "byrow";
  814. ]]>
  815. </script>
  816. </button>
  817. <caption id="cap_option" visibility="hidden" style="left:625px; top:141px; width:332px; height:20px; font-weight:bold; color:#000000; ">※삭감구성비=(각 항목 삭감액/전체삭감액)*100</caption>
  818. <caption id="cap_option_RR00819" visibility="hidden" style="left:790px; top:135px; width:350px; height:32px; font-weight:bold; color:#000000; line-spacing:2; ">※ 의료수익 : 전체 총진료비 ※ 지정진료수익 : 특진금액</caption>
  819. <caption id="cap_option_RR00820" visibility="hidden" style="left:625px; top:141px; width:500px; height:20px; font-weight:bold; color:#000000; ">※증명서수익: 최종순익에서 제외되지는 않고 증명서수익만 별도로 나타내어짐</caption>
  820. <caption id="cap_option_RR00701" visibility="hidden" style="left:0px; top:100px; width:1154px; height:49px; font-size:8pt; font-weight:bold; color:#3366ff; line-spacing:2; ">
  821. <![CDATA[ * 응급실(ERBD),일일수술실(DSC),화학요법실(CHEMO) 환자는 외래환자수에 포함됨.
  822. * "병상수" 지표는 [병실정보관리]의 가동병상에서 응급실,임상시험센터,화학요법실,일일입원실 병상 제외이며, 입원인원 관련 지표는 이 "병상수"에 해당하는 병상에 재원중인 환자만을 대상으로 함.]]>
  823. </caption>
  824. </group>
  825. <line id="line1" class="line_1" style="x1:0px; y1:160px; x2:1142px; y2:160px; "/>
  826. </xhtml:body>
  827. </xhtml:html>