12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIE00500" position="absolute 0 0 1201 805" titletext="EDI청구 SAM파일생성" oninit="SMPIE00500_oninit" onload="SMPIE00500_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 107 1201 779" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout width="1195" height="614">
- <Tab id="Tab00" taborder="17" tabindex="0" scrollbars="autoboth" position="absolute 0 5 1200 672" anchor="all">
- <Tabpages>
- <Tabpage id="tabpage1" text="청구서생성내역">
- <Layouts>
- <Layout>
- <Grid id="grd_saminfo" class="datagrid2" taborder="0" binddataset="ds_grd_saminfo" autoenter="select" useinputpanel="false" cellsizingtype="col" cellmovingtype="col" onkeydown="group3_grd_saminfo_onkeydown" onexpanddown="group3_grd_saminfo_onexpanddown" position="absolute 0 20 1199 640" anchor="all" oncelldblclick="group3_Tab00_tabpage1_grd_saminfo_oncelldblclick" selecttype="row" onvscroll="group3_Tab00_tabpage1_grd_saminfo_onvscroll" onhscroll="group3_Tab00_tabpage1_grd_saminfo_onhscroll">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="25" band="left"/>
- <Column size="55" band="left"/>
- <Column size="57" band="left"/>
- <Column size="55" band="left"/>
- <Column size="80" band="left"/>
- <Column size="80" band="left"/>
- <Column size="0" band="left"/>
- <Column size="55" band="left"/>
- <Column size="55" band="left"/>
- <Column size="55" band="left"/>
- <Column size="80" band="left"/>
- <Column size="80" band="left"/>
- <Column size="46" band="left"/>
- <Column size="50" band="left"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="66"/>
- <Column size="66"/>
- <Column size="68"/>
- <Column size="68"/>
- <Column size="68"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="85"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="68"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="266"/>
- </Columns>
- <Rows>
- <Row size="32" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="청구년월"/>
- <Cell col="3" text="내원 유형"/>
- <Cell col="4" text="보험유형"/>
- <Cell col="5" text="보험회사"/>
- <Cell col="6" text="분야"/>
- <Cell col="7" text="분야"/>
- <Cell col="8" text="청구구분"/>
- <Cell col="9" text="청구차수"/>
- <Cell col="10" text="미수월"/>
- <Cell col="11" text="청구서생성일"/>
- <Cell col="12" text="청구번호"/>
- <Cell col="13" text="명세 건수"/>
- <Cell col="14" text="청구 건수"/>
- <Cell col="15" text="급여총액"/>
- <Cell col="16" text="본인부담액"/>
- <Cell col="17" text="청구액"/>
- <Cell col="18" text="100분의100미만 총액"/>
- <Cell col="19" text="100분의100미만 본인부담금"/>
- <Cell col="20" text="100분의100미만 청구액"/>
- <Cell col="21" text="상한초과금"/>
- <Cell col="22" text="지원금"/>
- <Cell col="23" text="결핵지원금"/>
- <Cell col="24" text="희귀지원금"/>
- <Cell col="25" text="긴급지원금"/>
- <Cell col="26" text="장애인"/>
- <Cell col="27" text="약제 상한차액"/>
- <Cell col="28" text="대불금"/>
- <Cell col="29" text="심사중/미심 /보류"/>
- <Cell col="30" text="잠금"/>
- <Cell col="31" text="상태"/>
- <Cell col="32" text="insurkind"/>
- <Cell col="33" text="생성자ID"/>
- <Cell col="34" text="접수번호"/>
- <Cell col="35" text="접수일자"/>
- <Cell col="36" text="from"/>
- <Cell col="37" text="to"/>
- <Cell col="38" text="sammakeflag"/>
- <Cell col="39" text="caption1"/>
- <Cell col="40" text="workflag"/>
- <Cell col="41" text="seqno"/>
- <Cell col="42" text="참고사항"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="expr:getRowLevel(currow) == 1 ? 'none' : 'checkbox'" edittype="checkbox" style="background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:chkbox" expr="expr:chkbox == 'true' || chkbox == '1' ? 1 : 0"/>
- <Cell col="2" displaytype="date" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamym" mask="yyyy-MM" calendardisplaynulltype="nulltext"/>
- <Cell col="3" displaytype="combo" edittype="none" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:ioflag" combodataset="ds_init_cmb_ioflag" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="4" displaytype="combo" edittype="none" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamtypecd" combodataset="ds_init_cmb_clamtypecd" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" displaytype="combo" edittype="none" style="align:left middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:insucmno" combodataset="ds_PK032list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="6" displaytype="text" edittype="none" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:sumtypecdnm" enable="false"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:sumtypecd" enable="false"/>
- <Cell col="8" displaytype="combo" edittype="none" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamflag" combodataset="ds_init_cmb_clamflag" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="9" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamdg"/>
- <Cell col="10" displaytype="expr:getRowLevel(currow) == 0 ? "date" :"text"" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:ordym" mask="expr:getRowLevel(currow) == 0 ? "yyyy-MM" :"text""/>
- <Cell col="11" displaytype="date" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffffccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffffccff" :"#cefcfaff");" text="bind:clamdocdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="12" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff99ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff99ff" :"#cefcfaff");" text="bind:clamno"/>
- <Cell col="13" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff88ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff88ff" :"#cefcfaff");" text="bind:clbscnt"/>
- <Cell col="14" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff77ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff77ff" :"#cefcfaff");" text="bind:clamcnt"/>
- <Cell col="15" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff66ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff66ff" :"#cefcfaff");" text="bind:medcaretotamt"/>
- <Cell col="16" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff55ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff55ff" :"#cefcfaff");" text="bind:ownbamt"/>
- <Cell col="17" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff44ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff44ff" :"#cefcfaff");" text="bind:insuclamamt"/>
- <Cell col="18" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");" text="bind:blwtotownamt"/>
- <Cell col="19" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");" text="bind:blwownbamt"/>
- <Cell col="20" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffff33ff" :"#cefcfaff");" text="bind:blwinsuclamamt"/>
- <Cell col="21" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#cefcfaff" :"#ffff33ff");background2:EXPR(getRowLevel(currow) == 0 ? "#cefcfaff" :"#cefcfaff");" text="bind:ownbmaxexamt"/>
- <Cell col="22" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");" text="bind:suppamt"/>
- <Cell col="23" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");" text="bind:ksuppamt"/>
- <Cell col="24" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");" text="bind:hsuppamt"/>
- <Cell col="25" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");" text="bind:gsuppamt"/>
- <Cell col="26" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffcceeff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffcceeff" :"#cefcfaff");" text="bind:handcaprfund"/>
- <Cell col="27" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccddff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccddff" :"#cefcfaff");" text="bind:totlimitdiffamt"/>
- <Cell col="28" displaytype="number" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "#ffccccff" :"#cefcfaff");" text="bind:subtamt"/>
- <Cell col="29" style="align:right middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamstatcnt"/>
- <Cell col="30" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:lockyn"/>
- <Cell col="31" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:edistatcd"/>
- <Cell col="32" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:insurkindflag"/>
- <Cell col="33" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:fstrgstrid"/>
- <Cell col="34" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:acptno"/>
- <Cell col="35" displaytype="date" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:acptdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="36" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamfromdd"/>
- <Cell col="37" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:clamtodd"/>
- <Cell col="38" style="align:center middle;background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:sammakeflag"/>
- <Cell col="39" style="background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:totaltype"/>
- <Cell col="40" style="background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:workflag"/>
- <Cell col="41" style="background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:seqno"/>
- <Cell col="42" displaytype="text" edittype="text" style="background:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");background2:EXPR(getRowLevel(currow) == 0 ? "" :"#cefcfaff");" text="bind:rem" expandshow="show" expandsize="20"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10" text="총합계"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13" displaytype="number" text="expr:getSum("clbscnt")"/>
- <Cell col="14" displaytype="number" text="expr:getSum("clamcnt")"/>
- <Cell col="15" displaytype="number" text="expr:getSum("medcaretotamt")"/>
- <Cell col="16" displaytype="number" text="expr:getSum("ownbamt")"/>
- <Cell col="17" displaytype="number" text="expr:getSum("insuclamamt")"/>
- <Cell col="18" displaytype="number" text="expr:getSum("blwtotownamt")"/>
- <Cell col="19" displaytype="number" text="expr:getSum("blwownbamt")"/>
- <Cell col="20" displaytype="number" text="expr:getSum("blwinsuclamamt")"/>
- <Cell col="21" displaytype="number" text="expr:getSum("ownbmaxexamt")"/>
- <Cell col="22" displaytype="number" text="expr:getSum("suppamt")"/>
- <Cell col="23" displaytype="number" text="expr:getSum("ksuppamt")"/>
- <Cell col="24" displaytype="number" text="expr:getSum("hsuppamt")"/>
- <Cell col="25" displaytype="number" text="expr:getSum("gsuppamt")"/>
- <Cell col="26" displaytype="number" text="expr:getSum("handcaprfund")"/>
- <Cell col="27" displaytype="number" text="expr:getSum("totlimitdiffamt")"/>
- <Cell col="28" displaytype="number" text="expr:getSum("subtamt")"/>
- <Cell col="29"/>
- <Cell col="30"/>
- <Cell col="31"/>
- <Cell col="32"/>
- <Cell col="33"/>
- <Cell col="34"/>
- <Cell col="35"/>
- <Cell col="36"/>
- <Cell col="37"/>
- <Cell col="38"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- <Cell col="42"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_inafterjudg" taborder="1" text="입원사후" onclick="group3_btn_inafterjudg_onclick" class="btn2" position="absolute 291 0 355 19" anchor="top right"/>
- <Button id="btn_outafterjudg" taborder="2" text="외래사후" onclick="group3_btn_outafterjudg_onclick" class="btn2" position="absolute 356 0 420 19" anchor="top right"/>
- <Button id="btn_locky" taborder="3" text="잠금설정" onclick="group3_btn_locky_onclick" class="btn2" position="absolute 421 0 485 19" anchor="top right"/>
- <Button id="btn_lockn" taborder="4" text="잠금해제" onclick="group3_btn_lockn_onclick" class="btn2" position="absolute 486 0 550 19" anchor="top right"/>
- <Button id="btn_makeclam" taborder="5" text="청구서생성" onclick="group3_btn_makeclam_onclick" class="btn5" position="absolute 551 0 626 19" anchor="top right"/>
- <Button id="button3" taborder="6" text="청구서배치로그" onclick="group3_button3_onclick" class="btn5" position="absolute 627 0 728 19" anchor="top right"/>
- <Button id="button2" taborder="7" text="변경검사" onclick="group3_button2_onclick" class="btn5" position="absolute 729 0 793 19" anchor="top right"/>
- <Button id="btn_makesam" taborder="8" text="SAM생성" onclick="group3_btn_makesam_onclick" class="btn5" position="absolute 794 0 863 19" anchor="top right"/>
- <Button id="button7" taborder="9" text="SAM 생성_ur" onclick="group3_button7_onclick" class="btn5" position="absolute 864 0 958 19" anchor="top right"/>
- <Button id="btn_batchlog" taborder="10" text="SAM배치로그" onclick="group3_btn_batchlog_onclick" class="btn5" position="absolute 959 0 1053 19" anchor="top right"/>
- <Button id="btn_urscope" taborder="11" text="UR용샘생성" onclick="group3_btn_urscope_onclick" class="btn2" position="absolute 1054 0 1135 19" anchor="top right"/>
- <Button id="btn_trcompletion" taborder="12" text="송신완료" onclick="group3_btn_trcompletion_onclick" class="btn2" position="absolute 1136 0 1200 19" anchor="top right"/>
- <Button id="button4" taborder="13" text="셀카피" onclick="group3_button4_onclick" class="btn2" position="absolute 129 0 182 19" anchor="top right"/>
- <Button id="button5" taborder="14" text="열카피" onclick="group3_button5_onclick" class="btn2" position="absolute 183 0 236 19" anchor="top right"/>
- <Button id="button6" taborder="15" text="행카피" onclick="group3_button6_onclick" class="btn2" position="absolute 237 0 290 19" anchor="top right"/>
- <Button id="btn_exel" taborder="16" text="엑셀저장" onclick="btn_exel_onclick" class="btn7" position="absolute 53 0 128 19" anchor="top right"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tabpage2" text="명세서내역">
- <Layouts>
- <Layout>
- <Grid id="Grid00" taborder="0" useinputpanel="false" position="absolute 0 20 1199 640" binddataset="ds_grd_pidmclbs" selecttype="multiarea" onkeydown="group3_Tab00_tabpage2_Grid00_onkeydown" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="34"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="65"/>
- <Column size="116"/>
- <Column size="65"/>
- <Column size="40"/>
- <Column size="74"/>
- <Column size="79"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="56"/>
- <Column size="40"/>
- <Column size="59"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="94"/>
- </Columns>
- <Rows>
- <Row size="48" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="청구년월"/>
- <Cell col="2" text="내원 유형"/>
- <Cell col="3" text="심사자"/>
- <Cell col="4" text="진료과"/>
- <Cell col="5" text="환자번호"/>
- <Cell col="6" text="순번"/>
- <Cell col="7" text="환자명"/>
- <Cell col="8" text="보험유형"/>
- <Cell col="9" text="진료개실일"/>
- <Cell col="10" text="진료종료일"/>
- <Cell col="11" text="청구구분"/>
- <Cell col="12" text="청구 차수"/>
- <Cell col="13" text="심사상태"/>
- <Cell col="14" text="청구번호"/>
- <Cell col="15" text="명일련"/>
- <Cell col="16" text="청구분야"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="date" style="align:center middle;" text="bind:clamym" mask="yyyy-MM"/>
- <Cell col="2" displaytype="combo" style="align:center middle;" text="bind:ioflag" combodataset="ds_init_cmb_ioflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" displaytype="combo" style="align:center middle;" text="bind:judgrid" combodataset="ds_init_judgrid" combocodecol="judgrid" combodatacol="judgrnm"/>
- <Cell col="4" displaytype="combo" style="align:center middle;" text="bind:orddeptcd" combodataset="ds_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" style="align:center middle;" text="bind:pid"/>
- <Cell col="6" text="bind:pidsn"/>
- <Cell col="7" style="align:center middle;" text="bind:patnm"/>
- <Cell col="8" displaytype="combo" style="align:center middle;" text="bind:insukind" combodataset="ds_init_P0008" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="date" style="align:center middle;" text="bind:ordfromdd" mask="yyyy-MM-dd"/>
- <Cell col="10" displaytype="date" style="align:center middle;" text="bind:ordtodd" mask="yyyy-MM-dd"/>
- <Cell col="11" displaytype="combo" style="align:center middle;" text="bind:clamflag" combodataset="ds_init_cmb_clamflag" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="12" displaytype="text" style="align:center middle;" text="bind:clamdg"/>
- <Cell col="13" displaytype="combo" style="align:center middle;" text="bind:judgendyn" combodataset="ds_init_P0151" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="14" text="bind:clamno"/>
- <Cell col="15" text="bind:docuseqno"/>
- <Cell col="16" displaytype="normal" text="bind:sumtypecdnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button4" taborder="1" text="엑셀저장" class="btn7" position="absolute 1119 0 1199 19" anchor="top right" onclick="group3_Tab00_tabpage2_button4_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="btn_renamefile" taborder="18" text="파일명 일괄수정" onclick="btn_renamefile_onclick" class="btn3" position="absolute 1070 7 1200 27" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 784 1200 804" id="grp_btn" scrollbars="autoboth" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Static id="caption1" text="[보류, 삭제, 자동삭제 건수는 명세건수와 청구건수에서 제외됨]" position="absolute 5 0 528 20" anchor="left bottom" style="color:red;font:Dotum,11,bold;"/>
- <Static id="caption4" text="[청구차수] 원:1 보완:1001 추가:2001 누락:9001" position="absolute 528 0 835 20" anchor="left bottom"/>
- <Button id="button10" taborder="1" text="생성" class="btn4" visible="false" position="absolute 1143 0 1199 20" anchor="top right" onclick="grp_btn_button10_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 395 230 810 405" id="grp_rem" visible="false">
- <Layouts>
- <Layout>
- <Shape position="absolute 2 2 415 175" id="roundrect5" type="roundrectangle"/>
- <TextArea position="absolute 6 24 410 144" id="ipt_rem" oneditclick="grp_rem_ipt_rem_oneditclick" scrollbars="autovert" wordwrap="word"/>
- <Static text="참고사항" position="absolute 6 5 160 22" id="caption14" class="search_name"/>
- <Button position="absolute 295 150 351 172" id="btn_confirm2" class="btn4" text="확인" onclick="grp_rem_btn_confirm2_onclick"/>
- <Button position="absolute 354 150 410 172" id="btn_cancel2" class="btn4" text="취소" onclick="grp_rem_btn_cancel2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="EDI청구SAM파일생성" class="tit_1" position="absolute 0 0 186 26"/>
- <Div id="group2" taborder="1" position="absolute 0 26 1200 109" anchor="left top right" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="6" text="조회" class="btn1" position="absolute 1132 26 1188 48" anchor="top right" onclick="group2_button1_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1121 12 1127 65" anchor="top right"/>
- <Radio id="rdo_numflag" taborder="7" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 99 30 235 48" anchor="left top" onitemchanged="group2_rdo_numflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">청구번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">접수번호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_srchnum" taborder="8" class="input_search" position="absolute 240 30 340 49" anchor="left top" oneditclick="group2_ipt_srchnum_oneditclick" onkeydown="group2_ipt_srchnum_onkeydown"/>
- <Static id="caption10" text="내원유형 :" class="search_name" position="absolute 350 5 423 24" anchor="left top"/>
- <Radio id="rdo_ioflag" taborder="9" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 426 5 553 24" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption19" text="보험유형 :" class="search_name" position="absolute 10 5 96 24" anchor="left top"/>
- <Static id="caption7" text="~" position="absolute 978 5 993 24" anchor="top right"/>
- <Static id="caption2" text="청구구분 :" class="search_name" position="absolute 350 30 424 47" anchor="left top"/>
- <Static id="caption3" text="청구분야 :" class="search_name" position="absolute 350 53 424 70" anchor="left top"/>
- <Calendar id="ipt_fromcretdd" taborder="10" class="input_search" position="absolute 865 5 973 24" mask="yyyy-MM" anchor="top right" editformat="yyyy-MM" dateformat="yyyy-MM" value="null" oneditclick="group2_ipt_fromcretdd_oneditclick" onchanged="group2_ipt_fromcretdd_onchanged"/>
- <Calendar id="ipt_tocretdd" taborder="11" class="input_search" position="absolute 992 5 1099 24" mask="yyyy-mm-dd" anchor="top right" editformat="yyyy-MM" dateformat="yyyy-MM" value="null" onchanged="group2_ipt_tocretdd_onchanged" oneditclick="group2_ipt_tocretdd_oneditclick"/>
- <Combo id="cmb_clamflag" taborder="12" innerdataset="ds_init_cmb_clamflag" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 426 30 556 49" anchor="left top"/>
- <Combo id="cmb_ordfildcd" taborder="13" innerdataset="ds_init_cmb_ordfildcd" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 426 53 556 72" anchor="left top"/>
- <Radio id="rdo_termflag" taborder="14" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 601 5 836 24" anchor="top right" onitemchanged="group2_rdo_termflag_onitemchanged" onitemclick="group2_rdo_termflag_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">청구월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">청구서 생성일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">접수일자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <CheckBox id="chk_insukindAll" taborder="15" position="absolute 99 5 144 24" anchor="left top" text="전체" truevalue="Y" onchanged="group2_chk_insukindAll_onchanged" value="Y"/>
- <CheckBox id="chk_insukind1" taborder="16" position="absolute 147 5 192 24" anchor="left top" text="보험" truevalue="Y" onchanged="chk_insukind1_onchanged"/>
- <CheckBox id="chk_insukind2" taborder="17" position="absolute 195 5 240 24" anchor="left top" text="급여" truevalue="Y" onchanged="chk_insukind1_onchanged"/>
- <CheckBox id="chk_insukind3" taborder="18" position="absolute 243 5 288 24" anchor="left top" text="산재" truevalue="Y" onchanged="chk_insukind1_onchanged"/>
- <CheckBox id="chk_insukind4" taborder="19" position="absolute 291 5 336 24" anchor="left top" text="자보" truevalue="Y" onchanged="chk_insukind1_onchanged"/>
- <Static id="caption8" text="청구차수 :" class="search_name" position="absolute 9 53 99 70" anchor="left top"/>
- <Combo id="cmb_clamdg" taborder="20" innerdataset="ds_init_cmb_clamdg" codecolumn="cdnm" datacolumn="cdid" class="combo_search" position="absolute 104 53 203 72" anchor="left top"/>
- <Shape id="roundrect4" type="roundrectangle" class="roundrect_btnset" position="absolute 595 29 1100 79" anchor="top right" onclick="group2_roundrect4_onclick"/>
- <CheckBox id="bool1" taborder="21" position="absolute 603 31 690 51" anchor="top right" text="지원금보기" truevalue="Y"/>
- <CheckBox id="bool2" taborder="22" position="absolute 698 31 780 51" anchor="top right" text="미생성만" truevalue="Y"/>
- <CheckBox id="bool3" taborder="23" position="absolute 788 31 857 51" anchor="top right" text="미청구만" truevalue="Y"/>
- <CheckBox id="bool4" taborder="24" position="absolute 603 55 784 75" anchor="top right" text="명세서건수/청구건수 불일치" truevalue="Y"/>
- <CheckBox id="dtlclbsyn" taborder="25" text="상세현황" truevalue="Y" position="absolute 788 55 864 75" anchor="top right" falsevalue="N"/>
- <CheckBox id="bool00" taborder="26" text="미심결만" truevalue="Y" position="absolute 873 31 944 51" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_delclam" taborder="2" text="청구서삭제" class="btn2" enable="false" visible="false" position="absolute 1020 85 1095 104" anchor="top right" onclick="btn_delclam_onclick"/>
- <Grid id="grd_saminfoinducs" class="datagrid2" taborder="4" binddataset="ds_grd_saminfoinducs" useinputpanel="false" visible="false" position="absolute 1212 240 1832 447" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="83"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="66"/>
- <Column size="99"/>
- <Column size="98"/>
- <Column size="60"/>
- <Column size="94"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="분야"/>
- <Cell col="2" text="내원유형"/>
- <Cell col="3" text="청구년월"/>
- <Cell col="4" text="청구구분"/>
- <Cell col="5" text="청구차수"/>
- <Cell col="6" text="진료월"/>
- <Cell col="7" text="청구서생성일"/>
- <Cell col="8" text="청구번호"/>
- <Cell col="9" text="청구건수"/>
- <Cell col="10" text="건수"/>
- <Cell col="11" text="청구액계"/>
- <Cell col="12" text="청구액"/>
- <Cell col="13" text="상태"/>
- <Cell col="14" text="접수번호"/>
- <Cell col="15" text="명세서시작일자"/>
- <Cell col="16" text="명세서종료일자"/>
- <Cell col="17" text="잠금상태"/>
- <Cell col="18" text="청구서생성자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:chkbox" edittype="checkbox" displaytype="checkbox"/>
- <Cell col="1" enable="false" text="bind:ordfildcd" edittype="combo" displaytype="combo"/>
- <Cell col="2" enable="false" text="bind:ioflag" edittype="combo" displaytype="combo"/>
- <Cell col="3" text="bind:clamym" mask="yyyy-mm"/>
- <Cell col="4" enable="false" text="bind:clamflag" edittype="combo" displaytype="combo"/>
- <Cell col="5" text="bind:clamdg"/>
- <Cell col="6" text="bind:ordym" mask="yyyy-mm"/>
- <Cell col="7" text="bind:clamdocdd" mask="yyyy-mm-dd"/>
- <Cell col="8" text="bind:clamno"/>
- <Cell col="9" text="bind:sumcnt"/>
- <Cell col="10" text="bind:cnt" mask="#,###"/>
- <Cell col="11" text="bind:sumamt" mask="#,###"/>
- <Cell col="12" text="bind:amt" mask="#,###"/>
- <Cell col="13" text="bind:edistatcd"/>
- <Cell col="14" text="bind:acptno"/>
- <Cell col="15" text="bind:clamfromdd"/>
- <Cell col="16" text="bind:clamtodd"/>
- <Cell col="17" text="bind:lockyn"/>
- <Cell col="18" text="bind:fstrgstrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cmb_clamflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_ordfildcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_saminfoinducs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkbox" type="STRING"/>
- <Column id="ordfildcd" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="clamym" type="STRING"/>
- <Column id="clamflag" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="ordym" type="STRING"/>
- <Column id="clamdocdd" type="STRING"/>
- <Column id="clamno" type="STRING"/>
- <Column id="sumcnt" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- <Column id="sumamt" type="STRING"/>
- <Column id="amt" type="STRING"/>
- <Column id="edistatcd" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="clamfromdd" type="STRING"/>
- <Column id="clamtodd" type="STRING"/>
- <Column id="lockyn" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_saminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_saminfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkbox" type="STRING" size="5"/>
- <Column id="clamym" type="STRING" prop="NONE"/>
- <Column id="ioflag" type="STRING" prop="NONE"/>
- <Column id="clamtypecd" type="STRING"/>
- <Column id="insucmno" type="STRING"/>
- <Column id="sumtypecdnm" type="STRING"/>
- <Column id="sumtypecd" type="STRING"/>
- <Column id="clamflag" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="ordym" type="STRING" prop="TEXT" sumtext="소계"/>
- <Column id="clamno" type="STRING"/>
- <Column id="clbscnt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="clamcnt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="medcaretotamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ownbamt" type="BIGDECIMAL" prop="SUM" size="255"/>
- <Column id="insuclamamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwtotownamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwownbamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwinsuclamamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ownbmaxexamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="suppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ksuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="hsuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="gsuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="handcaprfund" type="BIGDECIMAL" prop="SUM"/>
- <Column id="totlimitdiffamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="subtamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="clamstatcnt" type="STRING" prop="SUM"/>
- <Column id="lockyn" type="STRING"/>
- <Column id="edistatcd" type="STRING"/>
- <Column id="insurkindflag" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="clamfromdd" type="STRING"/>
- <Column id="clamtodd" type="STRING"/>
- <Column id="sammakeflag" type="STRING"/>
- <Column id="totaltype" type="STRING"/>
- <Column id="workflag" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="rem" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="clamdd" type="STRING" size="256"/>
- <Column id="clamdocdd" type="STRING" size="256"/>
- <Column id="clbsordfildcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dateflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dateflag">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_PK032list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_clamtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insurkindflag" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insurkindAll" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insurkind1" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insurkind2" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insurkind3" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insurkind4" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="fromcretdd" type="STRING" size="256" sumtext="청구생성시작일"/>
- <Column id="tocretdd" type="STRING" size="256" sumtext="청구생성종료일"/>
- <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="ordfildcd" type="STRING" size="256" sumtext="청구분야"/>
- <Column id="srchnum" type="STRING" size="256" sumtext="조회번호"/>
- <Column id="numflag" type="STRING" size="256" sumtext="조회번호구분"/>
- <Column id="termflag" type="STRING" size="256" sumtext="기간구분"/>
- <Column id="clamfromdd" type="STRING" size="256" sumtext="명세서시작일자"/>
- <Column id="clamtodd" type="STRING" size="256" sumtext="명세서종료일자"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="심사차수"/>
- <Column id="insucmno" type="STRING" size="256" sumtext="보험회사"/>
- <Column id="suppamtyn" type="STRING" size="256" sumtext="보험회사"/>
- <Column id="clamexistsyn" type="STRING" size="256" sumtext="미생성만"/>
- <Column id="acptnoexistsyn" type="STRING" size="256" sumtext="미청구만"/>
- <Column id="clamcntdfyn" type="STRING" size="256" sumtext="청구건수다른건만"/>
- <Column id="insukindcd" type="STRING" size="256"/>
- <Column id="dtlclbsyn" type="STRING" size="256"/>
- <Column id="edistatyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_return" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_clam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="insurkindflag" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="clamflag" type="STRING" size="256" sumtext="청구구분"/>
- <Column id="clamfromdd" type="STRING" size="256" sumtext="명세서시작일"/>
- <Column id="clamtodd" type="STRING" size="256" sumtext="명세서종료일"/>
- <Column id="clamcretdd" type="STRING" size="256" sumtext="청구서생성일"/>
- <Column id="ordfildcd" type="STRING" size="256" sumtext="진료분야"/>
- <Column id="clamym" type="STRING" size="256" sumtext="청구년월"/>
- <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
- <Column id="sumtypecd" type="STRING" size="256" sumtext="집계형태"/>
- <Column id="clamtypecd" type="STRING" size="256" sumtext="유형"/>
- <Column id="flag" type="STRING" size="256" sumtext="생성구분자"/>
- <Column id="insucmno" type="STRING" size="256" sumtext="보험회사"/>
- <Column id="clbsordfildcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_rem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_grd_pidmclbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_clbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkbox" type="STRING" size="5"/>
- <Column id="clamym" type="STRING" prop="NONE"/>
- <Column id="ioflag" type="STRING" prop="NONE"/>
- <Column id="clamtypecd" type="STRING"/>
- <Column id="insucmno" type="STRING"/>
- <Column id="sumtypecdnm" type="STRING"/>
- <Column id="sumtypecd" type="STRING"/>
- <Column id="clamflag" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="ordym" type="STRING" prop="TEXT" sumtext="소계"/>
- <Column id="clamno" type="STRING"/>
- <Column id="clbscnt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="clamcnt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="medcaretotamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ownbamt" type="BIGDECIMAL" prop="SUM" size="255"/>
- <Column id="insuclamamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwtotownamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwownbamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="blwinsuclamamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ownbmaxexamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="suppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="ksuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="hsuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="gsuppamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="handcaprfund" type="BIGDECIMAL" prop="SUM"/>
- <Column id="totlimitdiffamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="subtamt" type="BIGDECIMAL" prop="SUM"/>
- <Column id="clamstatcnt" type="STRING" prop="SUM"/>
- <Column id="lockyn" type="STRING"/>
- <Column id="edistatcd" type="STRING"/>
- <Column id="insurkindflag" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="clamfromdd" type="STRING"/>
- <Column id="clamtodd" type="STRING"/>
- <Column id="sammakeflag" type="STRING"/>
- <Column id="totaltype" type="STRING"/>
- <Column id="workflag" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="rem" type="STRING"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="clamdd" type="STRING" size="256"/>
- <Column id="clamdocdd" type="STRING" size="256"/>
- <Column id="dtlclbsyn" type="STRING" size="256"/>
- <Column id="clbsordfildcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_P0151" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_saminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.chk_insukindAll" propid="value" datasetid="ds_send" columnid="insurkindAll"/>
- <BindItem id="item1" compid="group2.chk_insukind1" propid="value" datasetid="ds_send" columnid="insurkind1"/>
- <BindItem id="item2" compid="group2.chk_insukind2" propid="value" datasetid="ds_send" columnid="insurkind2"/>
- <BindItem id="item3" compid="group2.chk_insukind3" propid="value" datasetid="ds_send" columnid="insurkind3"/>
- <BindItem id="item4" compid="group2.chk_insukind4" propid="value" datasetid="ds_send" columnid="insurkind4"/>
- <BindItem id="item5" compid="group2.rdo_ioflag" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item6" compid="group2.rdo_termflag" propid="value" datasetid="ds_send" columnid="termflag"/>
- <BindItem id="item7" compid="group2.ipt_fromcretdd" propid="value" datasetid="ds_send" columnid="clamfromdd"/>
- <BindItem id="item8" compid="group2.ipt_tocretdd" propid="value" datasetid="ds_send" columnid="clamtodd"/>
- <BindItem id="item9" compid="group2.rdo_numflag" propid="value" datasetid="ds_send" columnid="numflag"/>
- <BindItem id="item10" compid="group2.ipt_srchnum" propid="value" datasetid="ds_send" columnid="srchnum"/>
- <BindItem id="item11" compid="group2.cmb_clamflag" propid="value" datasetid="ds_send" columnid="clamflag"/>
- <BindItem id="item12" compid="group2.cmb_ordfildcd" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
- <BindItem id="item13" compid="group2.bool1" propid="value" datasetid="ds_send" columnid="suppamtyn"/>
- <BindItem id="item14" compid="group2.bool2" propid="value" datasetid="ds_send" columnid="clamexistsyn"/>
- <BindItem id="item15" compid="group2.bool3" propid="value" datasetid="ds_send" columnid="acptnoexistsyn"/>
- <BindItem id="item16" compid="group2.bool4" propid="value" datasetid="ds_send" columnid="clamcntdfyn"/>
- <BindItem id="item17" compid="group2.cmb_clamdg" propid="value" datasetid="ds_send" columnid="clamdg"/>
- <BindItem id="item18" compid="grp_rem.ipt_rem" propid="value" datasetid="ds_send_rem" columnid="rem"/>
- <BindItem id="item19" compid="group2.dtlclbsyn" propid="value" datasetid="ds_send" columnid="dtlclbsyn"/>
- <BindItem id="item20" compid="group2.bool00" propid="value" datasetid="ds_send" columnid="edistatyn"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-10-07
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-10-07 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- var lgv_hscroll_pos = 0;
- var lgv_vscroll_pos = 0;
- var todd = utlf_getCurrentDate();
- todd = todd.toDate().getAddDate(1, "D").getDateFormat();
- var objArg = new Object();
- objArg.todd = todd;
- objArg.execrid = sysf_getUserId();
- objArg.prgmid = "EDISamFileBatch";
- function SMPIE00500_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIE00500_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(group3.Tab00.tabpage1.grd_saminfo);
- grdf_initGrid(group3.Tab00.tabpage2.Grid00);
-
- var clamym = utlf_getCurrentDate().substr(0,6);
- ds_send.setColumn(0, "insurkindAll", "Y");
-
- ds_send.setColumn(0, "ioflag", "1");
- ds_send.setColumn(0, "termflag", "1");
- ds_send.setColumn(0, "numflag", "1");
-
- ds_send.setColumn(0, "clamfromdd", clamym);
- ds_send.setColumn(0, "clamtodd", clamym);
-
- ds_send_clamdg.setColumn(0,"dateflag","1");
- ds_send_clamdg.setColumn(0,"fromdd",clamym);
- ds_send_clamdg.setColumn(0,"todd",clamym);
-
- var oParam = {};
- oParam.id = "TRPIE00509";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetAllSpecClamDg";
- oParam.inds = "req=ds_send_clamdg";
- oParam.outds = "ds_init_cmb_clamdg=clamdg";
- oParam.async = true;
- oParam.progress = false;
- oParam.callback = "cf_TRPIE00509";
- tranf_submit(oParam);
- group2.ipt_fromcretdd.dateformat = "yyyy-MM";
- group2.ipt_fromcretdd.editformat = "yyyy-MM";
- group2.ipt_tocretdd.dateformat = "yyyy-MM";
- group2.ipt_tocretdd.editformat = "yyyy-MM";
-
- CommCode_Load();
-
- ds_grd_saminfo.keystring = "G:+clamym+ioflag+clamtypecd+totaltype"
-
- // 2020.03.31 본원도 적용 : 김성자 과장님 요청
- //if(sysf_getUserInfo("dutplceinstcd") == "031") {
- // group2.bool00.visible = false;
- //}
- }
- function cf_TRPIE00509(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- if( ds_init_cmb_clamdg.rowcount < 1 )
- {
- sysf_messageBox("청구된 차수가 없습니다. 미수년월을 확인 해 주세요!.", "E999", "");
- }
-
- frmf_addComboItem("group2.cmb_clamdg","전체","","above");
- }
- function CommCode_Load()
- {
- var objParam = [ {cdGrpId: "P0426", dsNm: "ds_init_cmb_clamflag"} // 청구구분
- ,{cdGrpId: "P0103", dsNm: "ds_init_cmb_clamtypecd"} //
- ,{cdGrpId: "P0028", dsNm: "ds_init_cmb_ioflag"} //
- ,{cdGrpId: "P0458", dsNm: "ds_init_cmb_ordfildcd"}
- ,{bizFlag: "Z", cdGrpId: "P0008", dsNm: "ds_init_P0008", sortField: "", sortMethod: ""}// 보험유형
- ,{bizFlag: "Z", cdGrpId: "P0010", dsNm: "ds_init_P0010", sortField: "", sortMethod: ""}// 보조유형
- ,{bizFlag: "Z", cdGrpId: "P0151", dsNm: "ds_init_P0151", sortField: "", sortMethod: ""}// 심사상태 / 심사완료여부
- ]; // 진료분야
-
- appf_getCodeList(objParam);
-
- objParam = [{dsNm: "ds_PK032list", cdGrpId: "PK032", showValue: true}];
-
- pamfGetCodeList(objParam, true, ""); //비동기
-
- // 심사자, 보조유형, 진료의사, 청구과, 진료과, 심사자유무정보 조회
- var oParam = {};
- oParam.id = "TRPID20201";
- oParam.service = "aftjudgapp.InAftJudgTrgtMan";
- oParam.method = "reqGetInitComCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_judgrid=judgrid ds_init_suppkind=suppkind ds_init_orddrid=orddrid ds_init_orddrid2=orddrid2 ds_init_clamdept=clamdept ds_init_orddeptcd=orddeptcd ds_init_orddeptcd2=orddeptcd2 ds_init_item3=item3 ds_init_aftjudgerlist=aftjudgerr";
- oParam.async = false;
- //oParam.callback = "cf_TRPID20201";
- tranf_submit(oParam);
-
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- lgv_hscroll_pos = group3.Tab00.tabpage1.grd_saminfo.hscrollbar.pos;
- lgv_vscroll_pos = group3.Tab00.tabpage1.grd_saminfo.vscrollbar.pos;
-
- if (!utlf_isNull(group2.ipt_srchnum.value) && group2.rdo_numflag.value == "2"){
- } else {
- if(group2.rdo_termflag.value == 1 || group2.rdo_termflag.value == 2)
- {
- ds_send.setColumn(0,"clamfromdd", utlf_transNullToEmpty(String(group2.ipt_fromcretdd.value)).substr(0,6));
- ds_send.setColumn(0,"clamtodd", utlf_transNullToEmpty(String(group2.ipt_tocretdd.value)).substr(0,6));
- }
- else if (group2.rdo_termflag.value == 3)
- {
- ds_send.setColumn(0,"clamfromdd", utlf_transNullToEmpty(String(group2.ipt_fromcretdd.value)).substr(0,8));
- ds_send.setColumn(0,"clamtodd", utlf_transNullToEmpty(String(group2.ipt_tocretdd.value)).substr(0,8));
- }
- }
- if (group2.dtlclbsyn.value == "Y") {
- ds_grd_pidmclbs.clearData();
- var oParam = {};
- oParam.id = "TRPIE00501";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetPidmclbsList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_pidmclbs=gridclbs";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00501";
- tranf_submit(oParam);
- } else {
- var oParam = {};
- oParam.id = "TRPIE00500";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetSamInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_saminfo=gridsaminfo";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00500";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_grd_saminfo, "clbscnt:0,clamcnt:0,medcaretotamt:0,ownbamt:0,ownbmaxexamt:0,suppamt:0,gsuppamt:0,ksuppamt:0,hsuppamt:0,insuclamamt:0,handcaprfund:0,totlimitdiffamt:0,subtamt:0,clamstatcnt:0,blwtotownamt:0,blwownbamt:0,blwinsuclamamt:0");
- }
- }
- function group2_ipt_fromcretdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fDateChk("f");
- }
- function group2_rdo_numflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if(obj.value == "2")
- {
- ds_send.setColumn(0,"clamfromdd", "");
- ds_send.setColumn(0,"clamtodd", "");
- }
- else
- {
- ds_send.setColumn(0,"clamfromdd", utlf_getCurrentDate().substr(0,6));
- ds_send.setColumn(0,"clamtodd", utlf_getCurrentDate().substr(0,6));
- }
- }
- function chk_insukind1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- ds_send.setColumn(0,"insurkindAll","");
- }
- function group2_chk_insukindAll_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
- {
- ds_send.setColumn(0,"insurkind1","");
- ds_send.setColumn(0,"insurkind2","");
- ds_send.setColumn(0,"insurkind3","");
- ds_send.setColumn(0,"insurkind4","");
- }
- function fDateChk(flag){
-
- var dateflag;
- group2.ipt_fromcretdd.updateToDataset();
- group2.ipt_tocretdd.updateToDataset();
-
- var fromdd = String(group2.ipt_fromcretdd.value);
- var todd = String(group2.ipt_tocretdd.value);
- var ioflag = group2.rdo_ioflag.value;
- var insukind = ds_send.getColumn(0,"insukindcd");
- var clamflag = ds_send.getColumn(0,"clamflag");
- var ordfildcd = ds_send.getColumn(0,"ordfildcd");
-
- if(utlf_isNull(fromdd)){
- sysf_messageBox("기간의 시작일자를","C001");
- group2.ipt_fromcretdd.setFocus();
- return;
- }else{
- if (flag == "f") {
- group2.ipt_tocretdd.value = fromdd.substr(0,6);
- todd = String(group2.ipt_tocretdd.value);
- }
- ds_send_clamdg.setColumn(0,"fromdd", fromdd.substr(0,6));
- ds_send_clamdg.setColumn(0,"todd", todd.substr(0,6));
-
- if(ioflag == "1")
- {
- ds_send_clamdg.setColumn(0,"ioflag","");
- }
- else if(ioflag == "2")
- {
- ds_send_clamdg.setColumn(0,"ioflag","I");
- }
- else if(ioflag == "3")
- {
- ds_send_clamdg.setColumn(0,"ioflag","O");
- }
- else
- {
- sysf_messageBox("내원유형이 선택되지 않았습니다!.", "E999", "");
- }
-
- if(insukind == "21")
- {
- ds_send_clamdg.setColumn(0,"insukind","21','22");
- }
- else
- {
- ds_send_clamdg.setColumn(0,"insukind",insukind);
- }
-
- ds_send_clamdg.setColumn(0,"clamflag",clamflag);
- ds_send_clamdg.setColumn(0,"ordfildcd",ordfildcd);
- ds_send_clamdg.setColumn(0,"dateflag","1");
-
- // 청구차수가져오기
- var oParam = {};
- oParam.id = "TRPIE00509";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetAllSpecClamDg";
- oParam.inds = "req=ds_send_clamdg";
- oParam.outds = "ds_init_cmb_clamdg=clamdg";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00509";
- tranf_submit(oParam);
- }
- }
- function group2_ipt_tocretdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fDateChk("t");
- }
- function group2_rdo_termflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- if (obj.value == 1 || obj.value == 2)
- {
- group2.ipt_fromcretdd.dateformat = "yyyy-MM";
- group2.ipt_fromcretdd.editformat = "yyyy-MM";
- group2.ipt_tocretdd.dateformat = "yyyy-MM";
- group2.ipt_tocretdd.editformat = "yyyy-MM";
-
- group2.cmb_clamdg.enable = true;
-
- }
- else
- {
- group2.ipt_fromcretdd.dateformat = "yyyy-MM-dd";
- group2.ipt_fromcretdd.editformat = "yyyy-MM-dd";
- group2.ipt_tocretdd.dateformat = "yyyy-MM-dd";
- group2.ipt_tocretdd.editformat = "yyyy-MM-dd";
-
- group2.cmb_clamdg.enable = false;
- }
- group2.ipt_fromcretdd.setFocus();
- }
- function group3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.Tab00.tabpage1.grd_saminfo.selecttype = "multiarea";
- }
- function group3_grd_saminfo_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if (e.ctrlKey && e.keycode == 67)
- {
- grdf_clipboardCopy(obj, "PAM");
- }
- }
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.Tab00.tabpage1.grd_saminfo.selecttype = "multiarea";
- }
- function group3_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.Tab00.tabpage1.grd_saminfo.selecttype = "multirow";
- }
- function group3_btn_inafterjudg_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMPID20300","SMPID20300","","","","","","","","","","","M");
- }
- function group3_btn_outafterjudg_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMPID20500","SMPID20500","","","","","","","","","","","M");
- }
- function group3_btn_makesam_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_temp_saminfo.clearData();
- var cnt = ds_grd_saminfo.getCaseCount("chkbox == 'true'");
-
- var clamym = ds_grd_saminfo.lookupExpr("chkbox=='true'","clamym");
- var clamdg = ds_grd_saminfo.lookupExpr("chkbox=='true'","clamdg");
- var ioflag = ds_grd_saminfo.lookupExpr("chkbox=='true'","ioflag");
- var clamtypecd = ds_grd_saminfo.lookupExpr("chkbox=='true'","clamtypecd");
- var clamflag = ds_grd_saminfo.lookupExpr("chkbox=='true'","clamflag");
- var sumtypecd = ds_grd_saminfo.lookupExpr("chkbox=='true'","sumtypecd");
- var clbsordfildcd = ds_grd_saminfo.lookupExpr("chkbox=='true'","clbsordfildcd");
-
- var chkRowno = ds_grd_saminfo.findRowExpr("clamym == '"+clamym+"' && clamdg == '"+clamdg+"' && ioflag == '"+ioflag+"' && clamtypecd == '"+clamtypecd+"' && clamflag == '"+clamflag+"' && sumtypecd == '"+sumtypecd+"' && clbsordfildcd == '"+clbsordfildcd+"' ");
- var endcnt = ds_grd_saminfo.getCaseCount("chkbox == 'true' && (edistatcd == '송신' || edistatcd == '반송' || edistatcd == '접수' || edistatcd == '심결')");
-
- if (endcnt > 0)
- {
- sysf_messageBox("송신된 데이터는 SAM 생성 할 수", "I004");
- return;
- }
-
- if(cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else
- {
-
- group2_button1_onclick();
-
- ds_grd_saminfo.setColumn(chkRowno,"chkbox","true")
-
- if(sysf_messageBox("저장","S001") == 6)
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- if (ds_temp_saminfo.getColumn(0,"clamflag") == "3")
- {
- ds_temp_saminfo.setColumn(0,"clamflag", "0");
- }
-
- ds_temp_saminfo.setColumn(0,"sammakeflag", "OR");
-
- if(ds_temp_saminfo.getColumn(0,"clamtypecd") == 6)
- {
- var select = sysf_messageBox(" :: 산재 SAM파일 071ver 생성(예_Yes) :: \n :: 이전 산재 SAM파일 생성(아니오_No) :: \n :: 취소(취소_Cancel) :: \n\n\n071ver으로 진행 ","S001");
-
- if(select == 6)
- {
- ds_temp_saminfo.setColumn(0,"flag", "N");
- var oParam = {};
- oParam.id = "TXPIE00502";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeSamFile";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE00502";
- tranf_submit(oParam);
- }
- else if(select == 7)
- {
- ds_temp_saminfo.setColumn(0,"flag", "B");
-
- var oParam = {};
- oParam.id = "TXPIE00502";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeSamFile";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE00502";
- tranf_submit(oParam);
- }
- else
- {
- return;
- }
- }
- else
- {
- ds_temp_saminfo.setColumn(0,"flag", "N");
- var oParam = {};
- oParam.id = "TXPIE00502";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeSamFile";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE00502";
- tranf_submit(oParam);
- }
-
- objArg.prgmid = "EDISamFileBatch";
-
- var trgtManWindow = frmf_getChildWindow("SPZSB00301");
- if (utlf_isNull(trgtManWindow))
- {
- frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
- } else {
- trgtManWindow.reload();
- }
-
- }
- else
- {
- }
- }
- }
- function group3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- objArg.prgmid = "EdiMakeClamBatch";
-
- var trgtManWindow = frmf_getChildWindow("SPZSB00301");
- if (utlf_isNull(trgtManWindow))
- {
- frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
- } else {
- trgtManWindow.reload();
- }
- }
- function group3_btn_locky_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_grd_saminfo.getCaseCount("chkbox == 'true'");
-
- if (cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else if (cnt > 1)
- {
- sysf_messageBox("단일 항목만 선택하여주십시오.", "C009");
- }
- else
- {
- if(sysf_messageBox("저장","S001") == 6)
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- var oParam = {};
- oParam.id = "TRPIE00508";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetJudgInfo";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.outds = "ds_return=return";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00508";
- tranf_submit(oParam);
- }
- else
- {
- }
- }
- }
- function cf_TRPIE00508(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- if(ds_return.getColumn(0,"judgyn") == "Y")
- {
- sysf_messageBox("심사중이거나 미심인 명세서가 존재합니다..","C009");
- }
- else if(ds_return.getColumn(0,"judgyn") == "N")
- {
- // 마감설정 요청
- var oParam = {};
- oParam.id = "TXPIE00504";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeSetLockY";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.async = false;
- oParam.callback = "cf_TXPIE00504";
- tranf_submit(oParam);
- }
- }
- function cf_TXPIE00504(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- objArg.prgmid = "EdiMakeClamBatch";
-
- var trgtManWindow = frmf_getChildWindow("SPZSB00301");
- if (utlf_isNull(trgtManWindow))
- {
- frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
- } else {
- trgtManWindow.reload();
- }
- }
- }
- function group3_btn_lockn_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_grd_saminfo.getCaseCount("chkbox=='true'");
-
- var lockcnt = ds_grd_saminfo.getCaseCount("chkbox=='true' && (edistatcd == '송신' || edistatcd == '반송' || edistatcd == '접수' || edistatcd == '심결')");
-
- if (cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else
- {
- if (lockcnt > 0)
- {
- sysf_messageBox("잠금해제가 불가능한 접수상태가 있습니다.", "");
-
- return false;
- }
- }
-
- if(sysf_messageBox("저장","S001") == 6)
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
-
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- var oParam = {};
- oParam.id = "TXPIE00505";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeSetLockN";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXPIE00504";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRPIE00500";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetSamInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_saminfo=gridsaminfo";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00500";
- tranf_submit(oParam);
- }
- else
- {
- }
- }
- function group3_btn_makeclam_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = ds_grd_saminfo.rowcount;
- var icount = 0;
- ds_send_clam.clearData();
- ds_send_clam.setColumn(0, "insucmno", "");
-
- for ( var i = 0; i < rows; i++ )
- {
- if(ds_grd_saminfo.getColumn(i, "chkbox") == "true")
- {
- icount = ds_send_clam.addRow();
-
- if (ds_grd_saminfo.getColumn(i, "ioflag") == "I")
- {
- ds_send_clam.setColumn(icount, "ioflag", "1");
- // if(ds_grd_saminfo.getColumn(i, "clamflag") == "0")
- // {
- // if(ds_grd_saminfo.getColumn(i, "clamdg") > "2")
- // {
- // sysf_messageBox("입원 원청구는 2차수 초과 대상은 허용" , "E001");
- // return;
- // }
- // }
- }
- else if (ds_grd_saminfo.getColumn(i, "ioflag") == "O")
- {
- ds_send_clam.setColumn(icount, "ioflag", "2");
- if(ds_grd_saminfo.getColumn(i, "clamflag") == "0")
- {
- if(ds_grd_saminfo.getColumn(i, "clamdg") > "1")
- {
- sysf_messageBox("외래원청구는 1차수 초과 대상은 허용" , "E001");
- return;
- }
- }
- }
-
- ds_send_clam.setColumn(icount, "clamflag", ds_grd_saminfo.getColumn(i, "clamflag"));
-
- if (ds_grd_saminfo.getColumn(i, "clamflag") == "3")
- {
- ds_send_clam.setColumn(icount, "clamflag", "0");
- }
-
- if (ds_grd_saminfo.getColumn(i, "clamtypecd") == "1")
- {
- ds_send_clam.setColumn(icount, "insurkindflag", "1");
- }
- else if (ds_grd_saminfo.getColumn(i, "clamtypecd") == "4" || ds_grd_saminfo.getColumn(i, "clamtypecd") == "5" || ds_grd_saminfo.getColumn(i, "clamtypecd") == "9")
- {
- ds_send_clam.setColumn(icount, "insurkindflag", "2");
- }
- else if (ds_grd_saminfo.getColumn(i, "clamtypecd") == "6")
- {
- ds_send_clam.setColumn(icount, "insurkindflag", "3");
- }
- else if (ds_grd_saminfo.getColumn(i, "clamtypecd") == "8")
- {
- ds_send_clam.setColumn(icount, "insurkindflag", "4");
- ds_send_clam.setColumn(icount, "insucmno", ds_grd_saminfo.getColumn(i, "insucmno"));
- }
-
- ds_send_clam.setColumn(icount, "ordfildcd" , ds_grd_saminfo.getColumn(i, "sumtypecd"));
- ds_send_clam.setColumn(icount, "clamym" , ds_grd_saminfo.getColumn(i, "clamym"));
- ds_send_clam.setColumn(icount, "clamdg" , ds_grd_saminfo.getColumn(i, "clamdg"));
- ds_send_clam.setColumn(icount, "clamfromdd" , utlf_getCurrentDate());
- ds_send_clam.setColumn(icount, "clamtodd" , utlf_getCurrentDate());
- ds_send_clam.setColumn(icount, "clamcretdd" , utlf_getCurrentDate());
- ds_send_clam.setColumn(icount, "sumtypecd" , ds_grd_saminfo.getColumn(i, "sumtypecd"));
- ds_send_clam.setColumn(icount, "clamtypecd" , ds_grd_saminfo.getColumn(i, "clamtypecd"));
- ds_send_clam.setColumn(icount, "clbsordfildcd" , ds_grd_saminfo.getColumn(i, "clbsordfildcd"));
- }
- }
- icount = ds_send_clam.rowcount;
-
- if (icount != 1)
- {
- sysf_messageBox("선택하지 않았거나 2건 이상이 선택되어 생성" , "E001");
- return;
- }
-
- if (ds_send_clam.rowcount < 1)
- {
- sysf_messageBox("선택하지 않아 생성" , "E001");
- return;
- }
-
-
- if(sysf_messageBox("청구서 생성 ","S001") == 6)
- {
-
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- var oParam = {};
- oParam.id = "TRPIE00508";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetJudgInfo";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.outds = "ds_return=return";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00508_1";
- tranf_submit(oParam);
- }
- }
- function cf_TRPIE00508_1(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- if(ds_return.getColumn(0,"judgyn") == "Y")
- {
- sysf_messageBox("심사중이거나 미심인 명세서가 존재합니다..","C009");
- }
- else if(ds_return.getColumn(0,"judgyn") == "N")
- {
- if(ds_send_clam.getColumn(0,"clamtypecd") == 6)
- {
- var select = sysf_messageBox(" :: 산재 청구서를 070ver 생성(예_Yes) :: \n :: 이전 산재 청구서파일 생성(아니오_No) :: \n :: 취소(취소_Cancel) :: \n\n\n070ver으로 진행 ","S001");
-
- if(select == 6)
- {
- ds_send_clam.setColumn(0,"flag","N");
-
- var oParam = {};
- oParam.id = "TXPIE00520";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeCLAM";
- oParam.inds = "req=ds_send_clam";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else if(select == 7)
- {
- ds_send_clam.setColumn(0,"flag","B");
-
- var oParam = {};
- oParam.id = "TXPIE00520";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeCLAM";
- oParam.inds = "req=ds_send_clam";
- oParam.async = false;
- tranf_submit(oParam);
- }
- else
- {
- return;
- }
- }
- else
- {
- ds_send_clam.setColumn(0,"flag","N");
- var oParam = {};
- oParam.id = "TXPIE00520";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeCLAM";
- oParam.inds = "req=ds_send_clam";
- oParam.async = false;
- tranf_submit(oParam);
- }
-
- group3.Tab00.tabpage1.button3.click();
- }
- }
- function group3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_grd_saminfo.getCaseCount("chkbox == 'true'");
-
- var lockcnt = ds_grd_saminfo.getCaseCount("chkbox == 'true' && (edistatcd == '송신' || edistatcd == '반송' || edistatcd == '접수' || edistatcd == '심결')");
-
- if (cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- var oParam = {};
- oParam.id = "TRPIE00507";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetDifferInfo";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.outds = "ds_return=return";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00507";
- tranf_submit(oParam);
- }
- }
- function cf_TRPIE00507(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- if(ds_return.getColumn(0,"differyn") == "Y")
- {
- sysf_messageBox("명세서 건수와 금액이 청구서와 서로 다릅니다.","C009");
- }
- else if(ds_return.getColumn(0,"differyn") == "N")
- {
- sysf_messageBox("명세서 건수와 금액이 청구서와 서로 일치합니다.","I000");
- }
- }
- function group3_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_grd_saminfo.getCaseCount("chkbox == 'true'");
- var lockcnt = ds_grd_saminfo.getCaseCount("chkbox == 'true' && (edistatcd == '송신' || edistatcd == '반송' || edistatcd == '접수' || edistatcd == '심결')");
-
- if (cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else
- {
- if(sysf_messageBox("저장","S001") == 6)
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- if (ds_temp_saminfo.getColumn(0,"clamflag") == "3")
- {
- ds_temp_saminfo.setColumn(0,"clamflag", "0");
- }
-
- ds_temp_saminfo.setColumn(0,"sammakeflag", "UR");
-
- var oParam = {};
- oParam.id = "TXPIE00502";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeMakeSamFile";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE00502";
- tranf_submit(oParam);
-
- }
- else
- {
- }
- }
- }
- function group3_btn_batchlog_onclick(obj:Button, e:ClickEventInfo)
- {
- objArg.prgmid = "EDISamFileBatch";
-
- var trgtManWindow = frmf_getChildWindow("SPZSB00301");
- if (utlf_isNull(trgtManWindow))
- {
- frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
- } else {
- trgtManWindow.reload();
- }
- }
- function group3_btn_urscope_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMPIS00800","SMPIS00800","","","","","","","","","","","M");
- }
- function grp_rem_btn_confirm2_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXPIE00507";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeClamRem";
- oParam.inds = "req=ds_send_rem";
- oParam.async = false;
- oParam.callback = "cf_TXPIE00507";
- tranf_submit(oParam);
- }
- function cf_TXPIE00507(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- ds_grd_saminfo.setColumn(ds_grd_saminfo.rowposition,"rem", grp_rem.ipt_rem.value);
- ds_send_rem.clearData();
- ds_send_rem.addRow();
- grp_rem.visible = false;
- }
- }
- function grp_rem_btn_cancel2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send_rem.clearData();
- ds_send_rem.addRow();
- grp_rem.visible = false;
- }
- function group3_grd_saminfo_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if (obj.currentcol == obj.getBindCellIndex("body","rem"))
- {
- if (utlf_isNull(ds_grd_saminfo.getColumn(ds_grd_saminfo.rowposition, "seqno")))
- {
- sysf_messageBox("청구생성 후 사용하세요.","");
- return;
- }
-
- ds_send_rem.copyRow(0,ds_grd_saminfo, ds_grd_saminfo.rowposition);
- grp_rem.visible = true;
- }
- }
- function ds_grd_saminfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "chkbox")
- {
- obj.setColumn(e.row, "chkbox", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function group3_btn_trcompletion_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = ds_grd_saminfo.getCaseCount("chkbox == 'true'");
- var lockcnt = ds_grd_saminfo.getCaseCount("chkbox == 'true' && (edistatcd == '송신' || edistatcd == '반송' || edistatcd == '접수' || edistatcd == '심결' || lockyn!='Y')");
-
- if (cnt == 0)
- {
- sysf_messageBox("선택된 항목이", "I004");
- }
- else
- {
- if (lockcnt > 0)
- {
- sysf_messageBox("선택된 항목중 접수 혹은 심결 상태 혹은 잠금생태(N)이 존재 합니다. 확인 후 다시 시도해 주세요 ", "E999");
-
- return false;
- }
-
- if(sysf_messageBox("저장","S001") == 6)
- {
- var CSV = dsf_getDsCSV(ds_grd_saminfo, "", "Y", "chkbox:true", "");
-
- dsf_setCSVToDs("ds_temp_saminfo",CSV);
-
- var oParam = {};
- oParam.id = "TXPIE00506";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqExeSetTrCompletion";
- oParam.inds = "req=ds_temp_saminfo";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPIE00506";
- tranf_submit(oParam);
- var oParam = {};
- oParam.id = "TRPIE00500";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetSamInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_grd_saminfo=gridsaminfo";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00500";
- tranf_submit(oParam);
- }
- else
- {
- }
- }
- }
- function btn_exel_onclick(obj:Button, e:ClickEventInfo)
- {
- var insukind = ds_send.getColumn(0, "insurkindflag");
- var today = utlf_getCurrentDate();
-
- grdf_exportExcel(group3.Tab00.tabpage1.grd_saminfo, "EDI청구SAM파일생성_"+today, "see");
-
- }
- function group3_Tab00_tabpage1_grd_saminfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (utlf_transNull(obj.getCellValue(e.row, obj.getBindCellIndex("body","clbscnt"),0) > 30000 )) {
- sysf_messageBox("30,000건이 넘는 데이터는 조회 할 수 없습니다.","E");
- return;
- }
-
- ds_send_clbs.clearData();
- var nrow = ds_send_clbs.addRow();
- ds_send_clbs.copyRow(nrow, ds_grd_saminfo, ds_grd_saminfo.rowposition);
- ds_grd_pidmclbs.clearData();
- var oParam = {};
- oParam.id = "TRPIE00501";
- oParam.service = "edimngtapp.EdiMngt";
- oParam.method = "reqGetPidmclbsList";
- oParam.inds = "req=ds_send_clbs";
- oParam.outds = "ds_grd_pidmclbs=gridclbs";
- oParam.async = false;
- oParam.callback = "cf_TRPIE00501";
- tranf_submit(oParam);
- }
- function cf_TRPIE00501(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- group3.Tab00.tabindex = 1;
- }
- function cf_TRPIE00500(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
-
- group3.Tab00.tabpage1.grd_saminfo.hscrollbar.pos = lgv_hscroll_pos;
- group3.Tab00.tabpage1.grd_saminfo.vscrollbar.pos = lgv_vscroll_pos;
-
- group3.Tab00.tabindex = 0;
- }
- function group3_Tab00_tabpage2_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var today = utlf_getCurrentDate();
-
- grdf_exportExcel(group3.Tab00.tabpage2.Grid00, "EDI청구SAM파일생성_명세서_"+today, "see");
- }
- function btn_delclam_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function group2_ipt_tocretdd_oneditclick(obj:Calendar, e:EditClickEventInfo)
- {
-
- }
- function group3_Tab00_tabpage2_Grid00_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if (e.ctrlKey && e.keycode == 67)
- {
- grdf_clipboardCopy(obj, "PAM");
- }
- }
- function grp_btn_button10_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function group2_ipt_fromcretdd_onmonthchange(obj:Calendar, e:CalendarMonthChangeEventInfo)
- {
-
- }
- function group2_ipt_tocretdd_onmonthchange(obj:Calendar, e:CalendarMonthChangeEventInfo)
- {
- fDateChk("t");
- }
- function group2_ipt_srchnum_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode == 13){
- obj.updateToDataset();
- group2.button1.click();
- }
- }
- function group3_Tab00_tabpage1_grd_saminfo_onvscroll(obj:Grid, e:ScrollEventInfo)
- {
- lgv_vscroll_pos = group3.Tab00.tabpage1.grd_saminfo.vscrollbar.pos;
- }
- function group3_Tab00_tabpage1_grd_saminfo_onhscroll(obj:Grid, e:ScrollEventInfo)
- {
- lgv_hscroll_pos = group3.Tab00.tabpage1.grd_saminfo.hscrollbar.pos;
- }
- function btn_renamefile_onclick(obj:Button, e:ClickEventInfo)
- {
- var fd = new FileDialog;
- var objfldnm = fd.open("선택한 하위폴더 내 파일명을 일괄변경 할 폴더를 선택하여 주십시오.", FileDialog.SELFOLDER, "C:\\hira\\DDMD\\sam\\in");
-
- if(!utlf_isNull(objfldnm)){
- var objExtCommon = new ExtCommon();
- var objVFile = objExtCommon.getFileList(objfldnm, "F");
- var filenm = "";
- var lstundrbarCount = 0;
- for (var i = 0; i < objVFile.length; i++)
- {
- filenm = String(objVFile[i]);
- lstundrbarCount = filenm.lastIndexOf("_")+1;
- objExtCommon.fileReName(objfldnm + "\\" + objVFile[i], objfldnm + "\\" + filenm.substr(lstundrbarCount, filenm.length));
-
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|