SPLRR91500_특수검사환자조회2.xrw 28 KB

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