12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPID20700" position="absolute 0 0 1256 805" titletext="환자청구명세서출력" oninit="model1_oninit" onload="SMPID20700_onload" onkeyup="SMPID20700_onkeyup">
- <Layouts>
- <Layout>
- <Grid id="grd_autoxls" taborder="16" useinputpanel="false" visible="false" position="absolute 1284 14 1757 94" binddataset="ds_grid_grd_autoxls" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </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="선택진료비"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:docuseqno" expr="expr:currow+1"/>
- <Cell col="1" displaytype="text" style="align:center;" text="bind:docuseqno1"/>
- <Cell col="2" text="bind:insuno"/>
- <Cell col="3" text="bind:insucdnm"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" displaytype="text" text="bind:pid"/>
- <Cell col="6" text="bind:patrrgstno"/>
- <Cell col="7" text="bind:acdacptno"/>
- <Cell col="8" displaytype="date" text="bind:ordfromdd"/>
- <Cell col="9" displaytype="date" text="bind:ordtodd"/>
- <Cell col="10" text="bind:clamdeptcd"/>
- <Cell col="11" text="bind:clamdeptnm"/>
- <Cell col="12" displaytype="number" text="bind:edimedcaretotamt"/>
- <Cell col="13" displaytype="number" text="bind:specamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static22" position="absolute 0 749 1256 775" class="sta_DA_box" anchor="left right bottom"/>
- <Div id="Div00" taborder="3" class="div_SA" anchor="left top right" position="absolute 0 25 1256 92" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption2" text="청구년월" class="search_name" position="absolute 8 10 82 30" positiontype="position"/>
- <Button id="btn_up" taborder="2" onclick="btn_up_onclick" class="btn_up" position="absolute 160 10 173 19" text="" positiontype="position"/>
- <Button id="btn_down" taborder="3" onclick="btn_down_onclick" class="btn_down" position="absolute 160 20 173 29" text="" positiontype="position"/>
- <Combo id="cmb_clamdg" taborder="4" position="absolute 176 10 238 30" positiontype="position" innerdataset="@ds_init_cmb_clamdg" codecolumn="clamdgcd" datacolumn="clamdgnm"/>
- <Static id="caption1" text="청구구분" class="search_name" position="absolute 8 35 82 55" positiontype="position"/>
- <Combo id="cmb_clamflagcd" taborder="5" class="combo_search" position="absolute 82 35 173 55" positiontype="position" innerdataset="@ds_init_P0155" codecolumn="cdid" datacolumn="cdnm"/>
- <Static id="caption3" text="내원형태" class="search_name" position="absolute 262 10 336 30" positiontype="position"/>
- <Static id="caption7" text="조회조건" class="search_name" position="absolute 262 35 336 55" positiontype="position"/>
- <Combo id="cmb_ioflag" taborder="6" class="combo_search" position="absolute 335 10 425 30" positiontype="position" codecolumn="value" datacolumn="label" innerdataset="@ds_init_cmb_ioflag"/>
- <Combo id="cmb_srcflag" taborder="7" class="combo_search" position="absolute 335 35 425 55" positiontype="position" codecolumn="value" datacolumn="label" innerdataset="@ds_init_cmb_srcflag" onitemchanged="Div00_cmb_srcflag_onitemchanged"/>
- <Static id="caption11" text="집계구분" class="search_name" position="absolute 449 10 523 30" positiontype="position"/>
- <Static id="caption13" text="시작번호" class="search_name" position="absolute 449 35 523 55" positiontype="position"/>
- <Combo id="cmb_sumtypecd" taborder="8" class="combo_search" position="absolute 524 10 614 30" positiontype="position" innerdataset="@ds_init_sumtypecd" codecolumn="cdid" datacolumn="cdnm"/>
- <MaskEdit id="ipt_docuseqno11" taborder="9" class="input_search" position="absolute 524 35 614 55" imemode="hangul" enable="false" positiontype="position" onkeydown="Div00_ipt_docuseqno1_onkeydown"/>
- <Static id="caption12" text="~" position="absolute 614 35 629 55" style="align:center;" positiontype="position"/>
- <MaskEdit id="ipt_docuseqno22" taborder="10" class="input_search" position="absolute 630 35 720 55" imemode="hangul" enable="false" positiontype="position"/>
- <Static id="caption9" text="보험유형" class="search_name" position="absolute 744 10 818 30" positiontype="position"/>
- <Combo id="cmb_insukind" taborder="11" class="combo_search" position="absolute 818 10 908 30" positiontype="position" innerdataset="@ds_init_P0630" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Div00_cmb_insukind_onitemchanged"/>
- <Static id="cp_delyn" text="삭제포함" class="search_name" position="absolute 744 35 818 55" positiontype="position"/>
- <Static id="caption5" text="보조유형" class="search_name" position="absolute 933 10 1007 30" positiontype="position"/>
- <Static id="cp_insucd" text="손보사" class="search_name" visible="false" position="absolute 933 35 994 55" positiontype="position"/>
- <Combo id="cmb_suppkind" taborder="12" class="combo_search" position="absolute 1007 10 1097 30" positiontype="position" innerdataset="@ds_init_suppkind" codecolumn="cd" datacolumn="nm"/>
- <Combo id="cmb_insunm" taborder="13" class="combo_search" visible="false" position="absolute 1007 35 1097 55" positiontype="position" innerdataset="@ds_init_cmb_insunm" codecolumn="insucd" datacolumn="insucdnm"/>
- <Button id="btn_search" taborder="14" text="조회" onlbuttonup="btn_search_onlbuttonup" class="btn1" position="absolute 1189 10 1245 30" anchor="top right" positiontype="position" onclick="btn_search_onclick" hotkey="F5"/>
- <CheckBox id="bool_delyn" taborder="15" position="absolute 818 35 836 55" positiontype="position"/>
- <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="16" text="cp_monthCal00" scrollbars="none" position="absolute 82 10 157 30" class="input_essential"/>
- <Edit id="ipt_docuseqno1" taborder="17" enable="false" position="absolute 524 35 614 55" onkeydown="Div00_ipt_docuseqno1_onkeydown" oneditclick="Div00_ipt_docuseqno1_oneditclick"/>
- <Edit id="ipt_docuseqno2" taborder="18" enable="false" position="absolute 630 35 720 55" onkeydown="Div00_ipt_docuseqno2_onkeydown"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_rpt_hidden1" visible="false" position="absolute 155 85 185 100" anchor="default" positiontype="position">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Div id="grp_rpt_hidden2" visible="false" position="absolute 155 85 185 100" anchor="default" positiontype="position">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 102 119 122" anchor="default" positiontype="position" text="환자 청구명세서"/>
- <Button id="btn_cancel" class="btn2" position="absolute 1188 99 1256 119" anchor="top right" positiontype="position" text="선택취소" onlbuttonup="btn_cancel_onlbuttonup" onclick="btn_cancel_onclick"/>
- <Button id="btn_all" class="btn2" position="absolute 1117 99 1185 119" anchor="top right" positiontype="position" text="전체선택" onlbuttonup="btn_all_onlbuttonup" onclick="btn_all_onclick"/>
- <Button id="button8" class="btn2" position="absolute 1070 99 1114 119" anchor="top right" positiontype="position" text="출력" onlbuttonup="button8_onlbuttonup" onclick="button8_onclick"/>
- <Static id="caption6" text="환자 청구명세서 출력" class="tit_1" position="absolute 0 3 155 23" positiontype="position"/>
- <Grid id="grd_clbsmast" class="datagrid2" taborder="4" useinputpanel="false" position="absolute 0 122 1256 739" anchor="all" binddataset="ds_grid_grd_clbsmast" positiontype="position" oncelldblclick="grd_clbsmast_oncelldblclick" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20"/>
- <Column size="20"/>
- <Column size="20"/>
- <Column size="20"/>
- <Column size="62"/>
- <Column size="63"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="20"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="160"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="20"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="26"/>
- </Rows>
- <Band id="head">
- <Cell text="No"/>
- <Cell col="1" text="급"/>
- <Cell col="2" text="비"/>
- <Cell col="3" text="All"/>
- <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="pidsn"/>
- <Cell col="13" text="환자명"/>
- <Cell col="14" text="성 별"/>
- <Cell col="15" text="나 이"/>
- <Cell col="16" text="보험 유형"/>
- <Cell col="17" text="보조 유형"/>
- <Cell col="18" text="진료개시일"/>
- <Cell col="19" text="주치의"/>
- <Cell col="20" text="장애"/>
- <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="judgendyn"/>
- <Cell col="31" text="심사완료 여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chksel"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkpay"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:chkall"/>
- <Cell col="4" text="bind:docuseqno"/>
- <Cell col="5" displaytype="date" text="bind:clamym" mask="yyyy/MM"/>
- <Cell col="6" text="bind:clamdg"/>
- <Cell col="7" displaytype="combo" style="align:center middle;" text="bind:ioflag" combodataset="ds_init_cmb_ioflag" combocodecol="value" combodatacol="label"/>
- <Cell col="8" displaytype="combo" style="align:center middle;" text="bind:clamflagcd" combodataset="ds_init_P0155" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" style="align:left;" text="bind:orddeptcd"/>
- <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:sumtypecd" combodataset="ds_init_P0458" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="11" displaytype="text" text="bind:pid"/>
- <Cell col="12" text="bind:pidsn"/>
- <Cell col="13" text="bind:patnm" tooltiptext="bind:patnm"/>
- <Cell col="14" text="bind:gender"/>
- <Cell col="15" text="bind:patage"/>
- <Cell col="16" text="bind:insukindcd"/>
- <Cell col="17" text="bind:suppkindcd"/>
- <Cell col="18" displaytype="date" text="bind:ordfromdd"/>
- <Cell col="19" text="bind:orddrnm"/>
- <Cell col="20" text="bind:prockindflag"/>
- <Cell col="21" text="bind:insuno"/>
- <Cell col="22" style="align:left middle;" text="bind:insucdnm" tooltiptext="bind:insucdnm"/>
- <Cell col="23" displaytype="number" text="bind:ediinsuclamamt"/>
- <Cell col="24" text="bind:patrrgstno" mask="######-#######"/>
- <Cell col="25" text="bind:clamno"/>
- <Cell col="26" displaytype="text" text="bind:acptno"/>
- <Cell col="27" text="bind:judgdg"/>
- <Cell col="28" text="bind:dethyn"/>
- <Cell col="29" text="bind:divclam"/>
- <Cell col="30" text="bind:judgendyn"/>
- <Cell col="31" text="bind:judgendynnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_print" taborder="5" text="출력" onlbuttonup="btn_print_onlbuttonup" class="btn6" position="absolute 0 785 56 805" anchor="left bottom" positiontype="position" onclick="btn_print_onclick"/>
- <Button id="button1" taborder="6" text="미리보기" onlbuttonup="button1_onlbuttonup" class="btn6" position="absolute 59 785 141 805" anchor="left bottom" positiontype="position" onclick="button1_onclick"/>
- <Button id="button2" taborder="7" text="자보리스트" onlbuttonup="button2_onlbuttonup" class="btn6" position="absolute 144 785 239 805" anchor="left bottom" positiontype="position" onclick="button2_onclick"/>
- <CheckBox id="chk_imgprtyn" taborder="8" text="직인출력(자보)" truevalue="Y" position="absolute 250 785 359 805" anchor="left bottom" positiontype="position"/>
- <Button id="button5" taborder="9" text="진료비내역서" onlbuttonup="button5_onlbuttonup" class="btn3" position="absolute 378 785 486 805" anchor="left bottom" positiontype="position" onclick="button5_onclick"/>
- <Button id="button6" taborder="10" text="산보진료비내역서" onlbuttonup="button6_onlbuttonup" class="btn3" position="absolute 489 785 623 805" anchor="left bottom" positiontype="position" onclick="button6_onclick"/>
- <Button id="button7" taborder="11" text="의료급여비용명세서" onlbuttonup="button7_onlbuttonup" class="btn3" position="absolute 626 785 773 805" anchor="left bottom" positiontype="position" onclick="button7_onclick" visible="true"/>
- <Button id="button3" taborder="12" text="다음페이지" onlbuttonup="button3_onlbuttonup" class="btn4" position="absolute 1065 785 1160 805" anchor="right bottom" positiontype="position" onclick="button3_onclick"/>
- <Button id="button10" taborder="13" text="초기화[F6]" onlbuttonup="button10_onlbuttonup" class="btn4" position="absolute 1163 785 1256 805" anchor="right bottom" positiontype="position" onclick="button10_onclick" hotkey="F6"/>
- <Static id="caption10" text="총건수" class="cell_1" position="absolute 1 750 73 774" anchor="left right bottom" positiontype="position"/>
- <Edit id="opt_totcnt" taborder="14" readonly="true" position="absolute 76 752 161 772" anchor="left right bottom" positiontype="position"/>
- <Static id="caption8" class="cell_1" position="absolute 164 750 1255 774" anchor="left right bottom" positiontype="position"/>
- <Button id="button4" taborder="15" text="직인보기" onlbuttonup="button4_onlbuttonup" class="btn2" position="absolute 114 99 182 119" visible="true" positiontype="position" onclick="button4_onclick"/>
- <Div id="grp_instimg" taborder="17" position="absolute 114 122 284 312" visible="false" style="background:white;border:1 solid black black;color:white;">
- <Layouts>
- <Layout>
- <Button id="button4" taborder="0" text="직인변경" class="btn2" visible="true" position="absolute 51 159 119 179" anchor="default" onclick="grp_instimg_button4_onclick"/>
- <ImageViewer id="ImageViewer00" taborder="1" position="absolute 15 15 150 150" anchor="default" stretch="fit" onclick="grp_instimg_ImageViewer00_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_excel" taborder="18" text="엑셀저장" class="btn2" position="absolute 999 99 1067 119" anchor="top right" onclick="btn_excel_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_autoxls" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="docuseqno" type="STRING"/>
- <Column id="insuno" type="STRING"/>
- <Column id="insucdnm" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patrrgstno" type="STRING"/>
- <Column id="acdacptno" type="STRING"/>
- <Column id="ordfromdd" type="STRING"/>
- <Column id="ordtodd" type="STRING"/>
- <Column id="clamdeptcd" type="STRING"/>
- <Column id="clamdeptnm" type="STRING"/>
- <Column id="edimedcaretotamt" type="STRING"/>
- <Column id="specamt" type="STRING"/>
- <Column id="docuseqno1" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_clbsmast" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grid_grd_clbsmast_oncolumnchanged">
- <ColumnInfo>
- <Column id="chksel" type="STRING"/>
- <Column id="chkpay" type="STRING"/>
- <Column id="chkall" type="STRING"/>
- <Column id="docuseqno" type="STRING"/>
- <Column id="clamym" type="STRING"/>
- <Column id="clamdg" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="clamflagcd" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="sumtypecd" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="pidsn" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="gender" type="STRING"/>
- <Column id="patage" type="STRING"/>
- <Column id="insukindcd" type="STRING"/>
- <Column id="suppkindcd" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="prockindflag" type="STRING"/>
- <Column id="insuno" type="STRING"/>
- <Column id="insucdnm" type="STRING"/>
- <Column id="ediinsuclamamt" type="STRING"/>
- <Column id="patrrgstno" type="STRING"/>
- <Column id="clamno" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="judgdg" type="STRING"/>
- <Column id="dethyn" type="STRING"/>
- <Column id="divclam" type="STRING"/>
- <Column id="judgendyn" type="STRING"/>
- <Column id="judgendynnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- <Col id="value">-</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clamdgcd" type="STRING" size="256"/>
- <Column id="clamdgnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0630" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0155" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0458" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="up" type="STRING" size="256"/>
- <Column id="io" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="deptengabbr" type="STRING" size="256"/>
- <Column id="reqdeptno" type="STRING" size="256"/>
- <Column id="reqfild" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="dp" type="STRING" size="256"/>
- <Column id="sp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_insunm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insucd" type="STRING" size="256"/>
- <Column id="insucdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_sealimg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_srcflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">0</Col>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">명번호</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">환자번호</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_TRPID20702_main" 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="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="pagenum" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20702_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="clamdeptcd" type="STRING" size="256"/>
- <Column id="wundresncd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="sorting" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="medcaredayno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20702_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstexamtims" type="STRING" size="256"/>
- <Column id="fstexamamt" type="STRING" size="256"/>
- <Column id="fstexamacttims" type="STRING" size="256"/>
- <Column id="reexamtims" type="STRING" size="256"/>
- <Column id="reexamamt" type="STRING" size="256"/>
- <Column id="reexamacttims" type="STRING" size="256"/>
- <Column id="errtnamt" type="STRING" size="256"/>
- <Column id="drugmngtamt" type="STRING" size="256"/>
- <Column id="gnrldayno" type="STRING" size="256"/>
- <Column id="gnrlamt" type="STRING" size="256"/>
- <Column id="sptchilddayno" type="STRING" size="256"/>
- <Column id="sptchildamt" type="STRING" size="256"/>
- <Column id="cureroomdayno" type="STRING" size="256"/>
- <Column id="cureroomamt" type="STRING" size="256"/>
- <Column id="isolroomdayno" type="STRING" size="256"/>
- <Column id="isolroomamt" type="STRING" size="256"/>
- <Column id="etcdayno" type="STRING" size="256"/>
- <Column id="etcamt" type="STRING" size="256"/>
- <Column id="basechrgfoodamt" type="STRING" size="256"/>
- <Column id="addchrgfoodamt" type="STRING" size="256"/>
- <Column id="inusedrugdayno" type="STRING" size="256"/>
- <Column id="inusedrugamt" type="STRING" size="256"/>
- <Column id="inusedrugactamt" type="STRING" size="256"/>
- <Column id="exusedrugdayno" type="STRING" size="256"/>
- <Column id="exusedrugamt" type="STRING" size="256"/>
- <Column id="exusedrugactamt" type="STRING" size="256"/>
- <Column id="mpstims" type="STRING" size="256"/>
- <Column id="mpsamt" type="STRING" size="256"/>
- <Column id="injmusdayno" type="STRING" size="256"/>
- <Column id="injmusamt" type="STRING" size="256"/>
- <Column id="injmusactamt" type="STRING" size="256"/>
- <Column id="injveindayno" type="STRING" size="256"/>
- <Column id="injveinamt" type="STRING" size="256"/>
- <Column id="injveinactamt" type="STRING" size="256"/>
- <Column id="injfloodtims" type="STRING" size="256"/>
- <Column id="injfloodamt" type="STRING" size="256"/>
- <Column id="injfloodactamt" type="STRING" size="256"/>
- <Column id="injetctims" type="STRING" size="256"/>
- <Column id="injetcamt" type="STRING" size="256"/>
- <Column id="injetcactamt" type="STRING" size="256"/>
- <Column id="injspecamt" type="STRING" size="256"/>
- <Column id="injbloodtims" type="STRING" size="256"/>
- <Column id="injbloodamt" type="STRING" size="256"/>
- <Column id="injbloodactamt" type="STRING" size="256"/>
- <Column id="ansttims" type="STRING" size="256"/>
- <Column id="anstamt" type="STRING" size="256"/>
- <Column id="anstactamt" type="STRING" size="256"/>
- <Column id="scittims" type="STRING" size="256"/>
- <Column id="scitamt" type="STRING" size="256"/>
- <Column id="scitactamt" type="STRING" size="256"/>
- <Column id="psyptims" type="STRING" size="256"/>
- <Column id="psypamt" type="STRING" size="256"/>
- <Column id="psypactamt" type="STRING" size="256"/>
- <Column id="cureoptims" type="STRING" size="256"/>
- <Column id="cureopamt" type="STRING" size="256"/>
- <Column id="cureopactamt" type="STRING" size="256"/>
- <Column id="casttims" type="STRING" size="256"/>
- <Column id="castamt" type="STRING" size="256"/>
- <Column id="castactamt" type="STRING" size="256"/>
- <Column id="itslftesttims" type="STRING" size="256"/>
- <Column id="itslftestamt" type="STRING" size="256"/>
- <Column id="itslftestactamt" type="STRING" size="256"/>
- <Column id="trusttestmngtamt" type="STRING" size="256"/>
- <Column id="trusttesttims" type="STRING" size="256"/>
- <Column id="trusttestamt" type="STRING" size="256"/>
- <Column id="raydiagtims" type="STRING" size="256"/>
- <Column id="raydiagamt" type="STRING" size="256"/>
- <Column id="raydiagactamt" type="STRING" size="256"/>
- <Column id="raycuretims" type="STRING" size="256"/>
- <Column id="raycureamt" type="STRING" size="256"/>
- <Column id="raycureactamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagtims" type="STRING" size="256"/>
- <Column id="seqmtctdiagamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagtims" type="STRING" size="256"/>
- <Column id="seqmtmridiagamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
- <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
- <Column id="vdrugitemamt" type="STRING" size="256"/>
- <Column id="vcureitemamt" type="STRING" size="256"/>
- <Column id="vexamamt" type="STRING" size="256"/>
- <Column id="vexamactamt" type="STRING" size="256"/>
- <Column id="wdrugitemamt" type="STRING" size="256"/>
- <Column id="wcureitemamt" type="STRING" size="256"/>
- <Column id="wexamamt" type="STRING" size="256"/>
- <Column id="wexamactamt" type="STRING" size="256"/>
- <Column id="indays" type="STRING" size="256"/>
- <Column id="usedrugtotamt" type="STRING" size="256"/>
- <Column id="seqmtdiagamt" type="STRING" size="256"/>
- <Column id="vtotamt" type="STRING" size="256"/>
- <Column id="wtotamt" type="STRING" size="256"/>
- <Column id="totamt" type="STRING" size="256"/>
- <Column id="totactamt" type="STRING" size="256"/>
- <Column id="corpactaddrate" type="STRING" size="256"/>
- <Column id="hospaddamt" type="STRING" size="256"/>
- <Column id="medcaretotamt" type="STRING" size="256"/>
- <Column id="ownbamt" type="STRING" size="256"/>
- <Column id="suppamt" type="STRING" size="256"/>
- <Column id="insuclamamt" type="STRING" size="256"/>
- <Column id="ownbmaxexamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="bhclamamt" type="STRING" size="256"/>
- <Column id="editotlimitdiffamt" type="STRING" size="256"/>
- <Column id="handcaprfund" type="STRING" size="256"/>
- <Column id="medcaretotnew" type="STRING" size="256"/>
- <Column id="editotownownbamt" type="STRING" size="256"/>
- <Column id="edibhownbamt" type="STRING" size="256"/>
- <Column id="ediund100totamt" type="STRING" size="256"/>
- <Column id="ediund100ownbamt" type="STRING" size="256"/>
- <Column id="ediund100clamamt" type="STRING" size="256"/>
- <Column id="ediund100bhclamamt" type="STRING" size="256"/>
- <Column id="adrugitemamt" type="STRING" size="256"/>
- <Column id="acureitemamt" type="STRING" size="256"/>
- <Column id="aexamamt" type="STRING" size="256"/>
- <Column id="adrugitemactamt" type="STRING" size="256"/>
- <Column id="acureitemactamt" type="STRING" size="256"/>
- <Column id="aexamactamt" type="STRING" size="256"/>
- <Column id="bdrugitemamt" type="STRING" size="256"/>
- <Column id="bcureitemamt" type="STRING" size="256"/>
- <Column id="bexamamt" type="STRING" size="256"/>
- <Column id="bdrugitemactamt" type="STRING" size="256"/>
- <Column id="bcureitemactamt" type="STRING" size="256"/>
- <Column id="bexamactamt" type="STRING" size="256"/>
- <Column id="udrugitemamt" type="STRING" size="256"/>
- <Column id="ucureitemamt" type="STRING" size="256"/>
- <Column id="uexamamt" type="STRING" size="256"/>
- <Column id="udrugitemactamt" type="STRING" size="256"/>
- <Column id="ucureitemactamt" type="STRING" size="256"/>
- <Column id="uexamactamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20702_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- <Column id="ediunitcost" type="STRING" size="256"/>
- <Column id="ediamt" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20702_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20703_main" 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="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="pagenum" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20703_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="clamdeptcd" type="STRING" size="256"/>
- <Column id="wundresncd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="sorting" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="medcaredayno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20703_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstexamtims" type="STRING" size="256"/>
- <Column id="fstexamamt" type="STRING" size="256"/>
- <Column id="fstexamacttims" type="STRING" size="256"/>
- <Column id="reexamtims" type="STRING" size="256"/>
- <Column id="reexamamt" type="STRING" size="256"/>
- <Column id="reexamacttims" type="STRING" size="256"/>
- <Column id="errtnamt" type="STRING" size="256"/>
- <Column id="drugmngtamt" type="STRING" size="256"/>
- <Column id="gnrldayno" type="STRING" size="256"/>
- <Column id="gnrlamt" type="STRING" size="256"/>
- <Column id="sptchilddayno" type="STRING" size="256"/>
- <Column id="sptchildamt" type="STRING" size="256"/>
- <Column id="cureroomdayno" type="STRING" size="256"/>
- <Column id="cureroomamt" type="STRING" size="256"/>
- <Column id="isolroomdayno" type="STRING" size="256"/>
- <Column id="isolroomamt" type="STRING" size="256"/>
- <Column id="etcdayno" type="STRING" size="256"/>
- <Column id="etcamt" type="STRING" size="256"/>
- <Column id="basechrgfoodamt" type="STRING" size="256"/>
- <Column id="addchrgfoodamt" type="STRING" size="256"/>
- <Column id="inusedrugdayno" type="STRING" size="256"/>
- <Column id="inusedrugamt" type="STRING" size="256"/>
- <Column id="inusedrugactamt" type="STRING" size="256"/>
- <Column id="exusedrugdayno" type="STRING" size="256"/>
- <Column id="exusedrugamt" type="STRING" size="256"/>
- <Column id="exusedrugactamt" type="STRING" size="256"/>
- <Column id="mpstims" type="STRING" size="256"/>
- <Column id="mpsamt" type="STRING" size="256"/>
- <Column id="injmusdayno" type="STRING" size="256"/>
- <Column id="injmusamt" type="STRING" size="256"/>
- <Column id="injmusactamt" type="STRING" size="256"/>
- <Column id="injveindayno" type="STRING" size="256"/>
- <Column id="injveinamt" type="STRING" size="256"/>
- <Column id="injveinactamt" type="STRING" size="256"/>
- <Column id="injfloodtims" type="STRING" size="256"/>
- <Column id="injfloodamt" type="STRING" size="256"/>
- <Column id="injfloodactamt" type="STRING" size="256"/>
- <Column id="injetctims" type="STRING" size="256"/>
- <Column id="injetcamt" type="STRING" size="256"/>
- <Column id="injetcactamt" type="STRING" size="256"/>
- <Column id="injspecamt" type="STRING" size="256"/>
- <Column id="injbloodtims" type="STRING" size="256"/>
- <Column id="injbloodamt" type="STRING" size="256"/>
- <Column id="injbloodactamt" type="STRING" size="256"/>
- <Column id="ansttims" type="STRING" size="256"/>
- <Column id="anstamt" type="STRING" size="256"/>
- <Column id="anstactamt" type="STRING" size="256"/>
- <Column id="scittims" type="STRING" size="256"/>
- <Column id="scitamt" type="STRING" size="256"/>
- <Column id="scitactamt" type="STRING" size="256"/>
- <Column id="psyptims" type="STRING" size="256"/>
- <Column id="psypamt" type="STRING" size="256"/>
- <Column id="psypactamt" type="STRING" size="256"/>
- <Column id="cureoptims" type="STRING" size="256"/>
- <Column id="cureopamt" type="STRING" size="256"/>
- <Column id="cureopactamt" type="STRING" size="256"/>
- <Column id="casttims" type="STRING" size="256"/>
- <Column id="castamt" type="STRING" size="256"/>
- <Column id="castactamt" type="STRING" size="256"/>
- <Column id="itslftesttims" type="STRING" size="256"/>
- <Column id="itslftestamt" type="STRING" size="256"/>
- <Column id="itslftestactamt" type="STRING" size="256"/>
- <Column id="trusttestmngtamt" type="STRING" size="256"/>
- <Column id="trusttesttims" type="STRING" size="256"/>
- <Column id="trusttestamt" type="STRING" size="256"/>
- <Column id="raydiagtims" type="STRING" size="256"/>
- <Column id="raydiagamt" type="STRING" size="256"/>
- <Column id="raydiagactamt" type="STRING" size="256"/>
- <Column id="raycuretims" type="STRING" size="256"/>
- <Column id="raycureamt" type="STRING" size="256"/>
- <Column id="raycureactamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagtims" type="STRING" size="256"/>
- <Column id="seqmtctdiagamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagtims" type="STRING" size="256"/>
- <Column id="seqmtmridiagamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
- <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
- <Column id="vdrugitemamt" type="STRING" size="256"/>
- <Column id="vcureitemamt" type="STRING" size="256"/>
- <Column id="vexamamt" type="STRING" size="256"/>
- <Column id="vexamactamt" type="STRING" size="256"/>
- <Column id="wdrugitemamt" type="STRING" size="256"/>
- <Column id="wcureitemamt" type="STRING" size="256"/>
- <Column id="wexamamt" type="STRING" size="256"/>
- <Column id="wexamactamt" type="STRING" size="256"/>
- <Column id="indays" type="STRING" size="256"/>
- <Column id="usedrugtotamt" type="STRING" size="256"/>
- <Column id="seqmtdiagamt" type="STRING" size="256"/>
- <Column id="vtotamt" type="STRING" size="256"/>
- <Column id="wtotamt" type="STRING" size="256"/>
- <Column id="totamt" type="STRING" size="256"/>
- <Column id="totactamt" type="STRING" size="256"/>
- <Column id="corpactaddrate" type="STRING" size="256"/>
- <Column id="hospaddamt" type="STRING" size="256"/>
- <Column id="medcaretotamt" type="STRING" size="256"/>
- <Column id="ownbamt" type="STRING" size="256"/>
- <Column id="suppamt" type="STRING" size="256"/>
- <Column id="insuclamamt" type="STRING" size="256"/>
- <Column id="ownbmaxexamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="bhclamamt" type="STRING" size="256"/>
- <Column id="editotlimitdiffamt" type="STRING" size="256"/>
- <Column id="handcaprfund" type="STRING" size="256"/>
- <Column id="medcaretotnew" type="STRING" size="256"/>
- <Column id="editotownownbamt" type="STRING" size="256"/>
- <Column id="edibhownbamt" type="STRING" size="256"/>
- <Column id="ediund100totamt" type="STRING" size="256"/>
- <Column id="ediund100ownbamt" type="STRING" size="256"/>
- <Column id="ediund100clamamt" type="STRING" size="256"/>
- <Column id="ediund100bhclamamt" type="STRING" size="256"/>
- <Column id="adrugitemamt" type="STRING" size="256"/>
- <Column id="acureitemamt" type="STRING" size="256"/>
- <Column id="aexamamt" type="STRING" size="256"/>
- <Column id="adrugitemactamt" type="STRING" size="256"/>
- <Column id="acureitemactamt" type="STRING" size="256"/>
- <Column id="aexamactamt" type="STRING" size="256"/>
- <Column id="bdrugitemamt" type="STRING" size="256"/>
- <Column id="bcureitemamt" type="STRING" size="256"/>
- <Column id="bexamamt" type="STRING" size="256"/>
- <Column id="bdrugitemactamt" type="STRING" size="256"/>
- <Column id="bcureitemactamt" type="STRING" size="256"/>
- <Column id="bexamactamt" type="STRING" size="256"/>
- <Column id="udrugitemamt" type="STRING" size="256"/>
- <Column id="ucureitemamt" type="STRING" size="256"/>
- <Column id="uexamamt" type="STRING" size="256"/>
- <Column id="udrugitemactamt" type="STRING" size="256"/>
- <Column id="ucureitemactamt" type="STRING" size="256"/>
- <Column id="uexamactamt" type="STRING" size="256"/>
- <Column id="colostomyamt" type="STRING" size="256"/>
- <Column id="colostomyactamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20703_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- <Column id="ediunitcost" type="STRING" size="256"/>
- <Column id="ediamt" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20703_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20704_main" 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="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="pagenum" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20704_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="clamdeptcd" type="STRING" size="256"/>
- <Column id="wundresncd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="sorting" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="medcaredayno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20704_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstexamtims" type="STRING" size="256"/>
- <Column id="fstexamamt" type="STRING" size="256"/>
- <Column id="fstexamacttims" type="STRING" size="256"/>
- <Column id="reexamtims" type="STRING" size="256"/>
- <Column id="reexamamt" type="STRING" size="256"/>
- <Column id="reexamacttims" type="STRING" size="256"/>
- <Column id="errtnamt" type="STRING" size="256"/>
- <Column id="drugmngtamt" type="STRING" size="256"/>
- <Column id="gnrldayno" type="STRING" size="256"/>
- <Column id="gnrlamt" type="STRING" size="256"/>
- <Column id="sptchilddayno" type="STRING" size="256"/>
- <Column id="sptchildamt" type="STRING" size="256"/>
- <Column id="cureroomdayno" type="STRING" size="256"/>
- <Column id="cureroomamt" type="STRING" size="256"/>
- <Column id="isolroomdayno" type="STRING" size="256"/>
- <Column id="isolroomamt" type="STRING" size="256"/>
- <Column id="etcdayno" type="STRING" size="256"/>
- <Column id="etcamt" type="STRING" size="256"/>
- <Column id="basechrgfoodamt" type="STRING" size="256"/>
- <Column id="addchrgfoodamt" type="STRING" size="256"/>
- <Column id="inusedrugdayno" type="STRING" size="256"/>
- <Column id="inusedrugamt" type="STRING" size="256"/>
- <Column id="inusedrugactamt" type="STRING" size="256"/>
- <Column id="exusedrugdayno" type="STRING" size="256"/>
- <Column id="exusedrugamt" type="STRING" size="256"/>
- <Column id="exusedrugactamt" type="STRING" size="256"/>
- <Column id="mpstims" type="STRING" size="256"/>
- <Column id="mpsamt" type="STRING" size="256"/>
- <Column id="injmusdayno" type="STRING" size="256"/>
- <Column id="injmusamt" type="STRING" size="256"/>
- <Column id="injmusactamt" type="STRING" size="256"/>
- <Column id="injveindayno" type="STRING" size="256"/>
- <Column id="injveinamt" type="STRING" size="256"/>
- <Column id="injveinactamt" type="STRING" size="256"/>
- <Column id="injfloodtims" type="STRING" size="256"/>
- <Column id="injfloodamt" type="STRING" size="256"/>
- <Column id="injfloodactamt" type="STRING" size="256"/>
- <Column id="injetctims" type="STRING" size="256"/>
- <Column id="injetcamt" type="STRING" size="256"/>
- <Column id="injetcactamt" type="STRING" size="256"/>
- <Column id="injspecamt" type="STRING" size="256"/>
- <Column id="injbloodtims" type="STRING" size="256"/>
- <Column id="injbloodamt" type="STRING" size="256"/>
- <Column id="injbloodactamt" type="STRING" size="256"/>
- <Column id="ansttims" type="STRING" size="256"/>
- <Column id="anstamt" type="STRING" size="256"/>
- <Column id="anstactamt" type="STRING" size="256"/>
- <Column id="scittims" type="STRING" size="256"/>
- <Column id="scitamt" type="STRING" size="256"/>
- <Column id="scitactamt" type="STRING" size="256"/>
- <Column id="psyptims" type="STRING" size="256"/>
- <Column id="psypamt" type="STRING" size="256"/>
- <Column id="psypactamt" type="STRING" size="256"/>
- <Column id="cureoptims" type="STRING" size="256"/>
- <Column id="cureopamt" type="STRING" size="256"/>
- <Column id="cureopactamt" type="STRING" size="256"/>
- <Column id="casttims" type="STRING" size="256"/>
- <Column id="castamt" type="STRING" size="256"/>
- <Column id="castactamt" type="STRING" size="256"/>
- <Column id="itslftesttims" type="STRING" size="256"/>
- <Column id="itslftestamt" type="STRING" size="256"/>
- <Column id="itslftestactamt" type="STRING" size="256"/>
- <Column id="trusttestmngtamt" type="STRING" size="256"/>
- <Column id="trusttesttims" type="STRING" size="256"/>
- <Column id="trusttestamt" type="STRING" size="256"/>
- <Column id="raydiagtims" type="STRING" size="256"/>
- <Column id="raydiagamt" type="STRING" size="256"/>
- <Column id="raydiagactamt" type="STRING" size="256"/>
- <Column id="raycuretims" type="STRING" size="256"/>
- <Column id="raycureamt" type="STRING" size="256"/>
- <Column id="raycureactamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagtims" type="STRING" size="256"/>
- <Column id="seqmtctdiagamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagtims" type="STRING" size="256"/>
- <Column id="seqmtmridiagamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
- <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
- <Column id="vdrugitemamt" type="STRING" size="256"/>
- <Column id="vcureitemamt" type="STRING" size="256"/>
- <Column id="vexamamt" type="STRING" size="256"/>
- <Column id="vexamactamt" type="STRING" size="256"/>
- <Column id="wdrugitemamt" type="STRING" size="256"/>
- <Column id="wcureitemamt" type="STRING" size="256"/>
- <Column id="wexamamt" type="STRING" size="256"/>
- <Column id="wexamactamt" type="STRING" size="256"/>
- <Column id="indays" type="STRING" size="256"/>
- <Column id="usedrugtotamt" type="STRING" size="256"/>
- <Column id="seqmtdiagamt" type="STRING" size="256"/>
- <Column id="vtotamt" type="STRING" size="256"/>
- <Column id="wtotamt" type="STRING" size="256"/>
- <Column id="totamt" type="STRING" size="256"/>
- <Column id="totactamt" type="STRING" size="256"/>
- <Column id="corpactaddrate" type="STRING" size="256"/>
- <Column id="hospaddamt" type="STRING" size="256"/>
- <Column id="medcaretotamt" type="STRING" size="256"/>
- <Column id="ownbamt" type="STRING" size="256"/>
- <Column id="suppamt" type="STRING" size="256"/>
- <Column id="insuclamamt" type="STRING" size="256"/>
- <Column id="ownbmaxexamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="bhclamamt" type="STRING" size="256"/>
- <Column id="editotlimitdiffamt" type="STRING" size="256"/>
- <Column id="handcaprfund" type="STRING" size="256"/>
- <Column id="medcaretotnew" type="STRING" size="256"/>
- <Column id="editotownownbamt" type="STRING" size="256"/>
- <Column id="edibhownbamt" type="STRING" size="256"/>
- <Column id="ediund100totamt" type="STRING" size="256"/>
- <Column id="ediund100ownbamt" type="STRING" size="256"/>
- <Column id="ediund100clamamt" type="STRING" size="256"/>
- <Column id="ediund100bhclamamt" type="STRING" size="256"/>
- <Column id="adrugitemamt" type="STRING" size="256"/>
- <Column id="acureitemamt" type="STRING" size="256"/>
- <Column id="aexamamt" type="STRING" size="256"/>
- <Column id="adrugitemactamt" type="STRING" size="256"/>
- <Column id="acureitemactamt" type="STRING" size="256"/>
- <Column id="aexamactamt" type="STRING" size="256"/>
- <Column id="bdrugitemamt" type="STRING" size="256"/>
- <Column id="bcureitemamt" type="STRING" size="256"/>
- <Column id="bexamamt" type="STRING" size="256"/>
- <Column id="bdrugitemactamt" type="STRING" size="256"/>
- <Column id="bcureitemactamt" type="STRING" size="256"/>
- <Column id="bexamactamt" type="STRING" size="256"/>
- <Column id="udrugitemamt" type="STRING" size="256"/>
- <Column id="ucureitemamt" type="STRING" size="256"/>
- <Column id="uexamamt" type="STRING" size="256"/>
- <Column id="udrugitemactamt" type="STRING" size="256"/>
- <Column id="ucureitemactamt" type="STRING" size="256"/>
- <Column id="uexamactamt" type="STRING" size="256"/>
- <Column id="colostomyamt" type="STRING" size="256"/>
- <Column id="colostomyactamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20704_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- <Column id="ediunitcost" type="STRING" size="256"/>
- <Column id="ediamt" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20704_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20705_main" 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="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="pagenum" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20705_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="clamdeptcd" type="STRING" size="256"/>
- <Column id="wundresncd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="sorting" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="medcaredayno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20705_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstexamtims" type="STRING" size="256"/>
- <Column id="fstexamamt" type="STRING" size="256"/>
- <Column id="fstexamacttims" type="STRING" size="256"/>
- <Column id="reexamtims" type="STRING" size="256"/>
- <Column id="reexamamt" type="STRING" size="256"/>
- <Column id="reexamacttims" type="STRING" size="256"/>
- <Column id="errtnamt" type="STRING" size="256"/>
- <Column id="drugmngtamt" type="STRING" size="256"/>
- <Column id="gnrldayno" type="STRING" size="256"/>
- <Column id="gnrlamt" type="STRING" size="256"/>
- <Column id="sptchilddayno" type="STRING" size="256"/>
- <Column id="sptchildamt" type="STRING" size="256"/>
- <Column id="cureroomdayno" type="STRING" size="256"/>
- <Column id="cureroomamt" type="STRING" size="256"/>
- <Column id="isolroomdayno" type="STRING" size="256"/>
- <Column id="isolroomamt" type="STRING" size="256"/>
- <Column id="etcdayno" type="STRING" size="256"/>
- <Column id="etcamt" type="STRING" size="256"/>
- <Column id="basechrgfoodamt" type="STRING" size="256"/>
- <Column id="addchrgfoodamt" type="STRING" size="256"/>
- <Column id="inusedrugdayno" type="STRING" size="256"/>
- <Column id="inusedrugamt" type="STRING" size="256"/>
- <Column id="inusedrugactamt" type="STRING" size="256"/>
- <Column id="exusedrugdayno" type="STRING" size="256"/>
- <Column id="exusedrugamt" type="STRING" size="256"/>
- <Column id="exusedrugactamt" type="STRING" size="256"/>
- <Column id="mpstims" type="STRING" size="256"/>
- <Column id="mpsamt" type="STRING" size="256"/>
- <Column id="injmusdayno" type="STRING" size="256"/>
- <Column id="injmusamt" type="STRING" size="256"/>
- <Column id="injmusactamt" type="STRING" size="256"/>
- <Column id="injveindayno" type="STRING" size="256"/>
- <Column id="injveinamt" type="STRING" size="256"/>
- <Column id="injveinactamt" type="STRING" size="256"/>
- <Column id="injfloodtims" type="STRING" size="256"/>
- <Column id="injfloodamt" type="STRING" size="256"/>
- <Column id="injfloodactamt" type="STRING" size="256"/>
- <Column id="injetctims" type="STRING" size="256"/>
- <Column id="injetcamt" type="STRING" size="256"/>
- <Column id="injetcactamt" type="STRING" size="256"/>
- <Column id="injspecamt" type="STRING" size="256"/>
- <Column id="injbloodtims" type="STRING" size="256"/>
- <Column id="injbloodamt" type="STRING" size="256"/>
- <Column id="injbloodactamt" type="STRING" size="256"/>
- <Column id="ansttims" type="STRING" size="256"/>
- <Column id="anstamt" type="STRING" size="256"/>
- <Column id="anstactamt" type="STRING" size="256"/>
- <Column id="scittims" type="STRING" size="256"/>
- <Column id="scitamt" type="STRING" size="256"/>
- <Column id="scitactamt" type="STRING" size="256"/>
- <Column id="psyptims" type="STRING" size="256"/>
- <Column id="psypamt" type="STRING" size="256"/>
- <Column id="psypactamt" type="STRING" size="256"/>
- <Column id="cureoptims" type="STRING" size="256"/>
- <Column id="cureopamt" type="STRING" size="256"/>
- <Column id="cureopactamt" type="STRING" size="256"/>
- <Column id="casttims" type="STRING" size="256"/>
- <Column id="castamt" type="STRING" size="256"/>
- <Column id="castactamt" type="STRING" size="256"/>
- <Column id="itslftesttims" type="STRING" size="256"/>
- <Column id="itslftestamt" type="STRING" size="256"/>
- <Column id="itslftestactamt" type="STRING" size="256"/>
- <Column id="trusttestmngtamt" type="STRING" size="256"/>
- <Column id="trusttesttims" type="STRING" size="256"/>
- <Column id="trusttestamt" type="STRING" size="256"/>
- <Column id="raydiagtims" type="STRING" size="256"/>
- <Column id="raydiagamt" type="STRING" size="256"/>
- <Column id="raydiagactamt" type="STRING" size="256"/>
- <Column id="raycuretims" type="STRING" size="256"/>
- <Column id="raycureamt" type="STRING" size="256"/>
- <Column id="raycureactamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagtims" type="STRING" size="256"/>
- <Column id="seqmtctdiagamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagtims" type="STRING" size="256"/>
- <Column id="seqmtmridiagamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
- <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
- <Column id="vdrugitemamt" type="STRING" size="256"/>
- <Column id="vcureitemamt" type="STRING" size="256"/>
- <Column id="vexamamt" type="STRING" size="256"/>
- <Column id="vexamactamt" type="STRING" size="256"/>
- <Column id="wdrugitemamt" type="STRING" size="256"/>
- <Column id="wcureitemamt" type="STRING" size="256"/>
- <Column id="wexamamt" type="STRING" size="256"/>
- <Column id="wexamactamt" type="STRING" size="256"/>
- <Column id="indays" type="STRING" size="256"/>
- <Column id="usedrugtotamt" type="STRING" size="256"/>
- <Column id="seqmtdiagamt" type="STRING" size="256"/>
- <Column id="vtotamt" type="STRING" size="256"/>
- <Column id="wtotamt" type="STRING" size="256"/>
- <Column id="totamt" type="STRING" size="256"/>
- <Column id="totactamt" type="STRING" size="256"/>
- <Column id="corpactaddrate" type="STRING" size="256"/>
- <Column id="hospaddamt" type="STRING" size="256"/>
- <Column id="medcaretotamt" type="STRING" size="256"/>
- <Column id="ownbamt" type="STRING" size="256"/>
- <Column id="suppamt" type="STRING" size="256"/>
- <Column id="insuclamamt" type="STRING" size="256"/>
- <Column id="ownbmaxexamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="bhclamamt" type="STRING" size="256"/>
- <Column id="editotlimitdiffamt" type="STRING" size="256"/>
- <Column id="handcaprfund" type="STRING" size="256"/>
- <Column id="medcaretotnew" type="STRING" size="256"/>
- <Column id="editotownownbamt" type="STRING" size="256"/>
- <Column id="edibhownbamt" type="STRING" size="256"/>
- <Column id="ediund100totamt" type="STRING" size="256"/>
- <Column id="ediund100ownbamt" type="STRING" size="256"/>
- <Column id="ediund100clamamt" type="STRING" size="256"/>
- <Column id="ediund100bhclamamt" type="STRING" size="256"/>
- <Column id="adrugitemamt" type="STRING" size="256"/>
- <Column id="acureitemamt" type="STRING" size="256"/>
- <Column id="aexamamt" type="STRING" size="256"/>
- <Column id="adrugitemactamt" type="STRING" size="256"/>
- <Column id="acureitemactamt" type="STRING" size="256"/>
- <Column id="aexamactamt" type="STRING" size="256"/>
- <Column id="bdrugitemamt" type="STRING" size="256"/>
- <Column id="bcureitemamt" type="STRING" size="256"/>
- <Column id="bexamamt" type="STRING" size="256"/>
- <Column id="bdrugitemactamt" type="STRING" size="256"/>
- <Column id="bcureitemactamt" type="STRING" size="256"/>
- <Column id="bexamactamt" type="STRING" size="256"/>
- <Column id="udrugitemamt" type="STRING" size="256"/>
- <Column id="ucureitemamt" type="STRING" size="256"/>
- <Column id="uexamamt" type="STRING" size="256"/>
- <Column id="udrugitemactamt" type="STRING" size="256"/>
- <Column id="ucureitemactamt" type="STRING" size="256"/>
- <Column id="uexamactamt" type="STRING" size="256"/>
- <Column id="colostomyamt" type="STRING" size="256"/>
- <Column id="colostomyactamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20705_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- <Column id="ediunitcost" type="STRING" size="256"/>
- <Column id="ediamt" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20705_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20706_main" 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="pid" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="pagenum" type="STRING" size="256"/>
- <Column id="chkflag" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="photimg" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20706_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="clamdeptcd" type="STRING" size="256"/>
- <Column id="wundresncd" type="STRING" size="256"/>
- <Column id="ordfromdd" type="STRING" size="256"/>
- <Column id="sorting" type="STRING" size="256"/>
- <Column id="clamflag" type="STRING" size="256"/>
- <Column id="medcaredayno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20706_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstexamtims" type="STRING" size="256"/>
- <Column id="fstexamamt" type="STRING" size="256"/>
- <Column id="fstexamacttims" type="STRING" size="256"/>
- <Column id="reexamtims" type="STRING" size="256"/>
- <Column id="reexamamt" type="STRING" size="256"/>
- <Column id="reexamacttims" type="STRING" size="256"/>
- <Column id="errtnamt" type="STRING" size="256"/>
- <Column id="drugmngtamt" type="STRING" size="256"/>
- <Column id="gnrldayno" type="STRING" size="256"/>
- <Column id="gnrlamt" type="STRING" size="256"/>
- <Column id="sptchilddayno" type="STRING" size="256"/>
- <Column id="sptchildamt" type="STRING" size="256"/>
- <Column id="cureroomdayno" type="STRING" size="256"/>
- <Column id="cureroomamt" type="STRING" size="256"/>
- <Column id="isolroomdayno" type="STRING" size="256"/>
- <Column id="isolroomamt" type="STRING" size="256"/>
- <Column id="etcdayno" type="STRING" size="256"/>
- <Column id="etcamt" type="STRING" size="256"/>
- <Column id="basechrgfoodamt" type="STRING" size="256"/>
- <Column id="addchrgfoodamt" type="STRING" size="256"/>
- <Column id="inusedrugdayno" type="STRING" size="256"/>
- <Column id="inusedrugamt" type="STRING" size="256"/>
- <Column id="inusedrugactamt" type="STRING" size="256"/>
- <Column id="exusedrugdayno" type="STRING" size="256"/>
- <Column id="exusedrugamt" type="STRING" size="256"/>
- <Column id="exusedrugactamt" type="STRING" size="256"/>
- <Column id="mpstims" type="STRING" size="256"/>
- <Column id="mpsamt" type="STRING" size="256"/>
- <Column id="injmusdayno" type="STRING" size="256"/>
- <Column id="injmusamt" type="STRING" size="256"/>
- <Column id="injmusactamt" type="STRING" size="256"/>
- <Column id="injveindayno" type="STRING" size="256"/>
- <Column id="injveinamt" type="STRING" size="256"/>
- <Column id="injveinactamt" type="STRING" size="256"/>
- <Column id="injfloodtims" type="STRING" size="256"/>
- <Column id="injfloodamt" type="STRING" size="256"/>
- <Column id="injfloodactamt" type="STRING" size="256"/>
- <Column id="injetctims" type="STRING" size="256"/>
- <Column id="injetcamt" type="STRING" size="256"/>
- <Column id="injetcactamt" type="STRING" size="256"/>
- <Column id="injspecamt" type="STRING" size="256"/>
- <Column id="injbloodtims" type="STRING" size="256"/>
- <Column id="injbloodamt" type="STRING" size="256"/>
- <Column id="injbloodactamt" type="STRING" size="256"/>
- <Column id="ansttims" type="STRING" size="256"/>
- <Column id="anstamt" type="STRING" size="256"/>
- <Column id="anstactamt" type="STRING" size="256"/>
- <Column id="scittims" type="STRING" size="256"/>
- <Column id="scitamt" type="STRING" size="256"/>
- <Column id="scitactamt" type="STRING" size="256"/>
- <Column id="psyptims" type="STRING" size="256"/>
- <Column id="psypamt" type="STRING" size="256"/>
- <Column id="psypactamt" type="STRING" size="256"/>
- <Column id="cureoptims" type="STRING" size="256"/>
- <Column id="cureopamt" type="STRING" size="256"/>
- <Column id="cureopactamt" type="STRING" size="256"/>
- <Column id="casttims" type="STRING" size="256"/>
- <Column id="castamt" type="STRING" size="256"/>
- <Column id="castactamt" type="STRING" size="256"/>
- <Column id="itslftesttims" type="STRING" size="256"/>
- <Column id="itslftestamt" type="STRING" size="256"/>
- <Column id="itslftestactamt" type="STRING" size="256"/>
- <Column id="trusttestmngtamt" type="STRING" size="256"/>
- <Column id="trusttesttims" type="STRING" size="256"/>
- <Column id="trusttestamt" type="STRING" size="256"/>
- <Column id="raydiagtims" type="STRING" size="256"/>
- <Column id="raydiagamt" type="STRING" size="256"/>
- <Column id="raydiagactamt" type="STRING" size="256"/>
- <Column id="raycuretims" type="STRING" size="256"/>
- <Column id="raycureamt" type="STRING" size="256"/>
- <Column id="raycureactamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagtims" type="STRING" size="256"/>
- <Column id="seqmtctdiagamt" type="STRING" size="256"/>
- <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagtims" type="STRING" size="256"/>
- <Column id="seqmtmridiagamt" type="STRING" size="256"/>
- <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
- <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
- <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
- <Column id="vdrugitemamt" type="STRING" size="256"/>
- <Column id="vcureitemamt" type="STRING" size="256"/>
- <Column id="vexamamt" type="STRING" size="256"/>
- <Column id="vexamactamt" type="STRING" size="256"/>
- <Column id="wdrugitemamt" type="STRING" size="256"/>
- <Column id="wcureitemamt" type="STRING" size="256"/>
- <Column id="wexamamt" type="STRING" size="256"/>
- <Column id="wexamactamt" type="STRING" size="256"/>
- <Column id="indays" type="STRING" size="256"/>
- <Column id="usedrugtotamt" type="STRING" size="256"/>
- <Column id="seqmtdiagamt" type="STRING" size="256"/>
- <Column id="vtotamt" type="STRING" size="256"/>
- <Column id="wtotamt" type="STRING" size="256"/>
- <Column id="totamt" type="STRING" size="256"/>
- <Column id="totactamt" type="STRING" size="256"/>
- <Column id="corpactaddrate" type="STRING" size="256"/>
- <Column id="hospaddamt" type="STRING" size="256"/>
- <Column id="medcaretotamt" type="STRING" size="256"/>
- <Column id="ownbamt" type="STRING" size="256"/>
- <Column id="suppamt" type="STRING" size="256"/>
- <Column id="insuclamamt" type="STRING" size="256"/>
- <Column id="ownbmaxexamt" type="STRING" size="256"/>
- <Column id="totordamt" type="STRING" size="256"/>
- <Column id="bhclamamt" type="STRING" size="256"/>
- <Column id="editotlimitdiffamt" type="STRING" size="256"/>
- <Column id="handcaprfund" type="STRING" size="256"/>
- <Column id="medcaretotnew" type="STRING" size="256"/>
- <Column id="editotownownbamt" type="STRING" size="256"/>
- <Column id="edibhownbamt" type="STRING" size="256"/>
- <Column id="ediund100totamt" type="STRING" size="256"/>
- <Column id="ediund100ownbamt" type="STRING" size="256"/>
- <Column id="ediund100clamamt" type="STRING" size="256"/>
- <Column id="ediund100bhclamamt" type="STRING" size="256"/>
- <Column id="adrugitemamt" type="STRING" size="256"/>
- <Column id="acureitemamt" type="STRING" size="256"/>
- <Column id="aexamamt" type="STRING" size="256"/>
- <Column id="adrugitemactamt" type="STRING" size="256"/>
- <Column id="acureitemactamt" type="STRING" size="256"/>
- <Column id="aexamactamt" type="STRING" size="256"/>
- <Column id="bdrugitemamt" type="STRING" size="256"/>
- <Column id="bcureitemamt" type="STRING" size="256"/>
- <Column id="bexamamt" type="STRING" size="256"/>
- <Column id="bdrugitemactamt" type="STRING" size="256"/>
- <Column id="bcureitemactamt" type="STRING" size="256"/>
- <Column id="bexamactamt" type="STRING" size="256"/>
- <Column id="udrugitemamt" type="STRING" size="256"/>
- <Column id="ucureitemamt" type="STRING" size="256"/>
- <Column id="uexamamt" type="STRING" size="256"/>
- <Column id="udrugitemactamt" type="STRING" size="256"/>
- <Column id="ucureitemactamt" type="STRING" size="256"/>
- <Column id="uexamactamt" type="STRING" size="256"/>
- <Column id="colostomyamt" type="STRING" size="256"/>
- <Column id="colostomyactamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20706_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- <Column id="ediunitcost" type="STRING" size="256"/>
- <Column id="ediamt" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20706_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sorting1" type="STRING" size="256"/>
- <Column id="sorting2" type="STRING" size="256"/>
- <Column id="sorting3" type="STRING" size="256"/>
- <Column id="edicd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="drugqty" type="STRING" size="256"/>
- <Column id="drugtims" type="STRING" size="256"/>
- <Column id="drugdayno" type="STRING" size="256"/>
- <Column id="rcptcalcamt" type="STRING" size="256"/>
- <Column id="edidruglimitamt" type="STRING" size="256"/>
- <Column id="edilimitdiffamt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_TRPID20301_1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_supp" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_cldi" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_clod" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_clop" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_clod2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_trnpt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_ordlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_kopg" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_drgkdrg" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_resultlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_judgmemo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20301_edimemo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_RFPID20800_etc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_img" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="image" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0650" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_sumtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_TRPID20702_spcl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="spclcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SMPID20700_환자청구명세서출력.xfdl
- * Creator :
- * Make Date : 2014-06-24
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-06-24 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- // include "com_basiccodexp::ZBC001.xjs";
- // include "pam_pamcomnxp::PAM.xjs";
- // include "pam_aftjudgxp::SMPID20000.xjs";
- include "com_commodulexp::SSZFM00401.xjs"; // Dataset 뷰어용
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var minRowNum = 0; // 다음페이지 조회시 사용
- var maxRowNum = 0; // 다음페이지 조회시 사용
- var preview = "Y"; // 출력 기본값: 미리보기
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /******************************************************************
- * Argument :
- * Description : 조회한다.
- ******************************************************************/
- // 화면 open시(와 초기화 버튼 클릭시) 화면 초기화 기능을 수행한다.
- function lf_Initialize() {
- // 노드 초기화
- lf_InitSrchData();
-
- //com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
- appf_getCodeList( [{cdGrpId: "P0008", dsNm: "ds_init_P0630"} //보험유형
- , {cdGrpId: "P0010", dsNm: "ds_init_P0010"} //보조유형
- , {cdGrpId: "P0155", dsNm: "ds_init_P0155"} //청구구분
- , {cdGrpId: "P0458", dsNm: "ds_init_P0458"} //진료분야
- //, {cdGrpId: "P0650", dsNm: "ds_init_P0650"} //진료분야(자보용)
- ]);
-
- ds_init_sumtypecd.copyData(ds_init_P0458);
-
- //콤보에 전체 추가
- frmf_addComboItem("Div00.cmb_insukind", "전체", "", "above");
- frmf_addComboItem("Div00.cmb_clamflagcd", "전체", "", "above");
- // 2015.09.08 청구구분 누락청구 삭제(정상청구에 함께 조회)
- ds_init_P0155.deleteRow( ds_init_P0155.findRow("cdnm", "누락청구") );
-
- //콤보 전체로 초기화
- Div00.cmb_sumtypecd.value = "-";
- Div00.cmb_clamflagcd.value = "-";
- Div00.cmb_srcflag.value = "0";
-
- // 보험유형, 보조유형 코드 불러오기
- tranf_submit({
- id: "TRPIJ00601"
- , service: "bfjudgapp.OutDayJudgTrgtMan"
- , method: "reqGetInitComCd"
- , outds: "ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_judgrid=judgrid"
- });
-
- frmf_addComboItem("Div00.cmb_suppkind", "전체", "", "above");
- Div00.cmb_insukind.value = "";
- Div00.cmb_suppkind.value = "";
-
- var sInDs = dsf_createDsRow("ds_cond_TRPID20708", {col: "req" , val: ""});
-
- // 손보사 콤보 리스트
- //submit("TRPID20708");
- tranf_submit({
- id: "TRPID20708"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetInsucdList"
- , inds: "req=ds_cond_TRPID20708"
- , outds: "ds_init_cmb_insunm=list"
- });
- // 직인 이미지
- //submit("TRPID20709");
- tranf_submit({
- id: "TRPID20709"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "getInstRthesimg"
- , inds: "req="+sInDs
- , outds: "ds_init_sealimg=list"
- });
-
- // 2014-06-25
- // 이미지 조회불가능(테이블이 비어있음)
- // emr.mmohdefc(빈 테이블), tis.rthesimg(없는 테이블)
- // 이미지 출력시 clob -> string -> 출력물로 전송
-
- if( ds_init_sealimg.rowcount < 1 ) {
- //ds_init_sealimg.addRow();
- }
- else {
- button4.visible = true;
- grp_instimg.ImageViewer00.image = ds_init_sealimg.getColumn(0, "photimg");
- }
-
- // ds_init_P0458 : 집계구분 보험유형 컬럼 추가
- ds_init_P0458.addColumn("insukind", "string");
- for ( var i = 0; i < ds_init_P0458.rowcount; i++ ){
- if (ds_init_P0458.getColumn(i, "cdnm") == "정신과정액"){
- ds_init_P0458.setColumn(i, "insukind", "2");
- } else if (ds_init_P0458.getColumn(i, "cdnm") == "혈액투석") {
- ds_init_P0458.setColumn(i, "insukind", "2");
- } else if (ds_init_P0458.getColumn(i, "cdnm") == "자보") {
- ds_init_P0458.setColumn(i, "insukind", "3");
- } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재정상") {
- ds_init_P0458.setColumn(i, "insukind", "4");
- } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재휴유") {
- ds_init_P0458.setColumn(i, "insukind", "4");
- } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재진폐") {
- ds_init_P0458.setColumn(i, "insukind", "4");
- } else {
- if (ds_init_P0458.getColumn(i, "cdid") != "-"){
- ds_init_P0458.setColumn(i, "insukind", "1");
- }
- }
- }
-
- }
- /******************************************************************
- * Argument :
- * Description : 초기값으로 설정한다.
- ******************************************************************/
- function lf_InitSrchData() {
-
- ds_grid_grd_clbsmast.clearData();
-
- // 청구년월, 차수 초기화
- Div00.cp_monthCal00.cal_Month.value = utlf_getCurrentDate();
- Div00.cmb_ioflag.value = "-";
- ds_init_cmb_clamdg.clearData();
-
- var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "insukind" , val: Div00.cmb_insukind.value }
- ]);
-
- tranf_submit({
- id: "TRPID20407"
- , service: "aftjudgapp.InAftJudgTrgtMan"
- , method: "reqGetClamdg"
- , inds: "req=ds_cond_TRPID20407"
- , outds: "ds_init_cmb_clamdg=clamdg"
- });
- frmf_addComboItem("Div00.cmb_clamdg", "전체", 0, "above");
- Div00.cmb_clamdg.value = "0";
-
- //컨트롤 초기화
- Div00.ipt_docuseqno1.value = "";
- Div00.ipt_docuseqno2.value = "";
- Div00.ipt_docuseqno1.enable = false;
- Div00.ipt_docuseqno2.enable = false;
- Div00.cmb_suppkind.enable = false;
-
- chk_imgprtyn.value = "";
-
- //콤보 전체로 초기화
- Div00.cmb_sumtypecd.index = 0;
- Div00.cmb_srcflag.value = "0";
- Div00.cmb_insukind.value = "-";
- Div00.cmb_clamflagcd.value = "-";
- Div00.bool_delyn.value = Div00.bool_delyn.falsevalue;
-
- // 총건수
- opt_totcnt.value = "";
- }
- /******************************************************************
- * Argument :
- * Description : 화면 권한을 설정한다.
- ******************************************************************/
- function lf_CheckAuth() {
-
- // 자신이 팝업인지 아닌지를 리턴한다.
- if ( !frmf_isPopup() ) {
- //model.setValue("properties/auth", "10100000"); // (RXP)팝업이 아닌 경우 처리권한을 부여하지 않는다.
-
- }
- var pAuth = !frmf_checkAuth("P"); // 출력권한(보고서 출력, 엑셀 내려받기 등)
- btn_print.enable = !pAuth;
- var xAuth = !frmf_checkAuth("X"); // 처리권한(입력, 수정, 삭제 등)
- }
- /******************************************************************
- * Argument :
- * Description : 직인 이미지를 변경한다.
- ******************************************************************/
- function lf_ChangeImage(arrFileList) {
- // var filepath = arrFileList[0].fullpath;
- // grp_instimg.ImageViewer00.image = filepath;
- //
- // var aRow = ds_temp_img.addRow();
- // var vfile = dsf_writeFileToDs(arrFileList, ds_temp_img, aRow, "filedata");
-
- //var bData = new Buffer(arrFileList.read(arrFileList.getFileSize() ) );
-
- // if( ds_init_sealimg.rowcount < 1 ) {
- // alert("ss");
- // var aRow = ds_init_sealimg.addRow();
- // //ds_init_sealimg.setColumn(aRow, "photimg", bData);
- //
- // }
- // TF source
- // img_hidden.src = imgsrc; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
- // var data = img_hidden.getbase64data(); // base64 encoding 문자열을 가져온다.
- // model.setValue("/root/send/imgdata/photimg",data,true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
- // setImageRefInstance("/root/main/imgdata/photimg"); //base64 encoding 문자열을 이미지로 변환하여 보여준다,
- // model.refreshpart("/root/send/imgdata/photimg");
- }
-
- /******************************************************************
- * Argument :
- * Description : 조회한다.
- ******************************************************************/
- function lf_GetPatClamDocuPrntList() {
- // 청구년월 입력값 체크
- if( utlf_isNull(Div00.cp_monthCal00.cal_Month.value) ) {
- sysf_messageBox("청구년월은", "I003"); //필수입력입니다.
- return;
- }
-
- // 청구차수 입력값 체크
- if( utlf_isNull(Div00.cmb_clamdg.value) ) {
- sysf_messageBox("청구차수는", "I003"); //필수입력입니다.
- return;
- }
-
- if( Div00.cmb_insukind.value != "31" ) {
- if( utlf_isNull(Div00.ipt_docuseqno1.value) ) {
- sysf_messageBox("자보 이외에 등록번호는", "I003"); //필수입력입니다.
- return;
- }
- }
-
- // // 명세서 시작 종료 일련번호 값 체크
- // if( Div00.cmb_srcflag.value == "1") { //명번호
- // }
- // else if( Div00.cmb_srcflag.value == "2" ) { //환자번호
- // var tmp_len1 = utlf_lPad(Div00.ipt_docuseqno1.value, 9, "0");
- // Div00.ipt_docuseqno1.value = tmp_len1;
- // }
-
- // 500건씩 잘라서 조회하기 위한 값
- minRowNum = 1;
- maxRowNum = 500;
-
- var insukind = Div00.cmb_insukind.value;
- if( insukind == "-") {
- insukind = "";
- }
- var clamflagcd = Div00.cmb_clamflagcd.value;
- if( clamflagcd == "-") {
- clamflagcd = "";
- }
-
- //submit("TRPID20701");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20701"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "clamdg" , val: Div00.cmb_clamdg.value }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "clamflagcd" , val: clamflagcd }
- , {col: "sumtypecd" , val: Div00.cmb_sumtypecd.value }
- , {col: "insukind" , val: insukind }
- , {col: "suppkind" , val: Div00.cmb_suppkind.value }
- , {col: "srcflag" , val: Div00.cmb_srcflag.value }
- , {col: "docuseqno1" , val: Div00.ipt_docuseqno1.value }
- , {col: "docuseqno2" , val: Div00.ipt_docuseqno2.value }
- , {col: "minrnum" , val: minRowNum }
- , {col: "maxrnum" , val: maxRowNum }
- , {col: "judgendyn" , val: Div00.bool_delyn.value }
- , {col: "insucd" , val: Div00.cmb_insunm.value }
- ]);
-
- tranf_submit({
- id: "TRPID20701"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntList"
- , inds: "req=ds_cond_TRPID20701"
- , outds: "ds_grid_grd_clbsmast=clbs"
- });
-
-
- // 체크박스 true, false -> 1, 0으로 바꾸기
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- for(i = 0 ; i < rowCnt ; i++) {
- if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == "true") { //급
- ds_grid_grd_clbsmast.setColumn(i, "chksel", 1);
- }
- else{
- ds_grid_grd_clbsmast.setColumn(i, "chksel", 0);
- }
-
- if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == "true") { //비
- ds_grid_grd_clbsmast.setColumn(i, "chkpay", 1);
- }
- else{
- ds_grid_grd_clbsmast.setColumn(i, "chkpay", 0);
- }
-
- if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == "true") { //ALL
- ds_grid_grd_clbsmast.setColumn(i, "chkall", 1);
- }
- else{
- ds_grid_grd_clbsmast.setColumn(i, "chkall", 0);
- }
- }
-
-
- //총건수
- if( ds_grid_grd_clbsmast.rowcount > 0 ) {
- opt_totcnt.value = ds_grid_grd_clbsmast.rowcount;
- }
- else {
- opt_totcnt.value = "";
- }
- }
- /******************************************************************
- * Argument :
- * Description : 자보 리스트 엑셀 출력
- ******************************************************************/
- function lf_GetPatClamAutoXlsList() {
- // 청구년월 입력값 체크
- if( utlf_isNull(Div00.cp_monthCal00.getData() ) ) {
- sysf_messageBox("청구년월은", "I003"); // 필수입력입니다.
- Div00.cp_monthCal00.setFocus();
- return;
- }
-
- // 청구차수 입력값 체크
- if( utlf_isNull(Div00.cmb_clamdg.value) || Div00.cmb_clamdg.value == 0 ) {
- sysf_messageBox("청구차수는", "I003"); // 필수입력입니다.
- Div00.cmb_clamdg.setFocus();
- return;
- }
-
-
- ds_grid_grd_autoxls.clearData();
-
- // 자보일 경우에만 실행 가능하게
- if ( Div00.cmb_insukind.value == "31" ) {
- //submit("TRPID20707");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20707"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "clamdg" , val: Div00.cmb_clamdg.value }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "insukind" , val: Div00.cmb_insukind.value }
- ]);
-
- tranf_submit({
- id: "TRPID20707"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamAutoXlsList"
- , inds: "req=ds_cond_TRPID20707"
- , outds: "ds_grid_grd_autoxls=clbs"
- });
-
- if(ds_grid_grd_autoxls.rowcount > 0) {
- ds_grid_grd_autoxls.addColumn("docuseqno1", "string");
- for(var i=0; i < ds_grid_grd_autoxls.rowcount; i++){
- var docuseqno = utlf_lPad(ds_grid_grd_autoxls.getColumn(i, "docuseqno"), 5, "0");
- ds_grid_grd_autoxls.setColumn(i, "docuseqno1", docuseqno);
- }
- }
- }
- else {
- sysf_messageBox("자보가 선택되지", "E007"); /// 자보가 선택되지 않았습니다.
- return;
- }
-
- if(ds_grid_grd_autoxls.rowcount > 0) {
- grdf_exportExcel(grd_autoxls, "자보리스트", "see");
- }
- else {
- sysf_messageBox("출력할 자보리스트 데이터가", "I004"); //없습니다.
- }
- }
- /******************************************************************
- * Argument :
- * Description : 출력한다.
- ******************************************************************/
- function lf_PrintView() {
- // 1. 출력여부 판단 (선택된 row 가 있어야 출력 가능)
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- var chksel = 0; //급
- var chkpay = 0; //비
- var chkall = 0; //All
- var isprnt = "";
-
- for(var i = 0 ; i < rowCnt ; i++) {
- chksel += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chksel")); //급여 출력여부
- chkpay += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chkpay")); //비급여 출력여부
- chkall += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chkall")); //급여+비급여 출력여부
- }
-
- // 2. 출력
- if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
- for(var i = 0 ; i < rowCnt ; i++) {
- //2-1. 급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- if(insukind == "31") { // 자보(의과입원)
- // 자보입원 환자청구명세서 출력
- lf_PrintView3(i, "pay");
- }
- else { // 일반(의과입원) 39
- // 의과(치과)입원 환자청구명세서 출력
- lf_PrintView1(i, "pay");
- }
- break;
- case "O": //외래
- if(insukind == "31") { // 자보(의과외래)
- // 자보입원 환자청구명세서 출력
- lf_PrintView4(i, "pay");
- }
- else { // 일반(의과외래) 39
- // 의과(치과)입원 환자청구명세서 출력
- lf_PrintView2(i, "pay");
- }
- break;
-
- default:
- break;
- }
-
- }
-
- //2-2. 비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) {
- // 비급여 환자청구명세서 출력
- lf_PrintView5(i, "nopay");
- }
-
- //2-3. 급여+비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) {
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- if(insukind == "31") { // 자보(의과입원)
- // 자보입원 환자청구명세서 출력
- lf_PrintView3(i, "all");
- }
- else { // 일반(의과입원) 39
- // 의과(치과)입원 환자청구명세서 출력
- lf_PrintView1(i, "all");
- }
- break;
- case "O": //외래
- if(insukind == "31") { // 자보(의과외래)
- // 자보입원 환자청구명세서 출력
- lf_PrintView4(i, "all");
- }
- else { // 일반(의과외래) 39
- // 의과(치과)입원 환자청구명세서 출력
- lf_PrintView2(i, "all"); //급여
- }
- break;
-
- default:
- break;
- }
-
- }
- }
- var sum = parseInt(chksel) + parseInt(chkpay) + parseInt(chkall);
- sysf_messageBox("명세서 출력(" + sum + "건)이", "I002");//완료되었습니다.
- }
- else {
- sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
- }
-
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 의과(치과)입원 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView1(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20702_main.clearData();
- ds_temp_TRPID20702_amt.clearData();
- ds_temp_TRPID20702_diag.clearData();
- ds_temp_TRPID20702_prcp.clearData();
- ds_temp_TRPID20702_prcpsub.clearData();
-
- // 1. 의과(치과)입원_메인 데이터 조회
- // 2. 의과(치과)입원_상병 목록 조회
- // 3. 의과(치과)입원_금액 조회
- // 4. 의과(치과)입원_처방 조회
- //submit("TRPID20702");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20702"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 32} //의과
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- , {col: "ioflag" , val: ds_grid_grd_clbsmast.getColumn(curRow, "ioflag")}
- ]);
-
- tranf_submit({
- id: "TRPID20702"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData1"
- , inds: "req=ds_cond_TRPID20702"
- , outds: "ds_temp_TRPID20702_main=main ds_temp_TRPID20702_diag=diag ds_temp_TRPID20702_amt=amt ds_temp_TRPID20702_prcp=prcp ds_temp_TRPID20702_prcpsub=prcp_sub ds_temp_TRPID20702_spcl=spcl"
- });
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20702_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20702_amt); // 데이터셋 3
- //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20702_prcp); // 데이터셋 4
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/spcl", ds_temp_TRPID20702_spcl); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
-
- rptf_exeReportPreview30(["RPPID20701"],[objParam], option);
- lf_printDelay(2);
-
-
- // 6. 보고서(나머지)로 데이터 보내기(뒷장의 존재유무를 sorting1 값으로 판단한다.
- // 이전에는 edicd로 했는데 소계에서는 빈값이어서 변경함)
- //if( 0 ) {
- if( !utlf_isNull(ds_temp_TRPID20702_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20702_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20702_prcpsub); // 데이터셋 5
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20702_amt); // 데이터셋 3
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML9 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPPID20706"],[objParam], option);
- lf_printDelay(2);
- }
-
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 의과(치과)외래 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView2(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20703_main.clearData();
- ds_temp_TRPID20703_amt.clearData();
- ds_temp_TRPID20703_diag.clearData();
- ds_temp_TRPID20703_prcp.clearData();
- ds_temp_TRPID20703_prcpsub.clearData();
-
- // 1. 의과(치과)외래_메인 데이터 조회
- // 2. 의과(치과)외래_상병 목록 조회
- // 3. 의과(치과)외래원_금액 조회
- // 4. 의과(치과)외래_처방 조회
- //submit("TRPID20703");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20703"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 32} //의과
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20703"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData2"
- , inds: "req=ds_cond_TRPID20703"
- , outds: "ds_temp_TRPID20703_main=main ds_temp_TRPID20703_diag=diag ds_temp_TRPID20703_amt=amt ds_temp_TRPID20703_prcp=prcp ds_temp_TRPID20703_prcpsub=prcp_sub"
- });
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20703_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20703_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20703_amt); // 데이터셋 3
- //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20703_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20703_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
- trace("RPPID20700 출력");
- rptf_exeReportPreview30(["RPPID20700"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기(뒷장의 존재유무를 sorting1 값으로 판단한다.
- // 이전에는 edicd로 했는데 소계에서는 빈값이어서 변경함)
- //if( 0 ) {
- if( !utlf_isNull(ds_temp_TRPID20703_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20703_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20703_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- trace("RPPID20707_의과외래명세서 출력");
- rptf_exeReportPreview30(["RPPID20707"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 자보입원 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView3(curRow, payflag) {
-
- // 노드 초기화
- ds_temp_TRPID20704_main.clearData();
- ds_temp_TRPID20704_amt.clearData();
- ds_temp_TRPID20704_diag.clearData();
- ds_temp_TRPID20704_prcp.clearData();
- ds_temp_TRPID20704_prcpsub.clearData();
-
- // 1. 자보입원_메인 데이터 조회
- // 2. 자보입원_상병 목록 조회
- // 3. 자보입원_금액 조회
- // 4. 자보입원_처방 조회
- //submit("TRPID20704");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 33} //자보
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20704"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData3"
- , inds: "req=ds_cond_TRPID20704"
- , outds: "ds_temp_TRPID20704_main=main ds_temp_TRPID20704_diag=diag ds_temp_TRPID20704_amt=amt ds_temp_TRPID20704_prcp=prcp ds_temp_TRPID20704_prcpsub=prcp_sub"
- });
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value == "Y" ) {
- ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20704_amt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- //objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
-
- rptf_exeReportPreview30(["RPPID20705"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPPID20708"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 자보외래 환자청구명세서 출력
- ******************************************************************/
- function lf_Payment1(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20704_main.clearData();
- ds_temp_TRPID20704_amt.clearData();
- ds_temp_TRPID20704_diag.clearData();
- ds_temp_TRPID20704_prcp.clearData();
- ds_temp_TRPID20704_prcpsub.clearData();
- ds_temp_RFPID20800_etc.clearData();
-
- // 1. 자보입원_메인 데이터 조회
- // 2. 자보입원_상병 목록 조회
- // 3. 자보입원_금액 조회
- // 4. 자보입원_처방 조회
- //submit("TRPID20704");
- var pagenum;
- if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
- var pagenum = 33;
- }
- else {
- var pagenum = 23;
- }
- var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: pagenum} //자보
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20704"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData3"
- , inds: "req=ds_cond_TRPID20704"
- , outds: "ds_temp_TRPID20704_main=main ds_temp_TRPID20704_diag=diag ds_temp_TRPID20704_amt=amt ds_temp_TRPID20704_prcp=prcp ds_temp_TRPID20704_prcpsub=prcp_sub"
- });
-
-
- var rowCnt = ds_temp_TRPID20704_diag.rowcount;
- var diagcd = "";
- var diagnm = "";
- for(i = 0 ; i < rowCnt ; i++) {
- diagcd = diagcd + "\n" + ds_temp_TRPID20704_diag.getColumn(i, "diagcd");
- diagnm = diagnm + "\n" + ds_temp_TRPID20704_diag.getColumn(i, "diagnm");
- } //End for
- var aRow = ds_temp_RFPID20800_etc.addRow();
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
-
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value = "Y" ) {
- ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20704_amt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
- }
- }
-
- /******************************************************************
- * Argument : curRow, payflag
- * Description :
- ******************************************************************/
- function lf_Payment2(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20705_main.clearData();
- ds_temp_TRPID20705_amt.clearData();
- ds_temp_TRPID20705_diag.clearData();
- ds_temp_TRPID20705_prcp.clearData();
- ds_temp_TRPID20705_prcpsub.clearData();
- ds_temp_RFPID20800_etc.clearData();
-
- // 1. 자보입원_메인 데이터 조회
- // 2. 자보입원_상병 목록 조회
- // 3. 자보입원_금액 조회
- // 4. 자보입원_처방 조회
- //submit("TRPID20705");
- if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
- var pagenum = 33;
- }
- else {
- var pagenum = 23;
- }
-
- var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: pagenum} // 자보 33, 이외 39
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20705"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData4"
- , inds: "req=ds_cond_TRPID20705"
- , outds: "ds_temp_TRPID20705_main=main ds_temp_TRPID20705_diag=diag ds_temp_TRPID20705_amt=amt ds_temp_TRPID20705_prcp=prcp ds_temp_TRPID20705_prcpsub=prcp_sub"
- });
-
-
- var rowCnt = ds_temp_TRPID20705_diag.rowcount;
- var diagcd = "";
- var diagnm = "";
- for(i = 0 ; i < rowCnt ; i++) {
- diagcd = diagcd + "\n" + ds_temp_TRPID20705_diag.getColumn(i, "diagcd");
- diagnm = diagnm + "\n" + ds_temp_TRPID20705_diag.getColumn(i, "diagnm");
- } //End for
- var aRow = ds_temp_RFPID20800_etc.addRow();
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value == "Y" ) {
- ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20705_amt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description :
- ******************************************************************/
- function lf_Payment3(curRow, payflag) { // 39
- // 노드 초기화
- ds_temp_TRPID20706_main.clearData();
- ds_temp_TRPID20706_amt.clearData();
- ds_temp_TRPID20706_diag.clearData();
- ds_temp_TRPID20706_prcp.clearData();
- ds_temp_TRPID20706_prcpsub.clearData();
- ds_temp_RFPID20800_etc.clearData();
-
- // 1. 비급여_메인 데이터 조회
- // 2. 비급여_상병 목록 조회
- // 3. 비급여_금액 조회
- // 4. 비급여_처방 조회
- //submit("TRPID20706");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 23} //고정
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20706"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData5"
- , inds: "req=ds_cond_TRPID20706"
- , outds: "ds_temp_TRPID20706_main=main ds_temp_TRPID20706_diag=diag ds_temp_TRPID20706_amt=amt ds_temp_TRPID20706_prcp=prcp ds_temp_TRPID20706_prcpsub=prcp_sub"
- });
-
- var rowCnt = ds_temp_TRPID20706_diag.rowcount;
- var diagcd = "";
- var diagnm = "";
- for(i = 0 ; i < rowCnt ; i++) {
- diagcd = diagcd + "\n" + ds_temp_TRPID20706_diag.getColumn(i, "diagcd");
- diagnm = diagnm + "\n" + ds_temp_TRPID20706_diag.getColumn(i, "diagnm");
- } //End for
- var aRow = ds_temp_RFPID20800_etc.addRow();
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
- ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
-
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
- objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 조회한다.
- ******************************************************************/
- function lf_AccidPayment1(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20704_main.clearData();
- ds_temp_TRPID20704_amt.clearData();
- ds_temp_TRPID20704_diag.clearData();
- ds_temp_TRPID20704_prcp.clearData();
- ds_temp_TRPID20704_prcpsub.clearData();
- ds_temp_RFPID20800_etc.clearData();
-
- // 1. 자보입원_메인 데이터 조회
- // 2. 자보입원_상병 목록 조회
- // 3. 자보입원_금액 조회
- // 4. 자보입원_처방 조회
- //submit("TRPID20704");
-
- var pagenum;
- if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
- var pagenum = 33;
- }
- else {
- var pagenum = 23;
- }
-
- var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: pagenum} //자보
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20704"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData3"
- , inds: "req=ds_cond_TRPID20704"
- , outds: "ds_temp_TRPID20704_main=main ds_temp_TRPID20704_diag=diag ds_temp_TRPID20704_amt=amt ds_temp_TRPID20704_prcp=prcp ds_temp_TRPID20704_prcpsub=prcp_sub"
- });
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value = "Y" ) {
- ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- //rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 의과외래(산보진료비내역서)
- ******************************************************************/
- function lf_AccidPayment2(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20705_main.clearData();
- ds_temp_TRPID20705_amt.clearData();
- ds_temp_TRPID20705_diag.clearData();
- ds_temp_TRPID20705_prcp.clearData();
- ds_temp_TRPID20705_prcpsub.clearData();
- ds_temp_RFPID20800_etc.clearData();
-
- // 1. 자보입원_메인 데이터 조회
- // 2. 자보입원_상병 목록 조회
- // 3. 자보입원_금액 조회
- // 4. 자보입원_처방 조회
- //submit("TRPID20705");
- if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
- var pagenum = 33;
- }
- else {
- var pagenum = 23;
- }
-
- var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: pagenum} // 자보 33, 이외 39
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20705"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData4"
- , inds: "req=ds_cond_TRPID20705"
- , outds: "ds_temp_TRPID20705_main=main ds_temp_TRPID20705_diag=diag ds_temp_TRPID20705_amt=amt ds_temp_TRPID20705_prcp=prcp ds_temp_TRPID20705_prcpsub=prcp_sub"
- });
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value == "Y" ) {
- ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
- }
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 비급여 출력(산보진료비내역서)
- ******************************************************************/
- function lf_AccidPayment3(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20706_main.clearData();
- ds_temp_TRPID20706_amt.clearData();
- ds_temp_TRPID20706_diag.clearData();
- ds_temp_TRPID20706_prcp.clearData();
- ds_temp_TRPID20706_prcpsub.clearData();
-
- // 1. 비급여_메인 데이터 조회
- // 2. 비급여_상병 목록 조회
- // 3. 비급여_금액 조회
- // 4. 비급여_처방 조회
- //submit("TRPID20706");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 23}
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20706"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData5"
- , inds: "req=ds_cond_TRPID20706"
- , outds: "ds_temp_TRPID20706_main=main ds_temp_TRPID20706_diag=diag ds_temp_TRPID20706_amt=amt ds_temp_TRPID20706_prcp=prcp ds_temp_TRPID20706_prcpsub=prcp_sub"
- });
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- //무조건 미리보기로 실행
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
- lf_printDelay(2);
- }
- }
-
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 자보외래 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView4(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20705_main.clearData();
- ds_temp_TRPID20705_amt.clearData();
- ds_temp_TRPID20705_diag.clearData();
- ds_temp_TRPID20705_prcp.clearData();
- ds_temp_TRPID20705_prcpsub.clearData();
-
- // 1. 자보외래_메인 데이터 조회
- // 2. 자보외래_상병 목록 조회
- // 3. 자보외래_금액 조회
- // 4. 자보외래_처방 조회
- //submit("TRPID20705");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 33} //자보
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20705"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData4"
- , inds: "req=ds_cond_TRPID20705"
- , outds: "ds_temp_TRPID20705_main=main ds_temp_TRPID20705_diag=diag ds_temp_TRPID20705_amt=amt ds_temp_TRPID20705_prcp=prcp ds_temp_TRPID20705_prcpsub=prcp_sub"
- });
-
-
- // 20100228 자보 직인출력 추가
- if( chk_imgprtyn.value == "Y" ) {
- ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
- ///root/send/report1/list1/main/main_photimg
- }
-
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20705_amt); // 데이터셋 3
- //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
-
- rptf_exeReportPreview30(["RPPID20704"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPPID20709"],[objParam], option);
- lf_printDelay(2);
- }
-
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 비급여 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView5(curRow, payflag) {
- // 노드 초기화
- ds_temp_TRPID20706_main.clearData();
- ds_temp_TRPID20706_amt.clearData();
- ds_temp_TRPID20706_diag.clearData();
- ds_temp_TRPID20706_prcp.clearData();
- ds_temp_TRPID20706_prcpsub.clearData();
-
- // 1. 비급여_메인 데이터 조회
- // 2. 비급여_상병 목록 조회
- // 3. 비급여_금액 조회
- // 4. 비급여_처방 조회
- //submit("TRPID20706");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 23}
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20706"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData5"
- , inds: "req=ds_cond_TRPID20706"
- , outds: "ds_temp_TRPID20706_main=main ds_temp_TRPID20706_diag=diag ds_temp_TRPID20706_amt=amt ds_temp_TRPID20706_prcp=prcp ds_temp_TRPID20706_prcpsub=prcp_sub"
- });
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
- //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
-
- trace( ds_temp_TRPID20706_diag.saveXML());
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
-
- rptf_exeReportPreview30(["RPPID20710"],[objParam], option);
- lf_printDelay(2);
- // 6. 보고서(나머지)로 데이터 보내기
- if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- rptf_exeReportPreview30(["RPPID20711"],[objParam], option);
- lf_printDelay(2);
- }
-
-
- }
- /******************************************************************
- * Argument : curRow, payflag
- * Description : 비급여 환자청구명세서 출력
- ******************************************************************/
- function lf_PrintView6(curRow, payflag) {
-
- // 노드 초기화
- ds_temp_TRPID20706_main.clearData();
- ds_temp_TRPID20706_amt.clearData();
- ds_temp_TRPID20706_diag.clearData();
- ds_temp_TRPID20706_prcp.clearData();
- ds_temp_TRPID20706_prcpsub.clearData();
-
- // 1. 비급여_메인 데이터 조회
- // 2. 비급여_상병 목록 조회
- // 3. 비급여_금액 조회
- // 4. 비급여_처방 조회
- //submit("TRPID20706");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
- , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
- , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
- , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
- , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
- , {col: "pagenum" , val: 23}
- , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
- , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
- ]);
-
- tranf_submit({
- id: "TRPID20706"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntData5"
- , inds: "req=ds_cond_TRPID20706"
- , outds: "ds_temp_TRPID20706_main=main ds_temp_TRPID20706_diag=diag ds_temp_TRPID20706_amt=amt ds_temp_TRPID20706_prcp=prcp ds_temp_TRPID20706_prcpsub=prcp_sub"
- });
-
- // 5. 보고서(첫장)로 데이터 보내기
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
- rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- switch(preview) {
- case "N": //바로 출력
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
- break;
- case "Y": //미리보기
- default:
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- break;
- }
-
- rptf_exeReportPreview30(["RPPID20712"],[objParam], option);
- lf_printDelay(2);
-
- // 6. 보고서(나머지)로 데이터 보내기
- // if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
- // var objDOM = rptf_createDOM(); // DOM 객체 설정
- // rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
- // rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
- //
- // var objParam = new Object();
- // objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- // objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
- //
- // rptf_exeReportPreview30(["RPPID20713"],[objParam], option);
- // lf_printDelay(2);
- // }
- }
- /******************************************************************
- * Argument :
- * Description : 다음페이지 조회
- ******************************************************************/
- function lf_Nextpage()
- {
- if( !utlf_isNull(ds_grid_grd_clbsmast.getColumn(0, "pid") ) ) {
- ds_grid_grd_clbsmast.clearData();
- minRowNum += 500;
- maxRowNum += 500;
-
- var clamflagcd = Div00.cmb_clamflagcd.value;
- if( clamflagcd == "-") {
- clamflagcd = "";
- }
- var insukind = Div00.cmb_insukind.value;
- if( insukind == "-") {
- insukind = "";
- }
-
- //submit("TRPID20701");
- var sInDs = dsf_createDsRow("ds_cond_TRPID20701"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "clamdg" , val: Div00.cmb_clamdg.value }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "clamflagcd" , val: clamflagcd }
- , {col: "sumtypecd" , val: Div00.cmb_sumtypecd.value }
- , {col: "insukind" , val: insukind }
- , {col: "suppkind" , val: Div00.cmb_suppkind.value }
- , {col: "srcflag" , val: Div00.cmb_srcflag.value }
- , {col: "docuseqno1" , val: Div00.ipt_docuseqno1.value }
- , {col: "docuseqno2" , val: Div00.ipt_docuseqno2.value }
- , {col: "minrnum" , val: minRowNum }
- , {col: "maxrnum" , val: maxRowNum }
- , {col: "judgendyn" , val: Div00.bool_delyn.value }
- , {col: "insucd" , val: Div00.cmb_insunm.value }
- ]);
-
- tranf_submit({
- id: "TRPID20701"
- , service: "aftjudgapp.PatClamDocuPrnt"
- , method: "reqGetPatClamDocuPrntList"
- , inds: "req=ds_cond_TRPID20701"
- , outds: "ds_grid_grd_clbsmast=clbs"
- });
- }
- }
-
- /******************************************************************
- * Argument :
- * Description : 청구년월 달력 onchange 이벤트
- ******************************************************************/
- function lf_monthCalOnChange(){
-
- //TRPID20407
- var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "insukind" , val: Div00.cmb_insukind.value}
- ]);
-
- tranf_submit({
- id: "TRPID20407"
- , service: "aftjudgapp.InAftJudgTrgtMan"
- , method: "reqGetClamdg"
- , inds: "req=ds_cond_TRPID20407"
- , outds: "ds_init_cmb_clamdg=clamdg"
- });
- frmf_addComboItem("Div00.cmb_clamdg", "전체" , "0");
- Div00.cmb_clamdg.value = 0;
- }
- /******************************************************************
- * Argument : Grid
- * Description : 그리드에서 컬럼을 고정시킨다.
- ******************************************************************/
- function lf_grid_stop(obj:Grid) {
- for(i = 0; i < 6; i++) {
- obj.setFormatColProperty(i, "band", "left");
- }
- }
- /******************************************************************
- * Argument : sec
- * Description : 출력에 sec 초만큼의 딜레이를 둔다.
- ******************************************************************/
- function lf_printDelay(sec) {
- sleep(sec * 1000);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMPID20700
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMPID20700_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_commoduleDataSetShow(); //DataSet 조회;
-
- lf_monthCalOnChange(); //청구년월 달력 onchange 이벤트
- Div00.cp_monthCal00.setCallEvent("lf_monthCalOnChange");
- lf_Initialize(); // 화면을 초기화한다.
- lf_CheckAuth(); // 화면 권한을 설정한다.
- lf_grid_stop(grd_clbsmast); // 그리드에서 컬럼을 고정시킨다.
-
- //그리드 정렬
- grdf_setGridSort(grd_clbsmast);
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- // 조회 클릭
- lf_GetPatClamDocuPrntList();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( grp_instimg.visible == false ) {
- grp_instimg.visible = true;
- }
- else {
- grp_instimg.visible = false;
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button10
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- // 초기화
- lf_InitSrchData();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_print
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- //하단 출력버튼
- preview = "N";
- lf_PrintView();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- //하단 미리보기 버튼
- preview = "Y";
- lf_PrintView();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- // 데이터를 가꼬와서 감챠논 그리드에 뿌리고 그 데이터를 엑셀로 저장할 수 있게 한다.
- lf_GetPatClamAutoXlsList();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- // 500건으로 조회 건수 제한
- if ( ds_grid_grd_clbsmast.rowcount == 500 )
- {
- lf_Nextpage();
- }
- else {
- sysf_messageBox("마지막 페이지", "E008"); //입니다.
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- var chksel = 0;
- var chkpay = 0;
- var chkall = 0;
- var isprnt = "";
- // 출력체크 여부와 체크된 행을 저장해 둔다
- for( i = 0 ; i < rowCnt ; i++) {
- chksel += ds_grid_grd_clbsmast.getColumn(i, "chksel"); //급여 출력여부
- chkpay += ds_grid_grd_clbsmast.getColumn(i, "chkpay"); //비급여 출력여부
- chkall += ds_grid_grd_clbsmast.getColumn(i, "chkall"); //급여+비급여 출력여부
- }
-
- // 2. 출력
- if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
- for(i = 0 ; i < rowCnt ; i++) {
- // 2-1. 급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
-
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
-
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- if(insukind == "31") { // 자보(의과입원) 33
- lf_Payment1(i, "pay");
- }
- else { // 일반(의과입원) 39
- lf_Payment1(i, "pay"); // 일반 (의과입원)
- }
- break;
- case "O": //외래
- if(insukind == "31") { // 자보(의과외래)
- lf_Payment2(i, "pay"); // 자보 (의과외래)
- }
- else { // 일반(의과외래) 39
- lf_Payment2(i, "pay"); // 일반 (의과외래)
- }
- break;
-
- default:
- break;
- }
- }
- // 2-2. 비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) { //nopay
- lf_Payment3(i, "nopay"); // 비급여
- } //End if
-
- //2-3. 급여+비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) { //all
-
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
-
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- if(insukind == "31") { // 자보(의과입원) 33
- lf_Payment1(i, "all");
- }
- else { // 일반(의과입원) 39
- lf_Payment1(i, "all");
- }
- break;
- case "O": //외래
- if(insukind == "31") { // 자보(의과외래)
- lf_Payment2(i, "all"); // 자보 (의과외래)
- }
- else { // 일반(의과외래) 39
- lf_Payment2(i, "all"); // 일반 (의과외래)
- }
- break;
-
- default:
- break;
- }
- } //End if
- } //End for
- } //End if
- else {
- sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- var chksel = 0;
- var chkpay = 0;
- var chkall = 0;
- // 출력체크 여부와 체크된 행을 저장해 둔다
- for( i = 0 ; i < rowCnt ; i++) {
- chksel += ds_grid_grd_clbsmast.getColumn(i, "chksel"); //급여 출력여부
- chkpay += ds_grid_grd_clbsmast.getColumn(i, "chkpay"); //비급여 출력여부
- chkall += ds_grid_grd_clbsmast.getColumn(i, "chkall"); //급여+비급여 출력여부
- }
-
- // 2. 출력
- if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
- for(i = 0 ; i < rowCnt ; i++) {
- // 2-1. 급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
-
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- // 자보(의과입원) 33 , 일반(의과입원) 39
- lf_AccidPayment1(i, "pay");
-
- break;
- case "O": //외래
- // 자보(의과외래) 33, 일반(의과외래) 39
- lf_AccidPayment2(i, "pay");
- break;
- default:
- break;
- }
- } //End if
-
- // 2-2. 비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) { //nopay
- lf_AccidPayment3(i, "nopay");
- } //End if
-
- //2-3. 급여+비급여 출력
- if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) { //all
-
- // 내원형태, 보험유형에 맞는 명세서를 출력한다.
- var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
- var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
-
- switch(ioflag) {
- case "-":
- break;
- case "I": //입원
- // 자보(의과입원) 33, 일반(의과입원) 39
- lf_AccidPayment1(i, "all");
- break;
- case "O": //외래
- // 자보(의과입원) 33, 일반(의과입원) 39
- lf_AccidPayment2(i, "all"); // 자보 (의과외래)
- break;
- default:
- break;
- }
- } //End if
-
- } //End for
- } //End if
- else {
- sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 의료급여비용명세서
- ****************************************************************************************/
- // 의료급여비용명세서 버튼 사용 X
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- // 트랜잭션 타지 않음
- //submit("TRPID20301");
- // var sInDs = dsf_createDsRow("ds_cond_TRPID20301"
- // , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- // , {col: "clamdg" , val: Div00.cmb_clamdg.value}
- // , {col: "pid" , val: ""}
- // , {col: "pidsn" , val: ""}
- // , {col: "workflag" , val: ""}
- // , {col: "popupcallyn" , val: ""}
- // , {col: "ioflag" , val: Div00.cmb_ioflag.value}
- // , {col: "cutviewyn" , val: ""}
- // , {col: "judgrid" , val: ""}
- // , {col: "docuseqno" , val: ""}
- // , {col: "ordfildcd" , val: Div00.cmb_sumtypecd.value}
- // , {col: "orddeptcd" , val: ""}
- // , {col: "clamflagcd" , val: ""}
- // , {col: "acptno" , val: ""}
- // ]);
- //
- // tranf_submit({
- // id: "TRPID20301"
- // , service: "aftjudgapp.InAftJudg"
- // , method: "reqGetInAftJudgTrgtMan"
- // , inds: "req=ds_cond_TRPID20301"
- // , outds: "ds_temp_TRPID20301_1=1 ds_temp_TRPID20301_supp=supp ds_temp_TRPID20301_cldi=cldi ds_temp_TRPID20301_clod=clod ds_temp_TRPID20301_clsp=clsp ds_temp_TRPID20301_patinfolist=patinfolist ds_temp_TRPID20301_clop=clop ds_temp_TRPID20301_clod2=clod2 ds_temp_TRPID20301_trnpt=trnpt ds_temp_TRPID20301_ordlist=ordlist ds_temp_TRPID20301_kopg=kopg ds_temp_TRPID20301_drgkdrg=drgkdrg ds_temp_TRPID20301_resultlist=resultlist ds_temp_TRPID20301_judgmemo=judgmemo ds_temp_TRPID20301_edimemo=edimemo"
- // });
- //exeReportPreview("RFPID21000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RFPID21000"],[objParam], option);
- lf_printDelay(2);
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_cancel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- for(i = 0 ; i < rowCnt ; i++) {
- ds_grid_grd_clbsmast.setColumn(i, "chksel", 0);
- }
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_all
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_all_onclick(obj:Button, e:ClickEventInfo)
- {
- var rowCnt = ds_grid_grd_clbsmast.rowcount;
- for(i = 0 ; i < rowCnt ; i++) {
- ds_grid_grd_clbsmast.setColumn(i, "chksel", 1);
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_down
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_down_onclick(obj:Button, e:ClickEventInfo)
- {
- var curDate = Div00.cp_monthCal00.getData() + "01";
- var nextMonth = utlf_addMonth( curDate, -1 );
- Div00.cp_monthCal00.setData( nextMonth );
- ds_init_cmb_clamdg.clearData();
- // 청구년월에 대한 청구차수 조회
- //TRPID20407
- var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "insukind" , val: Div00.cmb_insukind.value}
- ]);
-
-
- tranf_submit({
- id: "TRPID20407"
- , service: "aftjudgapp.InAftJudgTrgtMan"
- , method: "reqGetClamdg"
- , inds: "req=ds_cond_TRPID20407"
- , outds: "ds_init_cmb_clamdg=clamdg"
- });
- // if( ds_init_clamdg.rowcount > 0 ) {
- frmf_addComboItem("Div00.cmb_clamdg", "전체" , 0);
- // }
- Div00.cmb_clamdg.value = 0;
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_up
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function btn_up_onclick(obj:Button, e:ClickEventInfo)
- {
- var curDate = Div00.cp_monthCal00.getData() + "01";
- var nextMonth = utlf_addMonth( curDate, 1 );
- Div00.cp_monthCal00.setData( nextMonth );
- ds_init_cmb_clamdg.clearData();
- // 청구년월에 대한 청구차수 조회
- //TRPID20407
- var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
- , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
- , {col: "ioflag" , val: Div00.cmb_ioflag.value }
- , {col: "insukind" , val: Div00.cmb_insukind.value}
- ]);
-
-
- tranf_submit({
- id: "TRPID20407"
- , service: "aftjudgapp.InAftJudgTrgtMan"
- , method: "reqGetClamdg"
- , inds: "req=ds_cond_TRPID20407"
- , outds: "ds_init_cmb_clamdg=clamdg"
- });
- // if( ds_init_clamdg.rowcount > 0 ) {
- frmf_addComboItem("Div00.cmb_clamdg", "전체", 0);
- // }
- Div00.cmb_clamdg.value = 0;
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : button8
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- //그리드 상단 출력버튼
- preview = "N";
- lf_PrintView();
- }
- /****************************************************************************************
- * Components :
- * Components ID : Div00.cmb_insukind
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Div00_cmb_insukind_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if( utlf_isNull(obj.value)) {
- Div00.cmb_suppkind.value = "-";
- Div00.cmb_suppkind.enable = false;
- }
- else {
- Div00.cmb_suppkind.enable = true;
- if (obj.value == "01" || obj.value == "02"){
- ds_init_suppkind.filter("");
- Div00.cmb_suppkind.value = "-";
- } else {
- ds_init_suppkind.filter("up=='"+obj.value+"' || cd == '-'");
- Div00.cmb_suppkind.value = "-";
- }
- }
-
-
- if( obj.value == "31" ) {
- Div00.cp_insucd.visible = true;
- Div00.cmb_insunm.visible = true;
- Div00.cmb_insunm.value = "-";
- }
- else {
- Div00.cp_insucd.visible = false;
- Div00.cmb_insunm.visible = false;
- Div00.cmb_insunm.value = "";
- }
-
- // 집계구분
- lf_InsukindChk();
- }
- /****************************************************************************************
- * Components :
- * Components ID : Div00.cmb_srcflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Div00_cmb_srcflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- switch(obj.value) {
- case "0": //전체
- Div00.ipt_docuseqno1.enable = false;
- Div00.ipt_docuseqno2.enable = false;
- Div00.ipt_docuseqno1.value = "";
- Div00.ipt_docuseqno2.value = "";
- break;
- case "1": //명번호
- Div00.ipt_docuseqno1.enable = true;
- Div00.ipt_docuseqno2.enable = true;
- Div00.ipt_docuseqno1.value = "";
- Div00.ipt_docuseqno2.value = "";
- break;
- case "2": //환자번호
- Div00.ipt_docuseqno1.enable = true;
- Div00.ipt_docuseqno2.enable = false;
- Div00.ipt_docuseqno1.value = "";
- Div00.ipt_docuseqno2.value = "";
- break;
- default:
- Div00.ipt_docuseqno1.enable = false;
- Div00.ipt_docuseqno2.enable = false;
- break;
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : Div00.ipt_docuseqno1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Div00_ipt_docuseqno1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 && Div00.cmb_srcflag.value == "1") { //명번호
- var tmp_len = utlf_lPad(obj.value, 5, "0");
- obj.value = tmp_len;
- }
- else if( e.keycode == 13 && Div00.cmb_srcflag.value == "2") { //환자번호
- btn_search_onclick();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : Div00.ipt_docuseqno2
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Div00_ipt_docuseqno2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ) {
- var tmp_len = utlf_lPad(obj.value, 5, "0");
- obj.value = tmp_len;
- btn_search_onclick();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : grp_instimg.button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 직인 변경 버튼
- ****************************************************************************************/
- function grp_instimg_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
- // var arrFileList = frmf_openImageFileDialog(1048576);
- // if( utlf_isNull(arrFileList) ) {
- // return;
- // }
- // lf_ChangeImage(arrFileList);
- var fd = new FileDialog;
- var vFile = fd.open("FileOpen", FileDialog.LOAD);
-
- var rtn = vFile.open(VirtualFile.openRead | VirtualFile.openBinary);
- vFile.seek(0,VirtualFile.seekBegin);
- var bData = new Buffer(vFile.read(vFile.getFileSize()));
-
- if( ds_init_sealimg.rowcount < 1 ) {
- ds_init_sealimg.addRow();
- }
-
- ds_init_sealimg.setColumn(0, "photimg", bData.data);
- ds_init_sealimg.setColumn(0, "instcd", sysf_getSystemCd().substr(3,3));
- var filepath = vFile.fullpath;
- grp_instimg.ImageViewer00.image = filepath;
- vFile.close();
- }
- /****************************************************************************************
- * Components :
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Button
- * : 02.e : ClickEventInfo
- * Description : 엑셀저장 버튼
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo){
- grdf_exportExcel(grd_clbsmast, "환자청구명세서", "환자청구명세서");
- }
- /****************************************************************************************
- * Components :
- * Components ID : SMPID20700
- * Event : onkeydown
- * Argument : 01.obj : Form
- * : 02.e : KeyEventInfo
- * Description : ESC 버튼 - 화면종료
- ****************************************************************************************/
- function SMPID20700_onkeyup(obj:Form, e:KeyEventInfo){
- if(e.keycode == 27){
- // keycode 27 : ESC
- this.close();
- }
- }
- // 보험유형 체크
- function lf_InsukindChk(){
- var insukind = Div00.cmb_insukind.value;
-
- if (insukind == "52"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("");
- ds_init_sumtypecd.appendData(ds_init_P0458);
- } else {
- if ( insukind == "01" || insukind == "21"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("insukind == '1' || insukind == '2'");
- ds_init_sumtypecd.appendData(ds_init_P0458);
-
- if (insukind != "01"){
- var fRow = ds_init_sumtypecd.findRow("cdnm", "DRG");
- ds_init_sumtypecd.deleteRow(fRow);
- }
- }
-
- if ( insukind == "02"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("insukind == '3' || insukind == '4'");
- ds_init_sumtypecd.appendData(ds_init_P0458);
- }
-
- if ( insukind == "11"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("insukind == '1'");
- ds_init_sumtypecd.appendData(ds_init_P0458);
- }
-
- if ( insukind == "31"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("insukind == '3'");
- ds_init_sumtypecd.appendData(ds_init_P0458);
- }
-
- if ( insukind == "41"){
- ds_init_sumtypecd.clearData();
- ds_init_P0458.filter("insukind == '4'");
- ds_init_sumtypecd.appendData(ds_init_P0458);
- }
-
- var iRow = ds_init_sumtypecd.insertRow(0);
- ds_init_sumtypecd.setColumn(iRow, "cdid", "-");
- ds_init_sumtypecd.setColumn(iRow, "cdnm", "전체");
- }
-
- Div00.cmb_sumtypecd.value = "-";
- }
- ]]></Script>
- </Form>
- </FDL>
|