SMLPC00400_검사항목등록.xrw 53 KB

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