SMLPJ01000_추가처방등록.xfdl 202 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPJ01000" position="absolute 0 0 1199 792" titletext="추가처방등록" oninit="SMLPJ01000_oninit" onload="SMLPJ01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="div_all" taborder="20" position="absolute 0 0 1197 787">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_prcpcncl" taborder="1" text="전처방반환" onclick="grp_btn_btn_prcpcncl_onclick" class="btn4" position="absolute 1012 30 1104 51" anchor="default"/>
  11. <Button id="btn_save" taborder="2" text="처방저장" class="btn4" position="absolute 1107 30 1187 51" onclick="div_all_btn_save_onclick" anchor="default"/>
  12. <Combo id="cmb_readdr" taborder="3" visible="true" position="absolute 922 31 997 49" anchor="default" innerdataset="@ds_doctor" codecolumn="userid" datacolumn="usernm"/>
  13. <Static id="cap_orddrid" text="후인증 의사" class="cell_1" visible="true" position="absolute 840 29 921 51" anchor="default"/>
  14. <Edit id="input1" taborder="4" visible="false" position="absolute 567 32 627 50" anchor="default"/>
  15. <Edit id="input2" taborder="5" visible="false" position="absolute 632 32 692 50" anchor="default"/>
  16. <Edit id="input3" taborder="6" visible="false" position="absolute 697 32 757 50" anchor="default"/>
  17. <Static id="caption11" text="진료일자 :" class="search_name" position="absolute 7 32 93 48" anchor="default"/>
  18. <Calendar id="input4" taborder="7" class="input_s_essential" position="absolute 208 31 310 49" anchor="default"/>
  19. <Calendar id="input5" taborder="8" class="input_s_essential" position="absolute 96 31 198 49" anchor="default"/>
  20. <Static id="caption6" text="추가처방등록" class="tit_1" position="absolute 0 0 114 25" anchor="default"/>
  21. <Div id="grp_sea" taborder="9" class="div_SA" position="absolute 1 58 1191 93" anchor="default">
  22. <Layouts>
  23. <Layout>
  24. <Static id="caption5" text="~" class="search_no_b" position="absolute 985 10 997 27" anchor="default"/>
  25. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 7 1110 29" anchor="default"/>
  26. <Calendar id="ipt_acptddfrom" taborder="21" class="input_s_essential" position="absolute 880 8 982 27" anchor="default"/>
  27. <Calendar id="ipt_acptddto" taborder="22" class="input_s_essential" position="absolute 997 8 1099 27" anchor="default" onkeyup="div_all_grp_sea_ipt_acptddto_onkeyup"/>
  28. <Static id="caption1" text="검색값 :" class="search_name" position="absolute 15 9 92 26" anchor="default"/>
  29. <Button id="btn_sea" taborder="23" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 1123 7 1179 29" anchor="default"/>
  30. <Edit id="ipt_seaval" taborder="24" class="input_search" position="absolute 95 8 180 27" anchor="default" onkeydown="div_all_grp_sea_ipt_seaval_onkeydown" autoselect="true"/>
  31. <Static id="caption7" text="처방구분 :" class="search_name" position="absolute 593 9 679 26" anchor="default"/>
  32. <Static id="cap_titledd" text="처방일자 :" class="search_name" position="absolute 796 9 882 26" anchor="default"/>
  33. <Combo id="cbo_ordflag" taborder="25" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 685 8 775 27" anchor="default">
  34. <Dataset id="innerdataset">
  35. <ColumnInfo>
  36. <Column id="codecolumn"/>
  37. <Column id="datacolumn"/>
  38. </ColumnInfo>
  39. <Rows>
  40. <Row>
  41. <Col id="codecolumn">0</Col>
  42. <Col id="datacolumn">접수처방</Col>
  43. </Row>
  44. <Row>
  45. <Col id="codecolumn">1</Col>
  46. <Col id="datacolumn">미접수처방</Col>
  47. </Row>
  48. </Rows>
  49. </Dataset>
  50. </Combo>
  51. <Button id="btn_search" taborder="26" class="icon_search" position="absolute 266 8 282 24" onclick="div_all_grp_sea_btn_search_onclick" anchor="default"/>
  52. <Combo id="cbo_refmthdcd" taborder="27" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 183 8 263 27" anchor="default">
  53. <Dataset id="innerdataset">
  54. <ColumnInfo>
  55. <Column id="codecolumn"/>
  56. <Column id="datacolumn"/>
  57. </ColumnInfo>
  58. <Rows>
  59. <Row>
  60. <Col id="codecolumn">1</Col>
  61. <Col id="datacolumn">등록번호</Col>
  62. </Row>
  63. <Row>
  64. <Col id="codecolumn">2</Col>
  65. <Col id="datacolumn">환자명</Col>
  66. </Row>
  67. </Rows>
  68. </Dataset>
  69. </Combo>
  70. <Static id="caption2" text="병리번호 :" class="search_name" position="absolute 300 9 386 26" anchor="default"/>
  71. <Combo id="cbo_ptnocd" taborder="28" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 389 8 490 27" anchor="default"/>
  72. <Edit id="ipt_fromptno" taborder="29" class="text_center" position="absolute 523 8 573 27" anchor="default" onkeydown="div_all_grp_sea_ipt_fromptno_onkeydown"/>
  73. <Edit id="ipt_fromyear" taborder="30" class="text_center" position="absolute 493 8 520 27" anchor="default"/>
  74. </Layout>
  75. </Layouts>
  76. </Div>
  77. <Shape id="line1" class="line_1" position="absolute 0 118 461 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  78. <Static id="caption3" text="환자(입원)목록" class="tit_2" position="absolute 3 101 118 118" anchor="default"/>
  79. <Shape id="line3" class="line_1" position="absolute 930 118 1194 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  80. <Static id="caption8" text="처방명 목록" class="tit_2" position="absolute 931 101 1026 118" anchor="default"/>
  81. <Static id="caption10" text="처방내역" class="tit_2" position="absolute 2 386 81 402" anchor="default"/>
  82. <Shape id="line5" class="line_1" position="absolute 0 403 928 409" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  83. <Shape id="line4" class="line_1" position="absolute 465 118 676 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  84. <Static id="caption9" text="접수검체" class="tit_2" position="absolute 466 101 541 117" anchor="default"/>
  85. <Tab id="Tab_prcp" taborder="10" onchanged="swt_ordkind_onchanged" tabindex="0" position="absolute 678 120 928 376" anchor="default">
  86. <Tabpages>
  87. <Tabpage id="swtordkind_case1" text="약속처방">
  88. <Layouts>
  89. <Layout>
  90. <Shape id="line2" linetype="vertical" class="line_1" position="absolute 5 0 244 6" anchor="default"/>
  91. <Grid id="trv_setprcpkind" taborder="4" binddataset="ds_prmsprcpsetlist" useinputpanel="false" treeusecheckbox="false" oncellclick="swt_ordkind_swtordkind_case1_trv_setprcpkind_oncellclick" position="absolute 5 30 244 227" autofit="col" anchor="default">
  92. <Formats>
  93. <Format id="default">
  94. <Columns>
  95. <Column size="239"/>
  96. </Columns>
  97. <Rows>
  98. <Row size="24"/>
  99. </Rows>
  100. <Band id="body">
  101. <Cell displaytype="tree" edittype="tree" text="bind:setnm" treelevel="bind:levl"/>
  102. </Band>
  103. </Format>
  104. </Formats>
  105. </Grid>
  106. <Shape id="roundrect3" type="roundrectangle" position="absolute 5 1 242 31" anchor="default"/>
  107. <Radio id="rdo_srchcond1" taborder="5" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" value="P" onitemchanged="swt_ordkind_swtordkind_case1_rdo_srchcond1_onitemchanged" position="absolute 21 7 112 24" index="0" anchor="default">
  108. <Dataset id="innerdataset">
  109. <ColumnInfo>
  110. <Column id="codecolumn"/>
  111. <Column id="datacolumn"/>
  112. </ColumnInfo>
  113. <Rows>
  114. <Row>
  115. <Col id="codecolumn">P</Col>
  116. <Col id="datacolumn">개인</Col>
  117. </Row>
  118. <Row>
  119. <Col id="codecolumn">D</Col>
  120. <Col id="datacolumn">과</Col>
  121. </Row>
  122. </Rows>
  123. </Dataset>
  124. </Radio>
  125. <Radio id="radio1" taborder="6" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_ordkind_swtordkind_case1_radio1_onitemchanged" position="absolute 133 6 230 24" index="0" anchor="default" value="O">
  126. <Dataset id="innerdataset">
  127. <ColumnInfo>
  128. <Column id="codecolumn"/>
  129. <Column id="datacolumn"/>
  130. </ColumnInfo>
  131. <Rows>
  132. <Row>
  133. <Col id="codecolumn">O</Col>
  134. <Col id="datacolumn">외래</Col>
  135. </Row>
  136. <Row>
  137. <Col id="codecolumn">I</Col>
  138. <Col id="datacolumn">입원</Col>
  139. </Row>
  140. </Rows>
  141. </Dataset>
  142. </Radio>
  143. </Layout>
  144. </Layouts>
  145. </Tabpage>
  146. <Tabpage id="swtordkind_case2" text="처방분류">
  147. <Layouts>
  148. <Layout>
  149. <Grid id="trv_prcpkind" taborder="1" binddataset="ds_prcpkindlist" useinputpanel="false" treeusecheckbox="false" oncellclick="swt_ordkind_swtordkind_case2_trv_prcpkind_oncellclick" position="absolute 5 1 244 223" autofit="col" anchor="default" oncelldblclick="div_all_Tab_prcp_swtordkind_case2_trv_prcpkind_oncelldblclick" autoenter="none" cellclickbound="cell">
  150. <Formats>
  151. <Format id="default">
  152. <Columns>
  153. <Column size="237"/>
  154. </Columns>
  155. <Rows>
  156. <Row size="24"/>
  157. </Rows>
  158. <Band id="body">
  159. <Cell displaytype="tree" edittype="tree" text="bind:earnclsnm" treelevel="bind:lvl"/>
  160. </Band>
  161. </Format>
  162. <Format id="format_copy"/>
  163. </Formats>
  164. </Grid>
  165. <Shape id="line7" linetype="vertical" class="line_1" position="absolute 5 0 244 6" anchor="default"/>
  166. </Layout>
  167. </Layouts>
  168. </Tabpage>
  169. </Tabpages>
  170. </Tab>
  171. <Grid id="grd_testcdlist" taborder="11" binddataset="ds_grd_testcdlist" useinputpanel="false" autofittype="col" position="absolute 930 122 1194 786" anchor="default" oncelldblclick="div_all_grd_testcdlist_oncelldblclick">
  172. <Formats>
  173. <Format id="default">
  174. <Columns>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="263"/>
  178. <Column size="0"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="0"/>
  192. <Column size="0"/>
  193. <Column size="0"/>
  194. <Column size="0"/>
  195. <Column size="0"/>
  196. <Column size="0"/>
  197. <Column size="0"/>
  198. <Column size="0"/>
  199. </Columns>
  200. <Rows>
  201. <Row size="24" band="head"/>
  202. <Row size="24"/>
  203. </Rows>
  204. <Band id="head">
  205. <Cell text="기관코드"/>
  206. <Cell col="1" text="처방코드"/>
  207. <Cell col="2" text="처방명"/>
  208. <Cell col="3" text="처방명"/>
  209. <Cell col="4" text="처방명"/>
  210. <Cell col="5" text="처방명"/>
  211. <Cell col="6" text="caption1"/>
  212. <Cell col="7" text="caption2"/>
  213. <Cell col="8" text="caption3"/>
  214. <Cell col="9" text="caption4"/>
  215. <Cell col="10" text="caption5"/>
  216. <Cell col="11" text="caption6"/>
  217. <Cell col="12" text="caption7"/>
  218. <Cell col="13" text="caption8"/>
  219. <Cell col="14" text="caption9"/>
  220. <Cell col="15" text="caption10"/>
  221. <Cell col="16" text="caption11"/>
  222. <Cell col="17" text="caption12"/>
  223. <Cell col="18" text="caption13"/>
  224. <Cell col="19" text="caption14"/>
  225. <Cell col="20" text="caption15"/>
  226. <Cell col="21" text="caption16"/>
  227. <Cell col="22" text="caption17"/>
  228. <Cell col="23" text="caption18"/>
  229. </Band>
  230. <Band id="body">
  231. <Cell text="bind:instcd"/>
  232. <Cell col="1" text="bind:testcd"/>
  233. <Cell col="2" style="align:left middle;" text="bind:testengnm"/>
  234. <Cell col="3" text="bind:testengabbr"/>
  235. <Cell col="4" text="bind:testhngnm"/>
  236. <Cell col="5" text="bind:testhngabbr"/>
  237. <Cell col="6" text="bind:acptdept"/>
  238. <Cell col="7" text="bind:ptnocd"/>
  239. <Cell col="8" text="bind:stdyptnocd"/>
  240. <Cell col="9" text="bind:trustptnocd"/>
  241. <Cell col="10" text="bind:workflagcd"/>
  242. <Cell col="11" text="bind:slidflagcd"/>
  243. <Cell col="12" text="bind:slidisscnt"/>
  244. <Cell col="13" text="bind:blocflagcd"/>
  245. <Cell col="14" text="bind:initblocno"/>
  246. <Cell col="15" text="bind:autokeepflagcd"/>
  247. <Cell col="16" text="bind:stdy_workflagcd"/>
  248. <Cell col="17" text="bind:stdy_slidflagcd"/>
  249. <Cell col="18" text="bind:stdy_slidisscnt"/>
  250. <Cell col="19" text="bind:stdy_blocflagcd"/>
  251. <Cell col="20" text="bind:stdy_initblocno"/>
  252. <Cell col="21" text="bind:stdy_autokeepflagcd"/>
  253. <Cell col="22" text="bind:ptnonewflagcd"/>
  254. <Cell col="23" text="bind:orgaddflagcd"/>
  255. </Band>
  256. </Format>
  257. </Formats>
  258. </Grid>
  259. <Grid id="grd_patlist" taborder="12" binddataset="ds_grd_patlist" useinputpanel="false" oncellclick="grd_patlist_oncellclick" position="absolute 0 122 461 377" anchor="default" cellsizingtype="col">
  260. <Formats>
  261. <Format id="default">
  262. <Columns>
  263. <Column size="0"/>
  264. <Column size="0"/>
  265. <Column size="80"/>
  266. <Column size="80"/>
  267. <Column size="70"/>
  268. <Column size="0"/>
  269. <Column size="50"/>
  270. <Column size="0"/>
  271. <Column size="110"/>
  272. <Column size="0"/>
  273. <Column size="80"/>
  274. <Column size="0"/>
  275. <Column size="70"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. </Columns>
  283. <Rows>
  284. <Row size="24" band="head"/>
  285. <Row size="24"/>
  286. </Rows>
  287. <Band id="head">
  288. <Cell text="instcd"/>
  289. <Cell col="1" text="병리번호"/>
  290. <Cell col="2" text="병리번호"/>
  291. <Cell col="3" text="등록번호"/>
  292. <Cell col="4" text="환자성명"/>
  293. <Cell col="5" text="prcpgenrflag"/>
  294. <Cell col="6" text="구분"/>
  295. <Cell col="7" text="처방일자"/>
  296. <Cell col="8" text="처방일시"/>
  297. <Cell col="9" text="orddeptcd"/>
  298. <Cell col="10" text="진료과"/>
  299. <Cell col="11" text="orddrid"/>
  300. <Cell col="12" text="진료의"/>
  301. <Cell col="13" text="caption1"/>
  302. <Cell col="14" text="caption2"/>
  303. <Cell col="15" text="caption3"/>
  304. <Cell col="16" text="caption4"/>
  305. <Cell col="17" text="caption5"/>
  306. <Cell col="18" text="caption6"/>
  307. </Band>
  308. <Band id="body">
  309. <Cell text="bind:instcd"/>
  310. <Cell col="1" text="bind:ptno"/>
  311. <Cell col="2" class="text_center" text="bind:dispptno"/>
  312. <Cell col="3" class="text_center" text="bind:pid"/>
  313. <Cell col="4" style="align:left middle;" class="text_center" text="bind:patnm"/>
  314. <Cell col="5" text="bind:prcpgenrflag"/>
  315. <Cell col="6" class="text_center" text="bind:patflagnm"/>
  316. <Cell col="7" text="bind:prcpdd"/>
  317. <Cell col="8" class="text_center" text="bind:prcpdt"/>
  318. <Cell col="9" text="bind:orddeptcd"/>
  319. <Cell col="10" style="align:left middle;" class="text_center" text="bind:orddeptnm"/>
  320. <Cell col="11" text="bind:orddrid"/>
  321. <Cell col="12" class="text_center" text="bind:orddrnm"/>
  322. <Cell col="13" text="bind:execprcpuniqno"/>
  323. <Cell col="14" text="bind:acptdd"/>
  324. <Cell col="15" text="bind:acptno"/>
  325. <Cell col="16" text="bind:spcacptdd"/>
  326. <Cell col="17" text="bind:spcacptno"/>
  327. <Cell col="18" text="bind:spccd"/>
  328. </Band>
  329. </Format>
  330. </Formats>
  331. </Grid>
  332. <Grid id="grd_acptspclist" taborder="13" binddataset="ds_grd_acptspclist" useinputpanel="false" autofittype="col" position="absolute 465 122 676 377" anchor="default" cellsizingtype="col">
  333. <Formats>
  334. <Format id="default">
  335. <Columns>
  336. <Column size="0"/>
  337. <Column size="0"/>
  338. <Column size="0"/>
  339. <Column size="0"/>
  340. <Column size="0"/>
  341. <Column size="130"/>
  342. <Column size="0"/>
  343. <Column size="81"/>
  344. </Columns>
  345. <Rows>
  346. <Row size="24" band="head"/>
  347. <Row size="24"/>
  348. </Rows>
  349. <Band id="head">
  350. <Cell text="instcd"/>
  351. <Cell col="1" text="spcacptdd"/>
  352. <Cell col="2" text="spcacptno"/>
  353. <Cell col="3" text="spcacptseqno"/>
  354. <Cell col="4" text="spccd"/>
  355. <Cell col="5" text="검체명"/>
  356. <Cell col="6" text="csteno"/>
  357. <Cell col="7" text="Cassette"/>
  358. </Band>
  359. <Band id="body">
  360. <Cell text="bind:instcd"/>
  361. <Cell col="1" text="bind:spcacptdd"/>
  362. <Cell col="2" text="bind:spcacptno"/>
  363. <Cell col="3" text="bind:spcacptseqno"/>
  364. <Cell col="4" text="bind:spccd"/>
  365. <Cell col="5" style="align:left middle;" text="bind:spcnm"/>
  366. <Cell col="6" text="bind:csteno"/>
  367. <Cell col="7" style="align:center middle;" text="bind:cstecnts"/>
  368. </Band>
  369. </Format>
  370. </Formats>
  371. </Grid>
  372. <Grid id="grd_prcplist" taborder="14" binddataset="ds_grd_prcplist" useinputpanel="false" position="absolute 0 407 927 786" onrbuttondown="div_all_grd_prcplist_onrbuttondown" anchor="default" oncellclick="div_all_grd_prcplist_oncellclick" selecttype="multirow" onexpanddown="div_all_grd_prcplist_onexpanddown" autoenter="select" cellsizingtype="col">
  373. <Formats>
  374. <Format id="default">
  375. <Columns>
  376. <Column size="0"/>
  377. <Column size="23"/>
  378. <Column size="50"/>
  379. <Column size="40"/>
  380. <Column size="0"/>
  381. <Column size="80"/>
  382. <Column size="0"/>
  383. <Column size="80"/>
  384. <Column size="70"/>
  385. <Column size="60"/>
  386. <Column size="0"/>
  387. <Column size="80"/>
  388. <Column size="0"/>
  389. <Column size="0"/>
  390. <Column size="80"/>
  391. <Column size="0"/>
  392. <Column size="200"/>
  393. <Column size="70"/>
  394. <Column size="60"/>
  395. <Column size="0"/>
  396. <Column size="40"/>
  397. <Column size="70"/>
  398. <Column size="70"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="100"/>
  403. <Column size="0"/>
  404. <Column size="60"/>
  405. <Column size="0"/>
  406. <Column size="60"/>
  407. <Column size="0"/>
  408. <Column size="0"/>
  409. <Column size="0"/>
  410. <Column size="0"/>
  411. <Column size="0"/>
  412. <Column size="0"/>
  413. <Column size="0"/>
  414. <Column size="0"/>
  415. <Column size="0"/>
  416. <Column size="0"/>
  417. <Column size="0"/>
  418. <Column size="0"/>
  419. <Column size="0"/>
  420. <Column size="0"/>
  421. <Column size="0"/>
  422. <Column size="0"/>
  423. <Column size="0"/>
  424. <Column size="0"/>
  425. <Column size="0"/>
  426. <Column size="0"/>
  427. <Column size="0"/>
  428. <Column size="0"/>
  429. <Column size="0"/>
  430. <Column size="0"/>
  431. <Column size="0"/>
  432. <Column size="0"/>
  433. <Column size="0"/>
  434. <Column size="0"/>
  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="0"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="0"/>
  453. <Column size="0"/>
  454. <Column size="0"/>
  455. <Column size="0"/>
  456. <Column size="0"/>
  457. <Column size="0"/>
  458. <Column size="0"/>
  459. <Column size="0"/>
  460. <Column size="0"/>
  461. <Column size="0"/>
  462. <Column size="0"/>
  463. <Column size="0"/>
  464. <Column size="0"/>
  465. <Column size="0"/>
  466. <Column size="0"/>
  467. <Column size="0"/>
  468. <Column size="0"/>
  469. <Column size="0"/>
  470. <Column size="0"/>
  471. <Column size="70"/>
  472. <Column size="70"/>
  473. </Columns>
  474. <Rows>
  475. <Row size="24" band="head"/>
  476. <Row size="24" band="head"/>
  477. <Row size="24"/>
  478. </Rows>
  479. <Band id="head">
  480. <Cell text="기관코드"/>
  481. <Cell col="1" rowspan="2" taborder="undefined"/>
  482. <Cell col="2" rowspan="2" text="블럭명" taborder="undefined"/>
  483. <Cell col="3" rowspan="2" text="비고" taborder="undefined"/>
  484. <Cell col="4" text="접수내역"/>
  485. <Cell col="5" colspan="3" text="접수내역" taborder="undefined"/>
  486. <Cell col="8" rowspan="2" text="퇴원(예정)&#10;일자" taborder="undefined"/>
  487. <Cell col="9" rowspan="2" text="처방&#10;상태" taborder="undefined"/>
  488. <Cell col="10" text="신규처방"/>
  489. <Cell col="11" colspan="4" text="신규처방" taborder="undefined"/>
  490. <Cell col="15" text="신규처방"/>
  491. <Cell col="16" rowspan="2" text="처 방 명" taborder="undefined"/>
  492. <Cell col="17" rowspan="2" text="등록번호" taborder="undefined"/>
  493. <Cell col="18" rowspan="2" text="환자명" taborder="undefined"/>
  494. <Cell col="19" text="prcpgenrflag"/>
  495. <Cell col="20" rowspan="2" text="환자&#10;구분" taborder="undefined"/>
  496. <Cell col="21" rowspan="2" text="처방일자" taborder="undefined"/>
  497. <Cell col="22" rowspan="2" text="접수일자" taborder="undefined"/>
  498. <Cell col="23" text="진료일자"/>
  499. <Cell col="24" text="처방코드"/>
  500. <Cell col="25" text="spccd"/>
  501. <Cell col="26" rowspan="2" text="검 체 명" taborder="undefined"/>
  502. <Cell col="27" text="orddeptcd"/>
  503. <Cell col="28" rowspan="2" text="처방과" taborder="undefined"/>
  504. <Cell col="29" text="orddrid"/>
  505. <Cell col="30" rowspan="2" text="처방의" taborder="undefined"/>
  506. <Cell col="31" text="의뢰지&#10;복사"/>
  507. <Cell col="32" text="execprcpuniqno"/>
  508. <Cell col="33" text="prcpno"/>
  509. <Cell col="34" text="cretno"/>
  510. <Cell col="35" text="acptno"/>
  511. <Cell col="36" text="spcacptdd"/>
  512. <Cell col="37" text="caption1"/>
  513. <Cell col="38" text="caption2"/>
  514. <Cell col="39" text="caption3"/>
  515. <Cell col="40" text="caption4"/>
  516. <Cell col="41" text="caption5"/>
  517. <Cell col="42" text="caption6"/>
  518. <Cell col="43" text="caption7"/>
  519. <Cell col="44" text="caption8"/>
  520. <Cell col="45" text="caption9"/>
  521. <Cell col="46" text="caption10"/>
  522. <Cell col="47" text="caption11"/>
  523. <Cell col="48" text="caption12"/>
  524. <Cell col="49" text="caption13"/>
  525. <Cell col="50" text="caption14"/>
  526. <Cell col="51" text="caption15"/>
  527. <Cell col="52" text="caption16"/>
  528. <Cell col="53" text="caption17"/>
  529. <Cell col="54" text="caption18"/>
  530. <Cell col="55" text="caption19"/>
  531. <Cell col="56" text="caption20"/>
  532. <Cell col="57" text="caption21"/>
  533. <Cell col="58" text="caption22"/>
  534. <Cell col="59" text="caption23"/>
  535. <Cell col="60" text="caption24"/>
  536. <Cell col="61" text="caption25"/>
  537. <Cell col="62" text="caption26"/>
  538. <Cell col="63" text="caption27"/>
  539. <Cell col="64" text="caption28"/>
  540. <Cell col="65" text="caption29"/>
  541. <Cell col="66" text="caption30"/>
  542. <Cell col="67" text="caption31"/>
  543. <Cell col="68" text="caption32"/>
  544. <Cell col="69" text="caption33"/>
  545. <Cell col="70" text="caption34"/>
  546. <Cell col="71" text="caption35"/>
  547. <Cell col="72" text="caption36"/>
  548. <Cell col="73" text="caption37"/>
  549. <Cell col="74" text="caption38"/>
  550. <Cell col="75" text="caption39"/>
  551. <Cell col="76" text="caption40"/>
  552. <Cell col="77" text="caption41"/>
  553. <Cell col="78" text="caption42"/>
  554. <Cell col="79" text="caption43"/>
  555. <Cell col="80" text="caption44"/>
  556. <Cell col="81" text="caption45"/>
  557. <Cell col="82" text="caption46"/>
  558. <Cell col="83" text="caption47"/>
  559. <Cell col="84" text="caption48"/>
  560. <Cell col="85" text="caption49"/>
  561. <Cell col="86" text="caption50"/>
  562. <Cell col="87" text="doctid"/>
  563. <Cell col="88" text="caption51"/>
  564. <Cell col="89"/>
  565. <Cell col="90"/>
  566. <Cell col="91"/>
  567. <Cell col="92"/>
  568. <Cell col="93"/>
  569. <Cell col="94"/>
  570. <Cell col="95" rowspan="2" text="육안의사" taborder="undefined"/>
  571. <Cell col="96" rowspan="2" text="판독의사" taborder="undefined"/>
  572. <Cell row="1" text="기관코드"/>
  573. <Cell row="1" col="4" text="ptno"/>
  574. <Cell row="1" col="5" text="병리번호"/>
  575. <Cell row="1" col="6" text="relaptno"/>
  576. <Cell row="1" col="7" text="관련병리번호"/>
  577. <Cell row="1" col="10" text="ptno"/>
  578. <Cell row="1" col="11" text="병리번호"/>
  579. <Cell row="1" col="12" text="병리번호"/>
  580. <Cell row="1" col="13" text="relaptno"/>
  581. <Cell row="1" col="14" text="관련병리번호"/>
  582. <Cell row="1" col="15" text="관련병리번호"/>
  583. <Cell row="1" col="19" text="prcpgenrflag"/>
  584. <Cell row="1" col="23" text="진료일자"/>
  585. <Cell row="1" col="24" text="처방코드"/>
  586. <Cell row="1" col="25" text="spccd"/>
  587. <Cell row="1" col="27" text="orddeptcd"/>
  588. <Cell row="1" col="29" text="orddrid"/>
  589. <Cell row="1" col="31" text="의뢰지&#10;복사"/>
  590. <Cell row="1" col="32" text="execprcpuniqno"/>
  591. <Cell row="1" col="33" text="prcpno"/>
  592. <Cell row="1" col="34" text="cretno"/>
  593. <Cell row="1" col="35" text="acptno"/>
  594. <Cell row="1" col="36" text="spcacptdd"/>
  595. <Cell row="1" col="37" text="caption1"/>
  596. <Cell row="1" col="38" text="caption2"/>
  597. <Cell row="1" col="39" text="caption3"/>
  598. <Cell row="1" col="40" text="caption4"/>
  599. <Cell row="1" col="41" text="caption5"/>
  600. <Cell row="1" col="42" text="caption6"/>
  601. <Cell row="1" col="43" text="caption7"/>
  602. <Cell row="1" col="44" text="caption8"/>
  603. <Cell row="1" col="45" text="caption9"/>
  604. <Cell row="1" col="46" text="caption10"/>
  605. <Cell row="1" col="47" text="caption11"/>
  606. <Cell row="1" col="48" text="caption12"/>
  607. <Cell row="1" col="49" text="caption13"/>
  608. <Cell row="1" col="50" text="caption14"/>
  609. <Cell row="1" col="51" text="caption15"/>
  610. <Cell row="1" col="52" text="caption16"/>
  611. <Cell row="1" col="53" text="caption17"/>
  612. <Cell row="1" col="54" text="caption18"/>
  613. <Cell row="1" col="55" text="caption19"/>
  614. <Cell row="1" col="56" text="caption20"/>
  615. <Cell row="1" col="57" text="caption21"/>
  616. <Cell row="1" col="58" text="caption22"/>
  617. <Cell row="1" col="59" text="caption23"/>
  618. <Cell row="1" col="60" text="caption24"/>
  619. <Cell row="1" col="61" text="caption25"/>
  620. <Cell row="1" col="62" text="caption26"/>
  621. <Cell row="1" col="63" text="caption27"/>
  622. <Cell row="1" col="64" text="caption28"/>
  623. <Cell row="1" col="65" text="caption29"/>
  624. <Cell row="1" col="66" text="caption30"/>
  625. <Cell row="1" col="67" text="caption31"/>
  626. <Cell row="1" col="68" text="caption32"/>
  627. <Cell row="1" col="69" text="caption33"/>
  628. <Cell row="1" col="70" text="caption34"/>
  629. <Cell row="1" col="71" text="caption35"/>
  630. <Cell row="1" col="72" text="caption36"/>
  631. <Cell row="1" col="73" text="caption37"/>
  632. <Cell row="1" col="74" text="caption38"/>
  633. <Cell row="1" col="75" text="caption39"/>
  634. <Cell row="1" col="76" text="caption40"/>
  635. <Cell row="1" col="77" text="caption41"/>
  636. <Cell row="1" col="78" text="caption42"/>
  637. <Cell row="1" col="79" text="caption43"/>
  638. <Cell row="1" col="80" text="caption44"/>
  639. <Cell row="1" col="81" text="caption45"/>
  640. <Cell row="1" col="82" text="caption46"/>
  641. <Cell row="1" col="83" text="tempcol19"/>
  642. <Cell row="1" col="84" text="caption47"/>
  643. <Cell row="1" col="85" text="caption48"/>
  644. <Cell row="1" col="86" text="caption49"/>
  645. <Cell row="1" col="87" text="doctid"/>
  646. <Cell row="1" col="88" text="doctnm"/>
  647. <Cell row="1" col="89" text="afcertyn"/>
  648. <Cell row="1" col="90" text="mskind"/>
  649. <Cell row="1" col="91" text="insukind"/>
  650. <Cell row="1" col="92" text="suppkind"/>
  651. <Cell row="1" col="93" text="ioflag"/>
  652. <Cell row="1" col="94" text="prcpsignflag"/>
  653. </Band>
  654. <Band id="body">
  655. <Cell text="bind:instcd"/>
  656. <Cell col="1"/>
  657. <Cell col="2" text="bind:cstenm"/>
  658. <Cell col="3" displaytype="normal" edittype="text" text="bind:redchk" expandshow="show"/>
  659. <Cell col="4" text="bind:acptptno"/>
  660. <Cell col="5" class="text_center" text="bind:acptdispptno"/>
  661. <Cell col="6" text="bind:acptrelaptno"/>
  662. <Cell col="7" class="text_center" text="bind:acptdisprelaptno"/>
  663. <Cell col="8" text="bind:dschdd"/>
  664. <Cell col="9" class="text_center" text="bind:prcpstatnm"/>
  665. <Cell col="10" text="bind:ptno"/>
  666. <Cell col="11" class="text_center" text="bind:dispptno"/>
  667. <Cell col="12" class="icon_search" text="bind:ptnobtn"/>
  668. <Cell col="13" text="bind:relaptno"/>
  669. <Cell col="14" class="text_center" text="bind:disprelaptno"/>
  670. <Cell col="15" class="icon_search" text="bind:relaptnobtn"/>
  671. <Cell col="16" style="align:left middle;" text="bind:prcpnm"/>
  672. <Cell col="17" class="text_center" text="bind:pid"/>
  673. <Cell col="18" class="text_center" text="bind:patnm"/>
  674. <Cell col="19" text="bind:prcpgenrflag"/>
  675. <Cell col="20" class="text_center" text="bind:patflagnm"/>
  676. <Cell col="21" displaytype="date" edittype="date" class="text_center" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  677. <Cell col="22" displaytype="date" edittype="date" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
  678. <Cell col="23" text="bind:orddd"/>
  679. <Cell col="24" text="bind:prcpcd"/>
  680. <Cell col="25" text="bind:spccd"/>
  681. <Cell col="26" text="bind:spcnm"/>
  682. <Cell col="27" text="bind:orddeptcd"/>
  683. <Cell col="28" text="bind:orddeptnm"/>
  684. <Cell col="29" text="bind:orddrid"/>
  685. <Cell col="30" text="bind:orddrnm"/>
  686. <Cell col="31" text="bind:reqfrmno"/>
  687. <Cell col="32" text="bind:execprcpuniqno"/>
  688. <Cell col="33" text="bind:prcpno"/>
  689. <Cell col="34" text="bind:cretno"/>
  690. <Cell col="35" text="bind:acptno"/>
  691. <Cell col="36" text="bind:spcacptdd"/>
  692. <Cell col="37" text="bind:spcacptno"/>
  693. <Cell col="38" text="bind:bfacptdd"/>
  694. <Cell col="39" text="bind:bfacptno"/>
  695. <Cell col="40" text="bind:bfacptseqno"/>
  696. <Cell col="41" text="bind:reuseflagcd"/>
  697. <Cell col="42" text="bind:bfspcacptdd"/>
  698. <Cell col="43" text="bind:bfspcacptno"/>
  699. <Cell col="44" text="bind:acptdept"/>
  700. <Cell col="45" text="bind:status"/>
  701. <Cell col="46" text="bind:csteno"/>
  702. <Cell col="47" text="bind:bfcsteno"/>
  703. <Cell col="48" text="bind:ptnocd"/>
  704. <Cell col="49" text="bind:stdyptnocd"/>
  705. <Cell col="50" text="bind:trustptnocd"/>
  706. <Cell col="51" text="bind:workflagcd"/>
  707. <Cell col="52" text="bind:slidflagcd"/>
  708. <Cell col="53" text="bind:slidisscnt"/>
  709. <Cell col="54" text="bind:blocflagcd"/>
  710. <Cell col="55" text="bind:initblocno"/>
  711. <Cell col="56" text="bind:autokeepflagcd"/>
  712. <Cell col="57" text="bind:stdy_workflagcd"/>
  713. <Cell col="58" text="bind:stdy_slidflagcd"/>
  714. <Cell col="59" text="bind:stdy_slidisscnt"/>
  715. <Cell col="60" text="bind:stdy_blocflagcd"/>
  716. <Cell col="61" text="bind:stdy_initblocno"/>
  717. <Cell col="62" text="bind:stdy_autokeepflagcd"/>
  718. <Cell col="63" text="bind:grupsnglflag"/>
  719. <Cell col="64" text="bind:wardcd"/>
  720. <Cell col="65" text="bind:roomcd"/>
  721. <Cell col="66" text="bind:spcbarcdno"/>
  722. <Cell col="67" text="bind:grosdrid"/>
  723. <Cell col="68" text="bind:grosplgyid"/>
  724. <Cell col="69" text="bind:spcacptseqno"/>
  725. <Cell col="70" text="bind:acpttm"/>
  726. <Cell col="71" text="bind:prcphistno"/>
  727. <Cell col="72" text="bind:prcpstatcd"/>
  728. <Cell col="73" text="bind:grostestdd"/>
  729. <Cell col="74" text="bind:grostesttm"/>
  730. <Cell col="75" text="bind:autosave"/>
  731. <Cell col="76" text="bind:lendflagcd"/>
  732. <Cell col="77" text="bind:trandd"/>
  733. <Cell col="78" text="bind:tranno"/>
  734. <Cell col="79" text="bind:transeqno"/>
  735. <Cell col="80" text="bind:spctranbarcdno"/>
  736. <Cell col="81" text="bind:spctrandd"/>
  737. <Cell col="82" text="bind:spctranno"/>
  738. <Cell col="83" text="bind:tempcol19"/>
  739. <Cell col="84" text="bind:signbfcnts"/>
  740. <Cell col="85" text="bind:signafcnts"/>
  741. <Cell col="86" text="bind:orgaddflagcd"/>
  742. <Cell col="87" text="bind:doctid"/>
  743. <Cell col="88" text="bind:doctnm"/>
  744. <Cell col="89" text="bind:afcertyn"/>
  745. <Cell col="90" text="bind:mskind"/>
  746. <Cell col="91" text="bind:insukind"/>
  747. <Cell col="92" text="bind:suppkind"/>
  748. <Cell col="93" text="bind:ioflag"/>
  749. <Cell col="94" text="bind:prcpsignflag"/>
  750. <Cell col="95" text="bind:grosdrnm"/>
  751. <Cell col="96" text="bind:readdrnm"/>
  752. </Band>
  753. </Format>
  754. </Formats>
  755. </Grid>
  756. <CheckBox id="bol_autosave" taborder="15" visible="false" position="absolute 675 382 800 402" anchor="default" text="자동접수" truevalue="1" falsevalue="0"/>
  757. <CheckBox id="bol_lendflagcd" taborder="16" visible="false" position="absolute 550 382 664 402" anchor="default" text="원본대출처방" truevalue="1" falsevalue="0"/>
  758. <Button id="btn_outoch1" taborder="17" text="한글정렬" class="btn2" position="absolute 1130 97 1194 116" onclick="div_all_btn_outoch1_onclick" anchor="default">
  759. <Layouts>
  760. <Layout width="64" height="19"/>
  761. </Layouts>
  762. </Button>
  763. <Button id="btn_outoch2" taborder="18" text="영문정렬" class="btn2" visible="false" position="absolute 1130 97 1194 116" onclick="div_all_btn_outoch2_onclick" anchor="default">
  764. <Layouts>
  765. <Layout width="64" height="19"/>
  766. </Layouts>
  767. </Button>
  768. <Div id="grp_refcmts" taborder="19" visible="false" position="absolute 140 242 769 422" anchor="default" style="border:1 solid #ff0000ff ;">
  769. <Layouts>
  770. <Layout>
  771. <Button id="btn_refcmts" taborder="3" text="적용" class="btn4" position="absolute 566 152 622 174" anchor="default" onclick="div_all_grp_refcmts_btn_refcmts_onclick"/>
  772. <TextArea id="txt_refcmts" taborder="4" position="absolute 2 1 624 151" anchor="default"/>
  773. </Layout>
  774. </Layouts>
  775. </Div>
  776. </Layout>
  777. </Layouts>
  778. </Div>
  779. </Layout>
  780. </Layouts>
  781. <Objects>
  782. <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  783. <ColumnInfo>
  784. <Column id="ptnonm" type="STRING"/>
  785. <Column id="ptnocd" type="STRING"/>
  786. </ColumnInfo>
  787. </Dataset>
  788. <Dataset id="ds_grd_testcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  789. <ColumnInfo>
  790. <Column id="instcd" type="STRING"/>
  791. <Column id="testcd" type="STRING"/>
  792. <Column id="testengnm" type="STRING"/>
  793. <Column id="testengabbr" type="STRING"/>
  794. <Column id="testhngnm" type="STRING"/>
  795. <Column id="testhngabbr" type="STRING"/>
  796. <Column id="acptdept" type="STRING"/>
  797. <Column id="ptnocd" type="STRING"/>
  798. <Column id="stdyptnocd" type="STRING"/>
  799. <Column id="trustptnocd" type="STRING"/>
  800. <Column id="workflagcd" type="STRING"/>
  801. <Column id="slidflagcd" type="STRING"/>
  802. <Column id="slidisscnt" type="STRING"/>
  803. <Column id="blocflagcd" type="STRING"/>
  804. <Column id="initblocno" type="STRING"/>
  805. <Column id="autokeepflagcd" type="STRING"/>
  806. <Column id="stdy_workflagcd" type="STRING"/>
  807. <Column id="stdy_slidflagcd" type="STRING"/>
  808. <Column id="stdy_slidisscnt" type="STRING"/>
  809. <Column id="stdy_blocflagcd" type="STRING"/>
  810. <Column id="stdy_initblocno" type="STRING"/>
  811. <Column id="stdy_autokeepflagcd" type="STRING"/>
  812. <Column id="ptnonewflagcd" type="STRING"/>
  813. <Column id="orgaddflagcd" type="STRING"/>
  814. </ColumnInfo>
  815. </Dataset>
  816. <Dataset id="ds_grd_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  817. <ColumnInfo>
  818. <Column id="instcd" type="STRING"/>
  819. <Column id="ptno" type="STRING"/>
  820. <Column id="dispptno" type="STRING"/>
  821. <Column id="pid" type="STRING"/>
  822. <Column id="patnm" type="STRING"/>
  823. <Column id="prcpgenrflag" type="STRING"/>
  824. <Column id="patflagnm" type="STRING"/>
  825. <Column id="prcpdd" type="STRING"/>
  826. <Column id="prcpdt" type="STRING"/>
  827. <Column id="orddeptcd" type="STRING"/>
  828. <Column id="orddeptnm" type="STRING"/>
  829. <Column id="orddrid" type="STRING"/>
  830. <Column id="orddrnm" type="STRING"/>
  831. <Column id="execprcpuniqno" type="STRING"/>
  832. <Column id="acptdd" type="STRING"/>
  833. <Column id="acptno" type="STRING"/>
  834. <Column id="spcacptdd" type="STRING"/>
  835. <Column id="spcacptno" type="STRING"/>
  836. <Column id="spccd" type="STRING"/>
  837. </ColumnInfo>
  838. </Dataset>
  839. <Dataset id="ds_grd_acptspclist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  840. <ColumnInfo>
  841. <Column id="instcd" type="STRING"/>
  842. <Column id="spcacptdd" type="STRING"/>
  843. <Column id="spcacptno" type="STRING"/>
  844. <Column id="spcacptseqno" type="STRING"/>
  845. <Column id="spccd" type="STRING"/>
  846. <Column id="spcnm" type="STRING"/>
  847. <Column id="csteno" type="STRING"/>
  848. <Column id="cstenm" type="STRING"/>
  849. <Column id="dschdd" type="STRING" size="256"/>
  850. <Column id="prcpstatcd" type="STRING" size="256"/>
  851. <Column id="cstecnts" type="STRING" size="256"/>
  852. </ColumnInfo>
  853. </Dataset>
  854. <Dataset id="ds_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  855. <ColumnInfo>
  856. <Column id="instcd" type="STRING"/>
  857. <Column id="cstenm" type="STRING"/>
  858. <Column id="redchk" type="STRING"/>
  859. <Column id="acptptno" type="STRING"/>
  860. <Column id="acptdispptno" type="STRING"/>
  861. <Column id="acptrelaptno" type="STRING"/>
  862. <Column id="acptdisprelaptno" type="STRING"/>
  863. <Column id="dschdd" type="STRING"/>
  864. <Column id="prcpstatnm" type="STRING"/>
  865. <Column id="ptno" type="STRING"/>
  866. <Column id="dispptno" type="STRING"/>
  867. <Column id="ptnobtn" type="STRING"/>
  868. <Column id="relaptno" type="STRING"/>
  869. <Column id="disprelaptno" type="STRING"/>
  870. <Column id="relaptnobtn" type="STRING"/>
  871. <Column id="prcpnm" type="STRING"/>
  872. <Column id="pid" type="STRING"/>
  873. <Column id="patnm" type="STRING"/>
  874. <Column id="prcpgenrflag" type="STRING"/>
  875. <Column id="patflagnm" type="STRING"/>
  876. <Column id="prcpdd" type="STRING"/>
  877. <Column id="acptdd" type="STRING"/>
  878. <Column id="orddd" type="STRING"/>
  879. <Column id="prcpcd" type="STRING"/>
  880. <Column id="spccd" type="STRING"/>
  881. <Column id="spcnm" type="STRING"/>
  882. <Column id="orddeptcd" type="STRING"/>
  883. <Column id="orddeptnm" type="STRING"/>
  884. <Column id="orddrid" type="STRING"/>
  885. <Column id="orddrnm" type="STRING"/>
  886. <Column id="reqfrmno" type="STRING"/>
  887. <Column id="execprcpuniqno" type="STRING"/>
  888. <Column id="prcpno" type="STRING"/>
  889. <Column id="cretno" type="STRING"/>
  890. <Column id="acptno" type="STRING"/>
  891. <Column id="spcacptdd" type="STRING"/>
  892. <Column id="spcacptno" type="STRING"/>
  893. <Column id="bfacptdd" type="STRING"/>
  894. <Column id="bfacptno" type="STRING"/>
  895. <Column id="bfacptseqno" type="STRING"/>
  896. <Column id="reuseflagcd" type="STRING"/>
  897. <Column id="bfspcacptdd" type="STRING"/>
  898. <Column id="bfspcacptno" type="STRING"/>
  899. <Column id="acptdept" type="STRING"/>
  900. <Column id="status" type="STRING"/>
  901. <Column id="csteno" type="STRING"/>
  902. <Column id="bfcsteno" type="STRING"/>
  903. <Column id="ptnocd" type="STRING"/>
  904. <Column id="stdyptnocd" type="STRING"/>
  905. <Column id="trustptnocd" type="STRING"/>
  906. <Column id="workflagcd" type="STRING"/>
  907. <Column id="slidflagcd" type="STRING"/>
  908. <Column id="slidisscnt" type="STRING"/>
  909. <Column id="blocflagcd" type="STRING"/>
  910. <Column id="initblocno" type="STRING"/>
  911. <Column id="autokeepflagcd" type="STRING"/>
  912. <Column id="stdy_workflagcd" type="STRING"/>
  913. <Column id="stdy_slidflagcd" type="STRING"/>
  914. <Column id="stdy_slidisscnt" type="STRING"/>
  915. <Column id="stdy_blocflagcd" type="STRING"/>
  916. <Column id="stdy_initblocno" type="STRING"/>
  917. <Column id="stdy_autokeepflagcd" type="STRING"/>
  918. <Column id="grupsnglflag" type="STRING"/>
  919. <Column id="wardcd" type="STRING"/>
  920. <Column id="roomcd" type="STRING"/>
  921. <Column id="spcbarcdno" type="STRING"/>
  922. <Column id="grosdrid" type="STRING"/>
  923. <Column id="grosplgyid" type="STRING"/>
  924. <Column id="spcacptseqno" type="STRING"/>
  925. <Column id="acpttm" type="STRING"/>
  926. <Column id="prcphistno" type="STRING"/>
  927. <Column id="prcpstatcd" type="STRING"/>
  928. <Column id="grostestdd" type="STRING"/>
  929. <Column id="grostesttm" type="STRING"/>
  930. <Column id="autosave" type="STRING"/>
  931. <Column id="lendflagcd" type="STRING"/>
  932. <Column id="trandd" type="STRING"/>
  933. <Column id="tranno" type="STRING"/>
  934. <Column id="transeqno" type="STRING"/>
  935. <Column id="spctranbarcdno" type="STRING"/>
  936. <Column id="spctrandd" type="STRING"/>
  937. <Column id="spctranno" type="STRING"/>
  938. <Column id="tempcol19" type="STRING"/>
  939. <Column id="signbfcnts" type="STRING"/>
  940. <Column id="signafcnts" type="STRING"/>
  941. <Column id="orgaddflagcd" type="STRING"/>
  942. <Column id="doctid" type="STRING"/>
  943. <Column id="doctnm" type="STRING"/>
  944. <Column id="afcertyn" type="STRING"/>
  945. <Column id="mskind" type="STRING"/>
  946. <Column id="insukind" type="STRING"/>
  947. <Column id="suppkind" type="STRING"/>
  948. <Column id="ioflag" type="STRING"/>
  949. <Column id="prcpsignflag" type="STRING"/>
  950. <Column id="grosdrnm" type="STRING"/>
  951. <Column id="readdrnm" type="STRING"/>
  952. <Column id="drugmthdspccd" type="STRING" size="256"/>
  953. <Column id="drugmthdspccdnm" type="STRING" size="256"/>
  954. <Column id="prcpflag" type="STRING" size="256"/>
  955. <Column id="tempprcpcd" type="STRING" size="256"/>
  956. <Column id="tempprcpnm" type="STRING" size="256"/>
  957. <Column id="tempstatus" type="STRING" size="256"/>
  958. <Column id="sex" type="STRING" size="256"/>
  959. <Column id="age" type="STRING" size="256"/>
  960. </ColumnInfo>
  961. </Dataset>
  962. <Dataset id="ds_init_cmb_readdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  963. <ColumnInfo>
  964. <Column id="usernm" type="STRING"/>
  965. <Column id="userid" type="STRING"/>
  966. </ColumnInfo>
  967. </Dataset>
  968. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  969. <ColumnInfo>
  970. <Column id="sysdd" type="STRING" size="256"/>
  971. <Column id="systm" type="STRING" size="256"/>
  972. </ColumnInfo>
  973. </Dataset>
  974. <Dataset id="ds_ptnocdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  975. <ColumnInfo>
  976. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  977. <Column id="ptnocd" type="STRING" size="256" sumtext="병리번호"/>
  978. <Column id="ptnonm" type="STRING" size="256" sumtext="병리번호명"/>
  979. </ColumnInfo>
  980. </Dataset>
  981. <Dataset id="ds_prcpkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  982. <ColumnInfo>
  983. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  984. <Column id="lvl" type="STRING" size="256" sumtext="Level"/>
  985. <Column id="earncls1" type="STRING" size="256" sumtext="수익분류1"/>
  986. <Column id="earncls2" type="STRING" size="256" sumtext="수익분류2"/>
  987. <Column id="earncls3" type="STRING" size="256" sumtext="수익분류3"/>
  988. <Column id="earnclsnm" type="STRING" size="256" sumtext="수익분류명"/>
  989. <Column id="earnclskey" type="STRING" size="256" sumtext="수익분류Key"/>
  990. </ColumnInfo>
  991. </Dataset>
  992. <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  993. <ColumnInfo>
  994. <Column id="instcd" type="STRING" size="256"/>
  995. <Column id="lendrtnterm" type="STRING" size="256"/>
  996. <Column id="recvqualmthdcd" type="STRING" size="256"/>
  997. <Column id="plgydeptcd" type="STRING" size="256"/>
  998. <Column id="plgyteamcd" type="STRING" size="256"/>
  999. <Column id="doctjobgradcd" type="STRING" size="256"/>
  1000. <Column id="teamjobgradcd" type="STRING" size="256"/>
  1001. <Column id="autoacptflagcd" type="STRING" size="256"/>
  1002. <Column id="norcptacptyn" type="STRING" size="256"/>
  1003. </ColumnInfo>
  1004. <Rows>
  1005. <Row/>
  1006. </Rows>
  1007. </Dataset>
  1008. <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1009. <ColumnInfo>
  1010. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  1011. <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
  1012. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  1013. <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
  1014. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
  1015. <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
  1016. <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
  1017. </ColumnInfo>
  1018. </Dataset>
  1019. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1020. <ColumnInfo>
  1021. <Column id="fromdd" type="STRING" size="256"/>
  1022. <Column id="todd" type="STRING" size="256"/>
  1023. <Column id="prcpflagcd" type="STRING" size="256"/>
  1024. <Column id="refmthdcd" type="STRING" size="256"/>
  1025. <Column id="refval" type="STRING" size="256"/>
  1026. <Column id="prcprowno" type="STRING" size="256"/>
  1027. <Column id="ptnocode" type="STRING" size="256"/>
  1028. <Column id="fromyear" type="STRING" size="256"/>
  1029. <Column id="fromptno" type="STRING" size="256"/>
  1030. <Column id="lendflagcd" type="STRING" size="256"/>
  1031. <Column id="autosave" type="STRING" size="256"/>
  1032. <Column id="prcpfromdd" type="STRING" size="256"/>
  1033. <Column id="prcptodd" type="STRING" size="256"/>
  1034. <Column id="srchcond11" type="STRING" size="256"/>
  1035. <Column id="srchcond21" type="STRING" size="256"/>
  1036. <Column id="srchcond1" type="STRING" size="256"/>
  1037. <Column id="srchcond2" type="STRING" size="256"/>
  1038. <Column id="srchcond3" type="STRING" size="256"/>
  1039. <Column id="srchcond4" type="STRING" size="256"/>
  1040. <Column id="srchcond5" type="STRING" size="256"/>
  1041. <Column id="srchcond6" type="STRING" size="256"/>
  1042. <Column id="rrgstno1" type="STRING" size="256"/>
  1043. <Column id="rrgstno2" type="STRING" size="256"/>
  1044. <Column id="orddeptnm" type="STRING" size="256"/>
  1045. <Column id="sex" type="STRING" size="256"/>
  1046. <Column id="age" type="STRING" size="256"/>
  1047. <Column id="wardcd" type="STRING" size="256"/>
  1048. <Column id="orddd" type="STRING" size="256"/>
  1049. <Column id="passflag" type="STRING" size="256"/>
  1050. <Column id="paminfoyn" type="STRING" size="256"/>
  1051. <Column id="cretno" type="STRING" size="256"/>
  1052. <Column id="ioflag" type="STRING" size="256"/>
  1053. <Column id="hosinprcpresncd" type="STRING" size="256"/>
  1054. <Column id="prcpdd" type="STRING" size="256"/>
  1055. <Column id="prcpkindcd" type="STRING" size="256"/>
  1056. <Column id="cond1" type="STRING" size="256"/>
  1057. <Column id="cond7" type="STRING" size="256"/>
  1058. <Column id="refcmts" type="STRING" size="256"/>
  1059. </ColumnInfo>
  1060. <Rows>
  1061. <Row>
  1062. <Col id="srchcond11">P</Col>
  1063. <Col id="srchcond21">O</Col>
  1064. </Row>
  1065. </Rows>
  1066. </Dataset>
  1067. <Dataset id="ds_bcoll" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1068. <Column id="chk" type="STRING" size="256" sumtext="체크"/>
  1069. <Column id="tiyn" type="STRING" size="256" sumtext="체크2"/>
  1070. <Column id="deptnm" type="STRING" size="256" sumtext="병동"/>
  1071. <ColumnInfo>
  1072. <Column id="chk" type="STRING" size="256" sumtext="체크"/>
  1073. <Column id="tiyn" type="STRING" size="256" sumtext="체크2"/>
  1074. <Column id="deptnm" type="STRING" size="256" sumtext="병동"/>
  1075. </ColumnInfo>
  1076. </Dataset>
  1077. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1078. <ColumnInfo>
  1079. <Column id="hospenv" type="STRING" size="256"/>
  1080. <Column id="readdrid" type="STRING" size="256"/>
  1081. <Column id="afcertyn" type="STRING" size="256"/>
  1082. <Column id="sortkind" type="STRING" size="256"/>
  1083. <Column id="prcpsignflag" type="STRING" size="256"/>
  1084. </ColumnInfo>
  1085. <Rows>
  1086. <Row>
  1087. <Col id="sortkind">-</Col>
  1088. </Row>
  1089. </Rows>
  1090. </Dataset>
  1091. <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1092. <ColumnInfo>
  1093. <Column id="levl" type="INT" size="256" sumtext="level값"/>
  1094. <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
  1095. <Column id="settypecd" type="STRING" size="256" sumtext="set종류코드"/>
  1096. <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
  1097. <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
  1098. <Column id="setclscd" type="STRING" size="256" sumtext="set분류코드"/>
  1099. <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
  1100. <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
  1101. <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
  1102. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1103. <Column id="setrefseq" type="STRING" size="256" sumtext="순서"/>
  1104. </ColumnInfo>
  1105. </Dataset>
  1106. <Dataset id="ds_acptspclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1107. <ColumnInfo>
  1108. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1109. <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
  1110. <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
  1111. <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
  1112. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  1113. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  1114. <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
  1115. <Column id="cstecnts" type="STRING" size="256" sumtext="Cassette내용"/>
  1116. </ColumnInfo>
  1117. </Dataset>
  1118. <Dataset id="ds_acptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1119. <ColumnInfo>
  1120. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1121. <Column id="cstenm" type="STRING" size="256" sumtext="블럭명"/>
  1122. <Column id="redchk" type="STRING" size="256" sumtext="비고"/>
  1123. <Column id="acptptno" type="STRING" size="256" sumtext="접수병리번호"/>
  1124. <Column id="acptdispptno" type="STRING" size="256" sumtext="접수표시병리번호"/>
  1125. <Column id="acptrealptno" type="STRING" size="256" sumtext="접수관련병리번호"/>
  1126. <Column id="acptdisprelaptno" type="STRING" size="256" sumtext="접수표시관련병리번호"/>
  1127. <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
  1128. <Column id="dispptno" type="STRING" size="256" sumtext="표시병리번호"/>
  1129. <Column id="ptnobtn" type="STRING" size="256" sumtext="-"/>
  1130. <Column id="realptno" type="STRING" size="256" sumtext="관련병리번호"/>
  1131. <Column id="disprelaptno" type="STRING" size="256" sumtext="표시관련병리번호"/>
  1132. <Column id="relaptnobtn" type="STRING" size="256" sumtext="-"/>
  1133. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1134. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  1135. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
  1136. <Column id="patflagnm" type="STRING" size="256" sumtext="환자구분명"/>
  1137. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1138. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  1139. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1140. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  1141. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1142. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  1143. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  1144. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1145. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1146. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  1147. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1148. <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
  1149. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원(예정)일자"/>
  1150. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실시처방유일번호"/>
  1151. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  1152. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1153. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  1154. <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
  1155. <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
  1156. <Column id="bfacptdd" type="STRING" size="256" sumtext="이전접수일자"/>
  1157. <Column id="bfacptno" type="STRING" size="256" sumtext="이전접수번호"/>
  1158. <Column id="bfacptseqno" type="STRING" size="256" sumtext="이전접수일련번호"/>
  1159. <Column id="reuseflagcd" type="STRING" size="256" sumtext="재사용구분코드"/>
  1160. <Column id="bfspcacptdd" type="STRING" size="256" sumtext="이전검체접수일자"/>
  1161. <Column id="bfspcacptno" type="STRING" size="256" sumtext="이전검체접수번호"/>
  1162. <Column id="acptdept" type="STRING" size="256" sumtext="처방실시부서코드"/>
  1163. <Column id="status" type="STRING" size="256" sumtext="등록상태"/>
  1164. <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
  1165. <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
  1166. <Column id="csteno" type="STRING" size="256" sumtext="이전Cassette번호"/>
  1167. <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
  1168. <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
  1169. <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
  1170. <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
  1171. <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
  1172. <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
  1173. <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
  1174. <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
  1175. <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
  1176. <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
  1177. <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
  1178. <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
  1179. <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
  1180. <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
  1181. <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
  1182. <Column id="grupsnglflag" type="STRING" size="256" sumtext="Group/Single"/>
  1183. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  1184. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1185. <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1186. <Column id="grosdrid" type="STRING" size="256" sumtext="육안검사의ID"/>
  1187. <Column id="grosplgyid" type="STRING" size="256" sumtext="육안병리사ID"/>
  1188. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  1189. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
  1190. <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방상태코드"/>
  1191. <Column id="prcpstatnm" type="STRING" size="256" sumtext="처방상태코드"/>
  1192. <Column id="grostestdd" type="STRING" size="256" sumtext="육안검사일자"/>
  1193. <Column id="grostesttm" type="STRING" size="256" sumtext="육안검사시간"/>
  1194. <Column id="autosave" type="STRING" size="256" sumtext="자동접수(1:자동)"/>
  1195. <Column id="lendflagcd" type="STRING" size="256" sumtext="원본대출반환여부"/>
  1196. <Column id="trandd" type="STRING" size="256" sumtext="전송일자"/>
  1197. <Column id="tranno" type="STRING" size="256" sumtext="전송시간"/>
  1198. <Column id="transeqno" type="STRING" size="256" sumtext="전송일련번호"/>
  1199. <Column id="spctranbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1200. <Column id="spctrandd" type="STRING" size="256" sumtext="검체전송일자"/>
  1201. <Column id="spctranno" type="STRING" size="256" sumtext="검체전송번호"/>
  1202. <Column id="signbfcnts" type="STRING" size="256" sumtext="암호화이전"/>
  1203. <Column id="signafcnts" type="STRING" size="256" sumtext="암호화이후"/>
  1204. <Column id="doctid" type="STRING" size="256" sumtext="후인증의사ID"/>
  1205. <Column id="doctnm" type="STRING" size="256" sumtext="후인증의사명"/>
  1206. <Column id="afcertyn" type="STRING" size="256" sumtext="후인증여부"/>
  1207. <Column id="mskind" type="STRING" size="256" sumtext=""/>
  1208. <Column id="insukind" type="STRING" size="256" sumtext=""/>
  1209. <Column id="suppkind" type="STRING" size="256" sumtext=""/>
  1210. <Column id="ioflag" type="STRING" size="256" sumtext=""/>
  1211. <Column id="grosdrnm" type="STRING" size="256" sumtext="육안의사명"/>
  1212. <Column id="readdrnm" type="STRING" size="256" sumtext="판독의사명"/>
  1213. </ColumnInfo>
  1214. </Dataset>
  1215. <Dataset id="ds_outpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1216. <ColumnInfo>
  1217. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  1218. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1219. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1220. <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
  1221. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1222. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  1223. <Column id="orgcretno" type="STRING" size="256" sumtext="원생성번호"/>
  1224. <Column id="calcbaseflag" type="STRING" size="256" sumtext="계산기준구분"/>
  1225. <Column id="calcyn" type="STRING" size="256" sumtext="정산여부"/>
  1226. <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
  1227. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서"/>
  1228. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
  1229. <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
  1230. <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
  1231. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1232. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  1233. <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
  1234. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
  1235. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  1236. <Column id="medamtestmyn" type="STRING" size="256" sumtext="진찰료산정여부"/>
  1237. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  1238. <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  1239. <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수여부"/>
  1240. <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험번호"/>
  1241. <Column id="nursacptyn" type="STRING" size="256" sumtext="간호접수여부"/>
  1242. <Column id="nursacptdt" type="STRING" size="256" sumtext="간호접수일자"/>
  1243. <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
  1244. <Column id="dracptdt" type="STRING" size="256" sumtext="의사접수일자"/>
  1245. <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
  1246. <Column id="prcpnotoccrresn" type="STRING" size="256" sumtext="처방미발생사유코드"/>
  1247. <Column id="estmspclappyn" type="STRING" size="256" sumtext="산정특례적용여부"/>
  1248. <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태"/>
  1249. <Column id="elbulbodstatdt" type="STRING" size="256" sumtext="전광판상태일시"/>
  1250. <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
  1251. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  1252. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1253. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1254. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1255. <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
  1256. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
  1257. <Column id="tranindd" type="STRING" size="256" sumtext="외래입원전환"/>
  1258. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1259. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1260. <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
  1261. <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
  1262. <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
  1263. <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀,난치여부"/>
  1264. <Column id="etcordflag" type="STRING" size="256" sumtext="가정간호여부등 가접수구분"/>
  1265. <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택구분"/>
  1266. <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
  1267. </ColumnInfo>
  1268. </Dataset>
  1269. <Dataset id="ds_errlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1270. <ColumnInfo>
  1271. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  1272. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1273. <Column id="prcperr" type="STRING" size="256" sumtext="처방오류내용"/>
  1274. </ColumnInfo>
  1275. </Dataset>
  1276. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1277. <ColumnInfo>
  1278. <Column id="pid" type="STRING" size="256"/>
  1279. <Column id="hngnm" type="STRING" size="256"/>
  1280. <Column id="engnm" type="STRING" size="256"/>
  1281. <Column id="chinm" type="STRING" size="256"/>
  1282. <Column id="rrgstno1" type="STRING" size="256"/>
  1283. <Column id="rrgstno2" type="STRING" size="256"/>
  1284. <Column id="brthdd" type="STRING" size="256"/>
  1285. <Column id="sex" type="STRING" size="256"/>
  1286. <Column id="age" type="STRING" size="256"/>
  1287. <Column id="bindpid" type="STRING" size="256"/>
  1288. <Column id="hometel" type="STRING" size="256"/>
  1289. <Column id="mpphontel" type="STRING" size="256"/>
  1290. <Column id="etctel1" type="STRING" size="256"/>
  1291. <Column id="etctel2" type="STRING" size="256"/>
  1292. <Column id="smsaprvyn" type="STRING" size="256"/>
  1293. <Column id="email" type="STRING" size="256"/>
  1294. <Column id="zipcd1" type="STRING" size="256"/>
  1295. <Column id="zipcd2" type="STRING" size="256"/>
  1296. <Column id="zipcdseq" type="STRING" size="256"/>
  1297. <Column id="addr" type="STRING" size="256"/>
  1298. <Column id="detladdr" type="STRING" size="256"/>
  1299. <Column id="btype" type="STRING" size="256"/>
  1300. <Column id="rh" type="STRING" size="256"/>
  1301. <Column id="forgeryn" type="STRING" size="256"/>
  1302. <Column id="nati" type="STRING" size="256"/>
  1303. <Column id="psptno" type="STRING" size="256"/>
  1304. <Column id="recmyn" type="STRING" size="256"/>
  1305. <Column id="recmerid" type="STRING" size="256"/>
  1306. <Column id="recmerrela" type="STRING" size="256"/>
  1307. <Column id="vipyn" type="STRING" size="256"/>
  1308. <Column id="viprem" type="STRING" size="256"/>
  1309. <Column id="religncd" type="STRING" size="256"/>
  1310. <Column id="baptnm" type="STRING" size="256"/>
  1311. <Column id="chchnm" type="STRING" size="256"/>
  1312. <Column id="dethyn" type="STRING" size="256"/>
  1313. <Column id="dethdt" type="STRING" size="256"/>
  1314. <Column id="chosresn" type="STRING" size="256"/>
  1315. <Column id="animyn" type="STRING" size="256"/>
  1316. <Column id="exptresncd" type="STRING" size="256"/>
  1317. <Column id="inhospyn" type="STRING" size="256"/>
  1318. <Column id="remfact" type="STRING" size="256"/>
  1319. <Column id="outuncoamt" type="STRING" size="256"/>
  1320. <Column id="dschuncoamt" type="STRING" size="256"/>
  1321. <Column id="fstrgstrid" type="STRING" size="256"/>
  1322. <Column id="fstrgstdt" type="STRING" size="256"/>
  1323. <Column id="lastupdtrid" type="STRING" size="256"/>
  1324. <Column id="lastupdtdt" type="STRING" size="256"/>
  1325. </ColumnInfo>
  1326. </Dataset>
  1327. <Dataset id="ds_patmaintopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1328. <ColumnInfo>
  1329. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1330. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  1331. <Column id="hngnm2" type="STRING" size="256" sumtext="환자명2"/>
  1332. <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
  1333. <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
  1334. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  1335. <Column id="sa" type="STRING" size="256" sumtext="성별"/>
  1336. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1337. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1338. <Column id="ininfo" type="STRING" size="256" sumtext="입원정보"/>
  1339. <Column id="body" type="STRING" size="256" sumtext="신체사정"/>
  1340. <Column id="orddept" type="STRING" size="256" sumtext="부서"/>
  1341. <Column id="apntdr" type="STRING" size="256" sumtext="지정의"/>
  1342. <Column id="attndr" type="STRING" size="256" sumtext="주치의"/>
  1343. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  1344. <Column id="diagnosis" type="STRING" size="256" sumtext="진단"/>
  1345. <Column id="operation" type="STRING" size="256" sumtext="수술"/>
  1346. <Column id="allergy" type="STRING" size="256" sumtext="알러지"/>
  1347. <Column id="infection" type="STRING" size="256" sumtext="감염"/>
  1348. <Column id="intcare" type="STRING" size="256" sumtext="중증"/>
  1349. <Column id="cp" type="STRING" size="256" sumtext="CP여부"/>
  1350. <Column id="drgyn" type="STRING" size="256" sumtext="DRG환자여부 "/>
  1351. <Column id="regstno" type="STRING" size="256" sumtext="주민번호 뒷자리"/>
  1352. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1353. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  1354. <Column id="phontel" type="STRING" size="256" sumtext="전화번호"/>
  1355. <Column id="cnsttypenm" type="STRING" size="256" sumtext="협진분류명"/>
  1356. <Column id="newallergy" type="STRING" size="256" sumtext="뉴알러지"/>
  1357. <Column id="healexam" type="STRING" size="256" sumtext="건진여부"/>
  1358. <Column id="vip" type="STRING" size="256" sumtext="vip여부"/>
  1359. <Column id="coop" type="STRING" size="256" sumtext="의료협력"/>
  1360. <Column id="recovwardnm" type="STRING" size="256" sumtext="회복병동코드"/>
  1361. <Column id="stgediagnm" type="STRING" size="256" sumtext="병기분류 진단코드"/>
  1362. <Column id="stgediagcd" type="STRING" size="256" sumtext="병기분류 진단명"/>
  1363. <Column id="stagecd" type="STRING" size="256" sumtext="병기분류 stagecd"/>
  1364. <Column id="tnmcd1" type="STRING" size="256" sumtext="병기분류 tnmcd1"/>
  1365. <Column id="tnmcd2" type="STRING" size="256" sumtext="병기분류 tnmcd2"/>
  1366. <Column id="tnmcd3" type="STRING" size="256" sumtext="병기분류 tnmcd3"/>
  1367. <Column id="insuyn" type="STRING" size="256" sumtext="보험종류에 따른 플레그값(급여, 자보일경우 Y"/>
  1368. <Column id="organ" type="STRING" size="256" sumtext="이식"/>
  1369. <Column id="dinfo" type="STRING" size="256" sumtext="낙상"/>
  1370. <Column id="binfo" type="STRING" size="256" sumtext="욕창"/>
  1371. <Column id="pinfo" type="STRING" size="256" sumtext="사생활"/>
  1372. <Column id="nutinfo" type="STRING" size="256" sumtext="영양고위험"/>
  1373. <Column id="recmer" type="STRING" size="256" sumtext="지인유무"/>
  1374. <Column id="recmerinfo" type="STRING" size="256" sumtext="지인정보"/>
  1375. <Column id="schoolflag" type="STRING" size="256" sumtext="경대교직원"/>
  1376. <Column id="errwarnmsg" type="STRING" size="256" sumtext="주의요망오류메세지"/>
  1377. </ColumnInfo>
  1378. </Dataset>
  1379. <Dataset id="ds_outpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1380. <ColumnInfo>
  1381. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1382. </ColumnInfo>
  1383. </Dataset>
  1384. <Dataset id="ds_patflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1385. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1386. <ColumnInfo>
  1387. <Column id="pid" type="STRING" size="255"/>
  1388. <Column id="orddd" type="STRING" size="255"/>
  1389. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  1390. <Column id="acptseqno" type="BIGDECIMAL" size="255"/>
  1391. <Column id="instcd" type="STRING" size="255"/>
  1392. <Column id="orgorddd" type="STRING" size="255"/>
  1393. <Column id="orgcretno" type="BIGDECIMAL" size="255"/>
  1394. <Column id="calcbaseflag" type="STRING" size="255"/>
  1395. <Column id="calcyn" type="STRING" size="255"/>
  1396. <Column id="ordtm" type="STRING" size="255"/>
  1397. <Column id="centcd" type="STRING" size="255"/>
  1398. <Column id="centernm" type="STRING" size="255"/>
  1399. <Column id="orddeptcd" type="STRING" size="255"/>
  1400. <Column id="subdeptcd" type="STRING" size="255"/>
  1401. <Column id="orddrid" type="STRING" size="255"/>
  1402. <Column id="mskind" type="STRING" size="255"/>
  1403. <Column id="insukind" type="STRING" size="255"/>
  1404. <Column id="suppkind" type="STRING" size="255"/>
  1405. <Column id="specordyn" type="STRING" size="255"/>
  1406. <Column id="fsexamflag" type="STRING" size="255"/>
  1407. <Column id="ordtype" type="STRING" size="255"/>
  1408. <Column id="medamtestmyn" type="STRING" size="255"/>
  1409. <Column id="rsrvflag" type="STRING" size="255"/>
  1410. <Column id="hosoutexptresncd" type="STRING" size="255"/>
  1411. <Column id="clincstdyacptflag" type="STRING" size="255"/>
  1412. <Column id="clincstdyno" type="STRING" size="255"/>
  1413. <Column id="nursacptyn" type="STRING" size="255"/>
  1414. <Column id="nursacptdt" type="STRING" size="255"/>
  1415. <Column id="dracptyn" type="STRING" size="255"/>
  1416. <Column id="dracptdt" type="STRING" size="255"/>
  1417. <Column id="prcpgenryn" type="STRING" size="255"/>
  1418. <Column id="prcpnotoccrresn" type="STRING" size="255"/>
  1419. <Column id="estmspclappyn" type="STRING" size="255"/>
  1420. <Column id="elbulbodstat" type="STRING" size="255"/>
  1421. <Column id="elbulbodstatdt" type="STRING" size="255"/>
  1422. <Column id="histstat" type="STRING" size="255"/>
  1423. <Column id="etcordflag" type="STRING" size="255"/>
  1424. <Column id="medamtpostyn" type="STRING" size="255"/>
  1425. <Column id="dnoracptyn" type="STRING" size="255"/>
  1426. <Column id="hngnm" type="STRING" size="255"/>
  1427. <Column id="hngnm2" type="STRING" size="255"/>
  1428. <Column id="dispnm1" type="STRING" size="255"/>
  1429. <Column id="dispnm2" type="STRING" size="255"/>
  1430. <Column id="sex" type="STRING" size="255"/>
  1431. <Column id="rrgstno1" type="STRING" size="255"/>
  1432. <Column id="rrgstno2" type="STRING" size="255"/>
  1433. <Column id="nonprgresncd" type="STRING" size="255"/>
  1434. <Column id="nonprgresncnts" type="STRING" size="255"/>
  1435. <Column id="age" type="STRING" size="255"/>
  1436. <Column id="ioflag" type="STRING" size="255"/>
  1437. <Column id="mainjudgid" type="STRING" size="255"/>
  1438. <Column id="prcplockid" type="STRING" size="255"/>
  1439. <Column id="tranindd" type="STRING" size="255"/>
  1440. <Column id="orddrnm" type="STRING" size="255"/>
  1441. <Column id="orddeptnm" type="STRING" size="255"/>
  1442. <Column id="rareobstflag" type="STRING" size="255"/>
  1443. <Column id="tranflag" type="STRING" size="255"/>
  1444. <Column id="autoformcd" type="STRING" size="255"/>
  1445. <Column id="prcptdayaftrcptyn" type="STRING" size="255"/>
  1446. <Column id="rcptvipresncd" type="STRING" size="255"/>
  1447. <Column id="rcptvipetcresn" type="STRING" size="255"/>
  1448. <Column id="coopteamcd" type="STRING" size="255"/>
  1449. <Column id="coopteamnm" type="STRING" size="255"/>
  1450. <Column id="scndyn" type="STRING" size="255"/>
  1451. <Column id="specordtypenm" type="STRING" size="255"/>
  1452. <Column id="specordtype" type="STRING" size="255"/>
  1453. <Column id="hometel" type="STRING" size="255"/>
  1454. <Column id="mpphontel" type="STRING" size="255"/>
  1455. <Column id="bfjudgvalue" type="STRING" size="255"/>
  1456. <Column id="warnmsg" type="STRING" size="255"/>
  1457. <Column id="durdiagyn" type="STRING" size="255"/>
  1458. <Column id="replyn" type="STRING" size="255"/>
  1459. <Column id="repltypenm" type="STRING" size="255"/>
  1460. <Column id="indschacptstat" type="STRING" size="256"/>
  1461. </ColumnInfo>
  1462. </Dataset>
  1463. <Dataset id="ds_topinfo_outpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1464. <ColumnInfo>
  1465. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  1466. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1467. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1468. <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
  1469. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1470. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  1471. <Column id="orgcretno" type="STRING" size="256" sumtext="원생성번호"/>
  1472. <Column id="calcbaseflag" type="STRING" size="256" sumtext="계산기준구분"/>
  1473. <Column id="calcyn" type="STRING" size="256" sumtext="정산여부"/>
  1474. <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
  1475. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서"/>
  1476. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
  1477. <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
  1478. <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
  1479. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1480. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  1481. <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
  1482. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
  1483. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  1484. <Column id="medamtestmyn" type="STRING" size="256" sumtext="진찰료산정여부"/>
  1485. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  1486. <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  1487. <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수여부"/>
  1488. <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험번호"/>
  1489. <Column id="nursacptyn" type="STRING" size="256" sumtext="간호접수여부"/>
  1490. <Column id="nursacptdt" type="STRING" size="256" sumtext="간호접수일자"/>
  1491. <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
  1492. <Column id="dracptdt" type="STRING" size="256" sumtext="의사접수일자"/>
  1493. <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
  1494. <Column id="prcpnotoccrresn" type="STRING" size="256" sumtext="처방미발생사유코드"/>
  1495. <Column id="estmspclappyn" type="STRING" size="256" sumtext="산정특례적용여부"/>
  1496. <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태"/>
  1497. <Column id="elbulbodstatdt" type="STRING" size="256" sumtext="전광판상태일시"/>
  1498. <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
  1499. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  1500. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1501. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1502. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1503. <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
  1504. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
  1505. <Column id="tranindd" type="STRING" size="256" sumtext="외래입원전환"/>
  1506. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1507. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1508. <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
  1509. <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
  1510. <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
  1511. <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀,난치여부"/>
  1512. <Column id="etcordflag" type="STRING" size="256" sumtext="가정간호여부등 가접수구분"/>
  1513. <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택구분"/>
  1514. <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
  1515. <Column id="indschacptstat" type="STRING" size="256"/>
  1516. </ColumnInfo>
  1517. </Dataset>
  1518. <Dataset id="ds_topinfo_outpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1519. <Dataset id="ds_topinfo_patmaintopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1520. <Dataset id="ds_dethinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1521. <FilteredDataset id="ds_doctor" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_userinfolist" filterstr="jobkindcd == 1"/>
  1522. <Dataset id="ds_topinfo_inpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1523. <ColumnInfo>
  1524. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1525. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  1526. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1527. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  1528. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1529. <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
  1530. <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
  1531. <Column id="hospbrthyn" type="STRING" size="256" sumtext="본원출생여부"/>
  1532. <Column id="rsrvinyn" type="STRING" size="256" sumtext="예약입원여부"/>
  1533. <Column id="intm" type="STRING" size="256" sumtext="입원일시"/>
  1534. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1535. <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
  1536. <Column id="dschtype" type="STRING" size="256" sumtext="퇴원형태"/>
  1537. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  1538. <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
  1539. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
  1540. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1541. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  1542. <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
  1543. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  1544. <Column id="medispclid" type="STRING" size="256" sumtext="전문의ID"/>
  1545. <Column id="atdoctid" type="STRING" size="256" sumtext="주치의ID"/>
  1546. <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
  1547. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  1548. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  1549. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1550. <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급코드"/>
  1551. <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태코드"/>
  1552. <Column id="rqsthospcd" type="STRING" size="256" sumtext="협력의뢰병원코드"/>
  1553. <Column id="rqstdrid" type="STRING" size="256" sumtext="협력의뢰의사"/>
  1554. <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
  1555. <Column id="bmtyn" type="STRING" size="256" sumtext="BMT여부"/>
  1556. <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
  1557. <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
  1558. <Column id="batlockid" type="STRING" size="256" sumtext="BATCH잠김ID"/>
  1559. <Column id="batlockyn" type="STRING" size="256" sumtext="BATCH잠김여부"/>
  1560. <Column id="ordcostretcdd" type="STRING" size="256" sumtext="진료비소급일자"/>
  1561. <Column id="ordcostcalcdd" type="STRING" size="256" sumtext="진료비계산일자"/>
  1562. <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
  1563. <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일시"/>
  1564. <Column id="dschdclrtrgstid" type="STRING" size="256" sumtext="퇴원예고등록자ID"/>
  1565. <Column id="dschdclrtrgstnm" type="STRING" size="256" sumtext="퇴원예고등록자명"/>
  1566. <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고등록일시"/>
  1567. <Column id="dschrgstacptdt" type="STRING" size="256" sumtext="퇴원등록접수일시"/>
  1568. <Column id="dschrgstacptchar" type="STRING" size="256" sumtext="퇴원등록접수담당자ID"/>
  1569. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
  1570. <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보일시"/>
  1571. <Column id="dschnotirgstid" type="STRING" size="256" sumtext="퇴원통보등록자ID"/>
  1572. <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원통보등록일시"/>
  1573. <Column id="calclastdd" type="STRING" size="256" sumtext="정산최종일자"/>
  1574. <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="퇴원심사진행상태"/>
  1575. <Column id="lastjudgdd" type="STRING" size="256" sumtext="최종심사일자"/>
  1576. <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종중간청구일자"/>
  1577. <Column id="lastjudgendid" type="STRING" size="256" sumtext="최종심사완료자ID"/>
  1578. <Column id="spcljudgflag" type="STRING" size="256" sumtext="선별심사여부"/>
  1579. <Column id="mainjudgid" type="STRING" size="256" sumtext="주심사자ID"/>
  1580. <Column id="icdr_roomgrdecd" type="STRING" size="256" sumtext="전실이력병실등급코드"/>
  1581. <Column id="icdr_roomtypecd" type="STRING" size="256" sumtext="전실이력병실형태코드"/>
  1582. <Column id="icdr_wardcd2" type="STRING" size="256" sumtext="전실이력병동코드2"/>
  1583. <Column id="icdr_roomcd2" type="STRING" size="256" sumtext="전실이력병실코드2"/>
  1584. <Column id="icdr_roomgrdecd2" type="STRING" size="256" sumtext="전실이력병실등급코드2"/>
  1585. <Column id="icdr_roomtypecd2" type="STRING" size="256" sumtext="전실이력병실형태코드2"/>
  1586. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  1587. <Column id="hngnm2" type="STRING" size="256" sumtext="환자이름2"/>
  1588. <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
  1589. <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
  1590. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1591. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1592. <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
  1593. <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
  1594. <Column id="hospiceyn" type="STRING" size="256" sumtext="호스피스여부"/>
  1595. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1596. <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
  1597. <Column id="brateflag" type="STRING" size="256" sumtext="부담률구분"/>
  1598. <Column id="ermngtamtcalcyn" type="STRING" size="256" sumtext="응급의학관리료산정여부"/>
  1599. <Column id="erbrthflag" type="STRING" size="256" sumtext="응급분만구분"/>
  1600. <Column id="erchospath" type="STRING" size="256" sumtext="응급내원경로"/>
  1601. <Column id="erorddeptcd" type="STRING" size="256" sumtext="응급진료과코드"/>
  1602. <Column id="eroutdt" type="STRING" size="256" sumtext="응급퇴실일자"/>
  1603. <Column id="careinrmdd" type="STRING" size="256" sumtext="간호입실일자"/>
  1604. <Column id="careinrmtm" type="STRING" size="256" sumtext="간호입실시간"/>
  1605. <Column id="careinrmrgstrid" type="STRING" size="256" sumtext="간호입실등록자ID"/>
  1606. <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
  1607. <Column id="iprcaddyn" type="STRING" size="256" sumtext="추가처방 가능여부(심사실가퇴원)"/>
  1608. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
  1609. <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외사유코드"/>
  1610. <Column id="brthdd" type="STRING" size="256" sumtext="원외사유코드"/>
  1611. <Column id="calcdd" type="STRING" size="256" sumtext="계산일자"/>
  1612. <Column id="calctm" type="STRING" size="256" sumtext="계산시간"/>
  1613. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1614. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1615. <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
  1616. <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
  1617. <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택"/>
  1618. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
  1619. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  1620. <Column id="bedposcntscd" type="STRING" size="256" sumtext="응급실 Bed 정보"/>
  1621. <Column id="bedposcnts" type="STRING" size="256" sumtext="응급실 Bed 정보"/>
  1622. <Column id="basetypecd" type="STRING" size="256" sumtext="구역정보"/>
  1623. <Column id="typenm" type="STRING" size="256" sumtext="구역정보"/>
  1624. <Column id="opfeechkyn" type="STRING" size="256" sumtext="수술료입력여부"/>
  1625. <Column id="erissdeptcd" type="STRING" size="256" sumtext="응급발행부서"/>
  1626. <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
  1627. </ColumnInfo>
  1628. </Dataset>
  1629. <Dataset id="ds_topinfo_patmaintopinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1630. <ColumnInfo>
  1631. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1632. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  1633. <Column id="hngnm2" type="STRING" size="256" sumtext="환자명2"/>
  1634. <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
  1635. <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
  1636. <Column id="sa" type="STRING" size="256" sumtext="성별"/>
  1637. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1638. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1639. <Column id="ininfo" type="STRING" size="256" sumtext="입원정보"/>
  1640. <Column id="body" type="STRING" size="256" sumtext="신체사정"/>
  1641. <Column id="orddept" type="STRING" size="256" sumtext="부서"/>
  1642. <Column id="apntdr" type="STRING" size="256" sumtext="지정의"/>
  1643. <Column id="attndr" type="STRING" size="256" sumtext="주치의"/>
  1644. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  1645. <Column id="diagnosis" type="STRING" size="256" sumtext="진단"/>
  1646. <Column id="operation" type="STRING" size="256" sumtext="수술"/>
  1647. <Column id="allergy" type="STRING" size="256" sumtext="알러지"/>
  1648. <Column id="infection" type="STRING" size="256" sumtext="감염"/>
  1649. <Column id="intcare" type="STRING" size="256" sumtext="중증"/>
  1650. <Column id="cp" type="STRING" size="256" sumtext="CP여부"/>
  1651. <Column id="drgyn" type="STRING" size="256" sumtext="DRG환자여부 "/>
  1652. <Column id="regstno" type="STRING" size="256" sumtext="주민번호 뒷자리"/>
  1653. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1654. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  1655. <Column id="phontel" type="STRING" size="256" sumtext="전화번호"/>
  1656. <Column id="cnsttypenm" type="STRING" size="256" sumtext="협진분류명"/>
  1657. <Column id="newallergy" type="STRING" size="256" sumtext="뉴알러지"/>
  1658. <Column id="schoolflag" type="STRING" size="256" sumtext="경대교직원"/>
  1659. </ColumnInfo>
  1660. </Dataset>
  1661. <Dataset id="ds_topinfo_inpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1662. <ColumnInfo>
  1663. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="외래/입원구분"/>
  1664. </ColumnInfo>
  1665. </Dataset>
  1666. <Dataset id="ds_followup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1667. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1668. <ColumnInfo>
  1669. <Column id="cond1" type="STRING" size="256" sumtext="검색조건 (1:등록번호, 2:이름)"/>
  1670. <Column id="cond2" type="STRING" size="256" sumtext="등록번호 또는 이름"/>
  1671. <Column id="cond3" type="STRING" size="256" sumtext="기관코드"/>
  1672. <Column id="cond4" type="STRING" size="256" sumtext="원무키 기준 조회 여부 (Y/N) : N (이름)"/>
  1673. <Column id="cond5" type="STRING" size="256" sumtext="당일기준 조회 여부 (Y/N)"/>
  1674. <Column id="cond6" type="STRING" size="256" sumtext="외래/입원 테이블 구분 (O:외래/I:입원/-:전체)"/>
  1675. <Column id="cond7" type="STRING" size="256" sumtext="등록번호"/>
  1676. <Column id="cond8" type="STRING" size="256" sumtext="진료일자 (입원일자)"/>
  1677. <Column id="cond9" type="STRING" size="256" sumtext="생성번호"/>
  1678. <Column id="cond10" type="STRING" size="256" sumtext="fromdd"/>
  1679. <Column id="cond11" type="STRING" size="256" sumtext="todd"/>
  1680. </ColumnInfo>
  1681. </Dataset>
  1682. <Dataset id="ds_patordinfo_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1683. <ColumnInfo>
  1684. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1685. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1686. <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
  1687. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  1688. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  1689. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1690. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1691. <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
  1692. <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
  1693. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
  1694. <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처"/>
  1695. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  1696. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  1697. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
  1698. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  1699. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1700. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  1701. <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
  1702. <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
  1703. <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
  1704. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  1705. <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
  1706. <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
  1707. <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
  1708. <Column id="orddd" type="STRING" size="256" sumtext="진료일자 (입원일 경우 입원일자)"/>
  1709. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1710. <Column id="acptseqno" type="STRING" size="256" sumtext="접수일련번호 (입원일 경우 seqno)"/>
  1711. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  1712. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  1713. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  1714. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료부서명"/>
  1715. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  1716. <Column id="drvalidyn" type="STRING" size="256" sumtext="진료의퇴직유무"/>
  1717. <Column id="specordyn" type="STRING" size="256" sumtext="진료의특진유무"/>
  1718. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  1719. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1720. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  1721. <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
  1722. <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
  1723. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1724. <Column id="insukindcd" type="STRING" size="256" sumtext="보험유형코드"/>
  1725. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  1726. </ColumnInfo>
  1727. </Dataset>
  1728. <Dataset id="ds_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1729. <Dataset id="ds_addprcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1730. <ColumnInfo>
  1731. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  1732. <Column id="cstenm" type="STRING" size="256" sumtext="블럭명"/>
  1733. <Column id="redchk" type="STRING" size="256" sumtext="비고"/>
  1734. <Column id="acptptno" type="STRING" size="256" sumtext="접수병리번호"/>
  1735. <Column id="acptrelaptno" type="STRING" size="256" sumtext="접수관련병리번호"/>
  1736. <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
  1737. <Column id="relaptno" type="STRING" size="256" sumtext="관련병리번호"/>
  1738. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1739. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  1740. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
  1741. <Column id="patflagnm" type="STRING" size="256" sumtext="환자구분명"/>
  1742. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  1743. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  1744. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1745. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  1746. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  1747. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  1748. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  1749. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료의ID"/>
  1750. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  1751. <Column id="orddrid" type="STRING" size="256" sumtext="처방의ID"/>
  1752. <Column id="orddrnm" type="STRING" size="256" sumtext="처방의명"/>
  1753. <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
  1754. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1755. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실치처방유일번호"/>
  1756. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  1757. <Column id="cretno" type="STRING" size="256" sumtext="원무키번호"/>
  1758. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  1759. <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
  1760. <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
  1761. <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
  1762. <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
  1763. <Column id="bfacptdd" type="STRING" size="256" sumtext="이전접수일자"/>
  1764. <Column id="bfacptno" type="STRING" size="256" sumtext="이전접수번호"/>
  1765. <Column id="bfacptseqno" type="STRING" size="256" sumtext="이전접수일련번호"/>
  1766. <Column id="reuseflagcd" type="STRING" size="256" sumtext="재사용구분코드"/>
  1767. <Column id="bfspcacptdd" type="STRING" size="256" sumtext="이전검체접수일자"/>
  1768. <Column id="bfspcacptno" type="STRING" size="256" sumtext="이전검체접수번호"/>
  1769. <Column id="acptdept" type="STRING" size="256" sumtext="접수부서"/>
  1770. <Column id="status" type="STRING" size="256" sumtext="등록여부"/>
  1771. <Column id="bfcsteno" type="STRING" size="256" sumtext="이전Cassette번호"/>
  1772. <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
  1773. <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
  1774. <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
  1775. <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
  1776. <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
  1777. <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
  1778. <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
  1779. <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
  1780. <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
  1781. <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
  1782. <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
  1783. <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
  1784. <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
  1785. <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
  1786. <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
  1787. <Column id="grupsnglflag" type="STRING" size="256" sumtext="Group/Single"/>
  1788. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  1789. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  1790. <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1791. <Column id="grosdrid" type="STRING" size="256" sumtext="육안검사의ID"/>
  1792. <Column id="grosplgyid" type="STRING" size="256" sumtext="육안병리사ID"/>
  1793. <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
  1794. <Column id="m" type="STRING" size="256" sumtext="상태"/>
  1795. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
  1796. <Column id="grostestdd" type="STRING" size="256" sumtext="육안검사일자"/>
  1797. <Column id="grostesttm" type="STRING" size="256" sumtext="육안검사시간"/>
  1798. <Column id="autosave" type="STRING" size="256" sumtext="자동접수"/>
  1799. <Column id="lendflagcd" type="STRING" size="256" sumtext="원본대출반혼여부"/>
  1800. <Column id="trandd" type="STRING" size="256" sumtext="전송일자"/>
  1801. <Column id="tranno" type="STRING" size="256" sumtext="전송시간"/>
  1802. <Column id="transeqno" type="STRING" size="256" sumtext="전송일련번호"/>
  1803. <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1804. <Column id="spctrandd" type="STRING" size="256" sumtext="검체전송일자"/>
  1805. <Column id="spctranno" type="STRING" size="256" sumtext="검체전송번호"/>
  1806. <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1807. <Column id="spctranbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  1808. <Column id="tempcol19" type="STRING" size="256" sumtext="과거처방사유"/>
  1809. <Column id="signbfcnts" type="STRING" size="256" sumtext="암호화이전"/>
  1810. <Column id="signafcnts" type="STRING" size="256" sumtext="암호화이후"/>
  1811. <Column id="orgaddflagcd" type="STRING" size="256" sumtext="원처방추가처방구분"/>
  1812. <Column id="doctid" type="STRING" size="256" sumtext="후인증의사아이디"/>
  1813. <Column id="doctnm" type="STRING" size="256" sumtext="후인증의사명"/>
  1814. <Column id="afcertyn" type="STRING" size="256" sumtext="후인증여부"/>
  1815. <Column id="mskind" type="STRING" size="256" sumtext=""/>
  1816. <Column id="insukind" type="STRING" size="256" sumtext=""/>
  1817. <Column id="suppkind" type="STRING" size="256" sumtext=""/>
  1818. <Column id="ioflag" type="STRING" size="256" sumtext=""/>
  1819. <Column id="prcpsignflag" type="STRING" size="256" sumtext=""/>
  1820. </ColumnInfo>
  1821. </Dataset>
  1822. <Dataset id="ds_copy_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1823. <ColumnInfo>
  1824. <Column id="instcd" type="STRING"/>
  1825. <Column id="cstenm" type="STRING"/>
  1826. <Column id="redchk" type="STRING"/>
  1827. <Column id="acptptno" type="STRING"/>
  1828. <Column id="acptdispptno" type="STRING"/>
  1829. <Column id="acptrelaptno" type="STRING"/>
  1830. <Column id="acptdisprelaptno" type="STRING"/>
  1831. <Column id="dschdd" type="STRING"/>
  1832. <Column id="prcpstatnm" type="STRING"/>
  1833. <Column id="ptno" type="STRING"/>
  1834. <Column id="dispptno" type="STRING"/>
  1835. <Column id="ptnobtn" type="STRING"/>
  1836. <Column id="relaptno" type="STRING"/>
  1837. <Column id="disprelaptno" type="STRING"/>
  1838. <Column id="relaptnobtn" type="STRING"/>
  1839. <Column id="prcpnm" type="STRING"/>
  1840. <Column id="pid" type="STRING"/>
  1841. <Column id="patnm" type="STRING"/>
  1842. <Column id="prcpgenrflag" type="STRING"/>
  1843. <Column id="patflagnm" type="STRING"/>
  1844. <Column id="prcpdd" type="STRING"/>
  1845. <Column id="acptdd" type="STRING"/>
  1846. <Column id="orddd" type="STRING"/>
  1847. <Column id="prcpcd" type="STRING"/>
  1848. <Column id="spccd" type="STRING"/>
  1849. <Column id="spcnm" type="STRING"/>
  1850. <Column id="orddeptcd" type="STRING"/>
  1851. <Column id="orddeptnm" type="STRING"/>
  1852. <Column id="orddrid" type="STRING"/>
  1853. <Column id="orddrnm" type="STRING"/>
  1854. <Column id="reqfrmno" type="STRING"/>
  1855. <Column id="execprcpuniqno" type="STRING"/>
  1856. <Column id="prcpno" type="STRING"/>
  1857. <Column id="cretno" type="STRING"/>
  1858. <Column id="acptno" type="STRING"/>
  1859. <Column id="spcacptdd" type="STRING"/>
  1860. <Column id="spcacptno" type="STRING"/>
  1861. <Column id="bfacptdd" type="STRING"/>
  1862. <Column id="bfacptno" type="STRING"/>
  1863. <Column id="bfacptseqno" type="STRING"/>
  1864. <Column id="reuseflagcd" type="STRING"/>
  1865. <Column id="bfspcacptdd" type="STRING"/>
  1866. <Column id="bfspcacptno" type="STRING"/>
  1867. <Column id="acptdept" type="STRING"/>
  1868. <Column id="status" type="STRING"/>
  1869. <Column id="csteno" type="STRING"/>
  1870. <Column id="bfcsteno" type="STRING"/>
  1871. <Column id="ptnocd" type="STRING"/>
  1872. <Column id="stdyptnocd" type="STRING"/>
  1873. <Column id="trustptnocd" type="STRING"/>
  1874. <Column id="workflagcd" type="STRING"/>
  1875. <Column id="slidflagcd" type="STRING"/>
  1876. <Column id="slidisscnt" type="STRING"/>
  1877. <Column id="blocflagcd" type="STRING"/>
  1878. <Column id="initblocno" type="STRING"/>
  1879. <Column id="autokeepflagcd" type="STRING"/>
  1880. <Column id="stdy_workflagcd" type="STRING"/>
  1881. <Column id="stdy_slidflagcd" type="STRING"/>
  1882. <Column id="stdy_slidisscnt" type="STRING"/>
  1883. <Column id="stdy_blocflagcd" type="STRING"/>
  1884. <Column id="stdy_initblocno" type="STRING"/>
  1885. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1886. <Column id="grupsnglflag" type="STRING"/>
  1887. <Column id="wardcd" type="STRING"/>
  1888. <Column id="roomcd" type="STRING"/>
  1889. <Column id="spcbarcdno" type="STRING"/>
  1890. <Column id="grosdrid" type="STRING"/>
  1891. <Column id="grosplgyid" type="STRING"/>
  1892. <Column id="spcacptseqno" type="STRING"/>
  1893. <Column id="acpttm" type="STRING"/>
  1894. <Column id="prcphistno" type="STRING"/>
  1895. <Column id="prcpstatcd" type="STRING"/>
  1896. <Column id="grostestdd" type="STRING"/>
  1897. <Column id="grostesttm" type="STRING"/>
  1898. <Column id="autosave" type="STRING"/>
  1899. <Column id="lendflagcd" type="STRING"/>
  1900. <Column id="trandd" type="STRING"/>
  1901. <Column id="tranno" type="STRING"/>
  1902. <Column id="transeqno" type="STRING"/>
  1903. <Column id="spctranbarcdno" type="STRING"/>
  1904. <Column id="spctrandd" type="STRING"/>
  1905. <Column id="spctranno" type="STRING"/>
  1906. <Column id="tempcol19" type="STRING"/>
  1907. <Column id="signbfcnts" type="STRING"/>
  1908. <Column id="signafcnts" type="STRING"/>
  1909. <Column id="orgaddflagcd" type="STRING"/>
  1910. <Column id="doctid" type="STRING"/>
  1911. <Column id="doctnm" type="STRING"/>
  1912. <Column id="afcertyn" type="STRING"/>
  1913. <Column id="mskind" type="STRING"/>
  1914. <Column id="insukind" type="STRING"/>
  1915. <Column id="suppkind" type="STRING"/>
  1916. <Column id="ioflag" type="STRING"/>
  1917. <Column id="prcpsignflag" type="STRING"/>
  1918. <Column id="grosdrnm" type="STRING"/>
  1919. <Column id="readdrnm" type="STRING"/>
  1920. <Column id="drugmthdspccd" type="STRING" size="256"/>
  1921. <Column id="drugmthdspccdnm" type="STRING" size="256"/>
  1922. <Column id="prcpflag" type="STRING" size="256"/>
  1923. <Column id="tempprcpcd" type="STRING" size="256"/>
  1924. <Column id="tempprcpnm" type="STRING" size="256"/>
  1925. <Column id="tempstatus" type="STRING" size="256"/>
  1926. <Column id="sex" type="STRING" size="256"/>
  1927. <Column id="age" type="STRING" size="256"/>
  1928. </ColumnInfo>
  1929. </Dataset>
  1930. </Objects>
  1931. <Bind>
  1932. <BindItem id="item10" compid="div_all.input1" propid="value" datasetid="ds_init" columnid="orddd"/>
  1933. <BindItem id="item1" compid="div_all.input4" propid="value" datasetid="ds_init" columnid="prcptodd"/>
  1934. <BindItem id="item0" compid="div_all.input5" propid="value" datasetid="ds_init" columnid="prcpfromdd"/>
  1935. <BindItem id="item2" compid="div_all.grp_sea.ipt_acptddfrom" propid="value" datasetid="ds_init" columnid="fromdd"/>
  1936. <BindItem id="item3" compid="div_all.grp_sea.ipt_acptddto" propid="value" datasetid="ds_init" columnid="todd"/>
  1937. <BindItem id="item4" compid="div_all.grp_sea.cbo_ordflag" propid="value" datasetid="ds_init" columnid="prcpflagcd"/>
  1938. <BindItem id="item5" compid="div_all.grp_sea.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
  1939. <BindItem id="item6" compid="div_all.grp_sea.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
  1940. <BindItem id="item7" compid="div_all.grp_sea.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  1941. <BindItem id="item8" compid="div_all.grp_sea.cbo_refmthdcd" propid="value" datasetid="ds_init" columnid="refmthdcd"/>
  1942. <BindItem id="item9" compid="div_all.cmb_readdr" propid="value" datasetid="ds_hidden" columnid="readdrid"/>
  1943. <BindItem id="item11" compid="div_all.grp_sea.ipt_seaval" propid="value" datasetid="ds_init" columnid="refval"/>
  1944. <BindItem id="item12" compid="div_all.input2" propid="value" datasetid="ds_init" columnid="cretno"/>
  1945. <BindItem id="item13" compid="div_all.input3" propid="value" datasetid="ds_init" columnid="ioflag"/>
  1946. <BindItem id="item14" compid="div_all.Tab_prcp.swtordkind_case1.rdo_srchcond1" propid="value" datasetid="ds_init" columnid="srchcond11"/>
  1947. <BindItem id="item15" compid="div_all.Tab_prcp.swtordkind_case1.radio1" propid="value" datasetid="ds_init" columnid="srchcond21"/>
  1948. <BindItem id="item16" compid="div_all.bol_autosave" propid="value" datasetid="ds_init" columnid="autosave"/>
  1949. <BindItem id="item17" compid="div_all.bol_lendflagcd" propid="value" datasetid="ds_init" columnid="lendflagcd"/>
  1950. <BindItem id="item18" compid="div_all.grp_refcmts.txt_refcmts" propid="value" datasetid="ds_init" columnid="refcmts"/>
  1951. </Bind>
  1952. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1953. * System Name :
  1954. * Job Name :
  1955. * Creator :
  1956. * Make Date : 2015-11-13
  1957. * Description :
  1958. *---------------------------------------------------------------------------------------
  1959. * Modify Date Modifier Modify Description
  1960. *---------------------------------------------------------------------------------------
  1961. * 2015-11-13 Live Converter TF->XP
  1962. *
  1963. *---------------------------------------------------------------------------------------
  1964. ****************************************************************************************/
  1965. include "com_commonxp::comm_main.xjs";
  1966. include "emr_prcpmngtxp::SMMMO00100.xjs";
  1967. include "emr_prcpmngtxp::SMMMO00200.xjs";
  1968. include "lis_commonxp::LPZ001.xjs";
  1969. var zes_objSKComm = null;
  1970. var zes_objKMClient = null;
  1971. var zes_objForm = null;
  1972. var zes_sCertYear = 1970;
  1973. var zes_sCertMonth = 1;
  1974. var zes_sCertDate = 1;
  1975. var zes_sUID = "";
  1976. var arErrorCode = new HashArray();
  1977. var sRowcount;
  1978. function SMLPJ01000_oninit(obj:Form, e:InitEventInfo)
  1979. {
  1980. frmf_initForm(obj);
  1981. zesf_InitSign();
  1982. }
  1983. function SMLPJ01000_onload(obj:Form, e:LoadEventInfo)
  1984. {
  1985. grdf_initGrid(div_all.grd_acptspclist);
  1986. grdf_initGrid(div_all.grd_patlist);
  1987. grdf_initGrid(div_all.grd_prcplist);
  1988. grdf_initGrid(div_all.grd_testcdlist);
  1989. grdf_setRowTypeIcon(div_all.grd_prcplist, 1);
  1990. frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick");
  1991. fExeInitialize();
  1992. }
  1993. //초기화
  1994. function fExeInitialize()
  1995. {
  1996. var sCurDate = "";
  1997. var menuparam = frmf_getMenuParam();
  1998. //-----------------------------------------------------------------
  1999. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  2000. var oParam = {};
  2001. oParam.id = "TRLPZ00102";
  2002. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  2003. oParam.method = "reqGetSystemDateTimeInformation";
  2004. oParam.inds = "refData=ds_send";
  2005. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  2006. oParam.async = false;
  2007. //oParam.callback = "cf_TRLPZ00102";
  2008. tranf_submit(oParam);
  2009. ds_send.clearData();
  2010. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  2011. ,{col : "refflagcd", val : "0"}]);
  2012. var oParam = {};
  2013. oParam.id = "TRLPZ00109";
  2014. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  2015. oParam.method = "reqGetPtNoCdList";
  2016. oParam.inds = "refdata=ds_send";
  2017. oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
  2018. oParam.async = false;
  2019. //oParam.callback = "cf_TRLPZ00109";
  2020. tranf_submit(oParam);
  2021. ds_send.clearData();
  2022. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  2023. var oParam = {};
  2024. oParam.id = "TRLPJ01001";
  2025. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2026. oParam.method = "reqGetPrcpKindList";
  2027. oParam.inds = "refData=ds_send";
  2028. oParam.outds = "ds_prcpkindlist=reflist";
  2029. oParam.async = false;
  2030. //oParam.callback = "cf_TRLPJ01001";
  2031. tranf_submit(oParam);
  2032. ds_send.clearData();
  2033. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  2034. var oParam = {};
  2035. oParam.id = "TRLPZ00101";
  2036. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  2037. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  2038. oParam.inds = "refData=ds_send";
  2039. oParam.outds = "ds_hosoenvinfo=hospenvinfo";
  2040. oParam.async = false;
  2041. //oParam.callback = "cf_TRLPZ00101";
  2042. tranf_submit(oParam);
  2043. // 의사목록 조회....
  2044. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  2045. ,{col : "userdeptcd", val : "-"}
  2046. ,{col : "doctjobgradcd", val : "-"}
  2047. ,{col : "teamjobgradcd", val : "-"}]);
  2048. var oParam = {};
  2049. oParam.id = "TRLPZ00105";
  2050. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  2051. oParam.method = "reqGetUserInfoList";
  2052. oParam.inds = "refdata=ds_send";
  2053. oParam.outds = "ds_userinfolist=reflist";
  2054. oParam.async = false;
  2055. //oParam.callback = "cf_TRLPZ00105";
  2056. tranf_submit(oParam);
  2057. //------------
  2058. // 초기값 설정
  2059. sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
  2060. ds_init.setColumn(0, "fromdd", ds_data_sysdtinfo.getColumn(0, "sysdd")); // 시작일자
  2061. ds_init.setColumn(0, "todd", ds_data_sysdtinfo.getColumn(0, "sysdd")); // 종료일자
  2062. ds_init.setColumn(0, "prcpflagcd", "0"); // 처방구분(접수처방:0) 초기화
  2063. ds_init.setColumn(0, "refmthdcd", "1"); // 검색방법(등록번호:1) 초기화
  2064. ds_init.setColumn(0, "refval", div_all.grp_sea.ipt_seaval.value); // 검색값 초기화
  2065. ds_init.setColumn(0, "prcprowno", "0");
  2066. ds_init.setColumn(0, "ptnocode", "-");
  2067. ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
  2068. ds_init.setColumn(0, "fromptno", "");
  2069. ds_init.setColumn(0, "lendflagcd", "0"); // 1:원본대출, 0:일반
  2070. //----------------------
  2071. fExePrcpFlagChange("0");
  2072. div_all.Tab_prcp.tabindex = 1;
  2073. div_all.btn_outoch1.visible = false;
  2074. div_all.btn_outoch2.visible = true;
  2075. if(ds_hosoenvinfo.getColumn(0, "autoacptflagcd") == "1")
  2076. {
  2077. ds_init.setColumn(0, "autosave", "0"); // 1:자동접수, 0:수동접수
  2078. }
  2079. else
  2080. {
  2081. ds_init.setColumn(0, "autosave", "1"); // 1:자동접수, 0:수동접수
  2082. }
  2083. //---------------------
  2084. if (menuparam == "1")
  2085. {
  2086. // Continue
  2087. }
  2088. else
  2089. {
  2090. if (opener.frmf_getParameter("SMLPJ01000_scrno") == "SMLPP00200")
  2091. {
  2092. ds_init.setColumn(0, "ptnocode", opener.frmf_getParameter("SMLPJ01000_ptnocd"));
  2093. ds_init.setColumn(0, "fromyear", opener.frmf_getParameter("SMLPJ01000_year"));
  2094. ds_init.setColumn(0, "fromptno", opener.frmf_getParameter("SMLPJ01000_no"));
  2095. ds_init.setColumn(0, "prcpflagcd", "0");
  2096. ds_init.setColumn(0, "fromdd", opener.frmf_getParameter("SMLPJ01000_acptdd"));
  2097. ds_init.setColumn(0, "todd", opener.frmf_getParameter("SMLPJ01000_acptdd"));
  2098. ds_init.setColumn(0, "refmthdcd", "2");
  2099. fGetPatList(); //환자리스트 검색
  2100. }
  2101. }
  2102. //--------------
  2103. //후인증여부확인.
  2104. ds_userinfolist.filterstr = "userid == " + sysf_getUserId() +" && jobkindcd == 1";
  2105. if( !utlf_isNull(ds_userinfolist.getColumn(0, "userid")))
  2106. {
  2107. ds_hidden.setColumn(0, "afcertyn", "N");
  2108. div_all.cap_orddrid.visible = false;
  2109. div_all.cmb_readdr.visible = false;
  2110. }
  2111. else
  2112. {
  2113. ds_hidden.setColumn(0, "afcertyn", "Y");
  2114. div_all.cap_orddrid.visible = true;
  2115. div_all.cmb_readdr.visible = true;
  2116. }
  2117. ds_userinfolist.filterstr = "";
  2118. ds_init.setColumn(0, "prcpfromdd", ((utlf_getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat());
  2119. ds_init.setColumn(0, "prcptodd", utlf_getCurrentDate());
  2120. ds_init.setColumn(0, "srchcond11", "P"); // P:개인, D:과
  2121. ds_init.setColumn(0, "srchcond21", "O"); // O:외래, I:입원
  2122. div_all.grp_sea.ipt_seaval.setFocus();
  2123. }
  2124. //처방구분 변경 처리 Function
  2125. function fExePrcpFlagChange(pFlag)
  2126. {
  2127. if (pFlag == "0")
  2128. {
  2129. div_all.grp_sea.cap_titledd.text = "접수일자 :";
  2130. div_all.bol_lendflagcd.visible = false;
  2131. ds_init.setColumn(0, "lendflagcd", "0");
  2132. ds_init.setColumn(0, "autosave", "1"); // 처방구분을 접수처방으로 하면 자동접수되도록 함.
  2133. div_all.bol_autosave.value = "1";
  2134. div_all.bol_lendflagcd.value = "0";
  2135. }
  2136. else if (pFlag == "1")
  2137. {
  2138. grp_sea.cap_titledd.text = "처방일자 :";
  2139. bol_lendflagcd.visible = false;
  2140. ds_init.setColumn(0, "lendflagcd", "0");
  2141. ds_init.setColumn(0, "autosave", "0");
  2142. bol_autosave.value = "0";
  2143. bol_lendflagcd.value = "0";
  2144. }
  2145. else
  2146. {
  2147. grp_sea.cap_titledd.text = "처방일자 :";
  2148. bol_lendflagcd.visible = true;
  2149. ds_init.setColumn(0, "lendflagcd", "1");
  2150. ds_init.setColumn(0, "autosave", "1");
  2151. bol_autosave.value = "1";
  2152. bol_lendflagcd.value = "1";
  2153. }
  2154. }
  2155. //환자리스트검색
  2156. function fGetPatList()
  2157. {
  2158. var sPtNoCode = ds_init.getColumn(0, "ptnocode");
  2159. var sTemp = ds_init.getColumn(0, "fromptno");
  2160. var sPid = div_all.grp_sea.ipt_seaval.value;
  2161. var sPatNode = "";
  2162. var nodelist = "";
  2163. var alim = "";
  2164. //--------------------------------------------------
  2165. if(ds_init.getColumn(0, "refmthdcd") == "1")
  2166. {
  2167. if ( utlf_isNull(sPid))
  2168. {
  2169. sysf_messageBox("등록번호 조회 시 검색값을 입력하여 주십시오! 조회를 ", "E001");
  2170. return false;
  2171. }
  2172. }
  2173. var oParam = {};
  2174. oParam.id = "TRLPJ02701";
  2175. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2176. oParam.method = "reqGetjaewonchk";
  2177. oParam.inds = "jaewoninfo=ds_init";
  2178. oParam.outds = "ds_bcoll=bcoll";
  2179. oParam.async = false;
  2180. //oParam.callback = "cf_TRLPJ02701";
  2181. tranf_submit(oParam);
  2182. if(ds_bcoll.getColumn(0, "chk") == "A" && ds_bcoll.getColumn(0, "tiyn") == "Y")
  2183. {
  2184. alim = "퇴원통보 환자입니다. " + ds_bcoll.getColumn(0, "deptnm");
  2185. alim += "에 퇴원통보 해제 요청바랍니다" ;
  2186. sysf_messageBox(alim, "1");
  2187. return
  2188. }
  2189. //=============================================================
  2190. if(ds_bcoll.getColumn(0, "chk") == "T" || ds_bcoll.getColumn(0, "chk") =="D")
  2191. {
  2192. sysf_messageBox("원무팀에 입원상태로 전환 요청 후 추가오더 바랍니다. 주간: 5062, 5029 , 야간: 5058, 5068", "1");
  2193. return
  2194. }
  2195. //---------------------------------------------------------------------
  2196. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  2197. ,{col : "fromdd", val : ds_init.getColumn(0, "fromdd")}
  2198. ,{col : "todd", val : ds_init.getColumn(0, "todd")}
  2199. ,{col : "prcpflagcd", val : ds_init.getColumn(0, "prcpflagcd")}
  2200. ,{col : "refmthdcd", val : ds_init.getColumn(0, "refmthdcd")}
  2201. ,{col : "refval", val : ds_init.getColumn(0, "refval")}
  2202. ,{col : "ptnocode", val : sPtNoCode.replace("-", "")}
  2203. ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
  2204. ,{col : "fromptno", val : sTemp.getLeftPad(6, "0")}]);
  2205. //-------------------
  2206. var oParam = {};
  2207. oParam.id = "TRLPJ01004";
  2208. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2209. oParam.method = "reqGetAddPtNoList";
  2210. oParam.inds = "refData=ds_send";
  2211. oParam.outds = "ds_grd_patlist=reflist";
  2212. oParam.async = false;
  2213. //oParam.callback = "cf_TRLPJ01004";
  2214. tranf_submit(oParam);
  2215. }
  2216. // 처방분류 TreeView 클릭 처리 Function
  2217. function fExePrcpKindClick()
  2218. {
  2219. var sEarnCls1 = "";
  2220. var sEarnCls2 = "";
  2221. var sEarnCls3 = "";
  2222. var item = ds_prcpkindlist.rowposition;
  2223. //-------------------------------
  2224. // 최하위 노드를 선택할 경우 처리
  2225. if(div_all.Tab_prcp.swtordkind_case2.trv_prcpkind.isTreeLeafRow(item) == true)
  2226. {
  2227. sEarnCls1 = ds_prcpkindlist.getColumn(item, "earnclskey");
  2228. //--------------
  2229. // 처방분류 분리
  2230. sEarnCls3 = sEarnCls1.substr(5,2);
  2231. sEarnCls2 = sEarnCls1.substr(3,2);
  2232. sEarnCls1 = sEarnCls1.substr(1,2);
  2233. //--------------------------------
  2234. ds_send.clearData();
  2235. ds_grd_testcdlist.clearData();
  2236. dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  2237. ,{col : "earncls1", val : sEarnCls1}
  2238. ,{col : "earncls2", val : sEarnCls2}
  2239. ,{col : "earncls3", val : sEarnCls3}
  2240. ,{col : "trustflagcd", val : "N"}
  2241. ,{col : "referchk", val : "N"}
  2242. ,{col : "bizflagcd", val : "0"}
  2243. ,{col : "sortkind", val : ds_hidden.getColumn(0, "sortkind")}]);
  2244. var oParam = {};
  2245. oParam.id = "TRLPJ01003";
  2246. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2247. oParam.method = "reqGetPrcpCdList";
  2248. oParam.inds = "refData=ds_send";
  2249. oParam.outds = "ds_grd_testcdlist=reflist";
  2250. oParam.async = false;
  2251. //oParam.callback = "cf_TRLPJ01003";
  2252. tranf_submit(oParam);
  2253. }
  2254. }
  2255. function fExePatListClick()
  2256. {
  2257. var sPatNode = ds_grd_prcplist;
  2258. var sSrcNode = ds_grd_patlist;
  2259. var sPatInfoNode1 = ds_paminfo;
  2260. //추가처방 목록 조회 처리
  2261. fGetPrcpList();
  2262. //약속처방검색
  2263. fGetPromisePrcp();
  2264. iPatRowNo = Number(ds_init.getColumn(0, "prcprowno"));
  2265. var srchcond4 = ds_init.getColumn(0, "srchcond4");
  2266. frmf_setParameter("SPMMO09100_paminfoyn", "N");
  2267. fExeMakePatNode(); // 노드생성
  2268. ds_send.setColumn(0, "cond1", "1"); // 검색조건 (1:등록번호, 2:이름)
  2269. ds_init.setColumn(0, "srchcond2", sSrcNode.getColumn(sSrcNode.rowposition, "pid")); // 등록번호 또는 이름
  2270. ds_send.setColumn(0, "cond7", sSrcNode.getColumn(sSrcNode.rowposition, "pid")); // 등록번호 또는 이름
  2271. fAfSignPatSrch(); // 환자 수진이력 조회 : SMMMO00200.js에 존재
  2272. if (utlf_isNull(frmf_getParameter("SPMMO09100_rtnyn")))
  2273. {
  2274. sysf_messageBox("수진이력을 선택하지 않았습니다! 환자 수진이력을 반드시 ", "C002");
  2275. return false;
  2276. }
  2277. ds_init.setColumn(0, "pid", sPatInfoNode1.getColumn(0, "pid"));
  2278. ds_init.setColumn(0, "orddd", sPatInfoNode1.getColumn(0, "orddd"));
  2279. ds_init.setColumn(0, "cretno", sPatInfoNode1.getColumn(0, "cretno"));
  2280. ds_init.setColumn(0, "ioflag", sPatInfoNode1.getColumn(0, "ioflag"));
  2281. }
  2282. //추가처방 목록 조회
  2283. function fGetPrcpList()
  2284. {
  2285. var sPtNo = "";
  2286. var iFindNo = 0;
  2287. var sPrcpGenrFlag = "";
  2288. var sSrcNode = ds_grd_prcplist;
  2289. ds_grd_acptspclist.clearData();
  2290. ds_grd_prcplist.clearData();
  2291. ds_grd_prcplist.filterstr = "";
  2292. switch ( ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "prcpgenrflag"))
  2293. {
  2294. case "O" :
  2295. case "S" :
  2296. sPrcpGenrFlag = "O";
  2297. break;
  2298. default :
  2299. sPrcpGenrFlag = "I";
  2300. break;
  2301. }
  2302. //병원환경설정에서 외래미수납처방의 접수를 체크 하여 외래 처방에 대한 추가 처방을 Block
  2303. if(ds_hosoenvinfo.getColumn(0, "norcptacptyn") != "Y")
  2304. {
  2305. if(sPrcpGenrFlag == "O")
  2306. {
  2307. sysf_messageBox("외래환자에 대한 추가처방을 등록할 수 없습니다.","I999");
  2308. return;
  2309. }
  2310. }
  2311. ds_send.clear();
  2312. dsf_createDsRow( "ds_send", [{col : "instcd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "instcd")}
  2313. ,{col : "spcacptdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "spcacptdd")}
  2314. ,{col : "spcacptno", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "spcacptno")}
  2315. ,{col : "pid", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "pid")}
  2316. ,{col : "ptno", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "ptno")}
  2317. ,{col : "prcpdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "prcpdd")}
  2318. ,{col : "acptdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "acptdd")}
  2319. ,{col : "prcpgenrflag", val : sPrcpGenrFlag}
  2320. ,{col : "prcpflagcd", val : ds_init.getColumn(0, "prcpflagcd")}]);
  2321. ds_grd_prcplist.updatecontrol = false;
  2322. var oParam = {};
  2323. oParam.id = "TRLPJ01005";
  2324. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2325. oParam.method = "reqGetAddAcptInfo";
  2326. oParam.inds = "refData=ds_send";
  2327. oParam.outds = "ds_grd_acptspclist=acptspclist ds_grd_prcplist=acptprcplist";
  2328. oParam.async = false;
  2329. //oParam.callback = "cf_TRLPJ01005";
  2330. tranf_submit(oParam);
  2331. // 퇴원(통보)일가 존재할 경우 색으로 구분한다.
  2332. for(iRowNo = 0; iRowNo < ds_grd_prcplist.rowcount; iRowNo++)
  2333. {
  2334. if( ds_grd_prcplist.getColumn(iRowNo, "dschdd") != "-" && !utlf_isNull(ds_grd_prcplist.getColumn(iRowNo, "dschdd")))
  2335. {
  2336. fExeChangeColor(true, iRowNo);
  2337. }
  2338. ds_grd_prcplist.setColumn(iRowNo, "status", "H");
  2339. }
  2340. ds_grd_prcplist.updatecontrol = true;
  2341. if(ds_grd_prcplist.rowcount == 1)
  2342. {
  2343. ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition);
  2344. fExePrcpListClick(); //처방리스트 그리드 클릭
  2345. }
  2346. else
  2347. {
  2348. sPtNo = ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "ptno");
  2349. ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition-1);
  2350. fExePrcpListClick(); //처방리스트 그리드 클릭
  2351. }
  2352. }
  2353. function fExeMakePatNode()
  2354. {
  2355. ds_init.setColumn(0, "srchcond1", "1");
  2356. ds_init.setColumn(0, "srchcond2", "");
  2357. ds_init.setColumn(0, "srchcond3", "");
  2358. ds_init.setColumn(0, "srchcond4", "-");
  2359. ds_init.setColumn(0, "srchcond5", ds_init.getColumn(0, "prcpfromdd"));
  2360. ds_init.setColumn(0, "srchcond6", ds_init.getColumn(0, "prcptodd"));
  2361. ds_init.setColumn(0, "rrgstno1", "");
  2362. ds_init.setColumn(0, "rrgstno2", "");
  2363. ds_init.setColumn(0, "orddeptnm", "");
  2364. ds_init.setColumn(0, "sex", "");
  2365. ds_init.setColumn(0, "age", "");
  2366. ds_init.setColumn(0, "wardcd", "");
  2367. ds_init.setColumn(0, "orddd", "");
  2368. ds_init.getColumn(0, "passflag", "");
  2369. //--------------
  2370. // 가퇴원 환자용
  2371. dsf_createDsRow("ds_root", [{col : "admininfo", val : "YYYYYYNNNNNNNNNNNNNN" },
  2372. {col : "cp", val : "" }]);
  2373. dsf_createDsRow("ds_prcpresn", [{col : "prcpdd", val : ""}
  2374. ,{col : "resncnt", val : ""}
  2375. ,{col : "prcptime", val : ""}]);
  2376. dsf_createDsRow("ds_send", [{col : "cond1", val : ds_init.getColumn(0, "srchcond1")}
  2377. ,{col : "cond2", val : ds_init.getColumn(0, "srchcond2")}
  2378. ,{col : "cond3", val : sysf_getUserInfo("dutplceinstcd")}
  2379. ,{col : "cond4", val : "N"}
  2380. ,{col : "cond5", val : "N"}
  2381. ,{col : "cond6", val : ds_init.getColumn(0, "srchcond4")}
  2382. ,{col : "cond7", val : ""}
  2383. ,{col : "cond9", val : ""}
  2384. ,{col : "cond10", val : ds_init.getColumn(0, "srchcond5")}
  2385. ,{col : "cond11", val : ds_init.getColumn(0, "srchcond6")}]);
  2386. dsf_createDsRow( "ds_patordinfolist", [{col : "temp", val : ""}]);
  2387. dsf_createDsRow( "ds_formerkey", [{col : "pseuacptflag", val : "N"}
  2388. ,{col : "pid", val : ""}
  2389. ,{col : "orddd_old", val : ""}
  2390. ,{col : "cretno_old", val : ""}
  2391. ,{col : "instcd", val : ""}
  2392. ,{col : "genrflagcd_old", val : ""}
  2393. ,{col : "pseuacptflag", val : ""}
  2394. ,{col : "orddd", val : ""}
  2395. ,{col : "cretno", val : ""}
  2396. ,{col : "genrflagcd", val : ""}]);
  2397. dsf_createDsRow( "ds_execpatordinfolist", [{col : "otpt_pid", val : ""}
  2398. ,{col : "otpt_orddd", val : ""}
  2399. ,{col : "otpt_cretno", val : ""}]);
  2400. }
  2401. //약속처방검색
  2402. function fGetPromisePrcp()
  2403. {
  2404. //-----------------
  2405. dsf_createDsRow( "ds_send_reqdata", [{col : "settypecd", val : "P" } // P는 의사, C는 프로토콜
  2406. ,{col : "setkindcd", val : ds_init.getColumn(0, "srchcond11") } // P는 개인, D는 부서
  2407. ,{col : "ioflag", val : ds_init.getColumn(0, "srchcond21") } // O:외래, I:입원
  2408. ,{col : "setclscd", val : "D" } // 의사 SET
  2409. ,{col : "deptnm", val : sysf_getUserInfo("dutplcenm")} // 근무지 과명
  2410. ,{col : "deptcd", val : sysf_getUserInfo("dutplcenm")}]); // 근무지 과코드
  2411. var oParam = {};
  2412. oParam.id = "TRMMB00601";
  2413. oParam.service = "prcpbaseapp.PrmsPrcpMngt";
  2414. oParam.method = "reqGetPrmsPrcpSetList";
  2415. oParam.inds = "req=ds_send_reqdata";
  2416. oParam.outds = "ds_prmsprcpsetlist=prmsprcpsetlist";
  2417. oParam.async = false;
  2418. //oParam.callback = "cf_TRMMB00601";
  2419. tranf_submit(oParam);
  2420. }
  2421. function fExeSetPrcpKindChoi()
  2422. {
  2423. var item = ds_prcpkindlist.rowposition;
  2424. var rowpos = item.index + 1;
  2425. var setno = ds_prmsprcpsetlist.getColumn(rowpos, "setno");
  2426. var settypecd = ds_prmsprcpsetlist.getColumn(rowpos, "settypecd");
  2427. dsf_createDsRow("ds_send1", [{col : "instcd", col : sysf_getUserInfo("dutplceinstcd")}
  2428. ,{col : "setno", col : setno}
  2429. ,{col : "settypecd", col : settypecd}
  2430. ,{col : "sortkind", col : ds_hidden.getColumn(0, "sortkind")}]); //정렬기준
  2431. var oParam = {};
  2432. oParam.id = "TRLPJ01002";
  2433. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2434. oParam.method = "reqGetPrcpCdList";
  2435. oParam.inds = "refData=ds_send1";
  2436. oParam.outds = "ds_grd_testcdlist=reflist";
  2437. oParam.async = false;
  2438. //oParam.callback = "cf_TRLPJ01002";
  2439. tranf_submit(oParam);
  2440. }
  2441. function fExePrcpListClick()
  2442. {
  2443. var sPtNo = "";
  2444. var aPtNo = "";
  2445. var sSrcNode = ds_grd_prcplist;
  2446. var tmpPtno = "";
  2447. // 선택된 Row번호를 저장
  2448. ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition);
  2449. //------------------------------
  2450. var ptno = sysf_getModelProperty("ptno");
  2451. var dispptno = sysf_getModelProperty("dispptno");
  2452. var pid = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "pid");
  2453. var instcd = sysf_getUserInfo("dutplceinstcd");
  2454. switch(div_all.grd_prcplist.currentcol)
  2455. {
  2456. case div_all.grd_prcplist.getBindCellIndex("body","ptno") :var path = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "ptno");
  2457. // 병리번호리스트 팝업창 표시
  2458. frmf_modal("SPLPJ02100", "SPLPJ02100", "", null, null, null, null, null, null, null, null, null, "M");
  2459. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", sysf_getModelProperty("ptno"));
  2460. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", sysf_getModelProperty("dispptno"));
  2461. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", sysf_getModelProperty("bfacptdd"));
  2462. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", sysf_getModelProperty("bfacptno"));
  2463. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", sysf_getModelProperty("bfacptseqno"));
  2464. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", sysf_getModelProperty("reuseflagcd"));
  2465. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", sysf_getModelProperty("bfspcacptdd"));
  2466. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", sysf_getModelProperty("bfspcacptno"));
  2467. break;
  2468. case div_all.grd_prcplist.getBindCellIndex("body","relaptno") : var path = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "relaptno");
  2469. // 병리번호리스트 팝업창 표시
  2470. frmf_modal("SPLPJ02100", "SPLPJ02100", "", null, null, null, null, null, null, null, null, null, "M");
  2471. //-------------------------------------------------------------------------------------------
  2472. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", sysf_getModelProperty("ptno"));
  2473. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", sysf_getModelProperty("dispptno"));
  2474. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", sysf_getModelProperty("bfacptdd"));
  2475. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", sysf_getModelProperty("bfacptno"));
  2476. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", sysf_getModelProperty("bfacptseqno"));
  2477. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", sysf_getModelProperty("reuseflagcd"));
  2478. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", sysf_getModelProperty("bfspcacptdd"));
  2479. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", sysf_getModelProperty("bfspcacptno"));
  2480. break;
  2481. case div_all.grd_prcplist.getBindCellIndex("body","acptdispptno") :
  2482. sPtNo = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "acptdispptno");
  2483. aPtNo = utlf_transNullToEmpty(sPtNo).split("-");
  2484. frmf_setParameter("SMLPJ01000_scrno", "SMLPP00200");
  2485. frmf_setParameter("SMLPJ01000_pid", sSrcNode.getColumn(sSrcNode.rowposition, "pid"));
  2486. frmf_setParameter("SMLPJ01000_acptdd", sSrcNode.getColumn(sSrcNode.rowposition, "acptdd"));
  2487. frmf_setParameter("SMLPJ01000_no", aPtNo[1]);
  2488. frmf_setParameter("SMLPJ01000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  2489. frmf_setParameter("SMLPJ01000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  2490. dsf_createDsRow("ds_sourcd", [{col : "pid", val : pid}
  2491. ,{col : "instcd", val : instcd}]);
  2492. var objArg = new Object();
  2493. objArg.arg_ds_send = ds_sourcd;
  2494. frmf_modal("SMLPJ02200", "SMLPJ02200", objArg, null, null, null, null, null, null, null, null, null, "M");
  2495. break;
  2496. case div_all.grd_prcplist.getBindCellIndex("body","acptdisprelaptno") :
  2497. if(ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition-1, "acptdisprelaptno") != "-")
  2498. {
  2499. sPtno = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition-1, "acptdisprelaptno")
  2500. aPtNo = sPtNo.split("-");
  2501. frmf_setParameter("SMLPJ01000_scrno", "SMLPP00200");
  2502. frmf_setParameter("SMLPJ01000_pid", sSrcNode.getColumn(sSrcNode.rowposition, "pid"));
  2503. frmf_setParameter("SMLPJ01000_acptdd", sSrcNode.getColumn(sSrcNode.rowposition, "acptdd"));
  2504. frmf_setParameter("SMLPJ01000_no", aPtNo[1]);
  2505. frmf_setParameter("SMLPJ01000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
  2506. frmf_setParameter("SMLPJ01000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
  2507. frmf_modal("SMLPJ02200", "SMLPJ02200", "", null, null, null, null, null, null, null, null, null, "M");
  2508. }
  2509. break;
  2510. case div_all.grd_prcplist.getBindCellIndex("body","dispptno") : // ms2003 add 2008.12.09 신규병리번호 변경
  2511. tmpPtno = fExeSetDisplayPtno();
  2512. if (tmpPtno.length > 1)
  2513. {
  2514. sSrcNode.setColumn(sSrcNode.rowposition, "dispptno", tmpPtno);
  2515. sSrcNode.setColumn(sSrcNode.rowposition, "ptno", tmpPtno.replace("-", ""));
  2516. }
  2517. break;
  2518. case div_all.grd_prcplist.getBindCellIndex("body","disprelaptno") : // 2008.12.09 신규관련병리번호 변경
  2519. tmpPtno = fExeSetDisplayPtno();
  2520. if (tmpPtno.length > 1)
  2521. {
  2522. sSrcNode.setColumn(sSrcNode.rowposition, "disprelaptno", tmpPtno);
  2523. sSrcNode.setColumn(sSrcNode.rowposition, "relaptno", tmpPtno.replace("-", ""));
  2524. }
  2525. break;
  2526. }
  2527. }
  2528. //신규처방 병리번호 or 관련병리번호 변경 처리 Function
  2529. function fExeSetDisplayPtno()
  2530. {
  2531. var instcd = sysf_getUserInfo("dutplceinstcd");
  2532. var pid = ds_grd_prcplist.getColumn(0, "pid");
  2533. // 병리번호리스트 팝업창 표시
  2534. dsf_createDsRow("ds_sourcd", [{col : "pid", val : pid}
  2535. ,{col : "instcd" , val : instcd}]);
  2536. var objArg = new Object();
  2537. objArg.arg_ds_send = ds_sourcd;
  2538. frmf_modal("SPLPJ02100", "SPLPJ02100", objArg, null, null, null, null, null, null, null, null, null, "M");
  2539. // 관련병리번호 변경 이력 조회를 위한 popup 창 호출
  2540. if( !utlf_isNull(sysf_getModelProperty("dispptno")))
  2541. {
  2542. return sysf_getModelProperty("dispptno");
  2543. }
  2544. else
  2545. {
  2546. return "-";
  2547. }
  2548. }
  2549. //그리드 Row색 변경 Function
  2550. function fExeChangeColor(bflag, iRowNo)
  2551. {
  2552. trace("bflag = " + bflag);
  2553. if(bflag)
  2554. {
  2555. for(var z = 0; z <=96; z++)
  2556. {
  2557. if(iRowNo <= ds_grd_prcplist.rowcount-1)
  2558. {
  2559. div_all.grd_prcplist.setCellProperty("Body", z, "background", "#ff99cc");
  2560. div_all.grd_prcplist.setCellProperty("Body", z, "background2", "#ff99cc");
  2561. }
  2562. }
  2563. }
  2564. else
  2565. {
  2566. for(var z = 0; z <=96; z++)
  2567. {
  2568. div_all.grd_prcplist.setCellProperty("Body", z, "background", "#ffffff");
  2569. div_all.grd_prcplist.setCellProperty("Body", z, "background2", "#ffffff");
  2570. }
  2571. }
  2572. }
  2573. //처방 삭제/DC 처리 Function
  2574. function fExePrcpCncl(pStatCd)
  2575. {
  2576. var aRow = "";
  2577. var aColH = "";
  2578. var aColD = "";
  2579. var sMsg = "";
  2580. var iYesNo = "";
  2581. var sSrcNode = ds_grd_acptspclist;
  2582. //-----------------------------
  2583. // 삭제 및 DC처방 선택여부 검사
  2584. if(ds_grd_prcplist.rowposition < 0)
  2585. {
  2586. sysf_messageBox("처방내역에서 삭제 및 DC처방을 ", "C002");
  2587. return false;
  2588. }
  2589. //-----------------------
  2590. // 6:예, 7:아니오, 2:취소
  2591. if(ds_init.getColumn(0, "lendflagcd") == "1")
  2592. {
  2593. sMsg = "원본대출처방은 타 처방과 같이 반환될 수 없습니다" + "\n\n";
  2594. //-------------------------------------
  2595. if(sysf_messageBox(sMsg, "Q004") != "6")
  2596. {
  2597. return false;
  2598. }
  2599. }
  2600. // 신규 등록 처방은 삭제 및 DC처리 불가
  2601. for(var iNo = 1; iNo <= ds_grd_acptspclist.rowcount+1; iNo++)
  2602. {
  2603. // 처방상태코드가 바코드출력(400) 이전 상태일 경우만 취소 가능
  2604. // 원본대출처방은 접수 이전단계에서 취소하여야 함.
  2605. if(ds_init.getColumn(0, "lendflagcd") == "1")
  2606. {
  2607. // Continue
  2608. }
  2609. else
  2610. {
  2611. sysf_messageBox("검사가 진행중인 처방은 삭제", "E001");
  2612. return false;
  2613. }
  2614. sMsg = grd_prcplist.getUpdateData("insert", iNo);
  2615. aRow = sMsg.split("▩");
  2616. aColH = aRow[0].split("▦");
  2617. aColD = aRow[1].split("▦");
  2618. if (aColD[0] == "i")
  2619. {
  2620. if (aColH[1] == aColD[1])
  2621. {
  2622. sysf_messageBox("신규처방은 삭제 및 DC", "E001");
  2623. return false;
  2624. }
  2625. else if( utlf_isNull(ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno"))
  2626. || ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno") == "-")
  2627. {
  2628. // Continue
  2629. }
  2630. else
  2631. {
  2632. sysf_messageBox("접수된 처방은 접수취소를", "E001");
  2633. return false;
  2634. }
  2635. }
  2636. else if( utlf_isNull(ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno"))
  2637. || ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno") == "-")
  2638. {
  2639. // Continue
  2640. }
  2641. else
  2642. {
  2643. sysf_messageBox("접수된 처방은 접수취소를", "E001");
  2644. return false;
  2645. }
  2646. }
  2647. for(var iNo= 1; iNo <= ds_grd_acptspclist.rowcount+1; iNo++)
  2648. {
  2649. if (div_all.grd_prcplist.selectAll(iNo) == true)
  2650. {
  2651. ds_grd_acptspclist.setColumn(Number(iNo)-1, "status", "C");
  2652. grd_prcplist.addStatus(iNo, "delete");
  2653. }
  2654. }
  2655. fExeAddPrcpSave(pStatCd); //처방저장
  2656. }
  2657. function fExeAddPrcpSave(pStatCd)
  2658. {
  2659. trace("<<<<<<<<<<<<처방저장>>>>>>>>>>>>");
  2660. trace("|||||||||||||||||||||||||||||||||");
  2661. trace("pStatCd = " + pStatCd);
  2662. trace("|||||||||||||||||||||||||||||||||");
  2663. var sNode = ds_grd_prcplist;
  2664. var sPatNode = ds_grd_patlist;
  2665. var sErrMsg = "";
  2666. var CurrValNo = 0;
  2667. var readyflag = false;
  2668. var sCheck = "Y";
  2669. var sChek = "";
  2670. var sSignBfCnts = "";
  2671. // 과거처방 구분 사유를 입력할 화면 좌표처리
  2672. var xpt = this.getOwnerFrame().position.x + eval(300);
  2673. var ypt = this.getOwnerFrame().position.y + eval(300);
  2674. if(ds_hidden.getColumn(0, "afcertyn") == "Y")
  2675. {
  2676. if( utlf_isNull(ds_hidden.getColumn(0, "readdrid")) || ds_hidden.getColumn(0, "readdrid") == "AO")
  2677. {
  2678. sysf_messageBox("후인증 의사를 선택하여 주세요.", "E999");
  2679. return;
  2680. }
  2681. }
  2682. // 자동접수여부 설정
  2683. trace("sCheck(1) ==========================(1) " + sCheck);
  2684. sRowcount = ds_grd_prcplist.rowcount;
  2685. for(var iNo = 0; iNo < ds_grd_prcplist.rowcount; iNo++)
  2686. {
  2687. ds_grd_prcplist.setColumn(iNo, "autosave", ds_init.getColumn(0, "autosave"));
  2688. ds_grd_prcplist.setColumn(iNo, "lendflagcd", ds_init.getColumn(0, "lendflagcd"));
  2689. if (pStatCd == "delete")
  2690. {
  2691. ds_grd_prcplist.setColumn(iNo, "status", "C");
  2692. }
  2693. trace("afcertyn(1)=========================(1) " + ds_hidden.getColumn(0, "afcertyn"));
  2694. if(ds_hidden.getColumn(0, "afcertyn") != "Y")
  2695. {
  2696. ds_grd_prcplist.setColumn(iNo, "prcpsignflag", "2");
  2697. trace("sCheck(2) ==========================(2) " + sCheck);
  2698. // 처방저장시 인증데이터 생성
  2699. if((pStatCd == "insert") && ds_grd_prcplist.getColumn(iNo, "status") == "I")
  2700. {
  2701. ds_grd_prcplist.setColumn(iNo, "drugmthdspccd", ds_grd_prcplist.getColumn(iNo, "spccd"));
  2702. ds_grd_prcplist.setColumn(iNo, "drugmthdspccdnm", ds_grd_prcplist.getColumn(iNo, "spcnm"));
  2703. ds_grd_prcplist.setColumn(iNo, "tempprcpcd", ds_grd_prcplist.getColumn(iNo, "prcpcd"));
  2704. ds_grd_prcplist.setColumn(iNo, "tempprcpnm", ds_grd_prcplist.getColumn(iNo, "prcpnm"));
  2705. ds_grd_prcplist.setColumn(iNo, "prcpflag", "1");
  2706. ds_copy_prcplist.copyRow(ds_copy_prcplist.addRow(), ds_grd_prcplist, iNo);
  2707. trace("sCheck(3) ==========================(3) " + sCheck);
  2708. //환자진료정보는 한번만 붙인다.
  2709. if(sCheck == "Y")
  2710. {
  2711. sSignBfCnts = lpzfPlgyPrcpSignMake(ds_copy_prcplist, "Y");
  2712. sCheck = "N";
  2713. }
  2714. else
  2715. {
  2716. trace("sCheck(4) ==========================(4) " + sCheck);
  2717. sSignBfCnts += lpzfPlgyPrcpSignMake(ds_copy_prcplist, "N");
  2718. }
  2719. trace("--------------------------------------------");
  2720. trace("sSignBfCnts" + sSignBfCnts);
  2721. trace("--------------------------------------------");
  2722. }
  2723. //처방반환시
  2724. else if ((pStatCd == "delete") && ds_grd_prcplist.getColumn(iNo, "status") == "C")
  2725. {
  2726. ds_grd_prcplist.setColumn(iNo, "drugmthdspccd", ds_grd_prcplist.getColumn(iNo, "spccd"));
  2727. ds_grd_prcplist.setColumn(iNo, "drugmthdspccdnm", ds_grd_prcplist.getColumn(iNo, "spcnm"));
  2728. ds_grd_prcplist.setColumn(iNo, "tempprcpcd", ds_grd_prcplist.getColumn(iNo, "prcpcd"));
  2729. ds_grd_prcplist.setColumn(iNo, "tempprcpnm", ds_grd_prcplist.getColumn(iNo, "prcpnm"));
  2730. ds_grd_prcplist.setColumn(iNo, "prcpflag", "1");
  2731. trace("sCheck(5) ==========================(5) " + sCheck);
  2732. //환자진료정보는 한번만 붙인다.
  2733. if(sCheck == "Y")
  2734. {
  2735. sSignBfCnts = lpzfPlgyPrcpSignMake(ds_grd_prcplist, "Y");
  2736. sCheck = "N";
  2737. }
  2738. else
  2739. {
  2740. trace("sCheck(6) ==========================(6) " + sCheck);
  2741. sSignBfCnts += lpzfPlgyPrcpSignMake(ds_grd_prcplist, "N");
  2742. }
  2743. trace("<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>");
  2744. trace("sSignBfCnts " + sSignBfCnts);
  2745. trace("<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>");
  2746. }
  2747. }
  2748. else
  2749. {
  2750. //후인증 의사아이디 set
  2751. ds_grd_prcplist.setColumn(iNo, "doctid", ds_hidden.getColumn(0, "readdrid"));
  2752. ds_grd_prcplist.setColumn(iNo, "doctnm", ds_userinfolist.lookupExpr("userid=='"+ds_hidden.getColumn(0, "readdrid")+"'", "usernm"));
  2753. }
  2754. ds_grd_prcplist.setColumn(iNo, "afcertyn", ds_hidden.getColumn(0, "afcertyn"));
  2755. }
  2756. trace("afcertyn(2)=========================(2) " + ds_hidden.getColumn(0, "afcertyn"));
  2757. if(ds_hidden.getColumn(0, "afcertyn") != "Y")
  2758. {
  2759. //생성된 인증 데이터를 암호화 및 setValue 한다.
  2760. for(var iNo = 0; iNo < ds_grd_prcplist.rowcount; iNo++)
  2761. {
  2762. //처방등록시
  2763. if((pStatCd == "insert") && ds_grd_prcplist.getColumn(iNo, "status") == "I")
  2764. {
  2765. //------------------------------------
  2766. if ( CurrValNo == 0 ) CurrValNo = iNo;
  2767. //암호화 이전 데이터 set
  2768. ds_grd_prcplist.setColumn(iNo, "signbfcnts", sSignBfCnts);
  2769. // 암호화자료 생성
  2770. sChek = lpzfPlgyPrcpSaveSign(ds_grd_prcplist.getColumn(iNo, "signbfcnts"), sysf_getUserInfo("userid"), sInptPsw, sSignBfCnts);
  2771. sInptPsw = false;
  2772. if( utlf_isNull(sChek) || sChek == "N")
  2773. {
  2774. sysf_messageBox("처방인증을 하여 주십시오.","E999");
  2775. return;
  2776. }
  2777. }
  2778. //처방반환시
  2779. else if((pStatCd == "delete") && sNode.getColumn(iNo, "status") == "C")
  2780. {
  2781. //------------------------------------
  2782. if ( CurrValNo == 0 ) CurrValNo = iNo;
  2783. //암호화 이전 데이터 set
  2784. ds_grd_prcplist.setColumn(iNo, "signbfcnts", sSignBfCnts);
  2785. // 암호화자료 생성
  2786. var sInptPsw = false;
  2787. sChek = lpzfPlgyPrcpSaveSign(ds_grd_prcplist.getColumn(iNo, "signbfcnts"), sysf_getUserInfo("userid"), sInptPsw, ds_grd_prcplist.getColumn(iNo, "signafcnts"));
  2788. if( utlf_isNull(sChek) || sChek == "N")
  2789. {
  2790. sysf_messageBox("처방인증을 하여 주십시오.","E999");
  2791. return;
  2792. }
  2793. }
  2794. }
  2795. }
  2796. // 신규 추가처방 등록 시 과거 날자인 경우
  2797. trace("sCheck(7) ==========================(7) " + sCheck);
  2798. trace("=======================================================");
  2799. trace("CurrValNo = " +CurrValNo);
  2800. trace("=======================================================");
  2801. trace("prcpdd = " + Number(sNode.getColumn(CurrValNo, "prcpdd")) + " CurrentDate = " + Number(utlf_getCurrentDate().substr(0, 8)));
  2802. trace("=======================================================");
  2803. if( (pStatCd == "insert") && (Number(sNode.getColumn(CurrValNo, "prcpdd"))) < Number(utlf_getCurrentDate().substr(0, 8)))
  2804. {
  2805. frmf_setParameter ("SPMMO16500_resnflag", "B" ); //과거처방사유구분
  2806. frmf_setParameter ("SPMMO16500_prcpinfo", ds_grd_prcplist ); //저장할 처방의 노드경로
  2807. frmf_setParameter("SPMMO16500_paminfo", ds_paminfo); //원무정보 노드경로 PID, INDD/ORDDD, CRETNO,INSTCD, ORDTYPE ...
  2808. frmf_setParameter ("SPMMO16500_rtn1" , "N" ); //사유 정상 입력여부
  2809. frmf_setParameter ("SPMMO16500_endrowdelyn" , "N" ); //처방LIST 최종ROW삭제여부 => 처방화면에 검색라인때문에 씀.
  2810. //사유입력창
  2811. frmf_modal("SPMMO16500", "SPMMO16500", null, null, null, null, null, null, null, null, null, null, "M");
  2812. if( frmf_getParameter ("SPMMO16500_rtn1" ) != "Y" )
  2813. return false ;
  2814. }
  2815. grdf_setStatusColumn(ds_grd_prcplist, "m");
  2816. var temp = grdf_getGridUpdateData(div_all.grd_prcplist, pStatCd);
  2817. trace("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
  2818. trace("copyDataset = " + ds_tempFilterDs.saveXML());
  2819. trace("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
  2820. ds_addprcplist.copyData(ds_tempFilterDs);
  2821. var oParam = {};
  2822. oParam.id = "TXLPJ01001";
  2823. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  2824. oParam.method = "reqExeAddPrcpSave";
  2825. oParam.inds = "refData=ds_addprcplist";
  2826. oParam.outds = "ds_errlist=errlist";
  2827. oParam.async = false;
  2828. oParam.callback = "cf_TXLPJ01001";
  2829. //oParam.typeStr = "status";
  2830. tranf_submit(oParam);
  2831. }
  2832. function cf_TXLPJ01001(sSvcId, nErrorCode, sErrorMsg)
  2833. {
  2834. if(nErrorCode < 0)
  2835. {
  2836. return;
  2837. }
  2838. ds_paminfo.clearData();
  2839. ds_init.setColumn(0, "orddd", "");
  2840. ds_init.setColumn(0, "cretno", "");
  2841. ds_init.setColumn(0, "ioflag", "");
  2842. if(ds_errlist.rowcount <= 0)
  2843. {
  2844. ds_init.setColumn(0, "prcprowno", "0");
  2845. fGetPrcpList();
  2846. trace("저장전 rowcount(1) =>>>>>>>>>>>>>>>>>>>>>>>>" + sRowcount);// 저장전
  2847. trace("저장후 rowcount(2) =>>>>>>>>>>>>>>>>>>>>>>>>" + ds_grd_prcplist.rowcount);//저장후
  2848. if(ds_grd_prcplist.rowcount != sRowcount)
  2849. {
  2850. alert("[ 추가처방 입력 오류 ]"+ "\n\n"+"전산실로 전화주세요.!!!");
  2851. }
  2852. }
  2853. else
  2854. {
  2855. sErrorMsg += "처방명 : [" + ds_errlist.getColumn(0, "prcpcd") + "]";
  2856. sErrorMsg += ds_errlist.getColumn(0, "prcpnm") + "\n\n";
  2857. sErrorMsg += "오류내용 : " + ds_errlist.getColumn(0, "prcperr");
  2858. sysf_messageBox(sErrorMsg, "E009");
  2859. }
  2860. }
  2861. function fExePatPopupCall()
  2862. {
  2863. dsf_createDsRow("ds_sourcd", [{col : "srchcond", val : ds_init.getColumn(0, "refmthdcd")}
  2864. ,{col : "pid", val : ""}
  2865. ,{col : "hngnm", val : ""}
  2866. ,{col : "rrgstno1", val : ""}
  2867. ,{col : "rrgstno2", val : ""}]);
  2868. var objArg = new Object();
  2869. objArg.arg_ds_send = ds_sourcd;
  2870. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M")
  2871. if(ds_patinfolist.rowcount > 0)
  2872. {
  2873. ds_init.setColumn(0, "refval", ds_patinfolist.getColumn(0, "pid"));
  2874. }
  2875. }
  2876. //처방분류
  2877. function swt_ordkind_swtordkind_case2_trv_prcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
  2878. {
  2879. fExePrcpKindClick();
  2880. }
  2881. //약속처방
  2882. function swt_ordkind_swtordkind_case1_trv_setprcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
  2883. {
  2884. fExeSetPrcpKindChoi();
  2885. }
  2886. //약속처방검색 Function
  2887. function swt_ordkind_swtordkind_case1_rdo_srchcond1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2888. {
  2889. fGetPromisePrcp();
  2890. }
  2891. function swt_ordkind_swtordkind_case1_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2892. {
  2893. fGetPromisePrcp();
  2894. }
  2895. function swt_ordkind_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  2896. {
  2897. fGetPromisePrcp();
  2898. }
  2899. //조회
  2900. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  2901. {
  2902. fGetPatList();
  2903. }
  2904. //환자리스트 그리드 클릭 처리 Function
  2905. function grd_patlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2906. {
  2907. div_all.grd_prcplist.setCellPos(1);
  2908. fExePatListClick();
  2909. }
  2910. function div_all_btn_outoch2_onclick(obj:Button, e:ClickEventInfo)
  2911. {
  2912. div_all.btn_outoch1.visible = true;
  2913. div_all.btn_outoch2.visible = false;
  2914. ds_hidden.setColumn(0, "sortkind", "En");
  2915. fExePrcpKindClick();
  2916. ds_hidden.setColumn(0, "sortkind", "-");
  2917. }
  2918. function div_all_btn_outoch1_onclick(obj:Button, e:ClickEventInfo)
  2919. {
  2920. div_all.btn_outoch1.visible = false;
  2921. div_all.btn_outoch2.visible = true;
  2922. ds_hidden.setColumn(0, "sortkind", "Hn");
  2923. fExePrcpKindClick();
  2924. ds_hidden.setColumn(0, "sortkind", "-");
  2925. }
  2926. function grp_btn_btn_prcpcncl_onclick(obj:Button, e:ClickEventInfo)
  2927. {
  2928. fExePrcpCncl("delete");
  2929. }
  2930. function div_all_btn_save_onclick(obj:Button, e:ClickEventInfo)
  2931. {
  2932. fExeAddPrcpSave("insert");
  2933. }
  2934. function div_all_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  2935. {
  2936. fExePatPopupCall();
  2937. }
  2938. function div_all_grd_prcplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  2939. {
  2940. if(e.row > -1)
  2941. {
  2942. frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "fExePrcpDel", level: "0", title: "지우기"}
  2943. ,{id: "fExePtNoDel", level: "0", title: "병리번호삭제"}
  2944. ,{id: "fExeRelaPtNoDel", level: "0", title: "관련병리번호삭제"}]);
  2945. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  2946. }
  2947. }
  2948. //우클릭조회
  2949. function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  2950. {
  2951. if(e.id == "fExePrcpDel")
  2952. {
  2953. fExePrcpDel()
  2954. }
  2955. else if(e.id == "fExePtNoDel")
  2956. {
  2957. fExePtNoDel();
  2958. }
  2959. else if(e.id == "fExeRelaPtNoDel")
  2960. {
  2961. fExeRelaPtNoDel();
  2962. }
  2963. }
  2964. //추가등록된 처방 삭제 처리 Function
  2965. function fExePrcpDel()
  2966. {
  2967. var iMaxRows = grdf_getSelectedRows(div_all.grd_prcplist);
  2968. if (ds_grd_prcplist.rowcount < 0)
  2969. {
  2970. sysf_messageBox("삭제 처방을 ", "C002");
  2971. return false;
  2972. }
  2973. // 원처방 선택여부 검사
  2974. for (var iNo=0; iNo < iMaxRows.length; iNo++)
  2975. {
  2976. var rowstatus = ds_grd_prcplist.getRowType(iMaxRows[iNo]);
  2977. if(rowstatus != "2")
  2978. {
  2979. sysf_messageBox("원처방은 삭제", "E001");
  2980. return false;
  2981. }
  2982. }
  2983. for (var iNo=iMaxRows.length; iNo >= 0; iNo--)
  2984. {
  2985. var rowstatus = ds_grd_prcplist.getRowType(iMaxRows[iNo]);
  2986. if(rowstatus == "2")
  2987. {
  2988. ds_grd_prcplist.deleteRow(iMaxRows[iNo]);
  2989. }
  2990. }
  2991. }
  2992. //병리번호 삭제 처리 Function
  2993. function fExePtNoDel()
  2994. {
  2995. var sSrcNode = ds_grd_prcplist;
  2996. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "relaptno", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "ptno"));
  2997. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "disprelaptno", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "dispptno"));
  2998. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", "-");
  2999. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", "-");
  3000. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", "1"); // 0:사용, 1:미사용
  3001. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", "-");
  3002. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", "0");
  3003. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", "0");
  3004. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", "-");
  3005. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", "0");
  3006. }
  3007. //관련병리번호 삭제 처리 Function
  3008. function fExeRelaPtNoDel()
  3009. {
  3010. var sSrcNode = ds_grd_prcplist;
  3011. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "relaptno", "-");
  3012. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "disprelaptno", "-");
  3013. }
  3014. function div_all_grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
  3015. {
  3016. fExePrcpListClick();
  3017. }
  3018. function div_all_grd_testcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  3019. {
  3020. fExePrcpAdd();
  3021. }
  3022. function fExePrcpAdd()
  3023. {
  3024. var sDescNode = ds_grd_prcplist; //처방내역
  3025. var sPatNode = ds_grd_prcplist; //처방내역
  3026. var sPrcpNode = ds_grd_testcdlist; //처방명목록
  3027. var sSpcNode = ds_grd_acptspclist; //접수검체
  3028. var sSrcNode = ds_grd_patlist; //환자입원목록
  3029. var sPatInfoNode2 = ds_patordinfolist;
  3030. var sPatInfoNode1 = ds_paminfo;
  3031. var iMaxNo = 0;
  3032. var iFindRow = 0;
  3033. var iPrcpRowNo = 0;
  3034. var iPatRowNo = sSrcNode.rowposition; //환자입원목록 rowpositon
  3035. var iSpcRowNo = sSpcNode.rowposition; //접수검체 rowpositon
  3036. var sPrcpDD = "";
  3037. var sPtNo = "";
  3038. // 환자 진료정보 선택여부 검사
  3039. if ( sPatInfoNode1.rowcount <= 0 )
  3040. {
  3041. sysf_messageBox("환자진료정보를 선택하지 않았습니다! 추가처방을 등록", "E001");
  3042. return false;
  3043. }
  3044. iPrcpRowNo = sPrcpNode.rowposition;
  3045. // 처방 Row 추가
  3046. iMaxNo = sDescNode.addRow();
  3047. if (sDescNode.rowcount > 14)
  3048. {
  3049. div_all.grd_prcplist.vscrollbar.pos = sDescNode.rowcount - 1;
  3050. }
  3051. //----------------------------------
  3052. sDescNode.setColumn(iMaxNo, "instcd", sysf_getUserInfo("dutplceinstcd"));
  3053. sDescNode.setColumn(iMaxNo, "acptptno", "-");
  3054. sDescNode.setColumn(iMaxNo, "acptdispptno", "-");
  3055. sDescNode.setColumn(iMaxNo, "acptrelaptno", "-");
  3056. sDescNode.setColumn(iMaxNo, "acptdisprelaptno", "-");
  3057. // 검사코드별로 병리번호 신규 발행여부를 검사
  3058. if (sPrcpNode.getColumn(iPrcpRowNo, "ptnonewflagcd") == "Y") // 병리번호 신규발행
  3059. {
  3060. sDescNode.setColumn(iMaxNo, "ptno", "-");
  3061. sDescNode.setColumn(iMaxNo, "dispptno", "");
  3062. sDescNode.setColumn(iMaxNo, "ptnobtn", "-");
  3063. sDescNode.setColumn(iMaxNo, "relaptno", sSrcNode.getColumn(iPatRowNo, "ptno"));
  3064. sDescNode.setColumn(iMaxNo, "disprelaptno", sSrcNode.getColumn(iPatRowNo, "dispptno"));
  3065. sDescNode.setColumn(iMaxNo, "relaptnobtn", "-");
  3066. }
  3067. else
  3068. {
  3069. sDescNode.setColumn(iMaxNo, "ptno", sSrcNode.getColumn(iPatRowNo, "ptno"));
  3070. sDescNode.setColumn(iMaxNo, "dispptno", sSrcNode.getColumn(iPatRowNo, "dispptno"));
  3071. sDescNode.setColumn(iMaxNo, "ptnobtn", "-");
  3072. sDescNode.setColumn(iMaxNo, "relaptno", "-");
  3073. sDescNode.setColumn(iMaxNo, "disprelaptno", "");
  3074. sDescNode.setColumn(iMaxNo, "relaptnobtn", "-");
  3075. }
  3076. sDescNode.setColumn(iMaxNo, "pid", sSrcNode.getColumn(iPatRowNo, "pid"));
  3077. sDescNode.setColumn(iMaxNo, "patnm", sSrcNode.getColumn(iPatRowNo, "patnm"));
  3078. sDescNode.setColumn(iMaxNo, "patflagnm", sSrcNode.getColumn(iPatRowNo, "patflagnm"));
  3079. // 입원중인 환자인 경우 처리
  3080. if( sPatInfoNode2.getColumn(0, "dschdd") == "99991231" )
  3081. {
  3082. sDescNode.setColumn(iMaxNo, "prcpdd", utlf_getCurrentDate());
  3083. }
  3084. else
  3085. {
  3086. if(sPatInfoNode1.getColumn(0, "indschacptstat") == "T")
  3087. {
  3088. sDescNode.setColumn(iMaxNo, "prcpdd", sPatInfoNode1.getColumn(0, "dschdd"));
  3089. }
  3090. else
  3091. {
  3092. sDescNode.setColumn(iMaxNo, "prcpdd", utlf_getCurrentDate());
  3093. }
  3094. }
  3095. sDescNode.setColumn(iMaxNo, "spccd", sSrcNode.getColumn(iPatRowNo, "spccd"));
  3096. sDescNode.setColumn(iMaxNo, "reqfrmno", sSrcNode.getColumn(iPatRowNo, "reqfrmno"));
  3097. sDescNode.setColumn(iMaxNo, "prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"));
  3098. sDescNode.setColumn(iMaxNo, "prcpnm", sPrcpNode.getColumn(iPrcpRowNo, "testengnm"));
  3099. sDescNode.setColumn(iMaxNo, "acptdept", sPrcpNode.getColumn(iPrcpRowNo, "acptdept"));
  3100. sDescNode.setColumn(iMaxNo, "spcnm", sPatNode.getColumn(iPatRowNo, "spcnm"));
  3101. sDescNode.setColumn(iMaxNo, "orddd", sPatInfoNode2.getColumn(0, "orddd"));
  3102. sDescNode.setColumn(iMaxNo, "orddrid", sPatInfoNode2.getColumn(0, "orddrid"));
  3103. sDescNode.setColumn(iMaxNo, "orddeptcd", sPatInfoNode1.getColumn(0, "orddeptcd"));
  3104. sDescNode.setColumn(iMaxNo, "orddeptnm", sPatInfoNode1.getColumn(0, "orddeptnm"));
  3105. sDescNode.setColumn(iMaxNo, "orddrnm", sPatInfoNode1.getColumn(0, "orddrnm"));
  3106. sDescNode.setColumn(iMaxNo, "dschdd", sPatInfoNode2.getColumn(0, "dschdd"));
  3107. sDescNode.setColumn(iMaxNo, "cretno", sPatInfoNode2.getColumn(0, "cretno"));
  3108. sDescNode.setColumn(iMaxNo, "mskind", sPatInfoNode1.getColumn(0, "mskind"));
  3109. sDescNode.setColumn(iMaxNo, "insukind", sPatInfoNode1.getColumn(0, "insukind"));
  3110. sDescNode.setColumn(iMaxNo, "suppkind", sPatInfoNode1.getColumn(0, "suppkind"));
  3111. sDescNode.setColumn(iMaxNo, "ioflag", sPatInfoNode1.getColumn(0, "ioflag"));
  3112. sDescNode.setColumn(iMaxNo, "prcpgenrflag", sPatInfoNode1.getColumn(0, "ioflag"));
  3113. sDescNode.setColumn(iMaxNo, "execprcpuniqno", "0");
  3114. sDescNode.setColumn(iMaxNo, "prcpno", "0");
  3115. sDescNode.setColumn(iMaxNo, "acptdd", sSrcNode.getColumn(iPatRowNo, "acptdd"));
  3116. sDescNode.setColumn(iMaxNo, "acptno", sSrcNode.getColumn(iPatRowNo, "acptno"));
  3117. sDescNode.setColumn(iMaxNo, "spcacptdd", sSrcNode.getColumn(iPatRowNo, "spcacptdd"));
  3118. sDescNode.setColumn(iMaxNo, "spcacptno", sSrcNode.getColumn(iPatRowNo, "spcacptno"));
  3119. sDescNode.setColumn(iMaxNo, "bfacptdd", sSrcNode.getColumn(iPatRowNo, "acptdd"));
  3120. sDescNode.setColumn(iMaxNo, "bfacptno", sSrcNode.getColumn(iPatRowNo, "acptno"));
  3121. sDescNode.setColumn(iMaxNo, "bfspcacptdd", sSrcNode.getColumn(iPatRowNo, "spcacptdd"));
  3122. sDescNode.setColumn(iMaxNo, "bfspcacptno", sSrcNode.getColumn(iPatRowNo, "spcacptno"));
  3123. sDescNode.setColumn(iMaxNo, "reuseflagcd", "0");
  3124. sDescNode.setColumn(iMaxNo, "ptnocd", sPrcpNode.getColumn(iPrcpRowNo, "ptnocd"));
  3125. sDescNode.setColumn(iMaxNo, "stdyptnocd", sPrcpNode.getColumn(iPrcpRowNo, "stdyptnocd"));
  3126. sDescNode.setColumn(iMaxNo, "trustptnocd", sPrcpNode.getColumn(iPrcpRowNo, "trustptnocd"));
  3127. sDescNode.setColumn(iMaxNo, "workflagcd", sPrcpNode.getColumn(iPrcpRowNo, "workflagcd"));
  3128. sDescNode.setColumn(iMaxNo, "slidflagcd", sPrcpNode.getColumn(iPrcpRowNo, "slidflagcd"));
  3129. sDescNode.setColumn(iMaxNo, "slidisscnt", sPrcpNode.getColumn(iPrcpRowNo, "slidisscnt"));
  3130. sDescNode.setColumn(iMaxNo, "blocflagcd", sPrcpNode.getColumn(iPrcpRowNo, "blocflagcd"));
  3131. sDescNode.setColumn(iMaxNo, "initblocno", sPrcpNode.getColumn(iPrcpRowNo, "initblocno"));
  3132. sDescNode.setColumn(iMaxNo, "autokeepflagcd", sPrcpNode.getColumn(iPrcpRowNo, "autokeepflagcd"));
  3133. sDescNode.setColumn(iMaxNo, "stdy_workflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_workflagcd"));
  3134. sDescNode.setColumn(iMaxNo, "stdy_slidflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_slidflagcd"));
  3135. sDescNode.setColumn(iMaxNo, "stdy_slidisscnt", sPrcpNode.getColumn(iPrcpRowNo, "stdy_slidisscnt"));
  3136. sDescNode.setColumn(iMaxNo, "stdy_blocflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_blocflagcd"));
  3137. sDescNode.setColumn(iMaxNo, "stdy_initblocno", sPrcpNode.getColumn(iPrcpRowNo, "stdy_initblocno"));
  3138. sDescNode.setColumn(iMaxNo, "orgaddflagcd", sPrcpNode.getColumn(iPrcpRowNo, "orgaddflagcd"));
  3139. sDescNode.setColumn(iMaxNo, "stdy_autokeepflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_autokeepflagcd"));
  3140. sDescNode.setColumn(iMaxNo, "grupsnglflag", sPrcpNode.getColumn(iPrcpRowNo, "grupsnglflag"));
  3141. sDescNode.setColumn(iMaxNo, "wardcd", sSrcNode.getColumn(iPatRowNo, "wardcd"));
  3142. sDescNode.setColumn(iMaxNo, "roomcd", sSrcNode.getColumn(iPatRowNo, "room"));
  3143. sDescNode.setColumn(iMaxNo, "status", "I");
  3144. sDescNode.setColumn(iMaxNo, "spcbarcdno", sSrcNode.getColumn(iPatRowNo, "spcbarcdno"));
  3145. sDescNode.setColumn(iMaxNo, "grosdrid", sSrcNode.getColumn(iPatRowNo, "grosdrid"));
  3146. sDescNode.setColumn(iMaxNo, "grosplgyid", sSrcNode.getColumn(iPatRowNo, "grosplgyid"));
  3147. sDescNode.setColumn(iMaxNo, "grostestdd", sSrcNode.getColumn(iPatRowNo, "grostestdd"));
  3148. sDescNode.setColumn(iMaxNo, "grostesttm", sSrcNode.getColumn(iPatRowNo, "grostesttm"));
  3149. sDescNode.setColumn(iMaxNo, "acpttm", sSrcNode.setColumn(iPatRowNo, "acpttm"));
  3150. sDescNode.setColumn(iMaxNo, "prcpstatcd", "000");
  3151. sDescNode.setColumn(iMaxNo, "prcpstatnm", "처방");
  3152. sDescNode.setColumn(iMaxNo, "signbfcnts", "");
  3153. sDescNode.setColumn(iMaxNo, "signafcnts", "");
  3154. sDescNode.setColumn(iMaxNo, "doctid", "");
  3155. sDescNode.setColumn(iMaxNo, "doctnm", "");
  3156. // 추가처방용 블럭(Cassette)이 선택되어 있는 경우 처리
  3157. if (sSpcNode.rowposition > -1)
  3158. {
  3159. sDescNode.setColumn(iMaxNo, "spcacptseqno", sSpcNode.getColumn(iSpcRowNo, "spcacptseqno")); //검체접수일련번호
  3160. sDescNode.setColumn(iMaxNo, "csteno", sSpcNode.getColumn(iSpcRowNo, "csteno")); //Castte번호
  3161. sDescNode.setColumn(iMaxNo, "cstenm", sSpcNode.getColumn(iSpcRowNo, "cstecnts")); //Castte내용
  3162. }
  3163. else
  3164. {
  3165. sDescNode.setColumn(iMaxNo, "spcacptseqno", "-"); //검체접수일련번호
  3166. sDescNode.setColumn(iMaxNo, "csteno", "-"); //Castte번호
  3167. sDescNode.setColumn(iMaxNo, "csteno", ""); //Castte내용
  3168. }
  3169. // 중복처방 여부 검사
  3170. for (var iNo = 0; iNo < sDescNode.rowcount; iNo++)
  3171. {
  3172. if (utlf_isNull(sPrcpDD))
  3173. {
  3174. iFindRow = sDescNode.findRow("prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"));
  3175. if (iFindRow > -1)
  3176. {
  3177. sPrcpDD = sDescNode.getColumn(iFindRow,"prcpdd");
  3178. sPtNo = sDescNode.getColumn(iFindRow,"acptptno");
  3179. }
  3180. else
  3181. {
  3182. break;
  3183. }
  3184. }
  3185. else
  3186. {
  3187. iFindRow = sDescNode.findRow("prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"), iFindRow+1);
  3188. if (iFindRow > -1)
  3189. {
  3190. // 처방일자 및 병리번호가 같은 경우 중복처방으로 간주
  3191. if (sPrcpDD == sDescNode.getColumn(iFindRow,"prcpdd") && sDescNode.getColumn(iFindRow,"status") == "I")
  3192. {
  3193. sysf_messageBox("중복처방입니다. 처방내역에 추가", "E001");
  3194. sDescNode.deleteRow(iFindRow);
  3195. return false;
  3196. }
  3197. } else {
  3198. break;
  3199. }
  3200. }
  3201. }
  3202. }
  3203. function fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag, saveflag , dschdd, srchdd )
  3204. {
  3205. if (!utlf_isNull(pid))
  3206. {
  3207. var sSendDs = dsf_createDsRow("ds_addprcp_send", [{col:"pid", type:"string", size:256, val: pid},
  3208. {col:"orddd", type:"string", size:256, val: orddd},
  3209. {col:"cretno", type:"string", size:256, val: cretno},
  3210. {col:"instcd", type:"string", size:256, val: instcd},
  3211. {col:"ioflag", type:"string", size:256, val: ioflag},
  3212. {col:"srchdd", type:"string", size:256, val: ""},
  3213. {col:"pseuacptflag", type:"string", size:256, val: ""}]);
  3214. if ( !utlf_isNull(dschdd) && dschdd != "99991231" && dschdd != "-" )
  3215. {
  3216. ds_addprcp_send.setColumn(0, "srchdd", dschdd);
  3217. }
  3218. else
  3219. {
  3220. if (utlf_isNull(srchdd))
  3221. {
  3222. ds_addprcp_send.setColumn(0, "srchdd", "");
  3223. }
  3224. else
  3225. {
  3226. ds_addprcp_send.setColumn(0, "srchdd", srchdd);
  3227. }
  3228. }
  3229. if ( ioflag == "O" || ioflag == "S" )
  3230. {
  3231. ds_addprcp_send.setColumn(0, "ioflag", "O" );
  3232. ds_addprcp_send.setColumn(0, "pseuacptflag", (utlf_isNull(this.objects["ds_formerkey"]) ? "" : ds_formerkey.getColumn(0, "pseuacptflag")));
  3233. var oParam = {};
  3234. oParam.id = "TRMMO04208";
  3235. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  3236. oParam.method = "reqGetPatTopInfo";
  3237. oParam.inds = "req=ds_addprcp_send";
  3238. oParam.outds = "ds_topinfo_outpatpaminfo=outpatpaminfo ds_topinfo_patmaintopinfo=patmaintopinfo ds_topinfo_outpatflaginfo=outpatflaginfo";
  3239. oParam.async = false;
  3240. oParam.callback = "cf_TRMMO04208";
  3241. tranf_submit(oParam);
  3242. if(arErrorCode.pop("TRMMO04208") > -1)
  3243. {
  3244. ds_paminfo.copyData(ds_topinfo_outpatpaminfo);
  3245. ds_patflag.copyData(ds_topinfo_outpatflaginfo);
  3246. }
  3247. else{
  3248. return;
  3249. }
  3250. }
  3251. else
  3252. {
  3253. if(ioflag == "D")
  3254. {
  3255. ds_addprcp_send.setColumn(0, "ioflag", "I");
  3256. }
  3257. var oParam = {};
  3258. oParam.id = "TRMMO04302";
  3259. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  3260. oParam.method = "reqGetPatTopInfo";
  3261. oParam.inds = "req=ds_addprcp_send";
  3262. oParam.outds = "ds_topinfo_inpatpaminfo=inpatpaminfo ds_topinfo_patmaintopinfo2=patmaintopinfo ds_topinfo_inpatflaginfo=inpatflaginfo";
  3263. oParam.async = false;
  3264. oParam.callback = "cf_TRMMO04302";
  3265. tranf_submit(oParam);
  3266. if(arErrorCode.pop("TRMMO04302") > -1)
  3267. {
  3268. ds_paminfo.copyData(ds_topinfo_inpatpaminfo);
  3269. ds_patflag.copyData(ds_topinfo_inpatflaginfo);
  3270. }
  3271. else
  3272. {
  3273. return;
  3274. }
  3275. }
  3276. }
  3277. }
  3278. function cf_TRMMO04202(sSvcId, nErrorCode, sErrorMsg) {
  3279. arErrorCode.push(sSvcId, nErrorCode);
  3280. }
  3281. function cf_TRMMO04302(sSvcId, nErrorCode, sErrorMsg) {
  3282. arErrorCode.push(sSvcId, nErrorCode);
  3283. }
  3284. function div_all_grp_sea_ipt_seaval_onkeydown(obj:Edit, e:KeyEventInfo)
  3285. {
  3286. if(e.keycode == 13)
  3287. {
  3288. ds_grd_prcplist.clearData();
  3289. div_all.grp_sea.ipt_seaval.updateToDataset();
  3290. div_all.grp_sea.btn_sea.click();
  3291. }
  3292. }
  3293. function div_all_grd_prcplist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  3294. {
  3295. ds_init.setColumn(0, "refcmts", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "redchk"));
  3296. div_all.grp_refcmts.visible = true;
  3297. }
  3298. function div_all_grp_refcmts_btn_refcmts_onclick(obj:Button, e:ClickEventInfo)
  3299. {
  3300. ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "redchk", ds_init.getColumn(0, "refcmts"));
  3301. ds_init.setColumn(0, "refcmts", "");
  3302. div_all.grp_refcmts.visible = false;
  3303. }
  3304. function div_all_grp_sea_ipt_acptddto_onkeyup(obj:Calendar, e:KeyEventInfo)
  3305. {
  3306. if(e.keycode == 13)
  3307. {
  3308. fGetPatList();
  3309. }
  3310. }
  3311. function div_all_grp_sea_ipt_fromptno_onkeydown(obj:Edit, e:KeyEventInfo)
  3312. {
  3313. if(e.keycode == 13)
  3314. {
  3315. ds_init.setColumn(0, "fromptno", div_all.grp_sea.ipt_fromptno.text);
  3316. fGetPatList();
  3317. }
  3318. }
  3319. // function fAfSignPatSrch1()
  3320. // {
  3321. // var adminInfo = ds_root.getColumn(0, "admininfo");
  3322. // var srchcond4 = ds_init.getColumn(0, "srchcond4");
  3323. // frmf_setParameter("SPMMO09100_paminfoyn", ds_init.getColumn(0, "paminfoyn"));
  3324. //
  3325. // if (utlf_isNull(srchcond4))
  3326. // {
  3327. // ds_init.setColumn(0, "srchcond4", "-");
  3328. // }
  3329. //
  3330. // // 누락처방입력 정보 초기화
  3331. // sysf_setGlobalVariable("SPMMO16800_rtn1", "");
  3332. // ds_prcpresn.clearData();
  3333. //
  3334. // // 구 인스턴스 초기화
  3335. // ds_formerkey.clearData();
  3336. // ds_formerkey.addRow();
  3337. // ds_paminfo.clearData();
  3338. //
  3339. // frmf_clearParameter("SPMMO09100_pid" );
  3340. // frmf_clearParameter("SPMMO09100_orddd");
  3341. // frmf_clearParameter("SPMMO09100_cretno");
  3342. // frmf_clearParameter("SPMMO09100_instcd");
  3343. // frmf_clearParameter("SPMMO09100_ioflag");
  3344. // frmf_clearParameter("SPMMO09100_orddeptcd");
  3345. // frmf_clearParameter("SPMMO09100_orddrid");
  3346. // frmf_clearParameter("SPMMO09100_indschacptstat");
  3347. // frmf_clearParameter("SPMMO09100_rtnyn");
  3348. // frmf_clearParameter("SPMMO09100_dschdd");
  3349. // frmf_clearParameter("SPMMO09100_dc");
  3350. // frmf_clearParameter("SPMMO09100_insukind");
  3351. // frmf_clearParameter("SPMMO09100_suppkind");
  3352. // frmf_clearParameter("SPMMO09100_drvalidyn");
  3353. //
  3354. // ds_init.setColumn(0, "rrgstno1", "");
  3355. // ds_init.setColumn(0, "rrgstno2", "");
  3356. // ds_init.setColumn(0, "orddeptnm", "");
  3357. // ds_init.setColumn(0, "sex", "");
  3358. // ds_init.setColumn(0, "age", "");
  3359. // ds_init.setColumn(0, "wardcd", "");
  3360. // ds_init.setColumn(0, "orddd", "");
  3361. //
  3362. // ds_send.setColumn(0, "cond1", ds_init.getColumn(0, "srchcond1"));
  3363. //
  3364. // if ( ds_send.getColumn(0, "cond1") == "1" )
  3365. // {
  3366. // ds_send.setColumn(0, "cond2", ds_init.getColumn(0, "srchcond2"));
  3367. // }
  3368. // else //이름으로 검색할 경우
  3369. // {
  3370. // ds_send.setColumn(0, "cond2", ds_init.getColumn(0, "srchcond3"));
  3371. // }
  3372. //
  3373. // ds_send.setColumn(0, "cond3", sysf_getUserInfo("dutplceinstcd"));
  3374. // ds_send.setColumn(0, "cond4", "N");
  3375. // ds_send.setColumn(0, "cond5", "N");
  3376. // ds_send.setColumn(0, "cond6", ds_init.getColumn(0, "srchcond4"));
  3377. // ds_send.setColumn(0, "cond10", ds_init.getColumn(0, "srchcond5"));
  3378. // ds_send.setColumn(0, "cond11", ds_init.getColumn(0, "srchcond6"));
  3379. //
  3380. // var oParam = {};
  3381. // oParam.id = "TRMMO00200";
  3382. // oParam.service = "prcpmngtapp.PrcpMngt";
  3383. // oParam.method = "reqGetComnPatOrdInfo";
  3384. // oParam.inds = "req=ds_send";
  3385. // oParam.outds = "ds_patordinfolist=patordinfolist";
  3386. // oParam.async = false;
  3387. // //oParam.callback = "cf_TRMMO00200";
  3388. // tranf_submit(oParam);
  3389. //
  3390. // var patordinfolistCnt = ds_patordinfolist.rowcount;
  3391. // var currentDate = utlf_getCurrentDate();
  3392. //
  3393. // ds_formerkey.setColumn(0, "pseuacptflag", "N");
  3394. //
  3395. // if ( patordinfolistCnt >= 1 ) //값이 한개이상이면 팝업을 띄운다.
  3396. // {
  3397. // var xpt = this.getOwnerFrame().position.x + 50;
  3398. // var ypt = this.getOwnerFrame().position.y + 80;
  3399. // var mon = sysf_getCurrentMonitorNumber();
  3400. //
  3401. // var objArg = new Object();
  3402. // objArg.arg_ds_patordinfolist = ds_patordinfolist;
  3403. // frmf_modal("SPMMO09100","SPMMO09100",objArg,null,mon,xpt,ypt,null,null,null,null,null,"M");
  3404. //
  3405. // // 팝업에서 취소 시 이벤트 처리
  3406. // var cancelKey = frmf_getParameter("SPMMO09100_rtnyn");
  3407. // if (cancelKey != "Y")
  3408. // {
  3409. // fClearAddPrcp();
  3410. // frmf_clearParameter("SPMMO09100_rtnyn" );
  3411. // frmf_clearParameter("SPMMO09100_paminfoyn" );
  3412. // return ;
  3413. // }
  3414. //
  3415. // ds_patordinfolist.clearData();
  3416. // var rtnparam = frmf_getParameter( "SPMMO09100_rtn_param");
  3417. // dsf_setCSVToDs("ds_patordinfolist", rtnparam);
  3418. //
  3419. // var pid = frmf_getParameter("SPMMO09100_pid" );
  3420. // var orddd = frmf_getParameter("SPMMO09100_orddd");
  3421. // var cretno = frmf_getParameter("SPMMO09100_cretno");
  3422. // var instcd = frmf_getParameter("SPMMO09100_instcd");
  3423. // var ioflag = frmf_getParameter("SPMMO09100_ioflag");
  3424. // var orddeptcd = frmf_getParameter("SPMMO09100_orddeptcd");
  3425. // var orddrid = frmf_getParameter("SPMMO09100_orddrid");
  3426. // var indschacptstat = frmf_getParameter("SPMMO09100_indschacptstat");
  3427. // var dschdd = frmf_getParameter("SPMMO09100_dschdd");
  3428. // var insukind = frmf_getParameter("SPMMO09100_insukind");
  3429. // var suppkind = frmf_getParameter("SPMMO09100_suppkind");
  3430. // var dcflag = frmf_getParameter("SPMMO09100_dc");
  3431. // var drvalidyn = frmf_getParameter("SPMMO09100_drvalidyn");
  3432. //
  3433. // var srchdd = ""; // 기존에 입원일자로 조회 하던것을 퇴원 일자로 조회 하도록 수정 응급실 내원후 병동 이동일 경우 icdr에 ordtype 'E' 로 존재 하여 상단정보 조회시 오류 발생 방지 2014.07.11 엄영만
  3434. // if(dschdd == "99991231")
  3435. // {
  3436. // srchdd = utlf_getCurrentDate();
  3437. // }
  3438. // else
  3439. // {
  3440. // srchdd = dschdd;
  3441. // }
  3442. // if ( dcflag != "DC" )
  3443. // {
  3444. // if ( currentDate != orddd && (ioflag == "O" || ioflag == "S"))
  3445. // { // 진료일과 현재일이 다른 경우 가접수 후 데이타 셋팅. 20090604 퇴원후 바로 가접수처리건때문에 외래에만 적용.
  3446. // // 진단명 조회를 위한 구 키 셋팅
  3447. // ds_formerkey.setColumn(0, "pid", pid);
  3448. // ds_formerkey.setColumn(0, "orddd_old", orddd);
  3449. // ds_formerkey.setColumn(0, "cretno_old", cretno);
  3450. // ds_formerkey.setColumn(0, "instcd", instcd);
  3451. // ds_formerkey.setColumn(0, "genrflagcd_old", ioflag);
  3452. // ds_formerkey.setColumn(0, "pseuacptflag", "Y");
  3453. //
  3454. // var returnkey = fSetAssumAccept(pid, orddd, cretno, "O", orddeptcd, orddrid);
  3455. // if (returnkey == false) return ;
  3456. //
  3457. // pid = ds_execpatordinfolist.getColumn(0, "otpt_pid");
  3458. // orddd = ds_execpatordinfolist.getColumn(0, "otpt_orddd");
  3459. // cretno = ds_execpatordinfolist.getColumn(0, "otpt_cretno");
  3460. //
  3461. // ds_formerkey.setColumn(0, "orddd", orddd);
  3462. // ds_formerkey.setColumn(0, "cretno", cretno);
  3463. // ds_formerkey.setColumn(0, "genrflagcd", ioflag);
  3464. // }
  3465. // else if ( (ioflag == "I" || ioflag == "D" || ioflag == "E") && indschacptstat == "D" )
  3466. // {
  3467. // // 진단명 조회를 위한 구 키 셋팅
  3468. // ds_formerkey.setColumn(0, "pid", pid);
  3469. // ds_formerkey.setColumn(0, "orddd_old", orddd);
  3470. // ds_formerkey.setColumn(0, "cretno_old", cretno);
  3471. // ds_formerkey.setColumn(0, "instcd", instcd);
  3472. // ds_formerkey.setColumn(0, "genrflagcd_old", ioflag);
  3473. // ds_formerkey.setColumn(0, "pseuacptflag", "Y");
  3474. //
  3475. // var returnkey = fSetAssumAccept(pid, orddd, cretno, "I", orddeptcd, orddrid, insukind, suppkind );
  3476. // if (returnkey == false) return ;
  3477. //
  3478. // pid = ds_followup.getColumn(0, "otpt_pid");
  3479. // orddd = ds_followup.getColumn(0, "otpt_orddd");
  3480. // cretno = ds_followup.getColumn(0, "otpt_cretno");
  3481. // ioflag = "O" ; // 강제로 외래 셋팅
  3482. // ds_patordinfolist.setColumn(0, "ioflag", ioflag);
  3483. //
  3484. // ds_formerkey.setColumn(0, "orddd", orddd);
  3485. // ds_formerkey.setColumn(0, "cretno", cretno);
  3486. // ds_formerkey.setColumn(0, "genrflagcd", ioflag);
  3487. // }
  3488. // }
  3489. //
  3490. // frmf_clearParameter("SPMMO09100_pid" );
  3491. // frmf_clearParameter("SPMMO09100_orddd");
  3492. // frmf_clearParameter("SPMMO09100_cretno");
  3493. // frmf_clearParameter("SPMMO09100_instcd");
  3494. // frmf_clearParameter("SPMMO09100_ioflag");
  3495. // frmf_clearParameter("SPMMO09100_orddeptcd");
  3496. // frmf_clearParameter("SPMMO09100_orddrid");
  3497. // frmf_clearParameter("SPMMO09100_indschacptstat");
  3498. // frmf_clearParameter("SPMMO09100_rtnyn");
  3499. // frmf_clearParameter("SPMMO09100_dschdd");
  3500. // frmf_clearParameter("SPMMO09100_dc");
  3501. // frmf_clearParameter("SPMMO09100_insukind");
  3502. // frmf_clearParameter("SPMMO09100_suppkind");
  3503. // frmf_clearParameter("SPMMO09100_drvalidyn");
  3504. //
  3505. // if ( utlf_isNull(pid ))
  3506. // {
  3507. // fClearAddPrcp();
  3508. // }
  3509. // else
  3510. // {
  3511. // var sPamInfoYn = ds_init.getColumn(0, "paminfoyn"); //model.getValue ( "/root/init/paminfoyn" );
  3512. // if ( dcflag == "DC" || sPamInfoYn == "Y") // 상단정보 설정(과거처방DC, 상단정보 연계)
  3513. // {
  3514. // // 퇴직의사에 대해서 admin 권한을 가진 사람일 경우는 입원일로 체크하도록 한다.
  3515. // var sTopSrchDd = "";
  3516. // if ( drvalidyn == "N" && adminInfo.substring(0, 6) == "YYYYYY")
  3517. // {
  3518. // sTopSrchDd = orddd;
  3519. // }
  3520. //
  3521. // // 상단 정보 세팅
  3522. // var param = ioflag + "▦" +
  3523. // pid + "▦" +
  3524. // orddd + "▦" +
  3525. // cretno + "▦" +
  3526. // instcd + "▦" +
  3527. // srchdd;
  3528. //
  3529. // appf_initPatientInfo(param);
  3530. //
  3531. // frmf_setParameter("SPMMO08900_rtn_useyn", ""); // 처방 저장후 의사처방화면 설정로직을 스킵 하기 위해
  3532. // }
  3533. // else
  3534. // {
  3535. // var sDutPlceCd = sysf_getUserInfo("dutplcecd");
  3536. // if (sDutPlceCd != "4072000000" && sDutPlceCd != "4070700000" ) // 심사실에서 가퇴원 환자 선택시 상단 정보 삭제 되지 않도록 처리 2013.09.25 엄영만
  3537. // {
  3538. // appf_delPatientInfos(); // 환자정보 삭제
  3539. // }
  3540. // }
  3541. // if(adminInfo.substring(0, 6) != "YYYYYY") {
  3542. // fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag , "N", dschdd );
  3543. // } else {
  3544. // fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag , "N", dschdd , srchdd);
  3545. // }
  3546. // fPatDethInfo(); //사망환자 alert(2009.12.21 JJE)
  3547. // }
  3548. // }
  3549. // }
  3550. // function lpzfPlgyPrcpSaveSign1(signbfcnts, signid, signopt)
  3551. // {
  3552. // trace("signbfcnts = " + signbfcnts);
  3553. // trace("signid = " + signid);
  3554. // trace("signopt = " + signopt);
  3555. // //인증저장로직 구현X
  3556. // var v_stext = "";
  3557. //
  3558. // if(!utlf_isNull(signbfcnts))
  3559. // {
  3560. // if(signopt)
  3561. // {
  3562. // v_stext = zesf_SignData1( signbfcnts, signid );
  3563. // }
  3564. // else
  3565. // {
  3566. // v_stext = zesf_SignData1( signbfcnts, signid );
  3567. // }
  3568. // if(utlf_isNull(v_stext))
  3569. // {
  3570. // return ""; //값이 없을 때는 return 함
  3571. // }
  3572. // }
  3573. // else
  3574. // {
  3575. // return "N"; //인증할 데이터가 없을 때는 N 으로 return
  3576. // }
  3577. // return v_stext;
  3578. // }
  3579. //
  3580. // function zesf_SignData1( pOrgData, pUid, pReload, pDbg )
  3581. // {
  3582. // trace("pOrgData = " +pOrgData);
  3583. //
  3584. //
  3585. //
  3586. //
  3587. // if(pReload)
  3588. // {
  3589. // utlf_transNullToEmpty(zes_objForm).zes_sUID = "";
  3590. // }
  3591. //
  3592. // var signedData = "";
  3593. // var reload = false;
  3594. //
  3595. // if( pUid == null || pUid == "" ) {
  3596. // pUid = sysf_getUserInfo("userid");
  3597. // }
  3598. //
  3599. // if( utlf_transNullToEmpty(zes_objForm).zes_sUID != pUid )
  3600. // {
  3601. // reload = true;
  3602. // }
  3603. //
  3604. // var today = new Date();
  3605. //
  3606. // if( utlf_transNullToEmpty(zes_objForm).zes_sCertYear != today.getFullYear() ) {
  3607. // reload = true;
  3608. // }
  3609. //
  3610. // if( utlf_transNullToEmpty(zes_objForm).zes_sCertMonth != ( today.getMonth() + 1 ) ) {
  3611. // reload = true;
  3612. // }
  3613. //
  3614. // if( utlf_transNullToEmpty(zes_objForm).zes_sCertDate != today.getDate() ) {
  3615. // reload = true;
  3616. // }
  3617. //
  3618. // if( reload ) {
  3619. //
  3620. // //utlf_transNullToEmpty(zes_objSKComm).UnsetMatchedContext();
  3621. //
  3622. // utlf_transNullToEmpty(zes_objForm).zes_sUID = "";
  3623. // utlf_transNullToEmpty(zes_objForm).zes_sCertYear = 1970;
  3624. // utlf_transNullToEmpty(zes_objForm).zes_sCertMonth = 1;
  3625. // utlf_transNullToEmpty(zes_objForm).zes_sCertDate = 1;
  3626. //
  3627. // if( zesf_LoadKeyAndCert1( pUid, pDbg ) == "" )
  3628. // {
  3629. // return signedData;
  3630. // }
  3631. //
  3632. // }
  3633. //
  3634. // if( pDbg != null ) {
  3635. // alert( "SignDataB64" );
  3636. // }
  3637. //
  3638. // signedData = utlf_transNullToEmpty(zes_objSKComm).SignDataB64( "", pOrgData, 0 );
  3639. // if( signedData == "" ) {
  3640. // msg = "전자서명 생성에"
  3641. // sysf_messageBox( msg, "E009", zesf_getCMErrMsg());
  3642. // }
  3643. //
  3644. // //activateMyWindow();
  3645. //
  3646. // return signedData;
  3647. //
  3648. // }
  3649. //
  3650. // function zesf_LoadKeyAndCert1( pUid, pDbg ) {
  3651. // var dn = "";
  3652. // var msg = "";
  3653. // var pwd = "";
  3654. // var certloadyn = "N";
  3655. //
  3656. // var oDsHardCd = agv_objAppTopPath.form.dv_orderbasicinfo.lf_getOrderBaseInfo("hardcdlist");
  3657. // if(!utlf_isNull(oDsHardCd)) {
  3658. // certloadyn = oDsHardCd.lookup("hardcdno", "5996", "hardcd");
  3659. // }
  3660. //
  3661. // if (certloadyn == "Y" && _SIGNTEST == "N") {
  3662. // //비밀번호 입력창 오픈
  3663. // var xpt = this.getOwnerFrame().position.x + 400;
  3664. // var ypt = this.getOwnerFrame().position.y + 60;
  3665. //
  3666. // // 인증서비밀번호 입력창이 너무 작게 열리는 현상 때문에 width, height 값 지정해봄 (2017.01.17 - 김상목)
  3667. // var pwd = frmf_modal("SPZMS00300", "SPZMS00300", null, false, null, xpt, ypt, 281, 143, null, null, null, "M");
  3668. //
  3669. // if (utlf_isNull(pwd)) {
  3670. // return dn;
  3671. // }
  3672. //
  3673. // }
  3674. //
  3675. // var ip = sysf_getUserInfo("kmiip");
  3676. // var port = sysf_getUserInfo("kmiport");
  3677. // //trace("kmsConnect = " +kmsConnect);
  3678. //
  3679. // if(!zes_objKMClient.kmsConnect(ip, port) ){
  3680. // msg = "KMI 서버( IP:" + ip + ",포트:" + port + ") 연결에";
  3681. // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() );
  3682. // return dn;
  3683. // }
  3684. //
  3685. // if( pDbg != null ) {
  3686. // alert( "KMI 서버가 연결되었습니다." );
  3687. // }
  3688. //
  3689. // var envelop = zes_objKMClient.kmsInit();
  3690. // if( envelop == "" ) {
  3691. // msg = "KMI 모듈의 초기화에";
  3692. // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() );
  3693. // zes_objKMClient.kmsDisconnect();
  3694. // return dn;
  3695. // }
  3696. //
  3697. // if( pDbg != null ) {
  3698. // alert( "KMI 모듈이 초기화되었습니다. \nENVELOP : " + envelop );
  3699. // }
  3700. //
  3701. // dn = zes_objKMClient.GetKeyAndCert( pUid );
  3702. // if( dn == "" ) {
  3703. // msg = "KMI 서버에서 인증서( " + pUid + " )를 가져오는 데.";
  3704. // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() +"\n전자인증서와 관련한 에러는 " + _TEL_NO + " 로 연락해주시기 바랍니다.");
  3705. // zes_objKMClient.kmsDisconnect();
  3706. // return dn;
  3707. // }
  3708. //
  3709. // if( pDbg != null ) {
  3710. // alert( "인증서를 다운로드하였습니다.\n다운로드 인증서 DN : " + dn );
  3711. // }
  3712. //
  3713. // switch( zes_objKMClient.IsCertNew( pUid, dn ) ) {
  3714. // case 0 : // 현재 인증서가 유효함
  3715. // if( pDbg != null ) {
  3716. // alert( "현재 인증서가 유효합니다." );
  3717. // }
  3718. // break;
  3719. // case 1 : // 인증서가 갱신되어 KMI에 재등록됨
  3720. // msg = "인증서의 갱신이";
  3721. // sysf_messageBox( msg, "I002");
  3722. // break;
  3723. // case 2 : // 인증서 갱신 실패 ( 에러코드와 메시지가 리턴됨 )
  3724. // msg = "인증서 갱신에";
  3725. // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg());
  3726. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3727. // zes_objKMClient.kmsDisconnect();
  3728. // return dn;
  3729. // case 3 : // 인증서 갱신은 성공 하였으나 KMI 서버 등록 실패 (인증서 백업 성공)
  3730. // case 4 : // 인증서 갱신은 성공 하였으나 KMI 서버 등록 실패 (인증서 백업 실패)
  3731. // msg = "갱신된 인증서의 KMI 등록에";
  3732. // sysf_messageBox( msg, "E009", "관리자에게 문의하시기 바랍니다.");
  3733. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3734. // zes_objKMClient.kmsDisconnect();
  3735. // return dn;
  3736. // case 5 : // 이미 만료 되었거나 폐지된 인증서
  3737. // msg = "인증서가 만료되어 사용";
  3738. // sysf_messageBox( msg, "E001", "인증서를 재발급 받으시기 바랍니다.");
  3739. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3740. // zes_objKMClient.kmsDisconnect();
  3741. // return dn;
  3742. // case 6 : // 인증서의 갱신을 사용자가 취소
  3743. // break;
  3744. // case 7 :
  3745. // msg = "인증서 화일에 문제가 있어 인증서 읽기에.";
  3746. // sysf_messageBox( msg, "E009", "관리자에게 문의하시기 바랍니다.");
  3747. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3748. // zes_objKMClient.kmsDisconnect();
  3749. // return dn;
  3750. // }
  3751. //
  3752. // //zes_objSKComm.SetExipreCheckSkip(1);// 인증서 갱신안내 팝업표시 안함 (EMR 오픈시까지 유지)
  3753. //
  3754. // // 0 * 256 : SignKorea의 인증서만 선택
  3755. // // 0 * 16 : 비밀번호 입력 받음
  3756. // // 1 : 현재의 ActiveX 인스턴스가 유효할 동안 선택한 정보 유지
  3757. //
  3758. // // dn = zes_objSKComm.SetMatchedContextExt( dn, "", "", 0 * 256 + 0 * 16 + 1 );
  3759. //
  3760. // var matched_dn = zes_objSKComm.SetMatchedContextExt( dn, "", pwd, 0 * 256 + 0 * 16 + 1 );
  3761. // if( matched_dn == "" ) {
  3762. // msg = "인증서의 메모리 로드에";
  3763. // sysf_messageBox( msg, "E009", zesf_getCMErrMsg());
  3764. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3765. // zes_objKMClient.kmsDisconnect();
  3766. // return matched_dn;
  3767. // }
  3768. //
  3769. // var today = new Date();
  3770. //
  3771. //
  3772. //
  3773. // zes_objForm.zes_sCertYear = today.getFullYear();
  3774. // zes_objForm.zes_sCertMonth = today.getMonth() + 1;
  3775. // zes_objForm.zes_sCertDate = today.getDate();
  3776. // zes_objForm.zes_sUID = pUid;
  3777. //
  3778. // zes_objKMClient.LocalDelKeyAndCert(dn);
  3779. // zes_objKMClient.kmsDisconnect();
  3780. //
  3781. // return dn;
  3782. // }]]></Script>
  3783. </Form>
  3784. </FDL>