SMLPC10401_통합검사항목등록.xrw 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPC10400_통합검사항목등록.xrw
  4. * 설 명 : 검사항목등록 화면
  5. * 설 계 자 : (주)에이씨케이 - 송요셉
  6. * 작 성 자 : (주)에이씨케이 - 송요셉
  7. * 작 성 일 : 2007.01.08
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <testitemcnts>
  20. <testitemlist>
  21. <instcd/>
  22. <dispseqno/>
  23. <testcd/>
  24. <testengnm/>
  25. <testengabbr/>
  26. <testhngnm/>
  27. <testhngabbr/>
  28. <basepartcd/>
  29. <basepartnm/>
  30. <detlpartcd/>
  31. <detlpartnm/>
  32. <singletest_cnt/>
  33. </testitemlist>
  34. </testitemcnts>
  35. <testiteminfo>
  36. <instcd/>
  37. <testcd/>
  38. <testengnm/>
  39. <testengabbr/>
  40. <testhngnm/>
  41. <testhngabbr/>
  42. <basepartcd/>
  43. <basepartnm/>
  44. <detlpartcd/>
  45. <detlpartnm/>
  46. <delflagcd/>
  47. <frznflagcd>1</frznflagcd>
  48. <workflagcd>0</workflagcd>
  49. <statsworkflagcd>0</statsworkflagcd>
  50. <statsflagcd/>
  51. <spcflagcd>0</spcflagcd>
  52. <prcpflagcd>0</prcpflagcd>
  53. <ptnonewflagcd>Y</ptnonewflagcd>
  54. <ordkindflagcd>-</ordkindflagcd>
  55. <reqfrmflagcd>-</reqfrmflagcd>
  56. <edicd>123456789012345</edicd>
  57. <grupflagcd>0</grupflagcd>
  58. <trusttestflagcd/>
  59. <dispseqno/>
  60. <cfnm/>
  61. <ptnocd/>
  62. <ptnonm/>
  63. <stdyptnocd/>
  64. <stdyptnonm/>
  65. <trustptnocd/>
  66. <trustptnonm/>
  67. <refcnts/>
  68. <fstrgstdt/>
  69. <fstrgstrid/>
  70. <lastupdtdt/>
  71. <lastupdtrid/>
  72. <hideflagcd/>
  73. <popwndflagcd/>
  74. </testiteminfo>
  75. </main>
  76. <send>
  77. </send>
  78. <init>
  79. <resncd>
  80. <resncdist>
  81. <instcd/>
  82. <baseflagcd/>
  83. <resncd/>
  84. <resncnts/>
  85. </resncdist>
  86. </resncd>
  87. </init>
  88. <hidden>
  89. <userinfo>
  90. <instcd/>
  91. </userinfo>
  92. <delflagcd>0</delflagcd>
  93. <refflag>1</refflag>
  94. <refval/>
  95. <cdupdtflag>1</cdupdtflag>
  96. <scrndata/>
  97. <tempptnocd/>
  98. </hidden>
  99. </root>
  100. </instance>
  101. <submission id="TRLPC10401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testitemcnts/testitemlist"/>
  102. <submission id="TRLPC10402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testiteminfo"/>
  103. <submission id="TXLPC10401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg"/>
  104. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  105. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  106. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  107. <script src="../../../lis/commonweb/js/LPZ001.js" type="javascript"/>
  108. <script ev:event="xforms-ready" type="javascript">
  109. <![CDATA[
  110. fExeInitialize();
  111. ]]>
  112. </script>
  113. <!-- public Script Start -->
  114. <script type="javascript">
  115. <![CDATA[
  116. /* @group : 검사항목등록 화면
  117. * @ver : 2007.01.08 (CMCDEV-0001)
  118. * @by : 황상미(ACK)
  119. * @-----------------------------------
  120. * @type : function
  121. * @access : public
  122. * @desc : 화면초기화 함수
  123. */
  124. function fExeInitialize(){
  125. model.removeNodeset("/root/send");
  126. model.removeNodeset("/root/main/testitemcnts/testitemlist");
  127. model.resetInstanceNode("/root/main/testiteminfo");
  128. model.setValue("/root/hidden/delflagcd", "0"); // 조회부 사용여부
  129. model.setValue("/root/hidden/refflag", "1"); // 조회값 선택
  130. model.setValue("/root/hidden/refval", ""); // 조회값 입력
  131. model.setValue("/root/hidden/cdupdtflag", "1"); // 처리부 조회/수정/신규 구분
  132. model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
  133. fExeControlChng("false");
  134. //--------------------
  135. // 작업구분 목록 조회
  136. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  137. model.makeValue("/root/send/baseflagcd", "'83', '84'");
  138. //submit("TRLPZ00103");
  139. model.removeNodeset("/root/init/resncd/resncdlist[resncd='1000']");
  140. model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
  141. model.setFocus("rdo_s_delflagcd");
  142. model.refresh();
  143. }
  144. /* @group : 검사항목등록 화면
  145. * @ver : 2007.01.08 (CMCDEV-0001)
  146. * @by : 황상미(ACK)
  147. * @-----------------------------------
  148. * @type : function
  149. * @access : public
  150. * @desc : 조회/수정/신규 컨트롤 사용여부 변경 함수
  151. * iGbn : 입력구분 - true/false
  152. */
  153. function fExeControlChng(ipt_flag){
  154. var ctr_ipt_arr = new Array(); //입력 컨트롤
  155. var ctr_sel_arr = new Array(); //선택 컨트롤
  156. var sel_flag = "";
  157. if(ipt_flag == "true"){
  158. sel_flag = "false";
  159. }else{
  160. sel_flag = "true";
  161. }
  162. ctr_ipt_arr[0] = document.controls("ipt_testcd"); //표시순서 입력박스
  163. ctr_ipt_arr[1] = document.controls("ipt_dispseqno"); //표시순서 입력박스
  164. ctr_ipt_arr[2] = document.controls("ipt_testengnm"); //검사명칭(영문) 입력박스
  165. ctr_ipt_arr[3] = document.controls("ipt_testengabbr"); //검사약칭(영문) 입력박스
  166. ctr_ipt_arr[4] = document.controls("ipt_testhngnm"); //검사명칭(한글) 입력박스
  167. ctr_ipt_arr[5] = document.controls("ipt_testhngabbr"); //검사약칭(한글) 입력박스
  168. ctr_ipt_arr[6] = document.controls("ipt_edicd"); //EDI코드 입력박스
  169. ctr_ipt_arr[7] = document.controls("ipt_cfnm"); //CF명
  170. ctr_ipt_arr[8] = document.controls("tar_refcnts"); //참고내용
  171. ctr_sel_arr[0] = document.controls("btn_detlpart"); //세부파트 조회버튼
  172. ctr_sel_arr[1] = document.controls("btn_basepart"); //기본파트 조회버튼
  173. ctr_sel_arr[2] = document.controls("rdo_delflagcd"); //사용여부 선택박스
  174. ctr_sel_arr[3] = document.controls("rdo_frznflagcd"); //동결절편여부 선택박스
  175. ctr_sel_arr[4] = document.controls("cmb_workflagcd"); //작업구분 선택박스
  176. ctr_sel_arr[5] = document.controls("cmb_spcflagcd"); //검체구분 선택박스
  177. ctr_sel_arr[6] = document.controls("rdo_grupflagcd"); //그룹구분 선택박스
  178. ctr_sel_arr[7] = document.controls("chx_trusttestflagcd"); //의탁검사구분 선택박스
  179. ctr_sel_arr[8] = document.controls("cmb_ordkindflagcd"); //처방형태상태 선택박스
  180. ctr_sel_arr[9] = document.controls("chx_statsflagcd"); //통계포함여부 선택박스
  181. ctr_sel_arr[10]= document.controls("cmb_reqfrmflagcd"); //의뢰지서식구분 선택박스
  182. ctr_sel_arr[11]= document.controls("cmb_prcpflagcd"); //처방구분 선택박스
  183. ctr_sel_arr[12]= document.controls("btn_ptno"); //병리코드 조회버튼
  184. ctr_sel_arr[13]= document.controls("btn_stdyptno"); //연구용병리코드 조회버튼
  185. ctr_sel_arr[14]= document.controls("btn_trustptno"); //수탁용병리코드 조회버튼
  186. ctr_sel_arr[15]= document.controls("cmb_hideflagcd"); //숨김구분 선택박스(Add 2007/08/14)
  187. ctr_sel_arr[16]= document.controls("cmb_popwndflagcd"); //팝업구분 선택박스(Add 2007/08/14)
  188. ctr_sel_arr[17]= document.controls("cmb_ptnonewflagcd"); // 병리번호 신규발생 구분코드
  189. ctr_sel_arr[18]= document.controls("cmb_statsworkflagcd"); // 통계작업구분코드
  190. for(var idx = 0; idx < ctr_ipt_arr.length; idx++){
  191. ctr_ipt_arr[idx].attribute("editable") = ipt_flag;
  192. }
  193. for(var idx = 0; idx < ctr_sel_arr.length; idx++){
  194. ctr_sel_arr[idx].disabled = sel_flag;
  195. }
  196. }
  197. /* @group : 검사항목등록 화면
  198. * @ver : 2007.01.08 (CMCDEV-0001)
  199. * @by : 황상미(ACK)
  200. * @----------------------------------드-
  201. * @type : functio
  202. * @access : public
  203. * @desc : 검사파트조회 함수
  204. */
  205. function fGetRefData(ref_work_flag){
  206. if(ref_work_flag == "testcdinfo" && grd_testitemlist.row < 1){
  207. return;
  208. }
  209. lpzfExeRemakeSendNode(4); //send data reset function
  210. if(model.getValue("/root/hidden/cdupdtflag") != "1"){
  211. if(lpzfExeBfChkMsg("R") == true){
  212. model.setValue("/root/hidden/cdupdtflag", "1");
  213. fExeControlChng("false");
  214. }else{
  215. return;
  216. }
  217. }
  218. model.resetInstanceNode("/root/main/testiteminfo");
  219. switch (ref_work_flag) {
  220. case "testcdlist":
  221. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); // 조회조건 사용여부구분
  222. model.makeValue("/root/send/refflag", model.getValue("/root/hidden/refflag")); // 조회조건 조회구분
  223. model.makeValue("/root/send/refval", model.getValue("/root/hidden/refval")); // 조회조건 조회값
  224. model.makeValue("/root/send/instcd", model.getValue("/root/hidden/userinfo/instcd")); // 기관코드
  225. submit("TRLPC10401");
  226. break;
  227. case "testcdinfo":
  228. var curRow = grd_testitemlist.row;
  229. model.makeValue("/root/send/data1", model.getValue("/root/hidden/delflagcd")); //검사코드 사용여부구분
  230. model.makeValue("/root/send/data2", model.getValue("/root/main/testitemcnts/testitemlist[" + curRow + "]/testcd")); //검사코드,코드
  231. model.makeValue("/root/send/data3", model.getValue("/root/hidden/userinfo/instcd"));
  232. submit("TRLPC10402");
  233. break;
  234. default:
  235. break;
  236. }
  237. model.refresh();
  238. }
  239. /* @group : 검사항목등록 화면
  240. * @ver : 2007.01.08 (CMCDEV-0001)
  241. * @by : 황상미(ACK)
  242. * @-----------------------------------
  243. * @type : function
  244. * @access : public
  245. * @desc : 조회, 수정, 신규 작업 구분 함수
  246. */
  247. function fExeCodeUpdtFlag(){
  248. var updt_flag = model.getValue("/root/hidden/cdupdtflag");
  249. //updtGbn - 1:조회, 2:수정, 3:신규
  250. if(updt_flag == "1"){
  251. fExeControlChng("false");
  252. }else if(updt_flag == "2"){
  253. if(grd_testitemlist.row < 1){
  254. messageBox("검사코드를", "C002");
  255. model.setValue("/root/hidden/cdupdtflag", "1");
  256. fExeControlChng("false");
  257. model.refresh();
  258. return;
  259. }
  260. fExeControlChng("true");
  261. document.controls("ipt_testcd").attribute("editable") = "false";
  262. model.setFocus("ipt_testengnm");
  263. }else{
  264. fExeControlChng("true");
  265. fExeInsWork();
  266. model.setFocus("ipt_testcd");
  267. }
  268. model.refresh();
  269. }
  270. /* @group : 검사항목등록 화면
  271. * @ver : 2007.02.01 (CMCDEV-0001)
  272. * @by : 황상미(ACK)
  273. * @-----------------------------------
  274. * @type : function
  275. * @access : public
  276. * @desc : 신규 작업 시 기본 Setting 함수
  277. */
  278. function fExeInsWork(){
  279. model.resetInstanceNode("/root/main/testiteminfo");
  280. model.setValue("/root/main/testiteminfo/delflagcd", "0");
  281. model.setValue("/root/main/testiteminfo/workflagcd", "0");
  282. model.setValue("/root/main/testiteminfo/spcflagcd", "0");
  283. model.setValue("/root/main/testiteminfo/ordkindflagcd", "-");
  284. model.setValue("/root/main/testiteminfo/reqfrmflagcd", "-");
  285. model.setValue("/root/main/testiteminfo/grupflagcd", "0");
  286. model.setValue("/root/main/testiteminfo/frznflagcd", "1");
  287. model.setValue("/root/main/testiteminfo/prcpflagcd", "0");
  288. model.setValue("/root/main/testiteminfo/hideflagcd", "0"); // 숨김구분(Add 2007/08/14)
  289. model.setValue("/root/main/testiteminfo/popwndflagcd", "0"); // 팝업구분(Add 2007/08/14)
  290. model.setValue("/root/main/testiteminfo/ptnonewflagcd", "Y"); // 병리번호 신규발생 구분코드
  291. model.setValue("/root/main/testiteminfo/workflagcd", "1001"); // 작업구분코드
  292. model.setValue("/root/main/testiteminfo/statsworkflagcd", "1010"); // 통계 작업구분코드
  293. document.controls("rdo_delflagcd").disabled = "true";
  294. model.refresh();
  295. }
  296. /* @group : 검사항목등록 화면
  297. * @ver : 2007.02.01 (CMCDEV-0001)
  298. * @by : 황상미(ACK)
  299. * @-----------------------------------
  300. * @type : function
  301. * @access : public
  302. * @desc : 검사항목코드정보 수정/신규 함수
  303. */
  304. function fSetUpdtData(){
  305. var updt_flag = model.getValue("/root/hidden/cdupdtflag");
  306. if(updt_flag == "1"){
  307. messageBox("조회작업 중", "E008");
  308. return;
  309. }
  310. //필수 입력항목 및 자리수 확인
  311. if(model.getValue("/root/main/testiteminfo/testcd") == ""){
  312. messageBox("검사코드를", "C001");
  313. model.setFocus("ipt_testcd");
  314. return;
  315. }else if(model.getValue("/root/main/testiteminfo/testengnm") == ""){
  316. messageBox("검사명칭(영문)을", "C001");
  317. model.setFocus("ipt_testengnm");
  318. return;
  319. }else if(model.getValue("/root/main/testiteminfo/testhngnm") == ""){
  320. messageBox("검사명칭(한글)을", "C001");
  321. model.setFocus("ipt_testhngnm");
  322. return;
  323. }else if(model.getValue("/root/main/testiteminfo/basepartcd") == ""){
  324. messageBox("기본파트를", "C002");
  325. return;
  326. }else if(model.getValue("/root/main/testiteminfo/detlpartcd") == ""){
  327. messageBox("세부파트를", "C002");
  328. return;
  329. }else if(model.getValue("/root/main/testiteminfo/ptnocd") == ""){
  330. messageBox("병리코드를", "C002");
  331. return;
  332. }else if(model.getValue("/root/main/testiteminfo/stdyptnocd") == ""){
  333. messageBox("연구용병리코드를", "C002");
  334. return;
  335. }else if(model.getValue("/root/main/testiteminfo/trustptnocd") == ""){
  336. messageBox("수탁용병리코드를", "C002");
  337. return;
  338. }else if(model.getValue("/root/main/testiteminfo/testcd").length > 10){
  339. messageBox("검사코드를 10자리 이하로 입력하세요", "C");
  340. return;
  341. }
  342. //저장여부 확인Message
  343. if(lpzfExeBfChkMsg("UI") == false){
  344. //6:예, 7:아니오, 2:취소
  345. return;
  346. }
  347. lpzfExeRemakeSendNode(3); //send node reset
  348. //통계포함여부 값 체크
  349. if(model.getValue("/root/main/testiteminfo/statsflagcd") == ""){
  350. model.setValue("/root/main/testiteminfo/statsflagcd", "1");
  351. }else if(model.getValue("/root/main/testiteminfo/statsflagcd") != "1"){
  352. model.setValue("/root/main/testiteminfo/statsflagcd", "0");
  353. }
  354. //위탁검사구분 값 체크
  355. if(model.getValue("/root/main/testiteminfo/trusttestflagcd") == ""){
  356. model.setValue("/root/main/testiteminfo/trusttestflagcd", "0");
  357. }else if(model.getValue("/root/main/testiteminfo/trusttestflagcd") != "0"){
  358. model.setValue("/root/main/testiteminfo/trusttestflagcd", "1");
  359. }
  360. if(model.getValue("/root/main/testiteminfo/dispseqno") == ""){
  361. model.setValue("/root/main/testiteminfo/dispseqno", "0");
  362. }
  363. var testcd = model.getValue("/root/main/testiteminfo/testcd");
  364. if(updt_flag == 2 && model.getValue("/root/main/testitemcnts/testitemlist[testcd = '" + testcd + "']/singletest_cnt") > 0){
  365. model.setValue("/root/send/data3", "wasGR");
  366. }else{
  367. model.setValue("/root/send/data3", "");
  368. }
  369. //model.setValue("/root/main/testiteminfo/instcd", model.getValue("/root/hidden/userinfo/instcd")); //test instcd
  370. model.setValue("/root/send/data1", updt_flag); //수정/신규구분
  371. model.copyNode("/root/send/data2", "/root/main/testiteminfo"); //검사코드정보
  372. if(submit("TXLPC10401") == true){
  373. messageBox("저장이", "I002");
  374. //화면초기화 및 저장된 항목 insert ********************
  375. var prest_row;
  376. if(updt_flag == "3"){
  377. grd_testitemlist.addItem();
  378. prest_row = grd_testitemlist.rows - 1;
  379. }else{
  380. if(model.getValue("/root/hidden/delflagcd") == model.getValue("/root/main/testiteminfo/delflagcd")){
  381. prest_row = grd_testitemlist.row;
  382. }else{
  383. prest_row == -1;
  384. }
  385. }
  386. if(prest_row > 0){
  387. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/instcd",
  388. model.getValue("/root/main/testiteminfo/instcd"));
  389. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/dispseqno",
  390. model.getValue("/root/main/testiteminfo/dispseqno"));
  391. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testcd",
  392. model.getValue("/root/main/testiteminfo/testcd"));
  393. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testengnm",
  394. model.getValue("/root/main/testiteminfo/testengnm"));
  395. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testengabbr",
  396. model.getValue("/root/main/testiteminfo/testengabbr"));
  397. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testhngnm",
  398. model.getValue("/root/main/testiteminfo/testhngnm"));
  399. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testhngabbr",
  400. model.getValue("/root/main/testiteminfo/testhngabbr"));
  401. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/basepartcd",
  402. model.getValue("/root/main/testiteminfo/basepartcd"));
  403. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/basepartnm",
  404. model.getValue("/root/main/testiteminfo/basepartnm"));
  405. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/detlpartcd",
  406. model.getValue("/root/main/testiteminfo/detlpartcd"));
  407. model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/detlpartnm",
  408. model.getValue("/root/main/testiteminfo/detlpartnm"));
  409. }else{
  410. for(var i = 1; i < grd_testitemlist.rows; i++){
  411. prest_row = grd_testitemlist.findRow(model.getValue("/root/main/testiteminfo/testcd"), i, 3, true, true);
  412. grd_testitemlist.deleteItem(prest_row);
  413. break;
  414. }
  415. }
  416. model.resetInstanceNode("/root/main/testiteminfo");
  417. model.setValue("/root/hidden/cdupdtflag", "1");
  418. fExeControlChng("false");
  419. //**************************************************
  420. }else{
  421. messageBox("저장이", "E009");
  422. }
  423. model.refresh();
  424. }
  425. /* @group : 병리번호코드등록관리 화면
  426. * @ver : 2007.01.04 (CMCDEV-0001)
  427. * @by : 황상미(ACK)
  428. * @-----------------------------------
  429. * @type : function
  430. * @access : public
  431. * @desc : 입력 및 체크항목 선택시 처리 함수
  432. * gbn : 선택된 처리값
  433. */
  434. function fExeCheckItem(flag){
  435. //수정 or 신규작업시에만 Check
  436. if(flag != "refval" && model.getValue("/root/hidden/cdupdtflag") == "1"){
  437. return;
  438. }else if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testiteminfo/testcd") == ""){
  439. return;
  440. }
  441. var arr_flag = flag.split("_");
  442. if(arr_flag.length > 1){
  443. flag = arr_flag[0];
  444. }
  445. switch(flag){
  446. case "basepart": //기본파트 선택 팝업호출
  447. lpzfExeComnOpenScrn("basepart", "/root/main/testiteminfo");
  448. model.resetInstanceNode("/root/main/testiteminfo/detlpartcd");
  449. model.resetInstanceNode("/root/main/testiteminfo/detlpartnm");
  450. break;
  451. case "detlpart": //세부파트 선택 팝업호출
  452. if(model.getValue("/root/main/testiteminfo/basepartcd") != ""){
  453. lpzfExeComnOpenScrn("detlpart", "/root/main/testiteminfo");
  454. }else{
  455. messageBox("기본파트를 먼저", "C002");
  456. return;
  457. }
  458. break;
  459. case "refval": //검사코드 조회값 대문자로 변환
  460. if(model.getValue("/root/hidden/refval") != ""){
  461. if(model.getValue("/root/hidden/refflag") == "1"){
  462. lpzfExeLrgChar("/root/hidden/refval");
  463. }
  464. }
  465. break;
  466. case "testcd": //검사코드 대문자로 변환
  467. if(model.getValue("/root/main/testiteminfo/testcd") != ""){
  468. lpzfExeLrgChar("/root/main/testiteminfo/testcd");
  469. }
  470. break;
  471. case "statsflag": //통계포함여부 값 설정
  472. if(model.getValue("/root/main/testiteminfo/statsflagcd") == "1" ||
  473. model.getValue("/root/main/testiteminfo/statsflagcd") == ""){
  474. model.setValue("/root/main/testiteminfo/statsflagcd", "");
  475. }
  476. break;
  477. case "trusttestflag": //위탁검사구분 값 설정
  478. if(model.getValue("/root/main/testiteminfo/trusttestflagcd") == "0" ||
  479. model.getValue("/root/main/testiteminfo/trusttestflagcd") == ""){
  480. model.setValue("/root/main/testiteminfo/trusttestflagcd", "");
  481. }
  482. break;
  483. case "grupflagcd":
  484. if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testiteminfo/grupflagcd") == "0"){
  485. var testcd = model.getValue("/root/main/testiteminfo/testcd");
  486. if(model.getValue("/root/main/testitemcnts/testitemlist[testcd = '" + testcd + "']/singletest_cnt") > 0){
  487. var msg = model.alert("싱글코드로 수정시 하위항목이 삭제됩니다. \n싱글로 변경하시겠습니까?", "경고", "36");
  488. if(msg == "7"){
  489. model.setValue("/root/main/testiteminfo/grupflagcd", "1");
  490. }
  491. }
  492. }
  493. break;
  494. case "ptnocode":
  495. model.setValue("/root/hidden/tempptnocd", "");
  496. model.makeNode("/root/hidden/tempptnocd/ptnocd");
  497. model.makeNode("/root/hidden/tempptnocd/ptnonm");
  498. lpzfExeComnOpenScrn("ptnocode", "/root/hidden/tempptnocd");
  499. if(arr_flag[1] == "1"){
  500. model.setValue("/root/main/testiteminfo/ptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
  501. model.setValue("/root/main/testiteminfo/ptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
  502. }else if(arr_flag[1] == "2"){
  503. model.setValue("/root/main/testiteminfo/stdyptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
  504. model.setValue("/root/main/testiteminfo/stdyptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
  505. }else if(arr_flag[1] == "3"){
  506. model.setValue("/root/main/testiteminfo/trustptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
  507. model.setValue("/root/main/testiteminfo/trustptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
  508. }
  509. model.removeNodeset("/root/hidden/tempptnocd/ptnocd");
  510. model.removeNodeset("/root/hidden/tempptnocd/ptnonm");
  511. break;
  512. default:
  513. break;
  514. }
  515. model.refresh();
  516. }
  517. /* @group : 검사항목등록
  518. * @ver : 2009.1.5 (CMCDEV-0001)
  519. * @by : 하만석(ACK)
  520. * @-----------------------------------
  521. * @type : function
  522. * @access : public
  523. * @desc : 위탁검사 목록 엑셀 저장 Function
  524. */
  525. function fExeSaveToExcel()
  526. {
  527. lpzfExeSaveToExcel(grd_testitemlist, "검사항목");
  528. }
  529. ]]>
  530. </script>
  531. <!-- public Script end -->
  532. </model>
  533. </xhtml:head>
  534. <xhtml:body guideline="1,1194;2,784;1,1194;2,534;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  535. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  536. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">통합검사항목등록</caption>
  537. </group>
  538. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  539. <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; ">
  540. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  541. <button id="button3" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  542. <caption>조회</caption>
  543. <script ev:event="onclick" type="javascript">
  544. <![CDATA[
  545. fGetRefData("testcdlist");
  546. ]]>
  547. </script>
  548. </button>
  549. <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  550. <caption id="caption2" class="search_name" style="left:773px; top:9px; width:75px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회값 :</caption>
  551. <input id="ipt_refval" ref="/root/hidden/refval" class="input_search" navindex="3" style="left:974px; top:8px; width:120px; height:19px; ">
  552. <script ev:event="DOMFocusOut" type="javascript">
  553. <![CDATA[
  554. fExeCheckItem("refval");
  555. ]]>
  556. </script>
  557. </input>
  558. <select1 id="cmb_refflag" ref="/root/hidden/refflag" class="combo_search" navindex="2" appearance="minimal" style="left:851px; top:8px; width:120px; height:19px; ">
  559. <choices>
  560. <item>
  561. <label>검사코드</label>
  562. <value>1</value>
  563. </item>
  564. <item>
  565. <label>검사명(영문)</label>
  566. <value>2</value>
  567. </item>
  568. </choices>
  569. </select1>
  570. <caption id="caption23" class="search_name" style="left:15px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사용여부 :</caption>
  571. <select1 id="rdo_s_delflagcd" ref="/root/hidden/delflagcd" class="radio_search" navindex="1" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:108px; top:8px; width:122px; height:20px; border-style:none; ">
  572. <choices>
  573. <item>
  574. <label>사용</label>
  575. <value>0</value>
  576. </item>
  577. <item>
  578. <label>미사용</label>
  579. <value>1</value>
  580. </item>
  581. </choices>
  582. </select1>
  583. </group>
  584. <group id="grp_testitem" style="left:0px; top:55px; width:1194px; height:439px; ">
  585. <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:75px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사항목</caption>
  586. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:1194px; y2:15px; "/>
  587. <datagrid id="grd_testitemlist" nodeset="/root/main/testitemcnts/testitemlist" class="datagrid2" caption="병원코드^표시순서^검사코드^검사명칭(영문)^검사약칭(영문)^검사명칭(한글)^검사약칭(한글)^기본파트코드^기본파트^세부파트코드^세부파트^하위검사항목개수" colsep="^" colwidth="0, 30, 90, 240, 180, 240, 180, 0, 90, 0, 120,0" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:1194px; height:415px; border-color:#c0c0c0; ">
  588. <col ref="instcd" type="output"/>
  589. <col ref="dispseqno" type="output"/>
  590. <col ref="testcd" type="output"/>
  591. <col ref="testengnm" type="output"/>
  592. <col ref="testengabbr" type="output"/>
  593. <col ref="testhngnm" type="output"/>
  594. <col ref="testhngabbr" type="output"/>
  595. <col ref="basepartcd" type="output"/>
  596. <col ref="basepartnm" type="output"/>
  597. <col ref="detlpartcd" type="output"/>
  598. <col ref="detlpartnm" type="output"/>
  599. <col ref="singletest_cnt" type="output"/>
  600. <script ev:event="onclick" type="javascript">
  601. <![CDATA[
  602. fGetRefData("testcdinfo");
  603. ]]>
  604. </script>
  605. <script ev:event="onaftersort" type="javascript">
  606. <![CDATA[
  607. grd_testitemlist.gridToInstance();
  608. ]]>
  609. </script>
  610. </datagrid>
  611. </group>
  612. <group id="grp_exec" style="left:0px; top:499px; width:1194px; height:245px; ">
  613. <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:100px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사항목정보</caption>
  614. <line id="line3" class="line_1" style="x1:0px; y1:20px; x2:1194px; y2:20px; "/>
  615. <line id="line20" class="line_2" style="x1:0px; y1:123px; x2:1194px; y2:123px; "/>
  616. <caption id="caption21" class="cell_1" style="left:0px; top:99px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트</caption>
  617. <line id="line16" class="line_2" style="x1:0px; y1:171px; x2:1194px; y2:171px; "/>
  618. <caption id="caption15" class="cell_1" style="left:898px; top:171px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">처방형태상태</caption>
  619. <caption id="caption18" class="cell_1" style="left:599px; top:171px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹구분</caption>
  620. <line id="line6" class="line_2" style="x1:0px; y1:99px; x2:1194px; y2:99px; "/>
  621. <caption id="caption7" class="cell_1" style="left:0px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명칭(한글)</caption>
  622. <caption id="caption8" class="cell_1" style="left:0px; top:50px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명칭(영문)</caption>
  623. <line id="line7" class="line_2" style="x1:0px; y1:74px; x2:1194px; y2:74px; "/>
  624. <caption id="caption9" class="cell_1" style="left:0px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사코드</caption>
  625. <line id="line8" class="line_2" style="x1:0px; y1:49px; x2:1194px; y2:49px; "/>
  626. <select1 id="rdo_baseupdtflag" ref="/root/hidden/cdupdtflag" navindex="5" overflow="visible" appearance="full" cellspacing="10" cols="3" style="left:108px; top:4px; width:155px; height:13px; border-style:none; ">
  627. <choices>
  628. <item>
  629. <label>조회</label>
  630. <value>1</value>
  631. </item>
  632. <item>
  633. <label>수정</label>
  634. <value>2</value>
  635. </item>
  636. <item>
  637. <label>신규</label>
  638. <value>3</value>
  639. </item>
  640. </choices>
  641. <script ev:event="xforms-value-changed" type="javascript">
  642. <![CDATA[
  643. fExeCodeUpdtFlag();
  644. ]]>
  645. </script>
  646. </select1>
  647. <caption id="caption3" class="cell_1" style="left:299px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
  648. <select1 id="rdo_delflagcd" ref="/root/main/testiteminfo/delflagcd" navindex="7" overflow="visible" appearance="full" cellspacing="30" cols="2" style="left:412px; top:30px; width:150px; height:13px; border-style:none; ">
  649. <choices>
  650. <item>
  651. <label>사용</label>
  652. <value>0</value>
  653. </item>
  654. <item>
  655. <label>미사용</label>
  656. <value>1</value>
  657. </item>
  658. </choices>
  659. </select1>
  660. <caption id="caption5" class="cell_1" style="left:599px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">표시일련번호</caption>
  661. <caption id="caption24" class="cell_1" style="left:299px; top:171px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">위탁검사구분</caption>
  662. <caption id="caption25" class="cell_1" style="left:599px; top:50px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사약칭(영문)</caption>
  663. <caption id="caption26" class="cell_1" style="left:599px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사약칭(한글)</caption>
  664. <caption id="caption27" class="cell_1" style="left:299px; top:99px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트</caption>
  665. <caption id="caption28" class="cell_1" style="left:898px; top:25px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">동결절편</caption>
  666. <caption id="caption30" class="cell_1" style="left:898px; top:147px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검체구분</caption>
  667. <caption id="caption14" class="cell_1" style="left:0px; top:147px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">작업구분</caption>
  668. <caption id="caption16" class="cell_1" style="left:599px; top:147px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">의뢰지서식구분</caption>
  669. <caption id="caption17" class="cell_1" style="left:599px; top:99px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">EDI코드</caption>
  670. <line id="line4" class="line_2" style="x1:0px; y1:195px; x2:1194px; y2:195px; "/>
  671. <select1 id="cmb_spcflagcd" ref="/root/main/testiteminfo/spcflagcd" class="combo_default" navindex="24" appearance="minimal" style="left:966px; top:150px; width:83px; height:19px; ">
  672. <choices>
  673. <item>
  674. <label>DEFAULT</label>
  675. <value>0</value>
  676. </item>
  677. <item>
  678. <label>BIOPSY(작은조직)</label>
  679. <value>1</value>
  680. </item>
  681. <item>
  682. <label>BIOPSY(큰조직)</label>
  683. <value>2</value>
  684. </item>
  685. <item>
  686. <label>CELL BLOCK</label>
  687. <value>3</value>
  688. </item>
  689. </choices>
  690. </select1>
  691. <select id="chx_statsflagcd" ref="/root/main/testiteminfo/statsflagcd" navindex="27" overflow="visible" appearance="full" style="left:113px; top:174px; width:74px; height:20px; border-style:none; ">
  692. <choices>
  693. <item>
  694. <label>통계포함</label>
  695. <value>0</value>
  696. </item>
  697. </choices>
  698. <script ev:event="xforms-value-changed" type="javascript">
  699. <![CDATA[
  700. fExeCheckItem("statsflag");
  701. ]]>
  702. </script>
  703. </select>
  704. <input id="ipt_edicd" ref="/root/main/testiteminfo/edicd" class="input_default" navindex="16" maxlength="15" appearance="input" style="left:712px; top:102px; width:103px; height:19px; border-color:#c0c0c0; "/>
  705. <output id="opt_regdt" ref="/root/main/testiteminfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:412px; top:221px; width:184px; height:19px; border-color:#c0c0c0; "/>
  706. <output id="opt_lastupdtid" ref="/root/main/testiteminfo/lastupdtrid" class="output_fix" appearance="output" style="left:712px; top:221px; width:183px; height:19px; border-color:#c0c0c0; "/>
  707. <output id="opt_lastupdtdt" ref="/root/main/testiteminfo/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:1011px; top:221px; width:183px; height:19px; border-color:#c0c0c0; "/>
  708. <output id="opt_regid" ref="/root/main/testiteminfo/fstrgstrid" class="output_fix" appearance="output" style="left:113px; top:221px; width:183px; height:19px; border-color:#c0c0c0; "/>
  709. <output id="opt_basepartcd" ref="/root/main/testiteminfo/basepartcd" class="output_fix" appearance="output" style="left:113px; top:102px; width:70px; height:19px; border-color:#c0c0c0; "/>
  710. <button id="btn_basepart" class="icon_search" navindex="14" style="left:187px; top:103px; width:16px; height:16px; ">
  711. <caption/>
  712. <script ev:event="onclick" type="javascript">
  713. <![CDATA[
  714. fExeCheckItem("basepart");
  715. ]]>
  716. </script>
  717. </button>
  718. <input id="ipt_testcd" ref="/root/main/testiteminfo/testcd" class="input_essential" navindex="6" imemode="alpha" maxlength="10" appearance="input" style="left:113px; top:28px; width:183px; height:19px; border-color:#c0c0c0; ">
  719. <script ev:event="DOMFocusOut" type="javascript">
  720. <![CDATA[
  721. fExeCheckItem("testcd");
  722. ]]>
  723. </script>
  724. </input>
  725. <input id="ipt_dispseqno" ref="/root/main/testiteminfo/dispseqno" class="input_default" navindex="8" maxlength="4" format="9999" appearance="input" style="left:712px; top:28px; width:183px; height:19px; border-color:#c0c0c0; "/>
  726. <input id="ipt_testengnm" ref="/root/main/testiteminfo/testengnm" class="input_essential" navindex="10" maxlength="100" appearance="input" style="left:113px; top:53px; width:483px; height:19px; border-color:#c0c0c0; "/>
  727. <input id="ipt_testengabbr" ref="/root/main/testiteminfo/testengabbr" class="input_default" navindex="11" maxlength="20" appearance="input" style="left:712px; top:53px; width:482px; height:19px; border-color:#c0c0c0; "/>
  728. <input id="ipt_testhngnm" ref="/root/main/testiteminfo/testhngnm" class="input_essential" navindex="12" maxlength="100" appearance="input" style="left:113px; top:78px; width:483px; height:19px; border-color:#c0c0c0; "/>
  729. <input id="ipt_testhngabbr" ref="/root/main/testiteminfo/testhngabbr" class="input_default" navindex="13" maxlength="20" appearance="input" style="left:712px; top:78px; width:482px; height:19px; border-color:#c0c0c0; "/>
  730. <output id="opt_basepartnm" ref="/root/main/testiteminfo/basepartnm" class="output_fix" appearance="output" style="left:206px; top:102px; width:90px; height:19px; border-color:#c0c0c0; "/>
  731. <output id="opt_detlpartcd" ref="/root/main/testiteminfo/detlpartcd" class="output_fix" appearance="output" style="left:412px; top:102px; width:70px; height:19px; border-color:#c0c0c0; "/>
  732. <output id="opt_detlpartnm" ref="/root/main/testiteminfo/detlpartnm" class="output_fix" appearance="output" style="left:505px; top:102px; width:90px; height:19px; border-color:#c0c0c0; "/>
  733. <button id="btn_detlpart" class="icon_search" navindex="15" style="left:486px; top:103px; width:16px; height:16px; ">
  734. <caption/>
  735. <script ev:event="onclick" type="javascript">
  736. <![CDATA[
  737. fExeCheckItem("detlpart");
  738. ]]>
  739. </script>
  740. </button>
  741. <select1 id="rdo_frznflagcd" ref="/root/main/testiteminfo/frznflagcd" navindex="9" overflow="visible" appearance="full" cellspacing="10" cols="2" style="left:1011px; top:30px; width:169px; height:13px; border-style:none; ">
  742. <choices>
  743. <item>
  744. <label>동결절편검사</label>
  745. <value>0</value>
  746. </item>
  747. <item>
  748. <label>일반검사</label>
  749. <value>1</value>
  750. </item>
  751. </choices>
  752. </select1>
  753. <select1 id="cmb_workflagcd" ref="/root/main/testiteminfo/workflagcd" class="combo_default" disabled="true" navindex="23" appearance="minimal" style="left:113px; top:150px; width:183px; height:19px; ">
  754. <choices>
  755. <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='83']">
  756. <label ref="resncnts"/>
  757. <value ref="resncd"/>
  758. </itemset>
  759. </choices>
  760. </select1>
  761. <select1 id="cmb_ordkindflagcd" ref="/root/main/testiteminfo/ordkindflagcd" class="combo_default" navindex="30" appearance="minimal" style="left:1011px; top:174px; width:183px; height:19px; ">
  762. <choices>
  763. <item>
  764. <label>-</label>
  765. <value>-</value>
  766. </item>
  767. <item>
  768. <label>조직</label>
  769. <value>1</value>
  770. </item>
  771. <item>
  772. <label>세포</label>
  773. <value>2</value>
  774. </item>
  775. <item>
  776. <label>분자</label>
  777. <value>3</value>
  778. </item>
  779. </choices>
  780. </select1>
  781. <select1 id="cmb_reqfrmflagcd" ref="/root/main/testiteminfo/reqfrmflagcd" class="combo_default" navindex="25" appearance="minimal" style="left:712px; top:150px; width:183px; height:19px; ">
  782. <choices>
  783. <item>
  784. <label>-</label>
  785. <value>-</value>
  786. </item>
  787. <item>
  788. <label>조직</label>
  789. <value>01</value>
  790. </item>
  791. <item>
  792. <label>부인과(세포)</label>
  793. <value>02</value>
  794. </item>
  795. <item>
  796. <label>비부인과(세포)</label>
  797. <value>03</value>
  798. </item>
  799. <item>
  800. <label>세침흡인(세포)</label>
  801. <value>03</value>
  802. </item>
  803. <item>
  804. <label>분자</label>
  805. <value>05</value>
  806. </item>
  807. <item>
  808. <label>세포유전</label>
  809. <value>05</value>
  810. </item>
  811. <item>
  812. <label>원본대출</label>
  813. <value>08</value>
  814. </item>
  815. </choices>
  816. </select1>
  817. <select id="chx_trusttestflagcd" ref="/root/main/testiteminfo/trusttestflagcd" navindex="28" overflow="visible" appearance="full" style="left:412px; top:174px; width:74px; height:20px; border-style:none; ">
  818. <choices>
  819. <item>
  820. <label>위탁검사</label>
  821. <value>1</value>
  822. </item>
  823. </choices>
  824. <script ev:event="xforms-value-changed" type="javascript">
  825. <![CDATA[
  826. fExeCheckItem("trusttestflag");
  827. ]]>
  828. </script>
  829. </select>
  830. <select1 id="rdo_grupflagcd" ref="/root/main/testiteminfo/grupflagcd" navindex="29" overflow="visible" appearance="full" cellspacing="30" cols="2" style="left:712px; top:176px; width:150px; height:13px; border-style:none; ">
  831. <choices>
  832. <item>
  833. <label>S</label>
  834. <value>0</value>
  835. </item>
  836. <item>
  837. <label>G</label>
  838. <value>1</value>
  839. </item>
  840. </choices>
  841. <script ev:event="xforms-value-changed" type="javascript">
  842. <![CDATA[
  843. fExeCheckItem("grupflagcd");
  844. ]]>
  845. </script>
  846. </select1>
  847. <caption id="caption12" class="cell_1" style="left:1052px; top:147px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">CF명</caption>
  848. <input id="ipt_cfnm" ref="/root/main/testiteminfo/cfnm" class="input_default" navindex="26" maxlength="6" appearance="input" style="left:1120px; top:150px; width:74px; height:19px; border-color:#c0c0c0; "/>
  849. <line id="line5" class="line_2" style="x1:0px; y1:147px; x2:1194px; y2:147px; "/>
  850. <caption id="caption20" class="cell_1" style="left:0px; top:123px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">병리코드</caption>
  851. <caption id="caption22" class="cell_1" style="left:299px; top:123px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">연구용병리코드</caption>
  852. <caption id="caption31" class="cell_1" style="left:599px; top:123px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">수탁용병리코드</caption>
  853. <caption id="caption32" class="cell_1" style="left:898px; top:123px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">처방구분</caption>
  854. <output id="opt_ptnocd" ref="/root/main/testiteminfo/ptnocd" class="output_fix" appearance="output" style="left:113px; top:126px; width:70px; height:19px; border-color:#c0c0c0; "/>
  855. <output id="opt_ptnonm" ref="/root/main/testiteminfo/ptnonm" class="output_fix" appearance="output" style="left:206px; top:126px; width:90px; height:19px; border-color:#c0c0c0; "/>
  856. <output id="opt_stdyptnocd" ref="/root/main/testiteminfo/stdyptnocd" class="output_fix" appearance="output" style="left:412px; top:126px; width:70px; height:19px; border-color:#c0c0c0; "/>
  857. <output id="opt_stdyptnonm" ref="/root/main/testiteminfo/stdyptnonm" class="output_fix" appearance="output" style="left:505px; top:126px; width:90px; height:19px; border-color:#c0c0c0; "/>
  858. <output id="opt_trustptnocd" ref="/root/main/testiteminfo/trustptnocd" class="output_fix" appearance="output" style="left:712px; top:126px; width:70px; height:19px; border-color:#c0c0c0; "/>
  859. <output id="opt_trustptnonm" ref="/root/main/testiteminfo/trustptnonm" class="output_fix" appearance="output" style="left:805px; top:126px; width:90px; height:19px; border-color:#c0c0c0; "/>
  860. <select1 id="cmb_prcpflagcd" ref="/root/main/testiteminfo/prcpflagcd" class="combo_default" navindex="22" appearance="minimal" style="left:966px; top:126px; width:83px; height:19px; ">
  861. <choices>
  862. <item>
  863. <label>원처방</label>
  864. <value>0</value>
  865. </item>
  866. <item>
  867. <label>추가처방</label>
  868. <value>1</value>
  869. </item>
  870. </choices>
  871. </select1>
  872. <button id="btn_ptno" class="icon_search" navindex="19" style="left:187px; top:127px; width:16px; height:16px; ">
  873. <caption/>
  874. <script ev:event="onclick" type="javascript">
  875. <![CDATA[
  876. fExeCheckItem("ptnocode_1");
  877. ]]>
  878. </script>
  879. </button>
  880. <button id="btn_stdyptno" class="icon_search" navindex="20" style="left:486px; top:127px; width:16px; height:16px; ">
  881. <caption/>
  882. <script ev:event="onclick" type="javascript">
  883. <![CDATA[
  884. fExeCheckItem("ptnocode_2");
  885. ]]>
  886. </script>
  887. </button>
  888. <button id="btn_trustptno" class="icon_search" navindex="21" style="left:786px; top:127px; width:16px; height:16px; ">
  889. <caption/>
  890. <script ev:event="onclick" type="javascript">
  891. <![CDATA[
  892. fExeCheckItem("ptnocode_3");
  893. ]]>
  894. </script>
  895. </button>
  896. <line id="line9" class="line_3" style="x1:0px; y1:242px; x2:1194px; y2:242px; "/>
  897. <line id="line2" class="line_2" style="x1:0px; y1:217px; x2:1194px; y2:217px; "/>
  898. <caption id="caption10" class="cell_1" style="left:0px; top:219px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
  899. <caption id="caption29" class="cell_1" style="left:0px; top:171px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">통계포함여부</caption>
  900. <caption id="caption11" class="cell_1" style="left:599px; top:219px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
  901. <caption id="caption13" class="cell_1" style="left:898px; top:219px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
  902. <caption id="caption19" class="cell_1" style="left:299px; top:219px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
  903. <caption id="caption33" class="cell_1" style="left:0px; top:195px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">참고내용</caption>
  904. <input id="tar_refcnts" ref="/root/main/testiteminfo/refcnts" maxlength="300" appearance="input" style="left:113px; top:197px; width:1081px; height:19px; "/>
  905. <caption id="caption34" class="cell_1" style="left:898px; top:99px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">숨김구분</caption>
  906. <select1 id="cmb_hideflagcd" ref="/root/main/testiteminfo/hideflagcd" class="combo_default" navindex="17" appearance="minimal" style="left:966px; top:102px; width:83px; height:19px; ">
  907. <choices>
  908. <item>
  909. <label>표시</label>
  910. <value>0</value>
  911. </item>
  912. <item>
  913. <label>숨김</label>
  914. <value>1</value>
  915. </item>
  916. </choices>
  917. </select1>
  918. <caption id="caption35" class="cell_1" style="left:1052px; top:99px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">팝업구분</caption>
  919. <select1 id="cmb_popwndflagcd" ref="/root/main/testiteminfo/popwndflagcd" class="combo_default" navindex="18" appearance="minimal" style="left:1120px; top:102px; width:74px; height:19px; ">
  920. <choices>
  921. <item>
  922. <label>일반</label>
  923. <value>0</value>
  924. </item>
  925. <item>
  926. <label>팝업</label>
  927. <value>1</value>
  928. </item>
  929. </choices>
  930. </select1>
  931. <caption id="caption36" class="cell_1" style="left:299px; top:147px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">통계작업구분</caption>
  932. <select1 id="cmb_statsworkflagcd" ref="/root/main/testiteminfo/statsworkflagcd" class="combo_default" disabled="true" navindex="23" appearance="minimal" style="left:412px; top:150px; width:184px; height:19px; ">
  933. <choices>
  934. <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='84']">
  935. <label ref="resncnts"/>
  936. <value ref="resncd"/>
  937. </itemset>
  938. </choices>
  939. </select1>
  940. <caption id="caption37" class="cell_1" style="left:1052px; top:123px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">신규발생</caption>
  941. <select1 id="cmb_ptnonewflagcd" ref="/root/main/testiteminfo/ptnonewflagcd" class="combo_default" navindex="22" appearance="minimal" style="left:1120px; top:126px; width:74px; height:19px; ">
  942. <choices>
  943. <item>
  944. <label>신규</label>
  945. <value>Y</value>
  946. </item>
  947. <item>
  948. <label>포함</label>
  949. <value>N</value>
  950. </item>
  951. </choices>
  952. </select1>
  953. </group>
  954. </group>
  955. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  956. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  957. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  958. <caption>저장</caption>
  959. <script ev:event="onclick" type="javascript">
  960. <![CDATA[
  961. fSetUpdtData();
  962. ]]>
  963. </script>
  964. </button>
  965. <button id="button13" class="btn6_letter5" navindex="10" style="left:1px; top:3px; width:92px; height:22px; ">
  966. <caption>EXCEL저장</caption>
  967. <script ev:event="DOMActivate" type="javascript">
  968. <![CDATA[
  969. fExeSaveToExcel();
  970. ]]>
  971. </script>
  972. </button>
  973. </group>
  974. </xhtml:body>
  975. </xhtml:html>