SMLMR00600_미생물결과일괄보고.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLMR00600_미생물결과일괄보고.xrw
  4. * 설 명 : 미생물결과일괄보고
  5. * 설 계 자 : (주)에이씨케이 - 윤재한
  6. * 작 성 자 : (주)에이씨케이 -
  7. * 작 성 일 : 2007.09.17
  8. * 수정이력 :
  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>
  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. </getbatchrpt>
  34. <getResultDetail>
  35. <reptrslt/>
  36. </getResultDetail>
  37. <getuserAnm>
  38. <acceptnm/>
  39. </getuserAnm>
  40. </main>
  41. <send>
  42. <usdd/>
  43. <uedd/>
  44. <growth/>
  45. <bcno/>
  46. <testcd/>
  47. <tclsnm/>
  48. <rslt/>
  49. <batchdata/>
  50. <pid/>
  51. <prcpdd/>
  52. <iogbn/>
  53. <codeflag/>
  54. <ddflag/>
  55. <tclscdlist/>
  56. <ward/>
  57. <workno/>
  58. <acceptid/>
  59. </send>
  60. <init/>
  61. <hidden>
  62. <ref>
  63. <tclscdlist>
  64. <tclscdlist/>
  65. <tclsnmlist/>
  66. <tclscdlist2/>
  67. <testgrup/>
  68. </tclscdlist>
  69. <refflag/>
  70. <ioflag/>
  71. <ward/>
  72. </ref>
  73. <usdd/>
  74. <uedd/>
  75. <growth/>
  76. <rtnid/>
  77. </hidden>
  78. </root>
  79. </instance>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. fSetInit();
  86. ]]>
  87. </script>
  88. <submission id="TRLMR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getbatchrpt"/>
  89. <submission id="TXLMR00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  90. <submission id="TRLZZ00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/prcpinfo"/>
  91. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
  92. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  93. <submission id="TRLMP00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/getResultDetail"/>
  94. <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getuserAnm"/>
  95. </model>
  96. <script type="javascript">
  97. <![CDATA[
  98. //초기화
  99. function fSetInit(ref) {
  100. if(ref != 2) {
  101. var today = getCurrentDate();
  102. model.setValue("/root/hidden/usdd", today);
  103. model.setValue("/root/hidden/uedd", today);
  104. model.setValue("/root/hidden/growth", "0");
  105. model.setValue("/root/hidden/ref/refflag", "1");
  106. model.setValue("/root/hidden/ref/ioflag", "0");
  107. model.setValue("/root/hidden/ref/ward", "000000");
  108. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  109. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  110. model.removeNodeset("/root/main/getbatchrpt");
  111. model.removeNodeset("/root/main/getunityrslt");
  112. grd_batchrpt.fixedcellcheckbox(0, 1) = true;
  113. }
  114. model.removeNodeset("/root/init");
  115. model.setValue("/root/send/codeflag", "0103|0114|0000|"); // 0103 검사그룹
  116. submit("TRLZZ00101");
  117. model.refresh();
  118. }
  119. //검사그룹조회
  120. function fSelectTestGrup(){
  121. model.makeValue("/root/send/testgrupnm", cmb_tclscd.label);
  122. submit("TRLLF90401" ,false);
  123. fSetPopUpTclscdList();
  124. }
  125. function fSetPopUpTclscdList(){
  126. var count = getNodesetCount("/root/main/testgrupdetl");
  127. if(count > 0){
  128. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  129. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  130. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  131. // 검사그룹 상세 목록 없을때
  132. if(sendtclsnm == ""){
  133. model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
  134. model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
  135. }else{ // 검사그룹 상세 목록 있을때
  136. for(i=2; i<= count; i++){
  137. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  138. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  139. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  140. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  141. }
  142. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  143. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  144. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  145. }
  146. model.refresh();
  147. }
  148. }
  149. // 검사항목 지웠을때
  150. function fSetTclscdClean(){
  151. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  152. }
  153. //조회
  154. function fGetBatchRpt() {
  155. grd_batchrpt.fixedcellischeck(0, 1) = false;
  156. model.removeNodeset("/root/main/getunityrslt");
  157. model.setValue("/root/send/ddflag", model.getValue("/root/hidden/ref/refflag"));
  158. model.setValue("/root/send/usdd", model.getValue("/root/hidden/usdd"));
  159. model.setValue("/root/send/uedd", model.getValue("/root/hidden/uedd"));
  160. model.setValue("/root/send/growth", model.getValue("/root/hidden/growth"));
  161. model.setValue("/root/send/iogbn", model.getValue("/root/hidden/ref/ioflag"));
  162. model.setValue("/root/send/ward", model.getValue("/root/hidden/ref/ward"));
  163. model.setValue("/root/send/tclscdlist", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  164. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  165. submit("TRLMR00601");
  166. if(getNodesetCount("/root/main/getbatchrpt") > 0) {
  167. initGridStyle("grd_batchrpt");
  168. setRowStyle("grd_batchrpt", "1", "3", "rsltstat", "bigger");
  169. setRowStyle("grd_batchrpt", "5", "c", "retestyn", "equal");
  170. setRowStyle("grd_batchrpt", "5", "C", "retestyn", "equal");
  171. }
  172. model.refresh();
  173. }
  174. //통합결과 조회
  175. function fGetUnityRslt() {
  176. model.removeNodeset("/root/main/getResultDetail");
  177. grd_unityrslt.rebuildStyle();
  178. /*model.makeNode("/root/main/getunityrslt/testcd");
  179. model.makeNode("/root/main/getunityrslt/bcno");
  180. model.makeNode("/root/main/getunityrslt/baccd");
  181. model.makeNode("/root/main/getunityrslt/tclscd");
  182. model.makeNode("/root/main/getunityrslt/spccd");
  183. model.makeNode("/root/main/getunityrslt/rsltseq");
  184. model.makeNode("/root/main/getunityrslt/bacseqno");*/
  185. //var tcls = " ";
  186. //tcls = tcls + model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/tclsnm") + "\t " + model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/inptrslt");
  187. //model.setValue("/root/main/getunityrslt/rslt", tcls);
  188. /*model.setValue("/root/main/getunityrslt/testcd", model.getValue("/root/main/getbatchrpt/testcd"));
  189. model.setValue("/root/main/getunityrslt/bcno", model.getValue("/root/main/getbatchrpt/bcno"));
  190. model.setValue("/root/main/getunityrslt/baccd", "");
  191. model.setValue("/root/main/getunityrslt/tclscd", model.getValue("/root/main/getbatchrpt/tclscd"));
  192. model.setValue("/root/main/getunityrslt/spccd", model.getValue("/root/main/getbatchrpt/spccd"));
  193. model.setValue("/root/main/getunityrslt/rsltseq", model.getValue("/root/main/getbatchrpt/rsltseq"));
  194. model.setValue("/root/main/getunityrslt/bacseqno", model.getValue("/root/main/getbatchrpt/bacseqno"));*/
  195. model.setValue("/root/send/bcno", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/bcno"));
  196. model.setValue("/root/send/workno", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/workno"));
  197. model.setValue("/root/send/testcd", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/testcd"));
  198. model.setValue("/root/send/pid", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"));
  199. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  200. submit("TRLMP00402");
  201. initGridStyle("grd_unityrslt");
  202. setRowStyleSep("grd_unityrslt", "0", "B", "judgmark2", "equal");
  203. fGrdRemake();
  204. fGetTopInfo();
  205. model.refresh();
  206. }
  207. function fGrdRemake(){
  208. for(i=1;i<grd_unityrslt.rows;i++){
  209. if(model.getvalue("/root/main/getResultDetail["+i+"]/judgmark") == "IMG"){
  210. grd_unityrslt.cellstyle("background-image", i, 0) = "../../../com/commonweb/images/icon_picture.gif";
  211. grd_unityrslt.cellstyle("background-position", i, 0) = "left";
  212. grd_unityrslt.cellstyle("padding-left", i, 0) = 15;
  213. }
  214. }
  215. }
  216. // 탑정보 위한 조회
  217. function fGetTopInfo(){
  218. model.setValue("/root/send/pid", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"));
  219. model.setValue("/root/send/prcpdd", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/prcpdd"));
  220. model.setValue("/root/send/iogbn", model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/iogbn"));
  221. submit("TRLZZ00107");
  222. if(getPatientInfo("pid") != model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid")) {
  223. if(grd_batchrpt.rows> 1){
  224. setParameter("errflag", "Y");
  225. setParameter("condparam", "S" + "▦" + model.getvalue("/root/init/prcpinfo/prcpdd")+ "▦"
  226. + model.getvalue("/root/init/prcpinfo/execprcpuniqno") + "▦"
  227. + model.getvalue("/root/init/prcpinfo/instcd") );
  228. //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  229. }
  230. var paminfo = getGlobalVariable("paminfo");
  231. if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid"))){ //상단정보가 없는 경우
  232. delPatientInfos(); //환자정보 전체 삭제
  233. var pid = model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/pid")
  234. var hngnm = model.getValue("/root/main/getbatchrpt["+ grd_batchrpt.row +"]/patnm");
  235. //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
  236. setPatientInfo("pid" , pid); //등록번호
  237. setPatientInfo("pname" , pid + "|" + hngnm); //환자명
  238. }
  239. }
  240. }
  241. function setRowStyleSep( gridID , styleFlag , data , colRef , control ) {
  242. var style = new Array("#ff0000" , "#ffe79d" , "#f3e1bf" , "#7BE6B7" , "#b9e5fb" , "#f7a08b" , "#fec34d" , "#dec6a4" , "#c8e67b" , "#43c8f5", "#99cf16", "#e5f3c2" );
  243. var styleFlags = styleFlag.split("^");
  244. var datas = data.split("^");
  245. if( control == null || control == "" )
  246. control = "equal";
  247. var controls = control.split("^");
  248. gridObj = document.all(gridID);
  249. gridObj.backcoloralternate = "transparent";
  250. for( var j = 0 ; j < datas.length ; j++ ) {
  251. var dataValue = datas[j];
  252. var styleValue = style[styleFlags[j]];
  253. for( var i = gridObj.fixedRows ; i < gridObj.Rows ; i++ ) {
  254. if(controls[j] == null)
  255. controls[j] = "equal";
  256. switch( controls[j] ) {
  257. case "small":
  258. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) < dataValue ) {
  259. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  260. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  261. }
  262. break;
  263. case "smallThen":
  264. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) <= dataValue ) {
  265. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  266. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  267. }
  268. break;
  269. case "bigger":
  270. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) > dataValue ) {
  271. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  272. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  273. }
  274. break;
  275. case "biggerThen":
  276. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) >= dataValue ) {
  277. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  278. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  279. }
  280. break;
  281. case "notEqual":
  282. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) != dataValue ) {
  283. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  284. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  285. }
  286. break;
  287. case "equal":
  288. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) == dataValue ) {
  289. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  290. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  291. }
  292. break;
  293. }
  294. }
  295. }
  296. }
  297. function fUpPatinfo(){
  298. if(getNodesetCount("/root/init/prcpinfo") > 0){
  299. setParameter("condparam", "S" + "▦" + model.getvalue("/root/init/prcpinfo/prcpdd")+ "▦"
  300. + model.getvalue("/root/init/prcpinfo/execprcpuniqno") + "▦"
  301. + model.getvalue("/root/init/prcpinfo/instcd"));
  302. //modal("SPMMO08900");
  303. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  304. }
  305. }
  306. //일괄보고
  307. function fExebatch() {
  308. if(model.getValue("/root/main/getuserAnm/acceptnm")==""){
  309. alert("확인자를 입력해주십시오");
  310. model.setFocus("ipt_rtnnm");
  311. return;
  312. }
  313. var Go = 0;
  314. for(i = 0; i < grd_batchrpt.rows; i++) {
  315. if(model.getValue("/root/main/getbatchrpt["+ i +"]/chk") == "Y") {
  316. grd_batchrpt.rowStatus(i) = 1;
  317. Go = 1;
  318. } else {
  319. grd_batchrpt.removeStatus(i, "update");
  320. }
  321. }
  322. if(Go == 0){
  323. alert("Confirm 할 환자를 선택하여 주십시오");
  324. return;
  325. }
  326. model.setValue("/root/send/batchdata", getGridUpdateData(grd_batchrpt));
  327. model.setValue("/root/send/acceptid" ,model.getValue("/root/hidden/rtnid"));
  328. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  329. //alert(model.getValue("/root/send/acceptid"));
  330. submit("TXLMR00601");
  331. fGetBatchRpt();
  332. }
  333. //엑셀저장
  334. function fSaveExcel(gbn) {
  335. var file = window.fileDialog("save", ",", false, "Excel", "xls", "All Files (*.*)|*.*|Excel Files (*.xls)|*.xls");
  336. if(file != "") {
  337. if(gbn == "1"){
  338. grd_batchrpt.saveExcel(file);
  339. }else{
  340. grd_unityrslt.saveExcel(file);
  341. }
  342. }
  343. }
  344. function fMouseDown_grd_TestInfoCnts(){
  345. model.removeNodeset("/root/hidden/popupmenu");
  346. if(event.button == 3){ // 라이트클릭 메뉴만들기...
  347. model.makeNode("/root/hidden/popupmenu/grid");
  348. model.makeNode("/root/hidden/popupmenu/grid/item");
  349. n = parseInt(getNodesetCount("/root/hidden/popupmenu/grid/item")) + 1;
  350. model.makeValue("/root/hidden/popupmenu/grid/item["+n+"]/name" , "▶ 통합결과조회");
  351. model.makeValue("/root/hidden/popupmenu/grid/item["+n+"]/func" , "fTGyeolGwa");
  352. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.mouseRow >= grd_batchrpt.fixedrows){
  353. setPopupMenu("grd_batchrpt" , true, "/root/hidden/popupmenu/grid/item", "name", "func");
  354. }else{
  355. window.setPopupMenu(false);
  356. }
  357. }
  358. }
  359. function fTGyeolGwa(){
  360. modal("SMAER00800 ","","","","","/root/main/getbatchrpt["+grd_batchrpt.row+"]/pid","/root/send/data/singdata/srchpid");
  361. }
  362. function fOnmenu(popupParam){
  363. if(popupParam == "fTGyeolGwa"){
  364. fTGyeolGwa();
  365. }
  366. }
  367. function fKeyEvent(){
  368. if(event.keyCode == "13"){
  369. // id입력시 usernm 보이게
  370. if(event.target == "ipt_rtnnm"){
  371. model.setvalue("/root/hidden/rtnid", ipt_rtnnm.currentText.toUpperCase());
  372. model.refresh();
  373. if(model.getValue("/root/hidden/rtnid") != ""){
  374. model.makeValue("/root/send/acceptid", model.getvalue("/root/hidden/rtnid"));
  375. submit("TRLBT10404");
  376. ipt_rtnnm.selBegin = 0;
  377. ipt_rtnnm.selEnd = ipt_rtnnm.currentText.length;
  378. model.setFocus("ipt_rtnnm");
  379. model.refresh();
  380. }
  381. }
  382. }
  383. }
  384. ]]>
  385. </script>
  386. </xhtml:head>
  387. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  388. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  389. <group id="group1" style="left:0px; top:10px; width:1195px; height:60px; ">
  390. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:60px; "/>
  391. <line id="line3" class="line_4" style="x1:1108px; y1:8px; x2:1108px; y2:50px; "/>
  392. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:19px; width:56px; height:22px; ">
  393. <caption>조회</caption>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. fGetBatchRpt();
  397. ]]>
  398. </script>
  399. </button>
  400. <caption id="caption3" class="search_no_b" style="left:312px; top:8px; width:15px; height:17px; ">~</caption>
  401. <input id="ipt_usdd" ref="/root/hidden/usdd" class="input_search" inputtype="date" style="left:208px; top:8px; width:100px; height:19px; "/>
  402. <input id="ipt_uedd" ref="/root/hidden/uedd" class="input_search" inputtype="date" style="left:330px; top:8px; width:100px; height:19px; "/>
  403. <caption id="cap_rgstdd" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  404. <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; ">
  405. <choices>
  406. <item>
  407. <label>전체</label>
  408. <value>0</value>
  409. </item>
  410. <item>
  411. <label>Growth</label>
  412. <value>1</value>
  413. </item>
  414. <item>
  415. <label>No-Growth</label>
  416. <value>2</value>
  417. </item>
  418. </choices>
  419. </select1>
  420. <img id="img1" class="icon_search" style="left:817px; top:35px; width:16px; height:16px; ">
  421. <script type="javascript" ev:event="onclick">
  422. <![CDATA[
  423. //window.load("SPLLC00001_검사항목선택.xrw","modeless", "검사항목선택", "width:580px; height:460;min:hidden;max:hidden;align:center", "/root/hidden/bcno", "/root/hidden/bcno");
  424. //open("SMLLF90400", 50, 50, 100);
  425. open("SMLLF90400", 200, 300, 200, "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  426. ]]>
  427. </script>
  428. </img>
  429. <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_default" rclass="input_search" style="left:267px; top:34px; width:542px; height:19px; ">
  430. <script type="javascript" ev:event="xforms-value-changed">
  431. <![CDATA[
  432. // 검사항목 지웠을때
  433. fSetTclscdClean();
  434. ]]>
  435. </script>
  436. </input>
  437. <select1 id="cmb_tclscd" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:133px; top:34px; width:130px; height:19px; ">
  438. <choices>
  439. <itemset nodeset="/root/init/LB0103">
  440. <label ref="nm"/>
  441. <value ref="cd"/>
  442. </itemset>
  443. </choices>
  444. <script type="javascript" ev:event="xforms-value-changed">
  445. <![CDATA[
  446. fSelectTestGrup();
  447. ]]>
  448. </script>
  449. </select1>
  450. <caption id="caption2" class="search_name" style="left:15px; top:35px; width:112px; height:17px; ">검사항목선택 :</caption>
  451. <select1 id="cmb_ddflag" ref="/root/hidden/ref/refflag" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:100px; height:19px; ">
  452. <choices>
  453. <item>
  454. <label>보고일자</label>
  455. <value>1</value>
  456. </item>
  457. <item>
  458. <label>접수일자</label>
  459. <value>2</value>
  460. </item>
  461. </choices>
  462. </select1>
  463. <caption id="caption5" class="search_name" style="left:635px; top:9px; width:89px; height:17px; ">병 동 :</caption>
  464. <select1 id="cmb_io" ref="/root/hidden/ref/ioflag" class="combo_search" appearance="minimal" style="left:529px; top:8px; width:100px; height:19px; ">
  465. <choices>
  466. <item>
  467. <label>[-]전체</label>
  468. <value>0</value>
  469. </item>
  470. <item>
  471. <label>외래</label>
  472. <value>O</value>
  473. </item>
  474. <item>
  475. <label>병동</label>
  476. <value>I</value>
  477. </item>
  478. <item>
  479. <label>건진</label>
  480. <value>S</value>
  481. </item>
  482. </choices>
  483. </select1>
  484. <caption id="caption7" class="search_name" style="left:438px; top:9px; width:89px; height:17px; ">외래/입원:</caption>
  485. <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; ">
  486. <choices>
  487. <itemset nodeset="/root/init/LB0114">
  488. <label ref="nm"/>
  489. <value ref="cd"/>
  490. </itemset>
  491. </choices>
  492. </select1>
  493. <caption id="caption9" class="search_name" style="left:835px; top:9px; width:90px; height:17px; ">확인자 :</caption>
  494. <input id="ipt_rtnnm" ref="/root/hidden/rtnid" appearance="input" style="left:915px; top:8px; width:90px; height:19px; ">
  495. <script type="javascript" ev:event="onkeypress">
  496. <![CDATA[
  497. fKeyEvent();
  498. ]]>
  499. </script>
  500. </input>
  501. </group>
  502. <caption id="caption4" class="tit_2" style="left:5px; top:80px; width:150px; height:13px; ">미생물 결과 목록</caption>
  503. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:315px; y2:95px; "/>
  504. <datagrid id="grd_batchrpt" nodeset="/root/main/getbatchrpt" caption="^작업번호^등록번호^성명^검사명^검체명^성별/나이^진료과^rsltstat^병동/병실^antibiocd^bcno^testcd^tclscd^spccd^rsltseq^bacseqno^inptrslt" colsep="^" colwidth="34, 67, 75, 65, 246, 130, 65, 89, 0, 130, 0, 0, 0, 0, 0, 0, 0, 0" 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; ">
  505. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  506. <col ref="workseq"/>
  507. <col ref="pid"/>
  508. <col ref="patnm" style="text-align:left; "/>
  509. <col ref="tclsnm" style="text-align:left; "/>
  510. <col ref="spcnm"/>
  511. <col ref="sexage"/>
  512. <col ref="orddeptnm" style="text-align:left; "/>
  513. <col ref="rsltstat"/>
  514. <col ref="wardroom" style="text-align:left; "/>
  515. <col ref="antibiocd" style="text-align:left; "/>
  516. <col ref="bcno"/>
  517. <col ref="testcd"/>
  518. <col ref="tclscd"/>
  519. <col ref="spccd"/>
  520. <col ref="rsltseq"/>
  521. <col ref="bacseqno"/>
  522. <col ref="inptrslt"/>
  523. <col ref="retestyn" visibility="hidden"/>
  524. <col ref="prcpdd" visibility="hidden"/>
  525. <col ref="iogbn" visibility="hidden"/>
  526. <col ref="amrmark" visibility="hidden"/>
  527. <col ref="workno" visibility="hidden"/>
  528. <script type="javascript" ev:event="onclick">
  529. <![CDATA[
  530. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.row >= grd_batchrpt.fixedRows ){
  531. fGetUnityRslt();
  532. }
  533. ]]>
  534. </script>
  535. <script type="javascript" ev:event="onaftersort">
  536. <![CDATA[
  537. grd_batchrpt.gridToInstance();
  538. ]]>
  539. </script>
  540. <script type="javascript" ev:event="onmousedown">
  541. <![CDATA[
  542. if(grd_batchrpt.isCell(event.target) && grd_batchrpt.row >= grd_batchrpt.fixedRows ){
  543. fMouseDown_grd_TestInfoCnts();
  544. }
  545. ]]>
  546. </script>
  547. </datagrid>
  548. <caption id="caption1" class="tit_2" style="left:330px; top:80px; width:105px; height:13px; ">결과</caption>
  549. <line id="line2" class="line_1" style="x1:325px; y1:95px; x2:1194px; y2:95px; "/>
  550. <button id="btn_excel" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
  551. <caption>엑셀</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. fSaveExcel("2");
  555. ]]>
  556. </script>
  557. </button>
  558. <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:621px; font-family:굴림체; ">
  559. <col ref="reptrslt" style="font-family:굴림체; "/>
  560. <col ref="judgmark2" visibility="hidden" style="font-family:굴림체; "/>
  561. </datagrid>
  562. <button id="button1" class="btn2_letter2" style="left:272px; top:74px; width:42px; height:19px; ">
  563. <caption>엑셀</caption>
  564. <script type="javascript" ev:event="DOMActivate">
  565. <![CDATA[
  566. fSaveExcel("1");
  567. ]]>
  568. </script>
  569. </button>
  570. <output id="output3" ref="/root/main/getuserAnm/acceptnm" class="output_fix" style="left:1006px; top:18px; width:90px; height:19px; "/>
  571. </group>
  572. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  573. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  574. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  575. <caption>초기화</caption>
  576. <script type="javascript" ev:event="DOMActivate">
  577. <![CDATA[
  578. fSetInit();
  579. ]]>
  580. </script>
  581. </button>
  582. <button id="btn_batchrpt" class="btn4_letter5" style="left:1034px; top:3px; width:92px; height:22px; ">
  583. <caption>전문의확인</caption>
  584. <script type="javascript" ev:event="DOMActivate">
  585. <![CDATA[
  586. fExebatch();
  587. ]]>
  588. </script>
  589. </button>
  590. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  591. <caption>출력</caption>
  592. </button>
  593. </group>
  594. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  595. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">미생물 결과 Confirm</caption>
  596. </group>
  597. <script type="javascript" ev:event="onmenu">
  598. <![CDATA[
  599. var popupParam = event.description;
  600. fOnmenu(popupParam);
  601. ]]>
  602. </script>
  603. </xhtml:body>
  604. </xhtml:html>