SMPID20700_환자청구명세서출력.xfdl 178 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPID20700" position="absolute 0 0 1256 805" titletext="환자청구명세서출력" oninit="model1_oninit" onload="SMPID20700_onload" onkeyup="SMPID20700_onkeyup">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_autoxls" taborder="16" useinputpanel="false" visible="false" position="absolute 1284 14 1757 94" binddataset="ds_grid_grd_autoxls" positiontype="position">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="21"/>
  12. <Column size="100"/>
  13. <Column size="100"/>
  14. <Column size="100"/>
  15. <Column size="100"/>
  16. <Column size="100"/>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. <Column size="100"/>
  20. <Column size="100"/>
  21. <Column size="100"/>
  22. <Column size="100"/>
  23. <Column size="100"/>
  24. <Column size="100"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="22" band="head"/>
  28. <Row size="20"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell/>
  32. <Cell col="1" text="명세서일련번호"/>
  33. <Cell col="2" text="조합"/>
  34. <Cell col="3" text="조합명"/>
  35. <Cell col="4" text="환자명"/>
  36. <Cell col="5" text="등록번호"/>
  37. <Cell col="6" text="주민등록번호"/>
  38. <Cell col="7" text="사고접수번호"/>
  39. <Cell col="8" text="청구시작일자"/>
  40. <Cell col="9" text="청구종료일자"/>
  41. <Cell col="10" text="청구과코드"/>
  42. <Cell col="11" text="청구과명"/>
  43. <Cell col="12" text="청구액(선택진료비)"/>
  44. <Cell col="13" text="선택진료비"/>
  45. </Band>
  46. <Band id="body">
  47. <Cell celltype="head" text="bind:docuseqno" expr="expr:currow+1"/>
  48. <Cell col="1" displaytype="text" style="align:center;" text="bind:docuseqno1"/>
  49. <Cell col="2" text="bind:insuno"/>
  50. <Cell col="3" text="bind:insucdnm"/>
  51. <Cell col="4" text="bind:patnm"/>
  52. <Cell col="5" displaytype="text" text="bind:pid"/>
  53. <Cell col="6" text="bind:patrrgstno"/>
  54. <Cell col="7" text="bind:acdacptno"/>
  55. <Cell col="8" displaytype="date" text="bind:ordfromdd"/>
  56. <Cell col="9" displaytype="date" text="bind:ordtodd"/>
  57. <Cell col="10" text="bind:clamdeptcd"/>
  58. <Cell col="11" text="bind:clamdeptnm"/>
  59. <Cell col="12" displaytype="number" text="bind:edimedcaretotamt"/>
  60. <Cell col="13" displaytype="number" text="bind:specamt"/>
  61. </Band>
  62. </Format>
  63. </Formats>
  64. </Grid>
  65. <Static id="Static22" position="absolute 0 749 1256 775" class="sta_DA_box" anchor="left right bottom"/>
  66. <Div id="Div00" taborder="3" class="div_SA" anchor="left top right" position="absolute 0 25 1256 92" positiontype="position">
  67. <Layouts>
  68. <Layout>
  69. <Static id="caption2" text="청구년월" class="search_name" position="absolute 8 10 82 30" positiontype="position"/>
  70. <Button id="btn_up" taborder="2" onclick="btn_up_onclick" class="btn_up" position="absolute 160 10 173 19" text="" positiontype="position"/>
  71. <Button id="btn_down" taborder="3" onclick="btn_down_onclick" class="btn_down" position="absolute 160 20 173 29" text="" positiontype="position"/>
  72. <Combo id="cmb_clamdg" taborder="4" position="absolute 176 10 238 30" positiontype="position" innerdataset="@ds_init_cmb_clamdg" codecolumn="clamdgcd" datacolumn="clamdgnm"/>
  73. <Static id="caption1" text="청구구분" class="search_name" position="absolute 8 35 82 55" positiontype="position"/>
  74. <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"/>
  75. <Static id="caption3" text="내원형태" class="search_name" position="absolute 262 10 336 30" positiontype="position"/>
  76. <Static id="caption7" text="조회조건" class="search_name" position="absolute 262 35 336 55" positiontype="position"/>
  77. <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"/>
  78. <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"/>
  79. <Static id="caption11" text="집계구분" class="search_name" position="absolute 449 10 523 30" positiontype="position"/>
  80. <Static id="caption13" text="시작번호" class="search_name" position="absolute 449 35 523 55" positiontype="position"/>
  81. <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"/>
  82. <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"/>
  83. <Static id="caption12" text="~" position="absolute 614 35 629 55" style="align:center;" positiontype="position"/>
  84. <MaskEdit id="ipt_docuseqno22" taborder="10" class="input_search" position="absolute 630 35 720 55" imemode="hangul" enable="false" positiontype="position"/>
  85. <Static id="caption9" text="보험유형" class="search_name" position="absolute 744 10 818 30" positiontype="position"/>
  86. <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"/>
  87. <Static id="cp_delyn" text="삭제포함" class="search_name" position="absolute 744 35 818 55" positiontype="position"/>
  88. <Static id="caption5" text="보조유형" class="search_name" position="absolute 933 10 1007 30" positiontype="position"/>
  89. <Static id="cp_insucd" text="손보사" class="search_name" visible="false" position="absolute 933 35 994 55" positiontype="position"/>
  90. <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"/>
  91. <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"/>
  92. <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"/>
  93. <CheckBox id="bool_delyn" taborder="15" position="absolute 818 35 836 55" positiontype="position"/>
  94. <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="16" text="cp_monthCal00" scrollbars="none" position="absolute 82 10 157 30" class="input_essential"/>
  95. <Edit id="ipt_docuseqno1" taborder="17" enable="false" position="absolute 524 35 614 55" onkeydown="Div00_ipt_docuseqno1_onkeydown" oneditclick="Div00_ipt_docuseqno1_oneditclick"/>
  96. <Edit id="ipt_docuseqno2" taborder="18" enable="false" position="absolute 630 35 720 55" onkeydown="Div00_ipt_docuseqno2_onkeydown"/>
  97. </Layout>
  98. </Layouts>
  99. </Div>
  100. <Div id="grp_rpt_hidden1" visible="false" position="absolute 155 85 185 100" anchor="default" positiontype="position">
  101. <Layouts>
  102. <Layout/>
  103. </Layouts>
  104. </Div>
  105. <Div id="grp_rpt_hidden2" visible="false" position="absolute 155 85 185 100" anchor="default" positiontype="position">
  106. <Layouts>
  107. <Layout/>
  108. </Layouts>
  109. </Div>
  110. <Static id="cap_judgtrgtman" class="tit_2" position="absolute 0 102 119 122" anchor="default" positiontype="position" text="환자 청구명세서"/>
  111. <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"/>
  112. <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"/>
  113. <Button id="button8" class="btn2" position="absolute 1070 99 1114 119" anchor="top right" positiontype="position" text="출력" onlbuttonup="button8_onlbuttonup" onclick="button8_onclick"/>
  114. <Static id="caption6" text="환자 청구명세서 출력" class="tit_1" position="absolute 0 3 155 23" positiontype="position"/>
  115. <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">
  116. <Formats>
  117. <Format id="default">
  118. <Columns>
  119. <Column size="20"/>
  120. <Column size="20"/>
  121. <Column size="20"/>
  122. <Column size="20"/>
  123. <Column size="62"/>
  124. <Column size="63"/>
  125. <Column size="35"/>
  126. <Column size="35"/>
  127. <Column size="60"/>
  128. <Column size="120"/>
  129. <Column size="100"/>
  130. <Column size="70"/>
  131. <Column size="0"/>
  132. <Column size="100"/>
  133. <Column size="20"/>
  134. <Column size="40"/>
  135. <Column size="40"/>
  136. <Column size="40"/>
  137. <Column size="75"/>
  138. <Column size="60"/>
  139. <Column size="30"/>
  140. <Column size="80"/>
  141. <Column size="160"/>
  142. <Column size="80"/>
  143. <Column size="90"/>
  144. <Column size="80"/>
  145. <Column size="80"/>
  146. <Column size="80"/>
  147. <Column size="20"/>
  148. <Column size="40"/>
  149. <Column size="0"/>
  150. <Column size="60"/>
  151. </Columns>
  152. <Rows>
  153. <Row size="35" band="head"/>
  154. <Row size="26"/>
  155. </Rows>
  156. <Band id="head">
  157. <Cell text="No"/>
  158. <Cell col="1" text="급"/>
  159. <Cell col="2" text="비"/>
  160. <Cell col="3" text="All"/>
  161. <Cell col="4" text="명세서&#10;일련번호"/>
  162. <Cell col="5" text="청구년월"/>
  163. <Cell col="6" text="청구&#10;차수"/>
  164. <Cell col="7" text="내원&#10;형태"/>
  165. <Cell col="8" text="청구구분"/>
  166. <Cell col="9" text="진료과"/>
  167. <Cell col="10" text="집계구분"/>
  168. <Cell col="11" text="등록번호"/>
  169. <Cell col="12" text="pidsn"/>
  170. <Cell col="13" text="환자명"/>
  171. <Cell col="14" text="성&#10;별"/>
  172. <Cell col="15" text="나&#10;이"/>
  173. <Cell col="16" text="보험&#10;유형"/>
  174. <Cell col="17" text="보조&#10;유형"/>
  175. <Cell col="18" text="진료개시일"/>
  176. <Cell col="19" text="주치의"/>
  177. <Cell col="20" text="장애"/>
  178. <Cell col="21" text="조합기호"/>
  179. <Cell col="22" text="조합기호명칭"/>
  180. <Cell col="23" text="총진료비"/>
  181. <Cell col="24" text="주민번호"/>
  182. <Cell col="25" text="청구번호"/>
  183. <Cell col="26" text="접수번호"/>
  184. <Cell col="27" text="심사차수"/>
  185. <Cell col="28" text="사&#10;망"/>
  186. <Cell col="29" text="분할&#10;청구"/>
  187. <Cell col="30" text="judgendyn"/>
  188. <Cell col="31" text="심사완료&#10;여부"/>
  189. </Band>
  190. <Band id="body">
  191. <Cell celltype="head" expr="expr:currow+1"/>
  192. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chksel"/>
  193. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:chkpay"/>
  194. <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:chkall"/>
  195. <Cell col="4" text="bind:docuseqno"/>
  196. <Cell col="5" displaytype="date" text="bind:clamym" mask="yyyy/MM"/>
  197. <Cell col="6" text="bind:clamdg"/>
  198. <Cell col="7" displaytype="combo" style="align:center middle;" text="bind:ioflag" combodataset="ds_init_cmb_ioflag" combocodecol="value" combodatacol="label"/>
  199. <Cell col="8" displaytype="combo" style="align:center middle;" text="bind:clamflagcd" combodataset="ds_init_P0155" combocodecol="cdid" combodatacol="cdnm"/>
  200. <Cell col="9" style="align:left;" text="bind:orddeptcd"/>
  201. <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:sumtypecd" combodataset="ds_init_P0458" combocodecol="cdid" combodatacol="cdnm"/>
  202. <Cell col="11" displaytype="text" text="bind:pid"/>
  203. <Cell col="12" text="bind:pidsn"/>
  204. <Cell col="13" text="bind:patnm" tooltiptext="bind:patnm"/>
  205. <Cell col="14" text="bind:gender"/>
  206. <Cell col="15" text="bind:patage"/>
  207. <Cell col="16" text="bind:insukindcd"/>
  208. <Cell col="17" text="bind:suppkindcd"/>
  209. <Cell col="18" displaytype="date" text="bind:ordfromdd"/>
  210. <Cell col="19" text="bind:orddrnm"/>
  211. <Cell col="20" text="bind:prockindflag"/>
  212. <Cell col="21" text="bind:insuno"/>
  213. <Cell col="22" style="align:left middle;" text="bind:insucdnm" tooltiptext="bind:insucdnm"/>
  214. <Cell col="23" displaytype="number" text="bind:ediinsuclamamt"/>
  215. <Cell col="24" text="bind:patrrgstno" mask="######-#######"/>
  216. <Cell col="25" text="bind:clamno"/>
  217. <Cell col="26" displaytype="text" text="bind:acptno"/>
  218. <Cell col="27" text="bind:judgdg"/>
  219. <Cell col="28" text="bind:dethyn"/>
  220. <Cell col="29" text="bind:divclam"/>
  221. <Cell col="30" text="bind:judgendyn"/>
  222. <Cell col="31" text="bind:judgendynnm"/>
  223. </Band>
  224. </Format>
  225. </Formats>
  226. </Grid>
  227. <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"/>
  228. <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"/>
  229. <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"/>
  230. <CheckBox id="chk_imgprtyn" taborder="8" text="직인출력(자보)" truevalue="Y" position="absolute 250 785 359 805" anchor="left bottom" positiontype="position"/>
  231. <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"/>
  232. <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"/>
  233. <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"/>
  234. <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"/>
  235. <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"/>
  236. <Static id="caption10" text="총건수" class="cell_1" position="absolute 1 750 73 774" anchor="left right bottom" positiontype="position"/>
  237. <Edit id="opt_totcnt" taborder="14" readonly="true" position="absolute 76 752 161 772" anchor="left right bottom" positiontype="position"/>
  238. <Static id="caption8" class="cell_1" position="absolute 164 750 1255 774" anchor="left right bottom" positiontype="position"/>
  239. <Button id="button4" taborder="15" text="직인보기" onlbuttonup="button4_onlbuttonup" class="btn2" position="absolute 114 99 182 119" visible="true" positiontype="position" onclick="button4_onclick"/>
  240. <Div id="grp_instimg" taborder="17" position="absolute 114 122 284 312" visible="false" style="background:white;border:1 solid black black;color:white;">
  241. <Layouts>
  242. <Layout>
  243. <Button id="button4" taborder="0" text="직인변경" class="btn2" visible="true" position="absolute 51 159 119 179" anchor="default" onclick="grp_instimg_button4_onclick"/>
  244. <ImageViewer id="ImageViewer00" taborder="1" position="absolute 15 15 150 150" anchor="default" stretch="fit" onclick="grp_instimg_ImageViewer00_onclick"/>
  245. </Layout>
  246. </Layouts>
  247. </Div>
  248. <Button id="btn_excel" taborder="18" text="엑셀저장" class="btn2" position="absolute 999 99 1067 119" anchor="top right" onclick="btn_excel_onclick"/>
  249. </Layout>
  250. </Layouts>
  251. <Objects>
  252. <Dataset id="ds_grid_grd_autoxls" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="docuseqno" type="STRING"/>
  255. <Column id="insuno" type="STRING"/>
  256. <Column id="insucdnm" type="STRING"/>
  257. <Column id="patnm" type="STRING"/>
  258. <Column id="pid" type="STRING"/>
  259. <Column id="patrrgstno" type="STRING"/>
  260. <Column id="acdacptno" type="STRING"/>
  261. <Column id="ordfromdd" type="STRING"/>
  262. <Column id="ordtodd" type="STRING"/>
  263. <Column id="clamdeptcd" type="STRING"/>
  264. <Column id="clamdeptnm" type="STRING"/>
  265. <Column id="edimedcaretotamt" type="STRING"/>
  266. <Column id="specamt" type="STRING"/>
  267. <Column id="docuseqno1" type="STRING" size="256"/>
  268. </ColumnInfo>
  269. </Dataset>
  270. <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">
  271. <ColumnInfo>
  272. <Column id="chksel" type="STRING"/>
  273. <Column id="chkpay" type="STRING"/>
  274. <Column id="chkall" type="STRING"/>
  275. <Column id="docuseqno" type="STRING"/>
  276. <Column id="clamym" type="STRING"/>
  277. <Column id="clamdg" type="STRING"/>
  278. <Column id="ioflag" type="STRING"/>
  279. <Column id="clamflagcd" type="STRING"/>
  280. <Column id="orddeptcd" type="STRING"/>
  281. <Column id="sumtypecd" type="STRING"/>
  282. <Column id="pid" type="STRING"/>
  283. <Column id="pidsn" type="STRING"/>
  284. <Column id="patnm" type="STRING"/>
  285. <Column id="gender" type="STRING"/>
  286. <Column id="patage" type="STRING"/>
  287. <Column id="insukindcd" type="STRING"/>
  288. <Column id="suppkindcd" type="STRING"/>
  289. <Column id="orddrnm" type="STRING"/>
  290. <Column id="prockindflag" type="STRING"/>
  291. <Column id="insuno" type="STRING"/>
  292. <Column id="insucdnm" type="STRING"/>
  293. <Column id="ediinsuclamamt" type="STRING"/>
  294. <Column id="patrrgstno" type="STRING"/>
  295. <Column id="clamno" type="STRING"/>
  296. <Column id="acptno" type="STRING"/>
  297. <Column id="judgdg" type="STRING"/>
  298. <Column id="dethyn" type="STRING"/>
  299. <Column id="divclam" type="STRING"/>
  300. <Column id="judgendyn" type="STRING"/>
  301. <Column id="judgendynnm" type="STRING"/>
  302. </ColumnInfo>
  303. </Dataset>
  304. <Dataset id="ds_init_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  305. <ColumnInfo>
  306. <Column id="label" type="STRING" size="256"/>
  307. <Column id="value" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row>
  311. <Col id="label">전체</Col>
  312. <Col id="value">-</Col>
  313. </Row>
  314. <Row>
  315. <Col id="label">입원</Col>
  316. <Col id="value">I</Col>
  317. </Row>
  318. <Row>
  319. <Col id="label">외래</Col>
  320. <Col id="value">O</Col>
  321. </Row>
  322. </Rows>
  323. </Dataset>
  324. <Dataset id="ds_init_cmb_clamdg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  325. <ColumnInfo>
  326. <Column id="clamdgcd" type="STRING" size="256"/>
  327. <Column id="clamdgnm" type="STRING" size="256"/>
  328. </ColumnInfo>
  329. </Dataset>
  330. <Dataset id="ds_init_P0630" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  331. <ColumnInfo>
  332. <Column id="cdid" type="STRING" size="256"/>
  333. <Column id="cdnm" type="STRING" size="256"/>
  334. </ColumnInfo>
  335. </Dataset>
  336. <Dataset id="ds_init_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="cdid" type="STRING" size="256"/>
  339. <Column id="cdnm" type="STRING" size="256"/>
  340. </ColumnInfo>
  341. </Dataset>
  342. <Dataset id="ds_init_P0155" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  343. <ColumnInfo>
  344. <Column id="cdid" type="STRING" size="256"/>
  345. <Column id="cdnm" type="STRING" size="256"/>
  346. </ColumnInfo>
  347. </Dataset>
  348. <Dataset id="ds_init_P0458" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  349. <ColumnInfo>
  350. <Column id="cdid" type="STRING" size="256"/>
  351. <Column id="cdnm" type="STRING" size="256"/>
  352. </ColumnInfo>
  353. </Dataset>
  354. <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  355. <ColumnInfo>
  356. <Column id="cd" type="STRING" size="256"/>
  357. <Column id="nm" type="STRING" size="256"/>
  358. </ColumnInfo>
  359. </Dataset>
  360. <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="cdid" type="STRING" size="256"/>
  363. <Column id="cdnm" type="STRING" size="256"/>
  364. <Column id="up" type="STRING" size="256"/>
  365. <Column id="io" type="STRING" size="256"/>
  366. </ColumnInfo>
  367. </Dataset>
  368. <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  369. <ColumnInfo>
  370. <Column id="cd" type="STRING" size="256"/>
  371. <Column id="nm" type="STRING" size="256"/>
  372. <Column id="deptengabbr" type="STRING" size="256"/>
  373. <Column id="reqdeptno" type="STRING" size="256"/>
  374. <Column id="reqfild" type="STRING" size="256"/>
  375. </ColumnInfo>
  376. </Dataset>
  377. <Dataset id="ds_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  378. <ColumnInfo>
  379. <Column id="cd" type="STRING" size="256"/>
  380. <Column id="nm" type="STRING" size="256"/>
  381. <Column id="dp" type="STRING" size="256"/>
  382. <Column id="sp" type="STRING" size="256"/>
  383. </ColumnInfo>
  384. </Dataset>
  385. <Dataset id="ds_init_judgrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  386. <ColumnInfo>
  387. <Column id="cd" type="STRING" size="256"/>
  388. <Column id="nm" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. </Dataset>
  391. <Dataset id="ds_init_cmb_insunm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  392. <ColumnInfo>
  393. <Column id="insucd" type="STRING" size="256"/>
  394. <Column id="insucdnm" type="STRING" size="256"/>
  395. </ColumnInfo>
  396. </Dataset>
  397. <Dataset id="ds_init_sealimg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  398. <ColumnInfo>
  399. <Column id="instcd" type="STRING" size="256"/>
  400. <Column id="photimg" type="STRING" size="256"/>
  401. </ColumnInfo>
  402. </Dataset>
  403. <Dataset id="ds_init_cmb_srcflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  404. <ColumnInfo>
  405. <Column id="label" type="STRING" size="256"/>
  406. <Column id="value" type="STRING" size="256"/>
  407. </ColumnInfo>
  408. <Rows>
  409. <Row>
  410. <Col id="value">0</Col>
  411. <Col id="label">전체</Col>
  412. </Row>
  413. <Row>
  414. <Col id="label">명번호</Col>
  415. <Col id="value">1</Col>
  416. </Row>
  417. <Row>
  418. <Col id="label">환자번호</Col>
  419. <Col id="value">2</Col>
  420. </Row>
  421. </Rows>
  422. </Dataset>
  423. <Dataset id="ds_temp_TRPID20702_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  424. <ColumnInfo>
  425. <Column id="clamym" type="STRING" size="256"/>
  426. <Column id="clamdg" type="STRING" size="256"/>
  427. <Column id="pid" type="STRING" size="256"/>
  428. <Column id="pidsn" type="STRING" size="256"/>
  429. <Column id="pagenum" type="STRING" size="256"/>
  430. <Column id="chkflag" type="STRING" size="256"/>
  431. <Column id="insukind" type="STRING" size="256"/>
  432. <Column id="photimg" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_temp_TRPID20702_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="diagnm" type="STRING" size="256"/>
  438. <Column id="diagcd" type="STRING" size="256"/>
  439. <Column id="clamdeptcd" type="STRING" size="256"/>
  440. <Column id="wundresncd" type="STRING" size="256"/>
  441. <Column id="ordfromdd" type="STRING" size="256"/>
  442. <Column id="sorting" type="STRING" size="256"/>
  443. <Column id="clamflag" type="STRING" size="256"/>
  444. <Column id="medcaredayno" type="STRING" size="256"/>
  445. </ColumnInfo>
  446. </Dataset>
  447. <Dataset id="ds_temp_TRPID20702_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  448. <ColumnInfo>
  449. <Column id="fstexamtims" type="STRING" size="256"/>
  450. <Column id="fstexamamt" type="STRING" size="256"/>
  451. <Column id="fstexamacttims" type="STRING" size="256"/>
  452. <Column id="reexamtims" type="STRING" size="256"/>
  453. <Column id="reexamamt" type="STRING" size="256"/>
  454. <Column id="reexamacttims" type="STRING" size="256"/>
  455. <Column id="errtnamt" type="STRING" size="256"/>
  456. <Column id="drugmngtamt" type="STRING" size="256"/>
  457. <Column id="gnrldayno" type="STRING" size="256"/>
  458. <Column id="gnrlamt" type="STRING" size="256"/>
  459. <Column id="sptchilddayno" type="STRING" size="256"/>
  460. <Column id="sptchildamt" type="STRING" size="256"/>
  461. <Column id="cureroomdayno" type="STRING" size="256"/>
  462. <Column id="cureroomamt" type="STRING" size="256"/>
  463. <Column id="isolroomdayno" type="STRING" size="256"/>
  464. <Column id="isolroomamt" type="STRING" size="256"/>
  465. <Column id="etcdayno" type="STRING" size="256"/>
  466. <Column id="etcamt" type="STRING" size="256"/>
  467. <Column id="basechrgfoodamt" type="STRING" size="256"/>
  468. <Column id="addchrgfoodamt" type="STRING" size="256"/>
  469. <Column id="inusedrugdayno" type="STRING" size="256"/>
  470. <Column id="inusedrugamt" type="STRING" size="256"/>
  471. <Column id="inusedrugactamt" type="STRING" size="256"/>
  472. <Column id="exusedrugdayno" type="STRING" size="256"/>
  473. <Column id="exusedrugamt" type="STRING" size="256"/>
  474. <Column id="exusedrugactamt" type="STRING" size="256"/>
  475. <Column id="mpstims" type="STRING" size="256"/>
  476. <Column id="mpsamt" type="STRING" size="256"/>
  477. <Column id="injmusdayno" type="STRING" size="256"/>
  478. <Column id="injmusamt" type="STRING" size="256"/>
  479. <Column id="injmusactamt" type="STRING" size="256"/>
  480. <Column id="injveindayno" type="STRING" size="256"/>
  481. <Column id="injveinamt" type="STRING" size="256"/>
  482. <Column id="injveinactamt" type="STRING" size="256"/>
  483. <Column id="injfloodtims" type="STRING" size="256"/>
  484. <Column id="injfloodamt" type="STRING" size="256"/>
  485. <Column id="injfloodactamt" type="STRING" size="256"/>
  486. <Column id="injetctims" type="STRING" size="256"/>
  487. <Column id="injetcamt" type="STRING" size="256"/>
  488. <Column id="injetcactamt" type="STRING" size="256"/>
  489. <Column id="injspecamt" type="STRING" size="256"/>
  490. <Column id="injbloodtims" type="STRING" size="256"/>
  491. <Column id="injbloodamt" type="STRING" size="256"/>
  492. <Column id="injbloodactamt" type="STRING" size="256"/>
  493. <Column id="ansttims" type="STRING" size="256"/>
  494. <Column id="anstamt" type="STRING" size="256"/>
  495. <Column id="anstactamt" type="STRING" size="256"/>
  496. <Column id="scittims" type="STRING" size="256"/>
  497. <Column id="scitamt" type="STRING" size="256"/>
  498. <Column id="scitactamt" type="STRING" size="256"/>
  499. <Column id="psyptims" type="STRING" size="256"/>
  500. <Column id="psypamt" type="STRING" size="256"/>
  501. <Column id="psypactamt" type="STRING" size="256"/>
  502. <Column id="cureoptims" type="STRING" size="256"/>
  503. <Column id="cureopamt" type="STRING" size="256"/>
  504. <Column id="cureopactamt" type="STRING" size="256"/>
  505. <Column id="casttims" type="STRING" size="256"/>
  506. <Column id="castamt" type="STRING" size="256"/>
  507. <Column id="castactamt" type="STRING" size="256"/>
  508. <Column id="itslftesttims" type="STRING" size="256"/>
  509. <Column id="itslftestamt" type="STRING" size="256"/>
  510. <Column id="itslftestactamt" type="STRING" size="256"/>
  511. <Column id="trusttestmngtamt" type="STRING" size="256"/>
  512. <Column id="trusttesttims" type="STRING" size="256"/>
  513. <Column id="trusttestamt" type="STRING" size="256"/>
  514. <Column id="raydiagtims" type="STRING" size="256"/>
  515. <Column id="raydiagamt" type="STRING" size="256"/>
  516. <Column id="raydiagactamt" type="STRING" size="256"/>
  517. <Column id="raycuretims" type="STRING" size="256"/>
  518. <Column id="raycureamt" type="STRING" size="256"/>
  519. <Column id="raycureactamt" type="STRING" size="256"/>
  520. <Column id="seqmtctdiagtims" type="STRING" size="256"/>
  521. <Column id="seqmtctdiagamt" type="STRING" size="256"/>
  522. <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
  523. <Column id="seqmtmridiagtims" type="STRING" size="256"/>
  524. <Column id="seqmtmridiagamt" type="STRING" size="256"/>
  525. <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
  526. <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
  527. <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
  528. <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
  529. <Column id="vdrugitemamt" type="STRING" size="256"/>
  530. <Column id="vcureitemamt" type="STRING" size="256"/>
  531. <Column id="vexamamt" type="STRING" size="256"/>
  532. <Column id="vexamactamt" type="STRING" size="256"/>
  533. <Column id="wdrugitemamt" type="STRING" size="256"/>
  534. <Column id="wcureitemamt" type="STRING" size="256"/>
  535. <Column id="wexamamt" type="STRING" size="256"/>
  536. <Column id="wexamactamt" type="STRING" size="256"/>
  537. <Column id="indays" type="STRING" size="256"/>
  538. <Column id="usedrugtotamt" type="STRING" size="256"/>
  539. <Column id="seqmtdiagamt" type="STRING" size="256"/>
  540. <Column id="vtotamt" type="STRING" size="256"/>
  541. <Column id="wtotamt" type="STRING" size="256"/>
  542. <Column id="totamt" type="STRING" size="256"/>
  543. <Column id="totactamt" type="STRING" size="256"/>
  544. <Column id="corpactaddrate" type="STRING" size="256"/>
  545. <Column id="hospaddamt" type="STRING" size="256"/>
  546. <Column id="medcaretotamt" type="STRING" size="256"/>
  547. <Column id="ownbamt" type="STRING" size="256"/>
  548. <Column id="suppamt" type="STRING" size="256"/>
  549. <Column id="insuclamamt" type="STRING" size="256"/>
  550. <Column id="ownbmaxexamt" type="STRING" size="256"/>
  551. <Column id="totordamt" type="STRING" size="256"/>
  552. <Column id="bhclamamt" type="STRING" size="256"/>
  553. <Column id="editotlimitdiffamt" type="STRING" size="256"/>
  554. <Column id="handcaprfund" type="STRING" size="256"/>
  555. <Column id="medcaretotnew" type="STRING" size="256"/>
  556. <Column id="editotownownbamt" type="STRING" size="256"/>
  557. <Column id="edibhownbamt" type="STRING" size="256"/>
  558. <Column id="ediund100totamt" type="STRING" size="256"/>
  559. <Column id="ediund100ownbamt" type="STRING" size="256"/>
  560. <Column id="ediund100clamamt" type="STRING" size="256"/>
  561. <Column id="ediund100bhclamamt" type="STRING" size="256"/>
  562. <Column id="adrugitemamt" type="STRING" size="256"/>
  563. <Column id="acureitemamt" type="STRING" size="256"/>
  564. <Column id="aexamamt" type="STRING" size="256"/>
  565. <Column id="adrugitemactamt" type="STRING" size="256"/>
  566. <Column id="acureitemactamt" type="STRING" size="256"/>
  567. <Column id="aexamactamt" type="STRING" size="256"/>
  568. <Column id="bdrugitemamt" type="STRING" size="256"/>
  569. <Column id="bcureitemamt" type="STRING" size="256"/>
  570. <Column id="bexamamt" type="STRING" size="256"/>
  571. <Column id="bdrugitemactamt" type="STRING" size="256"/>
  572. <Column id="bcureitemactamt" type="STRING" size="256"/>
  573. <Column id="bexamactamt" type="STRING" size="256"/>
  574. <Column id="udrugitemamt" type="STRING" size="256"/>
  575. <Column id="ucureitemamt" type="STRING" size="256"/>
  576. <Column id="uexamamt" type="STRING" size="256"/>
  577. <Column id="udrugitemactamt" type="STRING" size="256"/>
  578. <Column id="ucureitemactamt" type="STRING" size="256"/>
  579. <Column id="uexamactamt" type="STRING" size="256"/>
  580. </ColumnInfo>
  581. </Dataset>
  582. <Dataset id="ds_temp_TRPID20702_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  583. <ColumnInfo>
  584. <Column id="sorting1" type="STRING" size="256"/>
  585. <Column id="sorting2" type="STRING" size="256"/>
  586. <Column id="sorting3" type="STRING" size="256"/>
  587. <Column id="edicd" type="STRING" size="256"/>
  588. <Column id="hngnm" type="STRING" size="256"/>
  589. <Column id="drugqty" type="STRING" size="256"/>
  590. <Column id="drugtims" type="STRING" size="256"/>
  591. <Column id="drugdayno" type="STRING" size="256"/>
  592. <Column id="rcptcalcamt" type="STRING" size="256"/>
  593. <Column id="edidruglimitamt" type="STRING" size="256"/>
  594. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  595. <Column id="ediunitcost" type="STRING" size="256"/>
  596. <Column id="ediamt" type="STRING" size="256"/>
  597. <Column id="orddeptcd" type="STRING" size="256"/>
  598. <Column id="licnsno" type="STRING" size="256"/>
  599. </ColumnInfo>
  600. </Dataset>
  601. <Dataset id="ds_temp_TRPID20702_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  602. <ColumnInfo>
  603. <Column id="sorting1" type="STRING" size="256"/>
  604. <Column id="sorting2" type="STRING" size="256"/>
  605. <Column id="sorting3" type="STRING" size="256"/>
  606. <Column id="edicd" type="STRING" size="256"/>
  607. <Column id="hngnm" type="STRING" size="256"/>
  608. <Column id="drugqty" type="STRING" size="256"/>
  609. <Column id="drugtims" type="STRING" size="256"/>
  610. <Column id="drugdayno" type="STRING" size="256"/>
  611. <Column id="rcptcalcamt" type="STRING" size="256"/>
  612. <Column id="edidruglimitamt" type="STRING" size="256"/>
  613. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  614. </ColumnInfo>
  615. </Dataset>
  616. <Dataset id="ds_temp_TRPID20703_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  617. <ColumnInfo>
  618. <Column id="clamym" type="STRING" size="256"/>
  619. <Column id="clamdg" type="STRING" size="256"/>
  620. <Column id="pid" type="STRING" size="256"/>
  621. <Column id="pidsn" type="STRING" size="256"/>
  622. <Column id="pagenum" type="STRING" size="256"/>
  623. <Column id="chkflag" type="STRING" size="256"/>
  624. <Column id="insukind" type="STRING" size="256"/>
  625. <Column id="photimg" type="STRING" size="256"/>
  626. </ColumnInfo>
  627. </Dataset>
  628. <Dataset id="ds_temp_TRPID20703_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="diagnm" type="STRING" size="256"/>
  631. <Column id="diagcd" type="STRING" size="256"/>
  632. <Column id="clamdeptcd" type="STRING" size="256"/>
  633. <Column id="wundresncd" type="STRING" size="256"/>
  634. <Column id="ordfromdd" type="STRING" size="256"/>
  635. <Column id="sorting" type="STRING" size="256"/>
  636. <Column id="clamflag" type="STRING" size="256"/>
  637. <Column id="medcaredayno" type="STRING" size="256"/>
  638. </ColumnInfo>
  639. </Dataset>
  640. <Dataset id="ds_temp_TRPID20703_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  641. <ColumnInfo>
  642. <Column id="fstexamtims" type="STRING" size="256"/>
  643. <Column id="fstexamamt" type="STRING" size="256"/>
  644. <Column id="fstexamacttims" type="STRING" size="256"/>
  645. <Column id="reexamtims" type="STRING" size="256"/>
  646. <Column id="reexamamt" type="STRING" size="256"/>
  647. <Column id="reexamacttims" type="STRING" size="256"/>
  648. <Column id="errtnamt" type="STRING" size="256"/>
  649. <Column id="drugmngtamt" type="STRING" size="256"/>
  650. <Column id="gnrldayno" type="STRING" size="256"/>
  651. <Column id="gnrlamt" type="STRING" size="256"/>
  652. <Column id="sptchilddayno" type="STRING" size="256"/>
  653. <Column id="sptchildamt" type="STRING" size="256"/>
  654. <Column id="cureroomdayno" type="STRING" size="256"/>
  655. <Column id="cureroomamt" type="STRING" size="256"/>
  656. <Column id="isolroomdayno" type="STRING" size="256"/>
  657. <Column id="isolroomamt" type="STRING" size="256"/>
  658. <Column id="etcdayno" type="STRING" size="256"/>
  659. <Column id="etcamt" type="STRING" size="256"/>
  660. <Column id="basechrgfoodamt" type="STRING" size="256"/>
  661. <Column id="addchrgfoodamt" type="STRING" size="256"/>
  662. <Column id="inusedrugdayno" type="STRING" size="256"/>
  663. <Column id="inusedrugamt" type="STRING" size="256"/>
  664. <Column id="inusedrugactamt" type="STRING" size="256"/>
  665. <Column id="exusedrugdayno" type="STRING" size="256"/>
  666. <Column id="exusedrugamt" type="STRING" size="256"/>
  667. <Column id="exusedrugactamt" type="STRING" size="256"/>
  668. <Column id="mpstims" type="STRING" size="256"/>
  669. <Column id="mpsamt" type="STRING" size="256"/>
  670. <Column id="injmusdayno" type="STRING" size="256"/>
  671. <Column id="injmusamt" type="STRING" size="256"/>
  672. <Column id="injmusactamt" type="STRING" size="256"/>
  673. <Column id="injveindayno" type="STRING" size="256"/>
  674. <Column id="injveinamt" type="STRING" size="256"/>
  675. <Column id="injveinactamt" type="STRING" size="256"/>
  676. <Column id="injfloodtims" type="STRING" size="256"/>
  677. <Column id="injfloodamt" type="STRING" size="256"/>
  678. <Column id="injfloodactamt" type="STRING" size="256"/>
  679. <Column id="injetctims" type="STRING" size="256"/>
  680. <Column id="injetcamt" type="STRING" size="256"/>
  681. <Column id="injetcactamt" type="STRING" size="256"/>
  682. <Column id="injspecamt" type="STRING" size="256"/>
  683. <Column id="injbloodtims" type="STRING" size="256"/>
  684. <Column id="injbloodamt" type="STRING" size="256"/>
  685. <Column id="injbloodactamt" type="STRING" size="256"/>
  686. <Column id="ansttims" type="STRING" size="256"/>
  687. <Column id="anstamt" type="STRING" size="256"/>
  688. <Column id="anstactamt" type="STRING" size="256"/>
  689. <Column id="scittims" type="STRING" size="256"/>
  690. <Column id="scitamt" type="STRING" size="256"/>
  691. <Column id="scitactamt" type="STRING" size="256"/>
  692. <Column id="psyptims" type="STRING" size="256"/>
  693. <Column id="psypamt" type="STRING" size="256"/>
  694. <Column id="psypactamt" type="STRING" size="256"/>
  695. <Column id="cureoptims" type="STRING" size="256"/>
  696. <Column id="cureopamt" type="STRING" size="256"/>
  697. <Column id="cureopactamt" type="STRING" size="256"/>
  698. <Column id="casttims" type="STRING" size="256"/>
  699. <Column id="castamt" type="STRING" size="256"/>
  700. <Column id="castactamt" type="STRING" size="256"/>
  701. <Column id="itslftesttims" type="STRING" size="256"/>
  702. <Column id="itslftestamt" type="STRING" size="256"/>
  703. <Column id="itslftestactamt" type="STRING" size="256"/>
  704. <Column id="trusttestmngtamt" type="STRING" size="256"/>
  705. <Column id="trusttesttims" type="STRING" size="256"/>
  706. <Column id="trusttestamt" type="STRING" size="256"/>
  707. <Column id="raydiagtims" type="STRING" size="256"/>
  708. <Column id="raydiagamt" type="STRING" size="256"/>
  709. <Column id="raydiagactamt" type="STRING" size="256"/>
  710. <Column id="raycuretims" type="STRING" size="256"/>
  711. <Column id="raycureamt" type="STRING" size="256"/>
  712. <Column id="raycureactamt" type="STRING" size="256"/>
  713. <Column id="seqmtctdiagtims" type="STRING" size="256"/>
  714. <Column id="seqmtctdiagamt" type="STRING" size="256"/>
  715. <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
  716. <Column id="seqmtmridiagtims" type="STRING" size="256"/>
  717. <Column id="seqmtmridiagamt" type="STRING" size="256"/>
  718. <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
  719. <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
  720. <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
  721. <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
  722. <Column id="vdrugitemamt" type="STRING" size="256"/>
  723. <Column id="vcureitemamt" type="STRING" size="256"/>
  724. <Column id="vexamamt" type="STRING" size="256"/>
  725. <Column id="vexamactamt" type="STRING" size="256"/>
  726. <Column id="wdrugitemamt" type="STRING" size="256"/>
  727. <Column id="wcureitemamt" type="STRING" size="256"/>
  728. <Column id="wexamamt" type="STRING" size="256"/>
  729. <Column id="wexamactamt" type="STRING" size="256"/>
  730. <Column id="indays" type="STRING" size="256"/>
  731. <Column id="usedrugtotamt" type="STRING" size="256"/>
  732. <Column id="seqmtdiagamt" type="STRING" size="256"/>
  733. <Column id="vtotamt" type="STRING" size="256"/>
  734. <Column id="wtotamt" type="STRING" size="256"/>
  735. <Column id="totamt" type="STRING" size="256"/>
  736. <Column id="totactamt" type="STRING" size="256"/>
  737. <Column id="corpactaddrate" type="STRING" size="256"/>
  738. <Column id="hospaddamt" type="STRING" size="256"/>
  739. <Column id="medcaretotamt" type="STRING" size="256"/>
  740. <Column id="ownbamt" type="STRING" size="256"/>
  741. <Column id="suppamt" type="STRING" size="256"/>
  742. <Column id="insuclamamt" type="STRING" size="256"/>
  743. <Column id="ownbmaxexamt" type="STRING" size="256"/>
  744. <Column id="totordamt" type="STRING" size="256"/>
  745. <Column id="bhclamamt" type="STRING" size="256"/>
  746. <Column id="editotlimitdiffamt" type="STRING" size="256"/>
  747. <Column id="handcaprfund" type="STRING" size="256"/>
  748. <Column id="medcaretotnew" type="STRING" size="256"/>
  749. <Column id="editotownownbamt" type="STRING" size="256"/>
  750. <Column id="edibhownbamt" type="STRING" size="256"/>
  751. <Column id="ediund100totamt" type="STRING" size="256"/>
  752. <Column id="ediund100ownbamt" type="STRING" size="256"/>
  753. <Column id="ediund100clamamt" type="STRING" size="256"/>
  754. <Column id="ediund100bhclamamt" type="STRING" size="256"/>
  755. <Column id="adrugitemamt" type="STRING" size="256"/>
  756. <Column id="acureitemamt" type="STRING" size="256"/>
  757. <Column id="aexamamt" type="STRING" size="256"/>
  758. <Column id="adrugitemactamt" type="STRING" size="256"/>
  759. <Column id="acureitemactamt" type="STRING" size="256"/>
  760. <Column id="aexamactamt" type="STRING" size="256"/>
  761. <Column id="bdrugitemamt" type="STRING" size="256"/>
  762. <Column id="bcureitemamt" type="STRING" size="256"/>
  763. <Column id="bexamamt" type="STRING" size="256"/>
  764. <Column id="bdrugitemactamt" type="STRING" size="256"/>
  765. <Column id="bcureitemactamt" type="STRING" size="256"/>
  766. <Column id="bexamactamt" type="STRING" size="256"/>
  767. <Column id="udrugitemamt" type="STRING" size="256"/>
  768. <Column id="ucureitemamt" type="STRING" size="256"/>
  769. <Column id="uexamamt" type="STRING" size="256"/>
  770. <Column id="udrugitemactamt" type="STRING" size="256"/>
  771. <Column id="ucureitemactamt" type="STRING" size="256"/>
  772. <Column id="uexamactamt" type="STRING" size="256"/>
  773. <Column id="colostomyamt" type="STRING" size="256"/>
  774. <Column id="colostomyactamt" type="STRING" size="256"/>
  775. </ColumnInfo>
  776. </Dataset>
  777. <Dataset id="ds_temp_TRPID20703_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  778. <ColumnInfo>
  779. <Column id="sorting1" type="STRING" size="256"/>
  780. <Column id="sorting2" type="STRING" size="256"/>
  781. <Column id="sorting3" type="STRING" size="256"/>
  782. <Column id="edicd" type="STRING" size="256"/>
  783. <Column id="hngnm" type="STRING" size="256"/>
  784. <Column id="drugqty" type="STRING" size="256"/>
  785. <Column id="drugtims" type="STRING" size="256"/>
  786. <Column id="drugdayno" type="STRING" size="256"/>
  787. <Column id="rcptcalcamt" type="STRING" size="256"/>
  788. <Column id="edidruglimitamt" type="STRING" size="256"/>
  789. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  790. <Column id="ediunitcost" type="STRING" size="256"/>
  791. <Column id="ediamt" type="STRING" size="256"/>
  792. <Column id="orddeptcd" type="STRING" size="256"/>
  793. <Column id="licnsno" type="STRING" size="256"/>
  794. </ColumnInfo>
  795. </Dataset>
  796. <Dataset id="ds_temp_TRPID20703_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  797. <ColumnInfo>
  798. <Column id="sorting1" type="STRING" size="256"/>
  799. <Column id="sorting2" type="STRING" size="256"/>
  800. <Column id="sorting3" type="STRING" size="256"/>
  801. <Column id="edicd" type="STRING" size="256"/>
  802. <Column id="hngnm" type="STRING" size="256"/>
  803. <Column id="drugqty" type="STRING" size="256"/>
  804. <Column id="drugtims" type="STRING" size="256"/>
  805. <Column id="drugdayno" type="STRING" size="256"/>
  806. <Column id="rcptcalcamt" type="STRING" size="256"/>
  807. <Column id="edidruglimitamt" type="STRING" size="256"/>
  808. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  809. </ColumnInfo>
  810. </Dataset>
  811. <Dataset id="ds_temp_TRPID20704_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  812. <ColumnInfo>
  813. <Column id="clamym" type="STRING" size="256"/>
  814. <Column id="clamdg" type="STRING" size="256"/>
  815. <Column id="pid" type="STRING" size="256"/>
  816. <Column id="pidsn" type="STRING" size="256"/>
  817. <Column id="pagenum" type="STRING" size="256"/>
  818. <Column id="chkflag" type="STRING" size="256"/>
  819. <Column id="insukind" type="STRING" size="256"/>
  820. <Column id="photimg" type="STRING" size="256"/>
  821. </ColumnInfo>
  822. </Dataset>
  823. <Dataset id="ds_temp_TRPID20704_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  824. <ColumnInfo>
  825. <Column id="diagnm" type="STRING" size="256"/>
  826. <Column id="diagcd" type="STRING" size="256"/>
  827. <Column id="clamdeptcd" type="STRING" size="256"/>
  828. <Column id="wundresncd" type="STRING" size="256"/>
  829. <Column id="ordfromdd" type="STRING" size="256"/>
  830. <Column id="sorting" type="STRING" size="256"/>
  831. <Column id="clamflag" type="STRING" size="256"/>
  832. <Column id="medcaredayno" type="STRING" size="256"/>
  833. </ColumnInfo>
  834. </Dataset>
  835. <Dataset id="ds_temp_TRPID20704_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  836. <ColumnInfo>
  837. <Column id="fstexamtims" type="STRING" size="256"/>
  838. <Column id="fstexamamt" type="STRING" size="256"/>
  839. <Column id="fstexamacttims" type="STRING" size="256"/>
  840. <Column id="reexamtims" type="STRING" size="256"/>
  841. <Column id="reexamamt" type="STRING" size="256"/>
  842. <Column id="reexamacttims" type="STRING" size="256"/>
  843. <Column id="errtnamt" type="STRING" size="256"/>
  844. <Column id="drugmngtamt" type="STRING" size="256"/>
  845. <Column id="gnrldayno" type="STRING" size="256"/>
  846. <Column id="gnrlamt" type="STRING" size="256"/>
  847. <Column id="sptchilddayno" type="STRING" size="256"/>
  848. <Column id="sptchildamt" type="STRING" size="256"/>
  849. <Column id="cureroomdayno" type="STRING" size="256"/>
  850. <Column id="cureroomamt" type="STRING" size="256"/>
  851. <Column id="isolroomdayno" type="STRING" size="256"/>
  852. <Column id="isolroomamt" type="STRING" size="256"/>
  853. <Column id="etcdayno" type="STRING" size="256"/>
  854. <Column id="etcamt" type="STRING" size="256"/>
  855. <Column id="basechrgfoodamt" type="STRING" size="256"/>
  856. <Column id="addchrgfoodamt" type="STRING" size="256"/>
  857. <Column id="inusedrugdayno" type="STRING" size="256"/>
  858. <Column id="inusedrugamt" type="STRING" size="256"/>
  859. <Column id="inusedrugactamt" type="STRING" size="256"/>
  860. <Column id="exusedrugdayno" type="STRING" size="256"/>
  861. <Column id="exusedrugamt" type="STRING" size="256"/>
  862. <Column id="exusedrugactamt" type="STRING" size="256"/>
  863. <Column id="mpstims" type="STRING" size="256"/>
  864. <Column id="mpsamt" type="STRING" size="256"/>
  865. <Column id="injmusdayno" type="STRING" size="256"/>
  866. <Column id="injmusamt" type="STRING" size="256"/>
  867. <Column id="injmusactamt" type="STRING" size="256"/>
  868. <Column id="injveindayno" type="STRING" size="256"/>
  869. <Column id="injveinamt" type="STRING" size="256"/>
  870. <Column id="injveinactamt" type="STRING" size="256"/>
  871. <Column id="injfloodtims" type="STRING" size="256"/>
  872. <Column id="injfloodamt" type="STRING" size="256"/>
  873. <Column id="injfloodactamt" type="STRING" size="256"/>
  874. <Column id="injetctims" type="STRING" size="256"/>
  875. <Column id="injetcamt" type="STRING" size="256"/>
  876. <Column id="injetcactamt" type="STRING" size="256"/>
  877. <Column id="injspecamt" type="STRING" size="256"/>
  878. <Column id="injbloodtims" type="STRING" size="256"/>
  879. <Column id="injbloodamt" type="STRING" size="256"/>
  880. <Column id="injbloodactamt" type="STRING" size="256"/>
  881. <Column id="ansttims" type="STRING" size="256"/>
  882. <Column id="anstamt" type="STRING" size="256"/>
  883. <Column id="anstactamt" type="STRING" size="256"/>
  884. <Column id="scittims" type="STRING" size="256"/>
  885. <Column id="scitamt" type="STRING" size="256"/>
  886. <Column id="scitactamt" type="STRING" size="256"/>
  887. <Column id="psyptims" type="STRING" size="256"/>
  888. <Column id="psypamt" type="STRING" size="256"/>
  889. <Column id="psypactamt" type="STRING" size="256"/>
  890. <Column id="cureoptims" type="STRING" size="256"/>
  891. <Column id="cureopamt" type="STRING" size="256"/>
  892. <Column id="cureopactamt" type="STRING" size="256"/>
  893. <Column id="casttims" type="STRING" size="256"/>
  894. <Column id="castamt" type="STRING" size="256"/>
  895. <Column id="castactamt" type="STRING" size="256"/>
  896. <Column id="itslftesttims" type="STRING" size="256"/>
  897. <Column id="itslftestamt" type="STRING" size="256"/>
  898. <Column id="itslftestactamt" type="STRING" size="256"/>
  899. <Column id="trusttestmngtamt" type="STRING" size="256"/>
  900. <Column id="trusttesttims" type="STRING" size="256"/>
  901. <Column id="trusttestamt" type="STRING" size="256"/>
  902. <Column id="raydiagtims" type="STRING" size="256"/>
  903. <Column id="raydiagamt" type="STRING" size="256"/>
  904. <Column id="raydiagactamt" type="STRING" size="256"/>
  905. <Column id="raycuretims" type="STRING" size="256"/>
  906. <Column id="raycureamt" type="STRING" size="256"/>
  907. <Column id="raycureactamt" type="STRING" size="256"/>
  908. <Column id="seqmtctdiagtims" type="STRING" size="256"/>
  909. <Column id="seqmtctdiagamt" type="STRING" size="256"/>
  910. <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
  911. <Column id="seqmtmridiagtims" type="STRING" size="256"/>
  912. <Column id="seqmtmridiagamt" type="STRING" size="256"/>
  913. <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
  914. <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
  915. <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
  916. <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
  917. <Column id="vdrugitemamt" type="STRING" size="256"/>
  918. <Column id="vcureitemamt" type="STRING" size="256"/>
  919. <Column id="vexamamt" type="STRING" size="256"/>
  920. <Column id="vexamactamt" type="STRING" size="256"/>
  921. <Column id="wdrugitemamt" type="STRING" size="256"/>
  922. <Column id="wcureitemamt" type="STRING" size="256"/>
  923. <Column id="wexamamt" type="STRING" size="256"/>
  924. <Column id="wexamactamt" type="STRING" size="256"/>
  925. <Column id="indays" type="STRING" size="256"/>
  926. <Column id="usedrugtotamt" type="STRING" size="256"/>
  927. <Column id="seqmtdiagamt" type="STRING" size="256"/>
  928. <Column id="vtotamt" type="STRING" size="256"/>
  929. <Column id="wtotamt" type="STRING" size="256"/>
  930. <Column id="totamt" type="STRING" size="256"/>
  931. <Column id="totactamt" type="STRING" size="256"/>
  932. <Column id="corpactaddrate" type="STRING" size="256"/>
  933. <Column id="hospaddamt" type="STRING" size="256"/>
  934. <Column id="medcaretotamt" type="STRING" size="256"/>
  935. <Column id="ownbamt" type="STRING" size="256"/>
  936. <Column id="suppamt" type="STRING" size="256"/>
  937. <Column id="insuclamamt" type="STRING" size="256"/>
  938. <Column id="ownbmaxexamt" type="STRING" size="256"/>
  939. <Column id="totordamt" type="STRING" size="256"/>
  940. <Column id="bhclamamt" type="STRING" size="256"/>
  941. <Column id="editotlimitdiffamt" type="STRING" size="256"/>
  942. <Column id="handcaprfund" type="STRING" size="256"/>
  943. <Column id="medcaretotnew" type="STRING" size="256"/>
  944. <Column id="editotownownbamt" type="STRING" size="256"/>
  945. <Column id="edibhownbamt" type="STRING" size="256"/>
  946. <Column id="ediund100totamt" type="STRING" size="256"/>
  947. <Column id="ediund100ownbamt" type="STRING" size="256"/>
  948. <Column id="ediund100clamamt" type="STRING" size="256"/>
  949. <Column id="ediund100bhclamamt" type="STRING" size="256"/>
  950. <Column id="adrugitemamt" type="STRING" size="256"/>
  951. <Column id="acureitemamt" type="STRING" size="256"/>
  952. <Column id="aexamamt" type="STRING" size="256"/>
  953. <Column id="adrugitemactamt" type="STRING" size="256"/>
  954. <Column id="acureitemactamt" type="STRING" size="256"/>
  955. <Column id="aexamactamt" type="STRING" size="256"/>
  956. <Column id="bdrugitemamt" type="STRING" size="256"/>
  957. <Column id="bcureitemamt" type="STRING" size="256"/>
  958. <Column id="bexamamt" type="STRING" size="256"/>
  959. <Column id="bdrugitemactamt" type="STRING" size="256"/>
  960. <Column id="bcureitemactamt" type="STRING" size="256"/>
  961. <Column id="bexamactamt" type="STRING" size="256"/>
  962. <Column id="udrugitemamt" type="STRING" size="256"/>
  963. <Column id="ucureitemamt" type="STRING" size="256"/>
  964. <Column id="uexamamt" type="STRING" size="256"/>
  965. <Column id="udrugitemactamt" type="STRING" size="256"/>
  966. <Column id="ucureitemactamt" type="STRING" size="256"/>
  967. <Column id="uexamactamt" type="STRING" size="256"/>
  968. <Column id="colostomyamt" type="STRING" size="256"/>
  969. <Column id="colostomyactamt" type="STRING" size="256"/>
  970. </ColumnInfo>
  971. </Dataset>
  972. <Dataset id="ds_temp_TRPID20704_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  973. <ColumnInfo>
  974. <Column id="sorting1" type="STRING" size="256"/>
  975. <Column id="sorting2" type="STRING" size="256"/>
  976. <Column id="sorting3" type="STRING" size="256"/>
  977. <Column id="edicd" type="STRING" size="256"/>
  978. <Column id="hngnm" type="STRING" size="256"/>
  979. <Column id="drugqty" type="STRING" size="256"/>
  980. <Column id="drugtims" type="STRING" size="256"/>
  981. <Column id="drugdayno" type="STRING" size="256"/>
  982. <Column id="rcptcalcamt" type="STRING" size="256"/>
  983. <Column id="edidruglimitamt" type="STRING" size="256"/>
  984. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  985. <Column id="ediunitcost" type="STRING" size="256"/>
  986. <Column id="ediamt" type="STRING" size="256"/>
  987. <Column id="orddeptcd" type="STRING" size="256"/>
  988. <Column id="licnsno" type="STRING" size="256"/>
  989. </ColumnInfo>
  990. </Dataset>
  991. <Dataset id="ds_temp_TRPID20704_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  992. <ColumnInfo>
  993. <Column id="sorting1" type="STRING" size="256"/>
  994. <Column id="sorting2" type="STRING" size="256"/>
  995. <Column id="sorting3" type="STRING" size="256"/>
  996. <Column id="edicd" type="STRING" size="256"/>
  997. <Column id="hngnm" type="STRING" size="256"/>
  998. <Column id="drugqty" type="STRING" size="256"/>
  999. <Column id="drugtims" type="STRING" size="256"/>
  1000. <Column id="drugdayno" type="STRING" size="256"/>
  1001. <Column id="rcptcalcamt" type="STRING" size="256"/>
  1002. <Column id="edidruglimitamt" type="STRING" size="256"/>
  1003. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  1004. </ColumnInfo>
  1005. </Dataset>
  1006. <Dataset id="ds_temp_TRPID20705_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1007. <ColumnInfo>
  1008. <Column id="clamym" type="STRING" size="256"/>
  1009. <Column id="clamdg" type="STRING" size="256"/>
  1010. <Column id="pid" type="STRING" size="256"/>
  1011. <Column id="pidsn" type="STRING" size="256"/>
  1012. <Column id="pagenum" type="STRING" size="256"/>
  1013. <Column id="chkflag" type="STRING" size="256"/>
  1014. <Column id="insukind" type="STRING" size="256"/>
  1015. <Column id="photimg" type="STRING" size="256"/>
  1016. </ColumnInfo>
  1017. </Dataset>
  1018. <Dataset id="ds_temp_TRPID20705_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1019. <ColumnInfo>
  1020. <Column id="diagnm" type="STRING" size="256"/>
  1021. <Column id="diagcd" type="STRING" size="256"/>
  1022. <Column id="clamdeptcd" type="STRING" size="256"/>
  1023. <Column id="wundresncd" type="STRING" size="256"/>
  1024. <Column id="ordfromdd" type="STRING" size="256"/>
  1025. <Column id="sorting" type="STRING" size="256"/>
  1026. <Column id="clamflag" type="STRING" size="256"/>
  1027. <Column id="medcaredayno" type="STRING" size="256"/>
  1028. </ColumnInfo>
  1029. </Dataset>
  1030. <Dataset id="ds_temp_TRPID20705_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1031. <ColumnInfo>
  1032. <Column id="fstexamtims" type="STRING" size="256"/>
  1033. <Column id="fstexamamt" type="STRING" size="256"/>
  1034. <Column id="fstexamacttims" type="STRING" size="256"/>
  1035. <Column id="reexamtims" type="STRING" size="256"/>
  1036. <Column id="reexamamt" type="STRING" size="256"/>
  1037. <Column id="reexamacttims" type="STRING" size="256"/>
  1038. <Column id="errtnamt" type="STRING" size="256"/>
  1039. <Column id="drugmngtamt" type="STRING" size="256"/>
  1040. <Column id="gnrldayno" type="STRING" size="256"/>
  1041. <Column id="gnrlamt" type="STRING" size="256"/>
  1042. <Column id="sptchilddayno" type="STRING" size="256"/>
  1043. <Column id="sptchildamt" type="STRING" size="256"/>
  1044. <Column id="cureroomdayno" type="STRING" size="256"/>
  1045. <Column id="cureroomamt" type="STRING" size="256"/>
  1046. <Column id="isolroomdayno" type="STRING" size="256"/>
  1047. <Column id="isolroomamt" type="STRING" size="256"/>
  1048. <Column id="etcdayno" type="STRING" size="256"/>
  1049. <Column id="etcamt" type="STRING" size="256"/>
  1050. <Column id="basechrgfoodamt" type="STRING" size="256"/>
  1051. <Column id="addchrgfoodamt" type="STRING" size="256"/>
  1052. <Column id="inusedrugdayno" type="STRING" size="256"/>
  1053. <Column id="inusedrugamt" type="STRING" size="256"/>
  1054. <Column id="inusedrugactamt" type="STRING" size="256"/>
  1055. <Column id="exusedrugdayno" type="STRING" size="256"/>
  1056. <Column id="exusedrugamt" type="STRING" size="256"/>
  1057. <Column id="exusedrugactamt" type="STRING" size="256"/>
  1058. <Column id="mpstims" type="STRING" size="256"/>
  1059. <Column id="mpsamt" type="STRING" size="256"/>
  1060. <Column id="injmusdayno" type="STRING" size="256"/>
  1061. <Column id="injmusamt" type="STRING" size="256"/>
  1062. <Column id="injmusactamt" type="STRING" size="256"/>
  1063. <Column id="injveindayno" type="STRING" size="256"/>
  1064. <Column id="injveinamt" type="STRING" size="256"/>
  1065. <Column id="injveinactamt" type="STRING" size="256"/>
  1066. <Column id="injfloodtims" type="STRING" size="256"/>
  1067. <Column id="injfloodamt" type="STRING" size="256"/>
  1068. <Column id="injfloodactamt" type="STRING" size="256"/>
  1069. <Column id="injetctims" type="STRING" size="256"/>
  1070. <Column id="injetcamt" type="STRING" size="256"/>
  1071. <Column id="injetcactamt" type="STRING" size="256"/>
  1072. <Column id="injspecamt" type="STRING" size="256"/>
  1073. <Column id="injbloodtims" type="STRING" size="256"/>
  1074. <Column id="injbloodamt" type="STRING" size="256"/>
  1075. <Column id="injbloodactamt" type="STRING" size="256"/>
  1076. <Column id="ansttims" type="STRING" size="256"/>
  1077. <Column id="anstamt" type="STRING" size="256"/>
  1078. <Column id="anstactamt" type="STRING" size="256"/>
  1079. <Column id="scittims" type="STRING" size="256"/>
  1080. <Column id="scitamt" type="STRING" size="256"/>
  1081. <Column id="scitactamt" type="STRING" size="256"/>
  1082. <Column id="psyptims" type="STRING" size="256"/>
  1083. <Column id="psypamt" type="STRING" size="256"/>
  1084. <Column id="psypactamt" type="STRING" size="256"/>
  1085. <Column id="cureoptims" type="STRING" size="256"/>
  1086. <Column id="cureopamt" type="STRING" size="256"/>
  1087. <Column id="cureopactamt" type="STRING" size="256"/>
  1088. <Column id="casttims" type="STRING" size="256"/>
  1089. <Column id="castamt" type="STRING" size="256"/>
  1090. <Column id="castactamt" type="STRING" size="256"/>
  1091. <Column id="itslftesttims" type="STRING" size="256"/>
  1092. <Column id="itslftestamt" type="STRING" size="256"/>
  1093. <Column id="itslftestactamt" type="STRING" size="256"/>
  1094. <Column id="trusttestmngtamt" type="STRING" size="256"/>
  1095. <Column id="trusttesttims" type="STRING" size="256"/>
  1096. <Column id="trusttestamt" type="STRING" size="256"/>
  1097. <Column id="raydiagtims" type="STRING" size="256"/>
  1098. <Column id="raydiagamt" type="STRING" size="256"/>
  1099. <Column id="raydiagactamt" type="STRING" size="256"/>
  1100. <Column id="raycuretims" type="STRING" size="256"/>
  1101. <Column id="raycureamt" type="STRING" size="256"/>
  1102. <Column id="raycureactamt" type="STRING" size="256"/>
  1103. <Column id="seqmtctdiagtims" type="STRING" size="256"/>
  1104. <Column id="seqmtctdiagamt" type="STRING" size="256"/>
  1105. <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
  1106. <Column id="seqmtmridiagtims" type="STRING" size="256"/>
  1107. <Column id="seqmtmridiagamt" type="STRING" size="256"/>
  1108. <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
  1109. <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
  1110. <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
  1111. <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
  1112. <Column id="vdrugitemamt" type="STRING" size="256"/>
  1113. <Column id="vcureitemamt" type="STRING" size="256"/>
  1114. <Column id="vexamamt" type="STRING" size="256"/>
  1115. <Column id="vexamactamt" type="STRING" size="256"/>
  1116. <Column id="wdrugitemamt" type="STRING" size="256"/>
  1117. <Column id="wcureitemamt" type="STRING" size="256"/>
  1118. <Column id="wexamamt" type="STRING" size="256"/>
  1119. <Column id="wexamactamt" type="STRING" size="256"/>
  1120. <Column id="indays" type="STRING" size="256"/>
  1121. <Column id="usedrugtotamt" type="STRING" size="256"/>
  1122. <Column id="seqmtdiagamt" type="STRING" size="256"/>
  1123. <Column id="vtotamt" type="STRING" size="256"/>
  1124. <Column id="wtotamt" type="STRING" size="256"/>
  1125. <Column id="totamt" type="STRING" size="256"/>
  1126. <Column id="totactamt" type="STRING" size="256"/>
  1127. <Column id="corpactaddrate" type="STRING" size="256"/>
  1128. <Column id="hospaddamt" type="STRING" size="256"/>
  1129. <Column id="medcaretotamt" type="STRING" size="256"/>
  1130. <Column id="ownbamt" type="STRING" size="256"/>
  1131. <Column id="suppamt" type="STRING" size="256"/>
  1132. <Column id="insuclamamt" type="STRING" size="256"/>
  1133. <Column id="ownbmaxexamt" type="STRING" size="256"/>
  1134. <Column id="totordamt" type="STRING" size="256"/>
  1135. <Column id="bhclamamt" type="STRING" size="256"/>
  1136. <Column id="editotlimitdiffamt" type="STRING" size="256"/>
  1137. <Column id="handcaprfund" type="STRING" size="256"/>
  1138. <Column id="medcaretotnew" type="STRING" size="256"/>
  1139. <Column id="editotownownbamt" type="STRING" size="256"/>
  1140. <Column id="edibhownbamt" type="STRING" size="256"/>
  1141. <Column id="ediund100totamt" type="STRING" size="256"/>
  1142. <Column id="ediund100ownbamt" type="STRING" size="256"/>
  1143. <Column id="ediund100clamamt" type="STRING" size="256"/>
  1144. <Column id="ediund100bhclamamt" type="STRING" size="256"/>
  1145. <Column id="adrugitemamt" type="STRING" size="256"/>
  1146. <Column id="acureitemamt" type="STRING" size="256"/>
  1147. <Column id="aexamamt" type="STRING" size="256"/>
  1148. <Column id="adrugitemactamt" type="STRING" size="256"/>
  1149. <Column id="acureitemactamt" type="STRING" size="256"/>
  1150. <Column id="aexamactamt" type="STRING" size="256"/>
  1151. <Column id="bdrugitemamt" type="STRING" size="256"/>
  1152. <Column id="bcureitemamt" type="STRING" size="256"/>
  1153. <Column id="bexamamt" type="STRING" size="256"/>
  1154. <Column id="bdrugitemactamt" type="STRING" size="256"/>
  1155. <Column id="bcureitemactamt" type="STRING" size="256"/>
  1156. <Column id="bexamactamt" type="STRING" size="256"/>
  1157. <Column id="udrugitemamt" type="STRING" size="256"/>
  1158. <Column id="ucureitemamt" type="STRING" size="256"/>
  1159. <Column id="uexamamt" type="STRING" size="256"/>
  1160. <Column id="udrugitemactamt" type="STRING" size="256"/>
  1161. <Column id="ucureitemactamt" type="STRING" size="256"/>
  1162. <Column id="uexamactamt" type="STRING" size="256"/>
  1163. <Column id="colostomyamt" type="STRING" size="256"/>
  1164. <Column id="colostomyactamt" type="STRING" size="256"/>
  1165. </ColumnInfo>
  1166. </Dataset>
  1167. <Dataset id="ds_temp_TRPID20705_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1168. <ColumnInfo>
  1169. <Column id="sorting1" type="STRING" size="256"/>
  1170. <Column id="sorting2" type="STRING" size="256"/>
  1171. <Column id="sorting3" type="STRING" size="256"/>
  1172. <Column id="edicd" type="STRING" size="256"/>
  1173. <Column id="hngnm" type="STRING" size="256"/>
  1174. <Column id="drugqty" type="STRING" size="256"/>
  1175. <Column id="drugtims" type="STRING" size="256"/>
  1176. <Column id="drugdayno" type="STRING" size="256"/>
  1177. <Column id="rcptcalcamt" type="STRING" size="256"/>
  1178. <Column id="edidruglimitamt" type="STRING" size="256"/>
  1179. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  1180. <Column id="ediunitcost" type="STRING" size="256"/>
  1181. <Column id="ediamt" type="STRING" size="256"/>
  1182. <Column id="orddeptcd" type="STRING" size="256"/>
  1183. <Column id="licnsno" type="STRING" size="256"/>
  1184. </ColumnInfo>
  1185. </Dataset>
  1186. <Dataset id="ds_temp_TRPID20705_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1187. <ColumnInfo>
  1188. <Column id="sorting1" type="STRING" size="256"/>
  1189. <Column id="sorting2" type="STRING" size="256"/>
  1190. <Column id="sorting3" type="STRING" size="256"/>
  1191. <Column id="edicd" type="STRING" size="256"/>
  1192. <Column id="hngnm" type="STRING" size="256"/>
  1193. <Column id="drugqty" type="STRING" size="256"/>
  1194. <Column id="drugtims" type="STRING" size="256"/>
  1195. <Column id="drugdayno" type="STRING" size="256"/>
  1196. <Column id="rcptcalcamt" type="STRING" size="256"/>
  1197. <Column id="edidruglimitamt" type="STRING" size="256"/>
  1198. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  1199. </ColumnInfo>
  1200. </Dataset>
  1201. <Dataset id="ds_temp_TRPID20706_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1202. <ColumnInfo>
  1203. <Column id="clamym" type="STRING" size="256"/>
  1204. <Column id="clamdg" type="STRING" size="256"/>
  1205. <Column id="pid" type="STRING" size="256"/>
  1206. <Column id="pidsn" type="STRING" size="256"/>
  1207. <Column id="pagenum" type="STRING" size="256"/>
  1208. <Column id="chkflag" type="STRING" size="256"/>
  1209. <Column id="insukind" type="STRING" size="256"/>
  1210. <Column id="photimg" type="STRING" size="256"/>
  1211. </ColumnInfo>
  1212. </Dataset>
  1213. <Dataset id="ds_temp_TRPID20706_diag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1214. <ColumnInfo>
  1215. <Column id="diagnm" type="STRING" size="256"/>
  1216. <Column id="diagcd" type="STRING" size="256"/>
  1217. <Column id="clamdeptcd" type="STRING" size="256"/>
  1218. <Column id="wundresncd" type="STRING" size="256"/>
  1219. <Column id="ordfromdd" type="STRING" size="256"/>
  1220. <Column id="sorting" type="STRING" size="256"/>
  1221. <Column id="clamflag" type="STRING" size="256"/>
  1222. <Column id="medcaredayno" type="STRING" size="256"/>
  1223. </ColumnInfo>
  1224. </Dataset>
  1225. <Dataset id="ds_temp_TRPID20706_amt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1226. <ColumnInfo>
  1227. <Column id="fstexamtims" type="STRING" size="256"/>
  1228. <Column id="fstexamamt" type="STRING" size="256"/>
  1229. <Column id="fstexamacttims" type="STRING" size="256"/>
  1230. <Column id="reexamtims" type="STRING" size="256"/>
  1231. <Column id="reexamamt" type="STRING" size="256"/>
  1232. <Column id="reexamacttims" type="STRING" size="256"/>
  1233. <Column id="errtnamt" type="STRING" size="256"/>
  1234. <Column id="drugmngtamt" type="STRING" size="256"/>
  1235. <Column id="gnrldayno" type="STRING" size="256"/>
  1236. <Column id="gnrlamt" type="STRING" size="256"/>
  1237. <Column id="sptchilddayno" type="STRING" size="256"/>
  1238. <Column id="sptchildamt" type="STRING" size="256"/>
  1239. <Column id="cureroomdayno" type="STRING" size="256"/>
  1240. <Column id="cureroomamt" type="STRING" size="256"/>
  1241. <Column id="isolroomdayno" type="STRING" size="256"/>
  1242. <Column id="isolroomamt" type="STRING" size="256"/>
  1243. <Column id="etcdayno" type="STRING" size="256"/>
  1244. <Column id="etcamt" type="STRING" size="256"/>
  1245. <Column id="basechrgfoodamt" type="STRING" size="256"/>
  1246. <Column id="addchrgfoodamt" type="STRING" size="256"/>
  1247. <Column id="inusedrugdayno" type="STRING" size="256"/>
  1248. <Column id="inusedrugamt" type="STRING" size="256"/>
  1249. <Column id="inusedrugactamt" type="STRING" size="256"/>
  1250. <Column id="exusedrugdayno" type="STRING" size="256"/>
  1251. <Column id="exusedrugamt" type="STRING" size="256"/>
  1252. <Column id="exusedrugactamt" type="STRING" size="256"/>
  1253. <Column id="mpstims" type="STRING" size="256"/>
  1254. <Column id="mpsamt" type="STRING" size="256"/>
  1255. <Column id="injmusdayno" type="STRING" size="256"/>
  1256. <Column id="injmusamt" type="STRING" size="256"/>
  1257. <Column id="injmusactamt" type="STRING" size="256"/>
  1258. <Column id="injveindayno" type="STRING" size="256"/>
  1259. <Column id="injveinamt" type="STRING" size="256"/>
  1260. <Column id="injveinactamt" type="STRING" size="256"/>
  1261. <Column id="injfloodtims" type="STRING" size="256"/>
  1262. <Column id="injfloodamt" type="STRING" size="256"/>
  1263. <Column id="injfloodactamt" type="STRING" size="256"/>
  1264. <Column id="injetctims" type="STRING" size="256"/>
  1265. <Column id="injetcamt" type="STRING" size="256"/>
  1266. <Column id="injetcactamt" type="STRING" size="256"/>
  1267. <Column id="injspecamt" type="STRING" size="256"/>
  1268. <Column id="injbloodtims" type="STRING" size="256"/>
  1269. <Column id="injbloodamt" type="STRING" size="256"/>
  1270. <Column id="injbloodactamt" type="STRING" size="256"/>
  1271. <Column id="ansttims" type="STRING" size="256"/>
  1272. <Column id="anstamt" type="STRING" size="256"/>
  1273. <Column id="anstactamt" type="STRING" size="256"/>
  1274. <Column id="scittims" type="STRING" size="256"/>
  1275. <Column id="scitamt" type="STRING" size="256"/>
  1276. <Column id="scitactamt" type="STRING" size="256"/>
  1277. <Column id="psyptims" type="STRING" size="256"/>
  1278. <Column id="psypamt" type="STRING" size="256"/>
  1279. <Column id="psypactamt" type="STRING" size="256"/>
  1280. <Column id="cureoptims" type="STRING" size="256"/>
  1281. <Column id="cureopamt" type="STRING" size="256"/>
  1282. <Column id="cureopactamt" type="STRING" size="256"/>
  1283. <Column id="casttims" type="STRING" size="256"/>
  1284. <Column id="castamt" type="STRING" size="256"/>
  1285. <Column id="castactamt" type="STRING" size="256"/>
  1286. <Column id="itslftesttims" type="STRING" size="256"/>
  1287. <Column id="itslftestamt" type="STRING" size="256"/>
  1288. <Column id="itslftestactamt" type="STRING" size="256"/>
  1289. <Column id="trusttestmngtamt" type="STRING" size="256"/>
  1290. <Column id="trusttesttims" type="STRING" size="256"/>
  1291. <Column id="trusttestamt" type="STRING" size="256"/>
  1292. <Column id="raydiagtims" type="STRING" size="256"/>
  1293. <Column id="raydiagamt" type="STRING" size="256"/>
  1294. <Column id="raydiagactamt" type="STRING" size="256"/>
  1295. <Column id="raycuretims" type="STRING" size="256"/>
  1296. <Column id="raycureamt" type="STRING" size="256"/>
  1297. <Column id="raycureactamt" type="STRING" size="256"/>
  1298. <Column id="seqmtctdiagtims" type="STRING" size="256"/>
  1299. <Column id="seqmtctdiagamt" type="STRING" size="256"/>
  1300. <Column id="seqmtctdiagactamt" type="STRING" size="256"/>
  1301. <Column id="seqmtmridiagtims" type="STRING" size="256"/>
  1302. <Column id="seqmtmridiagamt" type="STRING" size="256"/>
  1303. <Column id="seqmtmridiagactamt" type="STRING" size="256"/>
  1304. <Column id="seqmtpetdiagtims" type="STRING" size="256"/>
  1305. <Column id="seqmtpetdiagamt" type="STRING" size="256"/>
  1306. <Column id="seqmtpetdiagactamt" type="STRING" size="256"/>
  1307. <Column id="vdrugitemamt" type="STRING" size="256"/>
  1308. <Column id="vcureitemamt" type="STRING" size="256"/>
  1309. <Column id="vexamamt" type="STRING" size="256"/>
  1310. <Column id="vexamactamt" type="STRING" size="256"/>
  1311. <Column id="wdrugitemamt" type="STRING" size="256"/>
  1312. <Column id="wcureitemamt" type="STRING" size="256"/>
  1313. <Column id="wexamamt" type="STRING" size="256"/>
  1314. <Column id="wexamactamt" type="STRING" size="256"/>
  1315. <Column id="indays" type="STRING" size="256"/>
  1316. <Column id="usedrugtotamt" type="STRING" size="256"/>
  1317. <Column id="seqmtdiagamt" type="STRING" size="256"/>
  1318. <Column id="vtotamt" type="STRING" size="256"/>
  1319. <Column id="wtotamt" type="STRING" size="256"/>
  1320. <Column id="totamt" type="STRING" size="256"/>
  1321. <Column id="totactamt" type="STRING" size="256"/>
  1322. <Column id="corpactaddrate" type="STRING" size="256"/>
  1323. <Column id="hospaddamt" type="STRING" size="256"/>
  1324. <Column id="medcaretotamt" type="STRING" size="256"/>
  1325. <Column id="ownbamt" type="STRING" size="256"/>
  1326. <Column id="suppamt" type="STRING" size="256"/>
  1327. <Column id="insuclamamt" type="STRING" size="256"/>
  1328. <Column id="ownbmaxexamt" type="STRING" size="256"/>
  1329. <Column id="totordamt" type="STRING" size="256"/>
  1330. <Column id="bhclamamt" type="STRING" size="256"/>
  1331. <Column id="editotlimitdiffamt" type="STRING" size="256"/>
  1332. <Column id="handcaprfund" type="STRING" size="256"/>
  1333. <Column id="medcaretotnew" type="STRING" size="256"/>
  1334. <Column id="editotownownbamt" type="STRING" size="256"/>
  1335. <Column id="edibhownbamt" type="STRING" size="256"/>
  1336. <Column id="ediund100totamt" type="STRING" size="256"/>
  1337. <Column id="ediund100ownbamt" type="STRING" size="256"/>
  1338. <Column id="ediund100clamamt" type="STRING" size="256"/>
  1339. <Column id="ediund100bhclamamt" type="STRING" size="256"/>
  1340. <Column id="adrugitemamt" type="STRING" size="256"/>
  1341. <Column id="acureitemamt" type="STRING" size="256"/>
  1342. <Column id="aexamamt" type="STRING" size="256"/>
  1343. <Column id="adrugitemactamt" type="STRING" size="256"/>
  1344. <Column id="acureitemactamt" type="STRING" size="256"/>
  1345. <Column id="aexamactamt" type="STRING" size="256"/>
  1346. <Column id="bdrugitemamt" type="STRING" size="256"/>
  1347. <Column id="bcureitemamt" type="STRING" size="256"/>
  1348. <Column id="bexamamt" type="STRING" size="256"/>
  1349. <Column id="bdrugitemactamt" type="STRING" size="256"/>
  1350. <Column id="bcureitemactamt" type="STRING" size="256"/>
  1351. <Column id="bexamactamt" type="STRING" size="256"/>
  1352. <Column id="udrugitemamt" type="STRING" size="256"/>
  1353. <Column id="ucureitemamt" type="STRING" size="256"/>
  1354. <Column id="uexamamt" type="STRING" size="256"/>
  1355. <Column id="udrugitemactamt" type="STRING" size="256"/>
  1356. <Column id="ucureitemactamt" type="STRING" size="256"/>
  1357. <Column id="uexamactamt" type="STRING" size="256"/>
  1358. <Column id="colostomyamt" type="STRING" size="256"/>
  1359. <Column id="colostomyactamt" type="STRING" size="256"/>
  1360. </ColumnInfo>
  1361. </Dataset>
  1362. <Dataset id="ds_temp_TRPID20706_prcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1363. <ColumnInfo>
  1364. <Column id="sorting1" type="STRING" size="256"/>
  1365. <Column id="sorting2" type="STRING" size="256"/>
  1366. <Column id="sorting3" type="STRING" size="256"/>
  1367. <Column id="edicd" type="STRING" size="256"/>
  1368. <Column id="hngnm" type="STRING" size="256"/>
  1369. <Column id="drugqty" type="STRING" size="256"/>
  1370. <Column id="drugtims" type="STRING" size="256"/>
  1371. <Column id="drugdayno" type="STRING" size="256"/>
  1372. <Column id="rcptcalcamt" type="STRING" size="256"/>
  1373. <Column id="edidruglimitamt" type="STRING" size="256"/>
  1374. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  1375. <Column id="ediunitcost" type="STRING" size="256"/>
  1376. <Column id="ediamt" type="STRING" size="256"/>
  1377. <Column id="orddeptcd" type="STRING" size="256"/>
  1378. <Column id="licnsno" type="STRING" size="256"/>
  1379. </ColumnInfo>
  1380. </Dataset>
  1381. <Dataset id="ds_temp_TRPID20706_prcpsub" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1382. <ColumnInfo>
  1383. <Column id="sorting1" type="STRING" size="256"/>
  1384. <Column id="sorting2" type="STRING" size="256"/>
  1385. <Column id="sorting3" type="STRING" size="256"/>
  1386. <Column id="edicd" type="STRING" size="256"/>
  1387. <Column id="hngnm" type="STRING" size="256"/>
  1388. <Column id="drugqty" type="STRING" size="256"/>
  1389. <Column id="drugtims" type="STRING" size="256"/>
  1390. <Column id="drugdayno" type="STRING" size="256"/>
  1391. <Column id="rcptcalcamt" type="STRING" size="256"/>
  1392. <Column id="edidruglimitamt" type="STRING" size="256"/>
  1393. <Column id="edilimitdiffamt" type="STRING" size="256"/>
  1394. </ColumnInfo>
  1395. </Dataset>
  1396. <Dataset id="ds_temp_TRPID20301_1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1397. <Dataset id="ds_temp_TRPID20301_supp" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1398. <Dataset id="ds_temp_TRPID20301_cldi" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1399. <Dataset id="ds_temp_TRPID20301_clod" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1400. <Dataset id="ds_temp_TRPID20301_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1401. <Dataset id="ds_temp_TRPID20301_clop" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1402. <Dataset id="ds_temp_TRPID20301_clod2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1403. <Dataset id="ds_temp_TRPID20301_trnpt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1404. <Dataset id="ds_temp_TRPID20301_ordlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1405. <Dataset id="ds_temp_TRPID20301_kopg" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1406. <Dataset id="ds_temp_TRPID20301_drgkdrg" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1407. <Dataset id="ds_temp_TRPID20301_resultlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1408. <Dataset id="ds_temp_TRPID20301_judgmemo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1409. <Dataset id="ds_temp_TRPID20301_edimemo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1410. <Dataset id="ds_temp_RFPID20800_etc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1411. <ColumnInfo>
  1412. <Column id="diagcd" type="STRING" size="256"/>
  1413. <Column id="diagnm" type="STRING" size="256"/>
  1414. </ColumnInfo>
  1415. </Dataset>
  1416. <Dataset id="ds_temp_img" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1417. <ColumnInfo>
  1418. <Column id="image" type="STRING" size="256"/>
  1419. </ColumnInfo>
  1420. </Dataset>
  1421. <Dataset id="ds_init_P0650" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1422. <Dataset id="ds_init_sumtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1423. <Dataset id="ds_temp_TRPID20702_spcl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1424. <ColumnInfo>
  1425. <Column id="spclcd" type="STRING" size="256"/>
  1426. <Column id="hngnm" type="STRING" size="256"/>
  1427. </ColumnInfo>
  1428. </Dataset>
  1429. </Objects>
  1430. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1431. * System Name : Himed
  1432. * Job Name :
  1433. * File Name : SMPID20700_환자청구명세서출력.xfdl
  1434. * Creator :
  1435. * Make Date : 2014-06-24
  1436. *
  1437. * Description :
  1438. *---------------------------------------------------------------------------------------
  1439. * Modify Date Modifier Modify Description
  1440. *---------------------------------------------------------------------------------------
  1441. * 2014-06-24 HIT Converting Program(TF->XP)
  1442. *
  1443. *---------------------------------------------------------------------------------------
  1444. ****************************************************************************************/
  1445. //=======================================================================================
  1446. // xjs Include
  1447. //---------------------------------------------------------------------------------------
  1448. include "com_commonxp::comm_main.xjs";
  1449. // include "com_basiccodexp::ZBC001.xjs";
  1450. // include "pam_pamcomnxp::PAM.xjs";
  1451. // include "pam_aftjudgxp::SMPID20000.xjs";
  1452. include "com_commodulexp::SSZFM00401.xjs"; // Dataset 뷰어용
  1453. //=======================================================================================
  1454. // Global Form Variable
  1455. //---------------------------------------------------------------------------------------
  1456. var minRowNum = 0; // 다음페이지 조회시 사용
  1457. var maxRowNum = 0; // 다음페이지 조회시 사용
  1458. var preview = "Y"; // 출력 기본값: 미리보기
  1459. //=======================================================================================
  1460. // Function
  1461. //---------------------------------------------------------------------------------------
  1462. /******************************************************************
  1463. * Argument :
  1464. * Description : 조회한다.
  1465. ******************************************************************/
  1466. // 화면 open시(와 초기화 버튼 클릭시) 화면 초기화 기능을 수행한다.
  1467. function lf_Initialize() {
  1468. // 노드 초기화
  1469. lf_InitSrchData();
  1470. //com.ZBCMCODE에서 기초코드 값을 가져와서 Combo 컨트롤 item으로 설정하기 위해 사용한다.
  1471. appf_getCodeList( [{cdGrpId: "P0008", dsNm: "ds_init_P0630"} //보험유형
  1472. , {cdGrpId: "P0010", dsNm: "ds_init_P0010"} //보조유형
  1473. , {cdGrpId: "P0155", dsNm: "ds_init_P0155"} //청구구분
  1474. , {cdGrpId: "P0458", dsNm: "ds_init_P0458"} //진료분야
  1475. //, {cdGrpId: "P0650", dsNm: "ds_init_P0650"} //진료분야(자보용)
  1476. ]);
  1477. ds_init_sumtypecd.copyData(ds_init_P0458);
  1478. //콤보에 전체 추가
  1479. frmf_addComboItem("Div00.cmb_insukind", "전체", "", "above");
  1480. frmf_addComboItem("Div00.cmb_clamflagcd", "전체", "", "above");
  1481. // 2015.09.08 청구구분 누락청구 삭제(정상청구에 함께 조회)
  1482. ds_init_P0155.deleteRow( ds_init_P0155.findRow("cdnm", "누락청구") );
  1483. //콤보 전체로 초기화
  1484. Div00.cmb_sumtypecd.value = "-";
  1485. Div00.cmb_clamflagcd.value = "-";
  1486. Div00.cmb_srcflag.value = "0";
  1487. // 보험유형, 보조유형 코드 불러오기
  1488. tranf_submit({
  1489. id: "TRPIJ00601"
  1490. , service: "bfjudgapp.OutDayJudgTrgtMan"
  1491. , method: "reqGetInitComCd"
  1492. , outds: "ds_init_insukind=insukind ds_init_suppkind=suppkind ds_init_orddeptcd=orddeptcd ds_init_orddrid=orddrid ds_init_judgrid=judgrid"
  1493. });
  1494. frmf_addComboItem("Div00.cmb_suppkind", "전체", "", "above");
  1495. Div00.cmb_insukind.value = "";
  1496. Div00.cmb_suppkind.value = "";
  1497. var sInDs = dsf_createDsRow("ds_cond_TRPID20708", {col: "req" , val: ""});
  1498. // 손보사 콤보 리스트
  1499. //submit("TRPID20708");
  1500. tranf_submit({
  1501. id: "TRPID20708"
  1502. , service: "aftjudgapp.PatClamDocuPrnt"
  1503. , method: "reqGetInsucdList"
  1504. , inds: "req=ds_cond_TRPID20708"
  1505. , outds: "ds_init_cmb_insunm=list"
  1506. });
  1507. // 직인 이미지
  1508. //submit("TRPID20709");
  1509. tranf_submit({
  1510. id: "TRPID20709"
  1511. , service: "aftjudgapp.PatClamDocuPrnt"
  1512. , method: "getInstRthesimg"
  1513. , inds: "req="+sInDs
  1514. , outds: "ds_init_sealimg=list"
  1515. });
  1516. // 2014-06-25
  1517. // 이미지 조회불가능(테이블이 비어있음)
  1518. // emr.mmohdefc(빈 테이블), tis.rthesimg(없는 테이블)
  1519. // 이미지 출력시 clob -> string -> 출력물로 전송
  1520. if( ds_init_sealimg.rowcount < 1 ) {
  1521. //ds_init_sealimg.addRow();
  1522. }
  1523. else {
  1524. button4.visible = true;
  1525. grp_instimg.ImageViewer00.image = ds_init_sealimg.getColumn(0, "photimg");
  1526. }
  1527. // ds_init_P0458 : 집계구분 보험유형 컬럼 추가
  1528. ds_init_P0458.addColumn("insukind", "string");
  1529. for ( var i = 0; i < ds_init_P0458.rowcount; i++ ){
  1530. if (ds_init_P0458.getColumn(i, "cdnm") == "정신과정액"){
  1531. ds_init_P0458.setColumn(i, "insukind", "2");
  1532. } else if (ds_init_P0458.getColumn(i, "cdnm") == "혈액투석") {
  1533. ds_init_P0458.setColumn(i, "insukind", "2");
  1534. } else if (ds_init_P0458.getColumn(i, "cdnm") == "자보") {
  1535. ds_init_P0458.setColumn(i, "insukind", "3");
  1536. } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재정상") {
  1537. ds_init_P0458.setColumn(i, "insukind", "4");
  1538. } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재휴유") {
  1539. ds_init_P0458.setColumn(i, "insukind", "4");
  1540. } else if (ds_init_P0458.getColumn(i, "cdnm") == "산재진폐") {
  1541. ds_init_P0458.setColumn(i, "insukind", "4");
  1542. } else {
  1543. if (ds_init_P0458.getColumn(i, "cdid") != "-"){
  1544. ds_init_P0458.setColumn(i, "insukind", "1");
  1545. }
  1546. }
  1547. }
  1548. }
  1549. /******************************************************************
  1550. * Argument :
  1551. * Description : 초기값으로 설정한다.
  1552. ******************************************************************/
  1553. function lf_InitSrchData() {
  1554. ds_grid_grd_clbsmast.clearData();
  1555. // 청구년월, 차수 초기화
  1556. Div00.cp_monthCal00.cal_Month.value = utlf_getCurrentDate();
  1557. Div00.cmb_ioflag.value = "-";
  1558. ds_init_cmb_clamdg.clearData();
  1559. var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
  1560. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  1561. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  1562. , {col: "insukind" , val: Div00.cmb_insukind.value }
  1563. ]);
  1564. tranf_submit({
  1565. id: "TRPID20407"
  1566. , service: "aftjudgapp.InAftJudgTrgtMan"
  1567. , method: "reqGetClamdg"
  1568. , inds: "req=ds_cond_TRPID20407"
  1569. , outds: "ds_init_cmb_clamdg=clamdg"
  1570. });
  1571. frmf_addComboItem("Div00.cmb_clamdg", "전체", 0, "above");
  1572. Div00.cmb_clamdg.value = "0";
  1573. //컨트롤 초기화
  1574. Div00.ipt_docuseqno1.value = "";
  1575. Div00.ipt_docuseqno2.value = "";
  1576. Div00.ipt_docuseqno1.enable = false;
  1577. Div00.ipt_docuseqno2.enable = false;
  1578. Div00.cmb_suppkind.enable = false;
  1579. chk_imgprtyn.value = "";
  1580. //콤보 전체로 초기화
  1581. Div00.cmb_sumtypecd.index = 0;
  1582. Div00.cmb_srcflag.value = "0";
  1583. Div00.cmb_insukind.value = "-";
  1584. Div00.cmb_clamflagcd.value = "-";
  1585. Div00.bool_delyn.value = Div00.bool_delyn.falsevalue;
  1586. // 총건수
  1587. opt_totcnt.value = "";
  1588. }
  1589. /******************************************************************
  1590. * Argument :
  1591. * Description : 화면 권한을 설정한다.
  1592. ******************************************************************/
  1593. function lf_CheckAuth() {
  1594. // 자신이 팝업인지 아닌지를 리턴한다.
  1595. if ( !frmf_isPopup() ) {
  1596. //model.setValue("properties/auth", "10100000"); // (RXP)팝업이 아닌 경우 처리권한을 부여하지 않는다.
  1597. }
  1598. var pAuth = !frmf_checkAuth("P"); // 출력권한(보고서 출력, 엑셀 내려받기 등)
  1599. btn_print.enable = !pAuth;
  1600. var xAuth = !frmf_checkAuth("X"); // 처리권한(입력, 수정, 삭제 등)
  1601. }
  1602. /******************************************************************
  1603. * Argument :
  1604. * Description : 직인 이미지를 변경한다.
  1605. ******************************************************************/
  1606. function lf_ChangeImage(arrFileList) {
  1607. // var filepath = arrFileList[0].fullpath;
  1608. // grp_instimg.ImageViewer00.image = filepath;
  1609. //
  1610. // var aRow = ds_temp_img.addRow();
  1611. // var vfile = dsf_writeFileToDs(arrFileList, ds_temp_img, aRow, "filedata");
  1612. //var bData = new Buffer(arrFileList.read(arrFileList.getFileSize() ) );
  1613. // if( ds_init_sealimg.rowcount < 1 ) {
  1614. // alert("ss");
  1615. // var aRow = ds_init_sealimg.addRow();
  1616. // //ds_init_sealimg.setColumn(aRow, "photimg", bData);
  1617. //
  1618. // }
  1619. // TF source
  1620. // img_hidden.src = imgsrc; // 파일에서 읽은 이미지의 base64 encoding 값을 가져오기 위한 이미지 컨트롤
  1621. // var data = img_hidden.getbase64data(); // base64 encoding 문자열을 가져온다.
  1622. // model.setValue("/root/send/imgdata/photimg",data,true); // 이미지를 보여주기 위하여 view용 이미지컨트롤의 ref instance에 값을 저장
  1623. // setImageRefInstance("/root/main/imgdata/photimg"); //base64 encoding 문자열을 이미지로 변환하여 보여준다,
  1624. // model.refreshpart("/root/send/imgdata/photimg");
  1625. }
  1626. /******************************************************************
  1627. * Argument :
  1628. * Description : 조회한다.
  1629. ******************************************************************/
  1630. function lf_GetPatClamDocuPrntList() {
  1631. // 청구년월 입력값 체크
  1632. if( utlf_isNull(Div00.cp_monthCal00.cal_Month.value) ) {
  1633. sysf_messageBox("청구년월은", "I003"); //필수입력입니다.
  1634. return;
  1635. }
  1636. // 청구차수 입력값 체크
  1637. if( utlf_isNull(Div00.cmb_clamdg.value) ) {
  1638. sysf_messageBox("청구차수는", "I003"); //필수입력입니다.
  1639. return;
  1640. }
  1641. if( Div00.cmb_insukind.value != "31" ) {
  1642. if( utlf_isNull(Div00.ipt_docuseqno1.value) ) {
  1643. sysf_messageBox("자보 이외에 등록번호는", "I003"); //필수입력입니다.
  1644. return;
  1645. }
  1646. }
  1647. // // 명세서 시작 종료 일련번호 값 체크
  1648. // if( Div00.cmb_srcflag.value == "1") { //명번호
  1649. // }
  1650. // else if( Div00.cmb_srcflag.value == "2" ) { //환자번호
  1651. // var tmp_len1 = utlf_lPad(Div00.ipt_docuseqno1.value, 9, "0");
  1652. // Div00.ipt_docuseqno1.value = tmp_len1;
  1653. // }
  1654. // 500건씩 잘라서 조회하기 위한 값
  1655. minRowNum = 1;
  1656. maxRowNum = 500;
  1657. var insukind = Div00.cmb_insukind.value;
  1658. if( insukind == "-") {
  1659. insukind = "";
  1660. }
  1661. var clamflagcd = Div00.cmb_clamflagcd.value;
  1662. if( clamflagcd == "-") {
  1663. clamflagcd = "";
  1664. }
  1665. //submit("TRPID20701");
  1666. var sInDs = dsf_createDsRow("ds_cond_TRPID20701"
  1667. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  1668. , {col: "clamdg" , val: Div00.cmb_clamdg.value }
  1669. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  1670. , {col: "clamflagcd" , val: clamflagcd }
  1671. , {col: "sumtypecd" , val: Div00.cmb_sumtypecd.value }
  1672. , {col: "insukind" , val: insukind }
  1673. , {col: "suppkind" , val: Div00.cmb_suppkind.value }
  1674. , {col: "srcflag" , val: Div00.cmb_srcflag.value }
  1675. , {col: "docuseqno1" , val: Div00.ipt_docuseqno1.value }
  1676. , {col: "docuseqno2" , val: Div00.ipt_docuseqno2.value }
  1677. , {col: "minrnum" , val: minRowNum }
  1678. , {col: "maxrnum" , val: maxRowNum }
  1679. , {col: "judgendyn" , val: Div00.bool_delyn.value }
  1680. , {col: "insucd" , val: Div00.cmb_insunm.value }
  1681. ]);
  1682. tranf_submit({
  1683. id: "TRPID20701"
  1684. , service: "aftjudgapp.PatClamDocuPrnt"
  1685. , method: "reqGetPatClamDocuPrntList"
  1686. , inds: "req=ds_cond_TRPID20701"
  1687. , outds: "ds_grid_grd_clbsmast=clbs"
  1688. });
  1689. // 체크박스 true, false -> 1, 0으로 바꾸기
  1690. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  1691. for(i = 0 ; i < rowCnt ; i++) {
  1692. if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == "true") { //급
  1693. ds_grid_grd_clbsmast.setColumn(i, "chksel", 1);
  1694. }
  1695. else{
  1696. ds_grid_grd_clbsmast.setColumn(i, "chksel", 0);
  1697. }
  1698. if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == "true") { //비
  1699. ds_grid_grd_clbsmast.setColumn(i, "chkpay", 1);
  1700. }
  1701. else{
  1702. ds_grid_grd_clbsmast.setColumn(i, "chkpay", 0);
  1703. }
  1704. if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == "true") { //ALL
  1705. ds_grid_grd_clbsmast.setColumn(i, "chkall", 1);
  1706. }
  1707. else{
  1708. ds_grid_grd_clbsmast.setColumn(i, "chkall", 0);
  1709. }
  1710. }
  1711. //총건수
  1712. if( ds_grid_grd_clbsmast.rowcount > 0 ) {
  1713. opt_totcnt.value = ds_grid_grd_clbsmast.rowcount;
  1714. }
  1715. else {
  1716. opt_totcnt.value = "";
  1717. }
  1718. }
  1719. /******************************************************************
  1720. * Argument :
  1721. * Description : 자보 리스트 엑셀 출력
  1722. ******************************************************************/
  1723. function lf_GetPatClamAutoXlsList() {
  1724. // 청구년월 입력값 체크
  1725. if( utlf_isNull(Div00.cp_monthCal00.getData() ) ) {
  1726. sysf_messageBox("청구년월은", "I003"); // 필수입력입니다.
  1727. Div00.cp_monthCal00.setFocus();
  1728. return;
  1729. }
  1730. // 청구차수 입력값 체크
  1731. if( utlf_isNull(Div00.cmb_clamdg.value) || Div00.cmb_clamdg.value == 0 ) {
  1732. sysf_messageBox("청구차수는", "I003"); // 필수입력입니다.
  1733. Div00.cmb_clamdg.setFocus();
  1734. return;
  1735. }
  1736. ds_grid_grd_autoxls.clearData();
  1737. // 자보일 경우에만 실행 가능하게
  1738. if ( Div00.cmb_insukind.value == "31" ) {
  1739. //submit("TRPID20707");
  1740. var sInDs = dsf_createDsRow("ds_cond_TRPID20707"
  1741. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  1742. , {col: "clamdg" , val: Div00.cmb_clamdg.value }
  1743. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  1744. , {col: "insukind" , val: Div00.cmb_insukind.value }
  1745. ]);
  1746. tranf_submit({
  1747. id: "TRPID20707"
  1748. , service: "aftjudgapp.PatClamDocuPrnt"
  1749. , method: "reqGetPatClamAutoXlsList"
  1750. , inds: "req=ds_cond_TRPID20707"
  1751. , outds: "ds_grid_grd_autoxls=clbs"
  1752. });
  1753. if(ds_grid_grd_autoxls.rowcount > 0) {
  1754. ds_grid_grd_autoxls.addColumn("docuseqno1", "string");
  1755. for(var i=0; i < ds_grid_grd_autoxls.rowcount; i++){
  1756. var docuseqno = utlf_lPad(ds_grid_grd_autoxls.getColumn(i, "docuseqno"), 5, "0");
  1757. ds_grid_grd_autoxls.setColumn(i, "docuseqno1", docuseqno);
  1758. }
  1759. }
  1760. }
  1761. else {
  1762. sysf_messageBox("자보가 선택되지", "E007"); /// 자보가 선택되지 않았습니다.
  1763. return;
  1764. }
  1765. if(ds_grid_grd_autoxls.rowcount > 0) {
  1766. grdf_exportExcel(grd_autoxls, "자보리스트", "see");
  1767. }
  1768. else {
  1769. sysf_messageBox("출력할 자보리스트 데이터가", "I004"); //없습니다.
  1770. }
  1771. }
  1772. /******************************************************************
  1773. * Argument :
  1774. * Description : 출력한다.
  1775. ******************************************************************/
  1776. function lf_PrintView() {
  1777. // 1. 출력여부 판단 (선택된 row 가 있어야 출력 가능)
  1778. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  1779. var chksel = 0; //급
  1780. var chkpay = 0; //비
  1781. var chkall = 0; //All
  1782. var isprnt = "";
  1783. for(var i = 0 ; i < rowCnt ; i++) {
  1784. chksel += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chksel")); //급여 출력여부
  1785. chkpay += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chkpay")); //비급여 출력여부
  1786. chkall += parseInt(ds_grid_grd_clbsmast.getColumn(i, "chkall")); //급여+비급여 출력여부
  1787. }
  1788. // 2. 출력
  1789. if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
  1790. for(var i = 0 ; i < rowCnt ; i++) {
  1791. //2-1. 급여 출력
  1792. if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
  1793. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  1794. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  1795. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  1796. switch(ioflag) {
  1797. case "-":
  1798. break;
  1799. case "I": //입원
  1800. if(insukind == "31") { // 자보(의과입원)
  1801. // 자보입원 환자청구명세서 출력
  1802. lf_PrintView3(i, "pay");
  1803. }
  1804. else { // 일반(의과입원) 39
  1805. // 의과(치과)입원 환자청구명세서 출력
  1806. lf_PrintView1(i, "pay");
  1807. }
  1808. break;
  1809. case "O": //외래
  1810. if(insukind == "31") { // 자보(의과외래)
  1811. // 자보입원 환자청구명세서 출력
  1812. lf_PrintView4(i, "pay");
  1813. }
  1814. else { // 일반(의과외래) 39
  1815. // 의과(치과)입원 환자청구명세서 출력
  1816. lf_PrintView2(i, "pay");
  1817. }
  1818. break;
  1819. default:
  1820. break;
  1821. }
  1822. }
  1823. //2-2. 비급여 출력
  1824. if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) {
  1825. // 비급여 환자청구명세서 출력
  1826. lf_PrintView5(i, "nopay");
  1827. }
  1828. //2-3. 급여+비급여 출력
  1829. if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) {
  1830. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  1831. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  1832. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  1833. switch(ioflag) {
  1834. case "-":
  1835. break;
  1836. case "I": //입원
  1837. if(insukind == "31") { // 자보(의과입원)
  1838. // 자보입원 환자청구명세서 출력
  1839. lf_PrintView3(i, "all");
  1840. }
  1841. else { // 일반(의과입원) 39
  1842. // 의과(치과)입원 환자청구명세서 출력
  1843. lf_PrintView1(i, "all");
  1844. }
  1845. break;
  1846. case "O": //외래
  1847. if(insukind == "31") { // 자보(의과외래)
  1848. // 자보입원 환자청구명세서 출력
  1849. lf_PrintView4(i, "all");
  1850. }
  1851. else { // 일반(의과외래) 39
  1852. // 의과(치과)입원 환자청구명세서 출력
  1853. lf_PrintView2(i, "all"); //급여
  1854. }
  1855. break;
  1856. default:
  1857. break;
  1858. }
  1859. }
  1860. }
  1861. var sum = parseInt(chksel) + parseInt(chkpay) + parseInt(chkall);
  1862. sysf_messageBox("명세서 출력(" + sum + "건)이", "I002");//완료되었습니다.
  1863. }
  1864. else {
  1865. sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
  1866. }
  1867. }
  1868. /******************************************************************
  1869. * Argument : curRow, payflag
  1870. * Description : 의과(치과)입원 환자청구명세서 출력
  1871. ******************************************************************/
  1872. function lf_PrintView1(curRow, payflag) {
  1873. // 노드 초기화
  1874. ds_temp_TRPID20702_main.clearData();
  1875. ds_temp_TRPID20702_amt.clearData();
  1876. ds_temp_TRPID20702_diag.clearData();
  1877. ds_temp_TRPID20702_prcp.clearData();
  1878. ds_temp_TRPID20702_prcpsub.clearData();
  1879. // 1. 의과(치과)입원_메인 데이터 조회
  1880. // 2. 의과(치과)입원_상병 목록 조회
  1881. // 3. 의과(치과)입원_금액 조회
  1882. // 4. 의과(치과)입원_처방 조회
  1883. //submit("TRPID20702");
  1884. var sInDs = dsf_createDsRow("ds_cond_TRPID20702"
  1885. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  1886. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  1887. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  1888. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  1889. , {col: "pagenum" , val: 32} //의과
  1890. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  1891. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  1892. , {col: "ioflag" , val: ds_grid_grd_clbsmast.getColumn(curRow, "ioflag")}
  1893. ]);
  1894. tranf_submit({
  1895. id: "TRPID20702"
  1896. , service: "aftjudgapp.PatClamDocuPrnt"
  1897. , method: "reqGetPatClamDocuPrntData1"
  1898. , inds: "req=ds_cond_TRPID20702"
  1899. , 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"
  1900. });
  1901. // 5. 보고서(첫장)로 데이터 보내기
  1902. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1903. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20702_main); // 데이터셋 1
  1904. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
  1905. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20702_amt); // 데이터셋 3
  1906. //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
  1907. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20702_prcp); // 데이터셋 4
  1908. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/spcl", ds_temp_TRPID20702_spcl); // 데이터셋 5
  1909. var objParam = new Object();
  1910. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1911. switch(preview) {
  1912. case "N": //바로 출력
  1913. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  1914. break;
  1915. case "Y": //미리보기
  1916. default:
  1917. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1918. break;
  1919. }
  1920. rptf_exeReportPreview30(["RPPID20701"],[objParam], option);
  1921. lf_printDelay(2);
  1922. // 6. 보고서(나머지)로 데이터 보내기(뒷장의 존재유무를 sorting1 값으로 판단한다.
  1923. // 이전에는 edicd로 했는데 소계에서는 빈값이어서 변경함)
  1924. //if( 0 ) {
  1925. if( !utlf_isNull(ds_temp_TRPID20702_prcpsub.getColumn(0, "sorting1") ) ) {
  1926. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1927. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20702_main); // 데이터셋 1
  1928. rptf_setNodeListToDOM(objDOM, "root/send/report2/list2/diag", ds_temp_TRPID20702_diag); // 데이터셋 2
  1929. rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20702_prcpsub); // 데이터셋 5
  1930. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20702_amt); // 데이터셋 3
  1931. var objParam = new Object();
  1932. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1933. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1934. objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1935. objParam.xml_data_XML9 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1936. rptf_exeReportPreview30(["RPPID20706"],[objParam], option);
  1937. lf_printDelay(2);
  1938. }
  1939. }
  1940. /******************************************************************
  1941. * Argument : curRow, payflag
  1942. * Description : 의과(치과)외래 환자청구명세서 출력
  1943. ******************************************************************/
  1944. function lf_PrintView2(curRow, payflag) {
  1945. // 노드 초기화
  1946. ds_temp_TRPID20703_main.clearData();
  1947. ds_temp_TRPID20703_amt.clearData();
  1948. ds_temp_TRPID20703_diag.clearData();
  1949. ds_temp_TRPID20703_prcp.clearData();
  1950. ds_temp_TRPID20703_prcpsub.clearData();
  1951. // 1. 의과(치과)외래_메인 데이터 조회
  1952. // 2. 의과(치과)외래_상병 목록 조회
  1953. // 3. 의과(치과)외래원_금액 조회
  1954. // 4. 의과(치과)외래_처방 조회
  1955. //submit("TRPID20703");
  1956. var sInDs = dsf_createDsRow("ds_cond_TRPID20703"
  1957. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  1958. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  1959. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  1960. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  1961. , {col: "pagenum" , val: 32} //의과
  1962. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  1963. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  1964. ]);
  1965. tranf_submit({
  1966. id: "TRPID20703"
  1967. , service: "aftjudgapp.PatClamDocuPrnt"
  1968. , method: "reqGetPatClamDocuPrntData2"
  1969. , inds: "req=ds_cond_TRPID20703"
  1970. , 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"
  1971. });
  1972. // 5. 보고서(첫장)로 데이터 보내기
  1973. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1974. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20703_main); // 데이터셋 1
  1975. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20703_diag); // 데이터셋 2
  1976. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20703_amt); // 데이터셋 3
  1977. //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20703_diag); // 데이터셋 2
  1978. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20703_prcp); // 데이터셋 4
  1979. var objParam = new Object();
  1980. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1981. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  1982. switch(preview) {
  1983. case "N": //바로 출력
  1984. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  1985. break;
  1986. case "Y": //미리보기
  1987. default:
  1988. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1989. break;
  1990. }
  1991. trace("RPPID20700 출력");
  1992. rptf_exeReportPreview30(["RPPID20700"],[objParam], option);
  1993. lf_printDelay(2);
  1994. // 6. 보고서(나머지)로 데이터 보내기(뒷장의 존재유무를 sorting1 값으로 판단한다.
  1995. // 이전에는 edicd로 했는데 소계에서는 빈값이어서 변경함)
  1996. //if( 0 ) {
  1997. if( !utlf_isNull(ds_temp_TRPID20703_prcpsub.getColumn(0, "sorting1") ) ) {
  1998. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1999. rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20703_main); // 데이터셋 1
  2000. rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20703_prcpsub); // 데이터셋 5
  2001. var objParam = new Object();
  2002. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2003. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2004. trace("RPPID20707_의과외래명세서 출력");
  2005. rptf_exeReportPreview30(["RPPID20707"],[objParam], option);
  2006. lf_printDelay(2);
  2007. }
  2008. }
  2009. /******************************************************************
  2010. * Argument : curRow, payflag
  2011. * Description : 자보입원 환자청구명세서 출력
  2012. ******************************************************************/
  2013. function lf_PrintView3(curRow, payflag) {
  2014. // 노드 초기화
  2015. ds_temp_TRPID20704_main.clearData();
  2016. ds_temp_TRPID20704_amt.clearData();
  2017. ds_temp_TRPID20704_diag.clearData();
  2018. ds_temp_TRPID20704_prcp.clearData();
  2019. ds_temp_TRPID20704_prcpsub.clearData();
  2020. // 1. 자보입원_메인 데이터 조회
  2021. // 2. 자보입원_상병 목록 조회
  2022. // 3. 자보입원_금액 조회
  2023. // 4. 자보입원_처방 조회
  2024. //submit("TRPID20704");
  2025. var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
  2026. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2027. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2028. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2029. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2030. , {col: "pagenum" , val: 33} //자보
  2031. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2032. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2033. ]);
  2034. tranf_submit({
  2035. id: "TRPID20704"
  2036. , service: "aftjudgapp.PatClamDocuPrnt"
  2037. , method: "reqGetPatClamDocuPrntData3"
  2038. , inds: "req=ds_cond_TRPID20704"
  2039. , 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"
  2040. });
  2041. // 20100228 자보 직인출력 추가
  2042. if( chk_imgprtyn.value == "Y" ) {
  2043. ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2044. ///root/send/report1/list1/main/main_photimg
  2045. }
  2046. // 5. 보고서(첫장)로 데이터 보내기
  2047. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2048. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2049. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
  2050. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20704_amt); // 데이터셋 3
  2051. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
  2052. var objParam = new Object();
  2053. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2054. //objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2055. switch(preview) {
  2056. case "N": //바로 출력
  2057. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  2058. break;
  2059. case "Y": //미리보기
  2060. default:
  2061. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2062. break;
  2063. }
  2064. rptf_exeReportPreview30(["RPPID20705"],[objParam], option);
  2065. lf_printDelay(2);
  2066. // 6. 보고서(나머지)로 데이터 보내기
  2067. if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
  2068. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2069. rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2070. rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
  2071. var objParam = new Object();
  2072. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2073. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2074. objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2075. rptf_exeReportPreview30(["RPPID20708"],[objParam], option);
  2076. lf_printDelay(2);
  2077. }
  2078. }
  2079. /******************************************************************
  2080. * Argument : curRow, payflag
  2081. * Description : 자보외래 환자청구명세서 출력
  2082. ******************************************************************/
  2083. function lf_Payment1(curRow, payflag) {
  2084. // 노드 초기화
  2085. ds_temp_TRPID20704_main.clearData();
  2086. ds_temp_TRPID20704_amt.clearData();
  2087. ds_temp_TRPID20704_diag.clearData();
  2088. ds_temp_TRPID20704_prcp.clearData();
  2089. ds_temp_TRPID20704_prcpsub.clearData();
  2090. ds_temp_RFPID20800_etc.clearData();
  2091. // 1. 자보입원_메인 데이터 조회
  2092. // 2. 자보입원_상병 목록 조회
  2093. // 3. 자보입원_금액 조회
  2094. // 4. 자보입원_처방 조회
  2095. //submit("TRPID20704");
  2096. var pagenum;
  2097. if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
  2098. var pagenum = 33;
  2099. }
  2100. else {
  2101. var pagenum = 23;
  2102. }
  2103. var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
  2104. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2105. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2106. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2107. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2108. , {col: "pagenum" , val: pagenum} //자보
  2109. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2110. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2111. ]);
  2112. tranf_submit({
  2113. id: "TRPID20704"
  2114. , service: "aftjudgapp.PatClamDocuPrnt"
  2115. , method: "reqGetPatClamDocuPrntData3"
  2116. , inds: "req=ds_cond_TRPID20704"
  2117. , 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"
  2118. });
  2119. var rowCnt = ds_temp_TRPID20704_diag.rowcount;
  2120. var diagcd = "";
  2121. var diagnm = "";
  2122. for(i = 0 ; i < rowCnt ; i++) {
  2123. diagcd = diagcd + "\n" + ds_temp_TRPID20704_diag.getColumn(i, "diagcd");
  2124. diagnm = diagnm + "\n" + ds_temp_TRPID20704_diag.getColumn(i, "diagnm");
  2125. } //End for
  2126. var aRow = ds_temp_RFPID20800_etc.addRow();
  2127. ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
  2128. ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
  2129. // 20100228 자보 직인출력 추가
  2130. if( chk_imgprtyn.value = "Y" ) {
  2131. ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2132. ///root/send/report1/list1/main/main_photimg
  2133. }
  2134. // 5. 보고서(첫장)로 데이터 보내기
  2135. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2136. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2137. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
  2138. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20704_amt); // 데이터셋 3
  2139. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20704_diag); // 데이터셋 2
  2140. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
  2141. var objParam = new Object();
  2142. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2143. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2144. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2145. //무조건 미리보기로 실행
  2146. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2147. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2148. lf_printDelay(2);
  2149. // 6. 보고서(나머지)로 데이터 보내기
  2150. if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
  2151. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2152. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2153. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
  2154. var objParam = new Object();
  2155. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2156. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2157. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2158. //무조건 미리보기로 실행
  2159. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2160. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2161. lf_printDelay(2);
  2162. }
  2163. }
  2164. /******************************************************************
  2165. * Argument : curRow, payflag
  2166. * Description :
  2167. ******************************************************************/
  2168. function lf_Payment2(curRow, payflag) {
  2169. // 노드 초기화
  2170. ds_temp_TRPID20705_main.clearData();
  2171. ds_temp_TRPID20705_amt.clearData();
  2172. ds_temp_TRPID20705_diag.clearData();
  2173. ds_temp_TRPID20705_prcp.clearData();
  2174. ds_temp_TRPID20705_prcpsub.clearData();
  2175. ds_temp_RFPID20800_etc.clearData();
  2176. // 1. 자보입원_메인 데이터 조회
  2177. // 2. 자보입원_상병 목록 조회
  2178. // 3. 자보입원_금액 조회
  2179. // 4. 자보입원_처방 조회
  2180. //submit("TRPID20705");
  2181. if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
  2182. var pagenum = 33;
  2183. }
  2184. else {
  2185. var pagenum = 23;
  2186. }
  2187. var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
  2188. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2189. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2190. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2191. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2192. , {col: "pagenum" , val: pagenum} // 자보 33, 이외 39
  2193. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2194. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2195. ]);
  2196. tranf_submit({
  2197. id: "TRPID20705"
  2198. , service: "aftjudgapp.PatClamDocuPrnt"
  2199. , method: "reqGetPatClamDocuPrntData4"
  2200. , inds: "req=ds_cond_TRPID20705"
  2201. , 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"
  2202. });
  2203. var rowCnt = ds_temp_TRPID20705_diag.rowcount;
  2204. var diagcd = "";
  2205. var diagnm = "";
  2206. for(i = 0 ; i < rowCnt ; i++) {
  2207. diagcd = diagcd + "\n" + ds_temp_TRPID20705_diag.getColumn(i, "diagcd");
  2208. diagnm = diagnm + "\n" + ds_temp_TRPID20705_diag.getColumn(i, "diagnm");
  2209. } //End for
  2210. var aRow = ds_temp_RFPID20800_etc.addRow();
  2211. ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
  2212. ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
  2213. // 20100228 자보 직인출력 추가
  2214. if( chk_imgprtyn.value == "Y" ) {
  2215. ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2216. ///root/send/report1/list1/main/main_photimg
  2217. }
  2218. // 5. 보고서(첫장)로 데이터 보내기
  2219. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2220. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2221. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
  2222. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20705_amt); // 데이터셋 3
  2223. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
  2224. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
  2225. var objParam = new Object();
  2226. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2227. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2228. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2229. //무조건 미리보기로 실행
  2230. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2231. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2232. lf_printDelay(2);
  2233. // 6. 보고서(나머지)로 데이터 보내기
  2234. if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
  2235. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2236. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2237. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
  2238. var objParam = new Object();
  2239. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2240. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2241. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2242. //무조건 미리보기로 실행
  2243. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2244. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2245. lf_printDelay(2);
  2246. }
  2247. }
  2248. /******************************************************************
  2249. * Argument : curRow, payflag
  2250. * Description :
  2251. ******************************************************************/
  2252. function lf_Payment3(curRow, payflag) { // 39
  2253. // 노드 초기화
  2254. ds_temp_TRPID20706_main.clearData();
  2255. ds_temp_TRPID20706_amt.clearData();
  2256. ds_temp_TRPID20706_diag.clearData();
  2257. ds_temp_TRPID20706_prcp.clearData();
  2258. ds_temp_TRPID20706_prcpsub.clearData();
  2259. ds_temp_RFPID20800_etc.clearData();
  2260. // 1. 비급여_메인 데이터 조회
  2261. // 2. 비급여_상병 목록 조회
  2262. // 3. 비급여_금액 조회
  2263. // 4. 비급여_처방 조회
  2264. //submit("TRPID20706");
  2265. var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
  2266. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2267. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2268. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2269. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2270. , {col: "pagenum" , val: 23} //고정
  2271. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2272. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2273. ]);
  2274. tranf_submit({
  2275. id: "TRPID20706"
  2276. , service: "aftjudgapp.PatClamDocuPrnt"
  2277. , method: "reqGetPatClamDocuPrntData5"
  2278. , inds: "req=ds_cond_TRPID20706"
  2279. , 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"
  2280. });
  2281. var rowCnt = ds_temp_TRPID20706_diag.rowcount;
  2282. var diagcd = "";
  2283. var diagnm = "";
  2284. for(i = 0 ; i < rowCnt ; i++) {
  2285. diagcd = diagcd + "\n" + ds_temp_TRPID20706_diag.getColumn(i, "diagcd");
  2286. diagnm = diagnm + "\n" + ds_temp_TRPID20706_diag.getColumn(i, "diagnm");
  2287. } //End for
  2288. var aRow = ds_temp_RFPID20800_etc.addRow();
  2289. ds_temp_RFPID20800_etc.setColumn(aRow, "diagcd", diagcd);
  2290. ds_temp_RFPID20800_etc.setColumn(aRow, "diagnm", diagnm);
  2291. // 5. 보고서(첫장)로 데이터 보내기
  2292. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2293. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2294. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2295. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
  2296. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2297. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
  2298. var objParam = new Object();
  2299. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2300. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2301. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2302. //무조건 미리보기로 실행
  2303. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2304. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2305. lf_printDelay(2);
  2306. // 6. 보고서(나머지)로 데이터 보내기
  2307. if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
  2308. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2309. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2310. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
  2311. var objParam = new Object();
  2312. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2313. objParam.diagcd_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagcd");
  2314. objParam.diagnm_1 = ds_temp_RFPID20800_etc.getColumn(0, "diagnm");
  2315. //무조건 미리보기로 실행
  2316. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2317. rptf_exeReportPreview30(["RFPID20800"],[objParam], option);
  2318. lf_printDelay(2);
  2319. }
  2320. }
  2321. /******************************************************************
  2322. * Argument : curRow, payflag
  2323. * Description : 조회한다.
  2324. ******************************************************************/
  2325. function lf_AccidPayment1(curRow, payflag) {
  2326. // 노드 초기화
  2327. ds_temp_TRPID20704_main.clearData();
  2328. ds_temp_TRPID20704_amt.clearData();
  2329. ds_temp_TRPID20704_diag.clearData();
  2330. ds_temp_TRPID20704_prcp.clearData();
  2331. ds_temp_TRPID20704_prcpsub.clearData();
  2332. ds_temp_RFPID20800_etc.clearData();
  2333. // 1. 자보입원_메인 데이터 조회
  2334. // 2. 자보입원_상병 목록 조회
  2335. // 3. 자보입원_금액 조회
  2336. // 4. 자보입원_처방 조회
  2337. //submit("TRPID20704");
  2338. var pagenum;
  2339. if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
  2340. var pagenum = 33;
  2341. }
  2342. else {
  2343. var pagenum = 23;
  2344. }
  2345. var sInDs = dsf_createDsRow("ds_cond_TRPID20704"
  2346. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2347. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2348. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2349. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2350. , {col: "pagenum" , val: pagenum} //자보
  2351. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2352. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2353. ]);
  2354. tranf_submit({
  2355. id: "TRPID20704"
  2356. , service: "aftjudgapp.PatClamDocuPrnt"
  2357. , method: "reqGetPatClamDocuPrntData3"
  2358. , inds: "req=ds_cond_TRPID20704"
  2359. , 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"
  2360. });
  2361. // 20100228 자보 직인출력 추가
  2362. if( chk_imgprtyn.value = "Y" ) {
  2363. ds_temp_TRPID20704_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2364. ///root/send/report1/list1/main/main_photimg
  2365. }
  2366. // 5. 보고서(첫장)로 데이터 보내기
  2367. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2368. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20704_main); // 데이터셋 1
  2369. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2370. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20704_prcp); // 데이터셋 4
  2371. var objParam = new Object();
  2372. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2373. //무조건 미리보기로 실행
  2374. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2375. rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2376. lf_printDelay(2);
  2377. // 6. 보고서(나머지)로 데이터 보내기
  2378. if( !utlf_isNull(ds_temp_TRPID20704_prcpsub.getColumn(0, "sorting1") ) ) {
  2379. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2380. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20704_main); // 데이터셋 1
  2381. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20704_main); // 데이터셋 1
  2382. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20704_prcpsub); // 데이터셋 5
  2383. var objParam = new Object();
  2384. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2385. //무조건 미리보기로 실행
  2386. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2387. //rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2388. lf_printDelay(2);
  2389. }
  2390. }
  2391. /******************************************************************
  2392. * Argument : curRow, payflag
  2393. * Description : 의과외래(산보진료비내역서)
  2394. ******************************************************************/
  2395. function lf_AccidPayment2(curRow, payflag) {
  2396. // 노드 초기화
  2397. ds_temp_TRPID20705_main.clearData();
  2398. ds_temp_TRPID20705_amt.clearData();
  2399. ds_temp_TRPID20705_diag.clearData();
  2400. ds_temp_TRPID20705_prcp.clearData();
  2401. ds_temp_TRPID20705_prcpsub.clearData();
  2402. ds_temp_RFPID20800_etc.clearData();
  2403. // 1. 자보입원_메인 데이터 조회
  2404. // 2. 자보입원_상병 목록 조회
  2405. // 3. 자보입원_금액 조회
  2406. // 4. 자보입원_처방 조회
  2407. //submit("TRPID20705");
  2408. if(ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd") == "31") {
  2409. var pagenum = 33;
  2410. }
  2411. else {
  2412. var pagenum = 23;
  2413. }
  2414. var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
  2415. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2416. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2417. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2418. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2419. , {col: "pagenum" , val: pagenum} // 자보 33, 이외 39
  2420. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2421. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2422. ]);
  2423. tranf_submit({
  2424. id: "TRPID20705"
  2425. , service: "aftjudgapp.PatClamDocuPrnt"
  2426. , method: "reqGetPatClamDocuPrntData4"
  2427. , inds: "req=ds_cond_TRPID20705"
  2428. , 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"
  2429. });
  2430. // 20100228 자보 직인출력 추가
  2431. if( chk_imgprtyn.value == "Y" ) {
  2432. ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2433. ///root/send/report1/list1/main/main_photimg
  2434. }
  2435. // 5. 보고서(첫장)로 데이터 보내기
  2436. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2437. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20705_main); // 데이터셋 1
  2438. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2439. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
  2440. var objParam = new Object();
  2441. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2442. //무조건 미리보기로 실행
  2443. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2444. rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2445. lf_printDelay(2);
  2446. // 6. 보고서(나머지)로 데이터 보내기
  2447. if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
  2448. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2449. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20705_main); // 데이터셋 1
  2450. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2451. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
  2452. var objParam = new Object();
  2453. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2454. //무조건 미리보기로 실행
  2455. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2456. rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2457. lf_printDelay(2);
  2458. }
  2459. }
  2460. /******************************************************************
  2461. * Argument : curRow, payflag
  2462. * Description : 비급여 출력(산보진료비내역서)
  2463. ******************************************************************/
  2464. function lf_AccidPayment3(curRow, payflag) {
  2465. // 노드 초기화
  2466. ds_temp_TRPID20706_main.clearData();
  2467. ds_temp_TRPID20706_amt.clearData();
  2468. ds_temp_TRPID20706_diag.clearData();
  2469. ds_temp_TRPID20706_prcp.clearData();
  2470. ds_temp_TRPID20706_prcpsub.clearData();
  2471. // 1. 비급여_메인 데이터 조회
  2472. // 2. 비급여_상병 목록 조회
  2473. // 3. 비급여_금액 조회
  2474. // 4. 비급여_처방 조회
  2475. //submit("TRPID20706");
  2476. var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
  2477. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2478. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2479. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2480. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2481. , {col: "pagenum" , val: 23}
  2482. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2483. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2484. ]);
  2485. tranf_submit({
  2486. id: "TRPID20706"
  2487. , service: "aftjudgapp.PatClamDocuPrnt"
  2488. , method: "reqGetPatClamDocuPrntData5"
  2489. , inds: "req=ds_cond_TRPID20706"
  2490. , 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"
  2491. });
  2492. // 5. 보고서(첫장)로 데이터 보내기
  2493. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2494. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20706_main); // 데이터셋 1
  2495. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2496. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
  2497. var objParam = new Object();
  2498. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2499. //무조건 미리보기로 실행
  2500. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2501. rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2502. lf_printDelay(2);
  2503. // 6. 보고서(나머지)로 데이터 보내기
  2504. if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
  2505. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2506. rptf_setNodeListToDOM(objDOM, "root/main2/list1/clbs", ds_temp_TRPID20706_main); // 데이터셋 1
  2507. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2508. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
  2509. var objParam = new Object();
  2510. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2511. //무조건 미리보기로 실행
  2512. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2513. rptf_exeReportPreview30(["RFPID20900"],[objParam], option);
  2514. lf_printDelay(2);
  2515. }
  2516. }
  2517. /******************************************************************
  2518. * Argument : curRow, payflag
  2519. * Description : 자보외래 환자청구명세서 출력
  2520. ******************************************************************/
  2521. function lf_PrintView4(curRow, payflag) {
  2522. // 노드 초기화
  2523. ds_temp_TRPID20705_main.clearData();
  2524. ds_temp_TRPID20705_amt.clearData();
  2525. ds_temp_TRPID20705_diag.clearData();
  2526. ds_temp_TRPID20705_prcp.clearData();
  2527. ds_temp_TRPID20705_prcpsub.clearData();
  2528. // 1. 자보외래_메인 데이터 조회
  2529. // 2. 자보외래_상병 목록 조회
  2530. // 3. 자보외래_금액 조회
  2531. // 4. 자보외래_처방 조회
  2532. //submit("TRPID20705");
  2533. var sInDs = dsf_createDsRow("ds_cond_TRPID20705"
  2534. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2535. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2536. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2537. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2538. , {col: "pagenum" , val: 33} //자보
  2539. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2540. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2541. ]);
  2542. tranf_submit({
  2543. id: "TRPID20705"
  2544. , service: "aftjudgapp.PatClamDocuPrnt"
  2545. , method: "reqGetPatClamDocuPrntData4"
  2546. , inds: "req=ds_cond_TRPID20705"
  2547. , 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"
  2548. });
  2549. // 20100228 자보 직인출력 추가
  2550. if( chk_imgprtyn.value == "Y" ) {
  2551. ds_temp_TRPID20705_main.setColumn(0, "photimg", ds_init_sealimg.getColumn(i, "photimg"));
  2552. ///root/send/report1/list1/main/main_photimg
  2553. }
  2554. // 5. 보고서(첫장)로 데이터 보내기
  2555. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2556. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2557. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
  2558. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20705_amt); // 데이터셋 3
  2559. //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20705_diag); // 데이터셋 2
  2560. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20705_prcp); // 데이터셋 4
  2561. var objParam = new Object();
  2562. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2563. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2564. switch(preview) {
  2565. case "N": //바로 출력
  2566. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  2567. break;
  2568. case "Y": //미리보기
  2569. default:
  2570. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2571. break;
  2572. }
  2573. rptf_exeReportPreview30(["RPPID20704"],[objParam], option);
  2574. lf_printDelay(2);
  2575. // 6. 보고서(나머지)로 데이터 보내기
  2576. if( !utlf_isNull(ds_temp_TRPID20705_prcpsub.getColumn(0, "sorting1") ) ) {
  2577. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2578. rptf_setNodeListToDOM(objDOM, "root/send/report2/list1/main", ds_temp_TRPID20705_main); // 데이터셋 1
  2579. rptf_setNodeListToDOM(objDOM, "root/send/report2/list5/prcp_sub", ds_temp_TRPID20705_prcpsub); // 데이터셋 5
  2580. var objParam = new Object();
  2581. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2582. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2583. objParam.xml_data_XML3 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2584. rptf_exeReportPreview30(["RPPID20709"],[objParam], option);
  2585. lf_printDelay(2);
  2586. }
  2587. }
  2588. /******************************************************************
  2589. * Argument : curRow, payflag
  2590. * Description : 비급여 환자청구명세서 출력
  2591. ******************************************************************/
  2592. function lf_PrintView5(curRow, payflag) {
  2593. // 노드 초기화
  2594. ds_temp_TRPID20706_main.clearData();
  2595. ds_temp_TRPID20706_amt.clearData();
  2596. ds_temp_TRPID20706_diag.clearData();
  2597. ds_temp_TRPID20706_prcp.clearData();
  2598. ds_temp_TRPID20706_prcpsub.clearData();
  2599. // 1. 비급여_메인 데이터 조회
  2600. // 2. 비급여_상병 목록 조회
  2601. // 3. 비급여_금액 조회
  2602. // 4. 비급여_처방 조회
  2603. //submit("TRPID20706");
  2604. var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
  2605. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2606. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2607. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2608. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2609. , {col: "pagenum" , val: 23}
  2610. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2611. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2612. ]);
  2613. tranf_submit({
  2614. id: "TRPID20706"
  2615. , service: "aftjudgapp.PatClamDocuPrnt"
  2616. , method: "reqGetPatClamDocuPrntData5"
  2617. , inds: "req=ds_cond_TRPID20706"
  2618. , 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"
  2619. });
  2620. // 5. 보고서(첫장)로 데이터 보내기
  2621. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2622. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2623. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2624. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
  2625. //rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2626. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
  2627. trace( ds_temp_TRPID20706_diag.saveXML());
  2628. var objParam = new Object();
  2629. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2630. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2631. switch(preview) {
  2632. case "N": //바로 출력
  2633. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  2634. break;
  2635. case "Y": //미리보기
  2636. default:
  2637. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2638. break;
  2639. }
  2640. rptf_exeReportPreview30(["RPPID20710"],[objParam], option);
  2641. lf_printDelay(2);
  2642. // 6. 보고서(나머지)로 데이터 보내기
  2643. if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
  2644. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2645. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2646. rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
  2647. var objParam = new Object();
  2648. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2649. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2650. rptf_exeReportPreview30(["RPPID20711"],[objParam], option);
  2651. lf_printDelay(2);
  2652. }
  2653. }
  2654. /******************************************************************
  2655. * Argument : curRow, payflag
  2656. * Description : 비급여 환자청구명세서 출력
  2657. ******************************************************************/
  2658. function lf_PrintView6(curRow, payflag) {
  2659. // 노드 초기화
  2660. ds_temp_TRPID20706_main.clearData();
  2661. ds_temp_TRPID20706_amt.clearData();
  2662. ds_temp_TRPID20706_diag.clearData();
  2663. ds_temp_TRPID20706_prcp.clearData();
  2664. ds_temp_TRPID20706_prcpsub.clearData();
  2665. // 1. 비급여_메인 데이터 조회
  2666. // 2. 비급여_상병 목록 조회
  2667. // 3. 비급여_금액 조회
  2668. // 4. 비급여_처방 조회
  2669. //submit("TRPID20706");
  2670. var sInDs = dsf_createDsRow("ds_cond_TRPID20706"
  2671. , [{col: "clamym" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamym")}
  2672. , {col: "clamdg" , val: ds_grid_grd_clbsmast.getColumn(curRow, "clamdg")}
  2673. , {col: "pid" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pid")}
  2674. , {col: "pidsn" , val: ds_grid_grd_clbsmast.getColumn(curRow, "pidsn")}
  2675. , {col: "pagenum" , val: 23}
  2676. , {col: "chkflag" , val: payflag} // 급여/비급여/all 구분(pay / nopay / all)
  2677. , {col: "insukind" , val: ds_grid_grd_clbsmast.getColumn(curRow, "insukindcd")}
  2678. ]);
  2679. tranf_submit({
  2680. id: "TRPID20706"
  2681. , service: "aftjudgapp.PatClamDocuPrnt"
  2682. , method: "reqGetPatClamDocuPrntData5"
  2683. , inds: "req=ds_cond_TRPID20706"
  2684. , 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"
  2685. });
  2686. // 5. 보고서(첫장)로 데이터 보내기
  2687. var objDOM = rptf_createDOM(); // DOM 객체 설정
  2688. rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2689. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2690. rptf_setNodeListToDOM(objDOM, "root/send/report1/list3/amt", ds_temp_TRPID20706_amt); // 데이터셋 3
  2691. rptf_setNodeListToDOM(objDOM, "root/send/report1/list2/diag", ds_temp_TRPID20706_diag); // 데이터셋 2
  2692. rptf_setNodeListToDOM(objDOM, "root/send/report1/list4/prcp", ds_temp_TRPID20706_prcp); // 데이터셋 4
  2693. var objParam = new Object();
  2694. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2695. objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2696. switch(preview) {
  2697. case "N": //바로 출력
  2698. var option = "open=1;save=1;directprint=1;print=1;zoom=0;";
  2699. break;
  2700. case "Y": //미리보기
  2701. default:
  2702. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2703. break;
  2704. }
  2705. rptf_exeReportPreview30(["RPPID20712"],[objParam], option);
  2706. lf_printDelay(2);
  2707. // 6. 보고서(나머지)로 데이터 보내기
  2708. // if( !utlf_isNull(ds_temp_TRPID20706_prcpsub.getColumn(0, "sorting1") ) ) {
  2709. // var objDOM = rptf_createDOM(); // DOM 객체 설정
  2710. // rptf_setNodeListToDOM(objDOM, "root/send/report1/list1/main", ds_temp_TRPID20706_main); // 데이터셋 1
  2711. // rptf_setNodeListToDOM(objDOM, "root/send/report1/list5/prcp_sub", ds_temp_TRPID20706_prcpsub); // 데이터셋 5
  2712. //
  2713. // var objParam = new Object();
  2714. // objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2715. // objParam.xml_data_XML2 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  2716. //
  2717. // rptf_exeReportPreview30(["RPPID20713"],[objParam], option);
  2718. // lf_printDelay(2);
  2719. // }
  2720. }
  2721. /******************************************************************
  2722. * Argument :
  2723. * Description : 다음페이지 조회
  2724. ******************************************************************/
  2725. function lf_Nextpage()
  2726. {
  2727. if( !utlf_isNull(ds_grid_grd_clbsmast.getColumn(0, "pid") ) ) {
  2728. ds_grid_grd_clbsmast.clearData();
  2729. minRowNum += 500;
  2730. maxRowNum += 500;
  2731. var clamflagcd = Div00.cmb_clamflagcd.value;
  2732. if( clamflagcd == "-") {
  2733. clamflagcd = "";
  2734. }
  2735. var insukind = Div00.cmb_insukind.value;
  2736. if( insukind == "-") {
  2737. insukind = "";
  2738. }
  2739. //submit("TRPID20701");
  2740. var sInDs = dsf_createDsRow("ds_cond_TRPID20701"
  2741. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  2742. , {col: "clamdg" , val: Div00.cmb_clamdg.value }
  2743. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  2744. , {col: "clamflagcd" , val: clamflagcd }
  2745. , {col: "sumtypecd" , val: Div00.cmb_sumtypecd.value }
  2746. , {col: "insukind" , val: insukind }
  2747. , {col: "suppkind" , val: Div00.cmb_suppkind.value }
  2748. , {col: "srcflag" , val: Div00.cmb_srcflag.value }
  2749. , {col: "docuseqno1" , val: Div00.ipt_docuseqno1.value }
  2750. , {col: "docuseqno2" , val: Div00.ipt_docuseqno2.value }
  2751. , {col: "minrnum" , val: minRowNum }
  2752. , {col: "maxrnum" , val: maxRowNum }
  2753. , {col: "judgendyn" , val: Div00.bool_delyn.value }
  2754. , {col: "insucd" , val: Div00.cmb_insunm.value }
  2755. ]);
  2756. tranf_submit({
  2757. id: "TRPID20701"
  2758. , service: "aftjudgapp.PatClamDocuPrnt"
  2759. , method: "reqGetPatClamDocuPrntList"
  2760. , inds: "req=ds_cond_TRPID20701"
  2761. , outds: "ds_grid_grd_clbsmast=clbs"
  2762. });
  2763. }
  2764. }
  2765. /******************************************************************
  2766. * Argument :
  2767. * Description : 청구년월 달력 onchange 이벤트
  2768. ******************************************************************/
  2769. function lf_monthCalOnChange(){
  2770. //TRPID20407
  2771. var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
  2772. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  2773. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  2774. , {col: "insukind" , val: Div00.cmb_insukind.value}
  2775. ]);
  2776. tranf_submit({
  2777. id: "TRPID20407"
  2778. , service: "aftjudgapp.InAftJudgTrgtMan"
  2779. , method: "reqGetClamdg"
  2780. , inds: "req=ds_cond_TRPID20407"
  2781. , outds: "ds_init_cmb_clamdg=clamdg"
  2782. });
  2783. frmf_addComboItem("Div00.cmb_clamdg", "전체" , "0");
  2784. Div00.cmb_clamdg.value = 0;
  2785. }
  2786. /******************************************************************
  2787. * Argument : Grid
  2788. * Description : 그리드에서 컬럼을 고정시킨다.
  2789. ******************************************************************/
  2790. function lf_grid_stop(obj:Grid) {
  2791. for(i = 0; i < 6; i++) {
  2792. obj.setFormatColProperty(i, "band", "left");
  2793. }
  2794. }
  2795. /******************************************************************
  2796. * Argument : sec
  2797. * Description : 출력에 sec 초만큼의 딜레이를 둔다.
  2798. ******************************************************************/
  2799. function lf_printDelay(sec) {
  2800. sleep(sec * 1000);
  2801. }
  2802. //=======================================================================================
  2803. // Event
  2804. //---------------------------------------------------------------------------------------
  2805. /****************************************************************************************
  2806. * Components :
  2807. * Components ID : SMPID20700
  2808. * Event : onload
  2809. * Argument : 01.obj : Object Event has occurred
  2810. * : 02.e : Event Object
  2811. * Description :
  2812. ****************************************************************************************/
  2813. function SMPID20700_onload(obj:Form, e:LoadEventInfo)
  2814. {
  2815. frmf_initForm(obj); // 화면공통
  2816. lf_commoduleDataSetShow(); //DataSet 조회;
  2817. lf_monthCalOnChange(); //청구년월 달력 onchange 이벤트
  2818. Div00.cp_monthCal00.setCallEvent("lf_monthCalOnChange");
  2819. lf_Initialize(); // 화면을 초기화한다.
  2820. lf_CheckAuth(); // 화면 권한을 설정한다.
  2821. lf_grid_stop(grd_clbsmast); // 그리드에서 컬럼을 고정시킨다.
  2822. //그리드 정렬
  2823. grdf_setGridSort(grd_clbsmast);
  2824. }
  2825. /****************************************************************************************
  2826. * Components :
  2827. * Components ID : btn_search
  2828. * Event : onclick
  2829. * Argument : 01.obj : Object Event has occurred
  2830. * : 02.e : Event Object
  2831. * Description :
  2832. ****************************************************************************************/
  2833. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  2834. {
  2835. // 조회 클릭
  2836. lf_GetPatClamDocuPrntList();
  2837. }
  2838. /****************************************************************************************
  2839. * Components :
  2840. * Components ID : button4
  2841. * Event : onclick
  2842. * Argument : 01.obj : Object Event has occurred
  2843. * : 02.e : Event Object
  2844. * Description :
  2845. ****************************************************************************************/
  2846. function button4_onclick(obj:Button, e:ClickEventInfo)
  2847. {
  2848. if ( grp_instimg.visible == false ) {
  2849. grp_instimg.visible = true;
  2850. }
  2851. else {
  2852. grp_instimg.visible = false;
  2853. }
  2854. }
  2855. /****************************************************************************************
  2856. * Components :
  2857. * Components ID : button10
  2858. * Event : onclick
  2859. * Argument : 01.obj : Object Event has occurred
  2860. * : 02.e : Event Object
  2861. * Description :
  2862. ****************************************************************************************/
  2863. function button10_onclick(obj:Button, e:ClickEventInfo)
  2864. {
  2865. // 초기화
  2866. lf_InitSrchData();
  2867. }
  2868. /****************************************************************************************
  2869. * Components :
  2870. * Components ID : btn_print
  2871. * Event : onclick
  2872. * Argument : 01.obj : Object Event has occurred
  2873. * : 02.e : Event Object
  2874. * Description :
  2875. ****************************************************************************************/
  2876. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  2877. {
  2878. //하단 출력버튼
  2879. preview = "N";
  2880. lf_PrintView();
  2881. }
  2882. /****************************************************************************************
  2883. * Components :
  2884. * Components ID : button1
  2885. * Event : onclick
  2886. * Argument : 01.obj : Object Event has occurred
  2887. * : 02.e : Event Object
  2888. * Description :
  2889. ****************************************************************************************/
  2890. function button1_onclick(obj:Button, e:ClickEventInfo)
  2891. {
  2892. //하단 미리보기 버튼
  2893. preview = "Y";
  2894. lf_PrintView();
  2895. }
  2896. /****************************************************************************************
  2897. * Components :
  2898. * Components ID : button2
  2899. * Event : onclick
  2900. * Argument : 01.obj : Object Event has occurred
  2901. * : 02.e : Event Object
  2902. * Description :
  2903. ****************************************************************************************/
  2904. function button2_onclick(obj:Button, e:ClickEventInfo)
  2905. {
  2906. // 데이터를 가꼬와서 감챠논 그리드에 뿌리고 그 데이터를 엑셀로 저장할 수 있게 한다.
  2907. lf_GetPatClamAutoXlsList();
  2908. }
  2909. /****************************************************************************************
  2910. * Components :
  2911. * Components ID : button3
  2912. * Event : onclick
  2913. * Argument : 01.obj : Object Event has occurred
  2914. * : 02.e : Event Object
  2915. * Description :
  2916. ****************************************************************************************/
  2917. function button3_onclick(obj:Button, e:ClickEventInfo)
  2918. {
  2919. // 500건으로 조회 건수 제한
  2920. if ( ds_grid_grd_clbsmast.rowcount == 500 )
  2921. {
  2922. lf_Nextpage();
  2923. }
  2924. else {
  2925. sysf_messageBox("마지막 페이지", "E008"); //입니다.
  2926. }
  2927. }
  2928. /****************************************************************************************
  2929. * Components :
  2930. * Components ID : button5
  2931. * Event : onclick
  2932. * Argument : 01.obj : Object Event has occurred
  2933. * : 02.e : Event Object
  2934. * Description :
  2935. ****************************************************************************************/
  2936. function button5_onclick(obj:Button, e:ClickEventInfo)
  2937. {
  2938. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  2939. var chksel = 0;
  2940. var chkpay = 0;
  2941. var chkall = 0;
  2942. var isprnt = "";
  2943. // 출력체크 여부와 체크된 행을 저장해 둔다
  2944. for( i = 0 ; i < rowCnt ; i++) {
  2945. chksel += ds_grid_grd_clbsmast.getColumn(i, "chksel"); //급여 출력여부
  2946. chkpay += ds_grid_grd_clbsmast.getColumn(i, "chkpay"); //비급여 출력여부
  2947. chkall += ds_grid_grd_clbsmast.getColumn(i, "chkall"); //급여+비급여 출력여부
  2948. }
  2949. // 2. 출력
  2950. if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
  2951. for(i = 0 ; i < rowCnt ; i++) {
  2952. // 2-1. 급여 출력
  2953. if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
  2954. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  2955. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  2956. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  2957. switch(ioflag) {
  2958. case "-":
  2959. break;
  2960. case "I": //입원
  2961. if(insukind == "31") { // 자보(의과입원) 33
  2962. lf_Payment1(i, "pay");
  2963. }
  2964. else { // 일반(의과입원) 39
  2965. lf_Payment1(i, "pay"); // 일반 (의과입원)
  2966. }
  2967. break;
  2968. case "O": //외래
  2969. if(insukind == "31") { // 자보(의과외래)
  2970. lf_Payment2(i, "pay"); // 자보 (의과외래)
  2971. }
  2972. else { // 일반(의과외래) 39
  2973. lf_Payment2(i, "pay"); // 일반 (의과외래)
  2974. }
  2975. break;
  2976. default:
  2977. break;
  2978. }
  2979. }
  2980. // 2-2. 비급여 출력
  2981. if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) { //nopay
  2982. lf_Payment3(i, "nopay"); // 비급여
  2983. } //End if
  2984. //2-3. 급여+비급여 출력
  2985. if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) { //all
  2986. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  2987. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  2988. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  2989. switch(ioflag) {
  2990. case "-":
  2991. break;
  2992. case "I": //입원
  2993. if(insukind == "31") { // 자보(의과입원) 33
  2994. lf_Payment1(i, "all");
  2995. }
  2996. else { // 일반(의과입원) 39
  2997. lf_Payment1(i, "all");
  2998. }
  2999. break;
  3000. case "O": //외래
  3001. if(insukind == "31") { // 자보(의과외래)
  3002. lf_Payment2(i, "all"); // 자보 (의과외래)
  3003. }
  3004. else { // 일반(의과외래) 39
  3005. lf_Payment2(i, "all"); // 일반 (의과외래)
  3006. }
  3007. break;
  3008. default:
  3009. break;
  3010. }
  3011. } //End if
  3012. } //End for
  3013. } //End if
  3014. else {
  3015. sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
  3016. }
  3017. }
  3018. /****************************************************************************************
  3019. * Components :
  3020. * Components ID : button6
  3021. * Event : onclick
  3022. * Argument : 01.obj : Object Event has occurred
  3023. * : 02.e : Event Object
  3024. * Description :
  3025. ****************************************************************************************/
  3026. function button6_onclick(obj:Button, e:ClickEventInfo)
  3027. {
  3028. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  3029. var chksel = 0;
  3030. var chkpay = 0;
  3031. var chkall = 0;
  3032. // 출력체크 여부와 체크된 행을 저장해 둔다
  3033. for( i = 0 ; i < rowCnt ; i++) {
  3034. chksel += ds_grid_grd_clbsmast.getColumn(i, "chksel"); //급여 출력여부
  3035. chkpay += ds_grid_grd_clbsmast.getColumn(i, "chkpay"); //비급여 출력여부
  3036. chkall += ds_grid_grd_clbsmast.getColumn(i, "chkall"); //급여+비급여 출력여부
  3037. }
  3038. // 2. 출력
  3039. if( chksel > 0 || chkpay > 0 || chkall > 0 ) {
  3040. for(i = 0 ; i < rowCnt ; i++) {
  3041. // 2-1. 급여 출력
  3042. if( ds_grid_grd_clbsmast.getColumn(i, "chksel") == 1 ) {
  3043. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  3044. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  3045. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  3046. switch(ioflag) {
  3047. case "-":
  3048. break;
  3049. case "I": //입원
  3050. // 자보(의과입원) 33 , 일반(의과입원) 39
  3051. lf_AccidPayment1(i, "pay");
  3052. break;
  3053. case "O": //외래
  3054. // 자보(의과외래) 33, 일반(의과외래) 39
  3055. lf_AccidPayment2(i, "pay");
  3056. break;
  3057. default:
  3058. break;
  3059. }
  3060. } //End if
  3061. // 2-2. 비급여 출력
  3062. if( ds_grid_grd_clbsmast.getColumn(i, "chkpay") == 1 ) { //nopay
  3063. lf_AccidPayment3(i, "nopay");
  3064. } //End if
  3065. //2-3. 급여+비급여 출력
  3066. if( ds_grid_grd_clbsmast.getColumn(i, "chkall") == 1 ) { //all
  3067. // 내원형태, 보험유형에 맞는 명세서를 출력한다.
  3068. var ioflag = ds_grid_grd_clbsmast.getColumn(i, "ioflag");
  3069. var insukind = ds_grid_grd_clbsmast.getColumn(i, "insukindcd");
  3070. switch(ioflag) {
  3071. case "-":
  3072. break;
  3073. case "I": //입원
  3074. // 자보(의과입원) 33, 일반(의과입원) 39
  3075. lf_AccidPayment1(i, "all");
  3076. break;
  3077. case "O": //외래
  3078. // 자보(의과입원) 33, 일반(의과입원) 39
  3079. lf_AccidPayment2(i, "all"); // 자보 (의과외래)
  3080. break;
  3081. default:
  3082. break;
  3083. }
  3084. } //End if
  3085. } //End for
  3086. } //End if
  3087. else {
  3088. sysf_messageBox("출력할 환자 청구명세서가 선택되지", "E007"); //않았습니다.
  3089. }
  3090. }
  3091. /****************************************************************************************
  3092. * Components :
  3093. * Components ID : button7
  3094. * Event : onclick
  3095. * Argument : 01.obj : Object Event has occurred
  3096. * : 02.e : Event Object
  3097. * Description : 의료급여비용명세서
  3098. ****************************************************************************************/
  3099. // 의료급여비용명세서 버튼 사용 X
  3100. function button7_onclick(obj:Button, e:ClickEventInfo)
  3101. {
  3102. // 트랜잭션 타지 않음
  3103. //submit("TRPID20301");
  3104. // var sInDs = dsf_createDsRow("ds_cond_TRPID20301"
  3105. // , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  3106. // , {col: "clamdg" , val: Div00.cmb_clamdg.value}
  3107. // , {col: "pid" , val: ""}
  3108. // , {col: "pidsn" , val: ""}
  3109. // , {col: "workflag" , val: ""}
  3110. // , {col: "popupcallyn" , val: ""}
  3111. // , {col: "ioflag" , val: Div00.cmb_ioflag.value}
  3112. // , {col: "cutviewyn" , val: ""}
  3113. // , {col: "judgrid" , val: ""}
  3114. // , {col: "docuseqno" , val: ""}
  3115. // , {col: "ordfildcd" , val: Div00.cmb_sumtypecd.value}
  3116. // , {col: "orddeptcd" , val: ""}
  3117. // , {col: "clamflagcd" , val: ""}
  3118. // , {col: "acptno" , val: ""}
  3119. // ]);
  3120. //
  3121. // tranf_submit({
  3122. // id: "TRPID20301"
  3123. // , service: "aftjudgapp.InAftJudg"
  3124. // , method: "reqGetInAftJudgTrgtMan"
  3125. // , inds: "req=ds_cond_TRPID20301"
  3126. // , 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"
  3127. // });
  3128. //exeReportPreview("RFPID21000", "XMLSTR", "", "", "false", "", "", "", "", "","", "", "", "", "", "1", "");
  3129. var objDOM = rptf_createDOM(); // DOM 객체 설정
  3130. var objParam = new Object();
  3131. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상위노드 XML 스트링 추출
  3132. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  3133. rptf_exeReportPreview30(["RFPID21000"],[objParam], option);
  3134. lf_printDelay(2);
  3135. }
  3136. /****************************************************************************************
  3137. * Components :
  3138. * Components ID : btn_cancel
  3139. * Event : onclick
  3140. * Argument : 01.obj : Object Event has occurred
  3141. * : 02.e : Event Object
  3142. * Description :
  3143. ****************************************************************************************/
  3144. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  3145. {
  3146. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  3147. for(i = 0 ; i < rowCnt ; i++) {
  3148. ds_grid_grd_clbsmast.setColumn(i, "chksel", 0);
  3149. }
  3150. }
  3151. /****************************************************************************************
  3152. * Components :
  3153. * Components ID : btn_all
  3154. * Event : onclick
  3155. * Argument : 01.obj : Object Event has occurred
  3156. * : 02.e : Event Object
  3157. * Description :
  3158. ****************************************************************************************/
  3159. function btn_all_onclick(obj:Button, e:ClickEventInfo)
  3160. {
  3161. var rowCnt = ds_grid_grd_clbsmast.rowcount;
  3162. for(i = 0 ; i < rowCnt ; i++) {
  3163. ds_grid_grd_clbsmast.setColumn(i, "chksel", 1);
  3164. }
  3165. }
  3166. /****************************************************************************************
  3167. * Components :
  3168. * Components ID : btn_down
  3169. * Event : oncellclick
  3170. * Argument : 01.obj : Object Event has occurred
  3171. * : 02.e : Event Object
  3172. * Description :
  3173. ****************************************************************************************/
  3174. function btn_down_onclick(obj:Button, e:ClickEventInfo)
  3175. {
  3176. var curDate = Div00.cp_monthCal00.getData() + "01";
  3177. var nextMonth = utlf_addMonth( curDate, -1 );
  3178. Div00.cp_monthCal00.setData( nextMonth );
  3179. ds_init_cmb_clamdg.clearData();
  3180. // 청구년월에 대한 청구차수 조회
  3181. //TRPID20407
  3182. var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
  3183. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  3184. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  3185. , {col: "insukind" , val: Div00.cmb_insukind.value}
  3186. ]);
  3187. tranf_submit({
  3188. id: "TRPID20407"
  3189. , service: "aftjudgapp.InAftJudgTrgtMan"
  3190. , method: "reqGetClamdg"
  3191. , inds: "req=ds_cond_TRPID20407"
  3192. , outds: "ds_init_cmb_clamdg=clamdg"
  3193. });
  3194. // if( ds_init_clamdg.rowcount > 0 ) {
  3195. frmf_addComboItem("Div00.cmb_clamdg", "전체" , 0);
  3196. // }
  3197. Div00.cmb_clamdg.value = 0;
  3198. }
  3199. /****************************************************************************************
  3200. * Components :
  3201. * Components ID : btn_up
  3202. * Event : oncellclick
  3203. * Argument : 01.obj : Object Event has occurred
  3204. * : 02.e : Event Object
  3205. * Description :
  3206. ****************************************************************************************/
  3207. function btn_up_onclick(obj:Button, e:ClickEventInfo)
  3208. {
  3209. var curDate = Div00.cp_monthCal00.getData() + "01";
  3210. var nextMonth = utlf_addMonth( curDate, 1 );
  3211. Div00.cp_monthCal00.setData( nextMonth );
  3212. ds_init_cmb_clamdg.clearData();
  3213. // 청구년월에 대한 청구차수 조회
  3214. //TRPID20407
  3215. var sInDs = dsf_createDsRow("ds_cond_TRPID20407"
  3216. , [{col: "clamym" , val: Div00.cp_monthCal00.getData() }
  3217. , {col: "ioflag" , val: Div00.cmb_ioflag.value }
  3218. , {col: "insukind" , val: Div00.cmb_insukind.value}
  3219. ]);
  3220. tranf_submit({
  3221. id: "TRPID20407"
  3222. , service: "aftjudgapp.InAftJudgTrgtMan"
  3223. , method: "reqGetClamdg"
  3224. , inds: "req=ds_cond_TRPID20407"
  3225. , outds: "ds_init_cmb_clamdg=clamdg"
  3226. });
  3227. // if( ds_init_clamdg.rowcount > 0 ) {
  3228. frmf_addComboItem("Div00.cmb_clamdg", "전체", 0);
  3229. // }
  3230. Div00.cmb_clamdg.value = 0;
  3231. }
  3232. /****************************************************************************************
  3233. * Components :
  3234. * Components ID : button8
  3235. * Event : onclick
  3236. * Argument : 01.obj : Object Event has occurred
  3237. * : 02.e : Event Object
  3238. * Description :
  3239. ****************************************************************************************/
  3240. function button8_onclick(obj:Button, e:ClickEventInfo)
  3241. {
  3242. //그리드 상단 출력버튼
  3243. preview = "N";
  3244. lf_PrintView();
  3245. }
  3246. /****************************************************************************************
  3247. * Components :
  3248. * Components ID : Div00.cmb_insukind
  3249. * Event : onitemchanged
  3250. * Argument : 01.obj : Object Event has occurred
  3251. * : 02.e : Event Object
  3252. * Description :
  3253. ****************************************************************************************/
  3254. function Div00_cmb_insukind_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3255. {
  3256. if( utlf_isNull(obj.value)) {
  3257. Div00.cmb_suppkind.value = "-";
  3258. Div00.cmb_suppkind.enable = false;
  3259. }
  3260. else {
  3261. Div00.cmb_suppkind.enable = true;
  3262. if (obj.value == "01" || obj.value == "02"){
  3263. ds_init_suppkind.filter("");
  3264. Div00.cmb_suppkind.value = "-";
  3265. } else {
  3266. ds_init_suppkind.filter("up=='"+obj.value+"' || cd == '-'");
  3267. Div00.cmb_suppkind.value = "-";
  3268. }
  3269. }
  3270. if( obj.value == "31" ) {
  3271. Div00.cp_insucd.visible = true;
  3272. Div00.cmb_insunm.visible = true;
  3273. Div00.cmb_insunm.value = "-";
  3274. }
  3275. else {
  3276. Div00.cp_insucd.visible = false;
  3277. Div00.cmb_insunm.visible = false;
  3278. Div00.cmb_insunm.value = "";
  3279. }
  3280. // 집계구분
  3281. lf_InsukindChk();
  3282. }
  3283. /****************************************************************************************
  3284. * Components :
  3285. * Components ID : Div00.cmb_srcflag
  3286. * Event : onitemchanged
  3287. * Argument : 01.obj : Object Event has occurred
  3288. * : 02.e : Event Object
  3289. * Description :
  3290. ****************************************************************************************/
  3291. function Div00_cmb_srcflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3292. {
  3293. switch(obj.value) {
  3294. case "0": //전체
  3295. Div00.ipt_docuseqno1.enable = false;
  3296. Div00.ipt_docuseqno2.enable = false;
  3297. Div00.ipt_docuseqno1.value = "";
  3298. Div00.ipt_docuseqno2.value = "";
  3299. break;
  3300. case "1": //명번호
  3301. Div00.ipt_docuseqno1.enable = true;
  3302. Div00.ipt_docuseqno2.enable = true;
  3303. Div00.ipt_docuseqno1.value = "";
  3304. Div00.ipt_docuseqno2.value = "";
  3305. break;
  3306. case "2": //환자번호
  3307. Div00.ipt_docuseqno1.enable = true;
  3308. Div00.ipt_docuseqno2.enable = false;
  3309. Div00.ipt_docuseqno1.value = "";
  3310. Div00.ipt_docuseqno2.value = "";
  3311. break;
  3312. default:
  3313. Div00.ipt_docuseqno1.enable = false;
  3314. Div00.ipt_docuseqno2.enable = false;
  3315. break;
  3316. }
  3317. }
  3318. /****************************************************************************************
  3319. * Components :
  3320. * Components ID : Div00.ipt_docuseqno1
  3321. * Event : onkeydown
  3322. * Argument : 01.obj : Object Event has occurred
  3323. * : 02.e : Event Object
  3324. * Description :
  3325. ****************************************************************************************/
  3326. function Div00_ipt_docuseqno1_onkeydown(obj:Edit, e:KeyEventInfo)
  3327. {
  3328. if( e.keycode == 13 && Div00.cmb_srcflag.value == "1") { //명번호
  3329. var tmp_len = utlf_lPad(obj.value, 5, "0");
  3330. obj.value = tmp_len;
  3331. }
  3332. else if( e.keycode == 13 && Div00.cmb_srcflag.value == "2") { //환자번호
  3333. btn_search_onclick();
  3334. }
  3335. }
  3336. /****************************************************************************************
  3337. * Components :
  3338. * Components ID : Div00.ipt_docuseqno2
  3339. * Event : onkeydown
  3340. * Argument : 01.obj : Object Event has occurred
  3341. * : 02.e : Event Object
  3342. * Description :
  3343. ****************************************************************************************/
  3344. function Div00_ipt_docuseqno2_onkeydown(obj:Edit, e:KeyEventInfo)
  3345. {
  3346. if( e.keycode == 13 ) {
  3347. var tmp_len = utlf_lPad(obj.value, 5, "0");
  3348. obj.value = tmp_len;
  3349. btn_search_onclick();
  3350. }
  3351. }
  3352. /****************************************************************************************
  3353. * Components :
  3354. * Components ID : grp_instimg.button4
  3355. * Event : onclick
  3356. * Argument : 01.obj : Object Event has occurred
  3357. * : 02.e : Event Object
  3358. * Description : 직인 변경 버튼
  3359. ****************************************************************************************/
  3360. function grp_instimg_button4_onclick(obj:Button, e:ClickEventInfo)
  3361. {
  3362. // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  3363. // var arrFileList = frmf_openImageFileDialog(1048576);
  3364. // if( utlf_isNull(arrFileList) ) {
  3365. // return;
  3366. // }
  3367. // lf_ChangeImage(arrFileList);
  3368. var fd = new FileDialog;
  3369. var vFile = fd.open("FileOpen", FileDialog.LOAD);
  3370. var rtn = vFile.open(VirtualFile.openRead | VirtualFile.openBinary);
  3371. vFile.seek(0,VirtualFile.seekBegin);
  3372. var bData = new Buffer(vFile.read(vFile.getFileSize()));
  3373. if( ds_init_sealimg.rowcount < 1 ) {
  3374. ds_init_sealimg.addRow();
  3375. }
  3376. ds_init_sealimg.setColumn(0, "photimg", bData.data);
  3377. ds_init_sealimg.setColumn(0, "instcd", sysf_getSystemCd().substr(3,3));
  3378. var filepath = vFile.fullpath;
  3379. grp_instimg.ImageViewer00.image = filepath;
  3380. vFile.close();
  3381. }
  3382. /****************************************************************************************
  3383. * Components :
  3384. * Components ID : btn_excel
  3385. * Event : onclick
  3386. * Argument : 01.obj : Button
  3387. * : 02.e : ClickEventInfo
  3388. * Description : 엑셀저장 버튼
  3389. ****************************************************************************************/
  3390. function btn_excel_onclick(obj:Button, e:ClickEventInfo){
  3391. grdf_exportExcel(grd_clbsmast, "환자청구명세서", "환자청구명세서");
  3392. }
  3393. /****************************************************************************************
  3394. * Components :
  3395. * Components ID : SMPID20700
  3396. * Event : onkeydown
  3397. * Argument : 01.obj : Form
  3398. * : 02.e : KeyEventInfo
  3399. * Description : ESC 버튼 - 화면종료
  3400. ****************************************************************************************/
  3401. function SMPID20700_onkeyup(obj:Form, e:KeyEventInfo){
  3402. if(e.keycode == 27){
  3403. // keycode 27 : ESC
  3404. this.close();
  3405. }
  3406. }
  3407. // 보험유형 체크
  3408. function lf_InsukindChk(){
  3409. var insukind = Div00.cmb_insukind.value;
  3410. if (insukind == "52"){
  3411. ds_init_sumtypecd.clearData();
  3412. ds_init_P0458.filter("");
  3413. ds_init_sumtypecd.appendData(ds_init_P0458);
  3414. } else {
  3415. if ( insukind == "01" || insukind == "21"){
  3416. ds_init_sumtypecd.clearData();
  3417. ds_init_P0458.filter("insukind == '1' || insukind == '2'");
  3418. ds_init_sumtypecd.appendData(ds_init_P0458);
  3419. if (insukind != "01"){
  3420. var fRow = ds_init_sumtypecd.findRow("cdnm", "DRG");
  3421. ds_init_sumtypecd.deleteRow(fRow);
  3422. }
  3423. }
  3424. if ( insukind == "02"){
  3425. ds_init_sumtypecd.clearData();
  3426. ds_init_P0458.filter("insukind == '3' || insukind == '4'");
  3427. ds_init_sumtypecd.appendData(ds_init_P0458);
  3428. }
  3429. if ( insukind == "11"){
  3430. ds_init_sumtypecd.clearData();
  3431. ds_init_P0458.filter("insukind == '1'");
  3432. ds_init_sumtypecd.appendData(ds_init_P0458);
  3433. }
  3434. if ( insukind == "31"){
  3435. ds_init_sumtypecd.clearData();
  3436. ds_init_P0458.filter("insukind == '3'");
  3437. ds_init_sumtypecd.appendData(ds_init_P0458);
  3438. }
  3439. if ( insukind == "41"){
  3440. ds_init_sumtypecd.clearData();
  3441. ds_init_P0458.filter("insukind == '4'");
  3442. ds_init_sumtypecd.appendData(ds_init_P0458);
  3443. }
  3444. var iRow = ds_init_sumtypecd.insertRow(0);
  3445. ds_init_sumtypecd.setColumn(iRow, "cdid", "-");
  3446. ds_init_sumtypecd.setColumn(iRow, "cdnm", "전체");
  3447. }
  3448. Div00.cmb_sumtypecd.value = "-";
  3449. }
  3450. ]]></Script>
  3451. </Form>
  3452. </FDL>