SMLMR00700_책임자확인(경대).xrw 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. * 제 목 : SMLMR00600_미생물결과일괄보고.xrw
  4. * 설 명 : 미생물결과일괄보고
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2007.09.17
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
  14. <xhtml:title>미생물 결과 Confirm</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <getbatchrpt>
  20. <chk/>
  21. <acptdt/>
  22. <rsltdt/>
  23. <pid/>
  24. <patnm/>
  25. <sexage/>
  26. <orddeptnm/>
  27. <tclsnm/>
  28. <inptrslt/>
  29. <wardroom/>
  30. <workno/>
  31. <bcno/>
  32. <testcd/>
  33. <sectcd/>
  34. <tsectcd/>
  35. <tsectcd/>
  36. <testcontcd/>
  37. <testcont/>
  38. <spccd/>
  39. <spcnm/>
  40. <nocnt/>
  41. </getbatchrpt>
  42. <getResultDetail>
  43. <reptrslt/>
  44. </getResultDetail>
  45. <getuserAnm>
  46. <acceptnm/>
  47. </getuserAnm>
  48. <testinfo>
  49. <testcont/>
  50. </testinfo>
  51. <cmt>
  52. <testcontcd/>
  53. <testcont/>
  54. <cmtrsltstat/>
  55. <bcno/>
  56. <sectcd/>
  57. <tsectcd/>
  58. <testcontcdnm/>
  59. </cmt>
  60. <selbcno/>
  61. <getreferencelist>
  62. <gumsa/>
  63. </getreferencelist>
  64. </main>
  65. <send>
  66. <usdd/>
  67. <uedd/>
  68. <growth/>
  69. <bcno/>
  70. <testcd/>
  71. <tclsnm/>
  72. <rslt/>
  73. <batchdata/>
  74. <pid/>
  75. <prcpdd/>
  76. <iogbn/>
  77. <codeflag/>
  78. <ddflag/>
  79. <tclscdlist/>
  80. <ward/>
  81. <workno/>
  82. <acceptid/>
  83. <data1/>
  84. <remark/>
  85. </send>
  86. <init/>
  87. <hidden>
  88. <ref>
  89. <tclscdlist>
  90. <tclscdlist/>
  91. <tclsnmlist/>
  92. <tclscdlist2/>
  93. <testgrup/>
  94. </tclscdlist>
  95. <refflag/>
  96. <ioflag/>
  97. <ward/>
  98. </ref>
  99. <usdd/>
  100. <uedd/>
  101. <growth>0</growth>
  102. <rtnid/>
  103. <testcont>
  104. <tsectcd/>
  105. <testcontcd/>
  106. </testcont>
  107. <testconttsectcd>
  108. <cd/>
  109. <nm/>
  110. </testconttsectcd>
  111. <add>1</add>
  112. <newline>1</newline>
  113. <refflag>
  114. <searchtext/>
  115. <searchflag>1</searchflag>
  116. <testlrgkind>M</testlrgkind>
  117. <rsltstat/>
  118. <bcno/>
  119. <testcont/>
  120. <testcontcd/>
  121. <p_isedit/>
  122. <userid/>
  123. </refflag>
  124. <remark>0</remark>
  125. </hidden>
  126. </root>
  127. </instance>
  128. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  130. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  132. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  133. <script type="javascript" ev:event="xforms-ready">
  134. <![CDATA[
  135. fSetInit();
  136. ]]>
  137. </script>
  138. <submission id="TRLMR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getbatchrpt"/>
  139. <submission id="TXLMR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  140. <submission id="TRLZZ00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpinfo"/>
  141. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
  142. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  143. <submission id="TRLMP00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/getResultDetail"/>
  144. <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getuserAnm"/>
  145. <submission id="TRLMR00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getbatchrpt"/>
  146. <submission id="TXLMR00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/properties"/>
  147. </model>
  148. <script type="javascript">
  149. <![CDATA[
  150. //초기화
  151. function fSetInit(ref) {
  152. if(ref != 2) {
  153. var today = getCurrentDate();
  154. model.setValue("/root/hidden/usdd", today);
  155. model.setValue("/root/hidden/uedd", today);
  156. model.setValue("/root/hidden/growth", "0");
  157. model.setValue("/root/hidden/ref/refflag", "1");
  158. model.setValue("/root/hidden/ref/ioflag", "0");
  159. model.setValue("/root/hidden/ref/ward", "000000");
  160. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  161. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  162. model.removeNodeset("/root/main/getbatchrpt");
  163. model.removeNodeset("/root/main/getunityrslt");
  164. grd_batchrpt.fixedcellcheckbox(0, 1) = true;
  165. }
  166. model.removeNodeset("/root/init");
  167. model.setValue("/root/send/codeflag", "0106|0103|0114|0000|0210|"); // 0103 검사그룹
  168. submit("TRLZZ00101");
  169. fCMTPCD_ChangeNodeset();
  170. model.refresh();
  171. }
  172. //검사그룹조회
  173. function fSelectTestGrup(){
  174. model.makeValue("/root/send/testgrupnm", cmb_tclscd.label);
  175. submit("TRLLF90401" ,false);
  176. fSetPopUpTclscdList();
  177. }
  178. function fSetPopUpTclscdList(){
  179. var count = getNodesetCount("/root/main/testgrupdetl");
  180. if(count > 0){
  181. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  182. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  183. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  184. // 검사그룹 상세 목록 없을때
  185. if(sendtclsnm == ""){
  186. model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
  187. model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
  188. }else{ // 검사그룹 상세 목록 있을때
  189. for(i=2; i<= count; i++){
  190. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  191. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  192. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  193. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  194. }
  195. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  196. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  197. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  198. }
  199. model.refresh();
  200. }
  201. }
  202. // 검사항목 지웠을때
  203. function fSetTclscdClean(){
  204. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  205. }
  206. //조회
  207. function fGetBatchRpt() {
  208. grd_batchrpt.fixedcellischeck(0, 1) = false;
  209. model.removeNodeset("/root/main/getunityrslt");
  210. model.setValue("/root/send/ddflag", model.getValue("/root/hidden/ref/refflag"));
  211. model.setValue("/root/send/usdd", model.getValue("/root/hidden/usdd"));
  212. model.setValue("/root/send/uedd", model.getValue("/root/hidden/uedd"));
  213. model.setValue("/root/send/growth", model.getValue("/root/hidden/growth"));
  214. model.setValue("/root/send/iogbn", model.getValue("/root/hidden/ref/ioflag"));
  215. model.setValue("/root/send/ward", model.getValue("/root/hidden/ref/ward"));
  216. model.setValue("/root/send/tclscdlist", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  217. /*이재오 20120829일 추가 */
  218. model.setValue("/root/send/remark", model.getValue("/root/hidden/remark"));
  219. /*이재오 20120829일 추가 */
  220. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  221. submit("TRLMR00603");
  222. if(getNodesetCount("/root/main/getbatchrpt") > 0) {
  223. initGridStyle("grd_batchrpt");
  224. setRowStyle("grd_batchrpt", "1", "3", "rsltstat", "bigger");
  225. setRowStyle("grd_batchrpt", "5", "c", "retestyn", "equal");
  226. setRowStyle("grd_batchrpt", "5", "C", "retestyn", "equal");
  227. }
  228. model.refresh();
  229. }
  230. //통합결과 조회
  231. function fGetUnityRslt() {
  232. model.removeNodeset("/root/main/getResultDetail");
  233. model.removeNodeset("/root/main/getreferencelist");
  234. grd_unityrslt.rebuildStyle();
  235. /*model.makeNode("/root/main/getunityrslt/testcd");
  236. model.makeNode("/root/main/getunityrslt/bcno");
  237. model.makeNode("/root/main/getunityrslt/baccd");
  238. model.makeNode("/root/main/getunityrslt/tclscd");
  239. model.makeNode("/root/main/getunityrslt/spccd");
  240. model.makeNode("/root/main/getunityrslt/rsltseq");
  241. model.makeNode("/root/main/getunityrslt/bacseqno");*/
  242. //var tcls = " ";
  243. //tcls = tcls + model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/tclsnm") + "\t " + model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/inptrslt");
  244. //model.setValue("/root/main/getunityrslt/rslt", tcls);
  245. /*model.setValue("/root/main/getunityrslt/testcd", model.getValue("/root/main/getbatchrpt/testcd"));
  246. model.setValue("/root/main/getunityrslt/bcno", model.getValue("/root/main/getbatchrpt/bcno"));
  247. model.setValue("/root/main/getunityrslt/baccd", "");
  248. model.setValue("/root/main/getunityrslt/tclscd", model.getValue("/root/main/getbatchrpt/tclscd"));
  249. model.setValue("/root/main/getunityrslt/spccd", model.getValue("/root/main/getbatchrpt/spccd"));
  250. model.setValue("/root/main/getunityrslt/rsltseq", model.getValue("/root/main/getbatchrpt/rsltseq"));
  251. model.setValue("/root/main/getunityrslt/bacseqno", model.getValue("/root/main/getbatchrpt/bacseqno"));*/
  252. model.setValue("/root/send/bcno", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/bcno"));
  253. model.setValue("/root/main/selbcno", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/bcno"));
  254. model.setValue("/root/send/workno", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/workno"));
  255. model.setValue("/root/send/testcd", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/testcd"));
  256. model.setValue("/root/send/pid", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"));
  257. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  258. submit("TRLMP00402");
  259. initGridStyle("grd_unityrslt");
  260. setRowStyleSep("grd_unityrslt", "0", "B", "judgmark2", "equal");
  261. fGrdRemake();
  262. fGetTopInfo();
  263. //소견관리 추가 20120420
  264. //var pRow = grd_batchrpt.row;
  265. //var pCol = grd_batchrpt.col;
  266. //var sDetilRow = fGetRow(pRow,pCol);
  267. //var vSectcd = model.getValue("/root/main/testinfo/testlist["+ sDetilRow +"]/sectcd");
  268. //var vTsectcd = model.getValue("/root/main/testinfo/testlist["+ sDetilRow +"]/tsectcd");
  269. //fCMTPCD_ChangeNodeset(vSectcd, vTsectcd, sDetilRow);
  270. //fInitializeSoGyeon(sDetilRow); //소견 조회초기화
  271. init_cmt(); //그리드 클릭하였을때 소견 추가 20120423
  272. model.refresh();
  273. }
  274. function fGrdRemake(){
  275. for(i=1;i<grd_unityrslt.rows;i++){
  276. if(model.getvalue("/root/main/getResultDetail["+i+"]/judgmark") == "IMG"){
  277. grd_unityrslt.cellstyle("background-image", i, 0) = "../../../com/commonweb/images/icon_picture.gif";
  278. grd_unityrslt.cellstyle("background-position", i, 0) = "left";
  279. grd_unityrslt.cellstyle("padding-left", i, 0) = 15;
  280. }
  281. }
  282. }
  283. // 탑정보 위한 조회
  284. function fGetTopInfo(){
  285. model.setValue("/root/send/pid", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"));
  286. model.setValue("/root/send/prcpdd", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/prcpdd"));
  287. model.setValue("/root/send/iogbn", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/iogbn"));
  288. submit("TRLZZ00107");
  289. if(getPatientInfo("pid") != model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid")) {
  290. if(grd_batchrpt.rows> 1){
  291. setParameter("errflag", "Y");
  292. setParameter("condparam", "S" + "▦" + model.getvalue("/root/init/prcpinfo/prcpdd")+ "▦"
  293. + model.getvalue("/root/init/prcpinfo/execprcpuniqno") + "▦"
  294. + model.getvalue("/root/init/prcpinfo/instcd") );
  295. //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  296. }
  297. var paminfo = getGlobalVariable("paminfo");
  298. if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"))){ //상단정보가 없는 경우
  299. delPatientInfos(); //환자정보 전체 삭제
  300. var pid = model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid")
  301. var hngnm = model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/patnm");
  302. //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
  303. setPatientInfo("pid" , pid); //등록번호
  304. setPatientInfo("pname" , pid + "|" + hngnm); //환자명
  305. }
  306. }
  307. }
  308. function setRowStyleSep( gridID , styleFlag , data , colRef , control ) {
  309. var style = new Array("#ff0000" , "#ffe79d" , "#f3e1bf" , "#7BE6B7" , "#b9e5fb" , "#f7a08b" , "#fec34d" , "#dec6a4" , "#c8e67b" , "#43c8f5", "#99cf16", "#e5f3c2" );
  310. var styleFlags = styleFlag.split("^");
  311. var datas = data.split("^");
  312. if( control == null || control == "" )
  313. control = "equal";
  314. var controls = control.split("^");
  315. gridObj = document.all(gridID);
  316. gridObj.backcoloralternate = "transparent";
  317. for( var j = 0 ; j < datas.length ; j++ ) {
  318. var dataValue = datas[j];
  319. var styleValue = style[styleFlags[j]];
  320. for( var i = gridObj.fixedRows ; i < gridObj.Rows ; i++ ) {
  321. if(controls[j] == null)
  322. controls[j] = "equal";
  323. switch( controls[j] ) {
  324. case "small":
  325. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) < dataValue ) {
  326. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  327. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  328. }
  329. break;
  330. case "smallThen":
  331. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) <= dataValue ) {
  332. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  333. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  334. }
  335. break;
  336. case "bigger":
  337. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) > dataValue ) {
  338. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  339. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  340. }
  341. break;
  342. case "biggerThen":
  343. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) >= dataValue ) {
  344. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  345. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  346. }
  347. break;
  348. case "notEqual":
  349. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) != dataValue ) {
  350. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  351. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  352. }
  353. break;
  354. case "equal":
  355. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) == dataValue ) {
  356. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  357. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  358. }
  359. break;
  360. }
  361. }
  362. }
  363. }
  364. function fUpPatinfo(){
  365. if(getNodesetCount("/root/init/prcpinfo") > 0){
  366. setParameter("condparam", "S" + "▦" + model.getvalue("/root/init/prcpinfo/prcpdd")+ "▦"
  367. + model.getvalue("/root/init/prcpinfo/execprcpuniqno") + "▦"
  368. + model.getvalue("/root/init/prcpinfo/instcd"));
  369. //modal("SPMMO08900");
  370. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  371. }
  372. }
  373. //일괄보고
  374. function fExebatch() {
  375. if(model.getValue("/root/main/getuserAnm/acceptnm")==""){
  376. alert("확인자를 입력해주십시오");
  377. model.setFocus("ipt_rtnnm");
  378. return;
  379. }
  380. var Go = 0;
  381. for(i = 0; i < grd_batchrpt.rows; i++) {
  382. if(model.getValue("/root/main/getbatchrpt["+ i +"]/chk") == "Y") {
  383. grd_batchrpt.rowStatus(i) = 1;
  384. Go = 1;
  385. } else {
  386. grd_batchrpt.removeStatus(i, "update");
  387. }
  388. }
  389. if(Go == 0){
  390. alert("Confirm 할 환자를 선택하여 주십시오");
  391. return;
  392. }
  393. model.setValue("/root/send/batchdata", getGridUpdateData(grd_batchrpt));
  394. model.setValue("/root/send/acceptid" ,model.getValue("/root/hidden/rtnid"));
  395. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  396. //alert(model.getValue("/root/send/acceptid"));
  397. submit("TXLMR00601");
  398. fGetBatchRpt();
  399. }
  400. //엑셀저장
  401. function fSaveExcel(gbn) {
  402. var file = window.fileDialog("save", ",", false, "Excel", "xls", "All Files (*.*)|*.*|Excel Files (*.xls)|*.xls");
  403. if(file != "") {
  404. if(gbn == "1"){
  405. grd_batchrpt.saveExcel(file);
  406. }else{
  407. grd_unityrslt.saveExcel(file);
  408. }
  409. }
  410. }
  411. function fMouseDown_grd_TestInfoCnts(){
  412. model.removeNodeset("/root/hidden/popupmenu");
  413. if(event.button == 3){ // 라이트클릭 메뉴만들기...
  414. model.makeNode("/root/hidden/popupmenu/grid");
  415. model.makeNode("/root/hidden/popupmenu/grid/item");
  416. n = parseInt(getNodesetCount("/root/hidden/popupmenu/grid/item")) + 1;
  417. model.makeValue("/root/hidden/popupmenu/grid/item["+n+"]/name" , "▶ 통합결과조회");
  418. model.makeValue("/root/hidden/popupmenu/grid/item["+n+"]/func" , "fTGyeolGwa");
  419. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.mouseRow >= grd_batchrpt.fixedrows){
  420. setPopupMenu("grd_batchrpt" , true, "/root/hidden/popupmenu/grid/item", "name", "func");
  421. }else{
  422. window.setPopupMenu(false);
  423. }
  424. }
  425. }
  426. function fTGyeolGwa(){
  427. modal("SMAER00800 ","","","","","/root/main/getbatchrpt["+grd_batchrpt.row+"]/pid","/root/send/data/singdata/srchpid");
  428. }
  429. function fOnmenu(popupParam){
  430. if(popupParam == "fTGyeolGwa"){
  431. fTGyeolGwa();
  432. }
  433. }
  434. function fKeyEvent(){
  435. if(event.keyCode == "13"){
  436. // id입력시 usernm 보이게
  437. if(event.target == "ipt_rtnnm"){
  438. model.setvalue("/root/hidden/rtnid", ipt_rtnnm.currentText.toUpperCase());
  439. model.refresh();
  440. if(model.getValue("/root/hidden/rtnid") != ""){
  441. model.makeValue("/root/send/acceptid", model.getvalue("/root/hidden/rtnid"));
  442. submit("TRLBT10404");
  443. ipt_rtnnm.selBegin = 0;
  444. ipt_rtnnm.selEnd = ipt_rtnnm.currentText.length;
  445. model.setFocus("ipt_rtnnm");
  446. model.refresh();
  447. }
  448. }
  449. }
  450. }
  451. //소견을 위한 함수들 추가 20120420
  452. //선택 시행부서 소견
  453. //소견 노드 셋팅
  454. function fCMTPCD_ChangeNodeset(pSectcd, pTsectcd, refRow) {
  455. model.resetInstanceNode("/root/hidden/testconttsectcd");
  456. if(typeof(pSectcd) == "undefined") {
  457. cmb_cmt.choices.itemset.attribute("nodeset") ="/root/init/LB0210[cd='00']";
  458. //model.setValue("/root/hidden/testcont/testcontcd", "-");
  459. } else {
  460. cmb_cmt.choices.itemset.attribute("nodeset")="/root/init/LB0210[cd='00' or (etc01='" + pSectcd + "' and etc02='" + pTsectcd + "')]";
  461. }
  462. model.setvalue("/root/hidden/testcont/testcontcd" , "00");
  463. cmb_cmt.refresh();
  464. var vCmtTsect = model.getValue("/root/main/testinfo/testlist["+ refRow +"]/tsectcd");
  465. model.setValue("/root/hidden/testconttsectcd[1]/cd", "00");
  466. model.setValue("/root/hidden/testconttsectcd[1]/nm", "- 시행부서선택 -");
  467. if(vCmtTsect != ""){
  468. model.makeValue("/root/hidden/testconttsectcd[2]/cd" , vCmtTsect);
  469. model.makeValue("/root/hidden/testconttsectcd[2]/nm" ,
  470. model.getValue("/root/init/LB0106[cd='" + vCmtTsect + "']/nm"));
  471. }
  472. else{
  473. model.setvalue("/root/hidden/testcont/tsectcd" , "00");
  474. }
  475. //cmb_sect.refresh();
  476. }
  477. //시행부서선택시 소견노드 셋팅
  478. function fCMTPCD_ChangeNodeset2(){
  479. var tsectcd = model.getvalue("/root/hidden/testcont/tsectcd");
  480. if(tsectcd == "00"){
  481. cmb_cmt.choices.itemset.attribute("nodeset") ="/root/init/LB0210[cd='00']";
  482. }
  483. else{
  484. cmb_cmt.choices.itemset.attribute("nodeset")="/root/init/LB0210[cd='00' or (etc02='" + tsectcd + "')]" ;
  485. }
  486. model.setvalue("/root/hidden/testcont/testcontcd" , "00");
  487. cmb_cmt.refresh();
  488. }
  489. //소견 초기화
  490. function fInitializeSoGyeon(refRow){
  491. var cntTsect = getNodesetCount("/root/hidden/testconttsectcd");
  492. var cntSG = getNodesetCount("/root/main/testinfo/testcont");
  493. var curTsect = "";
  494. var strSG = "";
  495. var plusIdx = 1;
  496. /*
  497. if(cntSG == 0){
  498. model.makenode("/root/main/testinfo/testcont");
  499. }
  500. for(var sNum = 2; sNum <= cntTsect; sNum++){
  501. curTsect = model.getValue("/root/hidden/testconttsectcd[" + sNum + "]/cd");
  502. if(model.getValue("/root/main/testinfo/testcont[execdeptcd='"+ curTsect + "']/execdeptcd") == ""){
  503. var SG = parseInt(cntSG)+parseInt(plusIdx);
  504. model.makeNode("/root/main/testinfo/testcont[" + SG + "]/testcontcd");
  505. model.makeNode("/root/main/testinfo/testcont[" + SG + "]/execdeptcd");
  506. model.makeNode("/root/main/testinfo/testcont[" + SG + "]/testcont");
  507. model.makeNode("/root/main/testinfo/testcont[" + SG + "]/testcontkind");
  508. //model.makeNode("/root/main/TestInfo/testcont[" + (cntSG+plusIdx) + "]/rsltstat");
  509. model.makeNode("/root/main/testinfo/testcont[" + SG+ "]/iud");
  510. model.setValue("/root/main/testinfo/testcont[" +SG + "]/execdeptcd", curTsect);
  511. model.setValue("/root/main/testinfo/testcont[" + SG + "]/iud", "n");
  512. plusIdx++;
  513. }
  514. }
  515. */
  516. if(cntTsect == 2){
  517. model.setValue("/root/hidden/testcont/tsectcd", model.getValue("/root/hidden/testconttsectcd[2]/cd"));
  518. model.setValue("/root/hidden/testcont/testcontcd", "00");
  519. }else{
  520. model.setValue("/root/hidden/testcont/tsectcd", "00");
  521. model.setValue("/root/hidden/testcont/testcontcd", "00");
  522. }
  523. fSelectTestContTsect(refRow);
  524. //model.makeValue("/root/hidden/refflag/p_isedit", "");
  525. //model.refresh();
  526. }
  527. function fSelectTestContTsect(refRow){
  528. var selTsectcd = model.getValue("/root/hidden/testcont/tsectcd").getTrim();
  529. var vSectcd = "";
  530. var vTsectcd = "";
  531. var vBcno = "";
  532. if(refRow != "return") {
  533. vSectcd = model.getValue("/root/main/testinfo/testlist["+ refRow +"]/sectcd");
  534. vTsectcd = model.getValue("/root/main/testinfo/testlist["+ refRow +"]/tsectcd");
  535. vBcno = model.getValue("/root/main/testinfo/testlist["+ refRow +"]/bcno");
  536. vTestcd = model.getValue("/root/main/testinfo/testlist["+ refRow +"]/testcd");
  537. }else{//소견 시행부서 변경시 그냥 return
  538. return;
  539. }
  540. /*var cntSoGyeon = getNodesetCount("/root/main/testinfo/testcont"); //소견 저장 개수
  541. var strSG = "";
  542. if(selTsectcd == "00"){
  543. for(var slipR = 1; slipR <= cntSoGyeon; slipR++){
  544. if(model.getValue("/root/main/testinfo/testcont[" + slipR + "]/iud") != "n"){
  545. strSG += "【" + model.getValue("/root/main/testinfo/testcont[" + slipR + "]/execdeptcd") + "】"
  546. + model.getValue("/root/main/testinfo/testcont[" + slipR + "]/testcont") + "\n";
  547. }
  548. }
  549. }else{
  550. for(var slipR = 1; slipR <= cntSoGyeon; slipR++){
  551. if(model.getValue("/root/main/testinfo/testcont[" + slipR + "]/execdeptcd") == vTsectcd){
  552. if(model.getValue("/root/main/testinfo/testcont[" + slipR + "]/bcno") == vBcno){
  553. strSG += model.getValue("/root/main/testinfo/testcont[" + slipR + "]/testcont") + "\n";
  554. //strSG += "【" + selSlip + "】"
  555. // + model.getValue("/root/MainData/GSHMSangSe/GeomSaSoGyeon[" + slipR + "]/cmtp") + "\n";
  556. }
  557. }
  558. }
  559. }*/
  560. //model.setValue("/root/main/testinfo/spcinfo/testcont", strSG);
  561. //alert("소견삽입");
  562. //alert(selTsectcd);
  563. if ( selTsectcd == "M1" || "M2" || "M3" ){ //20120420
  564. selTsectcd = "-" ;
  565. }
  566. alert(model.getValue("/root/main/testinfo/testcont[bcno = '"+ vBcno + "' and execdeptcd = '" + selTsectcd + "']/testcont"));
  567. //시행부서별 소견 전체는.. 걍 버리고 해당 검사 시행부서 소견만 조회
  568. model.setValue("/root/main/testinfo/spcinfo/testcont"
  569. , model.getValue("/root/main/testinfo/testcont[bcno = '"+ vBcno + "' and execdeptcd = '" + selTsectcd + "']/testcont"));
  570. //검사항목별 소견 추가
  571. model.setValue("/root/main/testinfo/spcinfo/testcmts"
  572. , model.getValue("/root/main/testinfo/testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']/testcont") != "" ?
  573. model.getValue("/root/main/testinfo/testcmts[bcno = '"+ vBcno + "' and testcd = '"+ vTestcd + "']/testcont")
  574. : model.getvalue("/root/main/testinfo/testlist["+refRow+"]/tclsscrnnm") + " : ");
  575. model.refresh();
  576. }
  577. //소견 선택시
  578. function fSetCmt(pRow,pCol){
  579. var sDetilRow = fGetRow(pRow,pCol); //testlist row 조회
  580. var curSlip = model.getValue("/root/hidden/testcont/tsectcd");
  581. var curCmptcd = model.getValue("/root/hidden/testcont/testcontcd");
  582. if(curSlip == "00"){
  583. //TFGetMsgBox( -1, "소견을 입력할 슬립을 지정하여 주세요", "소견입력오류", "I", "OK" );
  584. model.setValue("/root/hidden/testcont/testcontcd", "00");
  585. model.refresh();
  586. return;
  587. }
  588. var vSectcd = model.getValue("/root/main/testinfo/testlist["+ sDetilRow +"]/sectcd");
  589. var vTsectcd = model.getValue("/root/main/testinfo/testlist["+ sDetilRow +"]/tsectcd");
  590. var newCmt = model.getValue("/root/init/LB0210[cd='" + curCmptcd + "' and etc01='" + vSectcd + "' and etc02='" + vTsectcd + "']/etc03");
  591. /*
  592. var curCmt = model.getValue("/root/main/testinfo/spcinfo/testcont");
  593. if(curCmt == "\n" || curCmt=="")
  594. var rstCmt = newCmt;
  595. else
  596. var rstCmt = curCmt + "\n" + newCmt;
  597. model.setValue("/root/main/testinfo/spcinfo/testcont", rstCmt);*/
  598. var vContFlag = model.getValue("/root/hidden/cmtflag");
  599. if(vContFlag == 1){ //시행부서별 소견
  600. var curCmt = model.getValue("/root/main/testinfo/spcinfo/testcont");
  601. if(curCmt == "\n" || curCmt=="") {
  602. var rstCmt = newCmt;
  603. } else{
  604. var rstCmt = curCmt + "\n" + newCmt;
  605. }
  606. model.setValue("/root/main/testinfo/spcinfo/testcont", rstCmt);
  607. textarea2.selBegin = (rstCmt).length;
  608. }else{ //검사항목별 소견
  609. var curCmt = model.getValue("/root/main/testinfo/spcinfo/testcmts");
  610. var rstCmt = curCmt + " "+ newCmt;
  611. model.setValue("/root/main/testinfo/spcinfo/testcmts", rstCmt);
  612. text_testcmts.selBegin = (rstCmt).length;
  613. }
  614. //model.refresh();
  615. fSoGyeonJeoJang();
  616. }
  617. //소견저장
  618. function fSetContCmt(pRow,pCol){
  619. // alert( model.getValue("/root/hidden/growth"));
  620. //if(model.getvalue("/root/hidden/refparam/userid") == "" || model.getvalue("/root/main/getUsernm/usernm") == ""){
  621. // messageBox("검사자를 " , "C001" ,"");
  622. // model.setFocus("ipt_testpsn");
  623. // return;
  624. //}
  625. /* 결과 저장시 소견 입력 여부에 따라 등록되지 않은게 있다면 같이 저장하기 위해 막음
  626. if(model.getvalue("/root/main/testinfo/testlist["+ sDetilRow +"]/rsltstat") == "-") {
  627. messageBox("소견등록은 결과저장 이후에 가능합니다. " , "C" ,"");
  628. return;
  629. }*/
  630. /*if(model.getvalue("/root/main/testpatlist/patlist["+grd_patList.row+"]/rsltstat") == "4") {
  631. messageBox("최종보고된 검체의 소견은 수정할수 없습니다." , "C" ,"");
  632. return;
  633. }*/
  634. if (model.getValue("/root/hidden/refflag/p_isedit") != "true"
  635. && model.getxPathValue('count(/root/main/cmt/testcont[m = ""])') == "0") {
  636. messageBox("소견을 입력 하세요!" , "C" ,"");
  637. return;
  638. }
  639. if(model.getValue("/root/hidden/rtnid") == ""){
  640. messageBox("전문의ID를 입력 하세요" , "C" ,"");
  641. return;
  642. }else{
  643. //model.setValue("/root/hidden/refflag/userid", model.getValue("/root/hidden/rtnid"));
  644. }
  645. //model.copyNode("/root/send/data1","/root/hidden/refflag");
  646. //model.setvalue("/root/send/data1", "m▦rownum▦selchk▦tclsscrnm▦bufinptrslt▦reptrslt▦multiflag▦rstdt▦refval▦rsltunit▦judgmark▦panicmark▦deltamark▦criticalmark▦alertmark▦▦▦rsltmark▦erprcpflag▦bfreptrslt▦bflastreptdt▦rstnm▦eqmtnm▦testcmt▦tclskind▦testcd▦spccd▦rsltseq▦inptrslt▩");
  647. //이재오 20120717일 다중저장기능 구현 //
  648. //model.setvalue("/root/hidden/refflag/testlrgkind" , "M");
  649. //model.setValue("/root/hidden/refflag/rsltstat", "3");
  650. var Go = 0;
  651. if (model.getValue("/root/hidden/growth") == "2" )
  652. {
  653. var A1 = messageBox("일괄저장" , "S003" ,"취소");
  654. if ( A1 == "6"){
  655. /*
  656. for(i = 0; i < grd_batchrpt.rows; i++) {
  657. if(model.getValue("/root/main/getbatchrpt["+ i +"]/chk") == "Y") {
  658. }
  659. } */
  660. for(i = 0; i < grd_batchrpt.rows; i++) {
  661. if(model.getValue("/root/main/getbatchrpt["+ i +"]/chk") == "Y") {
  662. Go = 1;
  663. //model.removeNode("/root/send/data1");
  664. //model.removeNode("/root/hidden/refflag");
  665. var sDetilRow = pRow; //grd_batchrpt row 조회
  666. model.setValue("/root/send/workno", model.getValue("/root/main/getbatchrpt["+ i +"]/workno"));
  667. model.setValue("/root/send/testcd", model.getValue("/root/main/getbatchrpt["+ i +"]/testcd"));
  668. model.setValue("/root/send/pid", model.getValue("/root/main/getbatchrpt["+ i +"]/pid"));
  669. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  670. model.removenode("/root/send/bcno");
  671. model.makeNode("/root/send/bcno");
  672. model.setvalue("/root/hidden/refflag/testlrgkind" , "M");
  673. model.setValue("/root/hidden/refflag/rsltstat", "3");
  674. model.setValue("/root/hidden/refflag/userid", model.getValue("/root/hidden/rtnid"));
  675. model.setValue("/root/hidden/refflag/p_isedit", "true"); //저장할거 생겼다.
  676. model.setValue("/root/hidden/refflag/bcno", model.getvalue("/root/main/getbatchrpt["+ i +"]/bcno"));
  677. model.setvalue("/root/hidden/refflag/testcont" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcont"));
  678. model.setvalue("/root/hidden/refflag/testcontcd" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcontcd"));
  679. // model.makeValue("/root/send/testlrgkind" , "M");
  680. // model.makeValue("/root/send/rsltstat", "3");
  681. // model.makeValue("/root/send/userid", model.getValue("/root/hidden/rtnid"));
  682. // model.makeValue("/root/send/p_isedit", "true"); //저장할거 생겼다.
  683. // model.makeValue("/root/send/bcno", model.getvalue("/root/main/getbatchrpt["+ i +"]/bcno"));
  684. // model.makeValue("/root/send/testcont" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcont"));
  685. // model.makeValue("/root/send/testcontcd" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcontcd"));
  686. // alert(model.getvalue("/root/hidden/refflag/bcno") + " : "+ model.getvalue("/root/main/getbatchrpt["+ i +"]/bcno"));
  687. // alert(model.getvalue("/root/hidden/refflag/testcont") + " : "+ model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcont"));
  688. // alert(model.getvalue("/root/hidden/refflag/testcontcd") + " : "+ model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcontcd"));
  689. model.copyNode("/root/send/data1","/root/hidden/refflag");
  690. // debugger;
  691. //alert(i);
  692. submit("TXLMR00201");
  693. model.removenode("/root/send/data1");
  694. model.makeNode("/root/send/data1");
  695. }
  696. }
  697. if(Go == 0){
  698. alert("Confirm 할 환자를 선택하여 주십시오");
  699. return;
  700. }
  701. }
  702. else{
  703. return;
  704. }
  705. }
  706. else{
  707. var sDetilRow = pRow; //grd_batchrpt row 조회
  708. model.setValue("/root/hidden/refflag/bcno", model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/bcno"));
  709. model.setvalue("/root/hidden/refflag/testcont" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcont"));
  710. model.setvalue("/root/hidden/refflag/testcontcd" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcontcd"));
  711. model.copyNode("/root/send/data1","/root/hidden/refflag");
  712. //alert(model.getValue("/root/send/data1"));
  713. submit("TXLMR00201");
  714. }
  715. /* 이재오 막다 20120718 단일기능
  716. model.setvalue("/root/hidden/refflag/testlrgkind" , "M");
  717. model.setValue("/root/hidden/refflag/rsltstat", "3");
  718. model.setValue("/root/hidden/refflag/bcno", model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/bcno"));
  719. model.setvalue("/root/hidden/refflag/testcont" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcont"));
  720. model.setvalue("/root/hidden/refflag/testcontcd" , model.getvalue("/root/main/getbatchrpt["+ sDetilRow +"]/testcontcd"));
  721. if(model.getValue("/root/hidden/rtnid") == ""){
  722. messageBox("전문의ID를 입력 하세요" , "C" ,"");
  723. return;
  724. }else{
  725. model.setValue("/root/hidden/refflag/userid", model.getValue("/root/hidden/rtnid"));
  726. }
  727. model.copyNode("/root/send/data1","/root/hidden/refflag");
  728. //alert(model.getValue("/root/send/data1"));
  729. submit("TXLMR00201");
  730. 이재오 막다 20120718 단일기능 */
  731. //model.setValue("/root/hidden/refflag/rsltstat", "1");
  732. //model.setValue("/root/hidden/refflag/testlrgkind", "-");
  733. //여러 검체 동시에 일괄 저장 때리기 위한 구분
  734. //model.makeValue("/root/hidden/refflag/rsltscrflag", "test");
  735. //model.copyNode("/root/send/data2" , "/root/hidden/refflag");
  736. //시행부서별, 검사항목별 소견 저장데이터 생성
  737. //fMakeSendSoGyeon();
  738. }
  739. //소견 저장을 위한 소견 데이터 만들기
  740. function fMakeSendSoGyeon(){
  741. var cntSG = getNodesetCount("/root/main/testinfo/testcont"); //소견 저장 개수
  742. var vSndSG = "m▦bcno▦testcontcd▦execdeptcd▦testcont▦testcontkind▩";
  743. for(var i = 1; i <= cntSG; i++){
  744. if(model.getValue("/root/main/testinfo/testcont[" + i + "]/iud") != ""){
  745. vSndSG += "u" + "▦"
  746. + model.getValue("/root/main/testinfo/testcont[" + i + "]/bcno") + "▦"
  747. + model.getValue("/root/main/testinfo/testcont[" + i + "]/testcontcd") + "▦"
  748. + model.getValue("/root/main/testinfo/testcont[" + i + "]/execdeptcd") + "▦"
  749. + model.getValue("/root/main/testinfo/testcont[" + i + "]/testcont") + "▦"
  750. + model.getValue("/root/main/testinfo/testcont[" + i + "]/testcontkind") + "▩";
  751. }
  752. }
  753. model.makeValue("/root/send/data3", vSndSG);
  754. //검사항목별 소견
  755. var vSndTestcmts = "m▦bcno▦tclscd▦testcd▦spccd▦rsltseq▦testcontcd▦testcont▦flag▩";
  756. var vTestCmtCounts = model.getxPathValue('count(/root/main/testinfo/testcmts)');
  757. var xPath = "/root/main/testinfo/testcmts";
  758. for (j = 1; j <= vTestCmtCounts; j++){
  759. if(model.getValue(xPath+ "[" + j + "]/m") != ""){
  760. vSndTestcmts += model.getValue(xPath+ "[" + j + "]/m") + "▦"
  761. + model.getValue(xPath+ "[" + j + "]/bcno") + "▦"
  762. + model.getValue(xPath+ "[" + j + "]/tclscd") + "▦"
  763. + model.getValue(xPath+ "[" + j + "]/testcd") + "▦"
  764. + model.getValue(xPath+ "[" + j + "]/spccd") + "▦"
  765. + model.getValue(xPath+ "[" + j + "]/rsltseq") + "▦"
  766. + model.getValue(xPath+ "[" + j + "]/testcontcd") + "▦"
  767. + model.getValue(xPath+ "[" + j + "]/testcont") + "▦"
  768. + "2▩"; //소견만 저장하기때문에 2보냄 결과등록시와 소견만 저장시 결과seq때문에..
  769. }
  770. }
  771. model.makeValue("/root/send/data4", vSndTestcmts);
  772. submit("TXLLR80101",false);
  773. //저장 후 소견 iud초기화
  774. for (j = 1; j <= vTestCmtCounts; j++){
  775. model.setValue(xPath+ "[" + j + "]/m", "");
  776. }
  777. model.setValue("/root/hidden/refflag/p_isedit", "");
  778. model.removeNodeset("/root/send/data2"); //아씨..이게 소견저장할때와 검사결과 저장할때 같은 노드임 ㅡ,.ㅡ
  779. model.makeNode("/root/send/data2");
  780. model.refresh();
  781. }
  782. //소견내용이 바뀔경우
  783. function fSoGyeonJeoJang(pRef){ //pRef : 소견구분 1:
  784. var curSlip = model.getValue("/root/main/cmt/tsectcd"); // 선택된 로우의 분류
  785. var curCmptcd = model.getValue("/root/main/cmt/testcontcd"); //선택된 로우의 소견코드
  786. var vCmtp = model.getValue("/root/main/cmt/testcont"); //입력되어진 텍스트창의 소견내용값
  787. var vNodeCnt, vContNodeCount;
  788. var vRow = grd_batchrpt.row ;
  789. var vBcno = model.getvalue("/root/main/getbatchrpt["+vRow+"]/bcno");
  790. var vTestcd = model.getvalue("/root/main/getbatchrpt["+vRow+"]/testcd"); //검사코드
  791. var vTsectcd = model.getvalue("/root/main/getbatchrpt["+vRow+"]/tsectcd"); //시행부서
  792. var vTclscd, vSpccd, vRsltseq;
  793. //if(curSlip == "-"){
  794. // return;
  795. //}
  796. //alert (vCmtp);
  797. var xPath_Cont = "/root/main/getbatchrpt";
  798. //model.getvalue("/root/main/getbatchrpt["+ vRow +"]/testcont")
  799. //해당 바코드, 시행부서 노드 존재 여부 판단 위해
  800. vNodeCnt = model.getxPathValue('count(/root/main/getbatchrpt["'+ vRow +'"]/testcont)');
  801. if(vCmtp.getTrim() == "" || vCmtp.getTrim() == "-"){
  802. //alert("1");
  803. if(vNodeCnt > 0){ //소견 변경했는데 소견이 빈값이고 저장된 소견이 존재 할 경우
  804. //alert("1-1");
  805. model.setValue(xPath_Cont + "["+ vRow +"]/testcont", "-");
  806. }else{
  807. //alert("1-2");
  808. return; //소견내용 없고 저장된소견도 없을때 return;
  809. }
  810. }else{
  811. //alert("2");
  812. if(vNodeCnt > 0){ //소견 존재시 setValue
  813. //alert("2-1");
  814. model.setValue(xPath_Cont + "["+ vRow +"]/testcontcd", curCmptcd);
  815. model.setValue(xPath_Cont + "["+ vRow +"]/testcont", vCmtp);
  816. }else{
  817. //alert("2-2"); //없을때 만들어 넣기
  818. //vContNodeCount = model.getxPathValue('count(/root/main/cmt/testcont)');
  819. //vContNodeCount = parseInt(vContNodeCount) + 1;
  820. model.makeValue(xPath_Cont + "[" + vRow + "]/bcno" , vBcno)
  821. model.makeValue(xPath_Cont + "[" + vRow + "]/testcontcd" , curCmptcd)
  822. model.makeValue(xPath_Cont + "[" + vRow + "]/testcont" , vCmtp)
  823. //model.makeValue(xPath_Cont + "[" + vRow + "]/testcontkind" , "00")
  824. //model.makeValue(xPath_Cont + "[" + vRow + "]/execdeptcd" , vTsectcd)
  825. }
  826. model.setValue("/root/hidden/refflag/p_isedit", "true"); //저장할거 생겼다.
  827. }
  828. }
  829. //미생물 전용 소견을 위한 함수들 20120420
  830. function init_cmt(){
  831. var pRow = grd_batchrpt.row;
  832. var vIsedit = model.getValue("/root/hidden/refflag/p_isedit"); //소견 저장할것이나 수정할것 생기면 플래그 바뀜
  833. var vCmtpcd = model.getValue("/root/main/getbatchrpt[" + pRow + "]/testcontcd");
  834. var vCmtp = model.getValue("/root/main/getbatchrpt[" + pRow + "]/testcont");
  835. var vCmtprstflag = model.getValue("/root/main/getbatchrpt[" + pRow + "]/cmtrsltstat");
  836. var vBcno = model.getValue("/root/main/getbatchrpt[" + pRow + "]/bcno");
  837. var vSectcd = model.getValue("/root/main/getbatchrpt[" + pRow + "]/sectcd");
  838. var vTsectcd = model.getValue("/root/main/getbatchrpt[" + pRow + "]/tsectcd");
  839. model.setvalue("/root/hidden/refflag/p_isedit", vIsedit);
  840. model.setvalue("/root/main/cmt/testcontcd","");
  841. model.setvalue("/root/main/cmt/testcont", vCmtp);
  842. model.setvalue("/root/main/cmt/cmtrsltstat", vCmtprstflag);
  843. model.setvalue("/root/main/cmt/bcno",vBcno);
  844. model.setvalue("/root/main/cmt/sectcd",vSectcd);
  845. model.setvalue("/root/main/cmt/tsectcd", vTsectcd);
  846. model.setvalue("/root/hidden/add", "1");
  847. model.setvalue("/root/hidden/newline", "1");
  848. //fBaseInfoRef("0210|");
  849. //model.resetInstanceNode("/root/main/cmt/testcontcd");
  850. //cmb_cmt.item.attribute
  851. cmb_cmt.choices.itemset.attribute("nodeset")="/root/init/LB0210[cd='00' or (etc01='" + "M" + "'and etc02='" + vTsectcd + "')]";
  852. model.setvalue("/root/main/cmt/testcontcd" , "00");
  853. cmb_cmt.refresh();
  854. model.refresh();
  855. }
  856. function fCmtCombo(){
  857. var curCmptcd = model.getValue("/root/main/cmt/testcontcd");
  858. var vSectcd = model.getValue("/root/main/cmt/sectcd");
  859. var vTsectcd = model.getValue("/root/main/cmt/tsectcd");
  860. //alert(curCmptcd);
  861. //alert(vSectcd);
  862. //alert(vTsectcd);
  863. //var cmtcont = model.getValue("/root/Init/LB0210[cd='" + s + "' and etc01='" + vSectcd + "' and etc02='" + vTsectcd + "']/etc03");
  864. var newCmt = model.getValue("/root/init/LB0210[cd='" + curCmptcd + "' and etc01='" + vSectcd + "' and etc02='" + vTsectcd + "']/etc03");
  865. //var cmtcont = "";
  866. //alert(newCmt);
  867. if (model.getValue("/root/hidden/add") == "1") {
  868. var crlf = (model.getValue("/root/hidden/newline") == "1") ? "\n" : "";
  869. model.setvalue("/root/main/cmt/testcont", model.getValue("/root/main/cmt/testcont") + crlf + newCmt);
  870. } else {
  871. model.setvalue("/root/main/cmt/testcont", newCmt);
  872. }
  873. model.refresh();
  874. fCMT_SetEditFlag()
  875. }
  876. // 입력버튼 클릭
  877. function fSelect_Click() {
  878. var vIsedit = model.getValue("/root/hidden/refflag/p_isedit");
  879. var vCmtpcd = model.getValue("/root/main/cmt/testcontcd");
  880. var vCmtp = model.getValue("/root/main/cmt/testcont");
  881. opener.model.setvalue("/root/hidden/refflag/p_isedit", vIsedit);
  882. opener.model.setvalue("/root/main/TestInfo/getSpcInfo/testcontcd", vCmtpcd);
  883. opener.model.setvalue("/root/main/TestInfo/getSpcInfo/testcont", vCmtp);
  884. window.close();
  885. }
  886. function fCMT_SetEditFlag() {
  887. model.setvalue("/root/hidden/refflag/p_isedit", "true");
  888. }
  889. function fCmtFind(){
  890. if (event.keyCode == 13) {
  891. var s = model.getValue("/root/main/cmt/testcontcd");
  892. var vSectcd = model.getValue("/root/main/cmt/sectcd");
  893. var vTsectcd = model.getValue("/root/main/cmt/tsectcd");
  894. var cmtcont = "";//model.getValue("/root/Inita/LB0210[cd='" + s + "' and etc01='" + vSectcd + "' and etc02='" + vTsectcd + "']/etc03");
  895. if (cmtcont == "") {
  896. model.setvalue("/root/MainData/cmtpcd", "-");
  897. }
  898. fCmtCombo();
  899. }
  900. }
  901. ]]>
  902. </script>
  903. </xhtml:head>
  904. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  905. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  906. <group id="group1" style="left:0px; top:10px; width:1195px; height:60px; ">
  907. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:60px; "/>
  908. <line id="line3" class="line_4" style="x1:1108px; y1:8px; x2:1108px; y2:50px; "/>
  909. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:19px; width:56px; height:22px; ">
  910. <caption>조회</caption>
  911. <script type="javascript" ev:event="DOMActivate">
  912. <![CDATA[
  913. fGetBatchRpt();
  914. ]]>
  915. </script>
  916. </button>
  917. <caption id="caption3" class="search_no_b" style="left:312px; top:8px; width:15px; height:17px; ">~</caption>
  918. <input id="ipt_usdd" ref="/root/hidden/usdd" class="input_search" inputtype="date" style="left:208px; top:8px; width:100px; height:19px; "/>
  919. <input id="ipt_uedd" ref="/root/hidden/uedd" class="input_search" inputtype="date" style="left:330px; top:8px; width:100px; height:19px; "/>
  920. <caption id="cap_rgstdd" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  921. <select1 id="rdo_growth" ref="/root/hidden/growth" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:859px; top:35px; width:230px; height:20px; border-style:none; ">
  922. <choices>
  923. <item>
  924. <label>전체</label>
  925. <value>0</value>
  926. </item>
  927. <item>
  928. <label>Growth</label>
  929. <value>1</value>
  930. </item>
  931. <item>
  932. <label>No-Growth</label>
  933. <value>2</value>
  934. </item>
  935. </choices>
  936. </select1>
  937. <img id="img1" class="icon_search" style="left:470px; top:35px; width:16px; height:16px; ">
  938. <script type="javascript" ev:event="onclick">
  939. <![CDATA[
  940. //window.load("SPLLC00001_검사항목선택.xrw","modeless", "검사항목선택", "width:580px; height:460;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
  941. //open("SMLLF90400", 50, 50, 100);
  942. open("SMLLF90400", 200, 300, 200, "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  943. ]]>
  944. </script>
  945. </img>
  946. <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_default" rclass="input_search" style="left:267px; top:34px; width:198px; height:19px; ">
  947. <script type="javascript" ev:event="xforms-value-changed">
  948. <![CDATA[
  949. // 검사항목 지웠을때
  950. fSetTclscdClean();
  951. ]]>
  952. </script>
  953. </input>
  954. <select1 id="cmb_tclscd" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:133px; top:34px; width:130px; height:19px; ">
  955. <choices>
  956. <itemset nodeset="/root/init/LB0103">
  957. <label ref="nm"/>
  958. <value ref="cd"/>
  959. </itemset>
  960. </choices>
  961. <script type="javascript" ev:event="xforms-value-changed">
  962. <![CDATA[
  963. fSelectTestGrup();
  964. ]]>
  965. </script>
  966. </select1>
  967. <caption id="caption2" class="search_name" style="left:15px; top:35px; width:112px; height:17px; ">검사항목선택 :</caption>
  968. <select1 id="cmb_ddflag" ref="/root/hidden/ref/refflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
  969. <choices>
  970. <item>
  971. <label>보고일자</label>
  972. <value>1</value>
  973. </item>
  974. <item>
  975. <label>접수일자</label>
  976. <value>2</value>
  977. </item>
  978. </choices>
  979. </select1>
  980. <caption id="caption5" class="search_name" style="left:635px; top:9px; width:89px; height:17px; ">병 동 :</caption>
  981. <select1 id="cmb_io" ref="/root/hidden/ref/ioflag" class="combo_search" appearance="minimal" style="left:529px; top:8px; width:100px; height:19px; ">
  982. <choices>
  983. <item>
  984. <label>[-]전체</label>
  985. <value>0</value>
  986. </item>
  987. <item>
  988. <label>외래</label>
  989. <value>O</value>
  990. </item>
  991. <item>
  992. <label>병동</label>
  993. <value>I</value>
  994. </item>
  995. <item>
  996. <label>건진</label>
  997. <value>S</value>
  998. </item>
  999. </choices>
  1000. </select1>
  1001. <caption id="caption7" class="search_name" style="left:438px; top:9px; width:89px; height:17px; ">외래/입원:</caption>
  1002. <select1 id="cmb_ward" ref="/root/hidden/ref/ward" class="combo_search" appearance="minimal" itemcount="20" style="left:725px; top:8px; width:100px; height:19px; ">
  1003. <choices>
  1004. <itemset nodeset="/root/init/LB0114">
  1005. <label ref="nm"/>
  1006. <value ref="cd"/>
  1007. </itemset>
  1008. </choices>
  1009. </select1>
  1010. <caption id="caption9" class="search_name" style="left:835px; top:9px; width:90px; height:17px; ">확인자 :</caption>
  1011. <input id="ipt_rtnnm" ref="/root/hidden/rtnid" appearance="input" style="left:915px; top:8px; width:90px; height:19px; ">
  1012. <script type="javascript" ev:event="onkeypress">
  1013. <![CDATA[
  1014. fKeyEvent();
  1015. ]]>
  1016. </script>
  1017. </input>
  1018. </group>
  1019. <caption id="caption4" class="tit_2" style="left:5px; top:80px; width:150px; height:13px; ">미생물 결과 목록</caption>
  1020. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:315px; y2:95px; "/>
  1021. <datagrid id="grd_batchrpt" nodeset="/root/main/getbatchrpt" caption="^건수^작업번호^등록번호^성명^검사명^바코드번호^검체명^성별/나이^진료과^rsltstat^병동/병실^antibiocd^bcno^testcd^tclscd^spccd^rsltseq^bacseqno^inptrslt^sectcd^tsectcd^testcontcd^testcont^^^^^소견" colsep="^" colwidth="25,35, 75, 55, 45, 150, 90, 80, 60, 60, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 100, 100, 100" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:100px; width:315px; height:621px; text-align:center; border-style:none; ">
  1022. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  1023. <col ref="nocnt"/>
  1024. <col editable="false" ref="workno" type="input"/>
  1025. <col editable="false" ref="pid" type="input"/>
  1026. <col ref="patnm" style="text-align:left; "/>
  1027. <col ref="tclsnm" style="left:261px; top:23px; width:200px; height:23px; text-align:left; "/>
  1028. <col editable="false" ref="bcno" type="input"/>
  1029. <col ref="spcnm" style="left:526px; top:23px; width:80px; height:23px; "/>
  1030. <col ref="sexage"/>
  1031. <col ref="orddeptnm" style="text-align:left; "/>
  1032. <col ref="rsltstat"/>
  1033. <col ref="wardroom" style="text-align:left; "/>
  1034. <col ref="antibiocd" style="text-align:left; "/>
  1035. <col ref="testcd"/>
  1036. <col ref="tclscd"/>
  1037. <col ref="spccd"/>
  1038. <col ref="rsltseq"/>
  1039. <col ref="bacseqno"/>
  1040. <col ref="inptrslt"/>
  1041. <col ref="retestyn" visibility="hidden"/>
  1042. <col ref="prcpdd" visibility="hidden"/>
  1043. <col ref="iogbn" visibility="hidden"/>
  1044. <col ref="amrmark" visibility="hidden"/>
  1045. <col ref="workno" visibility="hidden"/>
  1046. <col ref="sectcd" visibility="hidden"/>
  1047. <col ref="tsectcd" visibility="hidden"/>
  1048. <col ref="testcontcd" visibility="hidden"/>
  1049. <col ref="spccd" visibility="hidden">
  1050. <![CDATA[--]]>
  1051. </col>
  1052. <script type="javascript" ev:event="onclick">
  1053. <![CDATA[
  1054. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.row >= grd_batchrpt.fixedRows ){
  1055. fGetUnityRslt();
  1056. }
  1057. ]]>
  1058. </script>
  1059. <script type="javascript" ev:event="onaftersort">
  1060. <![CDATA[
  1061. grd_batchrpt.gridToInstance();
  1062. ]]>
  1063. </script>
  1064. <script type="javascript" ev:event="onmousedown">
  1065. <![CDATA[
  1066. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.row >= grd_batchrpt.fixedRows ){
  1067. fMouseDown_grd_TestInfoCnts();
  1068. }
  1069. ]]>
  1070. </script>
  1071. <col ref="testcont"/>
  1072. </datagrid>
  1073. <caption id="caption1" class="tit_2" style="left:323px; top:80px; width:105px; height:13px; ">결과</caption>
  1074. <line id="line2" class="line_1" style="x1:325px; y1:95px; x2:1194px; y2:95px; "/>
  1075. <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
  1076. <caption>엑셀</caption>
  1077. <script type="javascript" ev:event="DOMActivate">
  1078. <![CDATA[
  1079. fSaveExcel("2");
  1080. ]]>
  1081. </script>
  1082. </button>
  1083. <datagrid id="grd_unityrslt" nodeset="/root/main/getResultDetail" caption="결 과 내 역" colsep="^" colwidth="1500" dataheight="23" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:325px; top:100px; width:870px; height:435px; font-family:굴림체; ">
  1084. <col ref="reptrslt" style="font-family:굴림체; "/>
  1085. <col ref="judgmark2" visibility="hidden" style="font-family:굴림체; "/>
  1086. </datagrid>
  1087. <button id="button1" class="btn2_letter2" style="left:272px; top:74px; width:42px; height:19px; ">
  1088. <caption>엑셀</caption>
  1089. <script type="javascript" ev:event="DOMActivate">
  1090. <![CDATA[
  1091. fSaveExcel("1");
  1092. ]]>
  1093. </script>
  1094. </button>
  1095. <output id="output3" ref="/root/main/getuserAnm/acceptnm" class="output_fix" style="left:1006px; top:18px; width:90px; height:19px; "/>
  1096. <select1 id="cmb_cmt" ref="/root/main/cmt/testcontcd" class="combo_default" appearance="minimal" style="left:387px; top:560px; width:739px; height:19px; ">
  1097. <choices>
  1098. <itemset nodeset="/root/init/LB0210">
  1099. <label ref="nm"/>
  1100. <value ref="cd"/>
  1101. </itemset>
  1102. </choices>
  1103. <script type="javascript" ev:event="xforms-select">
  1104. <![CDATA[
  1105. fCmtCombo();
  1106. fSoGyeonJeoJang(1);
  1107. ]]>
  1108. </script>
  1109. </select1>
  1110. <caption id="cap_1818" class="cell_1" style="left:325px; top:581px; width:60px; height:140px; ">소견</caption>
  1111. <textarea id="textarea2" ref="/root/main/cmt/testcont" style="left:387px; top:581px; width:805px; height:139px; ">
  1112. <script type="javascript" ev:event="xforms-value-changed">
  1113. <![CDATA[
  1114. fCMT_SetEditFlag();
  1115. //fSoGyeonJeoJang(1);
  1116. ]]>
  1117. </script>
  1118. <script type="javascript" ev:event="DOMFocusOut">
  1119. <![CDATA[
  1120. fSoGyeonJeoJang(1);
  1121. ]]>
  1122. </script>
  1123. </textarea>
  1124. <caption id="caption8" class="tit_2" style="left:325px; top:540px; width:100px; height:13px; ">소견등록</caption>
  1125. <line id="line4" class="line_1" style="x1:327px; y1:555px; x2:1192px; y2:555px; "/>
  1126. <select id="checkbox1" ref="/root/hidden/add" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:1074px; top:540px; width:50px; height:13px; border-style:none; ">
  1127. <choices>
  1128. <item>
  1129. <label>추가</label>
  1130. <value>1</value>
  1131. </item>
  1132. </choices>
  1133. </select>
  1134. <select id="checkbox2" ref="/root/hidden/newline" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:1125px; top:540px; width:60px; height:13px; border-style:none; ">
  1135. <choices>
  1136. <item>
  1137. <label>다음줄</label>
  1138. <value>1</value>
  1139. </item>
  1140. </choices>
  1141. </select>
  1142. <caption id="caption10" class="cell_1" style="left:325px; top:560px; width:60px; height:20px; ">소견코드</caption>
  1143. <button id="btn_cfm" class="btn2_letter4" style="left:1128px; top:559px; width:64px; height:19px; ">
  1144. <caption>소견저장</caption>
  1145. <script type="javascript" ev:event="onclick">
  1146. <![CDATA[
  1147. fSetContCmt(grd_batchrpt.row,grd_batchrpt.col);
  1148. if(grd_batchrpt.row >= grd_batchrpt.fixedRows ){
  1149. fGetUnityRslt();
  1150. }
  1151. ]]>
  1152. </script>
  1153. </button>
  1154. <input id="input1" ref="/root/main/selbcno" editable="false" style="left:1051px; top:75px; width:99px; height:19px; "/>
  1155. <caption id="caption11" class="tit_2" style="left:960px; top:77px; width:90px; height:13px; ">선택바코드</caption>
  1156. <select1 id="radio2" ref="/root/hidden/remark" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:590px; top:45px; width:230px; height:20px; font-weight:bold; border-style:none; ">
  1157. <choices>
  1158. <item>
  1159. <label>전체</label>
  1160. <value>0</value>
  1161. </item>
  1162. <item>
  1163. <label>소견있음</label>
  1164. <value>1</value>
  1165. </item>
  1166. <item>
  1167. <label>소견없음</label>
  1168. <value>2</value>
  1169. </item>
  1170. </choices>
  1171. </select1>
  1172. <caption id="caption12" class="tit_2" style="left:515px; top:45px; width:70px; height:13px; ">결과상태</caption>
  1173. <caption id="caption13" class="tit_2" style="left:341px; top:75px; width:80px; height:13px; ">관련검사</caption>
  1174. <input id="input2" ref="/root/main/getreferencelist/gumsa" style="left:413px; top:73px; width:545px; height:19px; "/>
  1175. </group>
  1176. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  1177. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  1178. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  1179. <caption>초기화</caption>
  1180. <script type="javascript" ev:event="DOMActivate">
  1181. <![CDATA[
  1182. fSetInit();
  1183. ]]>
  1184. </script>
  1185. </button>
  1186. <button id="btn_batchrpt" class="btn4_letter5" style="left:1034px; top:3px; width:92px; height:22px; ">
  1187. <caption>전문의확인</caption>
  1188. <script type="javascript" ev:event="DOMActivate">
  1189. <![CDATA[
  1190. fExebatch();
  1191. ]]>
  1192. </script>
  1193. </button>
  1194. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  1195. <caption>출력</caption>
  1196. </button>
  1197. </group>
  1198. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  1199. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">특진의확인</caption>
  1200. </group>
  1201. <script type="javascript" ev:event="onmenu">
  1202. <![CDATA[
  1203. var popupParam = event.description;
  1204. fOnmenu(popupParam);
  1205. ]]>
  1206. </script>
  1207. </xhtml:body>
  1208. </xhtml:html>