12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271 |
- <?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>
- <list1>
- <addacnt>
- </addacnt>
- </list1>
- <list2>
- <summary/>
- </list2>
- <list3>
- <code/>
- </list3>
- </main>
- <send>
- <!-- <calcscorcdflag/>
- <past/>
- <cretno/>-->
- <!-- <ordlist/>-->
- <fromdd/>
- <todd/>
- <pid/>
- <aftacntyn/>
- <preinsukind/>
- <presuppkind/>
- <aftsuppkind/>
- <orddeptcd/>
- <orddrid/>
- <aftinsukind/>
- <histstat/>
- <updatedata/>
- <clamym/>
- <clamdg/>
- <reqfild/>
- <allchk/>
- <clammode/>
- <judgrid/>
- <orddd/>
- <acting/>
- <clamym2/>
- </send>
- <init>
- <!-- <sppid21600>
- <cond>
- <pid/>
- <indd/>
- <fromdd/>
- <todd/>
- <calcscorcd/>
- <insukindcd/>
- <insukind/>
- <suppkindcd/>
- <suppkind/>
- <ownbrate/>
- </cond>
- </sppid21600>-->
- <preinsukindlist>
- <insukindnm/>
- <insukindcd/>
- </preinsukindlist>
- <presuppkindlist>
- <insukind/>
- <suppkindnm/>
- <suppkindcd/>
- </presuppkindlist>
- <aftinsukindlist>
- <insukindcd/>
- <insukindnm/>
- </aftinsukindlist>
- <aftsuppkindlist>
- <insukind/>
- <suppkindnm/>
- <suppkindcd/>
- </aftsuppkindlist>
- <init_pam/>
- <judgrid/>
- </init>
- <hidden>
- <popupmenu>
- <addlist>
- <item>
- <name>선택</name>
- <func>fselectchktrue</func>
- </item>
- <item>
- <name>선택해제</name>
- <func>fselectchkfalse</func>
- </item>
- </addlist>
- </popupmenu>
- </hidden>
- <temp>
- <pid/>
- <fromdd/>
- <todd/>
- <orddeptcd/>
- <orddrid/>
- <preinsukind/>
- <presuppkind/>
- <aftinsukind/>
- <aftsuppkind/>
- <histstat/>
- <judgrid/>
- <clamym/>
- <clamdg/>
- <reqfild/>
- <allchk/>
- <clammode/>
- <acting/>
- <clamymchk>Y</clamymchk>
- <clamym2/>
- </temp>
- <init_pam>
- <init>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <reqdeptno/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- </init>
- </init_pam>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- submit("TRPID23101");
- submit("TRPID23102");
- submit("TRPID23103");
- submit("TRPID23104");
- submit("TRPID23105");
- submit("TRPAMCOM01");
-
- addComboItem("cmb_orddeptcd","전체","","above");
- addComboItem("cmb_preinsukind","전체","","above");
- addComboItem("cmb_aftinsukind","급여전체","2","above");
- addComboItem("cmb_aftinsukind","보험+급여","1","above");
- addComboItem("cmb_aftinsukind","전체","","above");
- cmb_aftinsukind.select(1);
- /*
- addComboItem("cmb_orddeptcd","전체","","above");
- addComboItem("cmb_preinsukind","전체","","above");
- addComboItem("cmb_aftinsukind","전체","","above");
- //ipt_clamym.disabled = true; //청구년월
- //button_up.disabled = true;
- //button_down.disabled = true;
- //ipt_clamdg.disabled = true; //차수
- //cmb_judgrid.disabled = true; //심사자
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- ipt_fromdd.value = "";
- ipt_todd.value = "";
- model.removeNode("/root/main/list1");
- //chk_all.value = true; //전체
-
- ipt_clamym.disabled = true; //청구년월
- button_up.disabled = true;
- button_down.disabled = true;
- ipt_clamdg.disabled = true; //차수
- cmb_judgrid.disabled = true; //심사자
- cmb_reqfild.disabled = true; //청구분야
- button3.visible = false;
- button4.visible = false;
-
- btn_choi.disabled = true;
- btn_del.disabled = true;
-
- opt_histstat.value = "T";
- ipt_clamym.value = "";
- ipt_clamdg.value = "";
- cmb_judgrid.value = "";
- cmb_reqfild.value = "";
-
- */
- ]]>
- </script>
- <submission id="TRPID23101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/preinsukindlist"/>
- <submission id="TRPID23100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
- <submission id="TRPID23102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/presuppkindlist"/>
- <submission id="TRPID23103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/aftinsukindlist"/>
- <submission id="TRPID23104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/aftsuppkindlist"/>
- <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init_pam/init"/>
- <submission id="TXPID23100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/updatedata" resultref="/root/hidden"/>
- <submission id="TRPID23105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/judgrid"/>
- <submission id="TRPID23106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list2"/>
- <submission id="TRPID23107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list3"/>
- <submission id="TXPID23101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" resultref="/root/main/list1"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/calcscormngtweb/js/PIC001.js"/>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- //var curDate = getCurrentDate();
- model.removeNodeset("/root/main/list1/addacnt");
- model.setvalue("/root/init/preinsukindlist", "");
- model.setvalue("/root/init/aftinsukindlist", "");
- //model.setValue("/root/temp/fromdd", curDate);
- //model.setValue( "/root/temp/todd", curDate);
- //model.resetInstanceNode("/root/temp");
- //model.removeNodeset("/root/init");
- //ipt_clamym.disabled = true; //청구년월
- //button_up.disabled = true;
- //button_down.disabled = true;
- //ipt_clamdg.disabled = true; //차수
- //cmb_judgrid.disabled = true; //심사자
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- ipt_fromdd.value = "";
- ipt_todd.value = "";
- model.setValue("/root/temp/fromdd",getCurrentDate());
- model.setValue("/root/temp/todd",getCurrentDate());
- model.removeNode("/root/main/list1");
- //chk_all.value = true; //전체
-
- btn_srch.disabled = false;
- ipt_clamym.disabled = true; //청구년월
- ipt_clamym2.disabled = true; //청구년월
- button_up.disabled = true;
- button_down.disabled = true;
- ipt_clamdg.disabled = true; //차수
- cmb_judgrid.disabled = false; //심사자
- cmb_reqfild.disabled = true; //청구분야
- button3.visible = false;
- button4.visible = false;
-
- //btn_choi.disabled = true;
- //btn_del.disabled = true;
-
- opt_histstat.value = "T";
- ipt_clamym.value = "";
- ipt_clamym2.value = "";
- ipt_clamdg.value = "";
- cmb_judgrid.value = "";
- cmb_reqfild.value = "";
- btn_pat.selected= true;
- model.toggle("case_code");
-
- model.refresh();
- }
-
- function fSave(flag) {
- //alert(flag);
- model.makeValue("/root/send/updatedata/histstat", flag);
-
- if (submit("TXPID23100") == true) {
- //btn_srch.dispatch("onclick"); //저장처리 후, 내역 재조회(조회 이벤트 호출)
- }
- }
-
- // 청구년월 증감 함수
- function CalMonth(idc, av_date)
- {
- var lv_date = av_date.toDate("YYYYMM" + "01");
- lv_date = lv_date.getAddDate(idc, "M")
-
- return lv_date.getDateFormat("YYYYMM");
- }
-
- function fselectchktrue()
- {
- var selectCnt = 0;
- selectCnt = grd_addacntlist.selectedRows;
-
- for( var i = 0; i < selectCnt; i++ ){
- model.setValue(("/root/main/list1/addacnt[" + (grd_addacntlist.selectedRow(i) - grd_addacntlist.fixedRows + 1) + "]/chck"),"true");
- }
- //model.refresh();
- }
-
- function fselectchkfalse()
- {
- var selectCnt = 0;
- selectCnt = grd_addacntlist.selectedRows;
-
- for( var i = 0; i < selectCnt; i++ ){
- model.setValue(("/root/main/list1/addacnt[" + (grd_addacntlist.selectedRow(i) - grd_addacntlist.fixedRows + 1) + "]/chck"),"false");
- }
- //model.refresh();
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1210" pageheight="752" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1160px; height:700px; ">
- <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:170px; height:13px; ">외래추가청구대상자조회</caption>
- <group id="group2" style="left:5px; top:24px; width:1150px; height:91px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrerct_search" appearance="roundrect" style="left:5px; top:0px; width:1145px; height:85px; "/>
- <button id="btn_srch" class="btn1_letter2" style="left:1080px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // if(chk_clamym.value == "Y") {
- // if(messageBox(" 청구년월의 조회조건을 전체로 주셨습니다.전체로 조건을 주시면 조회속도에 많은 영향이 있습니다. 계속 ", "Q004") == 7){
- // return;
- // }
- // }
-
- //alert(model.getValue("/root/temp/fromdd"));
- //alert(model.getValue("/root/temp/todd"));
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/pid",model.getValue("/root/temp/pid"));
- model.setValue("/root/send/aftacntyn",model.getValue("/root/temp/aftacntyn"));
- model.setValue("/root/send/preinsukind",model.getValue("/root/temp/preinsukind"));
- model.setValue("/root/send/presuppkind",model.getValue("/root/temp/presuppkind"));
- model.setValue("/root/send/aftinsukind",model.getValue("/root/temp/aftinsukind"));
- model.setValue("/root/send/aftsuppkind",model.getValue("/root/temp/aftsuppkind"));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd"));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid"));
- model.setValue("/root/send/histstat",model.getValue("/root/temp/histstat"));
- model.setValue("/root/send/clamym",model.getValue("/root/temp/clamym"));
- model.setValue("/root/send/clamdg",model.getValue("/root/temp/clamdg"));
- model.setValue("/root/send/reqfild",model.getValue("/root/temp/reqfild"));
- model.setValue("/root/send/clammode",model.getValue("/root/temp/clammode"));
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid"));
-
- model.setValue("/root/send/acting",model.getValue("/root/temp/acting"));
- model.setValue("/root/send/clamym2",model.getValue("/root/temp/clamym2"));
-
- if (swt_add.selectedIndex == 0 ) { //요약탭
- model.removeNodeset("/root/main/list2/summary");
- submit("TRPID23106");
- } else if(swt_add.selectedIndex == 1 ) { //명단탭
- model.removeNodeset("/root/main/list1/addacnt");
- submit("TRPID23100");
- } else if(swt_add.selectedIndex == 2 ) { //코드탭
- model.setValue("/root/send/orddd","");
- model.removeNodeset("/root/main/list3/code");
- submit("TRPID23107");
- }
- /*
- if (opt_histstat.value == "T"){
- btn_choi.disabled = false;
- btn_del.disabled = false;
- }
- else if(opt_histstat.value == "N" || opt_histstat.value == "Y" || opt_histstat.value == "C" || opt_histstat.value == ""){
- btn_choi.disabled = true;
- btn_del.disabled = true;
- }
- */
-
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:15px; top:6px; width:80px; height:17px; ">정산일 :</caption>
- <input id="ipt_fromdd" ref="/root/temp/fromdd" class="input_search" inputtype="date" style="left:148px; top:5px; width:85px; height:19px; "/>
- <caption id="caption6" style="left:240px; top:5px; width:11px; height:18px; ">~</caption>
- <input id="ipt_todd" ref="/root/temp/todd" class="input_search" inputtype="date" style="left:260px; top:5px; width:85px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:370px; top:32px; width:86px; height:17px; ">등록번호 :</caption>
- <!-- rdo_mchrgcode : 세부계산내역 조회용이 아닌 "코드조회" 에 사용될 수가코드 검색용 Radio 구분임 -->
- <line id="line1" class="line_4" style="x1:1060px; y1:9px; x2:1060px; y2:71px; "/>
- <caption id="caption9" class="search_name" style="left:610px; top:32px; width:80px; height:17px; ">진료의 :</caption>
- <caption id="caption11" class="search_name" style="left:842px; top:5px; width:77px; height:17px; ">진료과 :</caption>
- <input id="ipt_pid" ref="/root/temp/pid" class="input_s_essential" _chartype="upper" style="left:465px; top:32px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- setInputNodeCurText();
- btn_srch.dispatch("onclick");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddeptcd" ref="/root/temp/orddeptcd" class="combo_search" appearance="minimal" style="left:926px; top:5px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_pam/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var varorddeptcd= cmb_orddeptcd.value;
- cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init_pam/init/orddrid[dp = '" + cmb_orddeptcd.value + "']";
- if (varorddeptcd == null || varorddeptcd == "" || varorddeptcd == " " || varorddeptcd == "-"){
- model.setValue("/root/temp/orddrid", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_aftinsukind" ref="/root/temp/aftinsukind" class="combo_search" visibility="visible" appearance="minimal" style="left:710px; top:5px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/aftinsukindlist">
- <label ref="insukindnm"/>
- <value ref="insukindcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var varaftinsukind= cmb_aftinsukind.value;
- cmb_aftsuppkind.choices.itemset.attribute("nodeset") = "/root/init/aftsuppkindlist[insukind = '"+varaftinsukind+"']";
- if (varaftinsukind == null || varaftinsukind == "" || varaftinsukind == " " || varaftinsukind == "-"){
- model.setValue("/root/temp/aftsuppkind","");
- }
- cmb_aftsuppkind.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_judgrid" ref="/root/temp/judgrid" class="combo_search" visibility="visible" appearance="minimal" style="left:926px; top:32px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/judgrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddrid" ref="/root/temp/orddrid" class="combo_search" appearance="minimal" style="left:710px; top:32px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init_pam/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var orddeptcd = model.getValue("/root/temp/orddeptcd");
-
- if (orddeptcd == null || orddeptcd == "" || orddeptcd == " " || orddeptcd == "-")
- {
- messageBox("진료과 선택을 먼저 하십시요!","E999","");
- model.setValue("/root/temp/orddrid","");
- //cmb_orddrid.dispatch("xforms-value-changed");
- model.refresh();
- model.setFocus("cmb_orddeptcd");
- return;
- }
- ]]>
- </script>
- </select1>
- <caption id="caption12" class="search_name" style="left:370px; top:5px; width:95px; height:17px; ">청구분야 :</caption>
- <button id="button_down" class="icon_down" disabled="false" style="left:237px; top:72px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var clamym = ipt_clamym.value;
-
- ipt_clamym.value = CalMonth(-1, clamym);
- ]]>
- </script>
- </button>
- <button id="button_up" class="icon_up" disabled="false" style="left:237px; top:62px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var clamym = ipt_clamym.value;
-
- ipt_clamym.value = CalMonth(1, clamym);
- ]]>
- </script>
- </button>
- <input id="ipt_clamdg" ref="/root/temp/clamdg" class="input_default" disabled="false" visibility="hidden" inputtype="spin" step="1" min="0" max="9" style="left:366px; top:61px; width:66px; height:19px; text-align:center; "/>
- <input id="ipt_clamym" ref="/root/temp/clamym" class="input_default" disabled="false" visibility="visible" inputtype="date" format="yyyy-mm" style="left:148px; top:61px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption13" class="search_name" style="left:15px; top:60px; width:86px; height:17px; ">청구년월 :</caption>
- <select1 id="cmb_reqfild" ref="/root/temp/reqfild" class="combo_default" appearance="minimal" style="left:465px; top:5px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>-.전체</label>
- <value/>
- </item>
- <item>
- <label>0.의과</label>
- <value>0</value>
- </item>
- <item>
- <label>1.내과</label>
- <value>1</value>
- </item>
- <item>
- <label>2.외과</label>
- <value>2</value>
- </item>
- <item>
- <label>3.산,소아과</label>
- <value>3</value>
- </item>
- <item>
- <label>4.안,이비인후과</label>
- <value>4</value>
- </item>
- <item>
- <label>5.피부,비뇨기과</label>
- <value>5</value>
- </item>
- <item>
- <label>6.치과</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*cmb_orddeptcd.value = "";
-
- var ordfildcd = model.getValue("/root/main/ordfildcd");
-
- if (ordfildcd == "-") {
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/hidden/list1/dept";
- }
- else if (ordfildcd == "0") {
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/hidden/list1/dept[reqfild !='6']";
- }
- else {
- cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/hidden/list1/dept[reqfild = '" + ordfildcd + "' or reqfild = '']";
- }
-
- model.refresh();*/
- ]]>
- </script>
- </select1>
- <select id="chk_all" ref="/root/temp/allchk" disabled="true" overflow="visible" appearance="full" style="left:105px; top:5px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
- model.setValue("/root/temp/fromdd",getCurrentDate());
- model.setValue("/root/temp/todd",getCurrentDate());
- //alert(model.getValue("/root/temp/fromdd"));
- //alert(model.getValue("/root/temp/todd"));
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- model.setValue("/root/temp/fromdd","");
- model.setValue("/root/temp/todd","");
- model.refresh();
- ]]>
- </script>
- </select>
- <select1 id="opt_clammode" ref="/root/temp/clammode" appearance="full" cols="5" rows="1" overflow="visible" style="left:200px; top:32px; width:150px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>추가</label>
- <value>A</value>
- </item>
- <item>
- <label>누락</label>
- <value>B</value>
- </item>
- </choices>
- </select1>
- <caption id="caption14" class="search_name" style="left:15px; top:32px; width:86px; height:17px; ">진행상태 :</caption>
- <select1 id="opt_histstat" ref="/root/temp/histstat" appearance="minimal" style="left:105px; top:32px; width:90px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>청구대상</label>
- <value>T</value>
- </item>
- <item>
- <label>수집대기</label>
- <value>N</value>
- </item>
- <item>
- <label>수집제외</label>
- <value>C</value>
- </item>
- <item>
- <label>수집완료</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var to_date = (((new Date().getDateFormat("YYYYMM")) + "01").toDate("YYYYMMDD")).getAddDate(-1, "D");
-
- if(opt_histstat.value == "Y"){ //수집일경우
- // ipt_clamym.disabled = false; //청구년월
- button_up.disabled = false;
- button_down.disabled = false;
- ipt_clamdg.disabled = false; //차수
- ipt_clamdg.value = ""; // 청구차수 : 1
- cmb_reqfild.value = "";
- //cmb_judgrid.disabled = false; //심사자
- cmb_reqfild.disabled = false; //청구분야
-
- //전체선택/해제버튼
- button3.visible = false;
- button4.visible = false;
-
- grd_addacntlist.colDisabled(1) = true;
-
- btn_choi.disabled = true;
- btn_del.disabled = true;
-
- }else if(opt_histstat.value == "A"){//전체일경우
- // ipt_clamym.disabled = false; //청구년월
- button_up.disabled = true;
- button_down.disabled = true;
- ipt_clamdg.disabled = true; //차수
- ipt_clamym.value = "";
- ipt_clamym2.value = "";
- ipt_clamdg.value = "";
- //cmb_judgrid.value = "";
- //cmb_judgrid.disabled = true; //심사자
- cmb_reqfild.disabled = true; //청구분야
-
- //전체선택/해제버튼
- button3.visible = true;
- button4.visible = true;
-
- grd_addacntlist.colDisabled(1) = true;
-
- btn_choi.disabled = false;
- btn_del.disabled = false;
-
- }else if(opt_histstat.value == "T"){//청구대상일경우
- // ipt_clamym.disabled = true; //청구년월
- ipt_clamym.disabled = false; //청구년월
- ipt_clamym2.disabled = false; //청구년월
- button_up.disabled = true;
- button_down.disabled = true;
- ipt_clamdg.disabled = true; //차수
- // ipt_clamym.value = "";
- ipt_clamdg.value = "";
- //cmb_judgrid.value = "";
- //cmb_judgrid.disabled = true; //심사자
- cmb_reqfild.disabled = true; //청구분야
-
- //전체선택/해제버튼
- button3.visible = true;
- button4.visible = true;
-
- grd_addacntlist.colDisabled(1) = false;
-
- btn_choi.disabled = false;
- btn_del.disabled = false;
-
- }else if(opt_histstat.value == "N"){//수집대기일경우
- // ipt_clamym.disabled = true; //청구년월
- ipt_clamym.disabled = false; //청구년월
- ipt_clamym2.disabled = false; //청구년월
- button_up.disabled = false;
- button_down.disabled = false;
- ipt_clamdg.disabled = true; //차수
- // ipt_clamym.value = "";
- ipt_clamdg.value = "";
- //cmb_judgrid.value = "";
- //cmb_judgrid.disabled = true; //심사자
- cmb_reqfild.disabled = true; //청구분야
-
- //전체선택/해제버튼
- button3.visible = false;
- button4.visible = false;
-
- grd_addacntlist.colDisabled(1) = false;
-
- btn_choi.disabled = true;
- btn_del.disabled = true;
- }else if(opt_histstat.value == "C"){//수집대기일경우
- // ipt_clamym.disabled = true; //청구년월
- ipt_clamym.disabled = false; //청구년월
- ipt_clamym2.disabled = false; //청구년월
- button_up.disabled = true;
- button_down.disabled = false;
- ipt_clamdg.disabled = false; //차수
- // ipt_clamym.value = "";
- ipt_clamdg.value = "";
- //cmb_judgrid.value = "";
- //cmb_judgrid.disabled = true; //심사자
- cmb_reqfild.disabled = true; //청구분야
-
- //전체선택/해제버튼
- button3.visible = false;
- button4.visible = false;
-
- grd_addacntlist.colDisabled(1) = false;
-
- btn_choi.disabled = true;
- btn_del.disabled = true;
- }
-
-
- ]]>
- </script>
- </select1>
- <caption id="caption16" class="search_name" visibility="hidden" style="left:610px; top:59px; width:171px; height:17px; ">Acting 정리작업 Data :</caption>
- <select1 id="opt_acting" ref="/root/temp/acting" visibility="hidden" appearance="full" cols="5" rows="1" overflow="visible" style="left:785px; top:60px; width:150px; height:15px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>포함</label>
- <value/>
- </item>
- <item>
- <label>미포함</label>
- <value>N</value>
- </item>
- <item>
- <label>only</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <select id="chk_clamym" ref="/root/temp/clamymchk" overflow="visible" appearance="full" style="left:105px; top:62px; width:45px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- ipt_clamym.disabled = false;
- ipt_clamym2.disabled = false;
- button_down.disabled = false;
- button_up.disabled = false;
- model.setValue("/root/temp/clamym",CalMonth(-3,getCurrentDate()));
- // model.setValue("/root/temp/clamym2",getCurrentDate());
- model.setValue("/root/temp/clamym2",CalMonth(0,getCurrentDate()));
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- ipt_clamym.disabled = true;
- ipt_clamym2.disabled = true;
- button_down.disabled = true;
- button_up.disabled = true;
- model.setValue("/root/temp/clamym","");
- model.setValue("/root/temp/clamym2","");
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption17" style="left:250px; top:64px; width:11px; height:18px; ">~</caption>
- <input id="ipt_clamym2" ref="/root/temp/clamym2" class="input_default" disabled="false" visibility="visible" inputtype="date" format="yyyy-mm" style="left:260px; top:61px; width:89px; height:19px; text-align:center; "/>
- <button id="button5" class="icon_down" disabled="false" style="left:350px; top:71px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var clamym = ipt_clamym2.value;
-
- ipt_clamym2.value = CalMonth(-1, clamym);
- ]]>
- </script>
- </button>
- <button id="button6" class="icon_up" disabled="false" style="left:350px; top:61px; width:10px; height:9px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var clamym = ipt_clamym2.value;
-
- ipt_clamym2.value = CalMonth(1, clamym);
- ]]>
- </script>
- </button>
- <caption id="caption18" class="search_name" style="left:610px; top:5px; width:95px; height:17px; ">보험유형 :</caption>
- <caption id="caption19" class="search_name" style="left:842px; top:32px; width:77px; height:17px; ">심사자 :</caption>
- </group>
- <switch id="swt_add" style="left:10px; top:135px; width:1150px; height:555px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_summary" selected="true" style="left:0px; top:0px; width:1148px; height:528px; ">
- <caption id="caption8" class="search_name" visibility="hidden" style="left:454px; top:80px; width:105px; height:17px; ">후보험유형 :</caption>
- <caption id="caption7" class="search_name" visibility="hidden" style="left:15px; top:80px; width:100px; height:17px; ">전보험유형 :</caption>
- <caption id="caption4" class="search_name" visibility="hidden" style="left:231px; top:80px; width:105px; height:17px; ">전보조유형 :</caption>
- <caption id="caption3" class="search_name" visibility="hidden" style="left:880px; top:80px; width:91px; height:17px; ">심사자 :</caption>
- <caption id="caption1" class="search_name" visibility="hidden" style="left:674px; top:80px; width:105px; height:17px; ">후보조유형 :</caption>
- <select1 id="cmb_aftsuppkind" ref="/root/temp/aftsuppkind" class="combo_search" visibility="hidden" appearance="minimal" style="left:775px; top:80px; width:99px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/aftsuppkindlist">
- <label ref="suppkindnm"/>
- <value ref="suppkindcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var aftinsukind = model.getValue("/root/temp/aftinsukind");
-
- if (aftinsukind == null || aftinsukind == "" || aftinsukind == " " || aftinsukind == "-")
- {
- messageBox("후보험유형 선택을 먼저 하십시요!","E999","");
- model.setValue("/root/temp/aftsuppkind","");
- model.refresh();
- model.setFocus("cmb_aftinsukind");
- return;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_preinsukind" ref="/root/temp/preinsukind" class="combo_search" visibility="hidden" appearance="minimal" style="left:115px; top:80px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/preinsukindlist">
- <label ref="insukindnm"/>
- <value ref="insukindcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var varpreinsukind= cmb_preinsukind.value;
- cmb_presuppkind.choices.itemset.attribute("nodeset") = "/root/init/presuppkindlist[insukind = '"+varpreinsukind+"']";
- if (varpreinsukind == null || varpreinsukind == "" || varpreinsukind == " " || varpreinsukind == "-"){
- model.setValue("/root/temp/presuppkind","");
- }
- cmb_presuppkind.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_presuppkind" ref="/root/temp/presuppkind" class="combo_search" visibility="hidden" appearance="minimal" style="left:339px; top:80px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/presuppkindlist">
- <label ref="suppkindnm"/>
- <value ref="suppkindcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var preinsukind = model.getValue("/root/temp/preinsukind");
-
- if (preinsukind == null || preinsukind == "" || preinsukind == " " || preinsukind == "-")
- {
- messageBox("전보험유형 선택을 먼저 하십시요!","E999","");
- model.setValue("/root/temp/presuppkind","");
- model.refresh();
- model.setFocus("cmb_preinsukind");
- return;
- }
- ]]>
- </script>
- </select1>
- <line id="line17" class="line_1" style="x1:0px; y1:25px; x2:1135px; y2:25px; "/>
- <button id="btn_cnclexcel" class="btn2_letter4" style="left:1065px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_summary.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_summary.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_summary" nodeset="/root/main/list2/summary" caption="청구구분^청구연월^차수^청구분야^처방건수^명세서건수^급여총액^청구액^clammode_1^clamym_1^clamdg_1^reqfild_1" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:10px; top:35px; width:1130px; height:490px; ">
- <col ref="clammode" style="text-align:center; "/>
- <col ref="clamym" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="reqfild" style="text-align:center; "/>
- <col ref="cnt" style="text-align:center; "/>
- <col ref="cnt2" style="text-align:center; "/>
- <col ref="payamt" format="#,###" style="text-align:right; "/>
- <col ref="payinsubamt" format="#,###" style="text-align:right; "/>
- <col ref="clammode_1" visibility="hidden"/>
- <col ref="clamym_1" visibility="hidden"/>
- <col ref="clamdg_1" visibility="hidden"/>
- <col ref="reqfild_1" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_summary.row;
- if( isDataCell() && row > 0 ){
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/pid",model.getValue("/root/temp/pid"));
- model.setValue("/root/send/aftacntyn",model.getValue("/root/temp/aftacntyn"));
- model.setValue("/root/send/preinsukind",model.getValue("/root/temp/preinsukind"));
- model.setValue("/root/send/presuppkind",model.getValue("/root/temp/presuppkind"));
- model.setValue("/root/send/aftinsukind",model.getValue("/root/temp/aftinsukind"));
- model.setValue("/root/send/aftsuppkind",model.getValue("/root/temp/aftsuppkind"));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd"));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid"));
- model.setValue("/root/send/histstat",model.getValue("/root/temp/histstat"));
- model.setValue("/root/send/clamym",model.getValue("/root/main/list2/summary[" + row + "]/clamym_1"));//
- model.setValue("/root/send/clamdg",model.getValue("/root/main/list2/summary[" + row + "]/clamdg_1"));//
- model.setValue("/root/send/reqfild",model.getValue("/root/main/list2/summary[" + row + "]/reqfild_1"));//
- model.setValue("/root/send/clammode",model.getValue("/root/main/list2/summary[" + row + "]/clammode_1")); //
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid"));
- model.setValue("/root/send/acting",model.getValue("/root/temp/acting"));
-
- submit("TRPID23100");
- swt_add.selectedIndex = 1;
- btn_summary.selected = false;
- btn_pat.selected = true;
- btn_code.selected = false;
-
- button3.visible = true;
- button4.visible = true;
-
- btn_choi.disabled = false;
- btn_del.disabled = false;
-
- btn_srch.disabled = true;
- }
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_code">
- <datagrid id="grd_addacntlist" nodeset="/root/main/list1/addacnt" class="datagrid2" visibility="visible" caption="시행일자^청구구분^청구연월^차수^청구분야^진료과^진료의^등록번호^환자명^주상병^처방코드^처방명^선택^진행상태^총진료비^청구액^1회
량^횟수^일투
량^일수^심사자^진료일자^보험유형^보조유형^전명세서
명일련^이전
보험^이전
보조^이전
급비^자료수집일자(생성일자)^심사일자^접수번호^cretno^수혜자^공여자^이식일자^수혜자
주민번호^구분" colsep="^" colwidth="75, 55, 57, 36, 55, 80, 55, 60, 50, 50, 70, 170, 35, 60, 70, 70, 35, 35, 35, 35, 50, 70, 55, 55, 60, 30, 30, 30, 76, 60, 55, 40, 60, 60, 70, 95, 60" explorerbar="sortshowmove" frozencols="10" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1145px; height:495px; vertical-align:middle; ">
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; vertical-align:middle; "/>
- <col ref="clammode" style="text-align:center; vertical-align:middle; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; vertical-align:middle; "/>
- <col ref="clamdg" style="text-align:center; vertical-align:middle; "/>
- <col ref="reqfild" visibility="hidden" style="text-align:center; vertical-align:middle; "/>
- <col ref="orddeptcd" style="text-align:center; vertical-align:middle; "/>
- <col ref="orddrid" style="text-align:center; vertical-align:middle; "/>
- <col ref="pid" style="text-align:center; vertical-align:middle; "/>
- <col ref="hngnm" style="text-align:center; vertical-align:middle; "/>
- <col ref="diag" style="text-align:center; vertical-align:middle; "/>
- <col ref="snglcalcscorcd" style="text-align:center; vertical-align:middle; "/>
- <col ref="snglcalcscornm" style="text-align:left; "/>
- <col ref="chck" type="checkbox" style="text-align:center; vertical-align:middle; "/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cur_row = grd_addacntlist.row;
-
- if(model.getValue("/root/main/list1/addacnt[" + cur_row + "]/chck") == "true"){
- //if ( grd_addacntlist.valueMatrix(grd_addacntlist.row, grd_addacntlist.colRef("chck")) == "true" ) {
- //if ( grd_addacntlist.valueMatrix(grd_addacntlist.row, grd_addacntlist.colRef("histstat")) != "T" ) {
- if(model.getValue("/root/main/list1/addacnt[" + cur_row + "]/histstat") == "Y"){
- messageBox("수집완료상태입니다. 수집완료 상태에서는 선택할 수 없습니다.", "E999");
- //if ( grd_addacntlist.valueMatrix(grd_addacntlist.row, grd_addacntlist.colRef("histstat")) != "T" ) {
- model.setValue("/root/main/list1/addacnt[" + cur_row + "]/chck","false");
- return;
- }
- }
-
- model.refresh();
- ]]>
- </script>
- <col disabled="true" ref="histstat" type="combo" style="text-align:center; vertical-align:middle; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>청구대상</label>
- <value>T</value>
- </item>
- <item>
- <label>수집대기</label>
- <value>N</value>
- </item>
- <item>
- <label>수집제외</label>
- <value>C</value>
- </item>
- <item>
- <label>수집완료</label>
- <value>Y</value>
- </item>
- </choices>
- </col>
- <col ref="totalfee" format="#,###" style="text-align:right; "/>
- <col ref="payinsubamt" format="#,###" style="text-align:right; "/>
- <col ref="calcqty" style="text-align:center; "/>
- <col ref="calctims" style="text-align:center; "/>
- <col ref="calc" style="text-align:center; "/>
- <col ref="calcdays" style="text-align:center; "/>
- <col ref="judgrid" style="text-align:center; vertical-align:middle; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="aftinsukind" style="text-align:center; "/>
- <col ref="aftsuppkind" style="text-align:center; "/>
- <col ref="docuseqno" style="text-align:center; "/>
- <col ref="preinsukind" style="text-align:center; "/>
- <col ref="presuppkind" style="text-align:center; "/>
- <col ref="preprcppayflag" style="text-align:center; "/>
- <col ref="clamdd" visibility="hidden" style="text-align:center; "/>
- <col ref="judgenddd" visibility="hidden" style="text-align:center; "/>
- <col ref="acptno" visibility="hidden" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="rsvpid" style="text-align:center; "/>
- <col ref="givpid" style="text-align:center; "/>
- <col ref="trnptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rsvrgstno" format="999999-9999999" style="text-align:center; "/>
- <col ref="rsvgbn" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- /* var row = grd_addacntlist.row;
- if( isDataCell() && row > 0 ){
- model.setValue("/root/send/fromdd",model.getValue("/root/temp/fromdd").removeMask('\n'));
- model.setValue("/root/send/todd",model.getValue("/root/temp/todd").removeMask('\n'));
- model.setValue("/root/send/pid",model.getValue("/root/main/list1/addacnt[" + row + "]/pid"));
- model.setValue("/root/send/orddd",model.getValue("/root/main/list1/addacnt[" + row + "]/orddd"));
- model.setValue("/root/send/aftacntyn",model.getValue("/root/temp/aftacntyn"));
- model.setValue("/root/send/preinsukind",model.getValue("/root/temp/preinsukind"));
- model.setValue("/root/send/presuppkind",model.getValue("/root/temp/presuppkind"));
- model.setValue("/root/send/aftinsukind",model.getValue("/root/temp/aftinsukind"));
- model.setValue("/root/send/aftsuppkind",model.getValue("/root/temp/aftsuppkind"));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/temp/orddeptcd"));
- model.setValue("/root/send/orddrid",model.getValue("/root/temp/orddrid"));
- model.setValue("/root/send/histstat",model.getValue("/root/temp/histstat"));
- model.setValue("/root/send/clamym",model.getValue("/root/temp/clamym"));
- model.setValue("/root/send/clamdg",model.getValue("/root/temp/clamdg"));
- model.setValue("/root/send/reqfild",model.getValue("/root/temp/reqfild"));
- model.setValue("/root/send/clammode",model.getValue("/root/temp/clammode"));
- model.setValue("/root/send/judgrid",model.getValue("/root/temp/judgrid"));
-
- submit("TRPID23107");
- swt_add.selectedIndex = 2;
- btn_summary.selected = false;
- btn_pat.selected = false;
- btn_code.selected = true;
- } */
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if (event.button == 3) { //오른쪽버튼
- if (grd_addacntlist.isCell(event.target) && grd_addacntlist.mouseRow >= grd_addacntlist.fixedrows) {
- var rowstatus = grd_addacntlist.rowstatus(grd_addacntlist.mouseRow);
- window.setPopupMenu(true, "/root/hidden/popupmenu/addlist/item", "name", "func", false);
- } else {
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:1145px; y2:25px; "/>
- <button id="button1" class="btn2_letter4" style="left:1075px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_addacntlist.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_addacntlist.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" style="left:1008px; top:5px; width:64px; height:19px; ">
- <caption>전체해제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=1; i < grd_addacntlist.rows; i++) {
- model.setValue("/root/main/list1/addacnt[" + i + "]/chck","false");
- grd_addacntlist.rowstatus(i) = 0;
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:941px; top:5px; width:64px; height:19px; ">
- <caption>전체선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row_cnt = 0;
- for(var i=1; i < grd_addacntlist.rows; i++) {
- if(model.getValue("/root/main/list1/addacnt[" + i + "]/histstat") == "T"){
- model.setValue("/root/main/list1/addacnt[" + i + "]/chck","true");
- }else{
- model.setValue("/root/main/list1/addacnt[" + i + "]/chck","false");
- }
- row_cnt ++;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption15" style="left:5px; top:535px; width:356px; height:15px; ">[참고] 총금액 = 단가*수량*횟수*일수(행위의 경우 병원가산포함)</caption>
- </case>
- <case id="case_pat">
- <line id="line4" class="line_1" style="x1:5px; y1:25px; x2:1140px; y2:25px; "/>
- <button id="button2" class="btn2_letter4" style="left:1075px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_code.rows > 1) {
- var fileName = window.fileDialog("save", "", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- if (fileName != "") {
- grd_code.saveExcel(fileName, "sheetname:;colhiddenextend:false;rowhiddenextend:false;", true, true, "", "", true);
- }
- } else {
- messageBox("엑셀저장할 대상자가", "I004"); ///엑셀저장할 대상자가 없습니다.
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_code" nodeset="/root/main/list3/code" class="datagrid2" visibility="visible" caption="청구구분^청구연월^차수^청구분야^진료과^등록번호^환자명^주상병^진료의^심사자^실시일자^그룹코드^수가코드^한글명^단가^1회량^횟수^1일량^일수^금액^전급비^후급비" colsep="^" colwidth="60, 61, 43, 72, 67, 65, 58, 77, 53, 53, 69, 90, 90, 271, 80, 39, 39, 39, 39, 63, 63, 63" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:1135px; height:470px; ">
- <col ref="clammode" style="text-align:center; "/>
- <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
- <col ref="clamdg" style="text-align:center; "/>
- <col ref="reqfild" style="text-align:center; "/>
- <col ref="orddeptcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="diag" style="text-align:center; "/>
- <col ref="drnm" style="text-align:center; "/>
- <col ref="judgrid" style="text-align:center; "/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="grupcalcscorcd" style="text-align:left; "/>
- <col ref="snglcalcscorcd" style="text-align:left; "/>
- <col ref="ordhngnm" style="text-align:left; "/>
- <col ref="appunitcost" format="#,###" style="text-align:center; "/>
- <col ref="calcqty" style="text-align:center; "/>
- <col ref="calctims" style="text-align:center; "/>
- <col ref="calc" style="text-align:center; "/>
- <col ref="calcdays" style="text-align:center; "/>
- <col ref="codeamt" format="#,###" style="text-align:center; "/>
- <col ref="preprcppayflag" style="text-align:center; "/>
- <col ref="aftprcppayflag" style="text-align:center; "/>
- </datagrid>
- </case>
- </switch>
- <button id="btn_summary" class="btn_sw" group="tab" selected="true" style="left:11px; top:115px; width:64px; height:22px; ">
- <caption>요약</caption>
- <toggle case="case_outrgst" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_add.selectedIndex = 0;
- btn_summary.selected = true;
- btn_pat.selected = false;
- btn_code.selected = false;
- // btn_srch.dispatch("onclick");
-
- button3.visible = false;
- button4.visible = false;
-
- btn_choi.disabled = true;
- btn_del.disabled = true;
-
- btn_srch.disabled = false;
- ]]>
- </script>
- </button>
- <button id="btn_pat" class="btn_sw" group="tab" selected="false" style="left:78px; top:115px; width:65px; height:22px; ">
- <caption>명단</caption>
- <toggle case="case_outupdt" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_add.selectedIndex = 1;
- btn_summary.selected = false;
- btn_pat.selected = true;
- btn_code.selected = false;
- //btn_srch.dispatch("onclick");
-
- button3.visible = true;
- button4.visible = true;
-
- btn_choi.disabled = false;
- btn_del.disabled = false;
-
- btn_srch.disabled = false;
- ]]>
- </script>
- </button>
- <button id="btn_code" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:145px; top:115px; width:65px; height:22px; ">
- <caption>코드</caption>
- <toggle case="case_outcncl" ev:event="onclick"/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- swt_add.selectedIndex = 2;
- btn_summary.selected = false;
- btn_pat.selected = false;
- btn_code.selected = true;
- btn_srch.dispatch("onclick");
- button3.visible = false;
- button4.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" scroll="auto" style="left:10px; top:705px; width:1150px; height:35px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1099px; y2:0px; "/>
- <button id="btn_close" class="btn4_letter2" style="left:1085px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close(); // F5 실행시 IE를 종료시킨다.
- ]]>
- </script>
- </button>
- <button id="btn_choi" accesskey="f9" class="btn4_letter7" style="left:764px; top:5px; width:104px; height:22px; ">
- <caption>자료수집 대기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row_cnt = 0;
- for(var i=1; i < grd_addacntlist.rows; i++) {
- if (model.getValue("/root/main/list1/addacnt[" + i + "]/chck") == "true"){
- model.makeValue("/root/send/updatedata/pid",model.getValue("/root/main/list1/addacnt[" + i + "]/pid"));
- model.makeValue("/root/send/updatedata/orddd",model.getValue("/root/main/list1/addacnt[" + i + "]/orddd"));
- model.makeValue("/root/send/updatedata/cretno",model.getValue("/root/main/list1/addacnt[" + i + "]/cretno"));
- fSave("N");
- }
- row_cnt ++;
- }
- btn_srch.dispatch("onclick");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_del" accesskey="f9" class="btn4_letter7" style="left:880px; top:5px; width:116px; height:22px; ">
- <caption>자료수집 제외</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row_cnt = 0;
- for(var i=1; i < grd_addacntlist.rows; i++) {
- if (model.getValue("/root/main/list1/addacnt[" + i + "]/chck") == "true"){
- model.makeValue("/root/send/updatedata/pid",model.getValue("/root/main/list1/addacnt[" + i + "]/pid"));
- model.makeValue("/root/send/updatedata/orddd",model.getValue("/root/main/list1/addacnt[" + i + "]/orddd"));
- model.makeValue("/root/send/updatedata/cretno",model.getValue("/root/main/list1/addacnt[" + i + "]/cretno"));
- fSave("C");
- }
- row_cnt ++;
- }
- btn_srch.dispatch("onclick");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_collect" accesskey="f9" class="btn4_letter9" style="left:15px; top:5px; width:116px; height:22px; ">
- <caption>추가청구 대상 수집</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fromdd = model.getValue("/root/temp/fromdd");
- var todd = model.getValue("/root/temp/todd");
- var chk_diff = getDateInterval(fromdd, todd, "dd");
- if ( chk_diff > "31" )
- {
- alert("한 달 이내만 수집 가능합니다!! 조회 기간을 다시 설정하세요!!!");
- model.setFocus("ipt_fromdd");
- }
- else
- {
- submit("TXPID23101");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|