SMMRC03000_사본신청발급.xfdl 184 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRC03000" position="absolute 0 0 1195 786" titletext="사본발행신청" oninit="SMMRC03000_oninit" onload="SMMRC03000_onload" style="align:center middle;" ontimer="SMMRC03000_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <CheckBox position="absolute 15 481 66 501" id="chk_addimageyn" visible="false" text="OCR포함" truevalue="Y" falsevalue="N"/>
  8. <Radio position="absolute 1044 662 1138 682" id="rdo_lang" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="right bottom">
  9. <Dataset id="innerdataset">
  10. <ColumnInfo>
  11. <Column id="codecolumn"/>
  12. <Column id="datacolumn"/>
  13. </ColumnInfo>
  14. <Rows>
  15. <Row>
  16. <Col id="codecolumn">K</Col>
  17. <Col id="datacolumn">한글</Col>
  18. </Row>
  19. <Row>
  20. <Col id="codecolumn">E</Col>
  21. <Col id="datacolumn">영문</Col>
  22. </Row>
  23. </Rows>
  24. </Dataset>
  25. </Radio>
  26. <Div position="absolute 0 600 420 695" id="group1">
  27. <Layouts>
  28. <Layout>
  29. <Div position="absolute 195 0 319 22" id="grp_bmt">
  30. <Layouts>
  31. <Layout>
  32. <Button position="absolute 3 2 100 21" id="button13" class="btn2" text="BMT 사본신청" anchor="default" visible="false"/>
  33. <CheckBox position="absolute 0 2 120 22" id="chk_bmt" text="BMT 사본신청유무" truevalue="Y" falsevalue="N" anchor="default" visible="false"/>
  34. </Layout>
  35. </Layouts>
  36. </Div>
  37. <Shape position="absolute 0 39 410 92" id="roundrect9" class="roundrect_btnset" type="roundrectangle"/>
  38. <Shape position="absolute 0 0 118 36" id="roundrect8" class="roundrect_btnset" type="roundrectangle"/>
  39. <CheckBox position="absolute 5 16 105 36" id="chk_prcpinfo" text="처방기록포함" truevalue="Y" falsevalue="N"/>
  40. <CheckBox position="absolute 105 55 205 75" id="chk_testinfo2" text="진단검사" truevalue="Y" falsevalue="N"/>
  41. <CheckBox position="absolute 205 55 305 75" id="chk_testinfo3" falsevalue="N" truevalue="Y" text="병리조직"/>
  42. <CheckBox position="absolute 305 55 405 75" id="chk_testinfo4" text="기능검사" falsevalue="N" truevalue="Y"/>
  43. <CheckBox position="absolute 105 72 205 92" id="chk_testinfo6" text="핵의학" falsevalue="N" truevalue="Y"/>
  44. <CheckBox position="absolute 5 72 105 92" id="chk_testinfo5" text="영상의학" falsevalue="N" truevalue="Y"/>
  45. <CheckBox position="absolute 205 72 305 92" id="chk_testinfo7" text="내시경" truevalue="Y" falsevalue="N"/>
  46. <CheckBox position="absolute 305 72 405 92" id="chk_testinfo8" falsevalue="N" text="미생물" truevalue="Y"/>
  47. <Static text="검사결과 상세신청내역" position="absolute 4 41 159 57" id="caption25" class="tit_2"/>
  48. <Static text="처방/검사 신청" position="absolute 4 2 116 18" id="caption26" class="tit_2"/>
  49. <CheckBox position="absolute 120 0 190 20" id="chk_testinfo_bak" visible="false" text="검사결과포함" falsevalue="N" truevalue="Y" onchanged="group1_chk_testinfo_bak_onchanged" value="N"/>
  50. <Button position="absolute 335 0 399 19" id="button9_bak" class="btn2" visible="false" text="기록조회" onclick="group1_button9_bak_onclick"/>
  51. <CheckBox position="absolute 175 16 290 36" id="chk_onlytest" text="검사결과만 신청" falsevalue="N" truevalue="Y"/>
  52. <CheckBox position="absolute 5 55 105 75" id="chk_testinfo" falsevalue="N" text="전체" truevalue="Y" onchanged="group1_chk_testinfo_onchanged"/>
  53. <CheckBox position="absolute 120 16 175 36" id="chk_testinfo1" text="초진" truevalue="Y" falsevalue="N" onchanged="group1_chk_testinfo1_onchanged"/>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Div position="absolute 728 15 1193 47" id="roundrect6" visible="false" type="roundrectangle" class="div_SA2"/>
  58. <Div position="absolute 0 210 425 308" id="roundrect1" class="div_SA" type="roundrectangle"/>
  59. <Div position="absolute 0 15 725 47" id="roundrect2" type="roundrectangle" class="div_SA"/>
  60. <Edit position="absolute 99 22 189 41" id="ipt_pid" class="input_search" onkeydown="ipt_pid_onkeydown" autoselect="true" autoskip="true"/>
  61. <Button position="absolute 355 24 371 40" id="btn_hngnm" class="icon_search" text="" onclick="btn_hngnm_onclick"/>
  62. <Edit position="absolute 264 22 350 41" id="ipt_hngnm" class="input_search" autoselect="true" onkeydown="ipt_hngnm_onkeydown"/>
  63. <Static text="성명 :" position="absolute 204 23 283 40" align="align:center middle;" id="caption17" class="search_name"/>
  64. <Static text="등록번호 :" position="absolute 11 23 97 40" align="align:center middle;" id="lbl_PID" class="search_name"/>
  65. <Edit position="absolute 559 21 631 40" id="input3" class="input_search" taborder="3" maxlength="6" autoskip="true" autoselect="true" onkeydown="input3_onkeydown"/>
  66. <Static text="주민등록번호 :" position="absolute 447 23 559 40" align="align:center middle;" id="caption8" class="search_name"/>
  67. <Edit position="absolute 633 21 712 40" id="input4" taborder="4" autoselect="true" autoskip="true" password="false" displaynulltext=" " maskchar=" " mask="" type="string" onkeydown="input4_onkeydown" class="input_search"/>
  68. <Static text="사본신청/발급" position="absolute 0 0 115 16" id="caption6" class="tit_1" visible="false" style="font:Dotum,8,bold;"/>
  69. <Static text="조회기간 :" position="absolute 748 24 831 41" align="align:center middle;" id="caption1" class="search_name" visible="false"/>
  70. <Static text="~" position="absolute 944 22 959 42" id="caption2" visible="false"/>
  71. <Calendar position="absolute 839 22 939 41" id="ipt_fromdd" visible="false"/>
  72. <Calendar position="absolute 961 22 1061 41" id="ipt_todd" visible="false"/>
  73. <Button position="absolute 1125 22 1181 42" id="btn_profhist" class="btn1" visible="false" text="조회" onclick="btn_profhist_onclick"/>
  74. <Shape position="absolute 1112 21 1122 46" linetype="vertical" id="line4" visible="false"/>
  75. <Static text="이전사본발행내역" position="absolute 0 55 125 71" id="caption38" class="tit_2"/>
  76. <Shape position="absolute 0 71 425 77" linetype="horizontal" id="line1" class="line_1"/>
  77. <Static text="사본발행 기본정보" position="absolute 0 193 129 209" id="caption3" class="tit_2"/>
  78. <Static text="사본발행&#13;&#10;신청인" position="absolute 5 213 69 260" align="align:center middle;" id="caption9" class="cell_1"/>
  79. <Static text="위임장/&#13;&#10; 동의서" position="absolute 321 213 382 260" align="align:center middle;" id="caption4" class="cell_1"/>
  80. <Radio position="absolute 385 213 421 260" align="align:center middle;" id="rdo_trustyn" columncount="1" codecolumn="codecolumn" datacolumn="datacolumn">
  81. <Dataset id="innerdataset">
  82. <ColumnInfo>
  83. <Column id="codecolumn"/>
  84. <Column id="datacolumn"/>
  85. </ColumnInfo>
  86. <Rows>
  87. <Row>
  88. <Col id="codecolumn">Y</Col>
  89. <Col id="datacolumn">유</Col>
  90. </Row>
  91. <Row>
  92. <Col id="codecolumn">N</Col>
  93. <Col id="datacolumn">무</Col>
  94. </Row>
  95. </Rows>
  96. </Dataset>
  97. </Radio>
  98. <Static text="사본발행목적" position="absolute 25 165 130 186" align="align:center middle;" id="caption5" class="cell_1"/>
  99. <Static text="사본발행 신청내역" position="absolute 0 310 130 326" id="caption7" class="tit_2"/>
  100. <Tab position="absolute 0 313 425 596" id="swc_prof" style="buttonbackground:stretch 0,0;background:stretch 0,0;">
  101. <Tabpages>
  102. <Tabpage text="" id="out">
  103. <Layouts>
  104. <Layout>
  105. <Grid position="absolute 1 28 421 267" id="grd_outpat" binddataset="ds_grd_outpat" cellclickbound="cell" oncellclick="swc_prof_out_grd_outpat_oncellclick">
  106. <Formats>
  107. <Format id="default">
  108. <Columns>
  109. <Column size="35"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="85"/>
  113. <Column size="0"/>
  114. <Column size="117"/>
  115. <Column size="0"/>
  116. <Column size="104"/>
  117. <Column size="61"/>
  118. </Columns>
  119. <Rows>
  120. <Row size="24" band="head"/>
  121. <Row size="24"/>
  122. </Rows>
  123. <Band id="head">
  124. <Cell displaytype="checkbox" edittype="checkbox" text="V"/>
  125. <Cell col="1" text="pid"/>
  126. <Cell col="2" text="cretno"/>
  127. <Cell col="3" text="진료일"/>
  128. <Cell col="4" text="orddeptcd"/>
  129. <Cell col="5" text="진료과"/>
  130. <Cell col="6" text="orddrid"/>
  131. <Cell col="7" text="진료의"/>
  132. <Cell col="8" text="내원구분"/>
  133. </Band>
  134. <Band id="body">
  135. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  136. <Cell col="1" text="bind:pid"/>
  137. <Cell col="2" text="bind:cretno"/>
  138. <Cell col="3" text="bind:orddd" mask="####-##-##"/>
  139. <Cell col="4" text="bind:orddeptcd"/>
  140. <Cell col="5" displaytype="normal" edittype="none" text="bind:orddeptnm"/>
  141. <Cell col="6" text="bind:orddrid"/>
  142. <Cell col="7" text="bind:orddrnm"/>
  143. <Cell col="8" displaytype="combo" edittype="none" text="bind:ordtype" combodataset="ds_init_grd_outpat_ordtype" combocodecol="value" combodatacol="label"/>
  144. </Band>
  145. </Format>
  146. </Formats>
  147. </Grid>
  148. <Div position="absolute 1 3 316 28" id="roundrect5" type="roundrectangle" class="div_SA2" visible="true"/>
  149. <Static text="종이차트 신청" position="absolute 4 4 109 25" align="align:center middle;" id="caption15" class="cell_1"/>
  150. <Radio position="absolute 166 5 310 25" id="rdo_outchrtflag" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  151. <Dataset id="innerdataset">
  152. <ColumnInfo>
  153. <Column id="codecolumn" size="256"/>
  154. <Column id="datacolumn" size="256"/>
  155. </ColumnInfo>
  156. <Rows>
  157. <Row>
  158. <Col id="codecolumn">02</Col>
  159. <Col id="datacolumn">접은부분</Col>
  160. </Row>
  161. <Row>
  162. <Col id="codecolumn">01</Col>
  163. <Col id="datacolumn">전체</Col>
  164. </Row>
  165. </Rows>
  166. </Dataset>
  167. </Radio>
  168. <Div position="absolute 113 3 160 26" id="roundrect7" class="div_SA2" type="roundrectangle"/>
  169. <Edit readonly="true" position="absolute 125 5 150 24" id="out_paperyn" style="background:#e2ecf3ff;border:0 none #808080ff ;"/>
  170. <Button position="absolute 342 6 422 26" id="button9" class="btn1" text="기록조회" onclick="swc_prof_out_button9_onclick"/>
  171. <Div id="roundrect6" taborder="1" class="div_SA2" position="absolute 1 3 339 28" type="roundrectangle">
  172. <Layouts>
  173. <Layout>
  174. <Calendar id="clnd_srchfromdd" taborder="4" dateformat="yyyy-MM-dd" position="absolute 86 3 174 21" anchor="default" type="normal" autoselect="false" editformat="yyyy-MM-dd" value="null" onchanged="swc_prof_out_roundrect6_clnd_srchfromdd_onchanged"/>
  175. <Calendar id="clnd_srchtodd" taborder="5" dateformat="yyyy-MM-dd" position="absolute 177 3 265 21" anchor="default" value="null" type="normal" autoselect="false" onchanged="swc_prof_out_roundrect6_clnd_srchtodd_onchanged"/>
  176. <Combo id="cmb_searchprd" taborder="6" position="absolute 269 3 335 22" anchor="default" index="2" value="90" text="3개월" innerdataset="@ds_cmb_searchprd" codecolumn="index" datacolumn="name" onitemchanged="swc_prof_out_roundrect6_cmb_searchprd_onitemchanged"/>
  177. <CheckBox id="chk_searchprd" taborder="7" text="조회기간" position="absolute 9 4 86 21" onclick="swc_prof_out_roundrect6_chk_searchprd_onclick"/>
  178. </Layout>
  179. </Layouts>
  180. </Div>
  181. </Layout>
  182. </Layouts>
  183. </Tabpage>
  184. <Tabpage text="" id="in">
  185. <Layouts>
  186. <Layout>
  187. <Static text="입원회차" position="absolute 2 1 77 17" id="caption21" class="tit_3"/>
  188. <Grid position="absolute 1 20 421 131" id="grd_inapplist" binddataset="ds_grd_inapplist" oncelldblclick="swc_prof_in_grd_inapplist_oncelldblclick">
  189. <Formats>
  190. <Format id="default">
  191. <Columns>
  192. <Column size="30"/>
  193. <Column size="76"/>
  194. <Column size="76"/>
  195. <Column size="100"/>
  196. <Column size="60"/>
  197. <Column size="58"/>
  198. <Column size="0"/>
  199. <Column size="0"/>
  200. <Column size="0"/>
  201. <Column size="0"/>
  202. </Columns>
  203. <Rows>
  204. <Row size="24" band="head"/>
  205. <Row size="24"/>
  206. </Rows>
  207. <Band id="head">
  208. <Cell/>
  209. <Cell col="1" text="입원일"/>
  210. <Cell col="2" text="퇴원일"/>
  211. <Cell col="3" text="진료과"/>
  212. <Cell col="4" text="전문의"/>
  213. <Cell col="5" text="내원구분"/>
  214. <Cell col="6" text="cretno"/>
  215. <Cell col="7" text="orddeptcd"/>
  216. <Cell col="8" text="atdoctid"/>
  217. <Cell col="9" text="indg"/>
  218. </Band>
  219. <Band id="body">
  220. <Cell displaytype="checkbox" edittype="checkbox" style="controlbackground:EXPR(swc_prof.in.grd_inapplist.getCellProperty(&quot;Body&quot;, self.col, &quot;edittype&quot;) == &quot;none&quot; ? &quot;silver&quot; : &quot;default&quot;);controlborder:EXPR(swc_prof.in.grd_inapplist.getCellProperty(&quot;Body&quot;, self.col, &quot;edittype&quot;) == &quot;none&quot; ? &quot;1 solid #708090cc&quot; : &quot;default&quot;);" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  221. <Cell col="1" text="bind:indd" mask="####-##-##"/>
  222. <Cell col="2" text="bind:dschdd" mask="####-##-##"/>
  223. <Cell col="3" text="bind:orddeptnm"/>
  224. <Cell col="4" text="bind:atdoctnm"/>
  225. <Cell col="5" displaytype="combo" edittype="none" text="bind:ioflag" combodataset="ds_init_ioflaglist_P0001" combocodecol="cdid" combodatacol="cdnm"/>
  226. <Cell col="6" text="bind:cretno"/>
  227. <Cell col="7" text="bind:orddeptcd"/>
  228. <Cell col="8" text="bind:atdoctid"/>
  229. <Cell col="9" text="bind:indg"/>
  230. </Band>
  231. </Format>
  232. </Formats>
  233. </Grid>
  234. <Shape position="absolute 0 16 421 22" linetype="horizontal" id="line6" class="line_1"/>
  235. <Static text="서식분류" position="absolute 2 133 77 149" id="caption10" class="tit_3"/>
  236. <Grid position="absolute 1 151 421 266" id="grd_inpat" binddataset="ds_grd_inpat" oncelldblclick="swc_prof_in_grd_inpat_oncelldblclick" cellclickbound="cell">
  237. <Formats>
  238. <Format id="default">
  239. <Columns>
  240. <Column size="30"/>
  241. <Column size="62"/>
  242. <Column size="206"/>
  243. <Column size="100"/>
  244. </Columns>
  245. <Rows>
  246. <Row size="24" band="head"/>
  247. <Row size="24"/>
  248. </Rows>
  249. <Band id="head">
  250. <Cell displaytype="checkbox" edittype="checkbox" text="V"/>
  251. <Cell col="1" text="회차"/>
  252. <Cell col="2" text="서식명"/>
  253. <Cell col="3" text="주치의"/>
  254. </Band>
  255. <Band id="body">
  256. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  257. <Cell col="1" text="bind:indg"/>
  258. <Cell col="2" text="bind:formnm"/>
  259. <Cell col="3" text="bind:atdoctnm"/>
  260. </Band>
  261. </Format>
  262. </Formats>
  263. </Grid>
  264. </Layout>
  265. </Layouts>
  266. </Tabpage>
  267. </Tabpages>
  268. </Tab>
  269. <TextArea position="absolute 0 715 424 758" id="txt_delivefact" anchor="left top bottom" style="font:Dotum,8;" wordwrap="char"/>
  270. <Button position="absolute 1 759 69 779" id="btn_reappinfo" class="btn4" text="재신청" onclick="btn_reappinfo_onclick" anchor="left bottom"/>
  271. <Button position="absolute 145 759 213 779" id="button3" class="btn4" text="초기화" onclick="button3_onclick" anchor="left bottom"/>
  272. <Button position="absolute 216 759 320 779" id="btn_update" class="btn4" text="신청내역수정" onclick="btn_update_onclick" anchor="left bottom"/>
  273. <Button position="absolute 321 759 425 779" id="btn_save" class="btn4" text="신청내역저장" onclick="btn_save_onclick" anchor="left bottom"/>
  274. <TextArea position="absolute 428 681 637 756" id="textarea2" anchor="left bottom" wordwrap="char"/>
  275. <Button position="absolute 430 759 510 779" id="button6" class="btn4" text="사유저장" onclick="button6_onclick" anchor="left bottom"/>
  276. <Button position="absolute 615 759 695 779" id="button7" class="btn4" text="사본출력" onclick="button7_onclick" anchor="left bottom"/>
  277. <Button position="absolute 1111 759 1191 779" id="button8" class="btn4" text="수가입력" onclick="button8_onclick" anchor="right bottom"/>
  278. <Edit readonly="true" position="absolute 375 22 435 41" id="ipt_sa" class="output_search" autoselect="true"/>
  279. <Static text="신청과" position="absolute 5 283 91 304" align="align:center middle;" id="caption12" class="cell_1"/>
  280. <Static text="신청의사" position="absolute 225 283 302 304" align="align:center middle;" id="caption13" class="cell_1"/>
  281. <Grid position="absolute 0 75 425 186" id="grd_apphist" binddataset="ds_grd_apphist" oncellclick="grd_apphist_oncellclick" onrbuttondown="grd_apphist_onrbuttondown">
  282. <Formats>
  283. <Format id="default">
  284. <Columns>
  285. <Column size="100"/>
  286. <Column size="0"/>
  287. <Column size="0"/>
  288. <Column size="81"/>
  289. <Column size="0"/>
  290. <Column size="0"/>
  291. <Column size="88"/>
  292. <Column size="0"/>
  293. <Column size="68"/>
  294. <Column size="80"/>
  295. <Column size="0"/>
  296. <Column size="96"/>
  297. <Column size="77"/>
  298. <Column size="0"/>
  299. <Column size="0"/>
  300. <Column size="0"/>
  301. <Column size="0"/>
  302. <Column size="0"/>
  303. <Column size="0"/>
  304. <Column size="0"/>
  305. <Column size="0"/>
  306. <Column size="0"/>
  307. <Column size="55"/>
  308. <Column size="55"/>
  309. <Column size="48"/>
  310. <Column size="0"/>
  311. <Column size="0"/>
  312. <Column size="0"/>
  313. </Columns>
  314. <Rows>
  315. <Row size="24" band="head"/>
  316. <Row size="24"/>
  317. </Rows>
  318. <Band id="head">
  319. <Cell text="발행번호"/>
  320. <Cell col="1" text="status"/>
  321. <Cell col="2" text="pid"/>
  322. <Cell col="3" text="신청일자"/>
  323. <Cell col="4" text="apptm"/>
  324. <Cell col="5" text="appdeptcd"/>
  325. <Cell col="6" text="신청과"/>
  326. <Cell col="7" text="appdrid"/>
  327. <Cell col="8" text="신청의"/>
  328. <Cell col="9" text="신청인"/>
  329. <Cell col="10" text="appmanflag"/>
  330. <Cell col="11" text="발행목적"/>
  331. <Cell col="12" text="발행일자"/>
  332. <Cell col="13" text="emrordflag"/>
  333. <Cell col="14" text="emrorddeptcd"/>
  334. <Cell col="15" text="emrappcopies"/>
  335. <Cell col="16" text="delivefact"/>
  336. <Cell col="17" text="memo"/>
  337. <Cell col="18" text="cncldt"/>
  338. <Cell col="19" text="prntdt"/>
  339. <Cell col="20" text="orddd"/>
  340. <Cell col="21" text="cretno"/>
  341. <Cell col="22" text="총매수"/>
  342. <Cell col="23" text="부수"/>
  343. <Cell col="24" text="위임장"/>
  344. <Cell col="25" text="copyseqno"/>
  345. <Cell col="26" text="bmtappyn"/>
  346. <Cell col="27"/>
  347. </Band>
  348. <Band id="body">
  349. <Cell text="bind:issno"/>
  350. <Cell col="1" text="bind:status"/>
  351. <Cell col="2" text="bind:pid"/>
  352. <Cell col="3" text="bind:appdd" mask="expr:utlf_isNull(appdd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  353. <Cell col="4" text="bind:apptm"/>
  354. <Cell col="5" text="bind:appdeptcd"/>
  355. <Cell col="6" text="bind:appdeptnm"/>
  356. <Cell col="7" text="bind:appdrid"/>
  357. <Cell col="8" text="bind:appdrnm"/>
  358. <Cell col="9" text="bind:appmannm"/>
  359. <Cell col="10" text="bind:appmanflag"/>
  360. <Cell col="11" displaytype="combo" edittype="none" text="bind:issgoalcd" combodataset="ds_init_issgoalcd_M0332" combocodecol="cdid" combodatacol="cdnm"/>
  361. <Cell col="12" text="bind:issdd" mask="expr:utlf_isNull(issdd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  362. <Cell col="13" text="bind:emrordflag"/>
  363. <Cell col="14" text="bind:emrorddeptcd"/>
  364. <Cell col="15" text="bind:emrappcopies"/>
  365. <Cell col="16" text="bind:delivefact"/>
  366. <Cell col="17" text="bind:memo"/>
  367. <Cell col="18" text="bind:cncldt"/>
  368. <Cell col="19" text="bind:prntdt"/>
  369. <Cell col="20" text="bind:orddd"/>
  370. <Cell col="21" text="bind:cretno"/>
  371. <Cell col="22" text="bind:totalcopies"/>
  372. <Cell col="23" text="bind:emrappcopies"/>
  373. <Cell col="24" text="bind:trustyn"/>
  374. <Cell col="25" text="bind:copyseqno"/>
  375. <Cell col="26" text="bind:bmtappyn"/>
  376. <Cell col="27" text="bind:issseqno"/>
  377. </Band>
  378. </Format>
  379. </Formats>
  380. </Grid>
  381. <Combo position="absolute 92 284 222 303" id="cmb_emrorddeptcd" innerdataset="@ds_init_cmb_emrorddeptcd" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_emrorddeptcd_onitemchanged"/>
  382. <Radio position="absolute 70 215 320 260" id="rdo_appmanflag" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" style="textpadding:0 8 0 3;font:Dotum,8;" onitemchanged="rdo_appmanflag_onitemchanged" rowcount="-1">
  383. <Dataset id="innerdataset">
  384. <ColumnInfo>
  385. <Column id="codecolumn" size="256"/>
  386. <Column id="datacolumn" size="256"/>
  387. </ColumnInfo>
  388. <Rows>
  389. <Row>
  390. <Col id="codecolumn">1</Col>
  391. <Col id="datacolumn">환자본인</Col>
  392. </Row>
  393. <Row>
  394. <Col id="codecolumn">2</Col>
  395. <Col id="datacolumn">직계가족</Col>
  396. </Row>
  397. <Row>
  398. <Col id="codecolumn">3</Col>
  399. <Col id="datacolumn">보험회사직원</Col>
  400. </Row>
  401. <Row>
  402. <Col id="codecolumn">4</Col>
  403. <Col id="datacolumn">대리인</Col>
  404. </Row>
  405. <Row>
  406. <Col id="codecolumn">5</Col>
  407. <Col id="datacolumn">없음</Col>
  408. </Row>
  409. <Row>
  410. <Col id="codecolumn">9</Col>
  411. <Col id="datacolumn">기타</Col>
  412. </Row>
  413. </Rows>
  414. </Dataset>
  415. </Radio>
  416. <Combo position="absolute 303 284 420 303" id="cmb_orddrid" innerdataset="ds_init_cmb_orddrid" datacolumn="usernm" codecolumn="userid"/>
  417. <Edit position="absolute 221 238 320 257" id="ipt_appmannm" enable="false"/>
  418. <Static text="비용 미수납사유" position="absolute 430 664 561 680" id="caption14" class="tit_2" anchor="left bottom"/>
  419. <Edit position="absolute 92 262 245 281" id="ipt_issgoalnm" readonly="true" onlbuttonup="ipt_issgoalnm_onlbuttonup"/>
  420. <Edit position="absolute 247 262 421 281" id="ipt_issgoaletc" enable="false"/>
  421. <Static text="기타 상세신청내역" position="absolute 0 698 152 714" id="caption24" class="tit_2"/>
  422. <Button position="absolute 1030 759 1110 779" id="button5" class="btn4" text="처방이력" onclick="button5_onclick" anchor="right bottom"/>
  423. <Static text="사본발행 수가입력" position="absolute 640 664 772 680" id="caption20" class="tit_2" anchor="left bottom"/>
  424. <Button position="absolute 5 262 91 281" id="btn_issgoal" class="btn2" text="사본발행목적" onclick="btn_issgoal_onclick"/>
  425. <Button position="absolute 130 190 233 209" id="btn_help" class="btn2" text="구비서류 도움말" onclick="btn_help_onclick"/>
  426. <Grid position="absolute 1201 341 1755 416" id="grd_tmprcptlist" visible="false" binddataset="ds_grd_tmprcptlist" anchor="default" useinputpanel="true">
  427. <Formats>
  428. <Format id="default">
  429. <Columns>
  430. <Column size="25"/>
  431. <Column size="84"/>
  432. <Column size="146"/>
  433. <Column size="176"/>
  434. <Column size="50"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. <Column size="0"/>
  440. <Column size="0"/>
  441. <Column size="0"/>
  442. <Column size="0"/>
  443. <Column size="0"/>
  444. <Column size="0"/>
  445. <Column size="0"/>
  446. <Column size="0"/>
  447. <Column size="0"/>
  448. <Column size="0"/>
  449. <Column size="50"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="0"/>
  453. </Columns>
  454. <Rows>
  455. <Row size="24" band="head"/>
  456. <Row size="24"/>
  457. </Rows>
  458. <Band id="head">
  459. <Cell/>
  460. <Cell col="1" text="상태"/>
  461. <Cell col="2" text="수가코드"/>
  462. <Cell col="3" text="수가명칭"/>
  463. <Cell col="4" text="매수"/>
  464. <Cell col="5" text="단가"/>
  465. <Cell col="6" text="수납상태"/>
  466. <Cell col="7" text="prcpdd"/>
  467. <Cell col="8" text="prcpno"/>
  468. <Cell col="9" text="prcphistno"/>
  469. <Cell col="10" text="pid"/>
  470. <Cell col="11" text="orddd"/>
  471. <Cell col="12" text="cretno"/>
  472. <Cell col="13" text="prcpqty"/>
  473. <Cell col="14" text="oldshtno"/>
  474. <Cell col="15" text="prcpcd"/>
  475. <Cell col="16" text="issseqno"/>
  476. <Cell col="17" text="copyseqno"/>
  477. <Cell col="18" text="issno"/>
  478. <Cell col="19" text="부수"/>
  479. <Cell col="20" text="oldprcptims"/>
  480. <Cell col="21" text="prcpflag"/>
  481. <Cell col="22" text="defyn"/>
  482. </Band>
  483. <Band id="body">
  484. <Cell/>
  485. <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd_M0011" combocodecol="cdid" combodatacol="cdnm"/>
  486. <Cell col="2" text="bind:calcscorcd"/>
  487. <Cell col="3" text="bind:calcscornm"/>
  488. <Cell col="4" displaytype="text" edittype="text" text="bind:shtno" mask="#,###"/>
  489. <Cell col="5" text="bind:unitcost"/>
  490. <Cell col="6" text="bind:rcptyn"/>
  491. <Cell col="7" text="bind:prcpdd"/>
  492. <Cell col="8" text="bind:prcpno"/>
  493. <Cell col="9" text="bind:prcphistno"/>
  494. <Cell col="10" text="bind:pid"/>
  495. <Cell col="11" text="bind:orddd"/>
  496. <Cell col="12" text="bind:cretno"/>
  497. <Cell col="13" text="bind:prcpqty"/>
  498. <Cell col="14" text="bind:oldshtno"/>
  499. <Cell col="15" text="bind:prcpcd"/>
  500. <Cell col="16" text="bind:issseqno"/>
  501. <Cell col="17" text="bind:copyseqno"/>
  502. <Cell col="18" text="bind:issno"/>
  503. <Cell col="19" displaytype="text" edittype="text" text="bind:prcptims"/>
  504. <Cell col="20" text="bind:oldprcptims"/>
  505. <Cell col="21" text="bind:prcpflag"/>
  506. <Cell col="22" text="bind:defyn"/>
  507. </Band>
  508. </Format>
  509. </Formats>
  510. </Grid>
  511. <Grid position="absolute 640 681 1194 756" id="grd_rcptlist" binddataset="ds_grd_rcptlist" onrbuttondown="grd_rcptlist_onrbuttondown" anchor="left right bottom">
  512. <Formats>
  513. <Format id="default">
  514. <Columns>
  515. <Column size="25"/>
  516. <Column size="84"/>
  517. <Column size="146"/>
  518. <Column size="176"/>
  519. <Column size="50"/>
  520. <Column size="0"/>
  521. <Column size="0"/>
  522. <Column size="0"/>
  523. <Column size="0"/>
  524. <Column size="0"/>
  525. <Column size="0"/>
  526. <Column size="0"/>
  527. <Column size="0"/>
  528. <Column size="0"/>
  529. <Column size="0"/>
  530. <Column size="0"/>
  531. <Column size="0"/>
  532. <Column size="0"/>
  533. <Column size="0"/>
  534. <Column size="50"/>
  535. <Column size="0"/>
  536. <Column size="0"/>
  537. <Column size="0"/>
  538. <Column size="0"/>
  539. </Columns>
  540. <Rows>
  541. <Row size="24" band="head"/>
  542. <Row size="24"/>
  543. </Rows>
  544. <Band id="head">
  545. <Cell/>
  546. <Cell col="1" text="상태"/>
  547. <Cell col="2" text="수가코드"/>
  548. <Cell col="3" text="수가명칭"/>
  549. <Cell col="4" text="매수"/>
  550. <Cell col="5" text="단가"/>
  551. <Cell col="6" text="수납상태"/>
  552. <Cell col="7" text="prcpdd"/>
  553. <Cell col="8" text="prcpno"/>
  554. <Cell col="9" text="prcphistno"/>
  555. <Cell col="10" text="pid"/>
  556. <Cell col="11" text="orddd"/>
  557. <Cell col="12" text="cretno"/>
  558. <Cell col="13" text="prcpqty"/>
  559. <Cell col="14" text="oldshtno"/>
  560. <Cell col="15" text="prcpcd"/>
  561. <Cell col="16" text="issseqno"/>
  562. <Cell col="17" text="copyseqno"/>
  563. <Cell col="18" text="issno"/>
  564. <Cell col="19" text="부수"/>
  565. <Cell col="20" text="oldprcptims"/>
  566. <Cell col="21" text="prcpflag"/>
  567. <Cell col="22" text="defyn"/>
  568. <Cell col="23" text="readonly"/>
  569. </Band>
  570. <Band id="body">
  571. <Cell/>
  572. <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_init_prcpstatcd_M0011" combocodecol="cdid" combodatacol="cdnm"/>
  573. <Cell col="2" style="align:left middle;" text="bind:calcscorcd" wordwrap="both"/>
  574. <Cell col="3" style="align:left middle;" text="bind:calcscornm" wordwrap="both"/>
  575. <Cell col="4" displaytype="number" edittype="expr:readonly == &quot;Y&quot; ? &quot;none&quot; : &quot;number&quot;" text="bind:shtno" mask="9,999"/>
  576. <Cell col="5" text="bind:unitcost"/>
  577. <Cell col="6" text="bind:rcptyn"/>
  578. <Cell col="7" text="bind:prcpdd"/>
  579. <Cell col="8" text="bind:prcpno"/>
  580. <Cell col="9" text="bind:prcphistno"/>
  581. <Cell col="10" text="bind:pid"/>
  582. <Cell col="11" text="bind:orddd"/>
  583. <Cell col="12" text="bind:cretno"/>
  584. <Cell col="13" text="bind:prcpqty"/>
  585. <Cell col="14" text="bind:oldshtno"/>
  586. <Cell col="15" text="bind:prcpcd"/>
  587. <Cell col="16" text="bind:issseqno"/>
  588. <Cell col="17" text="bind:copyseqno"/>
  589. <Cell col="18" text="bind:issno"/>
  590. <Cell col="19" displaytype="text" edittype="text" style="align:right middle;" text="bind:prcptims"/>
  591. <Cell col="20" text="bind:oldprcptims"/>
  592. <Cell col="21" text="bind:prcpflag"/>
  593. <Cell col="22" text="bind:defyn"/>
  594. <Cell col="23" text="bind:readonly"/>
  595. </Band>
  596. </Format>
  597. </Formats>
  598. </Grid>
  599. <MaskEdit position="absolute 950 759 990 778" align="align:right middle;" id="ipt_emrappcopies" class="input_default" mask="9,999" type="number" onkeyup="ipt_emrappcopies_onkeyup" autoselect="true" onkillfocus="ipt_emrappcopies_onkillfocus" anchor="right bottom"/>
  600. <Static text="신청부수" position="absolute 808 759 867 778" align="align:center middle;" id="caption28" class="cell_1" style="padding:0 0 0 0;align:center middle;" anchor="right bottom"/>
  601. <Static text="부" position="absolute 993 759 1018 778" align="align:center middle;" id="caption29" class="cell_1" style="padding:0 0 0 0;align:center middle;" anchor="right bottom"/>
  602. <Button position="absolute 1141 661 1194 680" id="btn_crtfct" class="btn2" text="증명서" onclick="btn_crtfct_onclick" anchor="right bottom"/>
  603. <Button position="absolute 770 661 856 680" id="btn_colorcalcscoryn" class="btn2" visible="false" text="컬러수가추가" onclick="btn_colorcalcscoryn_onclick" anchor="right bottom"/>
  604. <Button position="absolute 985 661 1038 680" id="btn_cnfm" class="btn2" text="승낙서" onclick="btn_cnfm_onclick" anchor="right bottom"/>
  605. <Button position="absolute 957 21 1021 40" id="btn_smaer00800" class="btn2" text="검사결과" onclick="btn_smaer00800_onclick"/>
  606. <Button position="absolute 1022 21 1086 40" id="btn_smmri00400" class="btn2" text="통합기록" onclick="btn_smmri00400_onclick"/>
  607. <Button position="absolute 794 21 869 40" id="button1" class="btn2" text="현위치조회" onclick="button1_onclick"/>
  608. <Button position="absolute 870 21 956 40" id="button2" class="btn2" text="차트대출이력" onclick="button2_onclick"/>
  609. <ActiveX position="absolute 740 35 750 45" id="obj_cvrt" progid="{341619d2-2ef9-4cac-a40e-b330c4c5f004}" visible="false"/>
  610. <Grid position="absolute 1199 74 1792 163" id="grd_outapplist" binddataset="ds_grd_outapplist" onrbuttondown="grd_outapplist_onrbuttondown" anchor="default" visible="false">
  611. <Formats>
  612. <Format id="default">
  613. <Columns>
  614. <Column size="25"/>
  615. <Column size="65"/>
  616. <Column size="70"/>
  617. <Column size="80"/>
  618. <Column size="72"/>
  619. <Column size="80"/>
  620. <Column size="87"/>
  621. <Column size="86"/>
  622. <Column size="0"/>
  623. <Column size="100"/>
  624. <Column size="87"/>
  625. <Column size="0"/>
  626. <Column size="0"/>
  627. <Column size="0"/>
  628. <Column size="0"/>
  629. <Column size="0"/>
  630. <Column size="0"/>
  631. <Column size="0"/>
  632. </Columns>
  633. <Rows>
  634. <Row size="24" band="head"/>
  635. <Row size="24"/>
  636. </Rows>
  637. <Band id="head">
  638. <Cell/>
  639. <Cell col="1" text="챠트구분"/>
  640. <Cell col="2" text="진료구분"/>
  641. <Cell col="3" text="진료일자"/>
  642. <Cell col="4" text="퇴원일자"/>
  643. <Cell col="5" text="진료과"/>
  644. <Cell col="6" text="주치의"/>
  645. <Cell col="7" text="기록일자"/>
  646. <Cell col="8" text="서식명"/>
  647. <Cell col="9" text="매수"/>
  648. <Cell col="10" text="서식코드"/>
  649. <Cell col="11" text="기록번호"/>
  650. <Cell col="12" text="진료과코드"/>
  651. <Cell col="13" text="진료의id"/>
  652. <Cell col="14" text="testflag"/>
  653. <Cell col="15" text="pid"/>
  654. <Cell col="16" text="cretno"/>
  655. <Cell col="17" text="midindxseq"/>
  656. </Band>
  657. <Band id="body">
  658. <Cell/>
  659. <Cell col="1" displaytype="combo" edittype="combo" text="bind:chrtflag" combodataset="ds_init_grd_chrtflag" combocodecol="value" combodatacol="label"/>
  660. <Cell col="2" displaytype="combo" edittype="combo" text="bind:ioflag" combodataset="ds_init_ioflaglist_P0001" combocodecol="cdid" combodatacol="cdnm"/>
  661. <Cell col="3" text="bind:orddd" mask="####-##-##"/>
  662. <Cell col="4" text="bind:dschdd" mask="####-##-##"/>
  663. <Cell col="5" text="bind:orddeptnm" mask="####-##-##"/>
  664. <Cell col="6" text="bind:atdoctnm"/>
  665. <Cell col="7" text="bind:formrecdt"/>
  666. <Cell col="8" text="bind:formnm" mask="####-##-## ##:##:##"/>
  667. <Cell col="9" text="bind:shtno"/>
  668. <Cell col="10" text="bind:formcd"/>
  669. <Cell col="11" text="bind:reckeyno"/>
  670. <Cell col="12" text="bind:orddeptcd"/>
  671. <Cell col="13" text="bind:atdoctid"/>
  672. <Cell col="14" text="bind:testflag"/>
  673. <Cell col="15" text="bind:pid"/>
  674. <Cell col="16" text="bind:cretno"/>
  675. <Cell col="17" text="bind:midindxseq"/>
  676. </Band>
  677. </Format>
  678. </Formats>
  679. </Grid>
  680. <Button position="absolute 630 50 705 69" id="button4" class="btn2" visible="false" text="병동위임장" onclick="button4_onclick"/>
  681. <CheckBox position="absolute 214 310 282 326" id="chk_anoinfo" text="타과기록" truevalue="Y" falsevalue="N" onchanged="chk_anoinfo_onchanged"/>
  682. <Grid position="absolute 1201 251 1755 316" id="datagrid1" visible="false" binddataset="ds_datagrid1" anchor="default" autofittype="col" autosizingtype="col" useinputpanel="true">
  683. <Formats>
  684. <Format id="default">
  685. <Columns>
  686. <Column size="10"/>
  687. <Column size="10"/>
  688. <Column size="10"/>
  689. <Column size="10"/>
  690. <Column size="10"/>
  691. <Column size="10"/>
  692. <Column size="10"/>
  693. <Column size="10"/>
  694. <Column size="10"/>
  695. <Column size="10"/>
  696. <Column size="10"/>
  697. </Columns>
  698. <Rows>
  699. <Row size="24" band="head"/>
  700. <Row size="24"/>
  701. </Rows>
  702. <Band id="head">
  703. <Cell/>
  704. <Cell col="1" text="caption1"/>
  705. <Cell col="2" text="caption2"/>
  706. <Cell col="3" text="caption3"/>
  707. <Cell col="4" text="caption4"/>
  708. <Cell col="5" text="caption5"/>
  709. <Cell col="6" text="caption6"/>
  710. <Cell col="7" text="caption7"/>
  711. <Cell col="8" text="caption8"/>
  712. <Cell col="9" text="caption9"/>
  713. <Cell col="10" text="caption10"/>
  714. </Band>
  715. <Band id="body">
  716. <Cell/>
  717. <Cell col="1" text="bind:pid"/>
  718. <Cell col="2" text="bind:signno"/>
  719. <Cell col="3" text="bind:reckind"/>
  720. <Cell col="4" text="bind:readprtflag"/>
  721. <Cell col="5" text="bind:formcd"/>
  722. <Cell col="6" text="bind:signflag"/>
  723. <Cell col="7" text="bind:orddd"/>
  724. <Cell col="8" text="bind:chosflag"/>
  725. <Cell col="9" text="bind:refusge"/>
  726. <Cell col="10" text="bind:refremark"/>
  727. </Band>
  728. </Format>
  729. </Formats>
  730. </Grid>
  731. <Grid position="absolute 1201 171 1611 241" id="grd_emrapplist" binddataset="ds_grd_emrapplist" oncellclick="grd_emrapplist_oncellclick" anchor="default" visible="false" useinputpanel="true">
  732. <Formats>
  733. <Format id="default">
  734. <Columns>
  735. <Column size="30"/>
  736. <Column size="80"/>
  737. <Column size="190"/>
  738. <Column size="100"/>
  739. <Column size="0"/>
  740. <Column size="0"/>
  741. <Column size="0"/>
  742. <Column size="0"/>
  743. <Column size="0"/>
  744. <Column size="0"/>
  745. <Column size="0"/>
  746. <Column size="0"/>
  747. <Column size="0"/>
  748. <Column size="0"/>
  749. <Column size="0"/>
  750. <Column size="0"/>
  751. </Columns>
  752. <Rows>
  753. <Row size="24" band="head"/>
  754. <Row size="24"/>
  755. </Rows>
  756. <Band id="head">
  757. <Cell text="V"/>
  758. <Cell col="1" text="회차"/>
  759. <Cell col="2" text="서식명"/>
  760. <Cell col="3" text="주치의"/>
  761. <Cell col="4" text="chrtflag"/>
  762. <Cell col="5" text="ioflag"/>
  763. <Cell col="6" text="orddd"/>
  764. <Cell col="7" text="indd"/>
  765. <Cell col="8" text="dschdd"/>
  766. <Cell col="9" text="orddeptnm"/>
  767. <Cell col="10" text="formrecdt"/>
  768. <Cell col="11" text="shtno"/>
  769. <Cell col="12" text="formcd"/>
  770. <Cell col="13" text="reckeyno"/>
  771. <Cell col="14" text="orddeptcd"/>
  772. <Cell col="15" text="atdoctid"/>
  773. </Band>
  774. <Band id="body">
  775. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  776. <Cell col="1" text="bind:indg"/>
  777. <Cell col="2" style="align:left;" text="bind:formnm"/>
  778. <Cell col="3" text="bind:atdoctnm"/>
  779. <Cell col="4" displaytype="combo" edittype="combo" text="bind:chrtflag" combodataset="ds_init_grd_chrtflag" combocodecol="value" combodatacol="label"/>
  780. <Cell col="5" displaytype="combo" edittype="combo" text="bind:ioflag" combodataset="ds_init_ioflaglist_P0001" combocodecol="cdid" combodatacol="cdnm"/>
  781. <Cell col="6" text="bind:orddd" mask="####-##-##"/>
  782. <Cell col="7" text="bind:indd" mask="####-##-##"/>
  783. <Cell col="8" text="bind:dschdd" mask="####-##-##"/>
  784. <Cell col="9" text="bind:orddeptnm"/>
  785. <Cell col="10" text="bind:formrecdt" mask="####-##-## ##:##:##"/>
  786. <Cell col="11" text="bind:shtno"/>
  787. <Cell col="12" text="bind:formcd"/>
  788. <Cell col="13" text="bind:reckeyno"/>
  789. <Cell col="14" text="bind:orddeptcd"/>
  790. <Cell col="15" text="bind:atdoctid"/>
  791. </Band>
  792. </Format>
  793. </Formats>
  794. </Grid>
  795. <Static text="사본발행신청" position="absolute 0 0 115 16" id="caption22" class="tit_1"/>
  796. <Button position="absolute 729 21 793 40" id="btn_pathist" class="btn2" visible="true" text="수진이력" onclick="btn_pathist_onclick"/>
  797. <Button position="absolute 858 661 911 680" id="button10" class="btn2" text="초기화" onclick="button10_onclick" anchor="right bottom"/>
  798. <MaskEdit position="absolute 870 759 910 778" align="align:right middle;" id="input1" class="input_default" mask="9,999" onkeyup="input1_onkeyup" autoselect="true" onkillfocus="input1_onkillfocus" anchor="right bottom"/>
  799. <Static text="/" position="absolute 940 756 950 781" id="caption11" anchor="right bottom"/>
  800. <Button position="absolute 640 759 696 779" id="button11" class="btn4" visible="false" text="계산" onclick="button11_onclick" anchor="left bottom"/>
  801. <Static text="매" position="absolute 913 759 938 778" align="align:center middle;" id="caption16" class="cell_1" style="padding:0 0 0 0;align:center middle;" anchor="right bottom"/>
  802. <Button position="absolute 321 694 425 714" id="button12" class="btn4" text="상세내역추가" onclick="button12_onclick"/>
  803. <TextArea align="align:right middle;" id="txt_rcptpossynmsg" position2="absolute l:170 w:255 t:50 h:21" positiontype="position2" style="padding:0 0 0 0;background:#ffff00ff;border:2 solid #ff0000ff ;color:#ff0000ff;align:right middle;font:Dotum,11,bold;" readonly="true" wordwrap="none" selectscrollmode="scroll"/>
  804. <Static text="신청내역건수:" position="absolute 190 698 275 713" id="caption18" visible="false"/>
  805. <Edit readonly="true" position="absolute 270 693 300 712" id="output1" visible="false"/>
  806. <ActiveX position="absolute 0 0 0 0" id="f_View" progid="{26a5a05a-2193-4ee2-a064-f04d3c37705a}"/>
  807. <Button id="btn_out" taborder="5" text="외래" anchor="default" position="absolute 290 309 357 329" positiontype="position" class="btn_sw" onclick="btn_out_onclick"/>
  808. <Button id="btn_in" taborder="6" text="입원" class="btn_sw" anchor="default" position="absolute 357 309 424 329" positiontype="position" onclick="btn_in_onclick"/>
  809. <PopupMenu id="popupmenu" innerdataset="@ds_popupmenu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" position="absolute 1200 0 1314 42" onmenuclick="popupmenu_onmenuclick"/>
  810. <PopupMenu id="popupmenu00" innerdataset="@ds_init_copy_menu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="popupmenu00_onmenuclick" position="absolute 1200 680 1314 744"/>
  811. <Button id="btn_recepinfo" taborder="7" text="안내장" class="btn2" position="absolute 929 661 982 680" onclick="btn_recepinfo_onclick" anchor="right bottom"/>
  812. <CheckBox id="chk_recepinfo" taborder="8" position="absolute 913 660 929 680" truevalue="Y" falsevalue="N" anchor="right bottom"/>
  813. <Div position="absolute 427 70 1195 647" id="iviewerIemr" url="emr_imgemrxp::SSMRC03130.xfdl" anchor="all"/>
  814. <Button id="button15" taborder="9" text="위임장" class="btn2" position="absolute 1087 21 1140 40" visible="false" onclick="button15_onclick"/>
  815. <Button id="button14" taborder="10" text="동의서" onclick="button14_onclick" class="btn2" visible="false" position="absolute 1141 21 1194 40"/>
  816. <Static id="cap_infomsg" text="※ 비밀보호환자" position="absolute 434 51 547 67" style="color:red;font:Dotum,9,bold;" visible="false"/>
  817. <CheckBox id="chx_pagingyn" taborder="13" text="Paging" value="N" truevalue="Y" falsevalue="N" visible="false" position="absolute 245 189 308 209"/>
  818. <Combo id="cmb_histprntyn" taborder="14" position="absolute 324 189 424 209" onitemchanged="cmb_histprntyn_onitemchanged" value="N" index="-1" text="최종본(현행)" codecolumn="codecolumn" datacolumn="datacolumn">
  819. <Dataset id="innerdataset">
  820. <ColumnInfo>
  821. <Column id="codecolumn" size="256"/>
  822. <Column id="datacolumn" size="256"/>
  823. </ColumnInfo>
  824. <Rows>
  825. <Row>
  826. <Col id="codecolumn">N</Col>
  827. <Col id="datacolumn">최종본(현행)</Col>
  828. </Row>
  829. <Row>
  830. <Col id="codecolumn">D</Col>
  831. <Col id="datacolumn">최종본(날짜)</Col>
  832. </Row>
  833. <Row>
  834. <Col id="codecolumn">Y</Col>
  835. <Col id="datacolumn">이력(숫자)</Col>
  836. </Row>
  837. <Row>
  838. <Col id="codecolumn">T</Col>
  839. <Col id="datacolumn">이력(날짜)</Col>
  840. </Row>
  841. </Rows>
  842. </Dataset>
  843. </Combo>
  844. <Static id="cap_issinfo" position="absolute 732 49 1189 65" anchor="left top right" style="color:red;font:Dotum,9,bold;"/>
  845. <Static id="caption30" text="원" class="cell_1" position="absolute 774 759 799 778" anchor="right bottom" style="padding:0 0 0 0;align:center middle;" align="align:center middle;"/>
  846. <Static id="caption31" text="/" position="absolute 801 756 811 781" anchor="right bottom"/>
  847. <MaskEdit id="ipt_cost" taborder="14" position="absolute 699 759 771 778" mask="9,999" autoselect="true" anchor="right bottom"/>
  848. </Layout>
  849. </Layouts>
  850. <Objects>
  851. <Dataset id="ds_grd_outpat" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_outpat_oncolumnchanged">
  852. <ColumnInfo>
  853. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  854. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  855. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  856. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  857. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  858. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  859. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  860. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  861. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  862. <Column id="emrflag" type="STRING" size="256" sumtext="구수진구분"/>
  863. <Column id="bfopentest" type="STRING" size="256" sumtext="nU open 이전 미시행검사처방있는 수진"/>
  864. </ColumnInfo>
  865. </Dataset>
  866. <Dataset id="ds_grd_inapplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_inapplist_oncolumnchanged">
  867. <ColumnInfo>
  868. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  869. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  870. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  871. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  872. <Column id="atdoctnm" type="STRING" size="256" sumtext="진료의명"/>
  873. <Column id="ioflag" type="STRING" size="256" sumtext="진료형태"/>
  874. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  875. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  876. <Column id="atdoctid" type="STRING" size="256" sumtext="진료의ID"/>
  877. <Column id="indg" type="STRING" size="256" sumtext="회차"/>
  878. <Column id="emrflag" type="STRING" size="256" sumtext="구수진구분"/>
  879. <Column id="bfopentest" type="STRING" size="256" sumtext="nU 오픈이전 미시행 검사 처방있는 수진"/>
  880. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  881. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  882. </ColumnInfo>
  883. </Dataset>
  884. <Dataset id="ds_grd_inpat" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_inpat_oncolumnchanged">
  885. <ColumnInfo>
  886. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  887. <Column id="indg" type="STRING" size="256" sumtext="회차"/>
  888. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  889. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  890. <Column id="supitemindxseq" type="STRING" size="256" sumtext="superindex"/>
  891. <Column id="midindxseq" type="STRING" size="256" sumtext="midindxseq"/>
  892. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  893. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  894. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  895. <Column id="chosflag" type="STRING" size="256" sumtext="ioflag"/>
  896. <Column id="ordtype" type="STRING" size="256" sumtext="ordtype"/>
  897. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  898. <Column id="formcd" type="STRING" size="256" sumtext="formcd"/>
  899. <Column id="treatno" type="STRING" size="256" sumtext="treatno"/>
  900. <Column id="cnt" type="STRING" size="256" sumtext="cnt"/>
  901. <Column id="sortno" type="INT" size="256" sumtext="순서"/>
  902. <Column id="emrflag" type="STRING" size="256" sumtext="영상구분"/>
  903. <Column id="reckind" type="STRING" size="256" sumtext="구영상구분"/>
  904. <Column id="lisflag" type="STRING" size="256" sumtext="검사구분"/>
  905. <Column id="midbftest" type="STRING" size="256" sumtext="미시행검사결과가 존재하는 중분류"/>
  906. </ColumnInfo>
  907. </Dataset>
  908. <Dataset id="ds_grd_apphist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  909. <ColumnInfo>
  910. <Column id="issno" type="STRING" size="256" sumtext="발행번호"/>
  911. <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
  912. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  913. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  914. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  915. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청과"/>
  916. <Column id="appdeptnm" type="STRING" size="256" sumtext="신청과"/>
  917. <Column id="appdrid" type="STRING" size="256" sumtext="선청자ID"/>
  918. <Column id="appdrnm" type="STRING" size="256" sumtext="신청의명"/>
  919. <Column id="appmannm" type="STRING" size="256" sumtext="신청인명"/>
  920. <Column id="appmanflag" type="STRING"/>
  921. <Column id="issgoalcd" type="STRING" size="256" sumtext="사본발행목적코드"/>
  922. <Column id="issdd" type="STRING" size="256" sumtext="발행일자"/>
  923. <Column id="emrordflag" type="STRING" size="256" sumtext="내원구분"/>
  924. <Column id="emrorddeptcd" type="STRING"/>
  925. <Column id="emrappcopies" type="STRING" size="256" sumtext="부수"/>
  926. <Column id="delivefact" type="STRING"/>
  927. <Column id="memo" type="STRING"/>
  928. <Column id="cncldt" type="STRING"/>
  929. <Column id="prntdt" type="STRING"/>
  930. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  931. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  932. <Column id="totalcopies" type="STRING" size="256" sumtext="총매수"/>
  933. <Column id="trustyn" type="STRING" size="256" sumtext="위임장/인감유자무"/>
  934. <Column id="copyseqno" type="STRING" size="256" sumtext="사본발행신청"/>
  935. <Column id="bmtappyn" type="STRING" size="256" sumtext="BMT사본신청여부"/>
  936. <Column id="issseqno" type="STRING" size="256" sumtext="발행SEQ번호"/>
  937. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  938. <Column id="copies" type="STRING" size="256" sumtext="매수"/>
  939. <Column id="paylater" type="STRING" size="256" sumtext="후불수납여부"/>
  940. </ColumnInfo>
  941. </Dataset>
  942. <Dataset id="ds_init_cmb_emrorddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  943. <ColumnInfo>
  944. <Column id="depthngnm" type="STRING"/>
  945. <Column id="deptcd" type="STRING"/>
  946. </ColumnInfo>
  947. </Dataset>
  948. <Dataset id="ds_init_cmb_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" filterstr="userid != '11111'">
  949. <ColumnInfo>
  950. <Column id="usernm" type="STRING"/>
  951. <Column id="userid" type="STRING"/>
  952. </ColumnInfo>
  953. </Dataset>
  954. <Dataset id="ds_grd_tmprcptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  955. <ColumnInfo>
  956. <Column id="prcpstatcd" type="STRING"/>
  957. <Column id="calcscorcd" type="STRING"/>
  958. <Column id="calcscornm" type="STRING"/>
  959. <Column id="shtno" type="STRING"/>
  960. <Column id="unitcost" type="STRING"/>
  961. <Column id="rcptyn" type="STRING"/>
  962. <Column id="prcpdd" type="STRING"/>
  963. <Column id="prcpno" type="STRING"/>
  964. <Column id="prcphistno" type="STRING"/>
  965. <Column id="pid" type="STRING"/>
  966. <Column id="orddd" type="STRING"/>
  967. <Column id="cretno" type="STRING"/>
  968. <Column id="prcpqty" type="STRING"/>
  969. <Column id="oldshtno" type="STRING"/>
  970. <Column id="prcpcd" type="STRING"/>
  971. <Column id="issseqno" type="STRING"/>
  972. <Column id="copyseqno" type="STRING"/>
  973. <Column id="issno" type="STRING"/>
  974. <Column id="prcptims" type="STRING"/>
  975. <Column id="oldprcptims" type="STRING"/>
  976. <Column id="prcpflag" type="STRING"/>
  977. <Column id="defyn" type="STRING"/>
  978. </ColumnInfo>
  979. </Dataset>
  980. <Dataset id="ds_grd_rcptlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="false" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_rcptlist_oncolumnchanged">
  981. <ColumnInfo>
  982. <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방이력코드"/>
  983. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  984. <Column id="calcscornm" type="STRING" size="256" sumtext="수가명칭"/>
  985. <Column id="shtno" type="INT" size="256" sumtext="매수"/>
  986. <Column id="unitcost" type="BIGDECIMAL" size="256" sumtext="단가"/>
  987. <Column id="rcptyn" type="STRING" size="256" sumtext="수납상태"/>
  988. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  989. <Column id="prcpno" type="INT" size="256" sumtext="처방번호"/>
  990. <Column id="prcphistno" type="INT" size="256" sumtext="처방이력번호"/>
  991. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  992. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  993. <Column id="cretno" type="INT" size="256" sumtext="원무생성일자"/>
  994. <Column id="prcpqty" type="INT" size="256" sumtext="수량"/>
  995. <Column id="oldshtno" type="INT" size="256" sumtext="매수"/>
  996. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  997. <Column id="issseqno" type="BIGDECIMAL" size="256" sumtext="발행번호"/>
  998. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="발행신청번호"/>
  999. <Column id="issno" type="STRING" size="256" sumtext="발행연번호"/>
  1000. <Column id="prcptims" type="INT" size="256" sumtext="부수"/>
  1001. <Column id="oldprcptims" type="INT" size="256" sumtext="부수"/>
  1002. <Column id="prcpflag" type="INT" size="256" sumtext="부수"/>
  1003. <Column id="defyn" type="STRING"/>
  1004. <Column id="m" type="STRING" size="256" sumtext="상태"/>
  1005. <Column id="readonly" type="STRING" size="256"/>
  1006. </ColumnInfo>
  1007. </Dataset>
  1008. <Dataset id="ds_grd_outapplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1009. <ColumnInfo>
  1010. <Column id="chrtflag" type="STRING" size="256" sumtext="챠트구분"/>
  1011. <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
  1012. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1013. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1014. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1015. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  1016. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일자"/>
  1017. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  1018. <Column id="sortno" type="STRING" size="256" sumtext="sortno"/>
  1019. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  1020. <Column id="formrecextnnm" type="STRING" size="256" sumtext="부제목"/>
  1021. <Column id="formrecseq" type="BIGDECIMAL" size="256" sumtext="서식기록순번"/>
  1022. <Column id="reckeyno" type="BIGDECIMAL" size="256" sumtext="기록번호"/>
  1023. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과명"/>
  1024. <Column id="atdoctid" type="STRING"/>
  1025. <Column id="atdoctid" type="STRING"/>
  1026. <Column id="testflag" type="STRING" size="256" sumtext="testflag"/>
  1027. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1028. <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
  1029. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1030. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  1031. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  1032. <Column id="appseq" type="INT" size="256" sumtext="신청순번"/>
  1033. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  1034. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1035. <Column id="testorddd" type="STRING" size="256" sumtext="testorddd"/>
  1036. <Column id="testcretno" type="INT" size="256" sumtext="testcretno"/>
  1037. <Column id="testorddeptcd" type="STRING" size="256" sumtext="testorddeptcd"/>
  1038. <Column id="testioflag" type="STRING" size="256" sumtext="testioflag"/>
  1039. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  1040. <Column id="supitemindxseq" type="STRING"/>
  1041. <Column id="midindxseq" type="STRING"/>
  1042. <Column id="chrtseqno" type="INT" size="256" sumtext="신청순번"/>
  1043. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
  1044. </ColumnInfo>
  1045. </Dataset>
  1046. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1047. <ColumnInfo>
  1048. <Column id="pid" type="STRING"/>
  1049. <Column id="signno" type="STRING"/>
  1050. <Column id="reckind" type="STRING"/>
  1051. <Column id="readprtflag" type="STRING"/>
  1052. <Column id="formcd" type="STRING"/>
  1053. <Column id="signflag" type="STRING"/>
  1054. <Column id="orddd" type="STRING"/>
  1055. <Column id="chosflag" type="STRING"/>
  1056. <Column id="refusge" type="STRING"/>
  1057. <Column id="refremark" type="STRING"/>
  1058. </ColumnInfo>
  1059. </Dataset>
  1060. <Dataset id="ds_grd_emrapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1061. <ColumnInfo>
  1062. <Column id="chk" type="STRING"/>
  1063. <Column id="indg" type="STRING"/>
  1064. <Column id="formnm" type="STRING"/>
  1065. <Column id="atdoctnm" type="STRING"/>
  1066. <Column id="chrtflag" type="STRING"/>
  1067. <Column id="ioflag" type="STRING"/>
  1068. <Column id="orddd" type="STRING"/>
  1069. <Column id="indd" type="STRING"/>
  1070. <Column id="dschdd" type="STRING"/>
  1071. <Column id="orddeptnm" type="STRING"/>
  1072. <Column id="formrecdt" type="STRING"/>
  1073. <Column id="shtno" type="STRING"/>
  1074. <Column id="formcd" type="STRING"/>
  1075. <Column id="reckeyno" type="STRING"/>
  1076. <Column id="orddeptcd" type="STRING"/>
  1077. <Column id="atdoctid" type="STRING"/>
  1078. </ColumnInfo>
  1079. </Dataset>
  1080. <Dataset id="ds_main_otherinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1081. <ColumnInfo>
  1082. <Column id="prcpinfo" type="STRING" size="256"/>
  1083. <Column id="testinfo" type="STRING" size="256"/>
  1084. <Column id="testinfo1" type="STRING" size="256"/>
  1085. <Column id="testinfo2" type="STRING" size="256"/>
  1086. <Column id="testinfo3" type="STRING" size="256"/>
  1087. <Column id="testinfo4" type="STRING" size="256"/>
  1088. <Column id="testinfo5" type="STRING" size="256"/>
  1089. <Column id="testinfo6" type="STRING" size="256"/>
  1090. <Column id="testinfo7" type="STRING" size="256"/>
  1091. <Column id="testinfo8" type="STRING" size="256"/>
  1092. <Column id="outchrtflag" type="STRING" size="256"/>
  1093. <Column id="anoinfo" type="STRING" size="256"/>
  1094. <Column id="lang" type="STRING" size="256"/>
  1095. <Column id="onlytest" type="STRING" size="256"/>
  1096. <Column id="bmtappyn" type="STRING" size="256"/>
  1097. <Column id="addimageyn" type="STRING" size="256"/>
  1098. </ColumnInfo>
  1099. <Rows>
  1100. <Row>
  1101. <Col id="lang">K</Col>
  1102. <Col id="prcpinfo"/>
  1103. <Col id="testinfo"/>
  1104. <Col id="testinfo1"/>
  1105. <Col id="testinfo2"/>
  1106. <Col id="testinfo3"/>
  1107. <Col id="testinfo4"/>
  1108. <Col id="testinfo5"/>
  1109. <Col id="testinfo6"/>
  1110. <Col id="testinfo7"/>
  1111. <Col id="testinfo8"/>
  1112. <Col id="outchrtflag"/>
  1113. <Col id="anoinfo"/>
  1114. <Col id="onlytest"/>
  1115. <Col id="bmtappyn"/>
  1116. <Col id="addimageyn"/>
  1117. </Row>
  1118. </Rows>
  1119. </Dataset>
  1120. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1121. <ColumnInfo>
  1122. <Column id="pid" type="STRING" size="256"/>
  1123. <Column id="orddd" type="STRING" size="256"/>
  1124. <Column id="cretno" type="STRING" size="256"/>
  1125. <Column id="hngnm" type="STRING" size="256"/>
  1126. <Column id="sa" type="STRING" size="256"/>
  1127. <Column id="rrgstno1" type="STRING" size="256"/>
  1128. <Column id="rrgstno2" type="STRING" size="256"/>
  1129. <Column id="fromdd" type="STRING" size="256"/>
  1130. <Column id="todd" type="STRING" size="256"/>
  1131. <Column id="ioflag" type="STRING" size="256"/>
  1132. <Column id="copyseqno" type="STRING" size="256"/>
  1133. <Column id="prcpsrcflag" type="STRING" size="256"/>
  1134. <Column id="orddeptnm" type="STRING" size="256"/>
  1135. <Column id="orddeptcd" type="STRING" size="256"/>
  1136. <Column id="roomcd" type="STRING" size="256"/>
  1137. <Column id="dschdd" type="STRING" size="256"/>
  1138. <Column id="emrordflag" type="STRING" size="256"/>
  1139. <Column id="age" type="STRING" size="256"/>
  1140. <Column id="wardhospnm" type="STRING" size="256"/>
  1141. <Column id="recepinfochk" type="STRING" size="256"/>
  1142. <Column id="histprntyn" type="STRING" size="256"/>
  1143. <Column id="pagingyn" type="STRING" size="256"/>
  1144. </ColumnInfo>
  1145. <Rows>
  1146. <Row>
  1147. <Col id="pid"/>
  1148. <Col id="orddd"/>
  1149. <Col id="cretno"/>
  1150. <Col id="hngnm"/>
  1151. <Col id="sa"/>
  1152. <Col id="rrgstno1"/>
  1153. <Col id="rrgstno2"/>
  1154. <Col id="fromdd"/>
  1155. <Col id="todd"/>
  1156. <Col id="ioflag"/>
  1157. <Col id="copyseqno"/>
  1158. <Col id="prcpsrcflag"/>
  1159. <Col id="orddeptnm"/>
  1160. <Col id="orddeptcd"/>
  1161. <Col id="roomcd"/>
  1162. <Col id="dschdd"/>
  1163. <Col id="emrordflag"/>
  1164. <Col id="age"/>
  1165. <Col id="wardhospnm"/>
  1166. <Col id="recepinfochk">Y</Col>
  1167. <Col id="histprntyn">N</Col>
  1168. <Col id="pagingyn">N</Col>
  1169. </Row>
  1170. </Rows>
  1171. </Dataset>
  1172. <Dataset id="ds_main_appinfo_copyinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1173. <ColumnInfo>
  1174. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1175. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  1176. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  1177. <Column id="appmanflag" type="STRING" size="256" sumtext="사본발행신청인구분"/>
  1178. <Column id="appmannm" type="STRING" size="256" sumtext="사본발행신청인명"/>
  1179. <Column id="appmanetc" type="STRING" size="256" sumtext="사본발행신청인명"/>
  1180. <Column id="trustyn" type="STRING" size="256" sumtext="위임장유무"/>
  1181. <Column id="issgoalcd" type="STRING" size="256" sumtext="사본발행목적"/>
  1182. <Column id="issgoalnm" type="STRING" size="256" sumtext="사본발행명"/>
  1183. <Column id="issgoaletc" type="STRING" size="256" sumtext="사본발행명"/>
  1184. <Column id="issgoaletccd" type="STRING" size="256" sumtext="사본발행명"/>
  1185. <Column id="issgoaletcnm" type="STRING" size="256" sumtext="사본발행기타명"/>
  1186. <Column id="emrordflag" type="STRING" size="256" sumtext="EMR서식-진료구분"/>
  1187. <Column id="emrorddeptcd" type="STRING" size="256" sumtext="EMR서식-진료과"/>
  1188. <Column id="emrappcopies" type="INT" size="256" sumtext="EMR서식-신청부수"/>
  1189. <Column id="delivefact" type="STRING" size="256" sumtext="전달사항"/>
  1190. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1191. <Column id="cretno" type="INT" size="256" sumtext="원무생성번호"/>
  1192. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청과"/>
  1193. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
  1194. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료의사"/>
  1195. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1196. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
  1197. <Column id="appdrid" type="STRING" size="256" sumtext="사본신청의사ID"/>
  1198. <Column id="memo" type="STRING" size="256" sumtext="memo"/>
  1199. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  1200. <Column id="engnm" type="STRING" size="256" sumtext="성명"/>
  1201. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호"/>
  1202. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호"/>
  1203. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  1204. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  1205. <Column id="totalcopies" type="STRING" size="256" sumtext="총매수"/>
  1206. <Column id="issno" type="STRING" size="256" sumtext="발행번호"/>
  1207. <Column id="issseqno" type="STRING" size="256" sumtext="발행Seq번호"/>
  1208. <Column id="issdt" type="STRING" size="256" sumtext="발행일시"/>
  1209. <Column id="appdt" type="STRING" size="256" sumtext="적용일시"/>
  1210. <Column id="emrordflag" type="STRING" size="256" sumtext="진료구분"/>
  1211. <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
  1212. <Column id="addstatus" type="STRING" size="256"/>
  1213. <Column id="appdeptnm" type="STRING" size="256"/>
  1214. <Column id="appdrnm" type="STRING" size="256"/>
  1215. <Column id="issdd" type="STRING" size="256"/>
  1216. <Column id="cncldt" type="STRING" size="256"/>
  1217. <Column id="prntdt" type="STRING" size="256"/>
  1218. <Column id="shtno" type="STRING" size="256"/>
  1219. <Column id="paperscopcd" type="STRING" size="256" sumtext="종이서식범위"/>
  1220. <Column id="paperdocunm" type="STRING" size="256" sumtext="종이서식명"/>
  1221. </ColumnInfo>
  1222. <Rows>
  1223. <Row>
  1224. <Col id="appmanflag">1</Col>
  1225. <Col id="trustyn">N</Col>
  1226. <Col id="addstatus"/>
  1227. <Col id="status"/>
  1228. <Col id="copyseqno"/>
  1229. <Col id="pid"/>
  1230. <Col id="appdd"/>
  1231. <Col id="apptm"/>
  1232. <Col id="appdeptcd"/>
  1233. <Col id="appdeptnm"/>
  1234. <Col id="appdrid"/>
  1235. <Col id="appdrnm"/>
  1236. <Col id="appmannm"/>
  1237. <Col id="issgoalcd"/>
  1238. <Col id="issgoalnm"/>
  1239. <Col id="issgoaletc"/>
  1240. <Col id="issgoaletccd"/>
  1241. <Col id="issgoaletcnm"/>
  1242. <Col id="issdd"/>
  1243. <Col id="issseqno"/>
  1244. <Col id="emrordflag"/>
  1245. <Col id="emrorddeptcd"/>
  1246. <Col id="emrappcopies"/>
  1247. <Col id="delivefact"/>
  1248. <Col id="memo"/>
  1249. <Col id="orddd"/>
  1250. <Col id="cretno"/>
  1251. <Col id="cncldt"/>
  1252. <Col id="prntdt"/>
  1253. <Col id="shtno"/>
  1254. <Col id="appmanetc"/>
  1255. <Col id="orddrid"/>
  1256. <Col id="orddeptcd"/>
  1257. <Col id="hngnm"/>
  1258. <Col id="engnm"/>
  1259. <Col id="rrgstno1"/>
  1260. <Col id="rrgstno2"/>
  1261. <Col id="atdoctnm"/>
  1262. <Col id="orddeptnm"/>
  1263. <Col id="totalcopies"/>
  1264. <Col id="issno"/>
  1265. <Col id="issdt"/>
  1266. <Col id="appdt"/>
  1267. <Col id="ioflag"/>
  1268. <Col id="paperdocunm"/>
  1269. <Col id="paperscopcd"/>
  1270. </Row>
  1271. </Rows>
  1272. </Dataset>
  1273. <Dataset id="ds_init_grd_outpat_ordtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1274. <ColumnInfo>
  1275. <Column id="value" type="STRING" size="256"/>
  1276. <Column id="label" type="STRING" size="256"/>
  1277. </ColumnInfo>
  1278. <Rows>
  1279. <Row>
  1280. <Col id="value">O</Col>
  1281. <Col id="label">외래</Col>
  1282. </Row>
  1283. <Row>
  1284. <Col id="value">S</Col>
  1285. <Col id="label">건진</Col>
  1286. </Row>
  1287. <Row>
  1288. <Col id="value">D</Col>
  1289. <Col id="label">DSC</Col>
  1290. </Row>
  1291. </Rows>
  1292. </Dataset>
  1293. <Dataset id="ds_main_paper" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1294. <ColumnInfo>
  1295. <Column id="paperyn" type="STRING" size="256" sumtext="paperyn"/>
  1296. <Column id="deathyn" type="STRING" size="256" sumtext="deathyn"/>
  1297. <Column id="dschdd" type="STRING" size="256" sumtext="dschdd"/>
  1298. <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
  1299. <Column id="deptnm" type="STRING" size="256" sumtext="deptnm"/>
  1300. <Column id="limrem" type="STRING" size="256" sumtext="limrem"/>
  1301. <Column id="outchrt" type="STRING" size="256" sumtext="outchrt"/>
  1302. <Column id="inchrt" type="STRING" size="256" sumtext="inchrt"/>
  1303. <Column id="hospnm" type="STRING" size="256" sumtext="hospnm"/>
  1304. <Column id="enghospnm" type="STRING" size="256" sumtext="enghospnm"/>
  1305. <Column id="addr" type="STRING" size="256" sumtext="addr"/>
  1306. <Column id="wardhospnm" type="STRING" size="256" sumtext="wardhospnm"/>
  1307. </ColumnInfo>
  1308. <Rows>
  1309. <Row>
  1310. <Col id="paperyn"/>
  1311. <Col id="deathyn"/>
  1312. <Col id="dschdd"/>
  1313. <Col id="roomcd"/>
  1314. <Col id="deptnm"/>
  1315. <Col id="limrem"/>
  1316. <Col id="outchrt"/>
  1317. <Col id="inchrt"/>
  1318. <Col id="hospnm"/>
  1319. <Col id="enghospnm"/>
  1320. <Col id="addr"/>
  1321. <Col id="wardhospnm"/>
  1322. </Row>
  1323. </Rows>
  1324. </Dataset>
  1325. <Dataset id="ds_init_ioflaglist_P0001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1326. <ColumnInfo>
  1327. <Column id="cdnm" type="STRING" size="256"/>
  1328. <Column id="cdid" type="STRING" size="256"/>
  1329. </ColumnInfo>
  1330. </Dataset>
  1331. <Dataset id="ds_init_issgoalcd_M0332" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1332. <ColumnInfo>
  1333. <Column id="cdnm" type="STRING" size="256"/>
  1334. <Column id="cdid" type="STRING" size="256"/>
  1335. </ColumnInfo>
  1336. </Dataset>
  1337. <Dataset id="ds_init_prcpstatcd_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1338. <ColumnInfo>
  1339. <Column id="cdnm" type="STRING" size="256"/>
  1340. <Column id="cdid" type="STRING" size="256"/>
  1341. </ColumnInfo>
  1342. </Dataset>
  1343. <Dataset id="ds_temp2_appinfo_copyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1344. <ColumnInfo>
  1345. <Column id="totalcopies" type="STRING" size="256"/>
  1346. <Column id="totalshrtno" type="STRING" size="256"/>
  1347. <Column id="totalpapers" type="STRING" size="256"/>
  1348. <Column id="newcopy" type="STRING" size="256"/>
  1349. </ColumnInfo>
  1350. <Rows>
  1351. <Row>
  1352. <Col id="totalcopies"/>
  1353. <Col id="totalshrtno"/>
  1354. <Col id="totalpapers"/>
  1355. <Col id="newcopy"/>
  1356. </Row>
  1357. </Rows>
  1358. </Dataset>
  1359. <Dataset id="ds_init_grd_chrtflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1360. <ColumnInfo>
  1361. <Column id="label" type="STRING" size="256"/>
  1362. <Column id="value" type="STRING" size="256"/>
  1363. </ColumnInfo>
  1364. <Rows>
  1365. <Row>
  1366. <Col id="label">종이</Col>
  1367. <Col id="value">P</Col>
  1368. </Row>
  1369. <Row>
  1370. <Col id="label">영상</Col>
  1371. <Col id="value">I</Col>
  1372. </Row>
  1373. <Row>
  1374. <Col id="label">EMR</Col>
  1375. <Col id="value">E</Col>
  1376. </Row>
  1377. </Rows>
  1378. </Dataset>
  1379. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1380. <ColumnInfo>
  1381. <Column id="rcptpossynmsg" type="STRING" size="256"/>
  1382. <Column id="delivefactcnt" type="STRING" size="256"/>
  1383. </ColumnInfo>
  1384. <Rows>
  1385. <Row>
  1386. <Col id="rcptpossynmsg"/>
  1387. <Col id="delivefactcnt"/>
  1388. </Row>
  1389. </Rows>
  1390. </Dataset>
  1391. <Dataset id="ds_temp_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1392. <Dataset id="ds_temp_hardcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1393. <Dataset id="ds_temp_hardcd3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1394. <Dataset id="ds_temp_hardcd4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1395. <Dataset id="ds_temp_hardcd5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1396. <Dataset id="ds_temp_hardcd6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1397. <Dataset id="ds_temp_hardcd7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1398. <Dataset id="ds_temp_hardcd8" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1399. <Dataset id="ds_temp_hardcd9" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1400. <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1401. <Dataset id="ds_tmphdcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1402. <Dataset id="ds_hidden_calcscorcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1403. <Dataset id="ds_hidden_tmpcalcscorcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1404. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1405. <ColumnInfo>
  1406. <Column id="defcalcscorcd" type="STRING" size="256"/>
  1407. <Column id="defcalcscorcdnm" type="STRING" size="256"/>
  1408. <Column id="addcalcscorcd" type="STRING" size="256"/>
  1409. <Column id="addcalcscorcdnm" type="STRING" size="256"/>
  1410. <Column id="freecalcscorcd" type="STRING" size="256"/>
  1411. <Column id="freecalcscorcdnm" type="STRING" size="256"/>
  1412. </ColumnInfo>
  1413. <Rows>
  1414. <Row>
  1415. <Col id="defcalcscorcd"/>
  1416. <Col id="defcalcscorcdnm"/>
  1417. <Col id="addcalcscorcd"/>
  1418. <Col id="addcalcscorcdnm"/>
  1419. <Col id="freecalcscorcd"/>
  1420. <Col id="freecalcscorcdnm"/>
  1421. </Row>
  1422. </Rows>
  1423. </Dataset>
  1424. <Dataset id="ds_hidden_colorcalcscoryn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1425. <Dataset id="ds_hidden_colorcalcscorcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1426. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1427. <ColumnInfo>
  1428. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1429. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1430. <Column id="orddeptcd2" type="STRING" size="256" sumtext="종이차트유무체크신청과"/>
  1431. <Column id="orddrid" type="STRING" size="256" sumtext="진료의코드"/>
  1432. <Column id="ordtype" type="STRING" size="256" sumtext="내원구분"/>
  1433. <Column id="srchmode" type="STRING" size="256" sumtext="조회구분(전체과/해당과)"/>
  1434. <Column id="dschflag" type="STRING" size="256" sumtext="조회구분"/>
  1435. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  1436. <Column id="nopay" type="STRING" size="256" sumtext="예약구분"/>
  1437. <Column id="ordddfr" type="STRING" size="256" sumtext="입원시작일자"/>
  1438. <Column id="ordddto" type="STRING" size="256" sumtext="입원종료일자"/>
  1439. <Column id="amtyn" type="STRING" size="256" sumtext="금액포함여부"/>
  1440. <Column id="hardcdno" type="STRING" size="256" sumtext="하드코드번호"/>
  1441. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본번호"/>
  1442. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  1443. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  1444. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  1445. <Column id="appdeptcd" type="STRING" size="256" sumtext="진료과"/>
  1446. <Column id="anoinfo" type="STRING" size="256" sumtext="타과 "/>
  1447. <Column id="testflag" type="STRING" size="256" sumtext="등록번호"/>
  1448. <Column id="prcpinfo" type="STRING" size="256" sumtext="처방기록"/>
  1449. <Column id="recinfo" type="STRING" size="256" sumtext="EMR기록"/>
  1450. <Column id="testinfo2" type="STRING" size="256" sumtext="진단검사"/>
  1451. <Column id="testinfo3" type="STRING" size="256" sumtext="임상병리"/>
  1452. <Column id="testinfo4" type="STRING" size="256" sumtext="기능검사"/>
  1453. <Column id="testinfo5" type="STRING" size="256" sumtext="영상의학"/>
  1454. <Column id="testinfo6" type="STRING" size="256" sumtext="핵체외"/>
  1455. <Column id="testinfo7" type="STRING" size="256" sumtext="내시경"/>
  1456. <Column id="testinfo8" type="STRING" size="256" sumtext="미생물"/>
  1457. <Column id="condflag" type="STRING" size="256" sumtext="조회구분"/>
  1458. <Column id="scrnflag" type="STRING" size="256" sumtext="scrnflag"/>
  1459. <Column id="depth" type="STRING" size="256" sumtext="레벨값"/>
  1460. <Column id="label" type="STRING" size="256" sumtext="레이블"/>
  1461. <Column id="tabflag" type="STRING" size="256" sumtext="탭구분"/>
  1462. <Column id="viewflag" type="STRING" size="256" sumtext="보기구분"/>
  1463. <Column id="condflag" type="STRING" size="256" sumtext="조회구분"/>
  1464. <Column id="onlytest" type="STRING" size="256" sumtext="onlytest"/>
  1465. <Column id="addimageyn" type="STRING" size="256" sumtext="OCR포함"/>
  1466. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  1467. <Column id="memo" type="STRING" size="256" sumtext="메모"/>
  1468. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1469. <Column id="indd" type="STRING" size="256" sumtext="진료일자"/>
  1470. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  1471. <Column id="val" type="STRING" size="256" sumtext="키값"/>
  1472. <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
  1473. <Column id="tabflag" type="STRING" size="256" sumtext="탭구분"/>
  1474. <Column id="lastupdtrid" type="STRING" size="256" sumtext="삭제자ID"/>
  1475. <Column id="histprntyn" type="STRING" size="256"/>
  1476. <Column id="histyn" type="STRING" size="256"/>
  1477. </ColumnInfo>
  1478. <Rows>
  1479. <Row/>
  1480. </Rows>
  1481. </Dataset>
  1482. <Dataset id="ds_main_result_pathistlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1483. <ColumnInfo>
  1484. <Column id="chk" type="STRING" size="256" sumtext=""/>
  1485. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1486. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1487. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1488. <Column id="hngnm" type="STRING" size="256" sumtext="환자명(한글)"/>
  1489. <Column id="engnm" type="STRING" size="256" sumtext="환자명(영문)"/>
  1490. <Column id="chinm" type="STRING" size="256" sumtext="한문"/>
  1491. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  1492. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  1493. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1494. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1495. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  1496. <Column id="ordtypenm" type="STRING" size="256" sumtext="진료형태명"/>
  1497. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1498. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1499. <Column id="orddrid" type="STRING" size="256" sumtext=""/>
  1500. <Column id="orddrnm" type="STRING" size="256" sumtext=""/>
  1501. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  1502. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1503. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1504. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1505. <Column id="btype" type="STRING" size="256" sumtext=""/>
  1506. <Column id="rh" type="STRING" size="256" sumtext=""/>
  1507. <Column id="forgeryn" type="STRING" size="256" sumtext=""/>
  1508. <Column id="nati" type="STRING" size="256" sumtext=""/>
  1509. <Column id="psptno" type="STRING" size="256" sumtext=""/>
  1510. <Column id="tabtype" type="STRING" size="256" sumtext=""/>
  1511. <Column id="chosinfo" type="STRING" size="256" sumtext="내원정보"/>
  1512. <Column id="rowcnt" type="STRING" size="256" sumtext="행번호"/>
  1513. <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
  1514. <Column id="indschacptstat" type="STRING" size="256" sumtext="퇴원비정산이력"/>
  1515. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  1516. <Column id="insukind" type="STRING" size="256" sumtext="보험구분"/>
  1517. <Column id="issamt" type="STRING" size="256" sumtext="발행금액"/>
  1518. <Column id="testdd" type="STRING" size="256" sumtext="검사일자"/>
  1519. <Column id="tranflagyn" type="STRING" size="256" sumtext="부분전송여부"/>
  1520. <Column id="silsiamt" type="STRING" size="256" sumtext="실시금액"/>
  1521. </ColumnInfo>
  1522. </Dataset>
  1523. <Dataset id="ds_main_hardcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1524. <ColumnInfo>
  1525. <Column id="hardcodeno" type="STRING" size="256" sumtext="하드코드번호"/>
  1526. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1527. <Column id="trgtcd" type="STRING" size="256" sumtext="대상코드"/>
  1528. <Column id="trgtcdnm" type="STRING" size="256" sumtext="대상코드명"/>
  1529. <Column id="valifromdd" type="STRING" size="256" sumtext="유효시작일자"/>
  1530. <Column id="valitodd" type="STRING" size="256" sumtext="유효종료일자"/>
  1531. <Column id="cdseqno" type="STRING" size="256" sumtext="코드일련번호"/>
  1532. </ColumnInfo>
  1533. </Dataset>
  1534. <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1535. <Dataset id="ds_main_in" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1536. <ColumnInfo>
  1537. <Column id="pid" type="STRING" size="256"/>
  1538. <Column id="chrtflag" type="STRING" size="256"/>
  1539. <Column id="fromdd" type="STRING" size="256"/>
  1540. <Column id="todd" type="STRING" size="256"/>
  1541. </ColumnInfo>
  1542. <Rows>
  1543. <Row>
  1544. <Col id="chrtflag"/>
  1545. <Col id="fromdd"/>
  1546. <Col id="todd"/>
  1547. <Col id="pid"/>
  1548. </Row>
  1549. </Rows>
  1550. </Dataset>
  1551. <Dataset id="ds_main_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1552. <ColumnInfo>
  1553. <Column id="pid" type="STRING" size="256"/>
  1554. <Column id="chrtflag" type="STRING" size="256"/>
  1555. <Column id="fromdd" type="STRING" size="256"/>
  1556. <Column id="todd" type="STRING" size="256"/>
  1557. </ColumnInfo>
  1558. <Rows>
  1559. <Row>
  1560. <Col id="chrtflag"/>
  1561. <Col id="fromdd"/>
  1562. <Col id="todd"/>
  1563. <Col id="pid"/>
  1564. </Row>
  1565. </Rows>
  1566. </Dataset>
  1567. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1568. <ColumnInfo>
  1569. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1570. </ColumnInfo>
  1571. <Rows>
  1572. <Row>
  1573. <Col id="pid"/>
  1574. </Row>
  1575. </Rows>
  1576. </Dataset>
  1577. <Dataset id="ds_tmpinicert2_iniinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1578. <ColumnInfo>
  1579. <Column id="pid" type="STRING" size="256" sumtext="pid"/>
  1580. <Column id="ptnm" type="STRING" size="256" sumtext="ptnm"/>
  1581. <Column id="depthngnm" type="STRING" size="256" sumtext="depthngnm"/>
  1582. <Column id="deptengabbr" type="STRING" size="256" sumtext="deptengabbr"/>
  1583. <Column id="icdrdeptengabbr" type="STRING" size="256" sumtext="icdrdeptengabbr"/>
  1584. <Column id="rgstno" type="STRING" size="256" sumtext="rgstno"/>
  1585. <Column id="sa" type="STRING" size="256" sumtext="sa"/>
  1586. <Column id="disporddd" type="STRING" size="256" sumtext="disporddd"/>
  1587. <Column id="orddd" type="STRING" size="256" sumtext="orddd"/>
  1588. <Column id="drid" type="STRING" size="256" sumtext="drid"/>
  1589. <Column id="icdrdrid" type="STRING" size="256" sumtext="icdrdrid"/>
  1590. <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
  1591. <Column id="icdrroomcd" type="STRING" size="256" sumtext="icdrroomcd"/>
  1592. <Column id="ordtype" type="STRING" size="256" sumtext="ordtype"/>
  1593. <Column id="chosflag" type="STRING" size="256" sumtext="chosflag"/>
  1594. <Column id="orddeptcd" type="STRING" size="256" sumtext="orddeptcd"/>
  1595. <Column id="signno" type="BIGDECIMAL" size="256" sumtext="signno"/>
  1596. <Column id="signdeptcd" type="STRING" size="256" sumtext="signdeptcd"/>
  1597. <Column id="signdeptengabbr" type="STRING" size="256" sumtext="signdeptengabbr"/>
  1598. <Column id="formcd" type="STRING" size="256" sumtext="formcd"/>
  1599. <Column id="srcformcd" type="STRING" size="256" sumtext="srcformcd"/>
  1600. <Column id="formnm" type="STRING" size="256" sumtext="formnm"/>
  1601. <Column id="formprogflag" type="STRING" size="256" sumtext="formprogflag"/>
  1602. <Column id="recdt" type="STRING" size="256" sumtext="recdt"/>
  1603. <Column id="recdd" type="STRING" size="256" sumtext="recdd"/>
  1604. <Column id="trans" type="STRING" size="256" sumtext="trans"/>
  1605. <Column id="signflag" type="STRING" size="256" sumtext="signflag"/>
  1606. <Column id="imgflag" type="STRING" size="256" sumtext="영상기록여부"/>
  1607. <Column id="langflag" type="STRING" size="256" sumtext="서식언어구분"/>
  1608. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일시"/>
  1609. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초작성일시"/>
  1610. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1611. <Column id="staffconfirmdt" type="STRING" size="256" sumtext="staff확인일시"/>
  1612. <Column id="fstrgstrusrnm" type="STRING" size="256" sumtext="최초작성자"/>
  1613. <Column id="lastupdtrusrnm" type="STRING" size="256" sumtext="최종수정자"/>
  1614. <Column id="staffnm" type="STRING" size="256" sumtext="staff이름"/>
  1615. <Column id="emrrecusrnm" type="STRING" size="256" sumtext="의무기록사이름"/>
  1616. <Column id="erdt" type="STRING" size="256" sumtext="응급실내원시간"/>
  1617. <Column id="ervisittm" type="STRING" size="256" sumtext="의사VisitTime"/>
  1618. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  1619. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  1620. <Column id="inorddepthngnm" type="STRING" size="256" sumtext="입원과"/>
  1621. <Column id="dschorddepthngnm" type="STRING" size="256" sumtext="퇴원과"/>
  1622. <Column id="incnt" type="STRING" size="256" sumtext="입원회차"/>
  1623. <Column id="sortno" type="STRING" size="256" sumtext="조회순서"/>
  1624. <Column id="mainyn" type="STRING" size="256" sumtext="공통서식여부"/>
  1625. <Column id="rowno" type="STRING" size="256" sumtext="정렬순번"/>
  1626. <Column id="cretno" type="STRING" size="256" sumtext="정렬순번"/>
  1627. <Column id="signgenrflag" type="STRING" size="256" sumtext="서식발생구분"/>
  1628. <Column id="careinrmdt" type="STRING" size="256" sumtext="간호입실시간"/>
  1629. <Column id="cmc_orderseqno" type="STRING" size="256" sumtext="실시처방키"/>
  1630. <Column id="recchk" type="STRING" size="256" sumtext="실시처방키"/>
  1631. <Column id="signorddeptcd" type="STRING" size="256"/>
  1632. <Column id="staffid" type="STRING" size="256" sumtext="스텝정보"/>
  1633. <Column id="fstrgstrid" type="STRING" size="256"/>
  1634. <Column id="lastupdtrid" type="STRING" size="256"/>
  1635. <Column id="history" type="STRING" size="256"/>
  1636. <Column id="history2" type="STRING" size="256"/>
  1637. </ColumnInfo>
  1638. </Dataset>
  1639. <Dataset id="ds_tmpinicert_iniinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1640. <ColumnInfo>
  1641. <Column id="pid" type="STRING" size="256" sumtext="pid"/>
  1642. <Column id="ptnm" type="STRING" size="256" sumtext="ptnm"/>
  1643. <Column id="depthngnm" type="STRING" size="256" sumtext="depthngnm"/>
  1644. <Column id="deptengabbr" type="STRING" size="256" sumtext="deptengabbr"/>
  1645. <Column id="icdrdeptengabbr" type="STRING" size="256" sumtext="icdrdeptengabbr"/>
  1646. <Column id="rgstno" type="STRING" size="256" sumtext="rgstno"/>
  1647. <Column id="sa" type="STRING" size="256" sumtext="sa"/>
  1648. <Column id="disporddd" type="STRING" size="256" sumtext="disporddd"/>
  1649. <Column id="orddd" type="STRING" size="256" sumtext="orddd"/>
  1650. <Column id="drid" type="STRING" size="256" sumtext="drid"/>
  1651. <Column id="icdrdrid" type="STRING" size="256" sumtext="icdrdrid"/>
  1652. <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
  1653. <Column id="icdrroomcd" type="STRING" size="256" sumtext="icdrroomcd"/>
  1654. <Column id="ordtype" type="STRING" size="256" sumtext="ordtype"/>
  1655. <Column id="chosflag" type="STRING" size="256" sumtext="chosflag"/>
  1656. <Column id="orddeptcd" type="STRING" size="256" sumtext="orddeptcd"/>
  1657. <Column id="signno" type="BIGDECIMAL" size="256" sumtext="signno"/>
  1658. <Column id="signdeptcd" type="STRING" size="256" sumtext="signdeptcd"/>
  1659. <Column id="signdeptengabbr" type="STRING" size="256" sumtext="signdeptengabbr"/>
  1660. <Column id="formcd" type="STRING" size="256" sumtext="formcd"/>
  1661. <Column id="srcformcd" type="STRING" size="256" sumtext="srcformcd"/>
  1662. <Column id="formnm" type="STRING" size="256" sumtext="formnm"/>
  1663. <Column id="formprogflag" type="STRING" size="256" sumtext="formprogflag"/>
  1664. <Column id="recdt" type="STRING" size="256" sumtext="recdt"/>
  1665. <Column id="recdd" type="STRING" size="256" sumtext="recdd"/>
  1666. <Column id="trans" type="STRING" size="256" sumtext="trans"/>
  1667. <Column id="signflag" type="STRING" size="256" sumtext="signflag"/>
  1668. <Column id="imgflag" type="STRING" size="256" sumtext="영상기록여부"/>
  1669. <Column id="langflag" type="STRING" size="256" sumtext="서식언어구분"/>
  1670. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일시"/>
  1671. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초작성일시"/>
  1672. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  1673. <Column id="staffconfirmdt" type="STRING" size="256" sumtext="staff확인일시"/>
  1674. <Column id="fstrgstrusrnm" type="STRING" size="256" sumtext="최초작성자"/>
  1675. <Column id="lastupdtrusrnm" type="STRING" size="256" sumtext="최종수정자"/>
  1676. <Column id="staffnm" type="STRING" size="256" sumtext="staff이름"/>
  1677. <Column id="emrrecusrnm" type="STRING" size="256" sumtext="의무기록사이름"/>
  1678. <Column id="erdt" type="STRING" size="256" sumtext="응급실내원시간"/>
  1679. <Column id="ervisittm" type="STRING" size="256" sumtext="의사VisitTime"/>
  1680. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  1681. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  1682. <Column id="inorddepthngnm" type="STRING" size="256" sumtext="입원과"/>
  1683. <Column id="dschorddepthngnm" type="STRING" size="256" sumtext="퇴원과"/>
  1684. <Column id="incnt" type="STRING" size="256" sumtext="입원회차"/>
  1685. <Column id="sortno" type="STRING" size="256" sumtext="조회순서"/>
  1686. <Column id="mainyn" type="STRING" size="256" sumtext="공통서식여부"/>
  1687. <Column id="rowno" type="STRING" size="256" sumtext="정렬순번"/>
  1688. <Column id="cretno" type="STRING" size="256" sumtext="정렬순번"/>
  1689. <Column id="signgenrflag" type="STRING" size="256" sumtext="서식발생구분"/>
  1690. <Column id="careinrmdt" type="STRING" size="256" sumtext="간호입실시간"/>
  1691. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실시처방키"/>
  1692. <Column id="recchk" type="STRING" size="256" sumtext="실시처방키"/>
  1693. <Column id="signorddeptcd" type="STRING" size="256"/>
  1694. <Column id="staffid" type="STRING" size="256" sumtext="스텝정보"/>
  1695. <Column id="fstrgstrid" type="STRING" size="256"/>
  1696. <Column id="lastupdtrid" type="STRING" size="256"/>
  1697. <Column id="history" type="STRING" size="256"/>
  1698. <Column id="history2" type="STRING" size="256"/>
  1699. </ColumnInfo>
  1700. </Dataset>
  1701. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1702. <ColumnInfo>
  1703. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
  1704. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1705. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1706. <Column id="indd" type="STRING" size="256" sumtext="진료일자"/>
  1707. <Column id="cretno" type="BIGDECIMAL" size="256" sumtext="원무생성번호"/>
  1708. <Column id="chrtflag" type="STRING" size="256" sumtext="챠트구분"/>
  1709. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  1710. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록순번"/>
  1711. <Column id="deptcd" type="STRING" size="256" sumtext="진료과"/>
  1712. <Column id="emrflag" type="STRING" size="256" sumtext="구수진구분"/>
  1713. <Column id="bfopentest" type="STRING" size="256" sumtext="nU 오픈이전 미시행검사가 있는 수진이력 "/>
  1714. <Column id="dschdd" type="STRING" size="256"/>
  1715. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  1716. <Column id="issno" type="STRING" size="256" sumtext="발행번호"/>
  1717. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  1718. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1719. <Column id="ioflag" type="STRING" size="256" sumtext="내원구분"/>
  1720. <Column id="onlytest" type="STRING" size="256" sumtext="검사결과만"/>
  1721. <Column id="midseq" type="STRING" size="256" sumtext="midseq"/>
  1722. <Column id="testinfo4" type="STRING" size="256" sumtext="기능검사"/>
  1723. <Column id="testinfo5" type="STRING" size="256" sumtext="영상"/>
  1724. <Column id="testinfo7" type="STRING" size="256" sumtext="내시경"/>
  1725. <Column id="imgseq" type="STRING" size="256" sumtext="imgseq"/>
  1726. <Column id="noview" type="STRING" size="256" sumtext="특정서식은 사본출력 안되게 할지여부"/>
  1727. </ColumnInfo>
  1728. </Dataset>
  1729. <Dataset id="ds_send_search_rsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1730. <Dataset id="ds_temp_issinfo_emrapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1731. <Dataset id="ds_init_pidynhcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1732. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1733. <ColumnInfo>
  1734. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1735. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  1736. <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
  1737. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  1738. <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
  1739. <Column id="tabflag" type="STRING" size="256" sumtext="탭구분"/>
  1740. <Column id="reccurpos" type="INT" size="256" sumtext="조회위치"/>
  1741. <Column id="recall" type="STRING" size="256" sumtext="조회위치"/>
  1742. <Column id="reckind" type="STRING" size="256" sumtext="기록종류"/>
  1743. <Column id="itemindxseq" type="STRING" size="256" sumtext="중분류인덱스순번"/>
  1744. <Column id="lisflag" type="STRING" size="256" sumtext="LIS검사구분"/>
  1745. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1746. <Column id="bfopentest" type="STRING" size="256" sumtext="nU 오픈전 검사처방이 있는 수진여부"/>
  1747. <Column id="midbftest" type="STRING" size="256" sumtext="오픈전 수진여부"/>
  1748. <Column id="fromprcpdd" type="STRING" size="256" sumtext="처방조회기간 시작"/>
  1749. <Column id="toprcpdd" type="STRING" size="256" sumtext="처방조회기간 종료"/>
  1750. <Column id="pagingyn" type="STRING" size="256" sumtext="Paging Yn"/>
  1751. <Column id="pagingfromdd" type="STRING" size="256" sumtext="Paging조회기간 시작"/>
  1752. <Column id="pagingtodd" type="STRING" size="256" sumtext="Paging조회기간 종료"/>
  1753. <Column id="privateyn" type="STRING" size="256" sumtext="개인정보보호"/>
  1754. <Column id="option" type="STRING" size="256" sumtext="조회조건"/>
  1755. <Column id="ordfromdd" type="STRING" size="256" sumtext="조회기간"/>
  1756. <Column id="ordtodd" type="STRING" size="256" sumtext="조회기간"/>
  1757. <Column id="recformcd" type="STRING" size="256" sumtext="조회서식코드"/>
  1758. <Column id="ordddtxt" type="STRING" size="256" sumtext="조회서식코드"/>
  1759. <Column id="signnotxt" type="STRING" size="256" sumtext="조회서식코드"/>
  1760. <Column id="addimageyn" type="STRING" size="256" sumtext="OCR포함"/>
  1761. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  1762. <Column id="noview" type="STRING" size="256" sumtext="특정서식은 사본출력 안되게 할지여부"/>
  1763. <Column id="histprntyn" type="STRING" size="256"/>
  1764. <Column id="histyn" type="STRING" size="256"/>
  1765. </ColumnInfo>
  1766. </Dataset>
  1767. <Dataset id="ds_imgrec_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1768. <ColumnInfo>
  1769. <Column id="treatno" type="STRING" size="256"/>
  1770. <Column id="pid" type="STRING" size="256"/>
  1771. <Column id="orddeptcd" type="STRING" size="256"/>
  1772. <Column id="indd" type="STRING" size="256"/>
  1773. <Column id="docucd" type="STRING" size="256"/>
  1774. <Column id="ioflag" type="STRING" size="256"/>
  1775. <Column id="cmc_cretno" type="STRING" size="256"/>
  1776. <Column id="cmc_spcid" type="STRING" size="256"/>
  1777. <Column id="cmc_orddate" type="STRING" size="256"/>
  1778. <Column id="cmc_orderseqno" type="STRING" size="256"/>
  1779. </ColumnInfo>
  1780. <Rows>
  1781. <Row/>
  1782. </Rows>
  1783. </Dataset>
  1784. <Dataset id="ds_temp_picmmech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1785. <ColumnInfo>
  1786. <Column id="picmmech_unitcost" type="STRING" size="256"/>
  1787. </ColumnInfo>
  1788. <Rows>
  1789. <Row>
  1790. <Col id="picmmech_unitcost"/>
  1791. </Row>
  1792. </Rows>
  1793. </Dataset>
  1794. <Dataset id="ds_main_midissinfo_totemrapplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1795. <ColumnInfo>
  1796. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  1797. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  1798. <Column id="supitemindxseq" type="STRING" size="256" sumtext="superindex"/>
  1799. <Column id="midindxseq" type="STRING" size="256" sumtext="midindxseq"/>
  1800. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1801. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1802. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1803. <Column id="choflag" type="STRING" size="256" sumtext="ioflag"/>
  1804. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1805. <Column id="indg" type="STRING" size="256" sumtext="회차"/>
  1806. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  1807. </ColumnInfo>
  1808. </Dataset>
  1809. <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1810. <ColumnInfo>
  1811. <Column id="hardcd" type="STRING" size="256"/>
  1812. <Column id="hardcdnm" type="STRING" size="256"/>
  1813. <Column id="level" type="STRING" size="256"/>
  1814. </ColumnInfo>
  1815. <Rows>
  1816. <Row>
  1817. <Col id="hardcd">fdeletecopy</Col>
  1818. <Col id="hardcdnm">사본발행 내역삭제</Col>
  1819. <Col id="level">0</Col>
  1820. </Row>
  1821. <Row>
  1822. <Col id="hardcd">fDeleteRecord</Col>
  1823. <Col id="hardcdnm">선택 내용 삭제</Col>
  1824. <Col id="level">0</Col>
  1825. </Row>
  1826. </Rows>
  1827. </Dataset>
  1828. <Dataset id="ds_main_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1829. <ColumnInfo>
  1830. <Column id="pid" type="STRING" size="256" sumtext="pid"/>
  1831. <Column id="orddd" type="STRING" size="256" sumtext="orddd"/>
  1832. <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
  1833. <Column id="ordtype" type="STRING" size="256" sumtext="ordtype"/>
  1834. <Column id="orddeptcd" type="STRING" size="256" sumtext="rgstno"/>
  1835. <Column id="orddrid" type="STRING" size="256" sumtext="sa"/>
  1836. <Column id="dschdd" type="STRING" size="256" sumtext="dschdd"/>
  1837. <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
  1838. <Column id="formfromdt" type="STRING" size="256" sumtext="formfromdt"/>
  1839. <Column id="seq" type="STRING" size="256" sumtext="seq"/>
  1840. </ColumnInfo>
  1841. </Dataset>
  1842. <Dataset id="ds_temp_crtfctinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1843. <ColumnInfo>
  1844. <Column id="pid" type="STRING" size="256"/>
  1845. <Column id="hngnm" type="STRING" size="256"/>
  1846. <Column id="engnm" type="STRING" size="256"/>
  1847. <Column id="hospnm" type="STRING" size="256"/>
  1848. <Column id="issgoalnm" type="STRING" size="256"/>
  1849. <Column id="addr" type="STRING" size="256"/>
  1850. <Column id="totalcopies" type="STRING" size="256"/>
  1851. <Column id="issdd" type="STRING" size="256"/>
  1852. <Column id="nissdd" type="STRING" size="256"/>
  1853. <Column id="issno" type="STRING" size="256"/>
  1854. <Column id="instcd" type="STRING" size="256"/>
  1855. <Column id="enghospnm" type="STRING" size="256"/>
  1856. <Column id="usernm" type="STRING" size="256"/>
  1857. <Column id="signimge" type="STRING" size="256"/>
  1858. </ColumnInfo>
  1859. <Rows>
  1860. <Row/>
  1861. </Rows>
  1862. </Dataset>
  1863. <Dataset id="ds_return" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1864. <ColumnInfo>
  1865. <Column id="issno" type="STRING" size="256" sumtext="발행연번호"/>
  1866. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1867. </ColumnInfo>
  1868. </Dataset>
  1869. <Dataset id="ds_temp_cnfminfo_issinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1870. <ColumnInfo>
  1871. <Column id="seq" type="STRING" size="256"/>
  1872. <Column id="pid" type="STRING" size="256"/>
  1873. <Column id="issno" type="STRING" size="256"/>
  1874. <Column id="orddeptnm" type="STRING" size="256"/>
  1875. <Column id="atdoctnm" type="STRING" size="256"/>
  1876. <Column id="hngnm" type="STRING" size="256"/>
  1877. <Column id="rrgstno1" type="STRING" size="256"/>
  1878. <Column id="rrgstno2" type="STRING" size="256"/>
  1879. <Column id="totalcopies" type="STRING" size="256"/>
  1880. <Column id="issgoalcd" type="STRING" size="256"/>
  1881. <Column id="issgoaletcnm" type="STRING" size="256"/>
  1882. <Column id="hospnm" type="STRING" size="256"/>
  1883. <Column id="inflag" type="STRING" size="256"/>
  1884. <Column id="outflag" type="STRING" size="256"/>
  1885. <Column id="erflag" type="STRING" size="256"/>
  1886. <Column id="sflag" type="STRING" size="256"/>
  1887. <Column id="dflag" type="STRING" size="256"/>
  1888. <Column id="appdd" type="STRING" size="256"/>
  1889. <Column id="issdd" type="STRING" size="256"/>
  1890. <Column id="formnm" type="STRING" size="256"/>
  1891. <Column id="appmanflag" type="STRING" size="256"/>
  1892. <Column id="appmannm" type="STRING" size="256"/>
  1893. </ColumnInfo>
  1894. </Dataset>
  1895. <Dataset id="ds_init_copy_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1896. <ColumnInfo>
  1897. <Column id="hardcd" type="STRING" size="256"/>
  1898. <Column id="hardcdnm" type="STRING" size="256"/>
  1899. <Column id="level" type="STRING" size="256"/>
  1900. </ColumnInfo>
  1901. <Rows>
  1902. <Row>
  1903. <Col id="hardcd">fAddCalcScor</Col>
  1904. <Col id="hardcdnm">기본수가추가</Col>
  1905. <Col id="level">0</Col>
  1906. </Row>
  1907. <Row>
  1908. <Col id="hardcd">fAddColorCalcScor</Col>
  1909. <Col id="hardcdnm">컬러수가추가</Col>
  1910. <Col id="level">0</Col>
  1911. </Row>
  1912. <Row>
  1913. <Col id="hardcd">fDelCalcScor</Col>
  1914. <Col id="hardcdnm">수가삭제</Col>
  1915. <Col id="level">0</Col>
  1916. </Row>
  1917. </Rows>
  1918. </Dataset>
  1919. <Dataset id="ds_send_savedata_copyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1920. <ColumnInfo>
  1921. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1922. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  1923. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  1924. <Column id="appmanflag" type="STRING" size="256" sumtext="사본발행신청인구분"/>
  1925. <Column id="appmannm" type="STRING" size="256" sumtext="사본발행신청인명"/>
  1926. <Column id="trustyn" type="STRING" size="256" sumtext="위임장유무"/>
  1927. <Column id="issgoalcd" type="STRING" size="256" sumtext="사본발행목적"/>
  1928. <Column id="issgoalnm" type="STRING" size="256" sumtext="사본발행목적명"/>
  1929. <Column id="issgoaletccd" type="STRING" size="256" sumtext="사본발행목적"/>
  1930. <Column id="issgoaletc" type="STRING" size="256" sumtext="사본발행목적명"/>
  1931. <Column id="issgoaletcnm" type="STRING" size="256" sumtext="사본발행목적기타명"/>
  1932. <Column id="emrordflag" type="STRING" size="256" sumtext="EMR서식-진료구분"/>
  1933. <Column id="emrorddeptcd" type="STRING" size="256" sumtext="EMR서식-진료과"/>
  1934. <Column id="emrappcopies" type="INT" size="256" sumtext="EMR서식-신청부수"/>
  1935. <Column id="delivefact" type="CLOB" size="256" sumtext="전달사항"/>
  1936. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1937. <Column id="cretno" type="INT" size="256" sumtext="원무생성번호"/>
  1938. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청과"/>
  1939. <Column id="appdrid" type="STRING" size="256" sumtext="신청의사ID"/>
  1940. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1941. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본발행번호"/>
  1942. <Column id="reappyn" type="STRING" size="256" sumtext="재신청여부"/>
  1943. <Column id="bmtappyn" type="STRING" size="256" sumtext="BMT사본신청여부"/>
  1944. <Column id="memo" type="STRING" size="256" sumtext="메모"/>
  1945. <Column id="cond_ioflag" type="STRING" size="256" sumtext="입/외 구분"/>
  1946. <Column id="appcopyseqno" type="BIGDECIMAL" size="256" sumtext="사본발행번호"/>
  1947. <Column id="issno" type="STRING" size="256" sumtext="발행번호"/>
  1948. <Column id="issseqno" type="STRING" size="256" sumtext="발행Seq번호"/>
  1949. <Column id="paperscopcd" type="STRING" size="256" sumtext="종이서식범위"/>
  1950. <Column id="paperdocunm" type="STRING" size="256" sumtext="종이서식명"/>
  1951. <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
  1952. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1953. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  1954. <Column id="addstatus" type="STRING" size="256" sumtext="이미발행된 사본신규발행시"/>
  1955. </ColumnInfo>
  1956. </Dataset>
  1957. <Dataset id="ds_send_savedata_otptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1958. <ColumnInfo>
  1959. <Column id="otpt_flag" type="STRING" size="256" sumtext="구분자"/>
  1960. <Column id="otpt_pid" type="STRING" size="256" sumtext="등록번호"/>
  1961. <Column id="otpt_orddd" type="STRING" size="256" sumtext="진료일자"/>
  1962. <Column id="otpt_orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1963. <Column id="otpt_orddrid" type="STRING" size="256" sumtext="진료의사"/>
  1964. <Column id="otpt_ordtm" type="STRING" size="256" sumtext="진료시간"/>
  1965. <Column id="otpt_rsrvflag" type="STRING" size="256" sumtext="진료시간"/>
  1966. <Column id="otpt_instcd" type="STRING" size="256" sumtext="기관코드"/>
  1967. <Column id="otpt_remfact" type="STRING" size="256" sumtext="참고사항"/>
  1968. <Column id="sess_userid" type="STRING" size="256" sumtext="사용자ID"/>
  1969. <Column id="otpt_medamtestmyn" type="STRING" size="256" sumtext="진찰료산정여부"/>
  1970. <Column id="otpt_medamtpostyn" type="STRING" size="256" sumtext="진찰료후불여부"/>
  1971. <Column id="otpt_medamtfreeresn" type="STRING" size="256" sumtext="진찰료미산정사유"/>
  1972. </ColumnInfo>
  1973. </Dataset>
  1974. <Dataset id="ds_send_savedata_emrapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1975. <ColumnInfo>
  1976. <Column id="chrtflag" type="STRING" size="256" sumtext="챠트구분"/>
  1977. <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
  1978. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1979. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  1980. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1981. <Column id="cretno" type="INT" size="256" sumtext="원무생성번호"/>
  1982. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1983. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  1984. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일자"/>
  1985. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  1986. <Column id="formrecextnnm" type="STRING" size="256" sumtext="부제목"/>
  1987. <Column id="reckeyno" type="BIGDECIMAL" size="256" sumtext="기록키번호"/>
  1988. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1989. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1990. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  1991. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  1992. <Column id="chrtseqno" type="INT" size="256" sumtext="신청순번"/>
  1993. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  1994. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  1995. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="사본신청번호"/>
  1996. <Column id="testflag" type="STRING" size="256" sumtext="검사결과구분"/>
  1997. </ColumnInfo>
  1998. </Dataset>
  1999. <Dataset id="ds_main_emrinfo_emrlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2000. <ColumnInfo>
  2001. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  2002. <Column id="chrtflag" type="STRING" size="256" sumtext="차트구분"/>
  2003. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일자"/>
  2004. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  2005. <Column id="formrecextnnm" type="STRING" size="256" sumtext="부제목"/>
  2006. <Column id="formrecdeptnm" type="STRING" size="256" sumtext="작성과"/>
  2007. <Column id="formrecdeptcd" type="STRING" size="256" sumtext="작성과코드"/>
  2008. <Column id="formrecusernm" type="STRING" size="256" sumtext="작성자"/>
  2009. <Column id="formrecuserid" type="STRING" size="256" sumtext="작성자코드"/>
  2010. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  2011. <Column id="reckeyno" type="BIGDECIMAL" size="256" sumtext="기록키번호 "/>
  2012. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  2013. <Column id="indg" type="STRING" size="256" sumtext="회차"/>
  2014. <Column id="midindxseq" type="BIGDECIMAL" size="256" sumtext="midindxseq"/>
  2015. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  2016. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  2017. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  2018. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료일자"/>
  2019. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  2020. <Column id="testflag" type="STRING" size="256" sumtext="testflag"/>
  2021. <Column id="status" type="STRING" size="256" sumtext="status"/>
  2022. </ColumnInfo>
  2023. </Dataset>
  2024. <Dataset id="ds_send_aftcert" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2025. <ColumnInfo>
  2026. <Column id="aftcertdryn" type="STRING" size="256"/>
  2027. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  2028. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  2029. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  2030. <Column id="userdeptcd" type="STRING" size="256" sumtext="진료과"/>
  2031. <Column id="userkind" type="STRING" size="256" sumtext="사용자종류"/>
  2032. <Column id="execkind" type="STRING" size="256" sumtext="진료대상자블러킹:patlist"/>
  2033. <Column id="orddrid" type="STRING" size="256" sumtext="사용자id"/>
  2034. <Column id="jobkindcd" type="STRING" size="256"/>
  2035. </ColumnInfo>
  2036. <Rows>
  2037. <Row>
  2038. <Col id="aftcertdryn"/>
  2039. <Col id="pid"/>
  2040. <Col id="orddd"/>
  2041. <Col id="cretno"/>
  2042. <Col id="userdeptcd"/>
  2043. <Col id="userkind"/>
  2044. <Col id="execkind"/>
  2045. <Col id="orddrid"/>
  2046. </Row>
  2047. </Rows>
  2048. </Dataset>
  2049. <Dataset id="ds_hidden_aftcert" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2050. <ColumnInfo>
  2051. <Column id="aftcertcnt" type="STRING" size="256" sumtext="후인증미비 cnt"/>
  2052. </ColumnInfo>
  2053. </Dataset>
  2054. <Dataset id="ds_send_savedata_outinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2055. <ColumnInfo>
  2056. <Column id="chrtflag" type="STRING" size="256" sumtext="챠트구분"/>
  2057. <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
  2058. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  2059. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  2060. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  2061. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  2062. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과명"/>
  2063. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  2064. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일자"/>
  2065. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  2066. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  2067. <Column id="formrecextnnm" type="STRING" size="256" sumtext="부제목"/>
  2068. <Column id="formrecseq" type="BIGDECIMAL" size="256" sumtext="서식기록순번"/>
  2069. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  2070. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  2071. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  2072. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  2073. <Column id="appseq" type="INT" size="256" sumtext="신청순번"/>
  2074. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  2075. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  2076. <Column id="reckeyno" type="BIGDECIMAL" size="256" sumtext="기록번호"/>
  2077. <Column id="testflag" type="STRING" size="256" sumtext="testflag"/>
  2078. <Column id="testorddd" type="STRING" size="256" sumtext="testorddd"/>
  2079. <Column id="testcretno" type="INT" size="256" sumtext="testcretno"/>
  2080. <Column id="testorddeptcd" type="STRING" size="256" sumtext="testorddeptcd"/>
  2081. <Column id="testioflag" type="STRING" size="256" sumtext="testioflag"/>
  2082. </ColumnInfo>
  2083. </Dataset>
  2084. <Dataset id="ds_send_savedata_rcptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2085. <ColumnInfo>
  2086. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  2087. <Column id="shtno" type="INT" size="256" sumtext="매수"/>
  2088. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  2089. <Column id="prcpno" type="INT" size="256" sumtext="처방번호"/>
  2090. <Column id="prcphistno" type="INT" size="256" sumtext="처방이력번호"/>
  2091. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  2092. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  2093. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  2094. <Column id="prcpqty" type="INT" size="256" sumtext="처방수량"/>
  2095. <Column id="oldshtno" type="INT" size="256" sumtext="이전매수"/>
  2096. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  2097. <Column id="issseqno" type="BIGDECIMAL" size="256" sumtext="발행번호"/>
  2098. <Column id="copyseqno" type="BIGDECIMAL" size="256" sumtext="발행신청번호"/>
  2099. <Column id="issno" type="STRING" size="256" sumtext="발행연번호"/>
  2100. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  2101. <Column id="prcptims" type="INT" size="256" sumtext="부수"/>
  2102. <Column id="oldprcptims" type="INT" size="256" sumtext="부수"/>
  2103. <Column id="prcpflag" type="STRING" size="256" sumtext="부수"/>
  2104. </ColumnInfo>
  2105. </Dataset>
  2106. <Dataset id="ds_send_savedata_newinput" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2107. <ColumnInfo>
  2108. <Column id="newinput" type="STRING" size="256" sumtext="매수부수 따로 입력여부"/>
  2109. <Column id="shtno" type="INT" size="256" sumtext="매수"/>
  2110. <Column id="emrappcopies" type="INT" size="256" sumtext="부수"/>
  2111. <Column id="totalcopies" type="INT" size="256" sumtext="총매수"/>
  2112. <Column id="prcpflag" type="STRING" size="256" sumtext="신규여부"/>
  2113. </ColumnInfo>
  2114. </Dataset>
  2115. <Dataset id="ds_send_savedata_ininfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2116. <ColumnInfo>
  2117. <Column id="chrtflag" type="STRING" size="256" sumtext="챠트구분"/>
  2118. <Column id="ioflag" type="STRING" size="256" sumtext="진료구분"/>
  2119. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  2120. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  2121. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  2122. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  2123. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과명"/>
  2124. <Column id="atdoctnm" type="STRING" size="256" sumtext="주치의"/>
  2125. <Column id="formrecdt" type="STRING" size="256" sumtext="기록일자"/>
  2126. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  2127. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  2128. <Column id="formrecextnnm" type="STRING" size="256" sumtext="부제목"/>
  2129. <Column id="formrecseq" type="BIGDECIMAL" size="256" sumtext="서식기록순번"/>
  2130. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  2131. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  2132. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  2133. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  2134. <Column id="appseq" type="INT" size="256" sumtext="신청순번"/>
  2135. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  2136. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  2137. <Column id="reckeyno" type="BIGDECIMAL" size="256" sumtext="기록번호"/>
  2138. <Column id="testflag" type="STRING" size="256" sumtext="testflag"/>
  2139. <Column id="testorddd" type="STRING" size="256" sumtext="testorddd"/>
  2140. <Column id="testcretno" type="INT" size="256" sumtext="testcretno"/>
  2141. <Column id="testorddeptcd" type="STRING" size="256" sumtext="testorddeptcd"/>
  2142. <Column id="testioflag" type="STRING" size="256" sumtext="testioflag"/>
  2143. </ColumnInfo>
  2144. </Dataset>
  2145. <Dataset id="ds_main_issusge" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2146. <Dataset id="ds_data_docinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2147. <ColumnInfo>
  2148. <Column id="signdata" type="STRING" size="256"/>
  2149. <Column id="sealimage" type="BLOB" size="256"/>
  2150. </ColumnInfo>
  2151. <Rows>
  2152. <Row/>
  2153. </Rows>
  2154. </Dataset>
  2155. <Dataset id="ds_temp5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2156. <ColumnInfo>
  2157. <Column id="trnsyn" type="STRING" size="256"/>
  2158. </ColumnInfo>
  2159. </Dataset>
  2160. <Dataset id="ds_cmb_searchprd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2161. <ColumnInfo>
  2162. <Column id="index" type="STRING" size="256"/>
  2163. <Column id="code" type="STRING" size="256"/>
  2164. <Column id="name" type="STRING" size="256"/>
  2165. </ColumnInfo>
  2166. <Rows>
  2167. <Row>
  2168. <Col id="code">7%D</Col>
  2169. <Col id="name">1주</Col>
  2170. <Col id="index">0</Col>
  2171. </Row>
  2172. <Row>
  2173. <Col id="index">1</Col>
  2174. <Col id="code">1%M</Col>
  2175. <Col id="name">1개월</Col>
  2176. </Row>
  2177. <Row>
  2178. <Col id="index">2</Col>
  2179. <Col id="code">3%M</Col>
  2180. <Col id="name">3개월</Col>
  2181. </Row>
  2182. <Row>
  2183. <Col id="index">3</Col>
  2184. <Col id="code">6%M</Col>
  2185. <Col id="name">6개월</Col>
  2186. </Row>
  2187. <Row>
  2188. <Col id="index">4</Col>
  2189. <Col id="code">1%Y</Col>
  2190. <Col id="name">1년</Col>
  2191. </Row>
  2192. </Rows>
  2193. </Dataset>
  2194. <Dataset id="ds_searchprd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2195. <ColumnInfo>
  2196. <Column id="fromdd" type="STRING" size="256"/>
  2197. <Column id="todd" type="STRING" size="256"/>
  2198. </ColumnInfo>
  2199. </Dataset>
  2200. <Dataset id="ds_auth_isolatepat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2201. </Objects>
  2202. <Bind>
  2203. <BindItem id="item0" compid="rdo_lang" propid="value" datasetid="ds_main_otherinfo" columnid="lang"/>
  2204. <BindItem id="item1" compid="group1.grp_bmt.chk_bmt" propid="value" datasetid="ds_main_otherinfo" columnid="bmtappyn"/>
  2205. <BindItem id="item2" compid="group1.chk_testinfo2" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo2"/>
  2206. <BindItem id="item3" compid="group1.chk_testinfo3" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo3"/>
  2207. <BindItem id="item4" compid="group1.chk_testinfo4" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo4"/>
  2208. <BindItem id="item5" compid="group1.chk_testinfo6" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo6"/>
  2209. <BindItem id="item6" compid="group1.chk_testinfo5" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo5"/>
  2210. <BindItem id="item7" compid="group1.chk_testinfo7" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo7"/>
  2211. <BindItem id="item8" compid="group1.chk_testinfo8" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo8"/>
  2212. <BindItem id="item9" compid="group1.chk_testinfo" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo"/>
  2213. <BindItem id="item10" compid="group1.chk_testinfo_bak" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo"/>
  2214. <BindItem id="item11" compid="group1.chk_onlytest" propid="value" datasetid="ds_main_otherinfo" columnid="onlytest"/>
  2215. <BindItem id="item12" compid="group1.chk_testinfo1" propid="value" datasetid="ds_main_otherinfo" columnid="testinfo1"/>
  2216. <BindItem id="item13" compid="ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  2217. <BindItem id="item14" compid="ipt_hngnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  2218. <BindItem id="item15" compid="input3" propid="value" datasetid="ds_main_cond" columnid="rrgstno1"/>
  2219. <BindItem id="item16" compid="ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  2220. <BindItem id="item17" compid="ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  2221. <BindItem id="item18" compid="rdo_trustyn" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="trustyn"/>
  2222. <BindItem id="item19" compid="swc_prof.out.rdo_outchrtflag" propid="value" datasetid="ds_main_otherinfo" columnid="outchrtflag"/>
  2223. <BindItem id="item20" compid="swc_prof.out.out_paperyn" propid="value" datasetid="ds_main_paper" columnid="paperyn"/>
  2224. <BindItem id="item21" compid="txt_delivefact" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="delivefact"/>
  2225. <BindItem id="item22" compid="ipt_sa" propid="value" datasetid="ds_main_cond" columnid="sa"/>
  2226. <BindItem id="item23" compid="cmb_emrorddeptcd" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="appdeptcd"/>
  2227. <BindItem id="item24" compid="rdo_appmanflag" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="appmanflag"/>
  2228. <BindItem id="item25" compid="cmb_orddrid" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="appdrid"/>
  2229. <BindItem id="item26" compid="ipt_appmannm" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="appmanetc"/>
  2230. <BindItem id="item27" compid="ipt_issgoalnm" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="issgoaletc"/>
  2231. <BindItem id="item28" compid="ipt_issgoaletc" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="issgoaletcnm"/>
  2232. <BindItem id="item29" compid="ipt_emrappcopies" propid="value" datasetid="ds_temp2_appinfo_copyinfo" columnid="totalcopies"/>
  2233. <BindItem id="item30" compid="chk_anoinfo" propid="value" datasetid="ds_main_otherinfo" columnid="anoinfo"/>
  2234. <BindItem id="item31" compid="input1" propid="value" datasetid="ds_temp2_appinfo_copyinfo" columnid="totalshrtno"/>
  2235. <BindItem id="item32" compid="txt_rcptpossynmsg" propid="value" datasetid="ds_main" columnid="rcptpossynmsg"/>
  2236. <BindItem id="item33" compid="output1" propid="value" datasetid="ds_main" columnid="delivefactcnt"/>
  2237. <BindItem id="item34" compid="chk_addimageyn" propid="value" datasetid="ds_main_otherinfo" columnid="addimageyn"/>
  2238. <BindItem id="item35" compid="input4" propid="value" datasetid="ds_main_cond" columnid="rrgstno2"/>
  2239. <BindItem id="item36" compid="group1.chk_prcpinfo" propid="value" datasetid="ds_main_otherinfo" columnid="prcpinfo"/>
  2240. <BindItem id="item37" compid="chk_recepinfo" propid="value" datasetid="ds_main_cond" columnid="recepinfochk"/>
  2241. <BindItem id="item38" compid="textarea2" propid="value" datasetid="ds_main_appinfo_copyinfo" columnid="memo"/>
  2242. <BindItem id="item40" compid="chx_pagingyn" propid="value" datasetid="ds_main_cond" columnid="pagingyn"/>
  2243. <BindItem id="item39" compid="cmb_histprntyn" propid="value" datasetid="ds_main_cond" columnid="histprntyn"/>
  2244. <BindItem id="item41" compid="swc_prof.out.roundrect6.clnd_srchfromdd" propid="value" datasetid="ds_searchprd" columnid="fromdd"/>
  2245. <BindItem id="item42" compid="swc_prof.out.roundrect6.clnd_srchtodd" propid="value" datasetid="ds_searchprd" columnid="todd"/>
  2246. </Bind>
  2247. <InitValue>
  2248. <Grid id="grd_outapplist" visible="true"/>
  2249. </InitValue>
  2250. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  2251. * System Name :
  2252. * Job Name :
  2253. * Creator :
  2254. * Make Date : 2014-11-06
  2255. * Description :
  2256. *---------------------------------------------------------------------------------------
  2257. * Modify Date Modifier Modify Description
  2258. *---------------------------------------------------------------------------------------
  2259. * 2014-11-06 Live Converter TF->XP
  2260. *
  2261. *---------------------------------------------------------------------------------------
  2262. ****************************************************************************************/
  2263. //=======================================================================================
  2264. // Lib Include
  2265. //---------------------------------------------------------------------------------------
  2266. include "com_commonxp::comm_main.xjs"
  2267. include "emr_commonxp::EMRCommon.xjs" // fSetRcptpossynmsg
  2268. include "emr_prcpmngtxp::MMO001.xjs"
  2269. //include "emr_prcpmngtxp::MMOCommon.xjs" // lf_getHardCDList
  2270. include "emr_chrtmngtxp::SMMRC03100.xjs"
  2271. include "emr_formmngtxp::MRF03800.xjs" //fSaveOCRIF
  2272. //include "emr_imgemrxp::SSMRC03100.xjs"
  2273. include "emr_prcpmngtxp::SMMMO04100.xjs"
  2274. include "pam_pamcomnxp::PAM.xjs" // fMersPatChk
  2275. include "pam_pamcomnxp::PAM001.xjs"
  2276. var gIntervalTime = 500;
  2277. var gTimeCnt;
  2278. var gTimerSW = false;
  2279. //=======================================================================================
  2280. // Function
  2281. //---------------------------------------------------------------------------------------
  2282. /****************************************************************************************
  2283. * Argument : 01.sKey : 코드아이디
  2284. * : 02.sValue : 코드명
  2285. * Description : 공통코드를 가져온다.
  2286. ****************************************************************************************/
  2287. //=======================================================================================
  2288. // Transaction Callback
  2289. //---------------------------------------------------------------------------------------
  2290. /****************************************************************************************
  2291. * Argument : 01.sSvcId : 서비스 ID
  2292. * : 02.nErrorCode : 에러코드
  2293. * : 03.sErrorMsg : 에러메시지
  2294. * Description : cf_TXMRC03004의 콜백함수
  2295. ****************************************************************************************/
  2296. function cf_TXMRC03004(sSvcId, nErrorCode, sErrorMsg) {
  2297. if(nErrorCode < 0) return;
  2298. arErrorCode.push(sSvcId, nErrorCode);
  2299. sysf_trace("***** cf_TXMRC03004 *****");
  2300. }
  2301. //=======================================================================================
  2302. // Event
  2303. //---------------------------------------------------------------------------------------
  2304. /****************************************************************************************
  2305. * Components : Form
  2306. * Components ID : SMMRC03000
  2307. * Event : oninit
  2308. * Argument : 01.obj : Object Event has occurred
  2309. * : 02.e : Event Object
  2310. * Description : 화면 초기화
  2311. ****************************************************************************************/
  2312. function SMMRC03000_oninit(obj:Form, e:InitEventInfo)
  2313. {
  2314. frmf_initForm(obj);
  2315. }
  2316. /****************************************************************************************
  2317. * Components : Form
  2318. * Components ID : SMMRC03000
  2319. * Event : onload
  2320. * Argument : 01.obj : Object Event has occurred
  2321. * : 02.e : Event Object
  2322. * Description : 화면 초기화
  2323. ****************************************************************************************/
  2324. function SMMRC03000_onload(obj:Form, e:LoadEventInfo)
  2325. {
  2326. group1.grp_bmt.visible = false;
  2327. grdf_setRowTypeIcon(grd_outapplist, 0);
  2328. grdf_setRowTypeIcon(datagrid1, 0);
  2329. grdf_setRowTypeIcon(grd_tmprcptlist, 0);
  2330. grdf_setRowTypeIcon(grd_rcptlist, 0);
  2331. //깜빡이 기능
  2332. gTimeCnt = 1;
  2333. this.setTimer(1, gIntervalTime);
  2334. fInitialize();
  2335. }
  2336. function group1_chk_testinfo_bak_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2337. {
  2338. if(e.postvalue == "Y") {
  2339. for( var i = 2; i < 9 ; i++) {
  2340. ds_main_otherinfo.setColumn(0, "testinfo" + i +"", "Y");
  2341. }
  2342. } else{
  2343. for( var i = 2; i < 9 ; i++) {
  2344. ds_main_otherinfo.setColumn(0, "testinfo" + i +"", "");
  2345. }
  2346. }
  2347. }
  2348. function group1_button9_bak_onclick(obj:Button, e:ClickEventInfo)
  2349. {
  2350. fGetEMROutTestList(); //검사결과
  2351. fEmrImgRec(); // html
  2352. }
  2353. function group1_chk_testinfo_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2354. {
  2355. if(e.postvalue == "Y") {
  2356. for( var i = 2; i < 9 ; i++) {
  2357. ds_main_otherinfo.setColumn(0, "testinfo" + i +"", "Y");
  2358. }
  2359. } else{
  2360. for( var i = 2; i < 9 ; i++) {
  2361. ds_main_otherinfo.setColumn(0, "testinfo" + i +"", "N");
  2362. }
  2363. }
  2364. }
  2365. function group1_chk_testinfo1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2366. {
  2367. var label = group1.chk_testinfo1.text;
  2368. fSendChkLabelText(label);
  2369. if(e.postvalue == "Y") {
  2370. fAddTestList("C");
  2371. } else {
  2372. fDelTestList("C");
  2373. }
  2374. }
  2375. function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  2376. {
  2377. if(e.keycode == 13){
  2378. lf_setPid();
  2379. }
  2380. }
  2381. function lf_secretpid(pid) {
  2382. cap_infomsg.visible = false;
  2383. gTimerSW = false;
  2384. dsf_createDsRow("ds_send_secret", [{col:"pid", type:"string", size:256, val:pid}]);
  2385. dsf_createDs("ds_result_secret");
  2386. var oParam = {};
  2387. oParam.id = "SECRET";
  2388. oParam.service = "chrtmngtapp.CopyIssMngt";
  2389. oParam.method = "reqGetSecretlist";
  2390. oParam.inds = "req=ds_send_secret";
  2391. oParam.outds = "ds_result_secret=secretlist";
  2392. oParam.async = false;
  2393. //oParam.callback = "cf_TRMRC03032";
  2394. tranf_submit(oParam);
  2395. var limrem = ds_result_secret.getColumn(0, "limrem");
  2396. var limresn = ds_result_secret.getColumn(0, "limresn");
  2397. dsf_deleteDs("ds_send_secret");
  2398. dsf_deleteDs("ds_result_secret");
  2399. if (limresn == "01") {
  2400. if ("7" == sysf_messageBox("[비밀보호]"+"\n" + limrem + "\n"+"계속 진행하시겠습니까?","Q")) {
  2401. return false ;
  2402. }
  2403. else {
  2404. cap_infomsg.visible = true;
  2405. gTimerSW = true;
  2406. }
  2407. }
  2408. if (limresn == "02") {
  2409. sysf_messageBox(limrem,"I");
  2410. }
  2411. return true ;
  2412. }
  2413. function lf_setPid(){
  2414. ipt_pid.updateToDataset();
  2415. var newPid = ipt_pid.text;
  2416. if (fIsEmrDept()) {
  2417. if (!lf_secretpid(newPid)) {
  2418. //return;
  2419. this.reload();
  2420. }
  2421. }
  2422. // 의료정보팀인지 타 부서인지 체크
  2423. if(fIsEmrDept() == false)
  2424. {
  2425. var globalPid = appf_getPatientInfo("pid");
  2426. utlf_addLog(" globalPid : " + globalPid);
  2427. if(globalPid != newPid) {
  2428. sysf_messageBox("사본신청은 진료중인 환자에 대해서만 신청이 가능합니다.\n등록번호를 상단 환자등록번호와 일치시켜서","C003");
  2429. return;
  2430. }
  2431. }
  2432. // 2017.01.25 환자 조회 시 기록 초기화 및 전체 체크 초기화
  2433. iviewerIemr.cleanViewer();
  2434. swc_prof.in.grd_inpat.setCellProperty("Head", 0, "text", "expr:0");
  2435. swc_prof.out.grd_outpat.setCellProperty("Head", 0, "text", "expr:0");
  2436. ds_grd_outapplist.clearData();
  2437. // 2009.05.26 이경희
  2438. // 의료정보팀인 경우 신청내역저장 버튼이 계속 비활성화되는것을 방지
  2439. btn_save.enable = true;
  2440. ipt_pid.value = newPid;
  2441. //환자기본 및 원무정보 조회
  2442. fReqGetComnPatOrdInfo(ipt_pid.text);
  2443. ds_main_cond.setColumn(0, "copyseqno", "");
  2444. //환자 이전사본발행내역 조회
  2445. fReqGetBfCopyIssHistList(ipt_pid.text);
  2446. // 병리, 영상 발행정보 조회
  2447. lf_getIssInfo(newPid, utlf_getCurrentDate());
  2448. /*var userinfo = getUserInfo("dutplcecd");
  2449. if(userinfo == "3230000000"){
  2450. fHistDetilSearch();
  2451. }*/
  2452. fReqGetOutPatHistList(); // 외래진료내역
  2453. fReqGetInPatHistList(); // 입원진료내역
  2454. fReqGetPaperYN();
  2455. // 입원내역이 존재하면 가장 최근 회차의 중분류가 조회되도록
  2456. // var inList = model.instance1.selectNodes("/root/main/inpathistlist/inpathistlist");
  2457. if(ds_grd_inapplist.rowcount > 0) {
  2458. ds_grd_inapplist.rowposition = 1;
  2459. //fEMRChrtList("F"); // 회차별 입원 차트 조회 /root/main/issinfo/emrapplist
  2460. //fGetINChrtList(); // 중분류서식
  2461. }
  2462. // (e)
  2463. var addimageyn = ds_main_otherinfo.getColumn(0, "addimageyn");
  2464. ds_main_appinfo_copyinfo.clearData();
  2465. ds_main_appinfo_copyinfo.addRow();
  2466. dsf_setDefaultVal(ds_main_appinfo_copyinfo, "all");
  2467. fSet_enableevent(false);
  2468. ds_main_otherinfo.clearData();
  2469. ds_main_otherinfo.addRow();
  2470. fSet_enableevent(true);
  2471. ds_main_otherinfo.setColumn(0, "addimageyn", addimageyn );
  2472. //sysf_trace("***** addimgeyn " + addimageyn );
  2473. ds_temp_issinfo_emrapplist.clearData(); //model.removeNodeset("/root/temp/issinfo/emrapplist");
  2474. ds_grd_rcptlist.clearData();//model.removeNodeset("/root/main/rcptlist/rcptlist");
  2475. if(ds_grd_inapplist.rowcount < 1) {
  2476. ds_grd_inapplist.clearData();
  2477. }
  2478. var deathyn = ds_main_paper.getColumn(0, "deathyn");
  2479. if(deathyn == "Y") {
  2480. ds_main_appinfo_copyinfo.setColumn(0, "appmanflag", "");
  2481. } else if(deathyn == "N") {
  2482. var age = ds_main_cond.getColumn(0, "age");
  2483. if(age < parseInt(14)) {
  2484. ds_main_appinfo_copyinfo.setColumn(0, "appmanflag", "2");
  2485. ds_main_appinfo_copyinfo.setColumn(0, "trustyn", "Y");
  2486. } else {
  2487. ds_main_appinfo_copyinfo.setColumn(0, "appmanflag", "1");
  2488. }
  2489. }
  2490. if(!utlf_isNull(ds_main_paper.getColumn(0, "limrem"))) {
  2491. var limrem = ds_main_paper.getColumn(0, "limrem");
  2492. var pid = ds_main_cond.getColumn(0, "pid");
  2493. var name = ds_main_cond.getColumn(0, "hngnm");
  2494. //sysf_messageBox(" " + pid + "(" + name + ") : " + limrem +" " + "\n 유의환자", "I009");
  2495. }
  2496. ds_main_appinfo_copyinfo.setColumn(0, "trustyn", "N");
  2497. ds_main_otherinfo.setColumn(0, "lang", "K");
  2498. //2013/01/14 Start
  2499. totprntcnt=0;
  2500. ds_main.setColumn(0, "delivefactcnt", "");
  2501. //2013/01/14 End
  2502. ds_main_cond.setColumn(0, "histprntyn", "N");
  2503. ds_main_cond.setColumn(0, "pagingyn", "N");
  2504. }
  2505. function btn_hngnm_onclick(obj:Button, e:ClickEventInfo)
  2506. {
  2507. fPatPopUp("2");
  2508. }
  2509. function ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
  2510. {
  2511. if (e.keycode == 13)
  2512. {
  2513. obj.updateToDataset();
  2514. var e = new ClickEventInfo;
  2515. frmf_inputEnterKey("btn_hngnm", "onclick", e);
  2516. }
  2517. }
  2518. function btn_profhist_onclick(obj:Button, e:ClickEventInfo)
  2519. {
  2520. fGetEMRPrcpList(); //검사결과
  2521. fEmrImgRec();
  2522. }
  2523. function btn_out_onclick(obj:Button, e:ClickEventInfo)
  2524. {
  2525. btn_in.setSelectStatus(false);
  2526. btn_out.setSelectStatus(true);
  2527. fClikOutTab();
  2528. }
  2529. function btn_in_onclick(obj:Button, e:ClickEventInfo)
  2530. {
  2531. btn_out.setSelectStatus(false);
  2532. btn_in.setSelectStatus(true);
  2533. fClikInTab();
  2534. }
  2535. function swc_prof_out_button9_onclick(obj:Button, e:ClickEventInfo)
  2536. {
  2537. fGetEMROutTestList(); //외래 기록조회; 검사결과
  2538. if( ds_main_cond.getColumn(0, "pagingyn") == "Y" ){
  2539. lf_Paging();
  2540. }else{
  2541. fPagebtnCtl();
  2542. fEmrImgRec(); // html
  2543. }
  2544. }
  2545. function swc_prof_in_grd_inapplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2546. {
  2547. //2009-11-19 강지훈 수정 : 스크롤 더블클릭했을때 미친듯이 날뜀 방지.
  2548. if( e.row > -1 && e.col > -1 ){
  2549. fGetINChrtList(); // 중분류서식
  2550. }
  2551. }
  2552. function ds_grd_inapplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2553. {
  2554. if( e.columnid == "chk" ){
  2555. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  2556. var chk = obj.getColumn(e.row, "chk");
  2557. if(chk == "Y") {
  2558. fMidIndxSet("Y");
  2559. }
  2560. else
  2561. {
  2562. fMidIndxSet("N");
  2563. }
  2564. }
  2565. }
  2566. function swc_prof_in_grd_inpat_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2567. {
  2568. //2009-11-19 강지훈 수정 : 스크롤 더블클릭했을때 미친듯이 날뜀 방지.
  2569. if(e.col > -1 && e.row > -1) {
  2570. fDispMidForm(e.row);
  2571. }
  2572. }
  2573. function btn_reappinfo_onclick(obj:Button, e:ClickEventInfo)
  2574. {
  2575. fReCopyAppInfoSave();
  2576. }
  2577. function button3_onclick(obj:Button, e:ClickEventInfo)
  2578. {
  2579. fAppCopyInfoClear();
  2580. }
  2581. function btn_update_onclick(obj:Button, e:ClickEventInfo)
  2582. {
  2583. rdo_appmanflag.enable = true;
  2584. rdo_trustyn.enable = true;
  2585. btn_issgoal.enable = true;
  2586. ds_main_appinfo_copyinfo.setColumn(0, "status", "u");
  2587. fBefCopySave("UDT");
  2588. }
  2589. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  2590. {
  2591. fBefCopySave();
  2592. }
  2593. function button6_onclick(obj:Button, e:ClickEventInfo)
  2594. {
  2595. if(ds_grd_apphist.rowcount <= 0) return;
  2596. if(ds_grd_apphist.rowposition < -1) return;
  2597. var lrow = ds_grd_apphist.rowposition;
  2598. ds_send_reqdata.clearData();
  2599. var nRow = ds_send_reqdata.addRow();
  2600. ds_send_reqdata.setColumn(nRow, "pid", ds_grd_apphist.getColumn(lrow, "pid"));
  2601. ds_send_reqdata.setColumn(nRow, "copyseqno", ds_grd_apphist.getColumn(lrow, "copyseqno"));
  2602. ds_send_reqdata.setColumn(nRow, "memo", ds_main_appinfo_copyinfo.getColumn(0, "memo"));
  2603. var oParam = {};
  2604. oParam.id = "TXMRC03004";
  2605. oParam.service = "chrtmngtapp.CopyIssMngt";
  2606. oParam.method = "reqExeCopyMemo";
  2607. oParam.inds = "req=ds_send_reqdata";
  2608. //oParam.outds = "null";
  2609. oParam.async = false;
  2610. oParam.callback = "cf_TXMRC03004";
  2611. tranf_submit(oParam);
  2612. if(arErrorCode.pop("TXMRC03004") > -1) {
  2613. sysf_messageBox("비고저장", "I002");
  2614. }
  2615. }
  2616. function button7_onclick(obj:Button, e:ClickEventInfo)
  2617. {
  2618. var pageCurrent = iviewerIemr.ds_main_chartinfo.getColumn(0, "pagecurrent");
  2619. var pageCnt = iviewerIemr.ds_main_chartinfo.getColumn(0, "pagetotal");
  2620. var prnShtno = "";
  2621. if(pageCurrent == 0) prnShtno = pageCnt;
  2622. else if(pageCurrent > 0) prnShtno = pageCurrent;
  2623. //mmbfGetHardCodeInfo("/root/send/reqdata","/root/hidden/inputbox", 1111); //의무기록사본발행수가코드
  2624. //var inputbox = model.getValue("/root/hidden/inputbox/hardcd/hardcd");//의무기록 사본발행 수가코드
  2625. var inputbox = lf_getHardCDList("Y", 1111, 3, null);
  2626. var ret = "";
  2627. var totalcopies = parseInt(ds_temp2_appinfo_copyinfo.getColumn(0, "totalcopies"));
  2628. trace(" 사본출력 printChart S ");
  2629. for(var idx= 0; idx < totalcopies; idx++)
  2630. {
  2631. //출력메세지 미정의로 임시 막음(2009-06-30 박종훈)
  2632. //ret = iviewerIemr.window.javaScript.printChart("SMMRC03000");
  2633. //사본발급 출력서식의 하단에 사본발급용도(목적) 출력요청(2010-04-05 박종훈)
  2634. //[요청번호 : 11336, TaskNo : 43930, 우선순위 : SY]
  2635. var tmpissgoaletc = "";
  2636. var issgoaletc = ds_main_appinfo_copyinfo.getColumn(0, "issgoaletc");
  2637. var issgoaletcnm = ds_main_appinfo_copyinfo.getColumn(0, "issgoaletcnm");
  2638. if (!utlf_isNull(issgoaletc))
  2639. {
  2640. var issgoaletcnm = ds_main_appinfo_copyinfo.getColumn(0, "issgoaletcnm");
  2641. if (utlf_isNull(issgoaletcnm))
  2642. {
  2643. tmpissgoaletc = "용도 : " + issgoaletc;
  2644. }
  2645. else
  2646. {
  2647. tmpissgoaletc = "용도 : " + issgoaletc + "(" + issgoaletcnm + ")";
  2648. }
  2649. }
  2650. ret = iviewerIemr.printChart("SMMRC03000", tmpissgoaletc);
  2651. }
  2652. trace(" 사본출력 printChart E ");
  2653. //2013/02/21 Start
  2654. for(var i=iviewerIemr.f_View.PageTotal; i>=1; i--){
  2655. if(iviewerIemr.f_View.get_ThumbnailSelect(i) == true){
  2656. printcount+=1;
  2657. }
  2658. }
  2659. //2013/02/21 End
  2660. if(ret == true)
  2661. {
  2662. if(inputbox == "Y")
  2663. {
  2664. //2013/01/14 Start 출력버튼 누를때마다 실시간으로 신청부수가 변경될 수 있도록 수정
  2665. //2013/02/25 Start
  2666. totprntcnt=parseInt(printcount);
  2667. //totprntcnt+=parseInt(prnShtno);
  2668. //2013/02/25 End
  2669. if(totprntcnt==0){
  2670. ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", prnShtno);
  2671. }else{
  2672. ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", totprntcnt);
  2673. }
  2674. var e = new ClickEventInfo;
  2675. frmf_inputEnterKey("button11", "onclick", e);
  2676. //2013/01/14 End
  2677. }
  2678. else
  2679. {
  2680. if(ds_grd_rcptlist.rowcount > 0) {
  2681. if(!utlf_isNull(prnShtno)) {
  2682. ds_grd_rcptlist.enableevent = false;
  2683. ds_grd_rcptlist.setColumn(0, "shtno", prnShtno);
  2684. ds_grd_rcptlist.setColumn(0, "prcpqty", prnShtno);
  2685. ds_grd_rcptlist.enableevent = true;
  2686. }
  2687. }
  2688. }
  2689. sysf_messageBox("출력", "I001");
  2690. }
  2691. else
  2692. {
  2693. sysf_messageBox("출력에", "E009");
  2694. }
  2695. }
  2696. function button8_onclick(obj:Button, e:ClickEventInfo)
  2697. {
  2698. //mmbfGetHardCodeInfo("/root/send/reqdata","/root/hidden/inputbox", 1111); //의무기록사본발행수가코드
  2699. //var inputbox = model.getValue("/root/hidden/inputbox/hardcd/hardcd");//의무기록 사본발행 수가코드
  2700. //지난날짜 처방은 부수,매수 수정불가, 단 30일 이전에 DC(0,0)는 가능함
  2701. if(lf_ContainsHardCD("6160", "Y")) {
  2702. var rowpos = ds_grd_apphist.rowposition;
  2703. var issdd = ds_grd_apphist.getColumn(rowpos,"issdd");
  2704. var today = utlf_getCurrentDate();
  2705. var bmdd = today.toDate().getAddDate(-1, "M").getDateFormat();
  2706. if (!utlf_isNull(issdd)) {
  2707. if ( issdd < bmdd ) {
  2708. sysf_messageBox("진행할 수 없는 데이터 입니다","E");
  2709. return;
  2710. }
  2711. else {
  2712. if ( issdd != today) {
  2713. if(input1.value != "0" || ipt_emrappcopies.value != "0") {
  2714. sysf_messageBox("수가를 수정할 수 없습니다!","E");
  2715. return;
  2716. }
  2717. }
  2718. }
  2719. }
  2720. }
  2721. var inputbox = lf_getHardCDList("Y", 1111, 3, null);
  2722. if(inputbox == "O")
  2723. {
  2724. if(utlf_isNull(ds_temp2_appinfo_copyinfo.getColumn(0, "totalshrtno")))
  2725. {
  2726. alert("매수를 입력하세요");
  2727. return;
  2728. }
  2729. if(utlf_isNull(ds_temp2_appinfo_copyinfo.getColumn(0, "totalcopies")))
  2730. {
  2731. alert("부수를 입력하세요");
  2732. return;
  2733. }
  2734. }
  2735. fSave();
  2736. }
  2737. function grd_apphist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2738. {
  2739. if(e.row < 0 || e.col < 0) return;
  2740. var oDs = this.objects[obj.binddataset];
  2741. //[요청번호:20180521005] 사본신청 상세건수가 특정량 이상이면 메시지 띄우고 진행불가기능 개발
  2742. if( ds_temp_hardcd9.findRow("hardcd", sysf_getUserInfo("dutplcecd")) > -1 ){
  2743. var nFindRow = ds_temp_hardcd9.findRow("hardcd", sysf_getUserInfo("dutplcecd"));
  2744. var nCheckCnt = parseInt(ds_temp_hardcd9.getColumn(nFindRow, "hardcdnm"));
  2745. if( nCheckCnt > 0 ){
  2746. dsf_createDsRow("ds_cond_TRMRC03034", [{col:"copyseqno", val:oDs.getColumn(e.row, "copyseqno")}]);
  2747. dsf_createDs("ds_data_TRMRC03034", [{col:"totcnt"}]);
  2748. var oParam = {};
  2749. oParam.id = "TRMRC03034";
  2750. oParam.service = "chrtmngtapp.CopyIssMngt";
  2751. oParam.method = "reqGetLsapCnt";
  2752. oParam.inds = "req=ds_cond_TRMRC03034";
  2753. oParam.outds = "ds_data_TRMRC03034=lsapcnt";
  2754. oParam.async = false;
  2755. oParam.progress = false;
  2756. tranf_submit(oParam);
  2757. if( ds_data_TRMRC03034.rowcount > 0
  2758. && nCheckCnt <= parseInt(ds_data_TRMRC03034.getColumn(0, "totcnt")) ){
  2759. var rtn = sysf_messageBox("상세건수가 " + parseInt(ds_data_TRMRC03034.getColumn(0, "totcnt")) + "건 입니다. 계속 진행하시겠습니까?", "Q");
  2760. if( rtn != 6 ){
  2761. return;
  2762. }
  2763. }
  2764. }
  2765. }
  2766. // 병리, 영상 발행정보 조회
  2767. var nPid = oDs.getColumn(e.row, "pid")
  2768. var nAppdd = !utlf_isNull(oDs.getColumn(e.row, "issdd")) ? oDs.getColumn(e.row, "issdd") : utlf_getCurrentDate();
  2769. lf_getIssInfo(nPid, nAppdd);
  2770. //장수 초기화
  2771. printcount = 0;
  2772. var chk=false;
  2773. for(var i=0; i<ds_temp_hardcd.rowcount; i++){
  2774. if(ds_temp_hardcd.getColumn(i, "hardcd")==sysf_getUserInfo("dutplcecd")){
  2775. chk=true;
  2776. break;
  2777. }
  2778. }
  2779. if(chk==true){
  2780. btn_update.enable=true;
  2781. btn_save.enable=false;
  2782. }else if(!utlf_isNull(oDs.getColumn(e.row, "issno")) && chk==false){
  2783. btn_update.enable=false;
  2784. btn_save.enable=false;
  2785. }else if(utlf_isNull(oDs.getColumn(e.row, "issno")) && chk==false){
  2786. btn_update.enable=true;
  2787. btn_save.enable=false;
  2788. }
  2789. iviewerIemr.cleanViewer();
  2790. ds_tmpinicert2_iniinfo.clearData();
  2791. var idx = e.row;
  2792. //진료취소체크로직 추가.
  2793. dsf_createDsRow("ds_send_xhiststat", [{col:"pid", type:"string", size:256, val:oDs.getColumn(idx, "pid")}
  2794. , {col:"orddd", type:"string", size:256, val:oDs.getColumn(idx, "orddd")}
  2795. , {col:"cretno", type:"string", size:256, val:oDs.getColumn(idx, "cretno")}]);
  2796. dsf_createDs("ds_temp4_xhiststat");
  2797. var oParam = {};
  2798. oParam.id = "TRMRC03032";
  2799. oParam.service = "chrtmngtapp.CopyIssMngt";
  2800. oParam.method = "reqGetCopyissXHist";
  2801. oParam.inds = "req=ds_send_xhiststat";
  2802. oParam.outds = "ds_temp4_xhiststat=xhiststat";
  2803. oParam.async = false;
  2804. //oParam.callback = "cf_TRMRC03032";
  2805. tranf_submit(oParam);
  2806. var xhiststat_orddd = ds_temp4_xhiststat.getColumn(0, "orddd");
  2807. dsf_deleteDs("ds_send_xhiststat");
  2808. dsf_deleteDs("ds_temp4_xhiststat");
  2809. if( !utlf_isNull(xhiststat_orddd) ){
  2810. sysf_messageBox("선택하신 내역은 신청일에 원무접수 취소되었습니다. \n삭제 후 재신청하시기 바랍니다.","E");
  2811. return;
  2812. }
  2813. if(!utlf_isNull(oDs.getColumn(idx, "issno")))
  2814. {
  2815. ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", oDs.getColumn(idx, "totalcopies"));
  2816. ds_temp2_appinfo_copyinfo.setColumn(0, "totalcopies", oDs.getColumn(idx, "emrappcopies"));
  2817. }
  2818. else
  2819. {
  2820. ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", "10");
  2821. ds_temp2_appinfo_copyinfo.setColumn(0, "totalcopies", "1");
  2822. }
  2823. ds_main_cond.setColumn(0, "copyseqno", oDs.getColumn(idx, "copyseqno"));
  2824. fAppInfoSearch(); // 사본발행 기본정보에만 붙고 저장된 서식 /root/main/appinfo/applist
  2825. fOutAppInfoSearch(); // 외래진료
  2826. fInAppInfoSearch(); // 입원진료
  2827. fReqGetPaperYN("HIST"); // 종이차트
  2828. fIssSearch(); // 수가
  2829. fGetOutEmrFormList(); // 외래 사본list /root/temp/issinfo/emrapplist
  2830. var outListCnt = ds_grd_outpat.getCaseCount("chk=='Y'");
  2831. var inListCnt = ds_grd_inapplist.getCaseCount("chk=='Y'");
  2832. if(outListCnt < 1 && utlf_isNull(ds_main_otherinfo.getColumn(0, "outchrtflag"))) {
  2833. // KNUH_20101124_박성호_start_의무기록 부서코드 가져오기
  2834. var dutplcecd = sysf_getUserInfo("dutplcecd");
  2835. if(!utlf_isNull(ds_temp_hardcd.lookup("hardcd", dutplcecd, "hardcd")))
  2836. {
  2837. // KNUH_20101124_박성호_end
  2838. if(inListCnt > 0) {
  2839. // switch
  2840. btn_in.setSelectStatus(true);
  2841. btn_out.setSelectStatus(false);
  2842. swc_prof.tabindex = 1;
  2843. group1.visible = false;
  2844. swc_prof.position.height = "457";//450
  2845. swc_prof.in.grd_inapplist.position.height = "200";
  2846. swc_prof.in.caption10.position.y = "225";
  2847. swc_prof.in.grd_inpat.position.y = "242";//240
  2848. swc_prof.in.grd_inpat.position.height = "200";
  2849. }
  2850. }
  2851. }
  2852. fGetMidFormList(); // 중분류 사본list
  2853. //var outrsrvinfo = model.instance1.selectNodes("/root/main/outpathistlist/outpathistlist");
  2854. if (ds_grd_outpat.rowcount > 0)
  2855. {
  2856. fGetEMROutTestList(); //검사결과
  2857. }
  2858. fDispAllForm();
  2859. if(ds_grd_rcptlist.rowcount == 1)
  2860. ds_grd_rcptlist.rowposition = 0;
  2861. var jobkindcd = sysf_getUserInfo("jobkindcd");
  2862. if (jobkindcd == "1140" || jobkindcd == "1110")
  2863. {
  2864. fSetDisabled();
  2865. }
  2866. else
  2867. {
  2868. //2012/02/29 Start
  2869. //btn_update.disabled = false;
  2870. btn_reappinfo.enable = true;
  2871. //2012/02/29 End
  2872. }
  2873. ds_main_otherinfo.setColumn(0, "bmtappyn", oDs.getColumn(idx, "bmtappyn"));
  2874. //2012/03/13 Start
  2875. before_delivefact = ds_main_appinfo_copyinfo.getColumn(0, "delivefact");
  2876. //2012/03/13 End
  2877. //2013/01/15 Start
  2878. var delivefactcnt = ds_main_appinfo_copyinfo.getColumn(0, "delivefact").split("\n");
  2879. ds_main.setColumn(0, "delivefactcnt", delivefactcnt.length-1);
  2880. //2013/01/15 End
  2881. ds_main_otherinfo.setColumn(0, "addimageyn", "Y");
  2882. }
  2883. // function ds_grd_apphist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  2884. // {
  2885. // if(e.newrow < 0) return;
  2886. //
  2887. // var chk=false;
  2888. //
  2889. // for(var i=0; i<ds_temp_hardcd.rowcount; i++){
  2890. // if(ds_temp_hardcd.getColumn(i, "hardcd")==sysf_getUserInfo("dutplcecd")){
  2891. // chk=true;
  2892. // break;
  2893. // }
  2894. // }
  2895. //
  2896. // if(chk==true){
  2897. // btn_update.enable=true;
  2898. // btn_save.enable=false;
  2899. // }else if(!utlf_isNull(obj.getColumn(e.newrow, "issno")) && chk==false){
  2900. // btn_update.enable=false;
  2901. // btn_save.enable=false;
  2902. // }else if(utlf_isNull(obj.getColumn(e.newrow, "issno")) && chk==false){
  2903. // btn_update.enable=true;
  2904. // btn_save.enable=false;
  2905. // }
  2906. // //2012/02/29 end
  2907. //
  2908. // iviewerIemr.cleanViewer();
  2909. // ds_tmpinicert2_iniinfo.clearData();
  2910. //
  2911. //
  2912. // var idx = e.newrow;
  2913. // if(!utlf_isNull(obj.getColumn(idx, "issno")))
  2914. // {
  2915. // ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", obj.getColumn(idx, "totalcopies"));
  2916. // ds_temp2_appinfo_copyinfo.setColumn(0, "totalcopies", obj.getColumn(idx, "emrappcopies"));
  2917. // }
  2918. // else
  2919. // {
  2920. // ds_temp2_appinfo_copyinfo.setColumn(0, "totalshrtno", "10");
  2921. // ds_temp2_appinfo_copyinfo.setColumn(0, "totalcopies", "1");
  2922. // }
  2923. //
  2924. // ds_main_cond.setColumn(0, "copyseqno", obj.getColumn(idx, "copyseqno"));
  2925. // fAppInfoSearch(); // 사본발행 기본정보에만 붙고 저장된 서식 /root/main/appinfo/applist
  2926. // fOutAppInfoSearch(); // 외래진료
  2927. //
  2928. // fInAppInfoSearch(); // 입원진료
  2929. // fReqGetPaperYN("HIST"); // 종이차트
  2930. // fIssSearch(); // 수가
  2931. //
  2932. //
  2933. // fGetOutEmrFormList(); // 외래 사본list /root/temp/issinfo/emrapplist
  2934. //
  2935. //
  2936. // var outListCnt = ds_grd_outpat.getCaseCount("chk=='Y'");
  2937. // var inListCnt = ds_grd_inapplist.getCaseCount("chk=='Y'");
  2938. //
  2939. // if(outListCnt < 1 && utlf_isNull(ds_main_otherinfo.getColumn(0, "outchrtflag"))) {
  2940. //
  2941. // // KNUH_20101124_박성호_start_의무기록 부서코드 가져오기
  2942. // var dutplcecd = sysf_getUserInfo("dutplcecd");
  2943. //
  2944. // if(!utlf_isNull(ds_temp_hardcd.lookup("hardcd", dutplcecd, "hardcd")))
  2945. // {
  2946. // // KNUH_20101124_박성호_end
  2947. // if(inListCnt > 0) {
  2948. // // switch
  2949. // btn_in.setSelectStatus(true);
  2950. // btn_out.setSelectStatus(false);
  2951. // swc_prof.tabindex = 1;
  2952. // group1.visible = false;
  2953. // swc_prof.position2.height = "457";//450
  2954. // swc_prof.in.grd_inapplist.position2.height = "200";
  2955. // swc_prof.in.caption10.position2.top = "225";
  2956. // swc_prof.in.grd_inpat.position2.top = "242";//240
  2957. // swc_prof.in.grd_inpat.position2.height = "200";
  2958. // }
  2959. // }
  2960. // }
  2961. //
  2962. // fGetMidFormList(); // 중분류 사본list
  2963. //
  2964. // //var outrsrvinfo = model.instance1.selectNodes("/root/main/outpathistlist/outpathistlist");
  2965. // if (ds_grd_outpat.rowcount > 0)
  2966. // {
  2967. // fGetEMROutTestList(); //검사결과
  2968. // }
  2969. //
  2970. // fDispAllForm();
  2971. //
  2972. // if(ds_grd_rcptlist.rowcount == 1)
  2973. // ds_grd_rcptlist.rowposition = 0;
  2974. //
  2975. // var jobkindcd = sysf_getUserInfo("jobkindcd");
  2976. // if (jobkindcd == "1140" || jobkindcd == "1110")
  2977. // {
  2978. // fSetDisabled();
  2979. // }
  2980. // else
  2981. // {
  2982. // //2012/02/29 Start
  2983. // //btn_update.disabled = false;
  2984. // btn_reappinfo.enable = true;
  2985. // //2012/02/29 End
  2986. // }
  2987. // ds_main_otherinfo.setColumn(0, "bmtappyn", obj.getColumn(idx, "bmtappyn"));
  2988. //
  2989. // //2012/03/13 Start
  2990. // before_delivefact = ds_main_appinfo_copyinfo.getColumn(0, "delivefact");
  2991. // //2012/03/13 End
  2992. // //2013/01/15 Start
  2993. // var delivefactcnt = ds_main_appinfo_copyinfo.getColumn(0, "delivefact").split("\n");
  2994. // ds_main.setColumn(0, "delivefactcnt", delivefactcnt.length-1);
  2995. // //2013/01/15 End
  2996. //
  2997. // }
  2998. function grd_apphist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  2999. {
  3000. var oDs = this.objects[obj.binddataset];
  3001. if( oDs.rowcount < 1 ) return;
  3002. if( e.row < 0 ) return;
  3003. ds_grd_apphist.rowposition = e.row;
  3004. popupmenu.trackPopup(e.screenX,e.screenY);
  3005. //setPopupMenu("grd_apphist", false, "/root/popupmenu/menu/item", "name", "func");
  3006. }
  3007. function cmb_emrorddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3008. {
  3009. utlf_addLog("***** cmb_emrorddeptcd_onitemchanged *****");
  3010. appf_getOrdDeptDoctorList("none", sysf_getUserInfo("dutplceinstcd"), cmb_emrorddeptcd.value, "usernm", "asc", utlf_getCurrentDate(), "ds_init_cmb_orddrid");//해당 주치의
  3011. if(chk_anoinfo.value == "Y") param = "T";
  3012. else param = "Y";
  3013. fReqGetOutPatHistList(param);
  3014. fReqGetInPatHistList(param);
  3015. if (sysf_getUserInfo("dutplcecd") == "3230000000") {
  3016. ds_main_appinfo_copyinfo.setColumn(0,"appdrid","EMR");
  3017. }
  3018. }
  3019. function rdo_appmanflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  3020. {
  3021. utlf_addLog("***** rdo_appmanflag_onitemchanged *****");
  3022. var sa = ds_main_cond.getColumn(0, "sa");
  3023. var age = sa.substring(2, sa.length);
  3024. var appmanflag = ds_main_appinfo_copyinfo.getColumn(0, "appmanflag");
  3025. if(age < parseInt(14)) {
  3026. if(appmanflag == "1") {
  3027. sysf_messageBox("만 14세 미만 환자는 본인 항목을 체크", "E001");
  3028. ds_main_appinfo_copyinfo.setColumn(0, "appmanflag", "");
  3029. }
  3030. }
  3031. var deathyn = ds_main_paper.getColumn(0, "deathyn");
  3032. if(deathyn == "Y") {
  3033. if(appmanflag == "1") {
  3034. sysf_messageBox("사망 환자는 본인 항목을 체크", "E001");
  3035. ds_main_appinfo_copyinfo.setColumn(0, "appmanflag", "");
  3036. }
  3037. }
  3038. fAppManNmSetting();
  3039. }
  3040. function ipt_issgoalnm_onlbuttonup(obj:Edit, e:MouseEventInfo)
  3041. {
  3042. var issgoaletccd = ds_main_appinfo_copyinfo.getColumn(0, "issgoaletccd");
  3043. if(utlf_isNull(issgoaletccd))
  3044. {
  3045. sysf_messageBox("사본발행목적을 입력하실려면 왼쪽 사본발행목적 버튼을 클릭", "I008");
  3046. return;
  3047. }
  3048. }
  3049. function button5_onclick(obj:Button, e:ClickEventInfo)
  3050. {
  3051. fPopUpPrcpHist();
  3052. }
  3053. function btn_issgoal_onclick(obj:Button, e:ClickEventInfo)
  3054. {
  3055. fIssGoalPopUp();
  3056. }
  3057. function btn_help_onclick(obj:Button, e:ClickEventInfo)
  3058. {
  3059. frmf_setParameter("SPMRC02600_param","A");
  3060. frmf_modal("SPMRC02600", "SPMRC02600", null, null, null, null, null, null, null, null, null, null, "M");
  3061. }
  3062. function ds_grd_rcptlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3063. {
  3064. // utlf_addLog("***** ds_grd_rcptlist_oncolumnchanged *****");
  3065. // if( e.columnid == "shtno" || e.columnid == "prcptims"){
  3066. // fChangedGridRow();
  3067. // fChangedAppCopies();
  3068. // }
  3069. }
  3070. function grd_rcptlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3071. {
  3072. // 2010.04.26. 이은영 -> 컬러복사 수가 적용
  3073. var colorcalcscoryn = ds_hidden_colorcalcscoryn.getColumn(0, "hardcd");
  3074. if (colorcalcscoryn == "Y") {
  3075. fMouseRghtBtnPopup(grd_rcptlist, e); // 우클릭 메뉴 보기..
  3076. }
  3077. }
  3078. function ipt_emrappcopies_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  3079. {
  3080. if( e.keycode == 13 ){
  3081. obj.updateToDataset();
  3082. var e = new ClickEventInfo;
  3083. frmf_inputEnterKey("button11", "onclick", e);
  3084. }
  3085. }
  3086. function ipt_emrappcopies_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  3087. {
  3088. obj.updateToDataset();
  3089. if(fChangedAppCopies2() == true)
  3090. {
  3091. fSugaCalc();
  3092. fChangedSugaGridRow();
  3093. }
  3094. }
  3095. // function ds_temp2_appinfo_copyinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3096. // {
  3097. // utlf_addLog("***** ds_temp2_appinfo_copyinfo_oncolumnchanged : " + e.col + " *****");
  3098. // if( e.col == 0 ){ // totalcopies
  3099. // //inputEnterKey("button11", "DOMActivate");
  3100. // if(fChangedAppCopies2() == true)
  3101. // {
  3102. // fSugaCalc();
  3103. // fChangedSugaGridRow();
  3104. // }
  3105. // }else if( e.col == 1 ){ // totalshrtno
  3106. // if(fChangedAppCopies2() == true)
  3107. // {
  3108. // fSugaCalc();
  3109. // fChangedSugaGridRow();
  3110. // //2013/01/15 Start
  3111. // totprntcnt=parseInt(ds_temp2_appinfo_copyinfo.getColumn(0, "totalshrtno"));
  3112. // //2013/01/15 End
  3113. // }
  3114. // }
  3115. // }
  3116. function btn_crtfct_onclick(obj:Button, e:ClickEventInfo)
  3117. {
  3118. //2012/03/14 Start
  3119. for(var i=0; i<ds_temp_hardcd2.rowcount; i++){
  3120. if(ds_temp_hardcd2.getColumn(i, "hardcd") != sysf_getUserInfo("dutplceinstcd")){
  3121. issnoYN = "";
  3122. break;
  3123. }
  3124. }
  3125. //2012/03/14 End
  3126. fPrnt("crtfct");
  3127. }
  3128. function btn_colorcalcscoryn_onclick(obj:Button, e:ClickEventInfo)
  3129. {
  3130. fAddColorCalcScor();
  3131. }
  3132. function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
  3133. {
  3134. fPrnt("cnfm");
  3135. }
  3136. function btn_smaer00800_onclick(obj:Button, e:ClickEventInfo)
  3137. {
  3138. fExamRultListCall();
  3139. }
  3140. function btn_smmri00400_onclick(obj:Button, e:ClickEventInfo)
  3141. {
  3142. fMedirecListCall();
  3143. }
  3144. function button1_onclick(obj:Button, e:ClickEventInfo)
  3145. {
  3146. fChrtRultListCall();
  3147. }
  3148. function button2_onclick(obj:Button, e:ClickEventInfo)
  3149. {
  3150. fChrtHistRultListCall();
  3151. }
  3152. function grd_outapplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  3153. {
  3154. // 해당노드 없음
  3155. // if(grd_emrapplist.isCell(event.target) && (grd_emrapplist.mouserow >= grd_emrapplist.fixedrows))
  3156. // {
  3157. // setPopupMenu("grd_emrapplist", false, "/root/init/emrapplistclik/mouserght", "label", "func");
  3158. // }
  3159. }
  3160. function button4_onclick(obj:Button, e:ClickEventInfo)
  3161. {
  3162. var objDOM = rptf_createDOM(); // DOM 객체 설정
  3163. rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_main_cond); // 데이터셋 1
  3164. //sysf_trace(objDOM.documentElement.source); // XML 내용출력
  3165. var objParam = new Object();
  3166. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  3167. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0"; // 미리보기 미실행
  3168. rptf_exeReportPreview30(["RPMRC03000"],[objParam], option);
  3169. //exeReportPreview("RPMRC03000", "XMLSTR", "", "", "true", "", "", "", "", "true");
  3170. }
  3171. function chk_anoinfo_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  3172. {
  3173. utlf_addLog("***** chk_anoinfo_onchanged *****");
  3174. /* 20111121 클릭시 외래 및 입원을 모두 불러 올 수 있도록 수정
  3175. if(btn_out.selected) {
  3176. if(chk_anoinfo.value == "Y") param = "T";
  3177. else param = "Y";
  3178. fReqGetOutPatHistList(param);
  3179. } else if(btn_in.selected) {
  3180. if(chk_anoinfo.value == "Y") param = "T";
  3181. else param = "Y";
  3182. fReqGetInPatHistList(param);
  3183. }
  3184. */
  3185. if(e.postvalue == "Y"){
  3186. param = "T";
  3187. }else{
  3188. param = "Y";
  3189. }
  3190. fReqGetOutPatHistList(param);
  3191. fReqGetInPatHistList(param);
  3192. }
  3193. function grd_emrapplist_oncellclick(obj:Grid, e:GridClickEventInfo)
  3194. {
  3195. var chk = ds_grd_emrapplist.getColumn(ds_grd_emrapplist.rowposition, "chk");
  3196. if(chk == "Y") {
  3197. ds_grd_emrapplist.setColumn(ds_grd_emrapplist.rowposition, "chk", "Y");
  3198. }
  3199. }
  3200. function btn_pathist_onclick(obj:Button, e:ClickEventInfo)
  3201. {
  3202. fGetPatHist();
  3203. }
  3204. function button10_onclick(obj:Button, e:ClickEventInfo)
  3205. {
  3206. var e = new GridClickEventInfo;
  3207. frmf_inputEnterKey("grd_apphist", "cellclick", e);
  3208. }
  3209. function input1_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  3210. {
  3211. if( e.keycode == 13 ){
  3212. obj.updateToDataset();
  3213. var e = new ClickEventInfo;
  3214. frmf_inputEnterKey("button11", "onclick", e);
  3215. //2013/01/15 Start
  3216. totprntcnt=parseInt(ds_temp2_appinfo_copyinfo.getColumn(0, "totalshrtno"));
  3217. //2013/01/15 End
  3218. }
  3219. }
  3220. function input1_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  3221. {
  3222. obj.updateToDataset();
  3223. if(fChangedAppCopies2() == true)
  3224. {
  3225. fSugaCalc();
  3226. fChangedSugaGridRow()
  3227. //2013/01/15 Start
  3228. totprntcnt=parseInt(ds_temp2_appinfo_copyinfo.getColumn(0, "totalshrtno"));
  3229. //2013/01/15 End
  3230. }
  3231. }
  3232. function button11_onclick(obj:Button, e:ClickEventInfo)
  3233. {
  3234. trace("button11_onclick S");
  3235. if(fChangedAppCopies2() == true)
  3236. {
  3237. trace("button11_onclick 1");
  3238. fSugaCalc();
  3239. trace("button11_onclick 2");
  3240. fChangedSugaGridRow();
  3241. trace("button11_onclick 3");
  3242. grd_rcptlist.redraw();
  3243. trace("button11_onclick 4");
  3244. }
  3245. trace("button11_onclick E");
  3246. }
  3247. function button12_onclick(obj:Button, e:ClickEventInfo)
  3248. {
  3249. fAddDetailContents();
  3250. }
  3251. function ds_grd_outpat_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3252. {
  3253. if( e.columnid == "chk" ){
  3254. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  3255. }
  3256. }
  3257. function ds_grd_inpat_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  3258. {
  3259. if( e.columnid == "chk" ){
  3260. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  3261. }
  3262. }
  3263. function popupmenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  3264. {
  3265. eval(e.id + "()");
  3266. }
  3267. function popupmenu00_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  3268. {
  3269. eval(e.id + "()");
  3270. }
  3271. function btn_recepinfo_onclick(obj:Button, e:ClickEventInfo)
  3272. {
  3273. var nRow = ds_grd_apphist.rowposition;
  3274. if( nRow < 0){
  3275. sysf_messageBox("환자를 먼저", "C002");
  3276. return;
  3277. }
  3278. var sIssuno = ds_grd_apphist.getColumn(nRow, "issno");
  3279. if(utlf_isNull(sIssuno)){
  3280. sysf_messageBox("수가입력이 되지 않았습니다. 수가입력 버튼을", "C002");
  3281. } else{
  3282. fPrnt("recepinfo");
  3283. }
  3284. }
  3285. function button15_onclick(obj:Button, e:ClickEventInfo)
  3286. {
  3287. //exeReportPreview("RFM0000001", "XMLSTR", "", "", "true", "", "", "", "", "true");
  3288. var objParam = new Object();
  3289. var option = "open=1;save=1;directprint=1;printdialog=0;zoom=0";
  3290. rptf_exeReportPreview30(["RFM0000001"],[objParam], option);
  3291. }
  3292. function button14_onclick(obj:Button, e:ClickEventInfo)
  3293. {
  3294. //exeReportPreview("RFM0000002", "XMLSTR", "", "", "true", "", "", "", "", "true");
  3295. var objParam = new Object();
  3296. var option = "open=1;save=1;directprint=1;printdialog=0;zoom=0";
  3297. rptf_exeReportPreview30(["RFM0000002"],[objParam], option);
  3298. }
  3299. /*
  3300. * MERS 관련 격리대상자 조회
  3301. * 2015/06/17
  3302. */
  3303. function fMersPatChk(worktype, pid){
  3304. var sRtn = "N"; // 디폴트 메르스 관련 데이터 존재하지 않음.
  3305. if( utlf_isNull(worktype)){
  3306. sysf_messageBox("업무구분이 입력되지 않았습니다.", "E");
  3307. return;
  3308. }
  3309. if( utlf_isNull(pid) ){
  3310. sysf_messageBox("환자 번호가 입력되지 않았습니다.", "E");
  3311. return;
  3312. }
  3313. frmf_setParameter("SPPMO01358_worktype", worktype);
  3314. frmf_setParameter("SPPMO01358_pid", pid);
  3315. //modal("SPPMO01358", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  3316. frmf_modal("SPPMO01358", "SPPMO01358", null, null, null, null, null, null, null, null, null, null, "M");
  3317. return frmf_getParameter("sRtn");
  3318. }
  3319. /*
  3320. * KIMS DUR 격리대상자 조회 (메르스, 신종 코로나(우한 폐렴) 등)
  3321. * 2020/01/28
  3322. */
  3323. function fIsolatePatChk(){
  3324. lf_getHardCDList("N", 10024, null, ds_auth_isolatepat);
  3325. if(ds_auth_isolatepat.findRow("hardcd", sysf_getUserInfo("dutplcecd")) > -1){
  3326. var sPid = ds_main_cond.getColumn(0, "pid");
  3327. //trace("pid >> " + sPid);
  3328. frmf_setParameter("SPMMD00100_ifyn", "Y");
  3329. frmf_setParameter("SPMMD00100_pid", sPid);
  3330. var argxpt = system.clientToScreenX(this, 0) + 450;
  3331. var argypt = system.clientToScreenY(this, 0) + 150;
  3332. frmf_modal("SPMMO51000", "SPMMO51000", null, false, null, argxpt, argypt, null, null, null, null, null, "M");
  3333. }
  3334. }
  3335. function input4_onkeydown(obj:Edit, e:KeyEventInfo)
  3336. {
  3337. if (e.keycode == 13)
  3338. {
  3339. obj.updateToDataset();
  3340. fPatPopUp("3");
  3341. }
  3342. }
  3343. function input3_onkeydown(obj:Edit, e:KeyEventInfo)
  3344. {
  3345. if (e.keycode == 13)
  3346. {
  3347. obj.updateToDataset();
  3348. fPatPopUp("3");
  3349. }
  3350. }
  3351. /**===================================================================================
  3352. @desc : 깜빡이 기능
  3353. =====================================================================================*/
  3354. function fviewinfomsg(){
  3355. if(gTimeCnt%2 == 0){
  3356. cap_infomsg.visible = true;
  3357. }else{
  3358. cap_infomsg.visible = false;
  3359. }
  3360. gTimeCnt++;
  3361. }
  3362. function SMMRC03000_ontimer(obj:Form, e:TimerEventInfo)
  3363. {
  3364. if (e.timerid == 1 && gTimerSW ){
  3365. fviewinfomsg();
  3366. }else if( e.timerid == 2 ){
  3367. this.killTimer(e.timerid);
  3368. lf_CheckPrnt_close();
  3369. }
  3370. }
  3371. /****************************************************************************************
  3372. * Argument : 01.nPid - 등록번호, 02.nAppdd - 현재일자, 발행일자
  3373. * Description : 병리,영상 발행정보 조회
  3374. ****************************************************************************************/
  3375. function lf_getIssInfo(nPid, nAppdd){
  3376. dsf_createDsRow("ds_cond_TRMRC03035", [{col:"pid", val:nPid}, {col:"appdd", val:nAppdd}]);
  3377. dsf_createDs("ds_data_TRMRC03035", [{col:"issinfo"}]);
  3378. var oParam = {};
  3379. oParam.id = "TRMRC03035";
  3380. oParam.service = "chrtmngtapp.CopyIssMngt";
  3381. oParam.method = "reqGetIssInfo";
  3382. oParam.inds = "req=ds_cond_TRMRC03035";
  3383. oParam.outds = "ds_data_TRMRC03035=issinfo";
  3384. oParam.async = true;
  3385. oParam.progress = false;
  3386. oParam.callback = "cf_TRMRC03035";
  3387. tranf_submit(oParam);
  3388. }
  3389. /****************************************************************************************
  3390. * Argument : 01.sSvcId : 서비스 ID
  3391. * : 02.nErrorCode : 에러코드
  3392. * : 03.sErrorMsg : 에러메시지
  3393. * Description : cf_TXMRC03004의 콜백함수
  3394. ****************************************************************************************/
  3395. function cf_TRMRC03035(sSvcId, nErrorCode, sErrorMsg) {
  3396. //if(nErrorCode < 0) return;
  3397. if( ds_data_TRMRC03035.rowcount > 0 ){
  3398. var isscnts = utlf_transNullToEmpty(ds_data_TRMRC03035.getColumn(0, "issinfo"));
  3399. if( utlf_isNull(isscnts) || isscnts == "해당없음" ){
  3400. cap_issinfo.style.color = "black";
  3401. }else{
  3402. cap_issinfo.style.color = "red";
  3403. }
  3404. cap_issinfo.text = "※ " + isscnts;
  3405. }else{
  3406. cap_issinfo.style.color = "black";
  3407. cap_issinfo.text = "";
  3408. }
  3409. utlf_addLog(ds_cond_TRMRC03035.saveXML());
  3410. utlf_addLog(ds_data_TRMRC03035.saveXML());
  3411. dsf_deleteDs("ds_cond_TRMRC03035");
  3412. dsf_deleteDs("ds_data_TRMRC03035");
  3413. }
  3414. function swc_prof_out_roundrect6_cmb_searchprd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3415. {
  3416. // 조회기간 설정 기능 추가 (20190902 금정화)
  3417. var tempgap = ds_cmb_searchprd.getColumn(ds_cmb_searchprd.findRow("index", obj.index), "code").split("%");
  3418. var tempfromdd = (utlf_getCurrentDate().toDate()).getAddDate(Number("-" + tempgap[0]),tempgap[1]).getDateFormat();
  3419. var temptodd = utlf_getCurrentDate();
  3420. ds_searchprd.clearData();
  3421. ds_searchprd.addRow();
  3422. ds_searchprd.setColumn(0, "fromdd", tempfromdd);
  3423. ds_searchprd.setColumn(0, "todd", temptodd);
  3424. set_filter_with_period();
  3425. }
  3426. function swc_prof_out_roundrect6_chk_searchprd_onclick(obj:CheckBox, e:ClickEventInfo)
  3427. {
  3428. set_filter_with_period();
  3429. }
  3430. function swc_prof_out_roundrect6_clnd_srchfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  3431. {
  3432. set_filter_with_period();
  3433. }
  3434. function swc_prof_out_roundrect6_clnd_srchtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  3435. {
  3436. set_filter_with_period();
  3437. }
  3438. function swc_prof_out_grd_outpat_oncellclick(obj:Grid, e:GridClickEventInfo)
  3439. {
  3440. if(e.col != 0){
  3441. if(ds_grd_outpat.getColumn(e.row, "chk") == "Y"){
  3442. ds_grd_outpat.setColumn(e.row, "chk", "");
  3443. }else{
  3444. ds_grd_outpat.setColumn(e.row, "chk", "Y");
  3445. }
  3446. }
  3447. }
  3448. ]]></Script>
  3449. </Form>
  3450. </FDL>