SPLRR90700_특수검사환자조회.xrw 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLRR90700_특수검사환자조회.xrw
  4. * 설 명 : 특수검사환자조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 윤재한
  7. * 작 성 일 : 2007.11.05
  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>특수검사환자조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <patlist>
  20. <img/>
  21. <spclno/>
  22. <pid/>
  23. <patnm/>
  24. <tclsscrnnm/>
  25. <bcno/>
  26. <testcd/>
  27. </patlist>
  28. </main>
  29. <send>
  30. <data1/>
  31. <data2/>
  32. </send>
  33. <init>
  34. </init>
  35. <hidden>
  36. <splgrop>
  37. <searchflag>1</searchflag>
  38. <searchtext/>
  39. <startdd/>
  40. <enddd/>
  41. <spcltestgrupcd/>
  42. <testgrupcd/>
  43. <rstflag/>
  44. <sworkseq/>
  45. <eworkseq/>
  46. <refgbn/>
  47. <text/>
  48. </splgrop>
  49. <testgroup>
  50. <searchflag>1</searchflag>
  51. <searchtext/>
  52. <startdd/>
  53. <enddd/>
  54. <sworkseq/>
  55. <eworkseq/>
  56. <workcd/>
  57. <rstflag/>
  58. <refgbn/>
  59. <text/>
  60. <formkind>-</formkind>
  61. <sort/>
  62. </testgroup>
  63. <refparam>
  64. <refflag/>
  65. <refflag2/>
  66. </refparam>
  67. <ref>
  68. <tclscdlist>
  69. <tclscdlist/>
  70. <tclsnmlist/>
  71. <tclscdlist2/>
  72. <testgrup/>
  73. </tclscdlist>
  74. </ref>
  75. <newElement/>
  76. </hidden>
  77. </root>
  78. </instance>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  81. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  83. <script type="javascript" ev:event="xforms-model-construct-done">
  84. <![CDATA[
  85. fSetInit();
  86. ]]>
  87. </script>
  88. <submission id="TRLRR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/patlist"/>
  89. <submission id="TRLZZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0103"/>
  90. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  91. </model>
  92. <script type="javascript">
  93. <![CDATA[
  94. function fExeCancel(flag){
  95. if(flag == "C") {
  96. window.opener.model.makevalue("/root/hidden/patrefflag", "C");
  97. }
  98. window.close();
  99. }
  100. //초기화
  101. function fSetInit(ref) {
  102. if(ref != 2) {
  103. model.setvalue("/root/hidden/splgrop/spcltestgrupcd" , "00");
  104. // datagrid3.fixedcellcheckbox(0,1)=true;
  105. var startdate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-7);
  106. model.setvalue("/root/hidden/splgrop/startdd",startdate.getDateFormat("YYYYMMDD"));
  107. model.setvalue("/root/hidden/splgrop/enddd",getCurrentDate());
  108. model.setvalue("/root/hidden/testgroup/startdd",startdate.getDateFormat("YYYYMMDD"));
  109. model.setvalue("/root/hidden/testgroup/enddd",getCurrentDate());
  110. model.setValue("/root/hidden/testgroup/refgbn", "1");
  111. model.setValue("/root/hidden/testgroup/rstflag", "1");
  112. model.setValue("/root/hidden/testgroup/sort", "0");
  113. model.setValue("/root/hidden/testgroup/sworkseq", "00000");
  114. model.setValue("/root/hidden/testgroup/eworkseq", "99999");
  115. model.setValue("/root/hidden/splgrop/refgbn", "1");
  116. model.setValue("/root/hidden/splgrop/rstflag", "1");
  117. model.setValue("/root/hidden/splgrop/sworkseq", "00001");
  118. model.setValue("/root/hidden/splgrop/eworkseq", "99999");
  119. model.setvalue("/root/hidden/refparam/refflag" , "2");
  120. model.setvalue("/root/hidden/refparam/refflag2" , "2");
  121. model.toggle("testitem");
  122. // grd_patList.colHidden(4) = true;
  123. }
  124. fBaseInfoRef("0103|0901|9991|");
  125. model.setValue("/root/hidden/testgroup/workcd", model.getValue("/root/hidden/ref/tclscdlist/testgrup"));
  126. if(btn_spclgrop.selected) {
  127. model.setFocus("ipt_spltext");
  128. } else {
  129. model.setFocus("ipt_testtext");
  130. }
  131. model.refresh();
  132. }
  133. function fPatChio(grd){
  134. gridObj = document.all(grd);
  135. var row = gridObj.row;
  136. //alert(row);
  137. if(model.getValue("/root/hidden/refparam/refflag") == "2") { //검사항목별 조회일때
  138. var dryn = model.getValue("/root/main/patlist["+row+"]/descrsltyn"); //서식 입력 여부
  139. var fyn = model.getValue("/root/main/patlist["+row+"]/form"); //서식 입력 할 검사항목 여부
  140. var rsltstat = model.getValue("/root/main/patlist["+row+"]/rsltstat"); //서식 입력 할 검사항목 여부
  141. var formkind = model.getValue("/root/main/patlist["+row+"]/spclrsltformkind"); //화면 종류
  142. if(rsltstat == "-") { //결과저장이 안된 경우
  143. if(fyn != "Y") { //결과 저장할 검사가 아닌 경우
  144. if((formkind == "08") || (formkind == "02") || (formkind == "03") ||(formkind == "14") ||(formkind == "99")) { //EP, 분자, 세포, fish, 범용은 검사항목당 서식 입력
  145. } else { //나머지는 바코드 하나당 서식 입력.
  146. messageBox("이 검사항목에 서식입력을", "E001");
  147. return;
  148. }
  149. }
  150. }
  151. /*else { //결과 저장이 된 경우
  152. if(dryn != "Y") { //결과저장이 안된 경우
  153. messageBox("서식입력 된 검사항목과", "E004");
  154. return;
  155. }
  156. }*/
  157. }
  158. var grup = window.opener.model.getValue("/root/main/rslt/desc/rslt/refflag");
  159. var ngrup = model.getValue("/root/main/patlist["+ row +"]/spclrsltformkind");
  160. //var testcd = model.getValue("/root/main/patlist["+ grd_patList.row +"]/testcd");
  161. //if(ngrup == "" && (testcd == "LPD197" || testcd == "LPD181")) {
  162. // ngrup = "mole";
  163. //} else if(ngrup == "" && (testcd == "LDR109" || testcd == "LDR145")) {
  164. // ngrup = "cell";
  165. //} else if(ngrup == "" && testcd.substr(0, 5) == "LIP16") {
  166. // ngrup = "PRA";
  167. //}else if(ngrup == "" && testcd.substr(0, 5) == "LIP15") {
  168. // ngrup = "CM";
  169. //}
  170. window.opener.model.makevalue("/root/hidden/refflag/bcno", model.getvalue("/root/main/patlist["+row+"]/bcno"));
  171. window.opener.model.makevalue("/root/hidden/refflag/testcd", model.getvalue("/root/main/patlist["+row+"]/testcd"));
  172. window.opener.model.makevalue("/root/hidden/refflag/prcpgenrflag", model.getvalue("/root/main/patlist["+row+"]/prcpgenrflag"));
  173. window.opener.model.makevalue("/root/hidden/ref/text", model.getvalue("/root/main/patlist["+row+"]/spcltestseqno"));
  174. window.opener.model.makevalue("/root/hidden/ref/refgbn", "1");
  175. window.opener.model.makevalue("/root/hidden/ref/parentyn", model.getvalue("/root/main/patlist["+row+"]/parentyn")); //parent 조회여부
  176. if(grup != ngrup) {
  177. window.opener.model.resetInstanceNode("/root/main/rslt");
  178. //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
  179. window.opener.model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
  180. window.opener.javascript.fTranscrn();
  181. }else {
  182. window.opener.model.resetInstanceNode("/root/main/rslt");
  183. //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
  184. window.opener.model.setValue("/root/main/rslt/desc/rslt/refflag", grup);
  185. window.opener.javascript.fTranscrn();
  186. }
  187. activateOpener();
  188. window.opener.model.makevalue("/root/hidden/ref/spclno", model.getvalue("/root/main/patlist["+row+"]/spcyy"));
  189. window.opener.model.makevalue("/root/hidden/refflag/spclrsltformkind", model.getvalue("/root/main/patlist["+row+"]/spclrsltformkind"));
  190. window.opener.input1.attribute("visibility") = "visible";
  191. window.opener.javascript.fOnclick_grd_patList();
  192. //window.opener.javascript.navigate("SMLRR00400");
  193. //fExeCancel();
  194. }
  195. // function fPatChio2(grd){
  196. // gridObj = document.all(grd);
  197. // gridObj.row = 1;
  198. // var row = gridObj.row;
  199. //
  200. // if(model.getValue("/root/hidden/refparam/refflag") == "2") { //검사항목별 조회일때
  201. //
  202. // var dryn = model.getValue("/root/main/patlist["+row+"]/descrsltyn"); //서식 입력 여부
  203. // var fyn = model.getValue("/root/main/patlist["+row+"]/form"); //서식 입력 할 검사항목 여부
  204. // var rsltstat = model.getValue("/root/main/patlist["+row+"]/rsltstat"); //서식 입력 할 검사항목 여부
  205. // var formkind = model.getValue("/root/main/patlist["+row+"]/spclrsltformkind"); //화면 종류
  206. //
  207. // if(rsltstat == "-") { //결과저장이 안된 경우
  208. // if(fyn != "Y") { //결과 저장할 검사가 아닌 경우
  209. // if((formkind == "08") || (formkind == "02") || (formkind == "03") ||(formkind == "14") ||(formkind == "99")) { //EP, 분자, 세포, fish, 범용은 검사항목당 서식 입력
  210. // } else { //나머지는 바코드 하나당 서식 입력.
  211. // messageBox("이 검사항목에 서식입력을", "E001");
  212. // return;
  213. // }
  214. // }
  215. // }
  216. // /*else { //결과 저장이 된 경우
  217. // if(dryn != "Y") { //결과저장이 안된 경우
  218. // messageBox("서식입력 된 검사항목과", "E004");
  219. // return;
  220. // }
  221. // }*/
  222. // }
  223. //
  224. // var grup = window.opener.model.getValue("/root/main/rslt/desc/rslt/refflag");
  225. // var ngrup = model.getValue("/root/main/patlist["+ row +"]/spclrsltformkind");
  226. //
  227. // //var testcd = model.getValue("/root/main/patlist["+ grd_patList.row +"]/testcd");
  228. // //if(ngrup == "" && (testcd == "LPD197" || testcd == "LPD181")) {
  229. // // ngrup = "mole";
  230. // //} else if(ngrup == "" && (testcd == "LDR109" || testcd == "LDR145")) {
  231. // // ngrup = "cell";
  232. // //} else if(ngrup == "" && testcd.substr(0, 5) == "LIP16") {
  233. // // ngrup = "PRA";
  234. // //}else if(ngrup == "" && testcd.substr(0, 5) == "LIP15") {
  235. // // ngrup = "CM";
  236. // //}
  237. //
  238. // window.opener.model.makevalue("/root/hidden/refflag/bcno", model.getvalue("/root/main/patlist["+row+"]/bcno"));
  239. // window.opener.model.makevalue("/root/hidden/refflag/testcd", model.getvalue("/root/main/patlist["+row+"]/testcd"));
  240. // window.opener.model.makevalue("/root/hidden/refflag/prcpgenrflag", model.getvalue("/root/main/patlist["+row+"]/prcpgenrflag"));
  241. // window.opener.model.makevalue("/root/hidden/ref/text", model.getvalue("/root/main/patlist["+row+"]/spcltestseqno"));
  242. // window.opener.model.makevalue("/root/hidden/ref/refgbn", "1");
  243. //
  244. // if(grup != ngrup) {
  245. // window.opener.model.resetInstanceNode("/root/main/rslt");
  246. // //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
  247. //
  248. // window.opener.model.makeValue("/root/main/rslt/desc/rslt/refflag", ngrup);
  249. // window.opener.javascript.fTranscrn();
  250. // }else {
  251. // window.opener.model.resetInstanceNode("/root/main/rslt");
  252. // //window.opener.model.makeNode("/root/main/rslt/desc/rslt/refflag");
  253. //
  254. // window.opener.model.setValue("/root/main/rslt/desc/rslt/refflag", grup);
  255. // window.opener.javascript.fTranscrn();
  256. // }
  257. // activateOpener();
  258. // window.opener.model.makevalue("/root/hidden/ref/spclno", model.getvalue("/root/main/patlist["+row+"]/spcyy"));
  259. // window.opener.model.makevalue("/root/hidden/refflag/spclrsltformkind", model.getvalue("/root/main/patlist["+row+"]/spclrsltformkind"));
  260. // window.opener.input1.attribute("visibility") = "visible";
  261. // window.opener.javascript.fOnclick_grd_patList();
  262. // //window.opener.javascript.navigate("SMLRR00400");
  263. //
  264. // //fExeCancel();
  265. // }
  266. function fInputKeyup(){
  267. if(event.keyCode == "13"){
  268. if(event.target =="ipt_spltext") {
  269. model.setvalue("/root/hidden/splgrop/text", ipt_spltext.currentText.toUpperCase());
  270. model.refresh();
  271. Onclick_btnRef();
  272. ipt_spltext.selBegin = 0;
  273. ipt_spltext.selEnd = ipt_spltext.currentText.length;
  274. }
  275. if(event.target =="ipt_testtext") {
  276. model.setvalue("/root/hidden/testgroup/text", ipt_testtext.currentText.toUpperCase());
  277. model.refresh();
  278. Onclick_btnRef();
  279. ipt_testtext.selBegin = 0;
  280. ipt_testtext.selEnd = ipt_testtext.currentText.length;
  281. }
  282. }
  283. }
  284. //그리드 초기화
  285. function fSetClear(){
  286. model.removeNodeset("/root/main/patlist");
  287. model.resetInstanceNode("/root/main/testinfo/spcltestinfo");
  288. model.removeNodeset("/root/main/testinfo/detailtestinfo");
  289. model.refresh();
  290. }
  291. //환자조회
  292. function Onclick_btnRef(flag){
  293. fSetClear();
  294. if(flag == "R") { //조회버튼 누른 경우
  295. model.setValue("/root/hidden/splgrop/text", "");
  296. model.setValue("/root/hidden/testgroup/text", "");
  297. }
  298. //세포유전이면 정렬방식 접수일시
  299. if(model.getValue("/root/hidden/testgroup/formkind") == "03"){
  300. model.setValue("/root/hidden/testgroup/sort", "5");
  301. }
  302. var refGbn = model.getvalue("/root/hidden/refparam/refflag"); //특수검사그룹별 조회냐 검사항목별 조회냐
  303. if (refGbn == "1"){
  304. gridid = "grd_spclpatlist";
  305. model.copyNode("/root/send/data1","/root/hidden/splgrop");
  306. }
  307. else if(refGbn == "2"){
  308. gridid = "grd_testpatList";
  309. //alert(gridObj);
  310. if(model.getValue("/root/hidden/testgroup/formkind") == "-" && flag == "R"){ //조회버튼 클릭일때 특수검사입력유형이 선택되지 않았을때
  311. messageBox("특수검사 입력유형을 선택하세요!", "E");
  312. return;
  313. }
  314. model.copyNode("/root/send/data1","/root/hidden/testgroup");
  315. }
  316. model.copyNode("/root/send/data2","/root/hidden/refparam");
  317. submit("TRLRR00101");
  318. model.copyNode("/root/send/data1","/root/hidden/default");
  319. model.copyNode("/root/send/data2","/root/hidden/default");
  320. gridObj = document.all(gridid);
  321. var rows = gridObj.rows;
  322. for(i=1; i < rows; i++){
  323. if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "-"){
  324. gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_N.gif";
  325. gridObj.cellstyle("background-position", i, 1) = "center"
  326. }else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "1"){
  327. gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_1.gif";
  328. gridObj.cellstyle("background-position", i, 1) = "center"
  329. }
  330. else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "2"){
  331. gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_2gif";
  332. gridObj.cellstyle("background-position", i, 1) = "center"
  333. }
  334. else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "4"
  335. || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "5"
  336. || model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "6"){
  337. gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_3.gif";
  338. gridObj.cellstyle("background-position", i, 1) = "center"
  339. }
  340. else if(model.getvalue("/root/main/patlist["+i+"]/rsltstat") == "3"){
  341. gridObj.cellstyle("background-image", i, 1) = "../../../lis/commonweb/images/icnRSTFLAG_F.gif";
  342. gridObj.cellstyle("background-position", i, 1) = "center"
  343. }
  344. if(model.getvalue("/root/main/patlist["+i+"]/imagrsltyn") == "Y"){
  345. gridObj.cellstyle("background-image", i, 3) = "../../../com/commonweb/images/icon_picture.gif";
  346. gridObj.cellstyle("background-position", i, 3) = "center"
  347. }
  348. if(model.getValue("/root/hidden/refparam/refflag") == "2") {
  349. if(model.getValue("/root/main/patlist["+i+"]/descrsltyn") == "Y") {
  350. gridObj.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/icnRPTY.gif";
  351. gridObj.cellstyle("background-position", i, 2) = "center" ;
  352. } else if(model.getValue("/root/main/patlist["+i+"]/form") == "Y") {
  353. gridObj.cellstyle("background-image", i, 2) = "../../../lis/commonweb/images/chkRPT0.gif";
  354. gridObj.cellstyle("background-position", i, 2) = "center" ;
  355. }
  356. }
  357. }
  358. }
  359. ]]>
  360. </script>
  361. </xhtml:head>
  362. <xhtml:body pagewidth="350" pageheight="800" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  363. <group id="group1" style="left:0px; top:13px; width:320px; height:720px; ">
  364. <button id="btn_testitem" class="btn_sw" group="tab" selected="true" style="left:100px; top:10px; width:100px; height:22px; color:#000000; ">
  365. <caption>검사항목별</caption>
  366. <toggle case="case2" ev:event="onclick"/>
  367. <script type="javascript" ev:event="DOMActivate">
  368. <![CDATA[
  369. model.setvalue("/root/hidden/refparam/refflag","2");
  370. model.toggle("testitem");
  371. fSetClear();
  372. ]]>
  373. </script>
  374. </button>
  375. <button id="btn_spclgrop" class="btn_sw" group="tab" style="left:0px; top:10px; width:100px; height:22px; color:#000000; ">
  376. <caption>특수검사그룹별</caption>
  377. <toggle case="case1" ev:event="onclick"/>
  378. <script type="javascript" ev:event="DOMActivate">
  379. <![CDATA[
  380. model.setvalue("/root/hidden/refparam/refflag","1");
  381. model.toggle("spclgrop");
  382. fSetClear();
  383. ]]>
  384. </script>
  385. </button>
  386. <switch id="switch1" class="sw_box" style="left:0px; top:31px; width:320px; height:689px; ">
  387. <case id="spclgrop">
  388. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:159px; "/>
  389. <caption id="caption2" class="search_name" style="left:14px; top:62px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">접수일자 :</caption>
  390. <caption id="caption4" class="search_name" style="left:14px; top:86px; width:112px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">특수검사그룹 :</caption>
  391. <input id="ipt_splsdd" ref="/root/hidden/splgrop/startdd" class="input_search" inputtype="date" style="left:105px; top:61px; width:89px; height:19px; "/>
  392. <input id="ipt_spledd" ref="/root/hidden/splgrop/enddd" class="input_search" inputtype="date" style="left:210px; top:61px; width:89px; height:19px; "/>
  393. <caption id="caption7" class="search_no_b" style="left:196px; top:62px; width:15px; height:17px; ">~</caption>
  394. <select1 id="cmb_splgrop" ref="/root/hidden/splgrop/spcltestgrupcd" class="combo_search" appearance="minimal" style="left:129px; top:85px; width:170px; height:19px; ">
  395. <choices>
  396. <itemset nodeset="/root/init/LB0901">
  397. <label ref="nm"/>
  398. <value ref="cd"/>
  399. </itemset>
  400. </choices>
  401. </select1>
  402. <line id="line13" class="line_4" style="x1:228px; y1:134px; x2:228px; y2:156px; "/>
  403. <button id="button1" class="btn1_letter2" style="left:243px; top:134px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  404. <caption>조회</caption>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. Onclick_btnRef("R");
  408. ]]>
  409. </script>
  410. </button>
  411. <caption id="caption18" class="search_name" style="left:14px; top:134px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
  412. <select1 id="rsltflag" ref="/root/hidden/splgrop/rstflag" class="combo_search" appearance="minimal" style="left:130px; top:133px; width:73px; height:19px; ">
  413. <choices>
  414. <item>
  415. <label>전체</label>
  416. <value>0</value>
  417. </item>
  418. <item>
  419. <label>미입력</label>
  420. <value>1</value>
  421. </item>
  422. <item>
  423. <label>입력결과</label>
  424. <value>2</value>
  425. </item>
  426. <item>
  427. <label>결과보고</label>
  428. <value>3</value>
  429. </item>
  430. <item>
  431. <label>전문의확인</label>
  432. <value>4</value>
  433. </item>
  434. </choices>
  435. </select1>
  436. <caption id="caption5" class="search_name" style="left:14px; top:110px; width:90px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">일련번호 :</caption>
  437. <caption id="caption17" class="search_no_b" style="left:208px; top:108px; width:15px; height:17px; ">~</caption>
  438. <input id="ipt_splsseq" ref="/root/hidden/splgrop/sworkseq" class="input_search" style="left:129px; top:109px; width:75px; height:19px; ">
  439. <script type="javascript" ev:event="DOMFocusOut">
  440. <![CDATA[
  441. var sNo = model.getvalue("/root/hidden/splgrop/sworkseq");
  442. sNo = sNo.getLeftPad(5,0);
  443. model.setvalue("/root/hidden/splgrop/sworkseq" , sNo) ;
  444. ipt_splsseq.refresh();
  445. ]]>
  446. </script>
  447. </input>
  448. <input id="ipt_spleseq" ref="/root/hidden/splgrop/eworkseq" class="input_search" style="left:224px; top:109px; width:75px; height:19px; ">
  449. <script type="javascript" ev:event="DOMFocusOut">
  450. <![CDATA[
  451. var sNo = model.getvalue("/root/hidden/splgrop/eworkseq");
  452. sNo = sNo.getLeftPad(5,0);
  453. model.setvalue("/root/hidden/splgrop/eworkseq" , sNo) ;
  454. ipt_spleseq.refresh();
  455. ]]>
  456. </script>
  457. </input>
  458. <select1 id="cmb_spcrefflag" ref="/root/hidden/splgrop/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:195px; height:19px; ">
  459. <choices>
  460. <item>
  461. <label>바코드번호</label>
  462. <value>1</value>
  463. </item>
  464. <item>
  465. <label>등록번호</label>
  466. <value>2</value>
  467. </item>
  468. <item>
  469. <label>환자성명</label>
  470. <value>3</value>
  471. </item>
  472. </choices>
  473. <script type="javascript" ev:event="xforms-value-changed">
  474. <![CDATA[
  475. if(model.getValue("/root/hidden/splgrop/refgbn")=="3"){
  476. ipt_spltext.attribute("imemode") = "hangul";
  477. }else{
  478. ipt_spltext.attribute("imemode") = "alpha";
  479. }
  480. ]]>
  481. </script>
  482. </select1>
  483. <input id="ipt_spltext" ref="/root/hidden/splgrop/text" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:195px; height:19px; ">
  484. <script type="javascript" ev:event="onbuttonclick">
  485. <![CDATA[
  486. model.setValue("/root/hidden/splgrop/text", ipt_spltext.currentText.toUpperCase());
  487. Onclick_btnRef();
  488. ]]>
  489. </script>
  490. </input>
  491. <caption id="caption127" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
  492. <line id="line89" class="line_7" style="x1:14px; y1:56px; x2:299px; y2:56px; "/>
  493. <datagrid id="grd_spclpatlist" nodeset="/root/main/patlist" caption="^^특수검사번호^등록번호^성명^검사명^검체번호^testcd^rsltstat^imagrsltyn^spcltestkind^spcltestseqno^spcyy^prcpgenrflag^spclrsltformkind^form^descrsltyn" colsep="^" colwidth="22, 21, 111, 71, 62, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:193px; width:314px; height:483px; ">
  494. <col ref="img"/>
  495. <col/>
  496. <col ref="spclno"/>
  497. <col ref="pid"/>
  498. <col ref="patnm"/>
  499. <col ref="tclsscrnnm"/>
  500. <col ref="bcno"/>
  501. <col ref="testcd"/>
  502. <col ref="rsltstat"/>
  503. <col ref="imagrsltyn"/>
  504. <col ref="spcltestkind"/>
  505. <col ref="spcltestseqno"/>
  506. <col ref="spcyy"/>
  507. <col ref="prcpgenrflag"/>
  508. <col ref="spclrsltformkind"/>
  509. <col ref="form"/>
  510. <col ref="descrsltyn"/>
  511. <script type="javascript" ev:event="ondblclick">
  512. <![CDATA[
  513. fPatChio("grd_spclpatlist");
  514. ]]>
  515. </script>
  516. </datagrid>
  517. <caption id="caption6" class="tit_2" style="left:5px; top:172px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자목록</caption>
  518. <line id="line1" class="line_1" style="x1:0px; y1:188px; x2:314px; y2:188px; "/>
  519. </case>
  520. <case id="testitem" selected="true">
  521. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:4px; top:4px; width:310px; height:182px; "/>
  522. <caption id="caption8" class="search_name" style="left:14px; top:62px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업일자 :</caption>
  523. <caption id="caption9" class="search_name" style="left:14px; top:86px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업그룹 :</caption>
  524. <caption id="caption10" class="search_name" style="left:14px; top:133px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">작업번호 :</caption>
  525. <input id="ipt_testsseq" ref="/root/hidden/testgroup/sworkseq" class="input_search" style="left:105px; top:132px; width:89px; height:19px; "/>
  526. <input id="ipt_testeseq" ref="/root/hidden/testgroup/eworkseq" class="input_search" style="left:210px; top:132px; width:89px; height:19px; "/>
  527. <input id="ipt_testsdd" ref="/root/hidden/testgroup/startdd" class="input_search" inputtype="date" style="left:105px; top:61px; width:89px; height:19px; "/>
  528. <input id="ipt_testedd" ref="/root/hidden/testgroup/enddd" class="input_search" inputtype="date" style="left:210px; top:61px; width:89px; height:19px; "/>
  529. <caption id="caption11" class="search_no_b" style="left:196px; top:62px; width:15px; height:17px; ">~</caption>
  530. <caption id="caption12" class="search_no_b" style="left:196px; top:134px; width:15px; height:17px; ">~</caption>
  531. <line id="line3" class="line_4" style="x1:228px; y1:157px; x2:228px; y2:179px; "/>
  532. <button id="button19" class="btn1_letter2" style="left:243px; top:157px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  533. <caption>조회</caption>
  534. <script type="javascript" ev:event="DOMActivate">
  535. <![CDATA[
  536. Onclick_btnRef("R");
  537. ]]>
  538. </script>
  539. </button>
  540. <select1 id="cmb_rsltflag_test" ref="/root/hidden/testgroup/rstflag" class="combo_search" appearance="minimal" style="left:105px; top:156px; width:88px; height:19px; ">
  541. <choices>
  542. <item>
  543. <label>전체</label>
  544. <value>0</value>
  545. </item>
  546. <item>
  547. <label>미입력</label>
  548. <value>1</value>
  549. </item>
  550. <item>
  551. <label>입력결과</label>
  552. <value>2</value>
  553. </item>
  554. <item>
  555. <label>결과보고</label>
  556. <value>3</value>
  557. </item>
  558. <item>
  559. <label>전문의확인</label>
  560. <value>4</value>
  561. </item>
  562. </choices>
  563. </select1>
  564. <caption id="caption3" class="search_name" style="left:14px; top:157px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">결과구분 :</caption>
  565. <select1 id="cmb_testgrop" ref="/root/hidden/testgroup/workcd" class="combo_search" appearance="minimal" style="left:105px; top:85px; width:170px; height:19px; ">
  566. <choices>
  567. <itemset nodeset="/root/init/LB0103">
  568. <label ref="nm"/>
  569. <value ref="cd"/>
  570. </itemset>
  571. </choices>
  572. </select1>
  573. <button id="button61" class="icon_search" style="left:280px; top:85px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  574. <caption/>
  575. <script type="javascript" ev:event="DOMActivate">
  576. <![CDATA[
  577. model.setValue("/root/hidden/ref/tclscdlist/testgrup", model.getValue("/root/hidden/testgroup/workcd"));
  578. modal("SMLLF90400", 200, 300, 200, "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  579. fBaseInfoRef2("0103|");
  580. ]]>
  581. </script>
  582. </button>
  583. <caption id="caption128" class="search_name" style="left:15px; top:9px; width:94px; height:17px; ">검색구분 :</caption>
  584. <line id="line90" class="line_7" style="x1:14px; y1:56px; x2:299px; y2:56px; "/>
  585. <select1 id="cmb_testrefflag" ref="/root/hidden/testgroup/refgbn" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:190px; height:19px; ">
  586. <choices>
  587. <item>
  588. <label>바코드번호</label>
  589. <value>1</value>
  590. </item>
  591. <item>
  592. <label>등록번호</label>
  593. <value>2</value>
  594. </item>
  595. <item>
  596. <label>환자성명</label>
  597. <value>3</value>
  598. </item>
  599. </choices>
  600. <script type="javascript" ev:event="xforms-value-changed">
  601. <![CDATA[
  602. if(model.getValue("/root/hidden/testgroup/refgbn")=="3"){
  603. ipt_testtext.attribute("imemode") = "hangul";
  604. }else{
  605. ipt_testtext.attribute("imemode") = "alpha";
  606. }
  607. ]]>
  608. </script>
  609. </select1>
  610. <input id="ipt_testtext" ref="/root/hidden/testgroup/text" class="input_button" navindex="1" inputtype="button" style="left:105px; top:32px; width:195px; height:19px; ">
  611. <script type="javascript" ev:event="onbuttonclick">
  612. <![CDATA[
  613. model.setValue("/root/hidden/testgroup/text", ipt_testtext.currentText.toUpperCase());
  614. Onclick_btnRef();
  615. ]]>
  616. </script>
  617. </input>
  618. <input id="ipt_tclscdlist" visibility="hidden" style="left:140px; top:145px; width:100px; height:19px; "/>
  619. <datagrid id="grd_testpatList" nodeset="/root/main/patlist" caption="^^^등록번호^성명^검사명^검체번호^접수일시^testcd^rsltstat^imagrsltyn^spcltestkind^spcltestseqno^spclno^spcyy^prcpgenrflag^spclrsltformkind^form^descrsltyn" colsep="^" colwidth="22, 21, 21, 71, 62, 100, 100, 140, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:216px; width:314px; height:460px; ">
  620. <col ref="img"/>
  621. <col/>
  622. <col/>
  623. <col ref="pid"/>
  624. <col ref="patnm"/>
  625. <col ref="tclsscrnnm"/>
  626. <col ref="bcno"/>
  627. <col ref="spcacptdt" format="9999-99-99 99:99:99"/>
  628. <col ref="testcd"/>
  629. <col ref="rsltstat"/>
  630. <col ref="imagrsltyn"/>
  631. <col ref="spcltestkind"/>
  632. <col ref="spcltestseqno"/>
  633. <col ref="spclno"/>
  634. <col ref="spcyy"/>
  635. <col ref="prcpgenrflag"/>
  636. <col ref="spclrsltformkind"/>
  637. <col ref="form"/>
  638. <col ref="descrsltyn"/>
  639. <script type="javascript" ev:event="ondblclick">
  640. <![CDATA[
  641. fPatChio("grd_testpatList");
  642. ]]>
  643. </script>
  644. <script type="javascript" ev:event="onaftersort">
  645. <![CDATA[
  646. grd_testpatList.gridToInstance();
  647. ]]>
  648. </script>
  649. </datagrid>
  650. <caption id="caption16" class="tit_2" style="left:5px; top:195px; width:115px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자목록</caption>
  651. <line id="line4" class="line_1" style="x1:0px; y1:211px; x2:314px; y2:211px; "/>
  652. <select1 id="combo1" ref="/root/hidden/testgroup/formkind" class="combo_search" appearance="minimal" style="left:105px; top:108px; width:195px; height:19px; ">
  653. <choices>
  654. <itemset nodeset="/root/init/LB9991">
  655. <label ref="nm"/>
  656. <value ref="cd"/>
  657. </itemset>
  658. </choices>
  659. </select1>
  660. <caption id="caption13" class="search_name" style="left:14px; top:109px; width:100px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">입력유형 :</caption>
  661. <select1 id="combo2" ref="/root/hidden/testgroup/sort" class="combo_search" appearance="minimal" style="left:195px; top:189px; width:117px; height:19px; ">
  662. <choices>
  663. <item>
  664. <label>전체</label>
  665. <value>0</value>
  666. </item>
  667. <item>
  668. <label>등록번호</label>
  669. <value>1</value>
  670. </item>
  671. <!--<item>
  672. <label>성명</label>
  673. <value>2</value>
  674. </item>
  675. <item>
  676. <label>검사명</label>
  677. <value>3</value>
  678. </item>-->
  679. <item>
  680. <label>검체번호</label>
  681. <value>4</value>
  682. </item>
  683. <item>
  684. <label>접수일시</label>
  685. <value>5</value>
  686. </item>
  687. </choices>
  688. </select1>
  689. </case>
  690. </switch>
  691. </group>
  692. <group id="group3" style="left:0px; top:736px; width:320px; height:27px; ">
  693. <button id="button2" class="btn4_letter2" style="left:205px; top:5px; width:56px; height:22px; ">
  694. <caption>선택</caption>
  695. <script type="javascript" ev:event="DOMActivate">
  696. <![CDATA[
  697. var refGbn = model.getvalue("/root/hidden/refparam/refflag"); //특수검사그룹별 조회냐 검사항목별 조회냐
  698. if (refGbn == "1"){
  699. fPatChio("grd_spclpatlist");
  700. }
  701. else if(refGbn == "2"){
  702. fPatChio("grd_testpatList");
  703. }
  704. ]]>
  705. </script>
  706. </button>
  707. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:320px; y2:0px; "/>
  708. <button id="button5" class="btn4_letter2" style="left:264px; top:5px; width:56px; height:22px; ">
  709. <caption>취소</caption>
  710. <script type="javascript" ev:event="DOMActivate">
  711. <![CDATA[
  712. fExeCancel("C");
  713. ]]>
  714. </script>
  715. </button>
  716. </group>
  717. <group id="grp_tle" style="left:0px; top:0px; width:320px; height:13px; ">
  718. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:160px; height:13px; ">특수검사환자조회</caption>
  719. </group>
  720. <script type="javascript" ev:event="onkeypress">
  721. <![CDATA[
  722. fInputKeyup();
  723. ]]>
  724. </script>
  725. </xhtml:body>
  726. </xhtml:html>