SPLLF90800_통합검사코드목록.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLLF90800_통합검사코드목록.xrw
  4. * 설 명 : 통합검사코드목록
  5. * 설 계 자 : 평화이즈 김성희
  6. * 작 성 자 : 평화이즈 김성희
  7. * 작 성 일 : 2008.05.15
  8. * 수정이력 :
  9. * 기 타 : 병원별검사코드관리 화면에서 검사를 추가하기 위한 팝업 화면.
  10. -->
  11. <?xml-stylesheet href="C:/CMCOracle/application/webapps/com/commonweb/css/common.css" type="text/css" ?>
  12. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  13. <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">
  14. <xhtml:head>
  15. <xhtml:title>통합검사코드목록</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <tclsinst>
  21. <tclslist>
  22. <chk/>
  23. <testlrgcd/>
  24. <testmdlcd/>
  25. <testmdlnm/>
  26. <tclscd/>
  27. <tclsnm/>
  28. <spccd/>
  29. <spcnm/>
  30. <tclskind/>
  31. <tclskindnm/>
  32. <userdeptflagcd/>
  33. <fromdd/>
  34. <todd/>
  35. <instcd/>
  36. <tsectcd/>
  37. </tclslist>
  38. </tclsinst>
  39. <instclslist>
  40. <tclslist>
  41. <chk/>
  42. <testlrgcd/>
  43. <testmdlcd/>
  44. <testmdlnm/>
  45. <tclscd/>
  46. <tclsnm/>
  47. <spccd/>
  48. <spcnm/>
  49. <tclskind/>
  50. <tclskindnm/>
  51. <userdeptflagcd/>
  52. <fromdd/>
  53. <todd/>
  54. <instcd/>
  55. <tsectcd/>
  56. </tclslist>
  57. </instclslist>
  58. <tclslist>
  59. <tclscdlist>
  60. <tclscdfromdd/>
  61. <tclstodd/>
  62. <tclscd/>
  63. <tclsnm/>
  64. <tclskind/>
  65. </tclscdlist>
  66. </tclslist>
  67. <tclsdupl/>
  68. </main>
  69. <send>
  70. <codeflag/>
  71. <btngbn/>
  72. <tclscd/>
  73. <userdeptflagcd/>
  74. <searchgbn/>
  75. <searchtext/>
  76. <testlrgcd/>
  77. <testmdlcd/>
  78. <addtclscd/>
  79. </send>
  80. <init/>
  81. <hidden>
  82. <search>
  83. <searchtext/>
  84. <searchgbn>
  85. <item>
  86. <label>검사코드</label>
  87. <value>1</value>
  88. </item>
  89. <item>
  90. <label>검사명</label>
  91. <value>2</value>
  92. </item>
  93. </searchgbn>
  94. </search>
  95. <testlrg/>
  96. <testmdl>
  97. </testmdl>
  98. <popupmenu>
  99. <grid>
  100. <item>
  101. <name>행삭제</name>
  102. <func>fDeleteRow</func>
  103. </item>
  104. </grid>
  105. </popupmenu>
  106. </hidden>
  107. </root>
  108. </instance>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. // 초기정보 조회
  112. //0102 중분류,0104 대분류,0105 검체,0106 시행부서,000부서구분(L:진검, N:핵체외), 9999 : 검사코드 추가 권한자
  113. model.setValue("/root/send/codeflag", "0102|0104|0105|0106|0000|9999|");
  114. submit("TRLZZ00101");
  115. //검색구분셋팅
  116. cmb_refgbn.select(0);
  117. model.setValue("/root/hidden/search/searchtext", "");
  118. model.setValue("/root/hidden/testlrg" , "00")
  119. model.setValue("/root/hidden/testmdl" , "00");
  120. model.removeNodeset("/root/main/instclslist/tclslist");
  121. //검사코드 추가 권한자이면 저장 버튼 활성화
  122. var Chkuserid1 = model.getValue("/root/init/LB0000/cd");
  123. var n = getNodesetCount("/root/init/LB9999[cd='" + Chkuserid1 + "']");
  124. if(n > 0){ //권한있음
  125. btn_save.disabled = false;
  126. btn_save.refresh();
  127. } else{
  128. }
  129. // 20110811 검사코드관리 권한 추가 유민규
  130. //if(model.getValue("/root/init/LB9999[etc01='"+model.getValue("/root/init/LB0000/nm")+"']/cd") == getUserId()){
  131. // btn_save.disabled = false;
  132. // btn_save.refresh();
  133. //}
  134. model.refresh();
  135. ]]>
  136. </script>
  137. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  138. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  139. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  141. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  142. <submission id="TRLLF90801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tclsinst"/>
  143. <submission id="TRLLF90802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/tclslist"/>
  144. <submission id="TXLLF90801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/addtclscd"/>
  145. </model>
  146. <script type="javascript">
  147. <![CDATA[
  148. /* @group : 통합검사코드목록
  149. * @ver : 2008.05.16
  150. * @by : 김성희
  151. * @-----------------------------------
  152. * @type : function
  153. * @access : public
  154. * @desc : 통합검사코드목록 검색 Function
  155. */
  156. function fGetTclsInstList(btngbn){
  157. //--------------------
  158. //검색버튼
  159. if(btngbn == "A"){
  160. if(model.getValue("/root/hidden/search/searchtext").getTrim() == ""){
  161. messageBox("검색내용을 입력하세요.", "I");
  162. return;
  163. }
  164. model.setValue("/root/send/searchtext" , model.getValue("/root/hidden/search/searchtext")); //검색내용
  165. model.setValue("/root/send/searchgbn" , model.getValue("/root/hidden/search/searchgbn")); //검색구분
  166. //조회버튼
  167. }else if(btngbn == "B"){
  168. if(model.getValue("/root/hidden/testlrg") == "00" && model.getValue("/root/hidden/testmdl") == "00"){
  169. messageBox("조회구분을 선택해주세요.", "I");
  170. return;
  171. }
  172. model.setValue("/root/send/testlrgcd" ,model.getValue("/root/hidden/testlrg")) //대분류
  173. model.setValue("/root/send/testmdlcd" , model.getValue("/root/hidden/testmdl")) //중분류
  174. }
  175. model.setValue("/root/send/btngbn" , btngbn) //버튼구분
  176. model.setValue("/root/send/userdeptflagcd" , model.getValue("/root/init/LB0000/nm")); //부서구분(L:진검, P:병리, N:핵체외)
  177. submit("TRLLF90801");
  178. }
  179. /* @group : 등록된 검사코드 목록
  180. * @ver : 2008.05.16
  181. * @by : 김성희
  182. * @-----------------------------------
  183. * @type : function
  184. * @access : public
  185. * @desc : 등록된 검사코드 목록
  186. */
  187. function fGetTclsList(ref, row){
  188. model.removeNodeset("/root/main/tclslist");
  189. model.refresh();
  190. model.setValue("/root/send/tclscd" , model.getValue(ref + "["+ row +"]/tclscd"));
  191. model.setValue("/root/send/userdeptflagcd" , model.getValue("/root/init/LB0000/nm"));
  192. submit("TRLLF90802");
  193. }
  194. //====================================
  195. //병원별 검사코드 등록
  196. function fSaveTclsList(){
  197. var rowCnt = getNodesetCount("/root/main/instclslist/tclslist");
  198. var spccd = "";
  199. var tsectcd = "";
  200. if(rowCnt > 0){
  201. for(iRow=1; iRow<=rowCnt; iRow++){
  202. spccd = model.getValue("/root/main/instclslist/tclslist[" + iRow + "]/spccd");
  203. tsectcd = model.getValue("/root/main/instclslist/tclslist[" + iRow + "]/tsectcd");
  204. //날짜체크
  205. if(model.getValue("/root/main/instclslist/tclslist[" + iRow + "]/datechk") != "Y"
  206. || model.getValue("/root/main/instclslist/tclslist[" + iRow + "]/fromdd") == ""
  207. || model.getValue("/root/main/instclslist/tclslist[" + iRow + "]/todd") == "" ){
  208. messageBox("시작일자, 종료일자를 체크해주세요.", "I");
  209. return;
  210. }
  211. //검체체크
  212. if(spccd == "" || spccd == "00" || spccd == "998" || spccd == "999"
  213. || (model.getValue("/root/init/LB0000/nm") == "N" && spccd == "000")){ //핵의학일때는 000도 막음.
  214. messageBox(iRow + " 행의 검체를 체크해주세요.", "I");
  215. return;
  216. }
  217. //시행부서체크
  218. if(tsectcd == "" || tsectcd == "00"){
  219. messageBox(iRow + " 행의 시행부서를 체크해주세요.", "I");
  220. return;
  221. }
  222. model.setValue("/root/main/instclslist/tclslist[" + iRow + "]/chk", "Y");
  223. grd_instclslist.addStatus(iRow, "insert")
  224. }
  225. model.setValue("/root/send/addtclscd", grd_instclslist.getUpdateData("insert"));
  226. submit("TXLLF90801");
  227. grd_tclsinstlist.clearStatus();
  228. grd_tclsinstlist.refresh();
  229. model.removeNodeset("/root/main/instclslist/tclslist");
  230. grd_instclslist.refresh();
  231. }else{
  232. messageBox("등록 할 검사 코드가 없습니다.");
  233. return;
  234. }
  235. }
  236. //====================================
  237. //중분류 초기정보 조회
  238. function fSetTestLrgCd(){
  239. var lrg = model.getvalue("/root/hidden/testlrg");
  240. if(lrg == "00"){
  241. cmb_TestMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
  242. model.setValue("/root/hidden/testmdl" , "00");
  243. }
  244. else{
  245. model.setValue("/root/hidden/testmdl" , "00");
  246. cmb_TestMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102[cd= '00' or etc01='"+ lrg +"']";
  247. }
  248. cmb_TestMdlCd.refresh();
  249. }
  250. //추가할 검사코드 목록 이동
  251. function fSetInslTestList(){
  252. //통합검사코드목록에서 선택한 코드와 등록된 코드목록에 조회된 코드가 다르면 다시 조회
  253. if(model.getValue("/root/main/tclsinst/tclslist["+grd_tclsinstlist.row +"]/tclscd")
  254. != model.getValue("/root/main/tclslist/tclscdlist[1]/tclscd")){
  255. fGetTclsList("/root/main/tclsinst/tclslist", grd_tclsinstlist.row);
  256. }
  257. var toDay = getCurrentDate();
  258. var mDate;
  259. var tclscd = model.getValue("/root/main/tclsinst/tclslist["+grd_tclsinstlist.row+"]/tclscd"); //통합검사 코드목록
  260. //통합검사코드목록 선택한 검사코드가 등록할 그리드에 있는지 체크
  261. var findRowNum = grd_instclslist.findRow(tclscd, 1, grd_instclslist.colRef("tclscd"), false, true);
  262. //병원별 이미 등록 된 코드 목록
  263. var tclscdlistRows = getNodesetCount("/root/main/tclslist/tclscdlist");
  264. //병원별 등록된 코드목록 중에서 마지막 종료일자. 첫번째 row가 가장 마지막이다. 쿼리에서 종료일자 desc
  265. var tclslistTodd = model.getValue("/root/main/tclslist/tclscdlist[1]/tclstodd");
  266. //----------------------
  267. //종료일자가 99991231 이 있으면 등록 안한다.
  268. if(tclslistTodd == "99991231"){
  269. messageBox("해당 코드는 등록할 수 없습니다.\n\n사용중인 코드의 종료일자가 9999-12-31 입니다.", "I");
  270. return;
  271. }
  272. //----------------------
  273. //등록할 그리드에 있으면 등록 추가 안한다.
  274. if(findRowNum > 0){
  275. messageBox(tclscd + "는 " + findRowNum + "행에 존재합니다.", "I");
  276. return;
  277. }else{
  278. //등록할 그리드에 추가한다.
  279. copyNodeListType("/root/main/instclslist", "/root/main/tclsinst/tclslist["+grd_tclsinstlist.row+"]", "after");
  280. grd_instclslist.refresh();
  281. grd_instclslist.row = grd_instclslist.rows - grd_instclslist.fixedRows; //추가한 행으로 포커스 이동
  282. }
  283. //------------------------------------
  284. //병원별 이미 등록된 코드가 있다면.
  285. if(tclscdlistRows > 0){
  286. //병원별 등록된 것의 가장 마지막 종료일자가 99991231 이 아니면 +1일 , 99991231 이면 99991231
  287. if(tclslistTodd == "99991231"){
  288. model.setValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/fromdd", tclslistTodd);
  289. }else{
  290. mDate = tclslistTodd.toDate("YYYYMMDD").getAddDate(+1);
  291. model.setValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/fromdd", mDate.getDateFormat("YYYYMMDD"));
  292. }
  293. }else{
  294. //현재일자
  295. model.setValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/fromdd", toDay);
  296. }
  297. model.setValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/todd", "99991231");
  298. //시작일자 변경시 체크하기 위해 셋팅한다.
  299. model.makeValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/reffromdd", model.getValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/fromdd"));
  300. //날짜체크 이상 없음.
  301. model.makeValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/datechk", "Y");
  302. model.setValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/chk", "Y");
  303. //핵의학일때는 시행부서 셋팅
  304. if(model.getValue("/root/init/LB0000/nm") == "N"){
  305. model.makeValue("/root/main/instclslist/tclslist["+ grd_instclslist.row +"]/tsectcd", "NR");
  306. }
  307. grd_instclslist.refresh();
  308. }
  309. //값 체크
  310. function fCellValueCheck(){
  311. var fromdd = model.getValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/fromdd");
  312. var todd = model.getValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/todd");
  313. var reffromdd = model.getValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/reffromdd");
  314. var spccd = model.getValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/spccd");
  315. var tsectcd = model.getValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/tsectcd");
  316. //시작일자,종료일자 체크시
  317. if((grd_instclslist.col == grd_instclslist.colRef("todd") || grd_instclslist.col == grd_instclslist.colRef("fromdd") ) ){
  318. if(fromdd != "" && todd != "") {
  319. if(fromdd > todd){
  320. messageBox("종료일자가 시작일자보다 이전 날짜입니다.", "I");
  321. model.setValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/todd", "99991231");
  322. return;
  323. }
  324. }
  325. if(fromdd != ""){
  326. if(reffromdd > fromdd){
  327. messageBox("시작일자가 " + reffromdd.toDate("YYYYMMDD").getDateFormat("YYYY-MM-DD") + " 보다 이후 날짜이어야 합니다.", "I");
  328. model.setValue("/root/main/instclslist/tclslist["+grd_instclslist.row+"]/fromdd", reffromdd);
  329. return;
  330. }
  331. }
  332. }
  333. //검체 선택시
  334. if(grd_instclslist.col == grd_instclslist.colRef("spccd")){
  335. if(spccd == "00" || spccd == "998" || spccd == "999"){
  336. messageBox(grd_instclslist.row + "행의 검체코드를 확인해주세요.", "I");
  337. return;
  338. }
  339. }
  340. //시행부서 선택시
  341. if(grd_instclslist.col == grd_instclslist.colRef("tsectcd")){
  342. if(tsectcd == "00"){
  343. messageBox(grd_instclslist.row + "행의 시행부서를 확인해주세요.", "I");
  344. return;
  345. }
  346. }
  347. }
  348. //마우스 메뉴
  349. function fGetMouseDown(){
  350. window.setPopupMenu(true , "/root/hidden/popupmenu/grid/item" , "name", "func" , false);
  351. }
  352. //행삭제
  353. function fDeleteRow(){
  354. grd_instclslist.deleteRow(grd_instclslist.row);
  355. }
  356. ]]>
  357. </script>
  358. </xhtml:head>
  359. <xhtml:body guideline="1,1287;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  360. <group id="group2" style="left:0px; top:0px; width:1195px; height:765px; ">
  361. <caption id="caption6" class="tit_2" style="left:5px; top:10px; width:126px; height:14px; ">검사코드추가</caption>
  362. <group id="group3" style="left:0px; top:30px; width:1195px; height:35px; ">
  363. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  364. <line id="line4" class="line_4" style="x1:1110px; y1:7px; x2:1110px; y2:29px; "/>
  365. <caption id="caption7" class="search_name" style="left:785px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  366. <select1 id="cmb_refgbn" ref="/root/hidden/search/searchgbn" class="combo_search" appearance="minimal" style="left:880px; top:8px; width:85px; height:19px; ">
  367. <choices>
  368. <itemset nodeset="/root/hidden/search/searchgbn/item">
  369. <label ref="label"/>
  370. <value ref="value"/>
  371. </itemset>
  372. </choices>
  373. </select1>
  374. <input id="ipt_refgbn" ref="/root/hidden/search/searchtext" class="input_s_button" inputtype="button" style="left:970px; top:8px; width:120px; height:19px; "/>
  375. <button id="btn_search" class="btn1_letter2" style="left:1120px; top:7px; width:56px; height:22px; ">
  376. <caption>검색</caption>
  377. <script type="javascript" ev:event="DOMActivate">
  378. <![CDATA[
  379. fGetTclsInstList("A");
  380. ]]>
  381. </script>
  382. </button>
  383. <caption id="caption8" class="search_name" style="left:17px; top:9px; width:87px; height:17px; ">조회구분 :</caption>
  384. <select1 id="cmb_TestLrgCd" ref="/root/hidden/testlrg" class="combo_s_essential" appearance="minimal" itemcount="20" style="left:109px; top:8px; width:135px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/init/LB0104">
  387. <label ref="nm"/>
  388. <value ref="cd"/>
  389. </itemset>
  390. </choices>
  391. <script type="javascript" ev:event="xforms-value-changed">
  392. <![CDATA[
  393. fSetTestLrgCd();
  394. ]]>
  395. </script>
  396. </select1>
  397. <select1 id="cmb_TestMdlCd" ref="/root/hidden/testmdl" class="combo_s_essential" appearance="minimal" itemcount="20" style="left:247px; top:8px; width:135px; height:19px; ">
  398. <choices>
  399. <itemset nodeset="/root/init/LB0102">
  400. <label ref="nm"/>
  401. <value ref="cd"/>
  402. </itemset>
  403. </choices>
  404. </select1>
  405. <button id="btn_ref" class="btn1_letter2" style="left:413px; top:7px; width:56px; height:22px; ">
  406. <caption>조회</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. fGetTclsInstList("B");
  410. ]]>
  411. </script>
  412. </button>
  413. <line id="line5" class="line_4" style="x1:398px; y1:7px; x2:398px; y2:29px; "/>
  414. </group>
  415. <line id="line6" class="line_1" style="x1:0px; y1:91px; x2:1190px; y2:91px; "/>
  416. <datagrid id="grd_tclsinstlist" nodeset="/root/main/tclsinst/tclslist" visibility="visible" caption="^fromdd^todd^검사코드^검사명^검사구분코드" colsep="^" colwidth="0, 0, 0, 70, 158, 85" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:96px; width:365px; height:660px; ">
  417. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  418. <col ref="fromdd" type="inputdate" format="yyyy-mm-dd"/>
  419. <col ref="todd" type="inputdate" format="yyyy-mm-dd"/>
  420. <col ref="tclscd"/>
  421. <col ref="tclsnm"/>
  422. <col disabled="true" ref="tclskind" type="combo">
  423. <choices>
  424. <item>
  425. <label>Group</label>
  426. <value>0</value>
  427. </item>
  428. <item>
  429. <label>Panel</label>
  430. <value>1</value>
  431. </item>
  432. <item>
  433. <label>Single</label>
  434. <value>2</value>
  435. </item>
  436. <item>
  437. <label>Parent</label>
  438. <value>3</value>
  439. </item>
  440. <item>
  441. <label>Child</label>
  442. <value>4</value>
  443. </item>
  444. <item>
  445. <label>Abnormal</label>
  446. <value>5</value>
  447. </item>
  448. <item>
  449. <label>성분제제</label>
  450. <value>6</value>
  451. </item>
  452. </choices>
  453. </col>
  454. <script type="javascript" ev:event="onclick">
  455. <![CDATA[
  456. if(grd_tclsinstlist.isCell(event.target) && grd_tclsinstlist.row >= grd_tclsinstlist.fixedRows){
  457. fGetTclsList("/root/main/tclsinst/tclslist", grd_tclsinstlist.row);
  458. }
  459. ]]>
  460. </script>
  461. </datagrid>
  462. <datagrid id="grd_tclscdlist" nodeset="/root/main/tclslist/tclscdlist" visibility="visible" caption="시작일자^종료일자^검사코드^검사명^검사구분" colsep="^" colwidth="85, 85, 74, 216, 80" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:410px; top:455px; width:780px; height:301px; ">
  463. <col ref="tclscdfromdd" format="yyyy-mm-dd"/>
  464. <col ref="tclstodd" format="yyyy-mm-dd"/>
  465. <col ref="tclscd"/>
  466. <col ref="tclsnm"/>
  467. <col disabled="true" ref="tclskind" type="combo">
  468. <choices>
  469. <item>
  470. <label>Group</label>
  471. <value>0</value>
  472. </item>
  473. <item>
  474. <label>Panel</label>
  475. <value>1</value>
  476. </item>
  477. <item>
  478. <label>Single</label>
  479. <value>2</value>
  480. </item>
  481. <item>
  482. <label>Parent</label>
  483. <value>3</value>
  484. </item>
  485. <item>
  486. <label>Child</label>
  487. <value>4</value>
  488. </item>
  489. <item>
  490. <label>Abnormal</label>
  491. <value>5</value>
  492. </item>
  493. <item>
  494. <label>성분제제</label>
  495. <value>6</value>
  496. </item>
  497. </choices>
  498. </col>
  499. </datagrid>
  500. <caption id="caption9" class="tit_2" style="left:5px; top:75px; width:126px; height:13px; ">통합검사코드 목록</caption>
  501. <caption id="caption10" class="tit_2" style="left:410px; top:75px; width:225px; height:13px; ">병원별 등록 할 코드 목록</caption>
  502. <button id="btn_save" class="btn4_letter2" disabled="true" style="left:1078px; top:7px; width:56px; height:22px; ">
  503. <caption>저장</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. fSaveTclsList();
  507. ]]>
  508. </script>
  509. </button>
  510. <button id="btn_close" class="btn4_letter2" style="left:1137px; top:7px; width:56px; height:22px; ">
  511. <caption>닫기</caption>
  512. <script type="javascript" ev:event="DOMActivate">
  513. <![CDATA[
  514. window.close();
  515. ]]>
  516. </script>
  517. </button>
  518. <datagrid id="grd_instclslist" nodeset="/root/main/instclslist/tclslist" visibility="visible" caption="^시작일자^종료일자^검사코드^검사명^검체^시행부서^검사구분^tclsscrnnm^tclsabbrnm^tclsprntnm^tclslblnm^testlrgcd^testmdlcd^userdeptflagcd" colsep="^" colwidth="0,85, 85, 74, 136, 130, 132, 80,0,0,0,0,0,0,0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:410px; top:96px; width:780px; height:319px; ">
  519. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  520. <col ref="fromdd" type="inputdate" format="yyyy-mm-dd"/>
  521. <col ref="todd" type="inputdate" format="yyyy-mm-dd"/>
  522. <col ref="tclscd"/>
  523. <col ref="tclsnm"/>
  524. <col ref="spccd" type="combo">
  525. <choices>
  526. <itemset nodeset="/root/init/LB0105">
  527. <label ref="nm"/>
  528. <value ref="cd"/>
  529. </itemset>
  530. </choices>
  531. </col>
  532. <col ref="tsectcd" type="combo">
  533. <choices>
  534. <itemset nodeset="/root/init/LB0106">
  535. <label ref="nm"/>
  536. <value ref="cd"/>
  537. </itemset>
  538. </choices>
  539. </col>
  540. <col disabled="true" ref="tclskind" type="combo">
  541. <choices>
  542. <item>
  543. <label>Group</label>
  544. <value>0</value>
  545. </item>
  546. <item>
  547. <label>Panel</label>
  548. <value>1</value>
  549. </item>
  550. <item>
  551. <label>Single</label>
  552. <value>2</value>
  553. </item>
  554. <item>
  555. <label>Parent</label>
  556. <value>3</value>
  557. </item>
  558. <item>
  559. <label>Child</label>
  560. <value>4</value>
  561. </item>
  562. <item>
  563. <label>Abnormal</label>
  564. <value>5</value>
  565. </item>
  566. <item>
  567. <label>성분제제</label>
  568. <value>6</value>
  569. </item>
  570. </choices>
  571. </col>
  572. <col ref="tclsscrnnm"/>
  573. <col ref="tclsabbrnm"/>
  574. <col ref="tclsprntnm"/>
  575. <col ref="tclslblnm"/>
  576. <col ref="testlrgcd"/>
  577. <col ref="testmdlcd"/>
  578. <col ref="userdeptflagcd"/>
  579. <script type="javascript" ev:event="onclick">
  580. <![CDATA[
  581. if(grd_instclslist.isCell(event.target) && grd_instclslist.row >= grd_instclslist.fixedRows){
  582. fGetTclsList("/root/main/instclslist/tclslist",grd_instclslist.row);
  583. }
  584. ]]>
  585. </script>
  586. <script type="javascript" ev:event="xforms-value-changed">
  587. <![CDATA[
  588. //시작일,종료일,검체,시행부서 체크
  589. fCellValueCheck();
  590. ]]>
  591. </script>
  592. <script type="javascript" ev:event="onmousedown">
  593. <![CDATA[
  594. //메뉴띄우기
  595. //fGetMouseDown();
  596. ]]>
  597. </script>
  598. <script type="javascript" ev:event="DOMFocusOut">
  599. <![CDATA[
  600. //window.setPopupMenu(false);
  601. ]]>
  602. </script>
  603. <script type="javascript" ev:event="onmouseout">
  604. <![CDATA[
  605. //window.setPopupMenu(false);
  606. ]]>
  607. </script>
  608. </datagrid>
  609. <caption id="caption11" class="tit_2" style="left:410px; top:435px; width:225px; height:13px; ">병원별 등록 된 코드 목록</caption>
  610. <line id="line8" class="line_1" style="x1:410px; y1:450px; x2:1190px; y2:450px; "/>
  611. <button id="btn_move" class="icon_right" style="left:374px; top:220px; width:26px; height:19px; ">
  612. <caption/>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. fSetInslTestList();
  616. ]]>
  617. </script>
  618. </button>
  619. <button id="button8" class="btn2_letter3" visibility="visible" style="left:1136px; top:71px; width:53px; height:19px; ">
  620. <caption>초기화</caption>
  621. <script type="javascript" ev:event="DOMActivate">
  622. <![CDATA[
  623. model.removeNodeset("/root/main/instclslist/tclslist");
  624. model.refresh();
  625. ]]>
  626. </script>
  627. </button>
  628. <button id="button5" class="btn2_letter3" visibility="visible" style="left:1081px; top:71px; width:53px; height:19px; ">
  629. <caption>행삭제</caption>
  630. <script type="javascript" ev:event="DOMActivate">
  631. <![CDATA[
  632. fDeleteRow();
  633. ]]>
  634. </script>
  635. </button>
  636. </group>
  637. </xhtml:body>
  638. </xhtml:html>