12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>검사치료코드관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <examcurecdlist>
- <item>
- <update/>
- <excucd/>
- <excucdnm/>
- <excuroomcd/>
- <excupartcd/>
- <execbaseflag/>
- <rcptacptyn/>
- <rcptrsrvyn/>
- <prcptdayaftrcptyn>N</prcptdayaftrcptyn>
- <excuclscd/>
- <lrgcd/>
- <mdlcd/>
- <ioexamflag/>
- <excucdrem/>
- <angioaltprcpcd/>
- <angiouseyn/>
- <autroomassgyn/>
- <autroomassgcd/>
- <section/>
- <specdrcd/>
- <rslttmplcd/>
- <rslttmplcdnm/>
- <ocrtmplcd/>
- <eqmtifyn/>
- <readdrid3/>
- <readdrid3nm/>
- <rsltdispyn/>
- <rsltdispgbn/>
- <rsltclscd1/>
- <rsltclscd2/>
- <partcntstats/>
- <phocntstats/>
- <curetims/>
- <rsrvexcupossyn/>
- <rsrvexcuroomposscd/>
- <rsrvexcuroomposscd2/>
- <rsrvsono/>
- <rsrvplceflag/>
- <excutm/>
- <rsrvexmptmplcd/>
- <rsrvexmptmplexecrnm/>
- <rsrvexmpcnt/>
- <fastyn/>
- <enemayn/>
- <rsrvaprvtmplcd/>
- <slepyn/>
- <dcusrsrvyn/>
- <rsrvupdtcncllimdayno/>
- <modality/>
- <pacsnocretyn/>
- <etceqmtifyn/>
- <prestddappyn/>
- <anotestyn>Y</anotestyn>
- <sytserdispyn/>
- <sytshealdispyn/>
- <glycostestyn/>
- <bonedentestyn/>
- <prcpexecdeptcd/>
- <nextexcuroomcd/>
- <excurem/>
- <basesuppdeptcd/>
- <excutodd/>
- <excupatrem/>
- <saveflag/>
- <prcpexecdeptcd1/>
- <prcptdayrcptyn/>
- <rslttmplcd2nd/>
- </item>
- </examcurecdlist>
- <userpopupinfo>
- <param/>
- </userpopupinfo>
- <userinfolist/>
- <prcp>
- <prcplist>
- <prcpexecdeptcd/>
- </prcplist>
- </prcp>
- </main>
- <send>
- <req>
- </req>
- <srchexamcurecd/>
- <srchexamcurenm/>
- <globalinstance>
- <instance1/>
- <basecd>%</basecd>
- </globalinstance>
- <windowloadinstance>SMAEB00200</windowloadinstance>
- <newoldyb>1</newoldyb>
- <excuroomcd/>
- <srchrsltclscd1/>
- <grupcdid/>
- <excupatrem/>
- <saveflag/>
- <excucdrem/>
- </send>
- <init>
- <baseinfo>
- <initexecbaseflag/>
- <initioexamflag/>
- <initrsrvplceflag/>
- <excuclscd/>
- <rsltclscd1/>
- <initeqmtifyn/>
- <initpacsnocretyn/>
- </baseinfo>
- <baseinfo1>
- <rsltclscd2/>
- </baseinfo1>
- <cmb_info>
- <initexcuroomgrp>
- <excuroomgrpcdid/>
- <excuroomgrpcdnm/>
- </initexcuroomgrp>
- <initexecroom>
- <excuroomcdid/>
- <excuroomcdnm/>
- </initexecroom>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- <initsystgrd>
- <rsltclscd1/>
- <rsltclsnm1/>
- </initsystgrd>
- <initsystmdl>
- <rsltclscd2/>
- <rsltclsnm2/>
- <basecdcnts/>
- </initsystmdl>
- </cmb_info>
- <cmb_info2>
- <initsection>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initsection>
- <initmodal>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initmodal>
- <initrsltgb>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </initrsltgb>
- <specdr>
- <cdid/>
- <cdnm/>
- <grupcdid/>
- </specdr>
- </cmb_info2>
- <bodypartlist>
- <bodypart>
- <basecd/>
- <basecdflagdesc/>
- </bodypart>
- <bodypartgrp>
- <basecd/>
- <basecdflagdesc/>
- </bodypartgrp>
- </bodypartlist>
- <dept_info>
- <initprcpexecdeptcd>
- <prcpexecdeptcdid/>
- <prcpexecdeptcdnm/>
- </initprcpexecdeptcd>
- </dept_info>
- <comcd_info>
- <initcomgrupcd>
- <comgrupcdid/>
- <comgrupcdnm/>
- </initcomgrupcd>
- </comcd_info>
- <comcd_info2>
- <initcomcd>
- <comcdid/>
- <comcdnm/>
- </initcomcd>
- </comcd_info2>
- <rsrvidinfo/>
- </init>
- <hidden>
- <count/>
- <parameters>
- <formcd/>
- </parameters>
- <checkseq/>
- <init>
- <comcd>
- </comcd>
- </init>
- <item>
- <excucd/>
- <excucdnm/>
- <excuroomcd/>
- <excupartcd/>
- <execbaseflag/>
- <rcptacptyn/>
- <rcptrsrvyn/>
- <prcptdayaftrcptyn>N</prcptdayaftrcptyn>
- <excuclscd/>
- <lrgcd/>
- <mdlcd/>
- <ioexamflag/>
- <excucdrem/>
- <angioaltprcpcd/>
- <angiouseyn/>
- <autroomassgyn/>
- <autroomassgcd/>
- <section/>
- <rslttmplcd/>
- <ocrtmplcd/>
- <eqmtifyn/>
- <readdrid3/>
- <readdrid3nm/>
- <rsltdispyn/>
- <rsltdispgbn/>
- <rsltclscd1/>
- <rsltclscd2/>
- <partcntstats/>
- <phocntstats/>
- <curetims/>
- <rsrvexcupossyn/>
- <rsrvexcuroomposscd/>
- <rsrvexcuroomposscd2/>
- <rsrvsono/>
- <rsrvplceflag/>
- <excutm/>
- <rsrvexmptmplcd/>
- <rsrvexmptmplexecrnm/>
- <rsrvexmpcnt/>
- <fastyn/>
- <enemayn/>
- <rsrvaprvtmplcd/>
- <slepyn/>
- <dcusrsrvyn/>
- <rsrvupdtcncllimdayno/>
- <modality/>
- <pacsnocretyn/>
- <etceqmtifyn/>
- <prestddappyn/>
- <anotestyn>Y</anotestyn>
- <sytserdispyn/>
- <sytshealdispyn/>
- <glycostestyn/>
- <bonedentestyn/>
- <prcpexecdeptcd/>
- <nextexcuroomcd/>
- <excurem/>
- <basesuppdeptcd/>
- <excutodd/>
- <prcpexecdeptcd1/>
- </item>
- </hidden>
- <temp>
- <templst/>
- </temp>
- <hidden1>
- <initsystmdl>
- <rsltclscd2/>
- <rsltclsnm2/>
- <basecdcnts/>
- </initsystmdl>
- </hidden1>
- <orddept/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //2010.11.29 c y w 시행부서컬럼은 계정이 'AST'인 경우에만 활성화
- var userid = getUserId();
- if( userid == "AST" )
- {
- grd_examcurecdlist.colDisabled(59) = false;
- } else {
- grd_examcurecdlist.colDisabled(59) = true;
- }
- //aezfSetSuppDeptcd();
- var suppdeptcd = "";
- suppdeptcd = getScreenMenuParameter();
- if (suppdeptcd == "" || suppdeptcd == null || suppdeptcd == "null"){
- aezfSetSuppDeptcd();
- }else{
- model.setValue("/root/send/globalinstance/instance1", suppdeptcd);
- }
- zbcfGetCodeList( new Array("A0071", "A0072", "A0073", "A0463", "A0481", "A0502", "A0501"), new Array("/root/init/baseinfo/initexecbaseflag",
- "/root/init/baseinfo/initioexamflag",
- "/root/init/baseinfo/initrsrvplceflag",
- "/root/init/baseinfo/excuclscd",
- "/root/init/baseinfo/rsltclscd1",
- "/root/init/baseinfo/initeqmtifyn",
- "/root/init/baseinfo/initpacsnocretyn"
- ) );
- zbcfGetSubCodeList("A0481", "", "A0482", "cdnm", "asc", "true", "/root/init/baseinfo1/rsltclscd2");
- //zbcfGetSubCodeList("A0481", "", "A0482", "cdnm", "asc", "true", "/root/hidden/init/comcd");
- submit("TRZBC00101", false);
-
- submit("TRAEA01301", false); // 검사치료실 가져오기
- if( instance1.selectSingleNode("/root/init/cmb_info/suppdept[suppdeptcd='" + model.getValue("/root/send/globalinstance/instance1") + "']") == null ){
- caption5.visible = true;
- cmb_deptcd.visible = true;
- btn_grdadd.disabled = true;
- btn_grdcopy.disabled = true;
- btn_grddel.disabled = true;
- //btn_save.disabled = true;
- //2010.11.02 통합예약에서 주의사항 저장기능 추가 - 박재영
- //2014/11/17 이정택 추가 원무과 및 원무팀에서 저장 할 수 있도록 플래그값 수정(미수예약, 검사일수납, 예약구분, 상세내역, 주의사항만 수정할 수 있도록)
- //model.setValue("/root/send/saveflag","A");
- if(getUserInfo("dutplcecd")=='4040300000' || getUserInfo("dutplcecd")=='4040326000' || getUserInfo("userid")=='PAM'){
- var i=1;
- for(i; i<=grd_examcurecdlist.cols; i++){
- if(i==grd_examcurecdlist.colRef("rcptrsrvyn") || i==grd_examcurecdlist.colRef("prcptdayrcptyn") ||
- i==grd_examcurecdlist.colRef("rsrvplceflag") || i==grd_examcurecdlist.colRef("excucdrem") ||
- i==grd_examcurecdlist.colRef("excupatrem")){
- grd_examcurecdlist.colDisabled(i)=false;
- }else{
- grd_examcurecdlist.colDisabled(i)=true;
- }
- }
- }else{
- model.setValue("/root/send/saveflag","A");
- }
- //2014/11/17 이정택 추가
-
- btn_save.disabled = false;
- btn_selcalcscorcd.disabled = true;
- }else{
- //2014/11/21 이정택 수정(위치 변경에 따른 옵션 변경)
- //caption5.visible = false;
- //cmb_deptcd.visible = false;
- caption5.visible = true;
- cmb_deptcd.visible = true;
- cmb_deptcd.disabled = true;
- //2014/11/21 이정택 수정(위치 변경에 따른 옵션 변경)
- btn_grdadd.disabled = false;
- btn_grdcopy.disabled = false;
- btn_grddel.disabled = false;
- btn_save.disabled = false;
- btn_selcalcscorcd.disabled = false;
- }
- submit("TRAEB00601", false); // 부위코드 가져오기
-
- submit("TRAEB00205", false); // 수행부서 코드 가져오기
-
- submit("TRAEB00206", false); // 공통 그룹코드 가져오기
-
- model.setValue("/root/send/srchexamcurecd","%");
- model.setValue("/root/send/srchexamcurenm","%");
- submit("TRAEB00201");
- model.setValue("/root/send/srchexamcurecd","");
- model.setValue("/root/send/srchexamcurenm","");
-
- copyNodesetType("/root/hidden1/initsystmdl", "/root/init/cmb_info/initsystmdl");
- //model.removeNodeset("/root/main/examcurecdlist/item");
-
- // Section, Modal 등의 공통정보를 가져온다. App단에서 그룹코드별 셋팅을 입력해 놓는다.
- model.setValue("/root/send/grupcdid","A");
- submit("TRAEA01313");
-
-
- //트리거로 대체함 ast.aebmeccd_log
- // //20140204 by kya 진료지원 공통코드에서 수정자격 가져오기 'T001'
- // //start
- // suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
- //
- // //alert("** suppdeptcd = " + model.getValue("/root/send/globalinstance/instance1"));
- //
- // astGetComboList( new Array("T0001"), new Array("/root/init/rsrvidinfo"), suppdeptcd );
- // submit("TRAAA00001", false);
- //
- // var idx_rsrv = 0;
- // var rsrvidCnt = getNodesetCount("/root/init/rsrvidinfo/T0001");
- // for( var i = 1 ; i<= rsrvidCnt ; i++){
- // if( model.getValue("/root/init/rsrvidinfo/T0001["+ i +"]/cdid") == getUserId() ){
- // idx_rsrv++;
- // }
- // }
- //
- // if( idx_rsrv == 0 ){
- // btn_save.disabled = true;
- // }
-
- //end
-
- model.refresh();
- ]]>
- </script>
- <submission id="TXAEB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAEB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/examcurecdlist"/>
- <submission id="TRZBC00101"/>
- <submission id="TRZBC00122"/>
- <!-- <bind id="bind_prcpexecdeptcd" ref="/root/main/examcurecdlist/item/prcpexecdeptcd" readonly="../prcpexecdeptcd!=''"/> -->
- <submission id="TRAEA01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEB00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/bodypartlist"/>
- <submission id="TRAEB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/dept_info"/>
- <submission id="TRAEB00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/globalinstance" replace="instance" resultref="/root/init/comcd_info"/>
- <submission id="TRAEB00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchrsltclscd1" replace="instance" resultref="/root/init/comcd_info2"/>
- <!-- Section, Modal 등의 공통정보를 가져온다 -->
- <!-- 결과조회 구분코드 조회 20100904 장준원 추가 root.init.cmb_info2.initrsltgb 인스턴스 추가i-->
- <submission id="TRAEA01313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info2"/>
- <submission id="TRAAA00001"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/combolist.js"/>
- <script type="javascript">
- <![CDATA[
-
-
- function fSrchDrInfo() {
- /* @group : 검사치료코드 제 3판독의 등록
- * @ver :
- * @by : 장준원
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 제 3판독의를 통한 PACS 오더 전달..
- */
- model.resetInstanceNode("/root/main/userpopupinfo"); // Instance 초기화
- model.removeNodeset("/root/main/userinfolist/list"); // Instance 초기화
-
- model.setValue("/root/main/userpopupinfo/param", "_OneS"); // 사용자 한 명만을 검색하기 위한 파라미터 설정
- modal("SPZSU10103", "", "200", "200", "SPZSU10103", "/root/main/userpopupinfo", "/root/main/temp");
-
- var iParam = getParameter("SPZSU10103_");
- setCSVToNode("/root/main/userinfolist", iParam);
- clearParameter("SPZSU10103_");
- }
-
- function fCheckExCuCd() {
-
- var srchLength1 = model.instances(0).selectNodes( "/root/main/examcurecdlist/item" ).length;
-
- var msg = "";
- var msgCnt = 0;
-
- for ( var i = 1 ; i <= srchLength1; i++ ) {
-
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd") == "" ) {
- messageBox("검사코드[필수입력사항]를 입력 해야 합니다.","I999");
- return "1";
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excucdnm") == "" ) {
- messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 검사코드명칭[필수입력사항]를 입력 해야 합니다.","I999");
- return "1";
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/prcpexecdeptcd") == "" ) {
- messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 시행부서코드[필수입력사항]를 선택 해야 합니다.","I999");
- return "1";
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excuclscd") == "" ) {
- model.setValue("/root/main/examcurecdlist/item["+i+"]/excuclscd", "-");
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd1") == "" ) {
- model.setValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd1", "-");
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd2") == "" ) {
- model.setValue("/root/main/examcurecdlist/item["+i+"]/rsltclscd2", "-");
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/pacsnocretyn") == "N" ) {
- model.setValue("/root/main/examcurecdlist/item[" + i + "]/etceqmtifyn", "-");
- }else{
- if (model.getValue("/root/main/examcurecdlist/item[" + i + "]/etceqmtifyn") == "-"){
- messageBox("Pacs연동시 장비구분은 필수 선택항목입니다.", "E999", "");
- return "1";
- }
- }
- /*
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "-") {
- }else{
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "-") {
- }else{
- messageBox("예약예문은 단독 또는 멀티 두가지를 선택할 수 없습니다.", "E999", "");
- return "1";
- }
- }
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvexmptmplcd") == "-") {
- }else{
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" || model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "-") {
- }else{
- messageBox("예약예문은 단독 또는 멀티 두가지를 선택할 수 없습니다.", "E999", "");
- return "1";
- }
- }
- */
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" ){
- model.setValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd", "-");
- }
-
- // 미수예약 및 당일수납 체크 변경시 확인
- var rsrvFlag = model.getValue("/root/main/examcurecdlist/item[" + i + "]/rcptrsrvyn") != model.getValue("/root/main/examcurecdlist/item[" + i + "]/bfrcptrsrvyn");
- var dayFlag = model.getValue("/root/main/examcurecdlist/item[" + i + "]/prcptdayrcptyn") != model.getValue("/root/main/examcurecdlist/item[" + i + "]/bfprcptdayrcptyn");
-
- if (rsrvFlag || dayFlag) {
-
- msgCnt++;
-
- if (msgCnt < 11) {
-
- msg += ( msg != "" ? "\n" : "" );
- msg += "[ " + i + " ] 행 - ";
- msg += ( rsrvFlag ? "[ 미수예약 ]" : "" );
- msg += ( dayFlag ? " " : "" );
- msg += ( dayFlag ? "[ 당일수납 ]" : "" );
-
- } else if (msgCnt == 11) {
-
- msg += "\n...";
- }
- }
-
- if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd") == "" ){
- model.setValue("/root/main/examcurecdlist/item["+i+"]/rsrvmultitmplcd", "-");
- }
- // if ( model.getValue("/root/main/examcurecdlist/item["+i+"]/excuroomcd") == "" ) {
- // messageBox("["+model.getValue("/root/main/examcurecdlist/item["+i+"]/excucd")+"]코드의 검사,치료실코드[필수입력사항]를 선택 해야 합니다.","I999");
- // return "1";
- // }
-
- }
-
- if (msg != "") {
- if (messageBox("아래와 같은 변경 사항이 있습니다.\n\n" + msg + "\n\n진행하시겠습니까?", "Q999") != 6) {
- return "1";
- }
- }
-
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1117px; y1:7px; x2:1117px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 2014/11/20 이정택 추가(원무과로 로그인시에 지원부서를 먼저 선택 후 검색 할 수 있도록 제어)
- if(getUserInfo("dutplcecd")=='4040300000' || getUserInfo("dutplcecd")=='4040326000' || getUserInfo("userid")=='PAM'){
- if(cmb_deptcd.value ==null || cmb_deptcd.value=="" || cmb_deptcd.value=="4040300000" || cmb_deptcd.value=="4040326000" || cmb_deptcd.value=="3170000000"){ // 검사통합예약실 : 3170000000
- messageBox("검색은 지원부서 선택 후 가능합니다.", "E");
- return;
- }
- }
- // 2014/11/20 이정택 추가(원무과로 로그인시에 지원부서를 먼저 선택 후 검색 할 수 있도록 제어)
-
- model.removeNodeset("/root/main/examcurecdlist/item");
- if ( model.getValue("/root/send/srchexamcurecd") == "" ) {
- model.setValue("/root/send/srchexamcurecd","%");
- }else {
- model.setValue("/root/send/srchexamcurecd", "%"+model.getValue("/root/send/srchexamcurecd").toUpperCase()+"%");
- }
- if ( model.getValue("/root/send/srchexamcurenm") == "" ) {
- model.setValue("/root/send/srchexamcurenm","%");
- }else {
- model.setValue("/root/send/srchexamcurenm", "%"+model.getValue("/root/send/srchexamcurenm")+"%");
- }
- submit("TRAEB00201");
- model.setValue("/root/send/srchexamcurecd","");
- model.setValue("/root/send/srchexamcurenm","");
- for (var i = 1; i < grd_examcurecdlist.rows; i ++){
- grd_examcurecdlist.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
- }
- grd_examcurecdlist.topRow = 1;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">검사코드 :</caption>
- <input id="ipt_srchexamcurecd" ref="/root/send/srchexamcurecd" class="input_search" imemode="alpha" style="left:100px; top:10px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea", "DOMActivate");
- ]]>
- </script>
- <hint>
- <![CDATA[검사코드12자리입력가능]]>
- </hint>
- </input>
- <input id="ipt_srchexamcurenm" ref="/root/send/srchexamcurenm" class="input_search" style="left:331px; top:10px; width:149px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_sea", "DOMActivate");
- ]]>
- </script>
- <hint>
- <![CDATA[검사코드12자리입력가능]]>
- </hint>
- </input>
- <caption id="caption3" class="search_name" style="left:227px; top:10px; width:100px; height:17px; ">검사코드명 :</caption>
- <button id="button1" visibility="hidden" style="left:665px; top:5px; width:100px; height:20px; ">
- <caption>button1</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(grd_examcurecdlist.rowstatus(grd_examcurecdlist.row));
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:915px; top:10px; width:100px; height:17px; ">구/신코드 :</caption>
- <select1 id="combo1" ref="/root/send/newoldyb" appearance="minimal" style="left:1020px; top:10px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>신코드</label>
- <value>1</value>
- </item>
- <item>
- <label>구코드</label>
- <value>2</value>
- </item>
- <item>
- <label>전체</label>
- <value/>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_deptcd" ref="/root/send/globalinstance/instance1" appearance="minimal" style="left:570px; top:10px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdept">
- <label ref="depthngnm"/>
- <value ref="suppdeptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/globalinstance/instance1", cmb_deptcd.value);
- submit("TRAEA01301", false);
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:485px; top:10px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">지원부서 :</caption>
- <caption id="caption7" class="search_name" style="left:703px; top:10px; width:73px; height:17px; ">검사실 :</caption>
- <select1 id="cmb_excuroom" ref="/root/send/excuroomcd" class="combo_default" navindex="1" appearance="minimal" editmode="input" style="left:780px; top:10px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- btn_sea.dispatch("DOMActivate");
- ]]>
- </script>
- </select1>
- </group>
- <line id="line1" class="line_1" style="x1:1px; y1:69px; x2:1194px; y2:69px; "/>
- <!-- 결과조회 구분코드 조회 20100904 장준원 추가 root.main.examcurecdlist.item 과 root.hidden.item에 rsltdispyn rsltdispgbn 인스턴스 추가i-->
- <datagrid id="grd_examcurecdlist" nodeset="/root/main/examcurecdlist/item" caption="^코드^검사명^기본설정^기본설정^기본설정^기본설정^기본설정^기본설정^기본설정^기본설정^기본설정^기본설정^분류^분류^분류^분류^분류^분류^분류^분류^판독/대출^결과설정^결과설정^결과설정^결과설정^결과설정^결과설정^결과설정^결과설정^결과조회^결과조회^통계^통계^통계^통계^통계^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^예약설정^PACS설정^PACS설정^PACS설정^현재일자^타검사^검통응급^검통건진^당뇨체크^골밀도^진료^시행부서^시행부서^다음치료실^비고^caption1^caption2^주의사항^saveflag^grupsnglflag|^코드^검사명^검사/치료실^검사부위/품목^실시기준^미수접수^미수예약^미수예약^오늘결과^당일수납^당일수납^예약구분^분류코드^대^중^구분^상세내역^대체코드^조영제^자동배정^배정검사실^SECTION^선택의^결과Tmpl^결과Tmpl^내시경서식^OCR서식^CDIS I/F^판독의3^판독의명^조회여부^조회구분^대분류^중분류^부위^촬영^치료횟수^예약^통합검사/치료실^자체검사/치료실^나이제한/치료실^소요시간^예약예문^멀티예약예문^실시자명^출력장수^금식^관장^동의서^수면^협의^변경/취소 제한일수^Modality^I/F^장비구분^적용여부^표시여부^표시 여부^표시여부^유무^검사유무^예약유무^시행부서^시행부서^다음치료실^비고^부서코드^종료일자^주의사항^saveflag^grupsnglflag" colsep="^" colwidth="17, 85, 190, 76, 84, 57, 60, 0, 55, 54, 0, 58, 57, 57, 47, 44, 55, 61, 56, 42, 55, 62, 69, 56, 111, 100, 57, 58, 57, 67, 54, 64, 63, 63, 63, 37, 62, 53, 43, 100, 100, 100, 63, 54, 100, 77, 70, 30, 32, 75, 30, 30, 119, 59, 58, 100, 61, 57, 63, 59, 61, 70, 61, 100, 90, 100, 308, 100, 100, 100, 100, 100" explorerbar="sortshow" frozencols="13" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:72px; width:1194px; height:667px; ">
- <col ref="update" style="background-image:../../../com/commonweb/images/icon_n.gif; background-position:center; "/>
- <col imemode="alpha" ref="excucd" type="input"/>
- <col ref="excucdnm" type="input"/>
- <col editmode="input" ref="excuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexecroom">
- <label ref="excuroomcdnm"/>
- <value ref="excuroomcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="excupartcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/bodypartlist/bodypart">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="execbaseflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initexecbaseflag/A0071">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" disabled="true" ref="rcptacptyn" type="checkbox"/>
- <col ref="bfrcptrsrvyn"/>
- <col checkvalue="Y,N" ref="rcptrsrvyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="prcptdayaftrcptyn" type="checkbox"/>
- <col ref="bfprcptdayrcptyn"/>
- <col checkvalue="Y,N" ref="prcptdayrcptyn" type="checkbox"/>
- <col ref="rsrvplceflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initrsrvplceflag/A0073">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" ref="excuclscd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/excuclscd/A0463">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="lrgcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="mdlcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/bodypartlist/bodypart">
- <label ref="basecdflagdesc"/>
- <value ref="basecd"/>
- </itemset>
- </choices>
- </col>
- <col ref="ioexamflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initioexamflag/A0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="excucdrem" type="inputbutton"/>
- <col ref="angioaltprcpcd" type="inputbutton"/>
- <col checkvalue="Y,N" ref="angiouseyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="autroomassgyn" type="checkbox"/>
- <col ref="autroomassgcd" type="inputbutton"/>
- <col ref="section" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info2">
- <label ref="initsection/cdnm"/>
- <value ref="initsection/cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="specdrcd" type="inputbutton"/>
- <col ref="rslttmplcd" type="inputbutton"/>
- <col ref="rslttmplcdnm" type="inputbutton"/>
- <col disabled="true" ref="rslttmplcd2nd" type="inputbutton"/>
- <col ref="ocrtmplcd" type="inputbutton" visibility="hidden"/>
- <col ref="eqmtifyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initeqmtifyn/A0502">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="readdrid3" type="input"/>
- <col ref="readdrid3nm" type="inputbutton"/>
- <col checkvalue="Y,N" ref="rsltdispyn" type="checkbox"/>
- <col ref="rsltdispgbn" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info2">
- <label ref="initrsltgb/cdnm"/>
- <value ref="initrsltgb/cdid"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" ref="rsltclscd1" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initsystgrd">
- <label ref="rsltclsnm1"/>
- <value ref="rsltclscd1"/>
- </itemset>
- </choices>
- </col>
- <col editmode="inputsearch" ref="rsltclscd2" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initsystmdl">
- <label ref="rsltclsnm2"/>
- <value ref="rsltclscd2"/>
- </itemset>
- </choices>
- </col>
- <col ref="partcntstats" type="input"/>
- <col ref="phocntstats" type="input"/>
- <col ref="curetims" type="input" format="#,###"/>
- <col checkvalue="Y,N" ref="rsrvexcupossyn" type="checkbox"/>
- <col ref="rsrvexcuroomposscd" type="inputbutton"/>
- <col ref="rsrvexcuroomposscd2" type="inputbutton"/>
- <col ref="rsrvsono" type="inputbutton"/>
- <col ref="excutm" type="input"/>
- <col ref="rsrvexmptmplcd" type="inputbutton"/>
- <col ref="rsrvmultitmplcd" type="inputbutton"/>
- <col ref="rsrvexmptmplexecrnm" type="input"/>
- <col ref="rsrvexmpcnt" type="input"/>
- <col checkvalue="Y,N" ref="fastyn" type="checkbox" visibility="hidden"/>
- <col checkvalue="Y,N" ref="enemayn" type="checkbox" visibility="hidden"/>
- <col ref="rsrvaprvtmplcd" type="inputbutton" visibility="hidden"/>
- <col checkvalue="Y,N" ref="slepyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="dcusrsrvyn" type="checkbox"/>
- <col ref="rsrvupdtcncllimdayno" type="input" style="text-align:right; "/>
- <col ref="modality" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info2/initmodal">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pacsnocretyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/initpacsnocretyn/A0501">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="etceqmtifyn" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>Main Pacs</label>
- <value>0</value>
- </item>
- <item>
- <label>Cardiac Pacs</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="prestddappyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="anotestyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="sytserdispyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="sytshealdispyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="glycostestyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="bonedentestyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="emryn" type="checkbox"/>
- <col disabled="true" ref="prcpexecdeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/dept_info/initprcpexecdeptcd">
- <label ref="prcpexecdeptcdnm"/>
- <value ref="prcpexecdeptcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpexecdeptcd1" type="inputbutton"/>
- <col editmode="inputsearch" ref="nextexcuroomcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/cmb_info/initexcuroomgrp">
- <label ref="excuroomgrpcdnm"/>
- <value ref="excuroomgrpcdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="excurem" type="input"/>
- <col ref="basesuppdeptcd" visibility="hidden"/>
- <col ref="excutodd" visibility="hidden"/>
- <col ref="excupatrem" type="inputbutton"/>
- <col ref="saveflag" visibility="hidden"/>
- <col ref="grupsnglflag" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var iRow = grd_examcurecdlist.row ;
- var colidx = grd_examcurecdlist.col;
-
- var image = grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1);
- image = image.substr(image.length - 10, image.length);
- if ( grd_examcurecdlist.rowstatus(iRow) == 1 ) {
- grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1) = "../../../com/commonweb/images/icon_i.gif";
- }else if ( grd_examcurecdlist.rowstatus(iRow) == 2 ) {
- grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1) = "../../../com/commonweb/images/icon_u.gif";
- }else if ( grd_examcurecdlist.rowstatus(iRow) == 4 ) {
- grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1) = "../../../com/commonweb/images/icon_d.gif";
- }
- /*
- * 장비연동(CDIS/PACS) 중복 체크
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "eqmtifyn") {
- var row = grd_examcurecdlist.row - 1;
- var idx = model.getValue("/root/main/examcurecdlist/item[" + row + "]/eqmtifyn");
- var eqmtifyn = model.getValue("/root/main/examcurecdlist/item[" + row + "]/eqmtifyn");
- var pacsnocretyn = model.getValue("/root/main/examcurecdlist/item[" + row + "]/pacsnocretyn");
-
- if ( eqmtifyn != "N" ) {
- if ( pacsnocretyn != "N" ) {
- messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. PACS연동을 해제합니다.","I999");
- model.SetValue("/root/main/examcurecdlist/item[" + row + "]/pacsnocretyn", "N");
- }
- }
- }
- var irow = grd_examcurecdlist.row - 1;
- if (model.getValue("/root/main/examcurecdlist/item[" + irow + "]/pacsnocretyn") == "N" ) {
- model.setValue("/root/main/examcurecdlist/item[" + irow + "]/etceqmtifyn", "-");
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "pacsnocretyn") {
- var row = grd_examcurecdlist.row - 1;
- var idx = model.getValue("/root/main/examcurecdlist/item[" + row + "]/pacsnocretyn");
- var pacsnocretyn = model.getValue("/root/main/examcurecdlist/item[" + row + "]/pacsnocretyn");
- var eqmtifyn = model.getValue("/root/main/examcurecdlist/item[" + row + "]/eqmtifyn");
-
- if ( pacsnocretyn != "N" ) {
- if ( eqmtifyn != "N" ) {
- messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. CDIS연동을 해제합니다.","I999");
- model.SetValue("/root/main/examcurecdlist/item[" + row + "]/eqmtifyn", "N");
- }
- }
- }
-
-
- /**
- * 분류코드1,2 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsltclscd1") {
- var row = grd_examcurecdlist.row - 1;
- model.setValue("/root/main/examcurecdlist/item[" + row + "]/rsltclscd2", "");
- //alert("1==> " + row);
- var idx = model.getValue("/root/main/examcurecdlist/item[" + row + "]/rsltclscd1");
-
- //alert("2==> " + idx);
- //alert("2==> " + grd_examcurecdlist.colRef("rsltclscd2"));
- //grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/init/baseinfo1/rsltclscd2/A0482[@supcd='"+idx+"']/";
- //grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/hidden/init/comcd/A0482[@supcd='"+idx+"']";
- //grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/init/baseinfo1/rsltclscd2/A0482[supcd='"+idx+"']";
- var idx1 = "";
- //grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/init/cmb_info/initsystmdl[basecdcnts='"+idx+" or basecdcnts = "+idx1+"']";
- //grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/init/cmb_info/initsystmdl[basecdcnts='"+idx+"']";
- grd_examcurecdlist.cellComboNodeset(grd_examcurecdlist.row, grd_examcurecdlist.colRef("rsltclscd2")) = "/root/hidden1/initsystmdl[basecdcnts='"+idx+"']";
-
- /*
- var rownum = grd_examcurecdlist.row - 1;
- var rsltclscd1 = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/rsltclscd1");
- //alert(rsltclscd1);
-
- if ( rsltclscd1 == "" ) return;
- model.resetInstanceNode("/root/init/comcd_info2/initcomcd");
-
- model.setValue("/root/send/srchrsltclscd1", rsltclscd1);
-
-
- submit("TRAEB00207");
- var srchLength1 = model.instances(0).selectNodes( "/root/init/comcd_info/initcomgrupcd" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if ( model.getValue("/root/init/comcd_info/initcomgrupcd["+i+"]/comgrupcdid").getTrim() == rsltclscd1 ) {
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/rsltclscdnm1", model.getValue("/root/init/comcd_info/initcomgrupcd["+i+"]/comgrupcdnm"));
- }
- }
- model.refresh();
- */
-
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsltclscd2") {
- /*
- var rownum = grd_examcurecdlist.row - 1;
- var rsltclscd2 = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/rsltclscd2");
- //alert(rsltclscd1);
-
- if ( rsltclscd2 == "" ) return;
- var srchLength1 = model.instances(0).selectNodes( "/root/init/comcd_info2/initcomcd" ).length;
- for ( var i = 1; i <= srchLength1; i++ ) {
- if ( model.getValue("/root/init/comcd_info2/initcomcd["+i+"]/comcdid").getTrim() == rsltclscd2 ) {
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/rsltclscdnm2", model.getValue("/root/init/comcd_info2/initcomcd["+i+"]/comcdnm"));
- }
- }
- model.refresh();
- */
- }
-
- //2015/02/11 이정택 M-SET처방의 싱글 관리추가
- if(colidx==grd_examcurecdlist.colRef("prcptdayrcptyn") && grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("grupsnglflag"))=='M'){
- if(grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("prcptdayrcptyn"))=='Y'){
- setParameter("excucd", grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("excucd")));
- modal("SPAEB00020");
- }
- }
- //2015/02/11 이정택 M-SET처방의 싱글 관리추가
-
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var colidx = grd_examcurecdlist.col;
- var rowidx = grd_examcurecdlist.row -1;
-
- /**
- * 검사가능장비코드 가져오기.
- if( colidx == 6)
- {
- alert('장비코드');
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- //open("SPAEA02301", "","","", "SPAEA02301", "/root/send/windowloadinstance","/root/init/windowloadinstance");
- }
- */
- /**
- * 제3판독의 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "readdrid3nm")
- {
- var rownum = grd_examcurecdlist.row - 1;
- //var readdrid3 = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/readdrid3");
- fSrchDrInfo();
-
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/readdrid3",
- model.getValue("/root/main/userinfolist/list/userid") ); // 사용자 ID
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/readdrid3nm",
- model.getValue("/root/main/userinfolist/list/usernm") ); // 사용자 이름
-
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- }
- /**
- * 대체코드 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "angioaltprcpcd")
- {
- var rownum = grd_examcurecdlist.row - 1;
- var angiouseyn = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/angiouseyn");
- if ( angiouseyn != "Y" ) {
- messageBox("[조영제사용여부]를 선택하십시오.","I999");
- return true;
- }
- modal("SPAEA02302", "", "200", "200", "SPAEA02302","","");
-
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- }
-
- /**
- * 배정가능검사실코드 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "autroomassgcd")
- {
-
- var rownum = grd_examcurecdlist.row - 1;
- var assgyn = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/autroomassgyn");
- if ( assgyn != "Y" ) {
- messageBox("[자동방배정여부]를 선택하십시오.","I999");
- return true;
- }
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
-
-
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rslttmplcd")
- {
- setParameter("SPMMR01000_openerid", "SMAEB00200");
- setParameter("SPMMR01000_param_flag", "F");
- modal("SPMMR01000");
- var rownum = grd_examcurecdlist.row - 1;
- if(getParameter("SPMMR01000_formcd_rtn") != ""){
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/rslttmplcd", getParameter("SPMMR01000_formcd_rtn"));
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/rslttmplcdnm", getParameter("SPMMR01000_formnm_rtn"));
-
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
-
- model.refresh();
- }
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "ocrtmplcd")
- {
- /*
- window.load( "../../../emr/medirecweb/xrw/SMMMR02500_서식리스트.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
-
- if ( model.getValue("/root/hidden/parameters/formcd") == "" ) return;
- var rownum = grd_examcurecdlist.row - 1;
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/ocrtmplcd",model.getValue("/root/hidden/parameters/formcd"));
- model.refresh();
- */
- }
-
- /**
- * 20150921 권영애 선택진료의 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "specdrcd")
- {
- var rownum = grd_examcurecdlist.row - 1;
- model.makeValue("/root/hidden/checkseq","57");
- model.makeValue("/root/hidden/grupcdid","A0012");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
-
- /**
- * 예약가능검사실코드 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcuroomposscd")
- {
- var rownum = grd_examcurecdlist.row - 1;
- var assgyn = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/rsrvexcupossyn");
- if ( assgyn != "Y" ) {
- messageBox("[예약여부]를 선택하십시오.","I999");
- return true;
- }
- model.makeValue("/root/hidden/checkseq","23");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
- /**
- * 자체예약 검사/치료실 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcuroomposscd2")
- {
- var rownum = grd_examcurecdlist.row - 1;
- var assgyn = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/rsrvexcupossyn");
- if ( assgyn != "Y" ) {
- messageBox("[예약여부]를 선택하십시오.","I999");
- return true;
- }
- model.makeValue("/root/hidden/checkseq","55");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
- /**
- * 나이제한 검사/치료실 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvsono")
- {
- var rownum = grd_examcurecdlist.row - 1;
- model.makeValue("/root/hidden/checkseq","56");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
-
- /**
- * 예약예문코드 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexmptmplcd")
- {
- model.makeValue("/root/hidden/checkseq","26");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
- /**
- * 멀티예약예문코드 가져오기.
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvmultitmplcd")
- {
- model.makeValue("/root/hidden/checkseq","27");
- window.load( "SPAEA02301_코드조회.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- }
-
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvaprvtmplcd")
- {
- setParameter("formlistflag","true");
- window.load( "../../../emr/medirecweb/xrw/SMMMR02500_서식리스트.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
- var rownum = grd_examcurecdlist.row - 1;
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/rsrvaprvtmplcd", getParameter("formcd"));
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- }
-
- /**
- * 검사코드별주의사항 입력
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "excupatrem"){
- model.setValue("/root/send/excupatrem", "");
- grp_excupatrem.visible = true;
- var rownum = grd_examcurecdlist.row - 1;
- var excupatrem = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/excupatrem");
-
- model.setValue("/root/send/excupatrem",excupatrem);
- model.refresh();
- }
-
- // 2010.12.15 c y w 분류 상세내역 입력버튼 추가
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "excucdrem"){
- model.setValue("/root/send/excucdrem", "");
- grp_excucdrem.visible = true;
- var rownum = grd_examcurecdlist.row - 1;
- var excucdrem = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/excucdrem");
-
- model.setValue("/root/send/excucdrem",excucdrem);
- grd_examcurecdlist.addStatus( grd_examcurecdlist.row ,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- }
-
- // 2010.12.23 c y w 시행부서 팝업추가
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "prcpexecdeptcd1"){
- modal("SPMMB02500");
-
- if( model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd") != ""){
-
- model.setValue("/root/main/examcurecdlist/item["+ rowidx +"]/prcpexecdeptcd1", model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd"));
- model.setValue("/root/main/examcurecdlist/item["+ rowidx +"]/prcpexecdeptcd", model.getValue("/root/main/prcp/prcplist/prcpexecdeptcd"));
- grd_examcurecdlist.addStatus( grd_examcurecdlist.row ,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- }
- }
-
-
- /**
- * 결과 tmpl 미리보기
- * 20101013 -박재영
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rslttmplcdnm"){
- var rownum = grd_examcurecdlist.row - 1;
- var valu = model.getValue("/root/main/examcurecdlist/item["+rownum+"]/rslttmplcd");
- if( valu != ""){
- setParameter("openmode", "preview"); //오픈모드는 “newform”
- setParameter("formcd", valu); //서식테이블의 formcd(서식코드)
- modal("SSMMR01100", 1, 0, 0 ,"", "", "");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //alert('onclick->'+grd_examcurecdlist.mouseCol);
- var iRow = grd_examcurecdlist.row - 1 ;
- //alert(iRow);
- var colidx = grd_examcurecdlist.col;
-
- // 자동방배정 체크박스
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "autroomassgyn") {
- //alert('autroomassgcd');
- var check = model.getValue("/root/main/examcurecdlist/item["+iRow+"]/autroomassgyn");
- if ( check == "N" ) model.setValue("/root/main/examcurecdlist/item["+iRow+"]/autroomassgcd", "");
- }
-
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rslttmplcd") {
- //alert('rslttmplcd');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- /* if(grd_examcurecdlist.mouseCol == 14){
- if ( model.getValue("/root/main/examcurecdlist/item["+iRow+"]/autroomassgyn") == "Y" ) {
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/autroomassgyn","N");
- }else {
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/autroomassgyn","Y");
- }
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- */
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "ocrtmplcd") {
- //alert('ocrtmplcd');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "eqmtifyn") {
- //alert('eqmtifyn');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- // 예약여부 체크박스
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcupossyn") {
- //alert('rsrvexcupossyn');
- var check = model.getValue("/root/main/examcurecdlist/item["+iRow+"]/rsrvexcupossyn");
- if ( check == "N" ) {
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/rsrvexcuroomposscd", "");
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/rsrvplceflag", "");
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/excutm", "");
- model.setValue("/root/main/examcurecdlist/item["+iRow+"]/rsrvexmptmplcd", "");
- }
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcuroomposscd") {
- //alert('rsrvexcuroomposscd');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexmptmplcd") {
- //alert('rsrvexmptmplcd');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
- if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvaprvtmplcd") {
- //alert('rsrvaprvtmplcd');
- grd_examcurecdlist.addStatus(iRow, "update");
- }
-
- //2014/11/19 이정택 추가(원무과, 원무팀, PAM)
- if(getUserInfo("dutplcecd")=='4040300000' || getUserInfo("dutplcecd")=='4040326000' || getUserInfo("userid")=='PAM'){
- //이정택 추가(검사일수납 클릭시 미수예약도 같이 움직이도록 프로그램 수정)
- if(grd_examcurecdlist.col==grd_examcurecdlist.colRef("prcptdayrcptyn")){
- var row = grd_examcurecdlist.row;
- grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"));
- }
-
- // 이정택 추가(미수예약 클릭시 검사일 수납항목을 체크하도록 프로그램 수정)
- if(grd_examcurecdlist.col==grd_examcurecdlist.colRef("rcptrsrvyn")){
- var row = grd_examcurecdlist.row;
- if(grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=="N"){
- if(grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"))=="Y"){
- messageBox("검사일 수납에 체크가 되어 있을시, 미수예약은 체크해제가\n불가능합니다.", "E");
- grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"));
- return;
- }
- }
- }
- }
- //2014/11/19 이정택 추가
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_examcurecdlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:146px; height:14px; ">검사/치료 코드 현황</caption>
- <button id="btn_grdcopy" class="btn2_letter3" style="left:1018px; top:49px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/hidden/item");
- var grdrow = grd_examcurecdlist.row-1;
- if (grdrow < 0){
- messageBox("복사할 행을 선택하시기 바랍니다.", "E999", "");
- return;
- }
- model.copyNode("/root/hidden/item","/root/main/examcurecdlist/item["+ grdrow +"]");
- grd_examcurecdlist.insertItem(grdrow+1);
- model.setValue("/root/hidden/item/excucd", "");
- model.setValue("/root/hidden/item/excucdnm", "");
- model.copyNode("/root/main/examcurecdlist/item["+ grdrow +"]","/root/hidden/item");
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"insert");
- grd_examcurecdlist.dispatch("xforms-value-changed");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" visibility="hidden" style="left:644px; top:49px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_examcurecdlist.addItem();
-
- grd_examcurecdlist.addRow();
- grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1) = "../../../com/commonweb/images/icon_i.gif";
- //alert(model.getValue("/root/send/globalinstance/instance1"));
- var cnt = parseInt(grd_examcurecdlist.row) - 1;
-
- //alert('row->'+ cnt );
- //alert(model.getValue("/root/main/examcurecdlist/item[" + cnt + "]/basesuppdeptcd"));
-
- model.setValue("/root/main/examcurecdlist/item[" + cnt + "]/basesuppdeptcd",
- model.getValue("/root/send/globalinstance/instance1") );
- model.setValue("/root/main/examcurecdlist/item[" + cnt + "]/anotestyn", "Y" );
- model.setValue("/root/main/examcurecdlist/item[" + cnt + "]/sytserdispyn", "N" );
- model.setValue("/root/main/examcurecdlist/item[" + cnt + "]/sytshealdispyn", "N" );
-
- model.setValue("/root/main/examcurecdlist/item[" + cnt + "]/excutodd", "99991231");
- var irow = grd_examcurecdlist.row;
- grd_examcurecdlist.row = irow;
- grd_examcurecdlist.topRow = irow;
- //model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1072px; top:49px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"delete");
-
- var row = grd_examcurecdlist.row;
- grd_examcurecdlist.addStatus(row, "delete");
- grd_examcurecdlist.cellStyle("background-image", grd_examcurecdlist.row, 1) = "../../../com/commonweb/images/icon_d.gif";
- ]]>
- </script>
- </button>
- <button id="btn_selcalcscorcd" class="btn2_letter9" style="left:897px; top:49px; width:119px; height:19px; ">
- <caption>검사코드조회및추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/temp/templst/list");
- var sessiondept = model.getValue("/root/send/globalinstance/instance1");
- fGetCalScorCd( "cd", "", "Y"/*bMultiyn*/ , "/root/temp/templst" /*vMultiDestXPath*/, "" /*vCdDestXPath*/, "" /*vNmDestXPath*/, "" /*vAmtDestXPath*/);
-
- // 2010.11.19 c y w 검사코드 추가시 기본값셋팅
- var tempcnt = getNodesetCount("/root/temp/templst");
- for( var i = 1 ; i <= tempcnt ; i++ ) {
- model.makeValue("/root/temp/templst/list["+ i +"]/rsltdispgbn" , model.getValue("/root/main/examcurecdlist/item[1]/rsltdispgbn") );
- model.makeValue("/root/temp/templst/list["+ i +"]/prcpexecdeptcd" , model.getValue("/root/main/examcurecdlist/item[1]/prcpexecdeptcd") );
- model.makeValue("/root/temp/templst/list["+ i +"]/prcpexecdeptcd1" , model.getValue("/root/main/examcurecdlist/item[1]/prcpexecdeptcd") );
- // alert( model.getValue("/root/main/examcurecdlist/item[1]/prcpexecdeptcd") );
- }
-
- fSetOcd(grd_examcurecdlist , "/root/temp/templst/list" , 2, "Y", "excucd", "excucdnm", sessiondept, "1" );
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter9" style="left:776px; top:49px; width:119px; height:19px; ">
- <caption>수가코드조회-보험</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPIC00700");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter5" style="left:699px; top:49px; width:75px; height:19px; ">
- <caption>마스터검증</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- modal("SMAEA04300","","","","","","");
-
- ]]>
- </script>
- </button>
- <group id="grp_excupatrem" visibility="hidden" style="left:435px; top:265px; width:445px; height:245px; ">
- <textarea id="textarea1" ref="/root/send/excupatrem" style="left:5px; top:30px; width:435px; height:180px; "/>
- <button id="btn_cls" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_excupatrem.visible = false;
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
- <caption>적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = grd_examcurecdlist.row - 1;
- var excupatrem = model.getValue("/root/send/excupatrem");
-
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/excupatrem",excupatrem);
-
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
-
- model.setValue("/root/send/excupatrem","");
- grp_excupatrem.visible = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption32" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">검사 주의사항</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
- </group>
- <group id="grp_excucdrem" visibility="hidden" style="left:435px; top:265px; width:445px; height:245px; ">
- <textarea id="textarea2" ref="/root/send/excucdrem" style="left:5px; top:30px; width:435px; height:180px; "/>
- <button id="button4" class="btn4_letter2" style="left:380px; top:215px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_excucdrem.visible = false;
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:320px; top:215px; width:56px; height:22px; ">
- <caption>적용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rownum = grd_examcurecdlist.row - 1;
- var excucdrem = model.getValue("/root/send/excucdrem");
-
- model.setValue("/root/main/examcurecdlist/item["+rownum+"]/excucdrem",excucdrem);
-
- grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
- grd_examcurecdlist.dispatch("xforms-value-changed");
-
- model.setValue("/root/send/excucdrem","");
- grp_excucdrem.visible = false;
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:10px; top:13px; width:173px; height:14px; ">분류 상세내역</caption>
- <shape id="rectangle2" appearance="rectangle" style="left:0px; top:0px; width:445px; height:245px; "/>
- </group>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("검사코드를","Q002")==6 ) {
-
- var check = fCheckExCuCd();
-
- if ( check == "1" ) return;
-
- //alert(grd_examcurecdlist.getUpdateData());
- model.makeValue("/root/send/req/data1", grd_examcurecdlist.getUpdateData());
-
- if( submit("TXAEB00201") ) {
- model.setValue("/root/send/srchexamcurecd","%");
- model.setValue("/root/send/srchexamcurenm","%");
-
- /*
- submit("TRAEB00201");
- model.setValue("/root/send/srchexamcurecd","");
- model.setValue("/root/send/srchexamcurenm","");
-
- model.refresh();
- */
- btn_sea.dispatch("DOMActivate");
- grd_examcurecdlist.topRow = 1;
- }
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:126px; height:14px; ">검사/치료코드관리</caption>
- </group>
- <button id="button12" class="btn2_letter4" style="left:1126px; top:62px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_examcurecdlist.saveExcel(file);
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|