SPLPC10400_통합검사항목등록.xrw 47 KB

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