12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592 |
- <?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>
- <![CDATA[d]]>
- <xhtml:title>선택진료신청관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <h_sasm>
- <sasm>
- <instcd/>
- <ocrtag/>
- <pid/>
- <orddd/>
- <cretno/>
- <ioflag/>
- <msflag/>
- <orddeptkind/>
- <seqno/>
- <histstat/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <choiflag/>
- <specorddeptcd/>
- <specdrid/>
- <appdd/>
- <signflag/>
- <remfact/>
- <returnyn/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <list1specdrid/>
- <list1choiflag/>
- <list2specdrid/>
- <list2choiflag/>
- <list3specdrid/>
- <list3choiflag/>
- <list4specdrid/>
- <list4choiflag/>
- <list5specdrid/>
- <list5choiflag/>
- <list6specdrid/>
- <list6choiflag/>
- <list7specdrid/>
- <list7choiflag/>
- <list8specdrid/>
- <list8choiflag/>
- </sasm>
- </h_sasm>
- <inform>
- <instcd/>
- <ocrtag/>
- <pid/>
- <orddd/>
- <cretno/>
- <ioflag/>
- <msflag/>
- <orddeptkind/>
- <seqno/>
- <histstat/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <choiflag/>
- <specorddeptcd/>
- <specdrid/>
- <appdd/>
- <signflag/>
- <remfact/>
- <returnyn/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <list1specdrid/>
- <list1choiflag/>
- <list2specdrid/>
- <list2choiflag/>
- <list3specdrid/>
- <list3choiflag/>
- <list4specdrid/>
- <list4choiflag/>
- <list5specdrid/>
- <list5choiflag/>
- <list6specdrid/>
- <list6choiflag/>
- <list7specdrid/>
- <list7choiflag/>
- <list8specdrid/>
- <list8choiflag/>
- </inform>
- <patappinfo>
- <patappinfo1/>
- </patappinfo>
- <h_print>
- <h_sasm>
- <sasm/>
- </h_sasm>
- <h_confm>
- <confm/>
- </h_confm>
- </h_print>
- </main>
- <send>
- <data1>
- <flag/>
- <pid/>
- <ioflag/>
- <choiflag/>
- <indd_fromdd/>
- <indd_todd/>
- <appfromdd/>
- <apptodd/>
- <orddeptcd/>
- <orddrid/>
- <inform_orddeptcd/>
- <inform_orddrid/>
- <allcheckyn/>
- <ocrtag/>
- <srchtype/>
- </data1>
- <data2>
- <instcd/>
- <ocrtag/>
- <pid/>
- <orddd/>
- <cretno/>
- <ioflag/>
- <msflag/>
- <orddeptkind/>
- <seqno/>
- <histstat/>
- <fromdd/>
- <todd/>
- <ioflag/>
- <orddeptcd/>
- <orddrid/>
- <specordyn/>
- <choiflag/>
- <specorddeptcd/>
- <specdrid/>
- <appdd/>
- <signflag/>
- <remfact/>
- <returnyn/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <list1specdrid/>
- <list1choiflag/>
- <list2specdrid/>
- <list2choiflag/>
- <list3specdrid/>
- <list3choiflag/>
- <list4specdrid/>
- <list4choiflag/>
- <list5specdrid/>
- <list5choiflag/>
- <list6specdrid/>
- <list6choiflag/>
- <list7specdrid/>
- <list7choiflag/>
- <list8specdrid/>
- <list8choiflag/>
- <cnclyn/>
- </data2>
- <data3/>
- <ocrtag/>
- </send>
- <hidden>
- <init/>
- <session/>
- </hidden>
- <init>
- <orddeptcd>
- <cd>-</cd>
- <nm>-</nm>
- </orddeptcd>
- <orddrid>
- <cd>-</cd>
- <nm>-</nm>
- <dp>-</dp>
- <sp>-</sp>
- </orddrid>
- </init>
- </root>
- </instance>
- <submission id="TRPMC06550" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/init"/>
- <submission id="TRPMC06571" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/h_sasm"/>
- <submission id="TRPMC06553" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/h_sdsm"/>
- <submission id="TRPMC06554" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/h_print"/>
- <submission id="TRPMC06555" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/h_print"/>
- <submission id="TXPMC06571" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/h_sasm"/>
- <submission id="TXPMC06572" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/h_sasm"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../pam/patinfomngtweb/js/SMPMC06501.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/opatmngtweb/js/PMOCOM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetUserInfosSampling(); //세션/root/hidden/session
-
- //원무사용 기초코드 조회 cache기능 추가 오류심할시 위 주석으로 대체할것
- if ( copyFromCache("TRPMC06550_depttree","/root/init")){
- //
- }else{
- if (submit("TRPMC06550")) {
- storeIntoCache("TRPMC06550_depttree","/root/init","540");
- }
- }
- //addComboItem("cmb_orddeptcd" , "전체","","above");
- //addComboItem("cmb_orddrid" , "전체","","above");
- var today = getCurrentDate();
- //model.setValue("/root/send/data1/flag" ,"1");
- model.setValue("/root/send/data1/pid" ,"");
- model.setValue("/root/send/data1/ioflag" ,"");
- //model.setValue("/root/send/data1/choiflag" ,"%");
-
- model.setValue("/root/send/data1/indd_fromdd" ,"");
- model.setValue("/root/send/data1/indd_todd" ,"");
- model.setValue("/root/send/data1/appfromdd" ,"");
- model.setValue("/root/send/data1/apptodd" ,"");
- model.setValue("/root/send/data1/orddeptcd","");
- model.setValue("/root/send/data1/orddrid","");
-
- model.setValue("/root/main/inform/orddd", "");
- model.setValue("/root/main/inform/fromdd", "");
- model.setValue("/root/main/inform/todd", "99991231");
- model.setValue("/root/main/inform/cretno", "");
- model.setValue("/root/main/inform/choiflag" , "B");
- //var pid_cnt = getNodesetCount("/root/main/patappinfo/patappinfo1/pid");
- var pid = model.getValue("/root/main/patappinfo/patappinfo1/pid");
- if(pid != '' && pid != '-') {
- var p_pid = model.getValue("/root/main/patappinfo/patappinfo1/pid");
- var p_ioflag = model.getValue("/root/main/patappinfo/patappinfo1/ordtype");
- var p_orddeptcd = model.getValue("/root/main/patappinfo/patappinfo1/orddeptcd");
- var p_orddrid = model.getValue("/root/main/patappinfo/patappinfo1/orddrid");
- var p_orddd = model.getValue("/root/main/patappinfo/patappinfo1/orddd");
- var p_fromdd = model.getValue("/root/main/patappinfo/patappinfo1/fromdd");
- var p_ocrtag = model.getValue("/root/main/patappinfo/patappinfo1/ocrtag");
- var p_autoprntyn = model.getValue("/root/main/patappinfo/patappinfo1/autoprntyn");
- var p_cretno = model.getValue("/root/main/patappinfo/patappinfo1/cretno");
-
- //2017/06/02 이정택 추가
- var allrtnyn = model.getValue("/root/main/patappinfo/patappinfo1/allrtnyn");
- model.setValue("/root/send/data1/pid" , p_pid);
-
- //2017/06/02 이정택 추가
- if(allrtnyn=='Y'){
- model.makeValue("/root/send/data1/allrtnyn" , "Y");
- }else{
- model.setValue("/root/send/data1/ocrtag" , p_ocrtag);
- model.makeValue("/root/send/data1/allrtnyn" , "N");
- }
- model.setValue("/root/main/inform/pid" , p_pid);
- model.setValue("/root/main/inform/ioflag" , p_ioflag);
- model.setValue("/root/main/inform/orddeptcd" , p_orddeptcd);
- model.setValue("/root/main/inform/orddrid" , p_orddrid);
- cmb_data2_orddrid.dispatch("xforms-value-changed");
- //model.setValue("/root/main/inform/specordyn" , "Y");
- model.setValue("/root/main/inform/orddd" , p_orddd);
- model.setValue("/root/main/inform/fromdd" , p_fromdd);
- model.setValue("/root/main/inform/todd" , "99991231");
- model.setValue("/root/main/inform/remfact" , "");
- //model.setValue("/root/main/inform/rsrvdd" , "");
- //model.setValue("/root/main/inform/choiflag" , "B");
- model.setValue("/root/main/inform/appdd" , today);
- //model.setValue("/root/main/inform/elctappdd" , today);
- model.setValue("/root/main/inform/cretno", p_cretno);
-
- //선택진료위임 일괄 체크
- model.setValue("/root/send/data1/allcheckyn", "B");
- bool2.dispatch("xforms-value-changed");
- model.setValue("/root/send/data1/inform_orddeptcd" ,p_orddeptcd);
- model.setValue("/root/send/data1/inform_orddrid" ,p_orddrid);
- fcmb_data2_orddridNEW();
- //fSasmSearch_init();
-
- // 응급실 접수의 경우 자동출력처리
- if ( p_autoprntyn == "Y") {
-
- // 신규저장
- btn_insert.dispatch("DOMActivate");
- // button3.dispatch("DOMActivate"); //신규저장 시 자동제출확인 되도록 수정하여 주석처리함 - 20130917
- // 자동닫기처리
- window.close();
-
- } else {
-
- // 선택진료신청서 조회
- fSpifSearch();
- }
- }
-
- //model.setValue("/root/send/data1/pid" , "1280686");
- //사인패드 초기화
- //fsignpad_init();
- //fModelRefresh();
-
- //버튼 초기화
- // btn_insertc.disabled = false;
- // btn_insert.disabled = false;
- // btn_save.disabled = true;
-
- btn_insert.disabled = false; //신규저장
- btn_save.disabled = true; //수정
- button1.disabled = false; //선택진료해지
- button3.disabled = false; //OCR제출확인
- button6.disabled = false; //OCR제출취소
- button4.disabled = true; //삭제
- button7.disabled = true; //삭제취소
-
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- // 선택진료 변경/해지 신청서 재출력
- function fSPIFChangeForm() {
-
- model.makeValue("/root/main/prnpatinfo/seq", model.getValue("/root/main/rexpert/patappinfo1/ocrtag"));
- model.makeValue("/root/hidden/original/icdr/icdr_pid", model.getValue("/root/main/rexpert/patappinfo1/pid"));
- model.makeValue("/root/send/hngnm", model.getValue("/root/main/rexpert/patappinfo1/hngnm"));
- model.makeValue("/root/main/prnpatinfo/orddeptabbr", model.getValue("/root/main/rexpert/patappinfo1/deptengabbr"));
- model.makeValue("/root/main/prnpatinfo/rrgstno1", model.getValue("/root/main/rexpert/patappinfo1/rrgstno1"));
- model.makeValue("/root/main/prnpatinfo/rrgstno2", model.getValue("/root/main/rexpert/patappinfo1/rrgstno2"));
- model.makeValue("/root/send/req/orddd", model.getValue("/root/main/rexpert/patappinfo1/orddd"));
- model.makeValue("/root/send/req/address", model.getValue("/root/main/rexpert/patappinfo1/zipcdaddr") + " " + model.getValue("/root/main/rexpert/patappinfo1/detladdr"));
- model.makeValue("/root/send/req/telno", model.getValue("/root/main/rexpert/patappinfo1/tel"));
- model.makeValue("/root/send/req/hospnm", model.getValue("/root/main/rexpert/patappinfo1/hospnm") + "장 귀하");
- model.makeValue("/root/send/req/curdate", getCurrentDate());
- model.makeValue("/root/send/req/curtm", getCurrentTime());
- model.makeValue("/root/send/req/usernm", getUserName());
-
- exeReportPreview("RPPMI02704","XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- }
- function fPrint(row){
-
- //2011-11-09 전자서명인 경우 서식재발행 불가
- if( model.getValue("/root/main/h_sasm/sasm[" + row + "]/signflag") == 'E' ){
- messageBox("전자서명의 경우 OCR서식 재발행 불가합니다! 다시 확인해 주세요!", "E999", "");
- return false;
- }
-
- model.removeNodeset("/root/main/rexpert");
-
- model.makeValue("/root/main/rexpert/patappinfo1/pid", model.getValue("/root/main/h_sasm/ptbs/ptbs_pid"));
- model.makeValue("/root/main/rexpert/patappinfo1/hngnm", model.getValue("/root/main/h_sasm/ptbs/ptbs_hngnm"));
- model.makeValue("/root/main/rexpert/patappinfo1/zipcdaddr", model.getValue("/root/main/h_sasm/ptbs/ptbs_zipcdaddr"));
- model.makeValue("/root/main/rexpert/patappinfo1/detladdr", model.getValue("/root/main/h_sasm/ptbs/ptbs_detladdr"));
- model.makeValue("/root/main/rexpert/patappinfo1/tel", model.getValue("/root/main/h_sasm/ptbs/ptbs_hometel"));
- model.makeValue("/root/main/rexpert/patappinfo1/rrgstno1", model.getValue("/root/main/h_sasm/ptbs/ptbs_rrgstno1"));
- model.makeValue("/root/main/rexpert/patappinfo1/rrgstno2", model.getValue("/root/main/h_sasm/ptbs/ptbs_rrgstno2"));
-
- model.makeValue("/root/main/rexpert/patappinfo1/usernm", model.getValue("/root/hidden/session/sess_usernm"));
- model.makeValue("/root/main/rexpert/patappinfo1/hospnm", model.getValue("/root/hidden/session/sess_dutplceinstnm"));
-
- model.makeValue("/root/main/rexpert/patappinfo1/ocrtag", model.getValue("/root/main/h_sasm/sasm[" + row + "]/ocrtag"));
- model.makeValue("/root/main/rexpert/patappinfo1/orddd", model.getValue("/root/main/h_sasm/sasm[" + row + "]/orddd"));
- model.makeValue("/root/main/rexpert/patappinfo1/appdd", model.getValue("/root/main/h_sasm/sasm[" + row + "]/appdd"));
- var orddeptcd = model.getValue("/root/main/h_sasm/sasm[" + row + "]/orddeptcd");
- model.makeValue("/root/main/rexpert/patappinfo1/orddeptcd", orddeptcd);
- var orddeptnm = model.getValue("/root/init/orddeptcd[cd = '" + orddeptcd + "']/nm");
- model.makeValue("/root/main/rexpert/patappinfo1/orddeptnm", orddeptnm);
- var orddrid = model.getValue("/root/main/h_sasm/sasm[" + row + "]/orddrid");
- model.makeValue("/root/main/rexpert/patappinfo1/orddrid", orddrid);
- var orddrnm = model.getValue("/root/init/orddrid[cd = '" + orddrid + "' and dp = '" + orddeptcd + "']/nm");
- model.makeValue("/root/main/rexpert/patappinfo1/orddrnm", orddrnm);
- model.makeValue("/root/main/rexpert/patappinfo1/maindrnm", orddrnm);
- model.makeValue("/root/main/rexpert/patappinfo1/ioflag", model.getValue("/root/main/h_sasm/sasm[" + row + "]/ioflag"));
- var deptengabbr = model.getValue("/root/init/orddeptcd[cd = '" + orddeptcd + "']/deptengabbr2");
- model.makeValue("/root/main/rexpert/patappinfo1/deptengabbr", deptengabbr);
- model.makeValue("/root/main/rexpert/patappinfo1/specordyn", model.getValue("/root/main/h_sasm/sasm[" + row + "]/specordyn"));
-
- model.makeValue("/root/main/rexpert/patappinfo1/specordyn", model.getValue("/root/main/h_sasm/sasm[" + row + "]/specordyn"));
-
- if( model.getValue("/root/main/h_sasm/sasm[" + row + "]/signflag") == 'O' ){
- //exeReportPreview("RPPMC06504", "XMLSTR", "/root/main/rexpert", "", "true", "", "", "", "", "");
- exeReportPreview("RPPMC06504", "XMLSTR", "/root/main/rexpert", "", "true", "", "", "", "", "true");
- }else {
- fSPIFChangeForm();
- }
- return;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="690">
- <line id="line15" class="line_2" style="x1:630px; y1:260px; x2:1001px; y2:260px; "/>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">선택진료신청관리</caption>
- </group>
- <group id="group3" scroll="aufWritenInitialto" style="left:0px; top:14px; width:1195px; height:646px; ">
- <line id="line48" class="line_1" style="x1:0px; y1:112px; x2:625; y2:112px; "/>
- <caption id="caption38" class="tit_2" style="left:5px; top:97px; width:144px; height:13px; ">선택진료신청내역</caption>
- <caption id="caption8" class="cell_1" style="left:631px; top:233px; width:147px; height:48px; font-family:돋움, Arial; font-size:12pxpt; font-weight:normal; color:#000000; text-align:center; vertical-align:middle; border-width:1px; ">진료지원항목</caption>
- <caption id="caption28" class="cell_1" style="left:892px; top:233px; width:109px; height:48px; font-family:돋움, Arial; font-size:12pxpt; font-weight:normal; color:#000000; text-align:center; vertical-align:middle; border-width:1px; ">
- <![CDATA[선택진료의사
- 위임]]>
- </caption>
- <caption id="caption27" class="cell_1" style="left:781px; top:233px; width:109px; height:48px; font-family:돋움, Arial; font-size:12pxpt; font-weight:normal; color:#000000; text-align:center; vertical-align:middle; border-width:1px; ">선택진료의사성명</caption>
- <caption id="caption36" class="cell_1" style="left:631px; top:331px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">영상진단</caption>
- <caption id="caption37" class="cell_1" style="left:631px; top:307px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">검사</caption>
- <caption id="caption39" class="cell_1" style="left:631px; top:356px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">방사선치료</caption>
- <caption id="caption40" class="cell_1" style="left:631px; top:283px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">진찰</caption>
- <caption id="caption41" class="cell_1" style="left:631px; top:431px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">정신요법</caption>
- <caption id="caption16" class="cell_1" style="left:631px; top:406px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">마취</caption>
- <caption id="caption17" class="cell_1" style="left:631px; top:381px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">방사선혈관촬영</caption>
- <caption id="caption25" class="cell_1" style="left:631px; top:79px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">입원/진료일</caption>
- <caption id="caption42" style="left:1112px; top:33px; width:15px; height:8px; text-align:center; ">-</caption>
- <caption id="caption11" class="cell_1" style="left:631px; top:30px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">환자번호</caption>
- <caption id="caption4" class="cell_1" style="left:798px; top:30px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">환자성명</caption>
- <caption id="caption5" class="cell_1" style="left:984px; top:30px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">주민번호</caption>
- <caption id="caption1" class="cell_1" style="left:798px; top:55px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">진료과</caption>
- <caption id="caption23" class="cell_1" style="left:631px; top:55px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">진료형태</caption>
- <line id="line9" class="line_1" style="x1:630px; y1:228px; x2:1001px; y2:228px; "/>
- <caption id="caption52" class="tit_2" style="left:634px; top:214px; width:126px; height:13px; ">선택진료의사 정보</caption>
- <caption id="caption71" class="cell_1" style="left:798px; top:79px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">시작일</caption>
- <!-- 선택진료의사 정보 입력, 수정방법을 변경하기 위해 존재, 사용인스턴스 : /root/main/patappinfolist, /root/hidden/patappinfolist -->
- <caption id="caption43" class="tit_2" style="left:634px; top:11px; width:81px; height:13px; ">환자정보</caption>
- <line id="line1" class="line_1" style="x1:630px; y1:25px; x2:1191px; y2:25px; "/>
- <button id="button12" class="btn5_letter6" disabled="false" navindex="2" visibility="visible" style="left:1105px; top:5px; width:86px; height:19px; background-color:#99ccff; ">
- <caption>선택진료해지</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규내역은 선택진료해지 할 수 없습니다. \n신청내역에서 해지할 선택진료서명내역을 선택하세요", "E999", "");
- return false;
- }
-
- //종료일자 체크 - 기존 종요일과 수정된 종료일자가 같은 경우 메세지
- if( model.getValue("/root/main/inform/todd") == model.getValue("/root/main/inform/todd_org") ){
- messageBox("종료일자가 기존 서명정보와 같습니다. 선택진료 해지 할 일자를 종료일에 입력해주세요!", "E999", "");
- return false;
- }
-
- fSave_cnclSpif();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter7" navindex="2" visibility="visible" style="left:918px; top:5px; width:97px; height:19px; background-color:#99ccff; ">
- <caption>신규입력초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_insertc.disabled = false;
- btn_insert.disabled = false;
- btn_save.disabled = true;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <group id="group4" style="left:0px; top:5px; width:626px; height:82; ">
- <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:624px; height:81px; "/>
- <line id="line40" class="line_4" style="x1:551px; y1:55px; x2:551px; y2:78px; "/>
- <caption id="caption32" class="search_name" style="left:2px; top:7px; width:91px; height:17px; ">환자번호 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:560px; top:55px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/data1/pid") == '' ){
- messageBox("환자번호는 조회 필수조건입니다. 환자번호를 입력하신 후 조회하세요!", "E999", "");
- return false;
- }
- fSpifSearch();
- ]]>
- </script>
- </button>
- <caption id="caption72" class="search_name" style="left:3px; top:56px; width:102px; height:17px; text-align:justify; ">주 진 료 과:</caption>
- <caption id="caption73" class="search_name" style="left:297px; top:6px; width:88px; height:17px; ">진료형태:</caption>
- <caption id="caption75" class="search_name" style="left:2px; top:31px; width:119px; height:17px; ">입원/진료일자:</caption>
- <caption id="caption77" class="search_name" style="left:297px; top:31px; width:83px; height:17px; ">신청일자:</caption>
- <caption id="caption76" class="search_name" style="left:297px; top:56px; width:79px; height:17px; ">진료의:</caption>
- <select1 id="cmb_ioflag" ref="/root/send/data1/ioflag" appearance="minimal" style="left:379px; top:5px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>%</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_pid" ref="/root/send/data1/pid" class="input_s_essential" navindex="11" style="left:117px; top:6px; width:175px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
-
- if( model.getValue("/root/send/data1/pid") == '' ){
-
- messageBox("환자번호는 조회 필수조건입니다. 환자번호를 입력하신 후 조회하세요!", "E999", "");
- return false;
- }
-
- fSpifSearch();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_fromdd" ref="/root/send/data1/indd_fromdd" class="input_default" navindex="11" inputtype="date" style="left:117px; top:31px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/data1/indd_todd" class="input_default" navindex="11" inputtype="date" style="left:207px; top:31px; width:85px; height:19px; "/>
- <input id="ipt_appfromdd" ref="/root/send/data1/appfromdd" class="input_default" navindex="11" inputtype="date" style="left:379px; top:31px; width:85px; height:19px; "/>
- <input id="ipt_apptodd" ref="/root/send/data1/apptodd" class="input_default" navindex="11" inputtype="date" style="left:468px; top:31px; width:85px; height:19px; "/>
- <select1 id="cmb_orddeptcd" ref="/root/send/data1/orddeptcd" appearance="minimal" style="left:117px; top:55px; width:175px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/send/data1/orddrid" appearance="minimal" style="left:379px; top:55px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption9" class="search_name" style="left:440px; top:6px; width:58px; height:17px; ">OCR:</caption>
- <input id="input3" ref="/root/send/data1/ocrtag" navindex="11" style="left:500px; top:5px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
-
- model.setValue("/root/send/data1/ocrtag", model.getValue("/root/send/data1/ocrtag").substring(0,13));
- input3.refresh();
-
- if( model.getValue("/root/send/data1/ocrtag") == '' ){
-
- messageBox("OCR 번호는 조회 필수조건입니다. OCR 번호를 입력하신 후 조회하세요!", "E999", "");
- return false;
- }
-
- fSpifSearch();
- }
- ]]>
- </script>
- </input>
- <select id="checkbox2" ref="/root/send/data1/srchtype" overflow="visible" appearance="full" style="left:478px; top:57px; width:72px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>삭제포함</label>
- <value>all</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption2" class="cell_1" style="left:985px; top:80px; width:59px; height:20px; ">종료일</caption>
- <line id="line5" class="line_2" style="x1:630px; y1:127px; x2:1191px; y2:127px; "/>
- <select1 id="cmb_data2_ioflag" ref="/root/main/inform/ioflag" appearance="minimal" style="left:708px; top:57px; width:88; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_data2_orddeptcd" ref="/root/main/inform/orddeptcd" class="combo_search" appearance="minimal" style="left:858px; top:57px; width:125; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fcmb_data2_orddridNEW();
- //fSdsmList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_data2_orddrid" ref="/root/main/inform/orddrid" class="combo_search" appearance="minimal" style="left:1044px; top:57px; width:82px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSdsmList();
-
- var specordyn = model.getValue("/root/init/orddrid[cd = '" + cmb_data2_orddrid.value + "' and dp = '" + cmb_data2_orddeptcd.value + "']/sp");
- model.setValue("/root/main/inform/specordyn", specordyn);
- cmb_data2_specordyn.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_data2_orddd" ref="/root/main/inform/orddd" class="input_default" disabled="false" navindex="1" inputtype="date" maxlength="10" appearance="input" style="left:708px; top:81px; width:88; height:19px; "/>
- <input id="ipt_data2_fromdd" ref="/root/main/inform/fromdd" class="input_default" disabled="false" navindex="1" inputtype="date" maxlength="10" appearance="input" style="left:858px; top:81px; width:125; height:19px; "/>
- <input id="ipt_data2_todd" ref="/root/main/inform/todd" class="input_default" inputtype="date" format="yyyy-mm-dd" style="left:1045px; top:80px; width:82px; height:19px; "/>
- <select1 id="cmb_list1_1" ref="/root/main/inform/list1specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:285px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list1_yn" checkvalue="B,C" ref="/root/main/inform/list1choiflag" style="left:941px; top:288px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list2_1" ref="/root/main/inform/list2specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:309px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list2_yn" checkvalue="B,C" ref="/root/main/inform/list2choiflag" style="left:941px; top:312px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list3_1" ref="/root/main/inform/list3specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:333px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list3_yn" checkvalue="B,C" ref="/root/main/inform/list3choiflag" style="left:941px; top:335px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list4_1" ref="/root/main/inform/list4specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:357px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list4_yn" checkvalue="B,C" ref="/root/main/inform/list4choiflag" style="left:941px; top:361px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list5_1" ref="/root/main/inform/list5specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:383px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list5_yn" checkvalue="B,C" ref="/root/main/inform/list5choiflag" style="left:941px; top:384px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list6_1" ref="/root/main/inform/list6specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:408px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list6_yn" checkvalue="B,C" ref="/root/main/inform/list6choiflag" style="left:941px; top:410px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <select1 id="cmb_list7_1" ref="/root/main/inform/list7specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:433px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </select1>
- <bool id="bl_list7_yn" checkvalue="B,C" ref="/root/main/inform/list7choiflag" style="left:941px; top:436px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <caption id="caption13" class="cell_1" style="left:984; top:55px; width:59px; height:23; ">진료의</caption>
- <datagrid id="grd_sasm" nodeset="/root/main/h_sasm/sasm" class="datagrid2" caption="환자번호^환자
성명^진료
형태^입원/
진료일자^진료과^진료의^시작일자^종료일자^주부
구분^서명구분^선택구분^생년월일^주민번호^신청일^OCR TAG^제출
확인^제출시간^스캔
여부^반납
확인^이력
상태" colsep="^" colwidth="56, 47, 38, 75, 100, 60, 70, 70, 54, 66, 68, 69, 49, 80, 152, 51, 100, 50, 50, 50" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:116px; width:625; height:523px; font-weight:normal; ">
- <col ref="pid" style="text-align:left; "/>
- <col ref="hngnm" style="left:100px; top:32px; width:80px; height:23px; text-align:center; "/>
- <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddeptcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="fromdd" format="yyyy-mm-dd"/>
- <col ref="todd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="msflag" type="output" visibility="hidden" style="text-align:left; "/>
- <col disabled="true" ref="signflag" type="combo">
- <choices>
- <item>
- <label>OCR</label>
- <value>O</value>
- </item>
- <item>
- <label>OCR(변경)</label>
- <value>B</value>
- </item>
- <item>
- <label>전자서명</label>
- <value>E</value>
- </item>
- <item>
- <label>전자동의서</label>
- <value>S</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="choiflag" type="combo" style="text-align:left; ">
- <choices>
- <item>
- <label>위임</label>
- <value>B</value>
- </item>
- <item>
- <label>선택</label>
- <value>C</value>
- </item>
- <item>
- <label>선택안함</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <col ref="rrgstno1" format="99/99/99" style="text-align:center; "/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="ocrtag" style="text-align:center; "/>
- <col ref="returnyn" style="text-align:center; "/>
- <col ref="returntm"/>
- <col ref="scanyn" style="text-align:center; "/>
- <col ref="rtnconfirmyn" style="text-align:center; "/>
- <col disabled="true" ref="histstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>정상</label>
- <value>Y</value>
- </item>
- <item>
- <label>변경</label>
- <value>C</value>
- </item>
- <item>
- <label>삭제</label>
- <value>X</value>
- </item>
- </choices>
- </col>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_sasm.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_insert.disabled = true; //신규저장
- btn_save.disabled = false; //수정
- button1.disabled = false; //선택진료해지
- button3.disabled = false; //OCR제출확인
- button6.disabled = false; //OCR제출취소
- button4.disabled = false; //삭제
- button7.disabled = true; //삭제취소
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
-
- var row = grd_sasm.row;
- if(fSpifSelect(row) != false){
- fcmb_data2_orddridNEW();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption19" class="cell_1" style="left:631px; top:129px; width:76px; height:66px; ">참고사항</caption>
- <textarea id="txt_remfact" ref="/root/main/inform/remfact" imemode="hangul" maxlength="500" style="left:708px; top:130px; width:480px; height:65px; "/>
- <caption id="caption7" class="cell_1" style="left:631px; top:455px; width:147px; height:23px; font-weight:normal; text-align:center; vertical-align:middle; ">처치/수술</caption>
- <select1 id="combo1" ref="/root/main/inform/list8specdrid" class="combo_search" disabled="true" appearance="minimal" style="left:781px; top:457px; width:109px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nmsp"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </select1>
- <bool id="bool1" checkvalue="B,C" ref="/root/main/inform/list8choiflag" style="left:941px; top:460px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </bool>
- <input id="input7" ref="/root/main/inform/rrgstno1" class="input_default" disabled="true" navindex="1" maxlength="10" appearance="input" style="left:1044px; top:32px; width:65px; height:19px; "/>
- <button id="btn_ptbshngnm" class="icon_search" style="left:962px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/send/search1/hngnm");
- model.makeNode("/root/send/search1/srchcond");
- model.makeNode("/root/main/patinfo/patinfolist");
-
- model.setValue("/root/send/search1/hngnm",model.getValue("/root/main/inform/hngnm"));
- model.setValue("/root/send/search1/srchcond","2");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- //model.setValue("/root/main/patappinfo/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- //model.refresh();
-
- //환자정보set
- //fSpecOrdPatInfoSet();
- model.setValue("/root/main/inform/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/inform/hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/inform/rrgstno1",model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
- model.setValue("/root/main/inform/rrgstno2",model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input1" ref="/root/main/inform/pid" class="input_default" disabled="false" navindex="1" maxlength="10" appearance="input" style="left:708px; top:32px; width:63px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- //model.setValue("/root/hidden/status/value","i");
- setInputNodeCurText();
- inputEnterKey("btn_ptbspid", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/main/inform/hngnm" class="input_default" disabled="false" navindex="1" imemode="hangul" maxlength="10" appearance="input" style="left:858px; top:32px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- //model.setValue("/root/hidden/status/value","i");
- setInputNodeCurText();
- inputEnterKey("btn_ptbshngnm", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_ptbspid" class="icon_search" style="left:775px; top:33px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/send/search1/pid");
- model.makeNode("/root/send/search1/srchcond");
- model.makeNode("/root/main/patinfo/patinfolist");
-
- model.setValue("/root/send/search1/pid",model.getValue("/root/main/inform/pid"));
- model.setValue("/root/send/search1/srchcond","1");
- modal("SPPMC02500_환자조회", "1","150", "150", "", "/root/send/search1", "/root/send");
- //model.setValue("/root/main/patappinfo/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- //model.refresh();
-
- //환자정보set
- //fSpecOrdPatInfoSet();
- model.setValue("/root/main/inform/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/inform/hngnm",model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/inform/rrgstno1",model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
- model.setValue("/root/main/inform/rrgstno2",model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input4" ref="/root/main/inform/rrgstno2" class="input_default" disabled="true" navindex="1" maxlength="10" appearance="input" style="left:1127px; top:32px; width:65px; height:19px; "/>
- <select1 id="cmb_data2_specordyn" ref="/root/main/inform/specordyn" disabled="true" appearance="minimal" style="left:1127px; top:57px; width:65px; height:19px; ">
- <choices>
- <item>
- <label>선택</label>
- <value>Y</value>
- </item>
- <item>
- <label>비선택</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <bool id="bool2" checkvalue="B,C" ref="/root/send/data1/allcheckyn" style="left:941px; top:268px; width:20px; height:15px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var chval = model.getValue("/root/send/data1/allcheckyn");
- model.setValue("/root/main/inform/list1choiflag", chval);
- model.setValue("/root/main/inform/list2choiflag", chval);
- model.setValue("/root/main/inform/list3choiflag", chval);
- model.setValue("/root/main/inform/list4choiflag", chval);
- model.setValue("/root/main/inform/list5choiflag", chval);
- model.setValue("/root/main/inform/list6choiflag", chval);
- model.setValue("/root/main/inform/list7choiflag", chval);
- model.setValue("/root/main/inform/list8choiflag", chval);
-
- model.refresh();
- ]]>
- </script>
- </bool>
- <button id="button1" class="btn5_letter6" disabled="false" navindex="2" visibility="visible" style="left:1017px; top:5px; width:86px; height:19px; background-color:#99ccff; ">
- <caption>OCR제출확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규내역은 제출확인 할 수 없습니다. \n신청내역에서 제출확인 할 선택진료서명내역을 선택하세요", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/returnyn") == "Y"){
- messageBox("이미 제출 확인된 내역입니다! 다시 제출 확인 할 수 없습니다.", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/rtnconfirmyn") == "Y"){
- messageBox("기록실 반납 확인된 내역은 OCR제출 확인 할 수 없습니다.", "E999", "");
- return false;
- }
-
- //원무팀 요청 - 제출확인 시 위임여부체크가 하나도 안되어 있으면 메세지 처리
- if( model.getValue("/root/main/inform/list1choiflag") != 'B'
- && model.getValue("/root/main/inform/list2choiflag") != 'B'
- && model.getValue("/root/main/inform/list3choiflag") != 'B'
- && model.getValue("/root/main/inform/list4choiflag") != 'B'
- && model.getValue("/root/main/inform/list5choiflag") != 'B'
- && model.getValue("/root/main/inform/list6choiflag") != 'B'
- && model.getValue("/root/main/inform/list7choiflag") != 'B'
- && model.getValue("/root/main/inform/list8choiflag") != 'B' ){
-
-
- var retVal = messageBox("지원항목 위임여부가 하나도 선택되지 않았습니다.\n선택진료동의서 상의 위임여부와 동일합니까?\n[예] : 제출확인 계속 진행 [아니오] : 제출 확인 중지", "Q999", "");
- if( retVal != '6' ){
- return false;
- }
- }
-
- //제출 확인 체크
- model.setValue("/root/main/inform/returnyn", "Y");
-
- fSaveSpif();
- ]]>
- </script>
- </button>
- <select id="checkbox1" ref="/root/main/inform/returnyn" disabled="true" overflow="visible" appearance="full" style="left:1127px; top:81px; width:65px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>제출확인</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line4" class="line_3" style="x1:630px; y1:195px; x2:1191px; y2:195px; "/>
- <line id="line6" class="line_2" style="x1:631px; y1:102px; x2:1192px; y2:102px; "/>
- <caption id="caption3" class="cell_1" style="left:631px; top:104px; width:76px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">선택구분</caption>
- <select1 id="combo2" ref="/root/main/inform/choiflag" appearance="minimal" style="left:708px; top:106px; width:88px; height:19px; ">
- <choices>
- <item>
- <label>위임</label>
- <value>B</value>
- </item>
- <item>
- <label>선택안함</label>
- <value>X</value>
- </item>
- <item>
- <label>선택</label>
- <value>C</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/inform/signflag" appearance="minimal" style="left:858px; top:106px; width:125px; height:19px; ">
- <choices>
- <item>
- <label>OCR</label>
- <value>O</value>
- </item>
- <item>
- <label>OCR(변경)</label>
- <value>B</value>
- </item>
- <item>
- <label>전자서명</label>
- <value>E</value>
- </item>
- <item>
- <label>전자동의서</label>
- <value>S</value>
- </item>
- </choices>
- </select1>
- <caption id="caption10" class="cell_1" style="left:798px; top:104px; width:59px; height:23px; font-weight:normal; text-align:left; vertical-align:middle; ">서명구분</caption>
- </group>
- <group id="group2" style="left:0px; top:662px; width:1195px; height:27px; ">
- <button id="button3" class="btn4_letter6" disabled="false" navindex="2" visibility="visible" style="left:669px; top:5px; width:104px; height:22px; background-color:#99ccff; ">
- <caption>OCR제출확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규내역은 제출확인 할 수 없습니다. \n신청내역에서 제출확인 할 선택진료서명내역을 선택하세요", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/returnyn") == "Y"){
- messageBox("이미 제출 확인된 내역입니다! 다시 제출 확인 할 수 없습니다.", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/rtnconfirmyn") == "Y"){
- messageBox("기록실 반납 확인된 내역은 OCR제출 확인 할 수 없습니다.", "E999", "");
- return false;
- }
-
- //원무팀 요청 - 제출확인 시 위임여부체크가 하나도 안되어 있으면 메세지 처리
- if( model.getValue("/root/main/inform/list1choiflag") != 'B'
- && model.getValue("/root/main/inform/list2choiflag") != 'B'
- && model.getValue("/root/main/inform/list3choiflag") != 'B'
- && model.getValue("/root/main/inform/list4choiflag") != 'B'
- && model.getValue("/root/main/inform/list5choiflag") != 'B'
- && model.getValue("/root/main/inform/list6choiflag") != 'B'
- && model.getValue("/root/main/inform/list7choiflag") != 'B'
- && model.getValue("/root/main/inform/list8choiflag") != 'B' ){
-
-
- var retVal = messageBox("지원항목 위임여부가 하나도 선택되지 않았습니다.\n선택진료동의서 상의 위임여부와 동일합니까?\n[예] : 제출확인 계속 진행 [아니오] : 제출 확인 중지", "Q999", "");
- if( retVal != '6' ){
- return false;
- }
- }
-
- //제출확인여부 체크
- model.setValue("/root/main/inform/returnyn", "Y");
-
- //2017/06/02 이정택 추가
- var allrtnyn = model.getValue("/root/main/patappinfo/patappinfo1/allrtnyn");
- //2017/06/02 이정택 추가
- if(allrtnyn=='Y'){
- model.makeValue("/root/main/inform/allrtnyn" , "Y");
- fSaveSpif();
- }else{
- model.makeValue("/root/main/inform/allrtnyn" , "N");
- fSaveSpif();
-
- window.close();
- }
-
- /*
- fSaveSpif();
-
- window.close();
- */
- ]]>
- </script>
- </button>
- <button id="button17" class="btn4_letter3" style="left:1069px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // btn_insertc.disabled = false;
- // btn_insert.disabled = false;
- // btn_save.disabled = true;
-
- btn_insert.disabled = false; //신규저장
- btn_save.disabled = true; //수정
- button1.disabled = false; //선택진료해지
- button3.disabled = false; //OCR제출확인
- button6.disabled = false; //OCR제출취소
- button4.disabled = true; //삭제
- button7.disabled = true; //삭제취소
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/h_sasm");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1191px; y2:0px; "/>
- <button id="btn_insertc" class="btn4_letter7" visibility="hidden" style="left:287px; top:5px; width:116px; height:22px; ">
- <caption>신규저장후닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //신규저장 시 제출확인 상태로 되도록 수정 - 20130913
- model.setValue("/root/main/inform/returnyn", "Y");
-
- if(fInsertSpif() == false) return false;
-
- if( model.getValue("/root/main/inform/choiflag") != 'X' ){
- fPrint(1);
- }
-
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:1137px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fsignpad_close();
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:877px; top:5px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기존 등록내역 체크 - OCR TAG 정보가 있으면 수정 아니면 신규로 처리
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규 저장일 경우 [신규저장] 버튼을 눌러 진행하세요!", "E999", "");
- return false;
- }
-
- //2017/06/02 이정택 추가
- var allrtnyn = model.getValue("/root/main/patappinfo/patappinfo1/allrtnyn");
- //2017/06/02 이정택 추가
- if(allrtnyn=='Y'){
- model.makeValue("/root/main/inform/allrtnyn" , "Y");
- }else{
- model.makeValue("/root/main/inform/allrtnyn" , "N");
- }
-
- fSaveSpif();
-
- //초기화
- btn_insertc.disabled = false;
- btn_insert.disabled = false;
- btn_save.disabled = true;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn4_letter4" style="left:497px; top:5px; width:80px; height:22px; ">
- <caption>신규저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //신규저장 시 제출확인 상태로 되도록 수정 - 20130913
- model.setValue("/root/main/inform/returnyn", "Y");
-
- if(fInsertSpif() == false) return false;
-
- //2012-04-30 원무팀 요청으로 동의안함으로 저장사이에는 서식을 발행할 필요없음!!
- if( model.getValue("/root/main/inform/choiflag") != 'X' ){
- fPrint(1);
- }
-
- btn_insertc.disabled = true;
- btn_insert.disabled = true;
- btn_save.disabled = false;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
-
- //model.refresh();
-
- var row = grd_sasm.rows - grd_sasm.fixedRows;
- model.copyNode("/root/main/inform" , "/root/main/h_sasm/sasm[" + row +"]" );
-
- //노드 생성
- model.makeValue("/root/main/inform/pid_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/pid"));
- model.makeValue("/root/main/inform/ocrtag_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/ocrtag"));
- model.makeValue("/root/main/inform/orddeptcd_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/orddeptcd"));
- model.makeValue("/root/main/inform/orddrid_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/orddrid"));
- model.makeValue("/root/main/inform/todd_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/todd"));
-
- fcmb_data2_orddridNEW();
- ]]>
- </script>
- </button>
- <button id="btn_print2" class="btn3_letter4" disabled="true" visibility="hidden" style="left:198px; top:5px; width:80px; height:22px; ">
- <caption>확진출력</caption>
- <hint>
- <![CDATA[입원환자 처방에 대한 특진의사의 판독후 신청서 (입원내역을 선택해야 활성화 됩니다.)]]>
- </hint>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint_confm();
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn3_letter4" visibility="hidden" style="left:118px; top:5px; width:80px; height:22px; ">
- <caption>원본출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint_org();
- ]]>
- </script>
- <hint>
- <![CDATA[환자가 신청한 신청서 원본 출력]]>
- </hint>
- </button>
- <button id="btn_splt" class="btn3_letter7" visibility="hidden" style="left:2px; top:5px; width:116px; height:22px; ">
- <caption>취소대장리스트</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMPMC06505");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:933px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규내역은 삭제 할 수 없습니다. \n신청내역에서 삭제 할 선택진료서명내역을 선택하세요", "E999", "");
- return false;
- }
-
- //전자동의서 이오의 경우 체크
- if (model.getValue("/root/main/inform/signflag") != "S") {
- if(model.getValue("/root/main/inform/returnyn") == "Y"){
- messageBox("OCR제출확인된 내역은 삭제 할 수 없습니다. OCR제출취소 후 삭제하세요.", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/rtnconfirmyn") == "Y"){
- messageBox("기록실 반납 확인된 내역은 삭제 할 수 없습니다.", "E999", "");
- return false;
- }
- }
-
- if( messageBox("정말 삭제하시겠습니까? 삭제하시면 선택진료신청 이력이 모두 삭제 됩니다.", "Q999", "") != "6" ){
- return false;
- }
-
- model.makeNode("/root/main/inform/delyn");
- model.setValue("/root/main/inform/delyn", "Y");
-
- //2017/06/02 이정택 추가
- var allrtnyn = model.getValue("/root/main/patappinfo/patappinfo1/allrtnyn");
- //2017/06/02 이정택 추가
- if(allrtnyn=='Y'){
- model.makeValue("/root/main/inform/allrtnyn" , "Y");
- }else{
- model.makeValue("/root/main/inform/allrtnyn" , "N");
- }
-
-
- fSaveSpif();
-
- //초기화
- btn_insertc.disabled = false;
- btn_insert.disabled = false;
- btn_save.disabled = true;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter5" style="left:404px; top:5px; width:92px; height:22px; ">
- <caption>서식재발행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( grd_sasm.row < 0 ){
- messageBox("재발행할 선택진료 신청이력을 선택하세요!", "E999", "");
- return false;
- }
-
- fPrint(grd_sasm.row);
-
- /* 2011-11-09 주석처리
- btn_insertc.disabled = true;
- btn_insert.disabled = true;
- btn_save.disabled = false;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
-
- //model.refresh();
-
- var row = grd_sasm.rows - grd_sasm.fixedRows;
- model.copyNode("/root/main/inform" , "/root/main/h_sasm/sasm[" + row +"]" );
-
- //노드 생성
- model.makeValue("/root/main/inform/pid_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/pid"));
- model.makeValue("/root/main/inform/ocrtag_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/ocrtag"));
- model.makeValue("/root/main/inform/orddeptcd_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/orddeptcd"));
- model.makeValue("/root/main/inform/orddrid_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/orddrid"));
- model.makeValue("/root/main/inform/todd_org" ,model.getValue("/root/main/h_sasm/sasm[" + row +"]/todd"));
-
- fcmb_data2_orddridNEW();
-
- */
- ]]>
- </script>
- </button>
- <button id="button6" class="btn4_letter6" disabled="false" navindex="2" visibility="visible" style="left:773px; top:5px; width:104px; height:22px; background-color:#99ccff; ">
- <caption>OCR제출취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //기등록된 내역인지 체크한다.
- if( model.getValue("/root/main/inform/ocrtag") == "" || model.getValue("/root/main/inform/ocrtag") == "-" ){
- messageBox("신규내역은 제출확인 할 수 없습니다. \n신청내역에서 제출확인 할 선택진료서명내역을 선택하세요", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/returnyn") == "N"){
- messageBox("아직 OCR 제출확인 되지 않은 내역입니다! 제출 취소할 수 없습니다!", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/inform/rtnconfirmyn") == "Y"){
- messageBox("기록실 반납 확인된 내역은 OCR제출 확인 할 수 없습니다.", "E999", "");
- return false;
- }
-
- model.setValue("/root/main/inform/returnyn", "N");
-
- //2017/06/02 이정택 추가
- var allrtnyn = model.getValue("/root/main/patappinfo/patappinfo1/allrtnyn");
- //2017/06/02 이정택 추가
- if(allrtnyn=='Y'){
- model.makeValue("/root/main/inform/allrtnyn" , "Y");
- }else{
- model.makeValue("/root/main/inform/allrtnyn" , "N");
- }
-
-
- fSaveSpif();
-
- //window.close();
- ]]>
- </script>
- </button>
- <button id="button8" class="btn4_letter5" disabled="false" visibility="visible" style="left:577px; top:5px; width:92px; height:22px; ">
- <caption>전자동의서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/inform/pid");
- var cretno = model.getValue("/root/main/inform/cretno");
- var orddd = model.getValue("/root/main/inform/orddd");
- var ordtype = model.getValue("/root/main/inform/ioflag");
- var user = getUserInfo("userid");
- var instcd = getUserInfo("dutplceinstcd");
-
- if (pid == "" || cretno == "" || orddd == "" || ordtype == "") {
- messageBox("수진정보가 없습니다. \r\n전자동의서는 반드시 상위화면에서 수진이력이 선택되어야 합니다.","I999");
- return;
- }
-
-
- // 전자동의서 파라미터 설정
- setParameter("SSMRC03160_param_patid", pid);
- setParameter("SSMRC03160_param_cretno", cretno);
- setParameter("SSMRC03160_param_indate", orddd);
- setParameter("SSMRC03160_param_instcd", instcd);
- setParameter("SSMRC03160_param_class", ordtype);
- setParameter("SSMRC03160_param_docucd", "1300013647"); // 1300013647 선택진료신청서(원무)
- setParameter("SSMRC03160_param_cuser", user);
- setParameter("SSMRC03160_param_flag", "S"); // S : 선택진료신청서, A : 입원약정서, T : 기간약정서
-
-
- // 환자 기본정보 설정
- setParameter("SSMRC03160_param_pathngnm", model.getValue("/root/main/h_sasm/ptbs/ptbs_hngnm"));
- setParameter("SSMRC03160_param_pataddr", model.getValue("/root/main/h_sasm/ptbs/ptbs_detladdr"));
- setParameter("SSMRC03160_param_pattelno", model.getValue("/root/main/h_sasm/ptbs/ptbs_hometel"));
- setParameter("SSMRC03160_param_patrrgstno", model.getValue("/root/main/h_sasm/ptbs/ptbs_rrgstno1") + "-" + model.getValue("/root/main/h_sasm/ptbs/ptbs_rrgstno2"));
-
-
- // 주진료과정보 설정 진료과/의사
- model.makeValue("/root/main/inform/orddeptnm", model.getValue("/root/init/orddeptcd[cd='" + model.getValue("/root/main/inform/orddeptcd") + "']/nm"));
- model.makeValue("/root/main/inform/orddrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/orddrid") + "']/nm"));
-
- // 신청일자 보정처리(복지부 감사 관련 수정) by 조중래 20170602
- model.setValue("/root/main/inform/appdd" , orddd);
-
- // 위임여부에 따라 선택진료의사 정보 전달
- // 위임(B) / 선택안함(X) 시
- if (model.getValue("/root/main/inform/choiflag") != "C") {
-
- // 선택진료의사명01(진찰)
- model.makeValue("/root/main/inform/list1specdrnm", "");
- // 선택진료의사명02(검사)
- model.makeValue("/root/main/inform/list2specdrnm", "");
- // 선택진료의사명03(영상진단)
- model.makeValue("/root/main/inform/list3specdrnm", "");
- // 선택진료의사명04(방사선치료)
- model.makeValue("/root/main/inform/list4specdrnm", "");
- // 선택진료의사명05(방사선혈관촬영)
- model.makeValue("/root/main/inform/list5specdrnm", "");
- // 선택진료의사명06(마취)
- model.makeValue("/root/main/inform/list6specdrnm", "");
- // 선택진료의사명07(정신요법)
- model.makeValue("/root/main/inform/list7specdrnm", "");
- // 선택진료의사명08(처치/수술)
- model.makeValue("/root/main/inform/list8specdrnm", "");
-
- // 선택 시
- } else {
-
- // 선택진료의사명01(진찰)
- model.makeValue("/root/main/inform/list1specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list1specdrid") + "']/nm"));
- // 선택진료의사명02(검사)
- model.makeValue("/root/main/inform/list2specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list2specdrid") + "']/nm"));
- // 선택진료의사명03(영상진단)
- model.makeValue("/root/main/inform/list3specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list3specdrid") + "']/nm"));
- // 선택진료의사명04(방사선치료)
- model.makeValue("/root/main/inform/list4specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list4specdrid") + "']/nm"));
- // 선택진료의사명05(방사선혈관촬영)
- model.makeValue("/root/main/inform/list5specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list5specdrid") + "']/nm"));
- // 선택진료의사명06(마취)
- model.makeValue("/root/main/inform/list6specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list6specdrid") + "']/nm"));
- // 선택진료의사명07(정신요법)
- model.makeValue("/root/main/inform/list7specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list7specdrid") + "']/nm"));
- // 선택진료의사명08(처치/수술)
- model.makeValue("/root/main/inform/list8specdrnm", model.getValue("/root/init/orddrid[cd='" + model.getValue("/root/main/inform/list8specdrid") + "']/nm"));
- }
-
- // 전자동의서 팝업 호출
- modal("SSMRC03160");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter4" style="left:989px; top:5px; width:80px; height:22px; ">
- <caption>삭제취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( messageBox("삭제취소 하시겠습니까? 삭제하셨던 선택진료신청 이력을 정상으로 수정 됩니다.", "Q999") != "6" ){
- return false;
- }
-
- fSaveSpif();
-
- model.makeNode("/root/main/inform/delyn");
- model.setValue("/root/main/inform/delyn", "cncl");
-
- fSaveSpif();
-
- //초기화
- btn_insertc.disabled = false;
- btn_insert.disabled = false;
- btn_save.disabled = true;
-
- model.resetInstanceNode("/root/main/inform");
- model.resetInstanceNode("/root/send/data2");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <line id="line2" class="line_2" style="x1:630px; y1:67px; x2:1191px; y2:67px; "/>
- <line id="line3" class="line_2" style="x1:630px; y1:91px; x2:1191px; y2:91px; "/>
- <line id="line10" class="line_2" style="x1:890px; y1:246px; x2:890px; y2:492px; "/>
- <line id="line16" class="line_2" style="x1:630px; y1:319px; x2:1001px; y2:319px; "/>
- <line id="line17" class="line_2" style="x1:630px; y1:343px; x2:1001px; y2:343px; "/>
- <line id="line19" class="line_2" style="x1:630px; y1:368px; x2:1001px; y2:368px; "/>
- <line id="line21" class="line_2" style="x1:630px; y1:393px; x2:1001px; y2:393px; "/>
- <line id="line22" class="line_2" style="x1:630px; y1:418px; x2:1001px; y2:418px; "/>
- <line id="line23" class="line_3" style="x1:630px; y1:492px; x2:1001px; y2:492px; "/>
- <line id="line11" class="line_2" style="x1:778px; y1:246px; x2:778px; y2:492px; "/>
- <line id="line12" class="line_2" style="x1:630px; y1:443px; x2:1001px; y2:443px; "/>
- <line id="line13" class="line_2" style="x1:630px; y1:467px; x2:1001px; y2:467px; "/>
- <line id="line7" class="line_2" style="x1:630px; y1:294px; x2:1001px; y2:294px; "/>
- </xhtml:body>
- </xhtml:html>
|