12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPC10400.xrw
- * 설 명 : 통합병리검사항목등록
- * 설 계 자 : (주)에이씨케이 - 송요셉
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2009.09.18
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <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">
- <xhtml:head>
- <xhtml:title/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <testitemcnts>
- <testitemlist>
- <instcd/>
- <dispseqno/>
- <testcd/>
- <testengnm/>
- <testengabbr/>
- <testhngnm/>
- <testhngabbr/>
- <basepartcd/>
- <basepartnm/>
- <detlpartcd/>
- <detlpartnm/>
- <singletest_cnt/>
- </testitemlist>
- </testitemcnts>
- <testiteminfo>
- <instcd/>
- <testcd/>
- <testengnm/>
- <testengabbr/>
- <testhngnm/>
- <testhngabbr/>
- <testreqnm/>
- <testprntnm/>
- <testlblnm/>
- <prtnsildabbr/>
- <basepartcd/>
- <basepartnm/>
- <detlpartcd/>
- <detlpartnm/>
- <delflagcd/>
- <his011/>
- <his012/>
- <his013/>
- <his014/>
- <his015/>
- <his016/>
- <his017/>
- <his018/>
- <frznflagcd>1</frznflagcd>
- <workflagcd>0</workflagcd>
- <statsworkflagcd>0</statsworkflagcd>
- <statsflagcd/>
- <spcflagcd>0</spcflagcd>
- <prcpflagcd>0</prcpflagcd>
- <ptnonewflagcd>Y</ptnonewflagcd>
- <ordkindflagcd>-</ordkindflagcd>
- <reqfrmflagcd>-</reqfrmflagcd>
- <edicd>123456789012345</edicd>
- <grupflagcd>0</grupflagcd>
- <trusttestflagcd/>
- <dispseqno/>
- <cfnm/>
- <ptnocd/>
- <ptnonm/>
- <stdyptnocd/>
- <stdyptnonm/>
- <trustptnocd/>
- <trustptnonm/>
- <refcnts/>
- <fstrgstdt/>
- <fstrgstrid/>
- <lastupdtdt/>
- <lastupdtrid/>
- <hideflagcd/>
- <popwndflagcd/>
- </testiteminfo>
- </main>
- <send>
- </send>
- <init>
- <resncd>
- <resncdist>
- <instcd/>
- <baseflagcd/>
- <resncd/>
- <resncnts/>
- </resncdist>
- </resncd>
- </init>
- <hidden>
- <userinfo>
- <instcd/>
- </userinfo>
- <delflagcd>0</delflagcd>
- <refflag>1</refflag>
- <refval/>
- <cdupdtflag>1</cdupdtflag>
- <scrndata/>
- <tempptnocd/>
- <checktestcd/>
- </hidden>
- <temp>
- <testcdlist>
- <testcd/>
- </testcdlist>
- <popupmenu>
- <item>
- <name>선택</name>
- <func>fSelectList</func>
- </item>
- <item>
- <name>해제</name>
- <func>fDeSelectList</func>
- </item>
- </popupmenu>
- </temp>
- </root>
- </instance>
- <submission id="TRLPC10401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testitemcnts/testitemlist"/>
- <submission id="TRLPC10402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testiteminfo"/>
- <submission id="TXLPC10401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/msg"/>
- <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <submission id="TXLPC10402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/message"/>
- <submission id="TRLPC10403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/testcdlist"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.01.08 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
-
- model.makeValue("/root/send/codeflag", "0410|0411|0412|");
- submit("TRLZZ00101");
-
- model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/testitemcnts/testitemlist");
- model.resetInstanceNode("/root/main/testiteminfo");
-
- model.setValue("/root/hidden/delflagcd", "0"); // 조회부 사용여부
- model.setValue("/root/hidden/refflag", "1"); // 조회값 선택
- model.setValue("/root/hidden/refval", ""); // 조회값 입력
- model.setValue("/root/hidden/cdupdtflag", "1"); // 처리부 조회/수정/신규 구분
- model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
-
- fExeControlChng("false");
-
- //--------------------
- // 작업구분 목록 조회
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/baseflagcd", "'83', '84'");
- model.makenode("/root/init/resncd/resncdlist");
- submit("TRLPZ00103");
-
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='1000']");
- model.removeNodeset("/root/init/resncd/resncdlist[resncd='ZZZZ']");
-
- model.setFocus("rdo_s_delflagcd");
- model.refresh();
- }
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.01.08 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회/수정/신규 컨트롤 사용여부 변경 함수
- * iGbn : 입력구분 - true/false
- */
- function fExeControlChng(ipt_flag){
-
- var ctr_ipt_arr = new Array(); //입력 컨트롤
- var ctr_sel_arr = new Array(); //선택 컨트롤
- var sel_flag = "";
-
- if(ipt_flag == "true"){
- sel_flag = "false";
- }else{
- sel_flag = "true";
- }
-
- ctr_ipt_arr[0] = document.controls("ipt_testcd"); //표시순서 입력박스
- ctr_ipt_arr[1] = document.controls("ipt_dispseqno"); //표시순서 입력박스
- ctr_ipt_arr[2] = document.controls("ipt_testengnm"); //검사명칭(영문) 입력박스
- ctr_ipt_arr[3] = document.controls("ipt_testengabbr"); //검사약칭(영문) 입력박스
- ctr_ipt_arr[4] = document.controls("ipt_testhngnm"); //검사명칭(한글) 입력박스
- ctr_ipt_arr[5] = document.controls("ipt_testhngabbr"); //검사약칭(한글) 입력박스
- ctr_ipt_arr[6] = document.controls("ipt_edicd"); //EDI코드 입력박스
- ctr_ipt_arr[7] = document.controls("ipt_cfnm"); //CF명
- ctr_ipt_arr[8] = document.controls("tar_refcnts"); //참고내용
- ctr_sel_arr[0] = document.controls("btn_detlpart"); //세부파트 조회버튼
- ctr_sel_arr[1] = document.controls("btn_basepart"); //기본파트 조회버튼
- ctr_sel_arr[2] = document.controls("rdo_delflagcd"); //사용여부 선택박스
- ctr_sel_arr[3] = document.controls("rdo_frznflagcd"); //동결절편여부 선택박스
- ctr_sel_arr[4] = document.controls("cmb_workflagcd"); //작업구분 선택박스
- ctr_sel_arr[5] = document.controls("cmb_spcflagcd"); //검체구분 선택박스
- ctr_sel_arr[6] = document.controls("rdo_grupflagcd"); //그룹구분 선택박스
- ctr_sel_arr[7] = document.controls("chx_trusttestflagcd"); //의탁검사구분 선택박스
- ctr_sel_arr[8] = document.controls("cmb_ordkindflagcd"); //처방형태상태 선택박스
- ctr_sel_arr[9] = document.controls("chx_statsflagcd"); //통계포함여부 선택박스
- ctr_sel_arr[10]= document.controls("cmb_reqfrmflagcd"); //의뢰지서식구분 선택박스
- ctr_sel_arr[11]= document.controls("cmb_prcpflagcd"); //처방구분 선택박스
- ctr_sel_arr[12]= document.controls("btn_ptno"); //병리코드 조회버튼
- ctr_sel_arr[13]= document.controls("btn_stdyptno"); //연구용병리코드 조회버튼
- ctr_sel_arr[14]= document.controls("btn_trustptno"); //수탁용병리코드 조회버튼
- ctr_sel_arr[15]= document.controls("cmb_hideflagcd"); //숨김구분 선택박스(Add 2007/08/14)
- ctr_sel_arr[16]= document.controls("cmb_popwndflagcd"); //팝업구분 선택박스(Add 2007/08/14)
- ctr_sel_arr[17]= document.controls("cmb_ptnonewflagcd"); // 병리번호 신규발생 구분코드
- ctr_sel_arr[18]= document.controls("cmb_statsworkflagcd"); // 통계작업구분코드
- ctr_sel_arr[19]= document.controls("input_testreqnm"); // 통계작업구분코드
- ctr_sel_arr[20]= document.controls("input_testprntnm"); // 통계작업구분코드
- ctr_sel_arr[21]= document.controls("input_testlblnm"); // 통계작업구분코드
- ctr_sel_arr[22]= document.controls("input_prntsildabbr"); // 통계작업구분코드
- ctr_sel_arr[23]= document.controls("checkhis011"); // 통계작업구분코드
- ctr_sel_arr[24]= document.controls("checkhis012"); // 통계작업구분코드
- ctr_sel_arr[25]= document.controls("checkhis013"); // 통계작업구분코드
- ctr_sel_arr[26]= document.controls("checkhis014"); // 통계작업구분코드
- ctr_sel_arr[27]= document.controls("checkhis015"); // 통계작업구분코드
- ctr_sel_arr[28]= document.controls("checkhis016"); // 통계작업구분코드
- ctr_sel_arr[29]= document.controls("checkhis017"); // 통계작업구분코드
- ctr_sel_arr[30]= document.controls("checkhis018"); // 통계작업구분코드
-
-
- for(var idx = 0; idx < ctr_ipt_arr.length; idx++){
- ctr_ipt_arr[idx].attribute("editable") = ipt_flag;
- }
-
- for(var idx = 0; idx < ctr_sel_arr.length; idx++){
- ctr_sel_arr[idx].disabled = sel_flag;
- }
- }
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.01.08 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @----------------------------------드-
- * @type : functio
- * @access : public
- * @desc : 검사파트조회 함수
- */
- function fGetRefData(ref_work_flag){
-
- if(ref_work_flag == "testcdinfo" && grd_testitemlist.row < 1){
- return;
- }
-
- lpzfExeRemakeSendNode(4); //send data reset function
-
- if(model.getValue("/root/hidden/cdupdtflag") != "1"){
-
- if(lpzfExeBfChkMsg("R") == true){
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- }else{
- return;
- }
- }
-
- model.resetInstanceNode("/root/main/testiteminfo");
-
- switch (ref_work_flag) {
-
- case "testcdlist":
-
- model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); // 조회조건 사용여부구분
- model.makeValue("/root/send/refflag", model.getValue("/root/hidden/refflag")); // 조회조건 조회구분
- model.makeValue("/root/send/refval", model.getValue("/root/hidden/refval")); // 조회조건 조회값
- model.makeValue("/root/send/instcd", model.getValue("/root/hidden/userinfo/instcd")); // 기관코드
-
- submit("TRLPC10401");
-
- break;
-
- case "testcdinfo":
-
- var curRow = grd_testitemlist.row;
- model.makeValue("/root/send/data1", model.getValue("/root/hidden/delflagcd")); //검사코드 사용여부구분
- model.makeValue("/root/send/data2", model.getValue("/root/main/testitemcnts/testitemlist[" + curRow + "]/testcd")); //검사코드,코드
- model.makeValue("/root/send/data3", model.getValue("/root/hidden/userinfo/instcd"));
-
- submit("TRLPC10402");
-
- break;
-
- default:
- break;
- }
-
- model.refresh();
-
- }
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.01.08 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회, 수정, 신규 작업 구분 함수
- */
- function fExeCodeUpdtFlag(){
-
- var updt_flag = model.getValue("/root/hidden/cdupdtflag");
-
- //updtGbn - 1:조회, 2:수정, 3:신규
- if(updt_flag == "1"){
- fExeControlChng("false");
- }else if(updt_flag == "2"){
-
- if(grd_testitemlist.row < 1){
- messageBox("검사코드를", "C002");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- model.refresh();
- return;
- }
-
- fExeControlChng("true");
- document.controls("ipt_testcd").attribute("editable") = "false";
- model.setFocus("ipt_testengnm");
- }else{
- fExeControlChng("true");
- fExeInsWork();
- model.setFocus("ipt_testcd");
- }
-
- model.refresh();
- }
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.02.01 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 신규 작업 시 기본 Setting 함수
- */
- function fExeInsWork(){
-
- model.resetInstanceNode("/root/main/testiteminfo");
-
- model.setValue("/root/main/testiteminfo/delflagcd", "0");
- model.setValue("/root/main/testiteminfo/workflagcd", "0");
- model.setValue("/root/main/testiteminfo/spcflagcd", "0");
- model.setValue("/root/main/testiteminfo/ordkindflagcd", "-");
- model.setValue("/root/main/testiteminfo/reqfrmflagcd", "-");
- model.setValue("/root/main/testiteminfo/grupflagcd", "0");
- model.setValue("/root/main/testiteminfo/frznflagcd", "1");
- model.setValue("/root/main/testiteminfo/prcpflagcd", "0");
- model.setValue("/root/main/testiteminfo/hideflagcd", "0"); // 숨김구분(Add 2007/08/14)
- model.setValue("/root/main/testiteminfo/popwndflagcd", "0"); // 팝업구분(Add 2007/08/14)
- model.setValue("/root/main/testiteminfo/ptnonewflagcd", "Y"); // 병리번호 신규발생 구분코드
- model.setValue("/root/main/testiteminfo/workflagcd", "1001"); // 작업구분코드
- model.setValue("/root/main/testiteminfo/statsworkflagcd", "1010"); // 통계 작업구분코드
-
- document.controls("rdo_delflagcd").disabled = "true";
-
- model.refresh();
- }
-
- /* @group : 검사항목등록 화면
- * @ver : 2007.02.01 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사항목코드정보 수정/신규 함수
- */
- function fSetUpdtData(){
-
- var updt_flag = model.getValue("/root/hidden/cdupdtflag");
-
- if(updt_flag == "1"){
- messageBox("조회작업 중", "E008");
- return;
- }
-
- //필수 입력항목 및 자리수 확인
- if(model.getValue("/root/main/testiteminfo/testcd") == ""){
- messageBox("검사코드를", "C001");
- model.setFocus("ipt_testcd");
- return;
- }else if(model.getValue("/root/main/testiteminfo/testengnm") == ""){
- messageBox("검사명칭(영문)을", "C001");
- model.setFocus("ipt_testengnm");
- return;
- }else if(model.getValue("/root/main/testiteminfo/testhngnm") == ""){
- messageBox("검사명칭(한글)을", "C001");
- model.setFocus("ipt_testhngnm");
- return;
- }else if(model.getValue("/root/main/testiteminfo/basepartcd") == ""){
- messageBox("기본파트를", "C002");
- return;
- }else if(model.getValue("/root/main/testiteminfo/detlpartcd") == ""){
- messageBox("세부파트를", "C002");
- return;
- }else if(model.getValue("/root/main/testiteminfo/ptnocd") == ""){
- messageBox("병리코드를", "C002");
- return;
- }else if(model.getValue("/root/main/testiteminfo/stdyptnocd") == ""){
- messageBox("연구용병리코드를", "C002");
- return;
- }else if(model.getValue("/root/main/testiteminfo/trustptnocd") == ""){
- messageBox("수탁용병리코드를", "C002");
- return;
- }else if(model.getValue("/root/main/testiteminfo/testcd").length > 10){
- messageBox("검사코드를 10자리 이하로 입력하세요", "C");
- return;
- }
-
- //저장여부 확인Message
- if(lpzfExeBfChkMsg("UI") == false){
- //6:예, 7:아니오, 2:취소
- return;
- }
-
- lpzfExeRemakeSendNode(3); //send node reset
-
- //통계포함여부 값 체크
- if(model.getValue("/root/main/testiteminfo/statsflagcd") == ""){
- model.setValue("/root/main/testiteminfo/statsflagcd", "1");
- }else if(model.getValue("/root/main/testiteminfo/statsflagcd") != "1"){
- model.setValue("/root/main/testiteminfo/statsflagcd", "0");
- }
-
- //위탁검사구분 값 체크
- if(model.getValue("/root/main/testiteminfo/trusttestflagcd") == ""){
- model.setValue("/root/main/testiteminfo/trusttestflagcd", "0");
- }else if(model.getValue("/root/main/testiteminfo/trusttestflagcd") != "0"){
- model.setValue("/root/main/testiteminfo/trusttestflagcd", "1");
- }
-
- if(model.getValue("/root/main/testiteminfo/dispseqno") == ""){
- model.setValue("/root/main/testiteminfo/dispseqno", "0");
- }
-
- var testcd = model.getValue("/root/main/testiteminfo/testcd");
- if(updt_flag == 2 && model.getValue("/root/main/testitemcnts/testitemlist[testcd = '" + testcd + "']/singletest_cnt") > 0){
- model.setValue("/root/send/data3", "wasGR");
- }else{
- model.setValue("/root/send/data3", "");
- }
-
- //model.setValue("/root/main/testiteminfo/instcd", model.getValue("/root/hidden/userinfo/instcd")); //test instcd
- model.setValue("/root/send/data1", updt_flag); //수정/신규구분
- model.copyNode("/root/send/data2", "/root/main/testiteminfo"); //검사코드정보
-
- if(submit("TXLPC10401") == true){
-
- messageBox("저장이", "I002");
-
- //화면초기화 및 저장된 항목 insert ********************
- var prest_row;
- if(updt_flag == "3"){
- grd_testitemlist.addItem();
- prest_row = grd_testitemlist.rows - 1;
- }else{
- if(model.getValue("/root/hidden/delflagcd") == model.getValue("/root/main/testiteminfo/delflagcd")){
- prest_row = grd_testitemlist.row;
- }else{
- prest_row == -1;
- }
- }
-
- if(prest_row > 0){
- model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testcd",
- model.getValue("/root/main/testiteminfo/testcd"));
- model.setValue("/root/main/testitemcnts/testitemlist[" + prest_row + "]/testengnm",
- model.getValue("/root/main/testiteminfo/testengnm"));
- }else{
- for(var i = 1; i < grd_testitemlist.rows; i++){
- prest_row = grd_testitemlist.findRow(model.getValue("/root/main/testiteminfo/testcd"), i, 3, true, true);
- grd_testitemlist.deleteItem(prest_row);
- break;
- }
- }
- model.resetInstanceNode("/root/main/testiteminfo");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- //**************************************************
-
- }else{
- messageBox("저장이", "E009");
- }
- model.refresh();
- }
-
- /* @group : 병리번호코드등록관리 화면
- * @ver : 2007.01.04 (CMCDEV-0001)
- * @by : 황상미(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 입력 및 체크항목 선택시 처리 함수
- * gbn : 선택된 처리값
- */
- function fExeCheckItem(flag){
-
- //수정 or 신규작업시에만 Check
- if(flag != "refval" && model.getValue("/root/hidden/cdupdtflag") == "1"){
- return;
- }else if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testiteminfo/testcd") == ""){
- return;
- }
-
- var arr_flag = flag.split("_");
-
- if(arr_flag.length > 1){
- flag = arr_flag[0];
- }
-
- switch(flag){
-
- case "basepart": //기본파트 선택 팝업호출
-
- lpzfExeComnOpenScrn("basepart", "/root/main/testiteminfo");
-
- model.resetInstanceNode("/root/main/testiteminfo/detlpartcd");
- model.resetInstanceNode("/root/main/testiteminfo/detlpartnm");
-
- break;
-
- case "detlpart": //세부파트 선택 팝업호출
-
- if(model.getValue("/root/main/testiteminfo/basepartcd") != ""){
- lpzfExeComnOpenScrn("detlpart", "/root/main/testiteminfo");
- }else{
- messageBox("기본파트를 먼저", "C002");
- return;
- }
-
- break;
-
- case "refval": //검사코드 조회값 대문자로 변환
-
- if(model.getValue("/root/hidden/refval") != ""){
- if(model.getValue("/root/hidden/refflag") == "1"){
- lpzfExeLrgChar("/root/hidden/refval");
- }
- }
-
- break;
-
- case "testcd": //검사코드 대문자로 변환
-
- if(model.getValue("/root/main/testiteminfo/testcd") != ""){
- lpzfExeLrgChar("/root/main/testiteminfo/testcd");
- }
-
- break;
-
- case "statsflag": //통계포함여부 값 설정
-
- if(model.getValue("/root/main/testiteminfo/statsflagcd") == "1" ||
- model.getValue("/root/main/testiteminfo/statsflagcd") == ""){
- model.setValue("/root/main/testiteminfo/statsflagcd", "");
- }
- break;
-
-
- case "trusttestflag": //위탁검사구분 값 설정
-
- if(model.getValue("/root/main/testiteminfo/trusttestflagcd") == "0" ||
- model.getValue("/root/main/testiteminfo/trusttestflagcd") == ""){
- model.setValue("/root/main/testiteminfo/trusttestflagcd", "");
- }
- break;
-
- case "grupflagcd":
-
- if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testiteminfo/grupflagcd") == "0"){
- var testcd = model.getValue("/root/main/testiteminfo/testcd");
- if(model.getValue("/root/main/testitemcnts/testitemlist[testcd = '" + testcd + "']/singletest_cnt") > 0){
- var msg = model.alert("싱글코드로 수정시 하위항목이 삭제됩니다. \n싱글로 변경하시겠습니까?", "경고", "36");
-
- if(msg == "7"){
- model.setValue("/root/main/testiteminfo/grupflagcd", "1");
- }
- }
- }
- break;
-
- case "ptnocode":
-
- model.setValue("/root/hidden/tempptnocd", "");
- model.makeNode("/root/hidden/tempptnocd/ptnocd");
- model.makeNode("/root/hidden/tempptnocd/ptnonm");
-
- lpzfExeComnOpenScrn("ptnocode", "/root/hidden/tempptnocd");
-
- if(arr_flag[1] == "1"){
- model.setValue("/root/main/testiteminfo/ptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
- model.setValue("/root/main/testiteminfo/ptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
- }else if(arr_flag[1] == "2"){
- model.setValue("/root/main/testiteminfo/stdyptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
- model.setValue("/root/main/testiteminfo/stdyptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
- }else if(arr_flag[1] == "3"){
- model.setValue("/root/main/testiteminfo/trustptnocd", model.getValue("/root/hidden/tempptnocd/ptnocd"));
- model.setValue("/root/main/testiteminfo/trustptnonm", model.getValue("/root/hidden/tempptnocd/ptnonm"));
- }
- model.removeNodeset("/root/hidden/tempptnocd/ptnocd");
- model.removeNodeset("/root/hidden/tempptnocd/ptnonm");
- break;
-
- default:
- break;
- }
-
- model.refresh();
- }
-
- /* @group : 검사항목등록
- * @ver : 2009.1.5 (CMCDEV-0001)
- * @by : 하만석(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 위탁검사 목록 엑셀 저장 Function
- */
- function fExeSaveToExcel()
- {
- lpzfExeSaveToExcel(grd_testitemlist, "검사항목");
- }
-
- /* @group : 검사항목등록
- * @ver : 2009.10.26 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병원별 내려받기 Function
- */
- function fSetDownData()
- {
- //--------------------------------
- model.removeNodeset("/root/send");
-
- var strSrcNode = "/root/main/testitemcnts/testitemlist";
-
- var sSendMsg = "";
- var sChecktestcd = "";
- var sMcheck = "";
- sSendMsg = "m▦instcd▦delflagcd▦testcd▩";
-
- //------------------------------------------------------------------- 체크한 항목을 담음
- for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
-
- if (model.getValue(strSrcNode+"["+iRowNo+"]/choi") == "true") {
-
- sSendMsg += "i" + "▦"; //m
- sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
- sSendMsg += model.getValue( "/root/hidden/delflagcd") + "▦"; //delflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▩"; //testcd
-
- }
- }
- model.makeValue("/root/send/hosplist", sSendMsg);
-
- model.resetInstanceNode("/root/temp/testcdlist");
- submit("TRLPC10403"); // 체크한 항목중 이미 내려 받은 것을 조회
-
-
- var nodelist = instance1.selectNodes("/root/temp/testcdlist");
-
-
- for( var i = 1; i <= nodelist.length ; i++){
- sChecktestcd += model.getValue("/root/temp/testcdlist[" + i + "]/testcd") + " ,";
- }
-
- if(nodelist.length > 0){
- // 이미 내려받은 코드에 대해 확인 여부
- if ( messageBox(sChecktestcd + "코드는 이미 존재합니다. 바꾸는 것을 ", "Q004") != 6 ) {
- return;
- }else{
-
- //-------------------------------- 이미 내려 받은 것은 "u" 로 하기위해 다시 셋팅함.
- model.removeNodeset("/root/send");
- sSendMsg = "";
- sSendMsg = "m▦instcd▦delflagcd▦testcd▩";
-
- //-------------------------------------------------------------------
- for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
-
- if (model.getValue(strSrcNode+"["+iRowNo+"]/choi") == "true") {
- sMcheck = "i";
- for(var j = 1; j <=nodelist.length ; j++){
- if(model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") == model.getValue("/root/temp/testcdlist[" + j + "]/testcd")){
-
- sMcheck = "u";
- }
- }
- sSendMsg += sMcheck + "▦"; //m
- sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
- sSendMsg += model.getValue( "/root/hidden/delflagcd") + "▦"; //delflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▩"; //testcd
- }
- }
- model.makeValue("/root/send/hosplist", sSendMsg);
-
- }
-
- }
-
- //------------------- 내려 받음.
- if(submit("TXLPC10402") == true){
- messageBox("저장이", "I002");
- }else{
- messageBox("저장이", "E009");
- }
-
- }
-
- /* @group : 슬라이드 일괄발행
- * @ver : 2009.09.29 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 다중 선택 함수
- */
- function fSelectList() {
- var iFirstRow = grd_testitemlist.selectedRow(0);
- var iLasrRow = grd_testitemlist.selectedRow(grd_testitemlist.selectedRows-1);
-
- for(var iNo = iLasrRow ; iNo >= iFirstRow ; iNo--) {
- model.setValue("/root/main/testitemcnts/testitemlist["+ iNo +"]/choi", "true");
- }
- grd_testitemlist.refresh();
- }
-
- /* @group : 슬라이드 일괄발행
- * @ver : 2009.09.29 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 다중 선택 함수
- */
- function fDeSelectList() {
-
- var iFirstRow = grd_testitemlist.selectedRow(0);
- var iLasrRow = grd_testitemlist.selectedRow(grd_testitemlist.selectedRows-1);
-
- for(var iRowNo = iLasrRow ; iRowNo >= iFirstRow ; iRowNo--) {
-
- model.setValue("/root/main/testitemcnts/testitemlist["+ iRowNo +"]/choi", "false");
-
- }
- grd_testitemlist.refresh();
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:455px; y2:70px; "/>
- <line id="line11" style="x1:1108px; y1:17px; x2:1108px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:147px; height:14px; ">검사항목코드목록</caption>
- <datagrid id="grd_testitemlist" nodeset="/root/main/testitemcnts/testitemlist" caption="선택^검사코드^검사명^표시일련번호" colwidth="40, 100, 245, 80" dataheight="23" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:455px; height:669px; ">
- <col ref="choi" type="checkbox"/>
- <col ref="testcd"/>
- <col ref="testengnm"/>
- <col ref="dispseqno"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetRefData("testcdinfo");
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if ( (grd_testitemlist.mouseRow >= grd_testitemlist.fixedRows) && (grd_testitemlist.isCell(event.target))) {
- setPopupMenu("grd_testitemlist", false, "/root/temp/popupmenu/item", "name", "func");
- }
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
- <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <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; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <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; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetRefData("testcdlist");
- ]]>
- </script>
- </button>
- <input id="ipt_refval" ref="/root/hidden/refval" class="input_search" navindex="3" style="left:974px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fExeCheckItem("refval");
- ]]>
- </script>
- </input>
- <select1 id="cmb_refflag" ref="/root/hidden/refflag" class="combo_search" navindex="2" appearance="minimal" style="left:851px; top:8px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>검사코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검사명(영문)</label>
- <value>2</value>
- </item>
- <item>
- <label>검사명(한글)</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <line id="line28" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" class="search_name" style="left:773px; top:9px; width:75px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회값 :</caption>
- <caption id="caption45" class="search_name" style="left:15px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사용여부 :</caption>
- </group>
- <select id="checkhis011" ref="/root/main/testiteminfo/his011" overflow="visible" appearance="full" style="left:580px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>본원</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis012" ref="/root/main/testiteminfo/his012" overflow="visible" appearance="full" style="left:655px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>칠곡</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis013" ref="/root/main/testiteminfo/his013" visibility="hidden" overflow="visible" appearance="full" style="left:730px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비1</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis014" ref="/root/main/testiteminfo/his014" visibility="hidden" overflow="visible" appearance="full" style="left:805px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비2</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis015" ref="/root/main/testiteminfo/his015" visibility="hidden" overflow="visible" appearance="full" style="left:880px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비3</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis016" ref="/root/main/testiteminfo/his016" visibility="hidden" overflow="visible" appearance="full" style="left:955px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비4</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis017" ref="/root/main/testiteminfo/his017" visibility="hidden" overflow="visible" appearance="full" style="left:1030px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비5</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkhis018" ref="/root/main/testiteminfo/his018" visibility="hidden" overflow="visible" appearance="full" style="left:1105px; top:330px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예비6</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption1" class="tit_2" style="left:470px; top:55px; width:95px; height:13px; ">검사상세목록</caption>
- <line id="line3" class="line_1" style="x1:465px; y1:70px; x2:1190px; y2:70px; "/>
- <input id="ipt_testcd" ref="/root/main/testiteminfo/testcd" class="input_essential" navindex="6" imemode="alpha" maxlength="10" appearance="input" style="left:578px; top:78px; width:183px; height:19px; border-color:#c0c0c0; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fExeCheckItem("testcd");
- ]]>
- </script>
- </input>
- <caption id="caption9" class="cell_1" style="left:465px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사코드</caption>
- <input id="ipt_testhngnm" ref="/root/main/testiteminfo/testhngnm" class="input_essential" navindex="12" maxbyte="200" appearance="input" style="left:578px; top:128px; width:483px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption7" class="cell_1" style="left:465px; top:125px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명칭(한글)</caption>
- <caption id="caption8" class="cell_1" style="left:465px; top:100px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명칭(영문)</caption>
- <input id="ipt_testengnm" ref="/root/main/testiteminfo/testengnm" class="input_essential" navindex="10" maxbyte="200" appearance="input" style="left:578px; top:103px; width:483px; height:19px; border-color:#c0c0c0; "/>
- <input id="ipt_testengabbr" ref="/root/main/testiteminfo/testengabbr" class="input_default" navindex="11" maxbyte="200" appearance="input" style="left:578px; top:153px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption38" class="cell_1" style="left:465px; top:150px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사약칭(영문)</caption>
- <input id="ipt_testhngabbr" ref="/root/main/testiteminfo/testhngabbr" class="input_default" navindex="13" maxbyte="200" appearance="input" style="left:578px; top:178px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption39" class="cell_1" style="left:465px; top:175px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사약칭(한글)</caption>
- <output id="opt_basepartcd" ref="/root/main/testiteminfo/basepartcd" class="output_fix" appearance="output" style="left:578px; top:353px; width:70px; height:19px; border-color:#c0c0c0; "/>
- <button id="btn_ptno" class="icon_search" navindex="19" style="left:652px; top:379px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("ptnocode_1");
- ]]>
- </script>
- </button>
- <caption id="caption20" class="cell_1" style="left:465px; top:375px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">병리코드</caption>
- <caption id="caption21" class="cell_1" style="left:465px; top:350px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트</caption>
- <button id="btn_basepart" class="icon_search" navindex="14" style="left:652px; top:354px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("basepart");
- ]]>
- </script>
- </button>
- <output id="opt_ptnocd" ref="/root/main/testiteminfo/ptnocd" class="output_fix" appearance="output" style="left:578px; top:378px; width:70px; height:19px; border-color:#c0c0c0; "/>
- <line id="line7" class="line_2" style="x1:465px; y1:99px; x2:1061px; y2:99px; "/>
- <line id="line4" class="line_2" style="x1:465px; y1:124px; x2:1061px; y2:124px; "/>
- <line id="line5" class="line_2" style="x1:465px; y1:149px; x2:1061px; y2:149px; "/>
- <line id="line6" class="line_2" style="x1:465px; y1:174px; x2:1061px; y2:174px; "/>
- <line id="line8" class="line_2" style="x1:465px; y1:199px; x2:1061px; y2:199px; "/>
- <line id="line9" class="line_2" style="x1:465px; y1:224px; x2:1061px; y2:224px; "/>
- <input id="input_testreqnm" ref="/root/main/testiteminfo/testreqnm" class="input_default" navindex="13" maxbyte="120" roundmode="round" appearance="input" style="left:578px; top:203px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption3" class="cell_1" style="left:465px; top:200px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명(의뢰지)</caption>
- <line id="line10" class="line_2" style="x1:465px; y1:249px; x2:1061px; y2:249px; "/>
- <caption id="caption5" class="cell_1" style="left:465px; top:225px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명(출력)</caption>
- <input id="input_testprntnm" ref="/root/main/testiteminfo/testprntnm" class="input_default" navindex="13" maxbyte="120" appearance="input" style="left:578px; top:228px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <line id="line12" class="line_2" style="x1:465px; y1:274px; x2:1061px; y2:274px; "/>
- <caption id="caption10" class="cell_1" style="left:465px; top:250px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명(라벨)</caption>
- <input id="input_testlblnm" ref="/root/main/testiteminfo/testlblnm" class="input_default" navindex="13" maxbyte="120" appearance="input" style="left:578px; top:253px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <line id="line13" class="line_2" style="x1:465px; y1:324px; x2:1061px; y2:324px; "/>
- <caption id="caption11" class="cell_1" style="left:465px; top:275px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사명(Slide)</caption>
- <input id="input_prntsildabbr" ref="/root/main/testiteminfo/prtnsildabbr" class="input_default" navindex="13" maxbyte="120" appearance="input" style="left:578px; top:278px; width:482px; height:19px; border-color:#c0c0c0; "/>
- <button id="btn_stdyptno" class="icon_search" navindex="20" style="left:962px; top:379px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("ptnocode_2");
- ]]>
- </script>
- </button>
- <output id="opt_detlpartcd" ref="/root/main/testiteminfo/detlpartcd" class="output_fix" appearance="output" style="left:888px; top:353px; width:70px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption22" class="cell_1" style="left:775px; top:375px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">연구용병리코드</caption>
- <button id="btn_detlpart" class="icon_search" navindex="15" style="left:962px; top:354px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("detlpart");
- ]]>
- </script>
- </button>
- <output id="opt_stdyptnocd" ref="/root/main/testiteminfo/stdyptnocd" class="output_fix" appearance="output" style="left:888px; top:378px; width:70px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption27" class="cell_1" style="left:775px; top:350px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트</caption>
- <line id="line14" class="line_2" style="x1:465px; y1:374px; x2:1081px; y2:374px; "/>
- <line id="line15" class="line_2" style="x1:465px; y1:349px; x2:1150px; y2:349px; "/>
- <caption id="caption12" class="cell_1" style="left:465px; top:325px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용병원</caption>
- <input id="ipt_edicd" ref="/root/main/testiteminfo/edicd" class="input_default" navindex="16" maxlength="15" appearance="input" style="left:578px; top:403px; width:103px; height:19px; border-color:#c0c0c0; "/>
- <select1 id="cmb_prcpflagcd" ref="/root/main/testiteminfo/prcpflagcd" class="combo_default" navindex="22" appearance="minimal" style="left:843px; top:428px; width:83px; height:19px; ">
- <choices>
- <item>
- <label>원처방</label>
- <value>0</value>
- </item>
- <item>
- <label>추가처방</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_popwndflagcd" ref="/root/main/testiteminfo/popwndflagcd" class="combo_default" navindex="18" appearance="minimal" style="left:997px; top:403px; width:84px; height:19px; ">
- <choices>
- <item>
- <label>일반</label>
- <value>0</value>
- </item>
- <item>
- <label>팝업</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption31" class="cell_1" style="left:465px; top:425px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">수탁용병리코드</caption>
- <caption id="caption32" class="cell_1" style="left:775px; top:425px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">처방구분</caption>
- <caption id="caption34" class="cell_1" style="left:775px; top:400px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">숨김구분</caption>
- <caption id="caption35" class="cell_1" style="left:929px; top:400px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">팝업구분</caption>
- <output id="opt_trustptnocd" ref="/root/main/testiteminfo/trustptnocd" class="output_fix" appearance="output" style="left:578px; top:428px; width:70px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption37" class="cell_1" style="left:929px; top:425px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">신규발생</caption>
- <select1 id="cmb_hideflagcd" ref="/root/main/testiteminfo/hideflagcd" class="combo_default" navindex="17" appearance="minimal" style="left:843px; top:403px; width:83px; height:19px; ">
- <choices>
- <item>
- <label>표시</label>
- <value>0</value>
- </item>
- <item>
- <label>숨김</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption17" class="cell_1" style="left:465px; top:400px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">EDI코드</caption>
- <select1 id="cmb_ptnonewflagcd" ref="/root/main/testiteminfo/ptnonewflagcd" class="combo_default" navindex="22" appearance="minimal" style="left:997px; top:428px; width:84px; height:19px; ">
- <choices>
- <item>
- <label>신규</label>
- <value>Y</value>
- </item>
- <item>
- <label>포함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <line id="line16" class="line_2" style="x1:465px; y1:399px; x2:1081px; y2:399px; "/>
- <line id="line18" class="line_2" style="x1:465px; y1:424px; x2:1081px; y2:424px; "/>
- <input id="ipt_cfnm" ref="/root/main/testiteminfo/cfnm" class="input_default" navindex="26" maxlength="6" appearance="input" style="left:997px; top:453px; width:84px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption30" class="cell_1" style="left:775px; top:450px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검체구분</caption>
- <caption id="caption13" class="cell_1" style="left:929px; top:450px; width:65px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">CF명</caption>
- <select1 id="cmb_spcflagcd" ref="/root/main/testiteminfo/spcflagcd" class="combo_default" navindex="24" appearance="minimal" style="left:843px; top:453px; width:83px; height:19px; ">
- <choices>
- <item>
- <label>DEFAULT</label>
- <value>0</value>
- </item>
- <item>
- <label>BIOPSY(작은조직)</label>
- <value>1</value>
- </item>
- <item>
- <label>BIOPSY(큰조직)</label>
- <value>2</value>
- </item>
- <item>
- <label>CELL BLOCK</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_reqfrmflagcd" ref="/root/main/testiteminfo/reqfrmflagcd" class="combo_default" navindex="25" appearance="minimal" style="left:578px; top:453px; width:193px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>조직</label>
- <value>01</value>
- </item>
- <item>
- <label>부인과(세포)</label>
- <value>02</value>
- </item>
- <item>
- <label>비부인과(세포)</label>
- <value>03</value>
- </item>
- <item>
- <label>세침흡인(세포)</label>
- <value>03</value>
- </item>
- <item>
- <label>분자</label>
- <value>05</value>
- </item>
- <item>
- <label>세포유전</label>
- <value>05</value>
- </item>
- <item>
- <label>원본대출</label>
- <value>08</value>
- </item>
- </choices>
- </select1>
- <caption id="caption16" class="cell_1" style="left:465px; top:450px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">의뢰지서식구분</caption>
- <caption id="caption40" class="cell_1" style="left:465px; top:475px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">작업구분</caption>
- <caption id="caption41" class="cell_1" style="left:465px; top:500px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">통계포함여부</caption>
- <select id="chx_statsflagcd" ref="/root/main/testiteminfo/statsflagcd" navindex="27" overflow="visible" appearance="full" style="left:578px; top:503px; width:74px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>통계포함</label>
- <value>0</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeCheckItem("statsflag");
- ]]>
- </script>
- </select>
- <select id="chx_trusttestflagcd" ref="/root/main/testiteminfo/trusttestflagcd" navindex="28" overflow="visible" appearance="full" style="left:888px; top:503px; width:74px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>위탁검사</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeCheckItem("trusttestflag");
- ]]>
- </script>
- </select>
- <select1 id="cmb_workflagcd" ref="/root/main/testiteminfo/workflagcd" class="combo_default" disabled="true" navindex="23" appearance="minimal" style="left:578px; top:478px; width:193px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='83']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_statsworkflagcd" ref="/root/main/testiteminfo/statsworkflagcd" class="combo_default" disabled="true" navindex="23" appearance="minimal" style="left:888px; top:478px; width:194px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/resncd/resncdlist[baseflagcd='84']">
- <label ref="resncnts"/>
- <value ref="resncd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption14" class="cell_1" style="left:775px; top:500px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">위탁검사구분</caption>
- <caption id="caption15" class="cell_1" style="left:775px; top:475px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">통계작업구분</caption>
- <caption id="caption18" class="cell_1" style="left:465px; top:300px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">표시일련번호</caption>
- <select1 id="rdo_frznflagcd" ref="/root/main/testiteminfo/frznflagcd" navindex="9" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:888px; top:305px; width:169px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>동결절편검사</label>
- <value>0</value>
- </item>
- <item>
- <label>일반검사</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption19" class="cell_1" style="left:775px; top:300px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">동결절편</caption>
- <input id="ipt_dispseqno" ref="/root/main/testiteminfo/dispseqno" class="input_default" navindex="8" maxlength="4" format="9999" appearance="input" style="left:578px; top:303px; width:193px; height:19px; border-color:#c0c0c0; "/>
- <line id="line19" class="line_2" style="x1:465px; y1:299px; x2:1061px; y2:299px; "/>
- <line id="line20" class="line_2" style="x1:465px; y1:449px; x2:1081px; y2:449px; "/>
- <line id="line21" class="line_2" style="x1:465px; y1:474px; x2:1081px; y2:474px; "/>
- <line id="line22" class="line_2" style="x1:465px; y1:499px; x2:1081px; y2:499px; "/>
- <line id="line23" class="line_2" style="x1:465px; y1:524px; x2:1081px; y2:524px; "/>
- <select1 id="rdo_delflagcd" ref="/root/main/testiteminfo/delflagcd" navindex="7" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:888px; top:80px; width:150px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption23" class="cell_1" style="left:775px; top:75px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
- <select1 id="rdo_grupflagcd" ref="/root/main/testiteminfo/grupflagcd" navindex="29" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:578px; top:530px; width:150px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>S</label>
- <value>0</value>
- </item>
- <item>
- <label>G</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeCheckItem("grupflagcd");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_ordkindflagcd" ref="/root/main/testiteminfo/ordkindflagcd" class="combo_default" navindex="30" appearance="minimal" style="left:888px; top:528px; width:193px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>조직</label>
- <value>1</value>
- </item>
- <item>
- <label>세포</label>
- <value>2</value>
- </item>
- <item>
- <label>분자</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <caption id="caption24" class="cell_1" style="left:775px; top:525px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">처방형태상태</caption>
- <caption id="caption25" class="cell_1" style="left:465px; top:525px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹구분</caption>
- <caption id="caption26" class="cell_1" style="left:465px; top:550px; width:110px; height:48px; text-align:left; vertical-align:middle; padding-left:10px; ">메모</caption>
- <output id="opt_regid" ref="/root/main/testiteminfo/fstrgstrid" class="output_fix" appearance="output" style="left:578px; top:602px; width:193px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption29" class="cell_1" style="left:465px; top:600px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
- <output id="opt_regdt" ref="/root/main/testiteminfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:888px; top:602px; width:193px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption33" class="cell_1" style="left:775px; top:600px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
- <caption id="caption28" class="cell_1" style="left:465px; top:625px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
- <caption id="caption36" class="cell_1" style="left:775px; top:625px; width:110px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
- <output id="opt_lastupdtid" ref="/root/main/testiteminfo/lastupdtrid" class="output_fix" appearance="output" style="left:578px; top:627px; width:193px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_lastupdtdt" ref="/root/main/testiteminfo/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:nn:ss" appearance="output" style="left:888px; top:627px; width:193px; height:19px; border-color:#c0c0c0; "/>
- <line id="line24" class="line_2" style="x1:465px; y1:549px; x2:1081px; y2:549px; "/>
- <line id="line25" class="line_2" style="x1:465px; y1:599px; x2:1081px; y2:599px; "/>
- <line id="line26" class="line_2" style="x1:465px; y1:624px; x2:1081px; y2:624px; "/>
- <line id="line27" class="line_2" style="x1:465px; y1:649px; x2:1081px; y2:649px; "/>
- <caption id="caption52" style="left:1065px; top:205px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 한글40자리까지</caption>
- <caption id="caption42" style="left:1065px; top:230px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 한글40자리까지</caption>
- <caption id="caption43" style="left:1065px; top:255px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 한글40자리까지</caption>
- <caption id="caption44" style="left:1065px; top:280px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 한글40자리까지</caption>
- <textarea id="tar_refcnts" ref="/root/main/testiteminfo/refcnts" style="left:578px; top:551px; width:503px; height:46px; "/>
- <select1 id="rdo_baseupdtflag" ref="/root/hidden/cdupdtflag" navindex="5" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:580px; top:55px; width:155px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>조회</label>
- <value>1</value>
- </item>
- <item>
- <label>수정</label>
- <value>2</value>
- </item>
- <item>
- <label>신규</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeCodeUpdtFlag();
- ]]>
- </script>
- </select1>
- <button id="btn_trustptno" class="icon_search" navindex="21" style="left:650px; top:430px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("ptnocode_3");
- ]]>
- </script>
- </button>
- <select1 id="opt_basepartnm" ref="/root/main/testiteminfo/basepartcd" disabled="true" appearance="minimal" style="left:671px; top:353px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0410">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="opt_detlpartnm" ref="/root/main/testiteminfo/detlpartcd" disabled="true" appearance="minimal" style="left:981px; top:353px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0411">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="opt_ptnonm" ref="/root/main/testiteminfo/ptnocd" disabled="true" appearance="minimal" style="left:671px; top:378px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0412">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="opt_stdyptnonm" ref="/root/main/testiteminfo/stdyptnocd" disabled="true" appearance="minimal" style="left:981px; top:378px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0412">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="opt_trustptnonm" ref="/root/main/testiteminfo/trustptnocd" disabled="true" appearance="minimal" style="left:671px; top:428px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0412">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" style="left:0px; top:15px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetUpdtData();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter4" style="left:985px; top:3px; width:80px; height:22px; ">
- <caption>내려받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDownData();
- ]]>
- </script>
- </button>
- </group>
- <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">통합검사코드관리</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|