SMAEA05900_파트별처방조회.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAED00100.xrw
  4. * 설 명 : 치기공접수
  5. * 설 계 자 : 손승현
  6. * 작 성 자 : 손승현
  7. * 작 성 일 : 2010.09.26
  8. * 수정이력 : 2010.09.26 손승현 신규
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head tag="&quot;&quot;">
  14. <xhtml:title>영상의학 파트별 처방이력 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <execrcodelist>
  20. <execrcode>
  21. <sortno/>
  22. <basecd/>
  23. <basecdflagdesc/>
  24. <basecdcnts/>
  25. <basecdflag/>
  26. <basesuppdeptcd/>
  27. <seq/>
  28. </execrcode>
  29. </execrcodelist>
  30. <partprcplst>
  31. <item>
  32. <check1/>
  33. <orddrid/>
  34. <prcpdd/>
  35. <rgsttm/>
  36. <execprcpstatcd/>
  37. <dispexecprcpstatnm/>
  38. <prcpkindcd/>
  39. <prcpnm/>
  40. <wardcd/>
  41. <wardcddeptengabbr/>
  42. <roomcd/>
  43. <prcpexecdeptcd/>
  44. <inclprcpcd/>
  45. <excuroomnm/>
  46. <rgstdepthngnm/>
  47. <rgstridnm/>
  48. <prcpgenrflag/>
  49. <rsrvdt/>
  50. <execprcpuniqno/>
  51. <calcscorcd/>
  52. <prcpexecdeptcd/>
  53. <excuroomcd/>
  54. <excuroomgrpcd/>
  55. <rgstdeptcd/>
  56. <rgstrid/>
  57. <pid/>
  58. <portprcpflag/>
  59. <inflag/>
  60. <prcpno/>
  61. <prcphistno/>
  62. <rrgstno1/>
  63. <rrgstno2/>
  64. <sna/>
  65. <rcptacptyn/>
  66. <execbaseflag/>
  67. <lrgcd/>
  68. <mdlcd/>
  69. <excupartcd/>
  70. <modality/>
  71. <acptrem/>
  72. <execrem/>
  73. <reqagnphoyn/>
  74. <dyetrivialyn/>
  75. <acptdt/>
  76. <pacsnocretcdyn/>
  77. <pacsnocretyn/>
  78. <acptid/>
  79. <execrid1/>
  80. <execrid2/>
  81. <execrid3/>
  82. <execrid4/>
  83. <execdd/>
  84. <execdt/>
  85. <cnfmdt/>
  86. <ivinputyn/>
  87. <arvtm/>
  88. <excuexecfromdt1/>
  89. <excueqcd1/>
  90. <rslttmplcd/>
  91. <eqmtifyn/>
  92. <basecdflagdes/>
  93. <rcptno/>
  94. <prcpdelivefact/>
  95. <clinccmtcnts/>
  96. <patnm/>
  97. <payflagcd/>
  98. <rsrvdd/>
  99. <prcphopedd/>
  100. <orddepthngnm/>
  101. <orddrnm/>
  102. <cntctel/>
  103. <rcptdd/>
  104. <carecnfmdd/>
  105. <orddeptcd/>
  106. <orddd/>
  107. <actorddd/>
  108. <cretno/>
  109. <precureprcpflag/>
  110. <clincstdycd/>
  111. <basesuppdeptcd/>
  112. <migyn/>
  113. <prcpkindnm/>
  114. <section/>
  115. <phocntstats/>
  116. <pacsno/>
  117. <mdlcd/>
  118. <termengn/>
  119. </item>
  120. </partprcplst>
  121. </main>
  122. <send>
  123. <srch>
  124. <srchfromdd/>
  125. <srchtodd/>
  126. <grupcdid/>
  127. <suppdeptcd/>
  128. <dutplceinstcd/>
  129. <basesuppdeptcd/>
  130. <srchprodid/>
  131. <srchinitsect/>
  132. <srchexcuroomgrp/>
  133. <prcpcment/>
  134. <execprcpuniqno/>
  135. <prcpdd/>
  136. <acptrem/>
  137. <srchflag/>
  138. <execrem/>
  139. <srchexecroom/>
  140. </srch>
  141. <globalinstance>
  142. <instance1/>
  143. </globalinstance>
  144. <basecd/>
  145. <basecdflag/>
  146. <instcd/>
  147. <selectallyn/>
  148. <prntnum/>
  149. <bolpart/>
  150. <bolindi/>
  151. <excuroomgrpcdid/>
  152. </send>
  153. <init>
  154. <baseinfo>
  155. <initinsukind/>
  156. </baseinfo>
  157. <cmb_section/>
  158. <cmb_info2/>
  159. </init>
  160. <hidden>
  161. <item>
  162. <count/>
  163. </item>
  164. </hidden>
  165. <temp>
  166. <templst/>
  167. </temp>
  168. <rexprnt>
  169. <srchfromdd/>
  170. <srchtodd/>
  171. <excuroomgrp/>
  172. <initsect/>
  173. <partprcplst/>
  174. <execroom/>
  175. </rexprnt>
  176. <rexdata>
  177. <partprcplst/>
  178. </rexdata>
  179. </root>
  180. </instance>
  181. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  182. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  183. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  184. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  185. <script type="javascript" src="../../../ast/dentalcraftweb/js/dentalcraftcombolist.js"/>
  186. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  187. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  188. <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
  189. <script type="javascript" ev:event="xforms-ready">
  190. <![CDATA[
  191. fGetScreenInit();
  192. fGetComboInit();
  193. ]]>
  194. </script>
  195. <submission id="TRAVB00001"/>
  196. <submission id="TRAAA00001"/>
  197. <submission id="TRZBC00101"/>
  198. <!-- SECTION 정보 가져오기-->
  199. <submission id="TRAEF00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_section"/>
  200. <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
  201. <submission id="TRAEA05900" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/partprcplst"/>
  202. <submission id="TXAEA01304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/count"/>
  203. <submission id="TXAER01202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  204. <submission id="TRAEA01306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
  205. </model>
  206. <script type="javascript">
  207. <![CDATA[
  208. /**
  209. * 콤보 초기화
  210. */
  211. function fGetComboInit() {
  212. aezfSetSuppDeptcd();
  213. model.setValue("/root/send/srch/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  214. // Section 정보
  215. submit("TRAEF00203");
  216. // 구분 정보
  217. submit("TRAEA01301");
  218. model.removeNodeset("/root/init/cmb_info/initexecroom");
  219. var cnt = getNodesetCount("/root/init/cmb_info/initexecroom");
  220. for( var i = 1; i <= cnt ; i++ ){
  221. model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
  222. model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/init/cmb_info/initexecroom[" + i + "]");
  223. }
  224. // 검사실 Combo박스 전체추가
  225. addComboItem("cmb_exroom", "-- 전체 --", "all", "above");
  226. cmb_exroom.select(0);
  227. cmb_exroom.value = "all";
  228. bool_part.selected = true;
  229. bool_indi.selected = true;
  230. model.refresh();
  231. }
  232. /**
  233. * 화면 기본 초기화
  234. */
  235. function fGetScreenInit() {
  236. model.resetInstanceNode("/root/send");
  237. model.setValue("/root/send/srch/srchfromdd", getCurrentDate() );
  238. model.setValue("/root/send/srch/srchtodd", getCurrentDate() );
  239. model.setValue("/root/send/prntnum", "1");
  240. model.setValue("/root/send/srch/srchflag", "A");
  241. model.refresh();
  242. }
  243. ]]>
  244. </script>
  245. </xhtml:head>
  246. <xhtml:body guideline="1,1217;2,885;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  247. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  248. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">영상의학 파트별 처방이력 관리</caption>
  249. </group>
  250. <group id="grp_btn" style="left:5px; top:745px; width:1185px; height:27px; ">
  251. <button id="btn_prt" class="btn6_letter10" navindex="6" style="left:1px; top:3px; width:56px; height:22px; ">
  252. <caption>파트별 처방이력 출력</caption>
  253. <script type="javascript" ev:event="DOMActivate">
  254. <![CDATA[
  255. model.resetInstanceNode("/root/rexprnt");
  256. model.removeNodeset("/root/rexprnt/partprcplst");
  257. var partCnt = getNodesetCount("/root/main/partprcplst/item");
  258. if( partCnt > 0 ) {
  259. if( model.getValue("/root/send/srch/srchexcuroomgrp") != "" ) {
  260. model.setValue("/root/rexprnt/excuroomgrp", cmb_excuroomgrp.label );
  261. } else {
  262. model.setValue("/root/rexprnt/excuroomgrp", "" );
  263. }
  264. if( model.getValue("/root/send/srch/srchinitsect") != "" ) {
  265. model.setValue("/root/rexprnt/initsect", cmb_initsect.label );
  266. } else {
  267. model.setValue("/root/rexprnt/initsect", "" );
  268. }
  269. if( model.getValue("/root/send/srch/srchexecroom") != "all" && model.getValue("/root/send/srch/srchexecroom") != "" ){
  270. model.setValue("/root/rexprnt/execroom", cmb_exroom.label );
  271. }else{
  272. model.setValue("/root/rexprnt/execroom", "" );
  273. }
  274. model.setValue("/root/rexprnt/srchfromdd", ipt_srchfromdd.label );
  275. model.setValue("/root/rexprnt/srchtodd", ipt_srchtodd.label );
  276. // 체크구분 ==> 전체출력
  277. var chckflag = 0;
  278. for (var a = 1 ; a <= partCnt ; a++ ) {
  279. if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
  280. chckflag++;
  281. }
  282. }
  283. var idx = 1;
  284. if( chckflag > 0 ) {
  285. for (var a = 1 ; a <= partCnt ; a++ ) {
  286. if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
  287. model.makeNode("/root/rexprnt/partprcplst/item["+ idx +"]");
  288. model.copyNode("/root/rexprnt/partprcplst/item["+ idx +"]" , "/root/main/partprcplst/item[" + a + "]");
  289. model.setValue("/root/rexprnt/partprcplst/item["+ idx +"]/acptdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/acptdt"));
  290. model.setValue("/root/rexprnt/partprcplst/item["+ idx +"]/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/rsrvdt"));
  291. idx++;
  292. }
  293. }
  294. } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
  295. for (var i = 1 ; i <= partCnt ; i++ ) {
  296. model.makeNode("/root/rexprnt/partprcplst/item["+ i +"]");
  297. model.copyNode("/root/rexprnt/partprcplst/item["+ i +"]" , "/root/main/partprcplst/item[" + i + "]");
  298. model.setValue("/root/rexprnt/partprcplst/item["+ i +"]/acptdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/acptdt"));
  299. model.setValue("/root/rexprnt/partprcplst/item["+ i +"]/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/rsrvdt"));
  300. }
  301. }
  302. if( model.getValue("/root/send/bolpart") == "true"){
  303. exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  304. }else{
  305. exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  306. }
  307. model.refresh();
  308. }
  309. ]]>
  310. </script>
  311. </button>
  312. <button id="button1" class="btn6_letter10" navindex="7" style="left:235px; top:3px; width:156px; height:22px; ">
  313. <caption>개인별 처방이력 출력</caption>
  314. <script type="javascript" ev:event="DOMActivate">
  315. <![CDATA[
  316. var partCnt = getNodesetCount("/root/main/partprcplst/item");
  317. if( partCnt > 0 ) {
  318. var temp = 0;
  319. // Check 확인
  320. for( var i = 1 ; i <= partCnt ; i++ ) {
  321. if( model.getValue("/root/main/partprcplst/item[" + i + "]/check1") == "Y" ) {
  322. temp++;
  323. }
  324. }
  325. var idx = 1;
  326. var num = model.getValue("/root/send/prntnum");
  327. if( temp > 0 ) {
  328. for (var a = 1 ; a <= partCnt ; a++ ) {
  329. if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
  330. model.makeNode("/root/rexdata/partprcplst/item");
  331. model.copyNode("/root/rexdata/partprcplst/item" , "/root/main/partprcplst/item[" + a + "]");
  332. model.setValue("/root/rexdata/partprcplst/item/acptdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/acptdt").substring(0,8));
  333. model.setValue("/root/rexdata/partprcplst/item/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + a + "]/rsrvdt"));
  334. idx++;
  335. for( var j = 1 ; j <= num ; j++) {
  336. if( model.getValue("/root/send/bolindi") == "true"){
  337. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  338. }else{
  339. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  340. }
  341. }
  342. model.removeNodeset("/root/rexdata/partprcplst/item");
  343. }
  344. }
  345. } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
  346. for (var i = 1 ; i <= partCnt ; i++ ) {
  347. model.makeNode("/root/rexdata/partprcplst/item");
  348. model.copyNode("/root/rexdata/partprcplst/item" , "/root/main/partprcplst/item[" + i + "]");
  349. model.setValue("/root/rexdata/partprcplst/item/acptdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/acptdt").substring(0,8));
  350. model.setValue("/root/rexdata/partprcplst/item/rsrvdt" , model.getValue("/root/main/partprcplst/item[" + i + "]/rsrvdt"));
  351. for( var j = 1 ; j <= num ; j++) {
  352. if( model.getValue("/root/send/bolindi") == "true"){
  353. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  354. }else{
  355. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  356. }
  357. }
  358. model.removeNodeset("/root/rexdata/partprcplst/item");
  359. }
  360. }
  361. model.refresh();
  362. }
  363. ]]>
  364. </script>
  365. </button>
  366. <input id="ipt_prntnum" ref="/root/send/prntnum" style="left:390px; top:4px; width:20px; height:19px; "/>
  367. <bool id="bool_part" ref="/root/send/bolpart" style="left:152px; top:4px; width:25px; height:20px; "/>
  368. <bool id="bool_indi" ref="/root/send/bolindi" style="left:410px; top:4px; width:25px; height:20px; "/>
  369. <caption id="caption5" style="left:177px; top:5px; width:50px; height:20px; ">미리보기</caption>
  370. <caption id="caption7" style="left:433px; top:5px; width:50px; height:20px; ">미리보기</caption>
  371. </group>
  372. <group id="grp_main" scroll="auto" style="left:0px; top:15px; width:1190px; height:732px; ">
  373. <group id="grp_srch" style="left:0px; top:7px; width:1185px; height:35px; vertical-align:top; ">
  374. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1184px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  375. <line id="line16" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
  376. <button id="btn_select" class="btn1_letter2" navindex="5" style="left:1118px; top:7px; width:56px; height:22px; ">
  377. <caption>조회</caption>
  378. <script type="javascript" ev:event="DOMActivate">
  379. <![CDATA[
  380. submit("TRAEA05900");
  381. var row = getNodesetCount("/root/main/partprcplst/item");
  382. for(var i = 1 ; i <= row ; i++){
  383. if(model.getValue("/root/main/partprcplst/item["+i+"]/cnfmdt") == "00000000000000" ) {
  384. model.setValue("/root/main/partprcplst/item["+i+"]/cnfmdt", "-")
  385. }
  386. model.setValue("/root/main/partprcplst/item["+i+"]/prcpdd", model.getValue("/root/main/partprcplst/item["+i+"]/prcpdd") + model.getValue("/root/main/partprcplst/item["+i+"]/rgsttm"))
  387. }
  388. model.refresh();
  389. ]]>
  390. </script>
  391. </button>
  392. <input id="ipt_srchtodd" ref="/root/send/srch/srchtodd" class="input_s_essential" navindex="4" inputtype="date" style="left:787px; top:8px; width:100px; height:19px; "/>
  393. <input id="ipt_srchfromdd" ref="/root/send/srch/srchfromdd" class="input_s_essential" navindex="3" inputtype="date" style="left:661px; top:8px; width:100px; height:19px; "/>
  394. <caption id="lbl_srchdd" class="search_name" style="left:8px; top:9px; width:86px; height:17px; ">구분 :</caption>
  395. <caption id="lbl_~" class="search_no_b" style="left:768px; top:10px; width:12px; height:17px; ">~</caption>
  396. <caption id="caption1" class="search_name" style="left:361px; top:9px; width:94px; height:17px; ">SECTION :</caption>
  397. <select1 id="cmb_initsect" ref="/root/send/srch/srchinitsect" class="combo_search" navindex="2" appearance="minimal" style="left:460px; top:8px; width:100px; height:19px; ">
  398. <choices>
  399. <itemset nodeset="/root/init/cmb_section/initsection">
  400. <label ref="sectionnm"/>
  401. <value ref="sectionid"/>
  402. </itemset>
  403. </choices>
  404. </select1>
  405. <select1 id="cmb_excuroomgrp" ref="/root/send/srch/srchexcuroomgrp" class="combo_search" navindex="1" appearance="minimal" style="left:73px; top:8px; width:80px; height:19px; ">
  406. <choices>
  407. <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
  408. <label ref="excuroomgrpcdnm"/>
  409. <value ref="excuroomgrpcdid"/>
  410. </itemset>
  411. </choices>
  412. <script type="javascript" ev:event="xforms-select">
  413. <![CDATA[
  414. model.setValue("/root/send/excuroomgrpcdid", model.getValue("/root/send/srch/srchexcuroomgrp") );
  415. submit("TRAEA01306");
  416. cmb_exroom.select(0);
  417. model.refresh();
  418. ]]>
  419. </script>
  420. </select1>
  421. <caption id="caption2" class="search_name" style="left:570px; top:10px; width:94px; height:17px; ">조회기간 :</caption>
  422. <caption id="caption3" class="search_name" style="left:895px; top:10px; width:94px; height:17px; ">구분 :</caption>
  423. <select1 id="rdo_flag" ref="/root/send/srch/srchflag" appearance="full" cols="3" overflow="visible" style="left:960px; top:10px; width:140px; height:15px; border-style:none; ">
  424. <choices>
  425. <item>
  426. <label>전체</label>
  427. <value>A</value>
  428. </item>
  429. <item>
  430. <label>영상</label>
  431. <value>E</value>
  432. </item>
  433. <item>
  434. <label>건진</label>
  435. <value>S</value>
  436. </item>
  437. </choices>
  438. </select1>
  439. <caption id="caption4" class="search_name" style="left:167px; top:9px; width:86px; height:17px; ">검사실 :</caption>
  440. <select1 id="cmb_exroom" ref="/root/send/srch/srchexecroom" class="combo_search" navindex="1" appearance="minimal" style="left:244px; top:8px; width:106px; height:19px; ">
  441. <choices>
  442. <itemset nodeset="/root/init/cmb_info2/initexecroom">
  443. <label ref="excuroomcdnm"/>
  444. <value ref="excuroomcdid"/>
  445. </itemset>
  446. </choices>
  447. </select1>
  448. </group>
  449. <caption id="caption45" class="tit_2" style="left:5px; top:55px; width:190px; height:13px; ">파트별 처방이력 LIST</caption>
  450. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1180px; y2:70px; "/>
  451. <multilinegrid id="mltgrd_partlst" nodeset="/root/main/partprcplst/item" caption="^촬 영 예 정^등 록 번 호^성 명^진 료 과^진 료 과^촬 영 의 뢰 내 역^촬 영 의 뢰 내 역^촬 영 의 뢰 내 역^촬 영 부 위^주 상 병^주 상 병^접수 Comment^실시 Comment|^처 방 일 자^접 수 번 호^성 별/나 이^병 실^외 / 입^진 료 의^촬 영 실^횟 수^판 독 일 자^상 태^접 수 자^접수 Comment^실시 Comment" colsep="^" colwidth="25, 130, 85, 74, 80, 59, 90, 90, 50, 70, 90, 90, 100, 100" ellipsis="true" rowheader="seq" rowsep="|" tooltip="true" mergecellsfixedrows="bycolrec" style="left:0px; top:77px; width:1180px; height:650px; ">
  452. <row>
  453. <col checkvalue="Y,N" ref="check1" rowspan="2" type="checkbox"/>
  454. <col ref="rsrvdt" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  455. <col ref="pid" type="output" style="text-align:center; "/>
  456. <col ref="patnm" type="output" style="text-align:center; "/>
  457. <col colspan="2" ref="orddepthngnm" type="output" style="text-align:left; "/>
  458. <col colspan="3" ref="prcpnm" type="output" style="text-align:left; "/>
  459. <col ref="section" type="output" style="text-align:center; "/>
  460. <col colspan="2" ref="termengn" type="output" style="text-align:left; "/>
  461. <col ref="acptrem" rowspan="2" type="inputbutton" style="text-align:left; vertical-align:top; "/>
  462. <col ref="execrem" rowspan="2" type="inputbutton" style="text-align:left; vertical-align:top; "/>
  463. </row>
  464. <row>
  465. <col ref="prcpdd" type="output" format="yyyy-mm-dd hh:mm:ss" style="text-align:center; "/>
  466. <col ref="pacsno" type="output" style="text-align:center; "/>
  467. <col ref="sna" type="output" style="text-align:center; "/>
  468. <col ref="roomcd" type="output" style="text-align:center; "/>
  469. <col ref="prcpgenrflag" type="output" style="text-align:center; "/>
  470. <col ref="orddrnm" type="output" style="text-align:center; "/>
  471. <col ref="basecdflagdes" type="output" style="text-align:center; "/>
  472. <col ref="phocntstats" type="output" style="text-align:center; "/>
  473. <col ref="cnfmdt" type="output" format="yyyy-mm-dd" style="text-align:center; "/>
  474. <col ref="dispexecprcpstatnm" type="output" style="text-align:center; "/>
  475. <col ref="acptid" type="output"/>
  476. </row>
  477. <script type="javascript" ev:event="onbuttonclick">
  478. <![CDATA[
  479. /*
  480. * 처방 Comment 입력
  481. */
  482. var colidx = mltgrd_partlst.col;
  483. var idx = mltgrd_partlst.row-1;
  484. model.setValue("/root/send/srch/acptrem", model.getValue("/root/main/partprcplst/item["+ idx +"]/acptrem"));
  485. if(mltgrd_partlst.colAttribute(colidx, "ref") == "acptrem"){
  486. grp_prcpcment.visible = true;
  487. }
  488. /*
  489. * 실시 Comment 입력
  490. */
  491. var colidx1 = mltgrd_partlst.col;
  492. var idx1 = mltgrd_partlst.row-1;
  493. model.setValue("/root/send/srch/execrem", model.getValue("/root/main/partprcplst/item["+ idx1 +"]/execrem"));
  494. if(mltgrd_partlst.colAttribute(colidx1, "ref") == "execrem"){
  495. grp_execment.visible = true;
  496. }
  497. model.refresh();
  498. ]]>
  499. </script>
  500. </multilinegrid>
  501. <group id="grp_prcpcment" visibility="hidden" style="left:390px; top:295px; width:445px; height:245px; ">
  502. <textarea id="txt_prcpcment" ref="/root/send/srch/acptrem" style="left:5px; top:30px; width:435px; height:180px; "/>
  503. <button id="btn_cls" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
  504. <caption>닫기</caption>
  505. <script type="javascript" ev:event="DOMActivate">
  506. <![CDATA[
  507. grp_prcpcment.visible = false;
  508. ]]>
  509. </script>
  510. </button>
  511. <button id="btn_savecment" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
  512. <caption>저장</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. var idx = mltgrd_partlst.row-1;
  516. model.setValue("/root/send/srch/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  517. model.setValue("/root/send/srch/execprcpuniqno", model.getValue("/root/main/partprcplst/item["+ idx +"]/execprcpuniqno"));
  518. model.setValue("/root/send/srch/prcpdd", model.getValue("/root/main/partprcplst/item[" + idx + "]/prcpdd").substring(0,8));
  519. if ( messageBox("접수Comment 정보를","Q002")== 6 ) {
  520. if( submit("TXAEA01304") ) {
  521. messageBox("저장이 완료되었습니다.","I999");
  522. grp_prcpcment.visible = false;
  523. btn_select.dispatch("DOMActivate");
  524. }
  525. }
  526. model.refresh();
  527. ]]>
  528. </script>
  529. </button>
  530. <caption id="caption32" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">접수Comment</caption>
  531. <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
  532. </group>
  533. <group id="grp_execment" visibility="hidden" style="left:390px; top:295px; width:445px; height:245px; ">
  534. <textarea id="txta_exerem" ref="/root/send/srch/execrem" style="left:5px; top:30px; width:435px; height:180px; "/>
  535. <button id="btn_execclse" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
  536. <caption>닫기</caption>
  537. <script type="javascript" ev:event="DOMActivate">
  538. <![CDATA[
  539. grp_execment.visible = false;
  540. ]]>
  541. </script>
  542. </button>
  543. <button id="btn_execsave" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
  544. <caption>저장</caption>
  545. <script type="javascript" ev:event="DOMActivate">
  546. <![CDATA[
  547. var idx = mltgrd_partlst.row-1;
  548. model.setValue("/root/send/srch/basesuppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  549. model.setValue("/root/send/srch/execprcpuniqno", model.getValue("/root/main/partprcplst/item["+ idx +"]/execprcpuniqno"));
  550. model.setValue("/root/send/srch/prcpdd", model.getValue("/root/main/partprcplst/item[" + idx + "]/prcpdd").substring(0,8) );
  551. if ( messageBox("실시Comment 정보를","Q002")== 6 ) {
  552. if( submit("TXAER01202")) {
  553. messageBox("저장이 완료되었습니다.","I999");
  554. grp_execment.visible = false;
  555. btn_select.dispatch("DOMActivate");
  556. }
  557. }
  558. model.refresh();
  559. ]]>
  560. </script>
  561. </button>
  562. <caption id="caption8" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">실시Comment</caption>
  563. <shape id="rectangle5" appearance="rectangle" style="left:0px; top:0px; width:444px; height:244px; "/>
  564. </group>
  565. </group>
  566. <bool id="bol_selectall" overflow="visible" appearance="full" ref="/root/send/selectallyn" style="left:24px; top:103px; width:20px; height:18px; border-style:none; ">
  567. <script type="javascript" ev:event="xforms-value-changed">
  568. <![CDATA[
  569. var row = mltgrd_partlst.rows;
  570. //캡션의 체크박스를 체크 또는 해제한다.
  571. if( row > 2 ) {
  572. if(bol_selectall.value == "true") {
  573. for( var i = 1; i <= row-2 ; i++ ) {
  574. model.setValue("/root/main/partprcplst/item["+ i +"]/check1" , "Y");
  575. }
  576. } else {
  577. for( var i = 1; i <= row-2 ; i++ ) {
  578. model.setValue("/root/main/partprcplst/item["+ i +"]/check1" , "N");
  579. }
  580. }
  581. model.refresh();
  582. }
  583. ]]>
  584. </script>
  585. </bool>
  586. </xhtml:body>
  587. </xhtml:html>