SMLMP00400_미생물결과조회.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLP00900_결과조회.xrw
  4. * 설 명 : 결과조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 송요셉
  7. * 작 성 일 : 2007.06.15
  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/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <getRsltBacList>
  20. <workno/>
  21. <pid/>
  22. <patnm/>
  23. <prcpdd/>
  24. <spcacptdt/>
  25. <lastreptdt/>
  26. <tclsnm/>
  27. <lastreptid/>
  28. <bcno/>
  29. </getRsltBacList>
  30. <getResultDetail>
  31. <reptrslt/>
  32. </getResultDetail>
  33. <testgrupdetl>
  34. <chk/>
  35. <tclsnm/>
  36. <tclscd/>
  37. </testgrupdetl>
  38. <barcdprntsetup/>
  39. </main>
  40. <send>
  41. <data1/>
  42. </send>
  43. <init>
  44. </init>
  45. <hidden>
  46. <ref>
  47. <startdd/>
  48. <enddd/>
  49. <searchtext/>
  50. <refflag>1</refflag>
  51. <baccd>00</baccd>
  52. <getflag>2</getflag>
  53. <tclscdlist>
  54. <tclscdlist/>
  55. <tclsnmlist/>
  56. <tclscdlist2/>
  57. <testgrup/>
  58. </tclscdlist>
  59. <ioflag>0</ioflag>
  60. <growthyn>0</growthyn>
  61. <tclscd/>
  62. <orddept>00</orddept>
  63. <testmdlcd>00</testmdlcd>
  64. <workgroup>00</workgroup>
  65. <rsltstat/>
  66. </ref>
  67. <bcnoinfo/>
  68. <rsltstatchk>
  69. <rslt1/>
  70. <rslt2/>
  71. <rslt3>0</rslt3>
  72. <rsltall/>
  73. </rsltstatchk>
  74. <barcd/>
  75. <pid/>
  76. <micropid>
  77. <pid/>
  78. </micropid>
  79. </hidden>
  80. </root>
  81. </instance>
  82. <script type="javascript" ev:event="xforms-model-construct-done">
  83. <![CDATA[
  84. fSetInit2();
  85. ]]>
  86. </script>
  87. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  92. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  93. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  94. <submission id="TRLMP00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getRsltBacList"/>
  95. <submission id="TRLMP00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getResultDetail"/>
  96. <submission id="TRLZZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/barcd"/>
  97. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  98. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/barcdprntsetup"/>
  99. </model>
  100. <script type="javascript">
  101. <![CDATA[
  102. function fSetInit2() {
  103. var Today = getCurrentDate();
  104. var BfDay = getCurrentDate().toDate("YYYYMMDD").getAddDate(-15)
  105. model.removeNodeset("/root/main/getRsltBacList");
  106. model.removeNodeset("/root/main/getResultDetail");
  107. model.setvalue("/root/hidden/ref/startdd",BfDay.getDateFormat("YYYYMMDD"));
  108. model.setvalue("/root/hidden/ref/enddd",Today);
  109. lzzfMakeBrcdPrntObjHanDo("CommAX");
  110. model.makeValue("/root/send/scrnid", getScreenID());
  111. submit("TRLLC90101");
  112. fBaseInfoRef("0103|0002|0112|0113|");
  113. }
  114. //프린터 설정
  115. function fSetPrint() {
  116. var count = getNodesetCount("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  117. if(count == 0) {
  118. model.makeNode("/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  119. }
  120. open("SPLLC90100_바코드프린터설정.xrw", "", "", "", "", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo");
  121. }
  122. function fGetResultListRef(){
  123. model.removeNodeset("/root/main/getRsltBacList");
  124. model.removeNodeset("/root/main/getResultDetail");
  125. var rslt1 = model.getValue("/root/hidden/rsltstatchk/rslt1");
  126. var rslt2 = model.getValue("/root/hidden/rsltstatchk/rslt2");
  127. var rslt3 = model.getValue("/root/hidden/rsltstatchk/rslt3");
  128. var rsltall = model.getValue("/root/hidden/rsltstatchk/rsltall");
  129. if(rslt1 == "0" && rslt2 == "0"){
  130. model.setValue("/root/hidden/ref/rsltstat" , "3");
  131. }else if(rslt1 == "0" && rslt2 != "0"){
  132. model.setValue("/root/hidden/ref/rsltstat" , "1");
  133. }else if(rslt1 != "0" && rslt2 == "0"){
  134. model.setValue("/root/hidden/ref/rsltstat" , "2");
  135. }else if(rslt3 == "0"){
  136. model.setValue("/root/hidden/ref/rsltstat" , "4");
  137. }else if(rsltall == "0"){
  138. model.setValue("/root/hidden/ref/rsltstat" , "5");
  139. }else{
  140. alert("결과상태를 선택하여 주십시오.");
  141. return;
  142. }
  143. model.setValue("/root/hidden/bcnoinfo", "");
  144. model.setValue("/root/hidden/ref/tclscd", model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  145. model.copyNode("/root/send/data1" , "/root/hidden/ref");
  146. submit("TRLMP00401");
  147. fSetMakeTree();
  148. }
  149. function fSetMakeTree(){
  150. var GBN = model.getValue("/root/hidden/ref/refflag");
  151. var BCNO = model.getValue("/root/hidden/ref/searchtext");
  152. if(GBN == 3){
  153. for(a = 1 ; a < getRsltBacList.rows ; a++){
  154. if(model.getValue("/root/main/getRsltBacList["+a+"]/bcno") == BCNO){
  155. getRsltBacList.row = a;
  156. getRsltBacList.topRow = a;
  157. fClickResultList();
  158. return;
  159. }
  160. }
  161. }else{
  162. if(getRsltBacList.rows > 1){
  163. getRsltBacList.row = 1;
  164. fClickResultList();
  165. }
  166. }
  167. /*
  168. for(var i = 1; i < grd_spclist.rows; i++) {
  169. grd_spclist.IsSubtotal(i) = true;
  170. grd_spclist.outlinelevel(i) = grd_spclist.valueMatrix(i,1);
  171. }
  172. grd_spclist.OutlineCol = 0;
  173. grd_spclist.OutlineBar = 4;
  174. */
  175. }
  176. function fPidRef(){
  177. if(event.keyCode == "13"){
  178. if(event.target == "iptSearch"){
  179. model.setvalue("/root/hidden/ref/searchtext",(iptSearch.currentText).toUpperCase());
  180. //model.refresh();
  181. fGetResultListRef();
  182. model.setFocus("iptSearch");
  183. iptSearch.selBegin = 0;
  184. iptSearch.selEnd = iptSearch.currentText.length;
  185. }
  186. }
  187. }
  188. function fClickResultList(){
  189. var row = getRsltBacList.row;
  190. model.setValue("/root/hidden/bcnoinfo", model.getValue("/root/main/getRsltBacList["+row+"]/bcno"));
  191. fUpPatinfo();
  192. //var sLevel = model.getvalue("/root/main/getResultList["+row+"]/level");
  193. //if(sLevel == "1") return;
  194. model.removeNodeset("/root/main/getResultDetail");
  195. datagrid1.rebuildStyle();
  196. model.copyNode("/root/send/data1" , "/root/main/getRsltBacList["+row+"]");
  197. submit("TRLMP00402");
  198. initGridStyle("datagrid1");
  199. setRowStyleSep("datagrid1", "0", "B", "judgmark2", "equal");
  200. fGrdRemake();
  201. }
  202. function fUpPatinfo(){
  203. var row = getRsltBacList.row;
  204. if(getPatientInfo("pid") != model.getValue("/root/main/getRsltBacList["+row+"]/pid")) {
  205. if(getRsltBacList.rows> 1){
  206. setParameter("errflag", "Y");
  207. setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/getRsltBacList["+row+"]/prcpdd")+ "▦"
  208. + model.getvalue("/root/main/getRsltBacList["+row+"]/execprcpuniqno") + "▦"
  209. + model.getvalue("/root/main/getRsltBacList["+row+"]/instcd") );
  210. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  211. }
  212. var paminfo = getGlobalVariable("paminfo");
  213. if((paminfo.length < 0) || (getPatientInfo("pid") != model.getValue("/root/main/getRsltBacList["+row+"]/pid"))){ //상단정보가 없는 경우
  214. delPatientInfos(); //환자정보 전체 삭제
  215. var pid = model.getValue("/root/main/getRsltBacList["+row+"]/pid")
  216. var hngnm = model.getValue("/root/main/getRsltBacList["+row+"]/patnm");
  217. //상단에 올릴 수 있는 정보가 있으면 아래와 같이 설정해 주시면 됩니다. 없으면 안 해주셔도 되구요..
  218. setPatientInfo("pid" , pid); //등록번호
  219. setPatientInfo("pname" , pid + "|" + hngnm); //환자명
  220. }
  221. }
  222. }
  223. // 엑셀 저장
  224. function fExeSaveExcel(flag){
  225. if(flag == "list") {
  226. var fileName = window.fileDialog("save", ",", false, "결과리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  227. if (fileName != "")
  228. {
  229. getRsltBacList.saveExcel(fileName);
  230. }
  231. } else if(flag == "dtlist") {
  232. var fileName = window.fileDialog("save", ",", false, "결과상세리스트", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  233. if (fileName != "")
  234. {
  235. datagrid1.saveExcel(fileName);
  236. }
  237. }
  238. }
  239. function fGrdRemake(){
  240. for(i=1;i<datagrid1.rows;i++){
  241. if(model.getvalue("/root/main/getResultDetail["+i+"]/judgmark") == "IMG"){
  242. datagrid1.cellstyle("background-image", i, 0) = "../../../com/commonweb/images/icon_picture.gif";
  243. datagrid1.cellstyle("background-position", i, 0) = "left";
  244. datagrid1.cellstyle("padding-left", i, 0) = 15;
  245. }
  246. }
  247. }
  248. function fDBClick(){
  249. var row = datagrid1.row;
  250. if(model.getvalue("/root/main/getResultDetail["+row+"]/judgmark") == "IMG"){
  251. modal("SMLRR01500","", "", "","", "/root/main/getResultDetail["+row+"]", "/root/hidden/spcltestinfo");
  252. }
  253. }
  254. function fSelectTestGrup(){
  255. model.makeValue("/root/send/testgrupnm", cmb_testitem.label);
  256. submit("TRLLF90401" ,false);
  257. fSetPopUpTclscdList();
  258. }
  259. function fSetPopUpTclscdList(){
  260. var count = getNodesetCount("/root/main/testgrupdetl");
  261. if(count > 0){
  262. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  263. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  264. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  265. // 검사그룹 상세 목록 없을때
  266. if(sendtclsnm == ""){
  267. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "");
  268. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  269. }else{ // 검사그룹 상세 목록 있을때
  270. for(i=2; i<= count; i++){
  271. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  272. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  273. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  274. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  275. }
  276. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  277. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  278. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  279. }
  280. model.refresh();
  281. }
  282. }
  283. function fSetTestMdlcd() {
  284. var etc = model.getvalue("/root/hidden/ref/testmdlcd");
  285. var etc2 = model.getvalue("/root/hidden/ref/workgroup");
  286. if(etc == "00") {
  287. cmb_workgroup.attribute("visibility") = "visible";
  288. ma_combo.attribute("visibility") = "hidden";
  289. cmb_workgroup.disabled = true;
  290. }else if(etc == "MR"){
  291. cmb_workgroup.attribute("visibility") = "visible";
  292. ma_combo.attribute("visibility") = "hidden";
  293. cmb_workgroup.disabled = false;
  294. }else if(etc == "MA"){
  295. cmb_workgroup.attribute("visibility") = "hidden";
  296. ma_combo.attribute("visibility") = "visible";
  297. cmb_workgroup.disabled = false;
  298. }else {
  299. cmb_workgroup.attribute("visibility") = "hidden";
  300. ma_combo.attribute("visibility") = "hidden";
  301. }
  302. model.setvalue("/root/hidden/ref/workgroup", "00");
  303. model.refresh();
  304. }
  305. function fSetInit(flag) {
  306. if(flag != 2) {
  307. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  308. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  309. }
  310. model.refresh();
  311. }
  312. function setRowStyleSep( gridID , styleFlag , data , colRef , control ) {
  313. var style = new Array("#ff0000" , "#ffe79d" , "#f3e1bf" , "#7BE6B7" , "#b9e5fb" , "#f7a08b" , "#fec34d" , "#dec6a4" , "#c8e67b" , "#43c8f5", "#99cf16", "#e5f3c2" );
  314. var styleFlags = styleFlag.split("^");
  315. var datas = data.split("^");
  316. if( control == null || control == "" )
  317. control = "equal";
  318. var controls = control.split("^");
  319. gridObj = document.all(gridID);
  320. gridObj.backcoloralternate = "transparent";
  321. for( var j = 0 ; j < datas.length ; j++ ) {
  322. var dataValue = datas[j];
  323. var styleValue = style[styleFlags[j]];
  324. for( var i = gridObj.fixedRows ; i < gridObj.Rows ; i++ ) {
  325. if(controls[j] == null)
  326. controls[j] = "equal";
  327. switch( controls[j] ) {
  328. case "small":
  329. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) < dataValue ) {
  330. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  331. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  332. }
  333. break;
  334. case "smallThen":
  335. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) <= dataValue ) {
  336. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  337. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  338. }
  339. break;
  340. case "bigger":
  341. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) > dataValue ) {
  342. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  343. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  344. }
  345. break;
  346. case "biggerThen":
  347. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) >= dataValue ) {
  348. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  349. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  350. }
  351. break;
  352. case "notEqual":
  353. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) != dataValue ) {
  354. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  355. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  356. }
  357. break;
  358. case "equal":
  359. if( gridObj.valueMatrix(i , gridObj.colRef(colRef)) == dataValue ) {
  360. gridObj.rowstyle( i , "data" , "color" ) = styleValue;
  361. gridObj.rowstyle( i , "data" , "font-weight" ) = "bold";
  362. }
  363. break;
  364. }
  365. }
  366. }
  367. }
  368. function setChkRslt(rsltgbn){
  369. if(rsltgbn == "rslt1"){
  370. model.setValue("/root/hidden/rsltstatchk/rslt3", "");
  371. //model.setValue("/root/hidden/rsltstatchk/rslt1", "0");
  372. model.setValue("/root/hidden/rsltstatchk/rsltall", "");
  373. }else if(rsltgbn == "rslt2"){
  374. model.setValue("/root/hidden/rsltstatchk/rslt3", "");
  375. //model.setValue("/root/hidden/rsltstatchk/rslt2", "0");
  376. model.setValue("/root/hidden/rsltstatchk/rsltall", "");
  377. }else if(rsltgbn == "rsltAll"){
  378. model.setValue("/root/hidden/rsltstatchk/rslt1", "");
  379. model.setValue("/root/hidden/rsltstatchk/rslt2", "");
  380. model.setValue("/root/hidden/rsltstatchk/rslt3", "");
  381. }else{
  382. model.setValue("/root/hidden/rsltstatchk/rslt1", "");
  383. model.setValue("/root/hidden/rsltstatchk/rslt2", "");
  384. model.setValue("/root/hidden/rsltstatchk/rsltall", "");
  385. }
  386. model.refresh();
  387. }
  388. //바코드재출력
  389. function fExeBarcdReprnt() {
  390. model.removeNodeset("/root/hidden/barcode");
  391. var bcno = "'" + model.getValue("/root/hidden/bcnoinfo") + "'" ;
  392. model.makeValue("/root/send/bcnolist" , bcno);
  393. submit("TRLZZ00102");
  394. for(i=1; i<= getNodesetCount("/root/hidden/barcode/barcodeinfo"); i++){
  395. var spcno = model.getValue("/root/hidden/barcode/barcodeinfo["+ i +"]/bcno");
  396. //var find = grd_testList.findRow(spcno, 1, 2, true, true);
  397. //var cnt = model.getValue("/root/main/testlist["+ find +"]/prntcnt");
  398. var cnt = model.getValue("/root/hidden/ref/printcnt");
  399. model.makeValue("/root/hidden/barcode/barcodeinfo["+ i +"]/prntcnt", cnt);
  400. model.makeValue("/root/hidden/barcode/barcodeinfo["+ i +"]/flag", "reprnt");
  401. }
  402. copyNodeType("/root/hidden/barcode/barcodeinfo", "/root/main/barcdprntsetup/prntsetupinfo/setupinfo", "after");
  403. fLisMicroWorknoSpcBarcodePrint("/root/hidden/barcode/barcodeinfo");
  404. }
  405. function getPcrandReadRslt(){
  406. var row = getRsltBacList.row;
  407. if(model.getValue("/root/main/getRsltBacList["+row+"]/pid") == ""){
  408. return;
  409. }
  410. model.setValue("/root/hidden/pid", model.getValue("/root/main/getRsltBacList["+row+"]/pid"));
  411. modal("SPLMR90800", "", "", "","", "/root/hidden/pid", "/root/hidden/ref/pid");
  412. }
  413. function fSetAddMicroResult() {
  414. var row = getRsltBacList.row;
  415. if(model.getValue("/root/main/getRsltBacList["+row+"]/pid") == ""){
  416. return;
  417. }
  418. model.setValue("/root/hidden/micropid/pid", model.getValue("/root/main/getRsltBacList["+row+"]/pid"));
  419. modal("SMLLP01100","",345,250,"","/root/hidden/micropid","/root/hidden/ref");
  420. }
  421. ]]>
  422. </script>
  423. </xhtml:head>
  424. <xhtml:body guideline="1,1057;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  425. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  426. <line id="line1" class="line_1" style="x1:0px; y1:125px; x2:355px; y2:125px; "/>
  427. <caption id="caption1" class="tit_2" style="left:0px; top:110px; width:100px; height:13px; ">검사리스트</caption>
  428. <group id="group1" style="left:0px; top:10px; width:1195px; height:90px; ">
  429. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:90px; "/>
  430. <line id="line3" class="line_4" style="x1:1108px; y1:36px; x2:1108px; y2:58px; "/>
  431. <button id="button1" class="btn1_letter2" style="left:1123px; top:36px; width:56px; height:22px; ">
  432. <caption>조회</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. fGetResultListRef();
  436. ]]>
  437. </script>
  438. </button>
  439. <caption id="caption2" class="search_name" style="left:15px; top:10px; width:87px; height:17px; ">조회일자 :</caption>
  440. <caption id="caption3" class="search_no_b" style="left:214px; top:11px; width:13px; height:17px; ">~</caption>
  441. <input id="input1" ref="/root/hidden/ref/startdd" class="input_search" inputtype="date" style="left:105px; top:9px; width:100px; height:19px; "/>
  442. <input id="input2" ref="/root/hidden/ref/enddd" class="input_search" inputtype="date" style="left:236px; top:9px; width:100px; height:19px; "/>
  443. <input id="iptSearch" ref="/root/hidden/ref/searchtext" class="input_s_button" navindex="1" inputtype="button" style="left:727px; top:36px; width:125px; height:19px; ">
  444. <script type="javascript" ev:event="onbuttonclick">
  445. <![CDATA[
  446. fGetResultListRef();
  447. ]]>
  448. </script>
  449. <script type="javascript" ev:event="onkeypress">
  450. <![CDATA[
  451. fPidRef();
  452. ]]>
  453. </script>
  454. </input>
  455. <select1 id="combo2" ref="/root/hidden/ref/refflag" class="combo_search" appearance="minimal" style="left:638px; top:36px; width:87px; height:19px; ">
  456. <choices>
  457. <item>
  458. <label>등록번호</label>
  459. <value>1</value>
  460. </item>
  461. <item>
  462. <label>환자성명</label>
  463. <value>2</value>
  464. </item>
  465. <item>
  466. <label>바코드번호</label>
  467. <value>3</value>
  468. </item>
  469. </choices>
  470. </select1>
  471. <caption id="caption5" class="search_name" style="left:550px; top:37px; width:88px; height:17px; ">검색구분 :</caption>
  472. <caption id="caption4" class="search_name" style="left:265px; top:37px; width:76px; height:17px; ">배양균 :</caption>
  473. <select1 id="combo1" ref="/root/hidden/ref/baccd" class="combo_search" appearance="minimal" style="left:340px; top:36px; width:195px; height:19px; ">
  474. <choices>
  475. <item>
  476. <label>- 전체 -</label>
  477. <value>00</value>
  478. </item>
  479. <item>
  480. <label>Staphylococcus aureus</label>
  481. <value>sau</value>
  482. </item>
  483. <item>
  484. <label>Escherichia coli</label>
  485. <value>eco</value>
  486. </item>
  487. <item>
  488. <label>Klebsiella pneumoniae ss. pneumoniae</label>
  489. <value>kpn</value>
  490. </item>
  491. <item>
  492. <label>Candida albicans</label>
  493. <value>cal</value>
  494. </item>
  495. <item>
  496. <label>Pseudomonas aeruginosa</label>
  497. <value>pae</value>
  498. </item>
  499. <item>
  500. <label>Staphylococcus epidermidis</label>
  501. <value>sep</value>
  502. </item>
  503. <item>
  504. <label>Bacillus sp.</label>
  505. <value>bcs</value>
  506. </item>
  507. <item>
  508. <label>Enterobacter cloacae</label>
  509. <value>ecl</value>
  510. </item>
  511. <item>
  512. <label>Citrobacter freundii</label>
  513. <value>cfr</value>
  514. </item>
  515. <item>
  516. <label>Acinetobacter baumannii</label>
  517. <value>aba</value>
  518. </item>
  519. <item>
  520. <label>Proteus mirabilis</label>
  521. <value>pmi</value>
  522. </item>
  523. <item>
  524. <label>Klebsiella oxytoca</label>
  525. <value>kox</value>
  526. </item>
  527. <item>
  528. <label>Enterococcus faecium</label>
  529. <value>efm</value>
  530. </item>
  531. <item>
  532. <label>Enterococcus faecalis</label>
  533. <value>efa</value>
  534. </item>
  535. <item>
  536. <label>Streptococcus pneumoniae</label>
  537. <value>spn</value>
  538. </item>
  539. <item>
  540. <label>Serratia marcescens</label>
  541. <value>sma</value>
  542. </item>
  543. <item>
  544. <label>Salmonella Typhi</label>
  545. <value>sat</value>
  546. </item>
  547. <item>
  548. <label>Stenotrophomonas (Xantho.) maltophilia</label>
  549. <value>pma</value>
  550. </item>
  551. <item>
  552. <label>Corynebacterium sp.</label>
  553. <value>cor</value>
  554. </item>
  555. <item>
  556. <label>Enterobacter aerogenes</label>
  557. <value>eae</value>
  558. </item>
  559. <item>
  560. <label>Haemophilus influenzae</label>
  561. <value>hin</value>
  562. </item>
  563. </choices>
  564. </select1>
  565. <caption id="caption7" class="search_name" style="left:15px; top:37px; width:86px; height:17px; ">조회기준 :</caption>
  566. <select1 id="radio1" ref="/root/hidden/ref/getflag" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:105px; top:37px; width:140px; height:20px; border-style:none; ">
  567. <choices>
  568. <item>
  569. <label>접수일자</label>
  570. <value>1</value>
  571. </item>
  572. <item>
  573. <label>보고일자</label>
  574. <value>2</value>
  575. </item>
  576. </choices>
  577. </select1>
  578. <button id="button6" class="icon_search" style="left:710px; top:64px; width:16px; height:16px; ">
  579. <caption/>
  580. <script type="javascript" ev:event="DOMActivate">
  581. <![CDATA[
  582. modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  583. ]]>
  584. </script>
  585. </button>
  586. <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" style="left:205px; top:63px; width:500px; height:19px; color:#ff0000; "/>
  587. <caption id="caption8" class="search_name" style="left:15px; top:64px; width:94px; height:17px; ">검사항목 :</caption>
  588. <select1 id="cmb_testitem" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:105px; top:63px; width:96px; height:19px; ">
  589. <choices>
  590. <itemset nodeset="/root/init/LB0103">
  591. <label ref="nm"/>
  592. <value ref="cd"/>
  593. </itemset>
  594. </choices>
  595. <script type="javascript" ev:event="xforms-value-changed">
  596. <![CDATA[
  597. fSelectTestGrup();
  598. ]]>
  599. </script>
  600. </select1>
  601. <select1 id="radio2" ref="/root/hidden/ref/ioflag" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:722px; top:10px; width:153px; height:20px; border-style:none; ">
  602. <choices>
  603. <item>
  604. <label>전체</label>
  605. <value>0</value>
  606. </item>
  607. <item>
  608. <label>외래</label>
  609. <value>1</value>
  610. </item>
  611. <item>
  612. <label>입원</label>
  613. <value>2</value>
  614. </item>
  615. </choices>
  616. </select1>
  617. <caption id="caption9" class="search_name" style="left:625px; top:10px; width:93px; height:17px; ">외래/입원 :</caption>
  618. <caption id="caption10" class="search_name" style="left:890px; top:10px; width:93px; height:17px; ">균상태 :</caption>
  619. <select1 id="radio3" ref="/root/hidden/ref/growthyn" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:972px; top:10px; width:208px; height:20px; border-style:none; ">
  620. <choices>
  621. <item>
  622. <label>전체</label>
  623. <value>0</value>
  624. </item>
  625. <item>
  626. <label>Growth</label>
  627. <value>2</value>
  628. </item>
  629. <item>
  630. <label>No-Growth</label>
  631. <value>1</value>
  632. </item>
  633. </choices>
  634. </select1>
  635. <select1 id="cmb_mdlcd" ref="/root/hidden/ref/testmdlcd" class="combo_search" appearance="minimal" itemcount="10" style="left:850px; top:63px; width:155px; height:19px; ">
  636. <choices>
  637. <itemset nodeset="/root/init/LB0112">
  638. <label ref="nm"/>
  639. <value ref="cd"/>
  640. </itemset>
  641. </choices>
  642. <script type="javascript" ev:event="xforms-value-changed">
  643. <![CDATA[
  644. fSetTestMdlcd();
  645. ]]>
  646. </script>
  647. </select1>
  648. <select1 id="cmb_workgroup" ref="/root/hidden/ref/workgroup" class="combo_search" disabled="true" appearance="minimal" itemcount="10" style="left:1007px; top:63px; width:157px; height:19px; ">
  649. <choices>
  650. <itemset nodeset="/root/init/LB0113">
  651. <label ref="nm"/>
  652. <value ref="cd"/>
  653. </itemset>
  654. </choices>
  655. </select1>
  656. <caption id="caption12" class="search_name" style="left:760px; top:64px; width:89px; height:17px; ">작업그룹 :</caption>
  657. <select1 id="ma_combo" ref="/root/hidden/ref/workgroup" class="combo_search" visibility="hidden" appearance="minimal" itemcount="10" style="left:1007px; top:63px; width:157px; height:19px; ">
  658. <choices>
  659. <item>
  660. <label>- 전체 -</label>
  661. <value>00</value>
  662. </item>
  663. <item>
  664. <label>[CU]culture</label>
  665. <value>CU</value>
  666. </item>
  667. </choices>
  668. </select1>
  669. <select id="checkbox1" ref="/root/hidden/rsltstatchk/rslt1" overflow="visible" appearance="full" style="left:925px; top:36px; width:60px; height:20px; border-style:none; ">
  670. <choices>
  671. <item>
  672. <label>미검사</label>
  673. <value>0</value>
  674. </item>
  675. </choices>
  676. <script type="javascript" ev:event="onclick">
  677. <![CDATA[
  678. setChkRslt("rslt1");
  679. ]]>
  680. </script>
  681. </select>
  682. <select id="checkbox2" ref="/root/hidden/rsltstatchk/rslt2" overflow="visible" appearance="full" style="left:985px; top:36px; width:60px; height:20px; border-style:none; ">
  683. <choices>
  684. <item>
  685. <label>미완료</label>
  686. <value>0</value>
  687. </item>
  688. </choices>
  689. <script type="javascript" ev:event="onclick">
  690. <![CDATA[
  691. setChkRslt("rslt2");
  692. ]]>
  693. </script>
  694. </select>
  695. <select id="checkbox3" ref="/root/hidden/rsltstatchk/rslt3" overflow="visible" appearance="full" style="left:1045px; top:36px; width:60px; height:20px; border-style:none; ">
  696. <choices>
  697. <item>
  698. <label>완료</label>
  699. <value>0</value>
  700. </item>
  701. </choices>
  702. <script type="javascript" ev:event="onclick">
  703. <![CDATA[
  704. setChkRslt("rslt3");
  705. ]]>
  706. </script>
  707. </select>
  708. <select id="checkbox4" ref="/root/hidden/rsltstatchk/rsltall" overflow="visible" appearance="full" style="left:880px; top:36px; width:45px; height:20px; border-style:none; ">
  709. <choices>
  710. <item>
  711. <label>전체</label>
  712. <value>0</value>
  713. </item>
  714. </choices>
  715. <script type="javascript" ev:event="onclick">
  716. <![CDATA[
  717. setChkRslt("rsltAll");
  718. ]]>
  719. </script>
  720. </select>
  721. </group>
  722. <datagrid id="datagrid1" 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:360px; top:130px; width:835px; height:614px; font-family:굴림체; ">
  723. <col ref="reptrslt" format="yyyy-mm-dd" style="font-family:굴림체; "/>
  724. <col ref="judgmark2" visibility="hidden" style="font-family:굴림체; "/>
  725. <script type="javascript" ev:event="ondblclick">
  726. <![CDATA[
  727. fDBClick();
  728. ]]>
  729. </script>
  730. <script type="javascript" ev:event="onaftersort">
  731. <![CDATA[
  732. datagrid1.gridToInstance();
  733. ]]>
  734. </script>
  735. </datagrid>
  736. <line id="line2" class="line_1" style="x1:360px; y1:125px; x2:1194px; y2:125px; "/>
  737. <datagrid id="getRsltBacList" nodeset="/root/main/getRsltBacList" caption="접수일^등록번호^환자명^검체명^검사명^처방일^보고일^바코드번호^작업번호^보고자^진료과^병실" colsep="^" colwidth="85, 65, 65, 75, 90, 85, 120, 85, 115, 65, 100, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:130px; width:355px; height:614px; font-family:굴림체; ">
  738. <col ref="spcacptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  739. <col ref="pid" type="input" style="text-align:center; "/>
  740. <col ref="patnm" style="text-align:center; "/>
  741. <col ref="spcnm" style="text-align:left; "/>
  742. <col ref="tclsnm" style="text-align:center; "/>
  743. <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
  744. <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  745. <col ref="bcno" style="text-align:center; "/>
  746. <col ref="workno" style="text-align:center; "/>
  747. <col ref="lastreptid" style="text-align:center; "/>
  748. <col ref="orddeptnm" style="text-align:center; "/>
  749. <col ref="wardroom" style="text-align:center; "/>
  750. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  751. <col ref="execprcpuniqno" visibility="hidden" style="text-align:center; "/>
  752. <script type="javascript" ev:event="onclick">
  753. <![CDATA[
  754. if(getRsltBacList.isCell(event.target) && getRsltBacList.row >= getRsltBacList.fixedRows ){
  755. fClickResultList();
  756. }
  757. ]]>
  758. </script>
  759. <script type="javascript" ev:event="onaftersort">
  760. <![CDATA[
  761. getRsltBacList.gridToInstance();
  762. ]]>
  763. </script>
  764. </datagrid>
  765. <select1 id="combo3" ref="/root/hidden/ref/orddept" class="combo_search" appearance="minimal" style="left:450px; top:19px; width:147px; height:19px; ">
  766. <choices>
  767. <itemset nodeset="/root/init/LB0002">
  768. <label ref="nm"/>
  769. <value ref="cd"/>
  770. </itemset>
  771. </choices>
  772. <script type="javascript" ev:event="xforms-value-changed">
  773. <![CDATA[
  774. var menu = model.getValue("/root/properties/menu/menuitemcd");
  775. var scrid = getScreenID();
  776. if(model.getValue("/root/hidden/JoHoiFlag/regnopatnm") != "") {
  777. if((menu != "MI00410037" && menu != "MI00410038") && (scrid == "SMLLC00300" || scrid == "SMLLC00200")) {//간호에서 팝업으로 띄울때
  778. model.setValue("/root/hidden/JoHoiFlag/regnopatnm", "");
  779. }
  780. }
  781. model.refresh();
  782. ]]>
  783. </script>
  784. </select1>
  785. <caption id="caption11" class="search_name" style="left:369px; top:20px; width:73px; height:17px; ">진료과 :</caption>
  786. <button id="btn_excel_cmrslt" class="btn2_letter2" style="left:1152px; top:105px; width:42px; height:19px; ">
  787. <caption>엑셀</caption>
  788. <script type="javascript" ev:event="DOMActivate">
  789. <![CDATA[
  790. fExeSaveExcel("dtlist");
  791. ]]>
  792. </script>
  793. </button>
  794. <button id="button2" class="btn2_letter2" style="left:312px; top:105px; width:42px; height:19px; ">
  795. <caption>엑셀</caption>
  796. <script type="javascript" ev:event="DOMActivate">
  797. <![CDATA[
  798. fExeSaveExcel("list");
  799. ]]>
  800. </script>
  801. </button>
  802. <caption id="caption13" class="tit_2" style="left:360px; top:110px; width:110px; height:14px; ">선택된 바코드 :</caption>
  803. <input id="input3" ref="/root/hidden/bcnoinfo" style="left:475px; top:105px; width:105px; height:19px; "/>
  804. <button id="button3" class="btn2_letter2" style="left:582px; top:105px; width:42px; height:19px; ">
  805. <caption>출력</caption>
  806. <script type="javascript" ev:event="DOMActivate">
  807. <![CDATA[
  808. fExeBarcdReprnt();
  809. ]]>
  810. </script>
  811. </button>
  812. </group>
  813. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  814. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  815. <caption>초기화</caption>
  816. <script type="javascript" ev:event="DOMActivate">
  817. <![CDATA[
  818. fSetInit2();
  819. ]]>
  820. </script>
  821. </button>
  822. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  823. <button id="btn_prntset" class="btn3_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
  824. <caption>프린터설정</caption>
  825. <script type="javascript" ev:event="DOMActivate">
  826. <![CDATA[
  827. fSetPrint();
  828. ]]>
  829. </script>
  830. </button>
  831. <button id="button20" class="btn3_letter8" style="left:95px; top:3px; width:128px; height:22px; ">
  832. <caption>PCR/방사선 결과</caption>
  833. <script type="javascript" ev:event="onclick">
  834. <![CDATA[
  835. getPcrandReadRslt();
  836. ]]>
  837. </script>
  838. </button>
  839. <button id="button4" class="btn3_letter5" style="left:225px; top:3px; width:92px; height:22px; ">
  840. <caption>미생물누적</caption>
  841. <script type="javascript" ev:event="DOMActivate">
  842. <![CDATA[
  843. fSetAddMicroResult();
  844. ]]>
  845. </script>
  846. </button>
  847. <button id="button7" class="btn3_letter8" style="left:319px; top:3px; width:128px; height:22px; ">
  848. <caption>입원환자전실조회</caption>
  849. <script type="javascript" ev:event="onclick">
  850. <![CDATA[
  851. modal("SPLLP90400");
  852. ]]>
  853. </script>
  854. </button>
  855. </group>
  856. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  857. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">결과조회</caption>
  858. </group>
  859. </xhtml:body>
  860. </xhtml:html>