12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLPJ01000" position="absolute 0 0 1199 792" titletext="추가처방등록" oninit="SMLPJ01000_oninit" onload="SMLPJ01000_onload">
- <Layouts>
- <Layout>
- <Div id="div_all" taborder="20" position="absolute 0 0 1197 787">
- <Layouts>
- <Layout>
- <Button id="btn_prcpcncl" taborder="1" text="전처방반환" onclick="grp_btn_btn_prcpcncl_onclick" class="btn4" position="absolute 1012 30 1104 51" anchor="default"/>
- <Button id="btn_save" taborder="2" text="처방저장" class="btn4" position="absolute 1107 30 1187 51" onclick="div_all_btn_save_onclick" anchor="default"/>
- <Combo id="cmb_readdr" taborder="3" visible="true" position="absolute 922 31 997 49" anchor="default" innerdataset="@ds_doctor" codecolumn="userid" datacolumn="usernm"/>
- <Static id="cap_orddrid" text="후인증 의사" class="cell_1" visible="true" position="absolute 840 29 921 51" anchor="default"/>
- <Edit id="input1" taborder="4" visible="false" position="absolute 567 32 627 50" anchor="default"/>
- <Edit id="input2" taborder="5" visible="false" position="absolute 632 32 692 50" anchor="default"/>
- <Edit id="input3" taborder="6" visible="false" position="absolute 697 32 757 50" anchor="default"/>
- <Static id="caption11" text="진료일자 :" class="search_name" position="absolute 7 32 93 48" anchor="default"/>
- <Calendar id="input4" taborder="7" class="input_s_essential" position="absolute 208 31 310 49" anchor="default"/>
- <Calendar id="input5" taborder="8" class="input_s_essential" position="absolute 96 31 198 49" anchor="default"/>
- <Static id="caption6" text="추가처방등록" class="tit_1" position="absolute 0 0 114 25" anchor="default"/>
- <Div id="grp_sea" taborder="9" class="div_SA" position="absolute 1 58 1191 93" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption5" text="~" class="search_no_b" position="absolute 985 10 997 27" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 7 1110 29" anchor="default"/>
- <Calendar id="ipt_acptddfrom" taborder="21" class="input_s_essential" position="absolute 880 8 982 27" anchor="default"/>
- <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"/>
- <Static id="caption1" text="검색값 :" class="search_name" position="absolute 15 9 92 26" anchor="default"/>
- <Button id="btn_sea" taborder="23" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 1123 7 1179 29" anchor="default"/>
- <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"/>
- <Static id="caption7" text="처방구분 :" class="search_name" position="absolute 593 9 679 26" anchor="default"/>
- <Static id="cap_titledd" text="처방일자 :" class="search_name" position="absolute 796 9 882 26" anchor="default"/>
- <Combo id="cbo_ordflag" taborder="25" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 685 8 775 27" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">접수처방</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">미접수처방</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <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"/>
- <Combo id="cbo_refmthdcd" taborder="27" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 183 8 263 27" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">등록번호</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">환자명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="caption2" text="병리번호 :" class="search_name" position="absolute 300 9 386 26" anchor="default"/>
- <Combo id="cbo_ptnocd" taborder="28" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 389 8 490 27" anchor="default"/>
- <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"/>
- <Edit id="ipt_fromyear" taborder="30" class="text_center" position="absolute 493 8 520 27" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line1" class="line_1" position="absolute 0 118 461 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static id="caption3" text="환자(입원)목록" class="tit_2" position="absolute 3 101 118 118" anchor="default"/>
- <Shape id="line3" class="line_1" position="absolute 930 118 1194 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static id="caption8" text="처방명 목록" class="tit_2" position="absolute 931 101 1026 118" anchor="default"/>
- <Static id="caption10" text="처방내역" class="tit_2" position="absolute 2 386 81 402" anchor="default"/>
- <Shape id="line5" class="line_1" position="absolute 0 403 928 409" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Shape id="line4" class="line_1" position="absolute 465 118 676 124" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
- <Static id="caption9" text="접수검체" class="tit_2" position="absolute 466 101 541 117" anchor="default"/>
- <Tab id="Tab_prcp" taborder="10" onchanged="swt_ordkind_onchanged" tabindex="0" position="absolute 678 120 928 376" anchor="default">
- <Tabpages>
- <Tabpage id="swtordkind_case1" text="약속처방">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="vertical" class="line_1" position="absolute 5 0 244 6" anchor="default"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="239"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:setnm" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="roundrect3" type="roundrectangle" position="absolute 5 1 242 31" anchor="default"/>
- <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">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">P</Col>
- <Col id="datacolumn">개인</Col>
- </Row>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <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">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="swtordkind_case2" text="처방분류">
- <Layouts>
- <Layout>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="237"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:earnclsnm" treelevel="bind:lvl"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Shape id="line7" linetype="vertical" class="line_1" position="absolute 5 0 244 6" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="263"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" text="처방명"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7" text="caption2"/>
- <Cell col="8" text="caption3"/>
- <Cell col="9" text="caption4"/>
- <Cell col="10" text="caption5"/>
- <Cell col="11" text="caption6"/>
- <Cell col="12" text="caption7"/>
- <Cell col="13" text="caption8"/>
- <Cell col="14" text="caption9"/>
- <Cell col="15" text="caption10"/>
- <Cell col="16" text="caption11"/>
- <Cell col="17" text="caption12"/>
- <Cell col="18" text="caption13"/>
- <Cell col="19" text="caption14"/>
- <Cell col="20" text="caption15"/>
- <Cell col="21" text="caption16"/>
- <Cell col="22" text="caption17"/>
- <Cell col="23" text="caption18"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" style="align:left middle;" text="bind:testengnm"/>
- <Cell col="3" text="bind:testengabbr"/>
- <Cell col="4" text="bind:testhngnm"/>
- <Cell col="5" text="bind:testhngabbr"/>
- <Cell col="6" text="bind:acptdept"/>
- <Cell col="7" text="bind:ptnocd"/>
- <Cell col="8" text="bind:stdyptnocd"/>
- <Cell col="9" text="bind:trustptnocd"/>
- <Cell col="10" text="bind:workflagcd"/>
- <Cell col="11" text="bind:slidflagcd"/>
- <Cell col="12" text="bind:slidisscnt"/>
- <Cell col="13" text="bind:blocflagcd"/>
- <Cell col="14" text="bind:initblocno"/>
- <Cell col="15" text="bind:autokeepflagcd"/>
- <Cell col="16" text="bind:stdy_workflagcd"/>
- <Cell col="17" text="bind:stdy_slidflagcd"/>
- <Cell col="18" text="bind:stdy_slidisscnt"/>
- <Cell col="19" text="bind:stdy_blocflagcd"/>
- <Cell col="20" text="bind:stdy_initblocno"/>
- <Cell col="21" text="bind:stdy_autokeepflagcd"/>
- <Cell col="22" text="bind:ptnonewflagcd"/>
- <Cell col="23" text="bind:orgaddflagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="instcd"/>
- <Cell col="1" text="병리번호"/>
- <Cell col="2" text="병리번호"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자성명"/>
- <Cell col="5" text="prcpgenrflag"/>
- <Cell col="6" text="구분"/>
- <Cell col="7" text="처방일자"/>
- <Cell col="8" text="처방일시"/>
- <Cell col="9" text="orddeptcd"/>
- <Cell col="10" text="진료과"/>
- <Cell col="11" text="orddrid"/>
- <Cell col="12" text="진료의"/>
- <Cell col="13" text="caption1"/>
- <Cell col="14" text="caption2"/>
- <Cell col="15" text="caption3"/>
- <Cell col="16" text="caption4"/>
- <Cell col="17" text="caption5"/>
- <Cell col="18" text="caption6"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:ptno"/>
- <Cell col="2" class="text_center" text="bind:dispptno"/>
- <Cell col="3" class="text_center" text="bind:pid"/>
- <Cell col="4" style="align:left middle;" class="text_center" text="bind:patnm"/>
- <Cell col="5" text="bind:prcpgenrflag"/>
- <Cell col="6" class="text_center" text="bind:patflagnm"/>
- <Cell col="7" text="bind:prcpdd"/>
- <Cell col="8" class="text_center" text="bind:prcpdt"/>
- <Cell col="9" text="bind:orddeptcd"/>
- <Cell col="10" style="align:left middle;" class="text_center" text="bind:orddeptnm"/>
- <Cell col="11" text="bind:orddrid"/>
- <Cell col="12" class="text_center" text="bind:orddrnm"/>
- <Cell col="13" text="bind:execprcpuniqno"/>
- <Cell col="14" text="bind:acptdd"/>
- <Cell col="15" text="bind:acptno"/>
- <Cell col="16" text="bind:spcacptdd"/>
- <Cell col="17" text="bind:spcacptno"/>
- <Cell col="18" text="bind:spccd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_acptspclist" taborder="13" binddataset="ds_grd_acptspclist" useinputpanel="false" autofittype="col" position="absolute 465 122 676 377" anchor="default" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- <Column size="0"/>
- <Column size="81"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="instcd"/>
- <Cell col="1" text="spcacptdd"/>
- <Cell col="2" text="spcacptno"/>
- <Cell col="3" text="spcacptseqno"/>
- <Cell col="4" text="spccd"/>
- <Cell col="5" text="검체명"/>
- <Cell col="6" text="csteno"/>
- <Cell col="7" text="Cassette"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:spcacptdd"/>
- <Cell col="2" text="bind:spcacptno"/>
- <Cell col="3" text="bind:spcacptseqno"/>
- <Cell col="4" text="bind:spccd"/>
- <Cell col="5" style="align:left middle;" text="bind:spcnm"/>
- <Cell col="6" text="bind:csteno"/>
- <Cell col="7" style="align:center middle;" text="bind:cstecnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="23"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" rowspan="2" taborder="undefined"/>
- <Cell col="2" rowspan="2" text="블럭명" taborder="undefined"/>
- <Cell col="3" rowspan="2" text="비고" taborder="undefined"/>
- <Cell col="4" text="접수내역"/>
- <Cell col="5" colspan="3" text="접수내역" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="퇴원(예정) 일자" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="처방 상태" taborder="undefined"/>
- <Cell col="10" text="신규처방"/>
- <Cell col="11" colspan="4" text="신규처방" taborder="undefined"/>
- <Cell col="15" text="신규처방"/>
- <Cell col="16" rowspan="2" text="처 방 명" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="등록번호" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="환자명" taborder="undefined"/>
- <Cell col="19" text="prcpgenrflag"/>
- <Cell col="20" rowspan="2" text="환자 구분" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="처방일자" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="접수일자" taborder="undefined"/>
- <Cell col="23" text="진료일자"/>
- <Cell col="24" text="처방코드"/>
- <Cell col="25" text="spccd"/>
- <Cell col="26" rowspan="2" text="검 체 명" taborder="undefined"/>
- <Cell col="27" text="orddeptcd"/>
- <Cell col="28" rowspan="2" text="처방과" taborder="undefined"/>
- <Cell col="29" text="orddrid"/>
- <Cell col="30" rowspan="2" text="처방의" taborder="undefined"/>
- <Cell col="31" text="의뢰지 복사"/>
- <Cell col="32" text="execprcpuniqno"/>
- <Cell col="33" text="prcpno"/>
- <Cell col="34" text="cretno"/>
- <Cell col="35" text="acptno"/>
- <Cell col="36" text="spcacptdd"/>
- <Cell col="37" text="caption1"/>
- <Cell col="38" text="caption2"/>
- <Cell col="39" text="caption3"/>
- <Cell col="40" text="caption4"/>
- <Cell col="41" text="caption5"/>
- <Cell col="42" text="caption6"/>
- <Cell col="43" text="caption7"/>
- <Cell col="44" text="caption8"/>
- <Cell col="45" text="caption9"/>
- <Cell col="46" text="caption10"/>
- <Cell col="47" text="caption11"/>
- <Cell col="48" text="caption12"/>
- <Cell col="49" text="caption13"/>
- <Cell col="50" text="caption14"/>
- <Cell col="51" text="caption15"/>
- <Cell col="52" text="caption16"/>
- <Cell col="53" text="caption17"/>
- <Cell col="54" text="caption18"/>
- <Cell col="55" text="caption19"/>
- <Cell col="56" text="caption20"/>
- <Cell col="57" text="caption21"/>
- <Cell col="58" text="caption22"/>
- <Cell col="59" text="caption23"/>
- <Cell col="60" text="caption24"/>
- <Cell col="61" text="caption25"/>
- <Cell col="62" text="caption26"/>
- <Cell col="63" text="caption27"/>
- <Cell col="64" text="caption28"/>
- <Cell col="65" text="caption29"/>
- <Cell col="66" text="caption30"/>
- <Cell col="67" text="caption31"/>
- <Cell col="68" text="caption32"/>
- <Cell col="69" text="caption33"/>
- <Cell col="70" text="caption34"/>
- <Cell col="71" text="caption35"/>
- <Cell col="72" text="caption36"/>
- <Cell col="73" text="caption37"/>
- <Cell col="74" text="caption38"/>
- <Cell col="75" text="caption39"/>
- <Cell col="76" text="caption40"/>
- <Cell col="77" text="caption41"/>
- <Cell col="78" text="caption42"/>
- <Cell col="79" text="caption43"/>
- <Cell col="80" text="caption44"/>
- <Cell col="81" text="caption45"/>
- <Cell col="82" text="caption46"/>
- <Cell col="83" text="caption47"/>
- <Cell col="84" text="caption48"/>
- <Cell col="85" text="caption49"/>
- <Cell col="86" text="caption50"/>
- <Cell col="87" text="doctid"/>
- <Cell col="88" text="caption51"/>
- <Cell col="89"/>
- <Cell col="90"/>
- <Cell col="91"/>
- <Cell col="92"/>
- <Cell col="93"/>
- <Cell col="94"/>
- <Cell col="95" rowspan="2" text="육안의사" taborder="undefined"/>
- <Cell col="96" rowspan="2" text="판독의사" taborder="undefined"/>
- <Cell row="1" text="기관코드"/>
- <Cell row="1" col="4" text="ptno"/>
- <Cell row="1" col="5" text="병리번호"/>
- <Cell row="1" col="6" text="relaptno"/>
- <Cell row="1" col="7" text="관련병리번호"/>
- <Cell row="1" col="10" text="ptno"/>
- <Cell row="1" col="11" text="병리번호"/>
- <Cell row="1" col="12" text="병리번호"/>
- <Cell row="1" col="13" text="relaptno"/>
- <Cell row="1" col="14" text="관련병리번호"/>
- <Cell row="1" col="15" text="관련병리번호"/>
- <Cell row="1" col="19" text="prcpgenrflag"/>
- <Cell row="1" col="23" text="진료일자"/>
- <Cell row="1" col="24" text="처방코드"/>
- <Cell row="1" col="25" text="spccd"/>
- <Cell row="1" col="27" text="orddeptcd"/>
- <Cell row="1" col="29" text="orddrid"/>
- <Cell row="1" col="31" text="의뢰지 복사"/>
- <Cell row="1" col="32" text="execprcpuniqno"/>
- <Cell row="1" col="33" text="prcpno"/>
- <Cell row="1" col="34" text="cretno"/>
- <Cell row="1" col="35" text="acptno"/>
- <Cell row="1" col="36" text="spcacptdd"/>
- <Cell row="1" col="37" text="caption1"/>
- <Cell row="1" col="38" text="caption2"/>
- <Cell row="1" col="39" text="caption3"/>
- <Cell row="1" col="40" text="caption4"/>
- <Cell row="1" col="41" text="caption5"/>
- <Cell row="1" col="42" text="caption6"/>
- <Cell row="1" col="43" text="caption7"/>
- <Cell row="1" col="44" text="caption8"/>
- <Cell row="1" col="45" text="caption9"/>
- <Cell row="1" col="46" text="caption10"/>
- <Cell row="1" col="47" text="caption11"/>
- <Cell row="1" col="48" text="caption12"/>
- <Cell row="1" col="49" text="caption13"/>
- <Cell row="1" col="50" text="caption14"/>
- <Cell row="1" col="51" text="caption15"/>
- <Cell row="1" col="52" text="caption16"/>
- <Cell row="1" col="53" text="caption17"/>
- <Cell row="1" col="54" text="caption18"/>
- <Cell row="1" col="55" text="caption19"/>
- <Cell row="1" col="56" text="caption20"/>
- <Cell row="1" col="57" text="caption21"/>
- <Cell row="1" col="58" text="caption22"/>
- <Cell row="1" col="59" text="caption23"/>
- <Cell row="1" col="60" text="caption24"/>
- <Cell row="1" col="61" text="caption25"/>
- <Cell row="1" col="62" text="caption26"/>
- <Cell row="1" col="63" text="caption27"/>
- <Cell row="1" col="64" text="caption28"/>
- <Cell row="1" col="65" text="caption29"/>
- <Cell row="1" col="66" text="caption30"/>
- <Cell row="1" col="67" text="caption31"/>
- <Cell row="1" col="68" text="caption32"/>
- <Cell row="1" col="69" text="caption33"/>
- <Cell row="1" col="70" text="caption34"/>
- <Cell row="1" col="71" text="caption35"/>
- <Cell row="1" col="72" text="caption36"/>
- <Cell row="1" col="73" text="caption37"/>
- <Cell row="1" col="74" text="caption38"/>
- <Cell row="1" col="75" text="caption39"/>
- <Cell row="1" col="76" text="caption40"/>
- <Cell row="1" col="77" text="caption41"/>
- <Cell row="1" col="78" text="caption42"/>
- <Cell row="1" col="79" text="caption43"/>
- <Cell row="1" col="80" text="caption44"/>
- <Cell row="1" col="81" text="caption45"/>
- <Cell row="1" col="82" text="caption46"/>
- <Cell row="1" col="83" text="tempcol19"/>
- <Cell row="1" col="84" text="caption47"/>
- <Cell row="1" col="85" text="caption48"/>
- <Cell row="1" col="86" text="caption49"/>
- <Cell row="1" col="87" text="doctid"/>
- <Cell row="1" col="88" text="doctnm"/>
- <Cell row="1" col="89" text="afcertyn"/>
- <Cell row="1" col="90" text="mskind"/>
- <Cell row="1" col="91" text="insukind"/>
- <Cell row="1" col="92" text="suppkind"/>
- <Cell row="1" col="93" text="ioflag"/>
- <Cell row="1" col="94" text="prcpsignflag"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1"/>
- <Cell col="2" text="bind:cstenm"/>
- <Cell col="3" displaytype="normal" edittype="text" text="bind:redchk" expandshow="show"/>
- <Cell col="4" text="bind:acptptno"/>
- <Cell col="5" class="text_center" text="bind:acptdispptno"/>
- <Cell col="6" text="bind:acptrelaptno"/>
- <Cell col="7" class="text_center" text="bind:acptdisprelaptno"/>
- <Cell col="8" text="bind:dschdd"/>
- <Cell col="9" class="text_center" text="bind:prcpstatnm"/>
- <Cell col="10" text="bind:ptno"/>
- <Cell col="11" class="text_center" text="bind:dispptno"/>
- <Cell col="12" class="icon_search" text="bind:ptnobtn"/>
- <Cell col="13" text="bind:relaptno"/>
- <Cell col="14" class="text_center" text="bind:disprelaptno"/>
- <Cell col="15" class="icon_search" text="bind:relaptnobtn"/>
- <Cell col="16" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="17" class="text_center" text="bind:pid"/>
- <Cell col="18" class="text_center" text="bind:patnm"/>
- <Cell col="19" text="bind:prcpgenrflag"/>
- <Cell col="20" class="text_center" text="bind:patflagnm"/>
- <Cell col="21" displaytype="date" edittype="date" class="text_center" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="22" displaytype="date" edittype="date" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
- <Cell col="23" text="bind:orddd"/>
- <Cell col="24" text="bind:prcpcd"/>
- <Cell col="25" text="bind:spccd"/>
- <Cell col="26" text="bind:spcnm"/>
- <Cell col="27" text="bind:orddeptcd"/>
- <Cell col="28" text="bind:orddeptnm"/>
- <Cell col="29" text="bind:orddrid"/>
- <Cell col="30" text="bind:orddrnm"/>
- <Cell col="31" text="bind:reqfrmno"/>
- <Cell col="32" text="bind:execprcpuniqno"/>
- <Cell col="33" text="bind:prcpno"/>
- <Cell col="34" text="bind:cretno"/>
- <Cell col="35" text="bind:acptno"/>
- <Cell col="36" text="bind:spcacptdd"/>
- <Cell col="37" text="bind:spcacptno"/>
- <Cell col="38" text="bind:bfacptdd"/>
- <Cell col="39" text="bind:bfacptno"/>
- <Cell col="40" text="bind:bfacptseqno"/>
- <Cell col="41" text="bind:reuseflagcd"/>
- <Cell col="42" text="bind:bfspcacptdd"/>
- <Cell col="43" text="bind:bfspcacptno"/>
- <Cell col="44" text="bind:acptdept"/>
- <Cell col="45" text="bind:status"/>
- <Cell col="46" text="bind:csteno"/>
- <Cell col="47" text="bind:bfcsteno"/>
- <Cell col="48" text="bind:ptnocd"/>
- <Cell col="49" text="bind:stdyptnocd"/>
- <Cell col="50" text="bind:trustptnocd"/>
- <Cell col="51" text="bind:workflagcd"/>
- <Cell col="52" text="bind:slidflagcd"/>
- <Cell col="53" text="bind:slidisscnt"/>
- <Cell col="54" text="bind:blocflagcd"/>
- <Cell col="55" text="bind:initblocno"/>
- <Cell col="56" text="bind:autokeepflagcd"/>
- <Cell col="57" text="bind:stdy_workflagcd"/>
- <Cell col="58" text="bind:stdy_slidflagcd"/>
- <Cell col="59" text="bind:stdy_slidisscnt"/>
- <Cell col="60" text="bind:stdy_blocflagcd"/>
- <Cell col="61" text="bind:stdy_initblocno"/>
- <Cell col="62" text="bind:stdy_autokeepflagcd"/>
- <Cell col="63" text="bind:grupsnglflag"/>
- <Cell col="64" text="bind:wardcd"/>
- <Cell col="65" text="bind:roomcd"/>
- <Cell col="66" text="bind:spcbarcdno"/>
- <Cell col="67" text="bind:grosdrid"/>
- <Cell col="68" text="bind:grosplgyid"/>
- <Cell col="69" text="bind:spcacptseqno"/>
- <Cell col="70" text="bind:acpttm"/>
- <Cell col="71" text="bind:prcphistno"/>
- <Cell col="72" text="bind:prcpstatcd"/>
- <Cell col="73" text="bind:grostestdd"/>
- <Cell col="74" text="bind:grostesttm"/>
- <Cell col="75" text="bind:autosave"/>
- <Cell col="76" text="bind:lendflagcd"/>
- <Cell col="77" text="bind:trandd"/>
- <Cell col="78" text="bind:tranno"/>
- <Cell col="79" text="bind:transeqno"/>
- <Cell col="80" text="bind:spctranbarcdno"/>
- <Cell col="81" text="bind:spctrandd"/>
- <Cell col="82" text="bind:spctranno"/>
- <Cell col="83" text="bind:tempcol19"/>
- <Cell col="84" text="bind:signbfcnts"/>
- <Cell col="85" text="bind:signafcnts"/>
- <Cell col="86" text="bind:orgaddflagcd"/>
- <Cell col="87" text="bind:doctid"/>
- <Cell col="88" text="bind:doctnm"/>
- <Cell col="89" text="bind:afcertyn"/>
- <Cell col="90" text="bind:mskind"/>
- <Cell col="91" text="bind:insukind"/>
- <Cell col="92" text="bind:suppkind"/>
- <Cell col="93" text="bind:ioflag"/>
- <Cell col="94" text="bind:prcpsignflag"/>
- <Cell col="95" text="bind:grosdrnm"/>
- <Cell col="96" text="bind:readdrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="bol_autosave" taborder="15" visible="false" position="absolute 675 382 800 402" anchor="default" text="자동접수" truevalue="1" falsevalue="0"/>
- <CheckBox id="bol_lendflagcd" taborder="16" visible="false" position="absolute 550 382 664 402" anchor="default" text="원본대출처방" truevalue="1" falsevalue="0"/>
- <Button id="btn_outoch1" taborder="17" text="한글정렬" class="btn2" position="absolute 1130 97 1194 116" onclick="div_all_btn_outoch1_onclick" anchor="default">
- <Layouts>
- <Layout width="64" height="19"/>
- </Layouts>
- </Button>
- <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">
- <Layouts>
- <Layout width="64" height="19"/>
- </Layouts>
- </Button>
- <Div id="grp_refcmts" taborder="19" visible="false" position="absolute 140 242 769 422" anchor="default" style="border:1 solid #ff0000ff ;">
- <Layouts>
- <Layout>
- <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"/>
- <TextArea id="txt_refcmts" taborder="4" position="absolute 2 1 624 151" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptnonm" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testengnm" type="STRING"/>
- <Column id="testengabbr" type="STRING"/>
- <Column id="testhngnm" type="STRING"/>
- <Column id="testhngabbr" type="STRING"/>
- <Column id="acptdept" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- <Column id="stdyptnocd" type="STRING"/>
- <Column id="trustptnocd" type="STRING"/>
- <Column id="workflagcd" type="STRING"/>
- <Column id="slidflagcd" type="STRING"/>
- <Column id="slidisscnt" type="STRING"/>
- <Column id="blocflagcd" type="STRING"/>
- <Column id="initblocno" type="STRING"/>
- <Column id="autokeepflagcd" type="STRING"/>
- <Column id="stdy_workflagcd" type="STRING"/>
- <Column id="stdy_slidflagcd" type="STRING"/>
- <Column id="stdy_slidisscnt" type="STRING"/>
- <Column id="stdy_blocflagcd" type="STRING"/>
- <Column id="stdy_initblocno" type="STRING"/>
- <Column id="stdy_autokeepflagcd" type="STRING"/>
- <Column id="ptnonewflagcd" type="STRING"/>
- <Column id="orgaddflagcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="patflagnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpdt" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="spcacptdd" type="STRING"/>
- <Column id="spcacptno" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_acptspclist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="spcacptdd" type="STRING"/>
- <Column id="spcacptno" type="STRING"/>
- <Column id="spcacptseqno" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="csteno" type="STRING"/>
- <Column id="cstenm" type="STRING"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="prcpstatcd" type="STRING" size="256"/>
- <Column id="cstecnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="cstenm" type="STRING"/>
- <Column id="redchk" type="STRING"/>
- <Column id="acptptno" type="STRING"/>
- <Column id="acptdispptno" type="STRING"/>
- <Column id="acptrelaptno" type="STRING"/>
- <Column id="acptdisprelaptno" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="prcpstatnm" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="ptnobtn" type="STRING"/>
- <Column id="relaptno" type="STRING"/>
- <Column id="disprelaptno" type="STRING"/>
- <Column id="relaptnobtn" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="patflagnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="reqfrmno" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="spcacptdd" type="STRING"/>
- <Column id="spcacptno" type="STRING"/>
- <Column id="bfacptdd" type="STRING"/>
- <Column id="bfacptno" type="STRING"/>
- <Column id="bfacptseqno" type="STRING"/>
- <Column id="reuseflagcd" type="STRING"/>
- <Column id="bfspcacptdd" type="STRING"/>
- <Column id="bfspcacptno" type="STRING"/>
- <Column id="acptdept" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="csteno" type="STRING"/>
- <Column id="bfcsteno" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- <Column id="stdyptnocd" type="STRING"/>
- <Column id="trustptnocd" type="STRING"/>
- <Column id="workflagcd" type="STRING"/>
- <Column id="slidflagcd" type="STRING"/>
- <Column id="slidisscnt" type="STRING"/>
- <Column id="blocflagcd" type="STRING"/>
- <Column id="initblocno" type="STRING"/>
- <Column id="autokeepflagcd" type="STRING"/>
- <Column id="stdy_workflagcd" type="STRING"/>
- <Column id="stdy_slidflagcd" type="STRING"/>
- <Column id="stdy_slidisscnt" type="STRING"/>
- <Column id="stdy_blocflagcd" type="STRING"/>
- <Column id="stdy_initblocno" type="STRING"/>
- <Column id="stdy_autokeepflagcd" type="STRING"/>
- <Column id="grupsnglflag" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="spcbarcdno" type="STRING"/>
- <Column id="grosdrid" type="STRING"/>
- <Column id="grosplgyid" type="STRING"/>
- <Column id="spcacptseqno" type="STRING"/>
- <Column id="acpttm" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="grostestdd" type="STRING"/>
- <Column id="grostesttm" type="STRING"/>
- <Column id="autosave" type="STRING"/>
- <Column id="lendflagcd" type="STRING"/>
- <Column id="trandd" type="STRING"/>
- <Column id="tranno" type="STRING"/>
- <Column id="transeqno" type="STRING"/>
- <Column id="spctranbarcdno" type="STRING"/>
- <Column id="spctrandd" type="STRING"/>
- <Column id="spctranno" type="STRING"/>
- <Column id="tempcol19" type="STRING"/>
- <Column id="signbfcnts" type="STRING"/>
- <Column id="signafcnts" type="STRING"/>
- <Column id="orgaddflagcd" type="STRING"/>
- <Column id="doctid" type="STRING"/>
- <Column id="doctnm" type="STRING"/>
- <Column id="afcertyn" type="STRING"/>
- <Column id="mskind" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="suppkind" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="prcpsignflag" type="STRING"/>
- <Column id="grosdrnm" type="STRING"/>
- <Column id="readdrnm" type="STRING"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="tempprcpcd" type="STRING" size="256"/>
- <Column id="tempprcpnm" type="STRING" size="256"/>
- <Column id="tempstatus" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_readdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ptnocdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="ptnocd" type="STRING" size="256" sumtext="병리번호"/>
- <Column id="ptnonm" type="STRING" size="256" sumtext="병리번호명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prcpkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="lvl" type="STRING" size="256" sumtext="Level"/>
- <Column id="earncls1" type="STRING" size="256" sumtext="수익분류1"/>
- <Column id="earncls2" type="STRING" size="256" sumtext="수익분류2"/>
- <Column id="earncls3" type="STRING" size="256" sumtext="수익분류3"/>
- <Column id="earnclsnm" type="STRING" size="256" sumtext="수익분류명"/>
- <Column id="earnclskey" type="STRING" size="256" sumtext="수익분류Key"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="lendrtnterm" type="STRING" size="256"/>
- <Column id="recvqualmthdcd" type="STRING" size="256"/>
- <Column id="plgydeptcd" type="STRING" size="256"/>
- <Column id="plgyteamcd" type="STRING" size="256"/>
- <Column id="doctjobgradcd" type="STRING" size="256"/>
- <Column id="teamjobgradcd" type="STRING" size="256"/>
- <Column id="autoacptflagcd" type="STRING" size="256"/>
- <Column id="norcptacptyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256" sumtext="선택"/>
- <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="prcpflagcd" type="STRING" size="256"/>
- <Column id="refmthdcd" type="STRING" size="256"/>
- <Column id="refval" type="STRING" size="256"/>
- <Column id="prcprowno" type="STRING" size="256"/>
- <Column id="ptnocode" type="STRING" size="256"/>
- <Column id="fromyear" type="STRING" size="256"/>
- <Column id="fromptno" type="STRING" size="256"/>
- <Column id="lendflagcd" type="STRING" size="256"/>
- <Column id="autosave" type="STRING" size="256"/>
- <Column id="prcpfromdd" type="STRING" size="256"/>
- <Column id="prcptodd" type="STRING" size="256"/>
- <Column id="srchcond11" type="STRING" size="256"/>
- <Column id="srchcond21" type="STRING" size="256"/>
- <Column id="srchcond1" type="STRING" size="256"/>
- <Column id="srchcond2" type="STRING" size="256"/>
- <Column id="srchcond3" type="STRING" size="256"/>
- <Column id="srchcond4" type="STRING" size="256"/>
- <Column id="srchcond5" type="STRING" size="256"/>
- <Column id="srchcond6" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="passflag" type="STRING" size="256"/>
- <Column id="paminfoyn" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="hosinprcpresncd" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpkindcd" type="STRING" size="256"/>
- <Column id="cond1" type="STRING" size="256"/>
- <Column id="cond7" type="STRING" size="256"/>
- <Column id="refcmts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond11">P</Col>
- <Col id="srchcond21">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_bcoll" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <Column id="chk" type="STRING" size="256" sumtext="체크"/>
- <Column id="tiyn" type="STRING" size="256" sumtext="체크2"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="병동"/>
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256" sumtext="체크"/>
- <Column id="tiyn" type="STRING" size="256" sumtext="체크2"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="병동"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hospenv" type="STRING" size="256"/>
- <Column id="readdrid" type="STRING" size="256"/>
- <Column id="afcertyn" type="STRING" size="256"/>
- <Column id="sortkind" type="STRING" size="256"/>
- <Column id="prcpsignflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sortkind">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="INT" size="256" sumtext="level값"/>
- <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
- <Column id="settypecd" type="STRING" size="256" sumtext="set종류코드"/>
- <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
- <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
- <Column id="setclscd" type="STRING" size="256" sumtext="set분류코드"/>
- <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
- <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
- <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="setrefseq" type="STRING" size="256" sumtext="순서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_acptspclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
- <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
- <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
- <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
- <Column id="cstecnts" type="STRING" size="256" sumtext="Cassette내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_acptprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="cstenm" type="STRING" size="256" sumtext="블럭명"/>
- <Column id="redchk" type="STRING" size="256" sumtext="비고"/>
- <Column id="acptptno" type="STRING" size="256" sumtext="접수병리번호"/>
- <Column id="acptdispptno" type="STRING" size="256" sumtext="접수표시병리번호"/>
- <Column id="acptrealptno" type="STRING" size="256" sumtext="접수관련병리번호"/>
- <Column id="acptdisprelaptno" type="STRING" size="256" sumtext="접수표시관련병리번호"/>
- <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
- <Column id="dispptno" type="STRING" size="256" sumtext="표시병리번호"/>
- <Column id="ptnobtn" type="STRING" size="256" sumtext="-"/>
- <Column id="realptno" type="STRING" size="256" sumtext="관련병리번호"/>
- <Column id="disprelaptno" type="STRING" size="256" sumtext="표시관련병리번호"/>
- <Column id="relaptnobtn" type="STRING" size="256" sumtext="-"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
- <Column id="patflagnm" type="STRING" size="256" sumtext="환자구분명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원(예정)일자"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실시처방유일번호"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
- <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
- <Column id="bfacptdd" type="STRING" size="256" sumtext="이전접수일자"/>
- <Column id="bfacptno" type="STRING" size="256" sumtext="이전접수번호"/>
- <Column id="bfacptseqno" type="STRING" size="256" sumtext="이전접수일련번호"/>
- <Column id="reuseflagcd" type="STRING" size="256" sumtext="재사용구분코드"/>
- <Column id="bfspcacptdd" type="STRING" size="256" sumtext="이전검체접수일자"/>
- <Column id="bfspcacptno" type="STRING" size="256" sumtext="이전검체접수번호"/>
- <Column id="acptdept" type="STRING" size="256" sumtext="처방실시부서코드"/>
- <Column id="status" type="STRING" size="256" sumtext="등록상태"/>
- <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
- <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
- <Column id="csteno" type="STRING" size="256" sumtext="이전Cassette번호"/>
- <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
- <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
- <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
- <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
- <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
- <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
- <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
- <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
- <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
- <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
- <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
- <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
- <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
- <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
- <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="Group/Single"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="grosdrid" type="STRING" size="256" sumtext="육안검사의ID"/>
- <Column id="grosplgyid" type="STRING" size="256" sumtext="육안병리사ID"/>
- <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
- <Column id="prcpstatcd" type="STRING" size="256" sumtext="처방상태코드"/>
- <Column id="prcpstatnm" type="STRING" size="256" sumtext="처방상태코드"/>
- <Column id="grostestdd" type="STRING" size="256" sumtext="육안검사일자"/>
- <Column id="grostesttm" type="STRING" size="256" sumtext="육안검사시간"/>
- <Column id="autosave" type="STRING" size="256" sumtext="자동접수(1:자동)"/>
- <Column id="lendflagcd" type="STRING" size="256" sumtext="원본대출반환여부"/>
- <Column id="trandd" type="STRING" size="256" sumtext="전송일자"/>
- <Column id="tranno" type="STRING" size="256" sumtext="전송시간"/>
- <Column id="transeqno" type="STRING" size="256" sumtext="전송일련번호"/>
- <Column id="spctranbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="spctrandd" type="STRING" size="256" sumtext="검체전송일자"/>
- <Column id="spctranno" type="STRING" size="256" sumtext="검체전송번호"/>
- <Column id="signbfcnts" type="STRING" size="256" sumtext="암호화이전"/>
- <Column id="signafcnts" type="STRING" size="256" sumtext="암호화이후"/>
- <Column id="doctid" type="STRING" size="256" sumtext="후인증의사ID"/>
- <Column id="doctnm" type="STRING" size="256" sumtext="후인증의사명"/>
- <Column id="afcertyn" type="STRING" size="256" sumtext="후인증여부"/>
- <Column id="mskind" type="STRING" size="256" sumtext=""/>
- <Column id="insukind" type="STRING" size="256" sumtext=""/>
- <Column id="suppkind" type="STRING" size="256" sumtext=""/>
- <Column id="ioflag" type="STRING" size="256" sumtext=""/>
- <Column id="grosdrnm" type="STRING" size="256" sumtext="육안의사명"/>
- <Column id="readdrnm" type="STRING" size="256" sumtext="판독의사명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_outpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
- <Column id="orgcretno" type="STRING" size="256" sumtext="원생성번호"/>
- <Column id="calcbaseflag" type="STRING" size="256" sumtext="계산기준구분"/>
- <Column id="calcyn" type="STRING" size="256" sumtext="정산여부"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="medamtestmyn" type="STRING" size="256" sumtext="진찰료산정여부"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수여부"/>
- <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험번호"/>
- <Column id="nursacptyn" type="STRING" size="256" sumtext="간호접수여부"/>
- <Column id="nursacptdt" type="STRING" size="256" sumtext="간호접수일자"/>
- <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
- <Column id="dracptdt" type="STRING" size="256" sumtext="의사접수일자"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
- <Column id="prcpnotoccrresn" type="STRING" size="256" sumtext="처방미발생사유코드"/>
- <Column id="estmspclappyn" type="STRING" size="256" sumtext="산정특례적용여부"/>
- <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태"/>
- <Column id="elbulbodstatdt" type="STRING" size="256" sumtext="전광판상태일시"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
- <Column id="tranindd" type="STRING" size="256" sumtext="외래입원전환"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
- <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀,난치여부"/>
- <Column id="etcordflag" type="STRING" size="256" sumtext="가정간호여부등 가접수구분"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택구분"/>
- <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_errlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="prcperr" type="STRING" size="256" sumtext="처방오류내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- <Column id="chinm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="brthdd" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="bindpid" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="etctel1" type="STRING" size="256"/>
- <Column id="etctel2" type="STRING" size="256"/>
- <Column id="smsaprvyn" type="STRING" size="256"/>
- <Column id="email" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="zipcdseq" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="btype" type="STRING" size="256"/>
- <Column id="rh" type="STRING" size="256"/>
- <Column id="forgeryn" type="STRING" size="256"/>
- <Column id="nati" type="STRING" size="256"/>
- <Column id="psptno" type="STRING" size="256"/>
- <Column id="recmyn" type="STRING" size="256"/>
- <Column id="recmerid" type="STRING" size="256"/>
- <Column id="recmerrela" type="STRING" size="256"/>
- <Column id="vipyn" type="STRING" size="256"/>
- <Column id="viprem" type="STRING" size="256"/>
- <Column id="religncd" type="STRING" size="256"/>
- <Column id="baptnm" type="STRING" size="256"/>
- <Column id="chchnm" type="STRING" size="256"/>
- <Column id="dethyn" type="STRING" size="256"/>
- <Column id="dethdt" type="STRING" size="256"/>
- <Column id="chosresn" type="STRING" size="256"/>
- <Column id="animyn" type="STRING" size="256"/>
- <Column id="exptresncd" type="STRING" size="256"/>
- <Column id="inhospyn" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="outuncoamt" type="STRING" size="256"/>
- <Column id="dschuncoamt" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patmaintopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="환자명2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="ininfo" type="STRING" size="256" sumtext="입원정보"/>
- <Column id="body" type="STRING" size="256" sumtext="신체사정"/>
- <Column id="orddept" type="STRING" size="256" sumtext="부서"/>
- <Column id="apntdr" type="STRING" size="256" sumtext="지정의"/>
- <Column id="attndr" type="STRING" size="256" sumtext="주치의"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="diagnosis" type="STRING" size="256" sumtext="진단"/>
- <Column id="operation" type="STRING" size="256" sumtext="수술"/>
- <Column id="allergy" type="STRING" size="256" sumtext="알러지"/>
- <Column id="infection" type="STRING" size="256" sumtext="감염"/>
- <Column id="intcare" type="STRING" size="256" sumtext="중증"/>
- <Column id="cp" type="STRING" size="256" sumtext="CP여부"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG환자여부 "/>
- <Column id="regstno" type="STRING" size="256" sumtext="주민번호 뒷자리"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="phontel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="cnsttypenm" type="STRING" size="256" sumtext="협진분류명"/>
- <Column id="newallergy" type="STRING" size="256" sumtext="뉴알러지"/>
- <Column id="healexam" type="STRING" size="256" sumtext="건진여부"/>
- <Column id="vip" type="STRING" size="256" sumtext="vip여부"/>
- <Column id="coop" type="STRING" size="256" sumtext="의료협력"/>
- <Column id="recovwardnm" type="STRING" size="256" sumtext="회복병동코드"/>
- <Column id="stgediagnm" type="STRING" size="256" sumtext="병기분류 진단코드"/>
- <Column id="stgediagcd" type="STRING" size="256" sumtext="병기분류 진단명"/>
- <Column id="stagecd" type="STRING" size="256" sumtext="병기분류 stagecd"/>
- <Column id="tnmcd1" type="STRING" size="256" sumtext="병기분류 tnmcd1"/>
- <Column id="tnmcd2" type="STRING" size="256" sumtext="병기분류 tnmcd2"/>
- <Column id="tnmcd3" type="STRING" size="256" sumtext="병기분류 tnmcd3"/>
- <Column id="insuyn" type="STRING" size="256" sumtext="보험종류에 따른 플레그값(급여, 자보일경우 Y"/>
- <Column id="organ" type="STRING" size="256" sumtext="이식"/>
- <Column id="dinfo" type="STRING" size="256" sumtext="낙상"/>
- <Column id="binfo" type="STRING" size="256" sumtext="욕창"/>
- <Column id="pinfo" type="STRING" size="256" sumtext="사생활"/>
- <Column id="nutinfo" type="STRING" size="256" sumtext="영양고위험"/>
- <Column id="recmer" type="STRING" size="256" sumtext="지인유무"/>
- <Column id="recmerinfo" type="STRING" size="256" sumtext="지인정보"/>
- <Column id="schoolflag" type="STRING" size="256" sumtext="경대교직원"/>
- <Column id="errwarnmsg" type="STRING" size="256" sumtext="주의요망오류메세지"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_outpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="외래입원구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="orddd" type="STRING" size="255"/>
- <Column id="cretno" type="BIGDECIMAL" size="255"/>
- <Column id="acptseqno" type="BIGDECIMAL" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="orgorddd" type="STRING" size="255"/>
- <Column id="orgcretno" type="BIGDECIMAL" size="255"/>
- <Column id="calcbaseflag" type="STRING" size="255"/>
- <Column id="calcyn" type="STRING" size="255"/>
- <Column id="ordtm" type="STRING" size="255"/>
- <Column id="centcd" type="STRING" size="255"/>
- <Column id="centernm" type="STRING" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="subdeptcd" type="STRING" size="255"/>
- <Column id="orddrid" type="STRING" size="255"/>
- <Column id="mskind" type="STRING" size="255"/>
- <Column id="insukind" type="STRING" size="255"/>
- <Column id="suppkind" type="STRING" size="255"/>
- <Column id="specordyn" type="STRING" size="255"/>
- <Column id="fsexamflag" type="STRING" size="255"/>
- <Column id="ordtype" type="STRING" size="255"/>
- <Column id="medamtestmyn" type="STRING" size="255"/>
- <Column id="rsrvflag" type="STRING" size="255"/>
- <Column id="hosoutexptresncd" type="STRING" size="255"/>
- <Column id="clincstdyacptflag" type="STRING" size="255"/>
- <Column id="clincstdyno" type="STRING" size="255"/>
- <Column id="nursacptyn" type="STRING" size="255"/>
- <Column id="nursacptdt" type="STRING" size="255"/>
- <Column id="dracptyn" type="STRING" size="255"/>
- <Column id="dracptdt" type="STRING" size="255"/>
- <Column id="prcpgenryn" type="STRING" size="255"/>
- <Column id="prcpnotoccrresn" type="STRING" size="255"/>
- <Column id="estmspclappyn" type="STRING" size="255"/>
- <Column id="elbulbodstat" type="STRING" size="255"/>
- <Column id="elbulbodstatdt" type="STRING" size="255"/>
- <Column id="histstat" type="STRING" size="255"/>
- <Column id="etcordflag" type="STRING" size="255"/>
- <Column id="medamtpostyn" type="STRING" size="255"/>
- <Column id="dnoracptyn" type="STRING" size="255"/>
- <Column id="hngnm" type="STRING" size="255"/>
- <Column id="hngnm2" type="STRING" size="255"/>
- <Column id="dispnm1" type="STRING" size="255"/>
- <Column id="dispnm2" type="STRING" size="255"/>
- <Column id="sex" type="STRING" size="255"/>
- <Column id="rrgstno1" type="STRING" size="255"/>
- <Column id="rrgstno2" type="STRING" size="255"/>
- <Column id="nonprgresncd" type="STRING" size="255"/>
- <Column id="nonprgresncnts" type="STRING" size="255"/>
- <Column id="age" type="STRING" size="255"/>
- <Column id="ioflag" type="STRING" size="255"/>
- <Column id="mainjudgid" type="STRING" size="255"/>
- <Column id="prcplockid" type="STRING" size="255"/>
- <Column id="tranindd" type="STRING" size="255"/>
- <Column id="orddrnm" type="STRING" size="255"/>
- <Column id="orddeptnm" type="STRING" size="255"/>
- <Column id="rareobstflag" type="STRING" size="255"/>
- <Column id="tranflag" type="STRING" size="255"/>
- <Column id="autoformcd" type="STRING" size="255"/>
- <Column id="prcptdayaftrcptyn" type="STRING" size="255"/>
- <Column id="rcptvipresncd" type="STRING" size="255"/>
- <Column id="rcptvipetcresn" type="STRING" size="255"/>
- <Column id="coopteamcd" type="STRING" size="255"/>
- <Column id="coopteamnm" type="STRING" size="255"/>
- <Column id="scndyn" type="STRING" size="255"/>
- <Column id="specordtypenm" type="STRING" size="255"/>
- <Column id="specordtype" type="STRING" size="255"/>
- <Column id="hometel" type="STRING" size="255"/>
- <Column id="mpphontel" type="STRING" size="255"/>
- <Column id="bfjudgvalue" type="STRING" size="255"/>
- <Column id="warnmsg" type="STRING" size="255"/>
- <Column id="durdiagyn" type="STRING" size="255"/>
- <Column id="replyn" type="STRING" size="255"/>
- <Column id="repltypenm" type="STRING" size="255"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_topinfo_outpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
- <Column id="orgcretno" type="STRING" size="256" sumtext="원생성번호"/>
- <Column id="calcbaseflag" type="STRING" size="256" sumtext="계산기준구분"/>
- <Column id="calcyn" type="STRING" size="256" sumtext="정산여부"/>
- <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="medamtestmyn" type="STRING" size="256" sumtext="진찰료산정여부"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
- <Column id="clincstdyacptflag" type="STRING" size="256" sumtext="임상시험접수여부"/>
- <Column id="clincstdyno" type="STRING" size="256" sumtext="임상시험번호"/>
- <Column id="nursacptyn" type="STRING" size="256" sumtext="간호접수여부"/>
- <Column id="nursacptdt" type="STRING" size="256" sumtext="간호접수일자"/>
- <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
- <Column id="dracptdt" type="STRING" size="256" sumtext="의사접수일자"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
- <Column id="prcpnotoccrresn" type="STRING" size="256" sumtext="처방미발생사유코드"/>
- <Column id="estmspclappyn" type="STRING" size="256" sumtext="산정특례적용여부"/>
- <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태"/>
- <Column id="elbulbodstatdt" type="STRING" size="256" sumtext="전광판상태일시"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
- <Column id="tranindd" type="STRING" size="256" sumtext="외래입원전환"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
- <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발생여부"/>
- <Column id="rareobstflag" type="STRING" size="256" sumtext="희귀,난치여부"/>
- <Column id="etcordflag" type="STRING" size="256" sumtext="가정간호여부등 가접수구분"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택구분"/>
- <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
- <Column id="indschacptstat" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_topinfo_outpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_topinfo_patmaintopinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_dethinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <FilteredDataset id="ds_doctor" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_userinfolist" filterstr="jobkindcd == 1"/>
- <Dataset id="ds_topinfo_inpatpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="hospbrthyn" type="STRING" size="256" sumtext="본원출생여부"/>
- <Column id="rsrvinyn" type="STRING" size="256" sumtext="예약입원여부"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원일시"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
- <Column id="dschtype" type="STRING" size="256" sumtext="퇴원형태"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="전문의ID"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태코드"/>
- <Column id="rqsthospcd" type="STRING" size="256" sumtext="협력의뢰병원코드"/>
- <Column id="rqstdrid" type="STRING" size="256" sumtext="협력의뢰의사"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="bmtyn" type="STRING" size="256" sumtext="BMT여부"/>
- <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
- <Column id="batlockid" type="STRING" size="256" sumtext="BATCH잠김ID"/>
- <Column id="batlockyn" type="STRING" size="256" sumtext="BATCH잠김여부"/>
- <Column id="ordcostretcdd" type="STRING" size="256" sumtext="진료비소급일자"/>
- <Column id="ordcostcalcdd" type="STRING" size="256" sumtext="진료비계산일자"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일시"/>
- <Column id="dschdclrtrgstid" type="STRING" size="256" sumtext="퇴원예고등록자ID"/>
- <Column id="dschdclrtrgstnm" type="STRING" size="256" sumtext="퇴원예고등록자명"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고등록일시"/>
- <Column id="dschrgstacptdt" type="STRING" size="256" sumtext="퇴원등록접수일시"/>
- <Column id="dschrgstacptchar" type="STRING" size="256" sumtext="퇴원등록접수담당자ID"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보일시"/>
- <Column id="dschnotirgstid" type="STRING" size="256" sumtext="퇴원통보등록자ID"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원통보등록일시"/>
- <Column id="calclastdd" type="STRING" size="256" sumtext="정산최종일자"/>
- <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="퇴원심사진행상태"/>
- <Column id="lastjudgdd" type="STRING" size="256" sumtext="최종심사일자"/>
- <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종중간청구일자"/>
- <Column id="lastjudgendid" type="STRING" size="256" sumtext="최종심사완료자ID"/>
- <Column id="spcljudgflag" type="STRING" size="256" sumtext="선별심사여부"/>
- <Column id="mainjudgid" type="STRING" size="256" sumtext="주심사자ID"/>
- <Column id="icdr_roomgrdecd" type="STRING" size="256" sumtext="전실이력병실등급코드"/>
- <Column id="icdr_roomtypecd" type="STRING" size="256" sumtext="전실이력병실형태코드"/>
- <Column id="icdr_wardcd2" type="STRING" size="256" sumtext="전실이력병동코드2"/>
- <Column id="icdr_roomcd2" type="STRING" size="256" sumtext="전실이력병실코드2"/>
- <Column id="icdr_roomgrdecd2" type="STRING" size="256" sumtext="전실이력병실등급코드2"/>
- <Column id="icdr_roomtypecd2" type="STRING" size="256" sumtext="전실이력병실형태코드2"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="환자이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="hospiceyn" type="STRING" size="256" sumtext="호스피스여부"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="brateflag" type="STRING" size="256" sumtext="부담률구분"/>
- <Column id="ermngtamtcalcyn" type="STRING" size="256" sumtext="응급의학관리료산정여부"/>
- <Column id="erbrthflag" type="STRING" size="256" sumtext="응급분만구분"/>
- <Column id="erchospath" type="STRING" size="256" sumtext="응급내원경로"/>
- <Column id="erorddeptcd" type="STRING" size="256" sumtext="응급진료과코드"/>
- <Column id="eroutdt" type="STRING" size="256" sumtext="응급퇴실일자"/>
- <Column id="careinrmdd" type="STRING" size="256" sumtext="간호입실일자"/>
- <Column id="careinrmtm" type="STRING" size="256" sumtext="간호입실시간"/>
- <Column id="careinrmrgstrid" type="STRING" size="256" sumtext="간호입실등록자ID"/>
- <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCK ID"/>
- <Column id="iprcaddyn" type="STRING" size="256" sumtext="추가처방 가능여부(심사실가퇴원)"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외사유코드"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="원외사유코드"/>
- <Column id="calcdd" type="STRING" size="256" sumtext="계산일자"/>
- <Column id="calctm" type="STRING" size="256" sumtext="계산시간"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="일괄선택"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="bedposcntscd" type="STRING" size="256" sumtext="응급실 Bed 정보"/>
- <Column id="bedposcnts" type="STRING" size="256" sumtext="응급실 Bed 정보"/>
- <Column id="basetypecd" type="STRING" size="256" sumtext="구역정보"/>
- <Column id="typenm" type="STRING" size="256" sumtext="구역정보"/>
- <Column id="opfeechkyn" type="STRING" size="256" sumtext="수술료입력여부"/>
- <Column id="erissdeptcd" type="STRING" size="256" sumtext="응급발행부서"/>
- <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_topinfo_patmaintopinfo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="환자명2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="ininfo" type="STRING" size="256" sumtext="입원정보"/>
- <Column id="body" type="STRING" size="256" sumtext="신체사정"/>
- <Column id="orddept" type="STRING" size="256" sumtext="부서"/>
- <Column id="apntdr" type="STRING" size="256" sumtext="지정의"/>
- <Column id="attndr" type="STRING" size="256" sumtext="주치의"/>
- <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
- <Column id="diagnosis" type="STRING" size="256" sumtext="진단"/>
- <Column id="operation" type="STRING" size="256" sumtext="수술"/>
- <Column id="allergy" type="STRING" size="256" sumtext="알러지"/>
- <Column id="infection" type="STRING" size="256" sumtext="감염"/>
- <Column id="intcare" type="STRING" size="256" sumtext="중증"/>
- <Column id="cp" type="STRING" size="256" sumtext="CP여부"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG환자여부 "/>
- <Column id="regstno" type="STRING" size="256" sumtext="주민번호 뒷자리"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="phontel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="cnsttypenm" type="STRING" size="256" sumtext="협진분류명"/>
- <Column id="newallergy" type="STRING" size="256" sumtext="뉴알러지"/>
- <Column id="schoolflag" type="STRING" size="256" sumtext="경대교직원"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_topinfo_inpatflaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="외래/입원구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_followup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cond1" type="STRING" size="256" sumtext="검색조건 (1:등록번호, 2:이름)"/>
- <Column id="cond2" type="STRING" size="256" sumtext="등록번호 또는 이름"/>
- <Column id="cond3" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="cond4" type="STRING" size="256" sumtext="원무키 기준 조회 여부 (Y/N) : N (이름)"/>
- <Column id="cond5" type="STRING" size="256" sumtext="당일기준 조회 여부 (Y/N)"/>
- <Column id="cond6" type="STRING" size="256" sumtext="외래/입원 테이블 구분 (O:외래/I:입원/-:전체)"/>
- <Column id="cond7" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cond8" type="STRING" size="256" sumtext="진료일자 (입원일자)"/>
- <Column id="cond9" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="cond10" type="STRING" size="256" sumtext="fromdd"/>
- <Column id="cond11" type="STRING" size="256" sumtext="todd"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patordinfo_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생일"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰"/>
- <Column id="etctel1" type="STRING" size="256" sumtext="기타연락처"/>
- <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
- <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
- <Column id="zipcdseq" type="STRING" size="256" sumtext="우편번호seq"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="email" type="STRING" size="256" sumtext="이메일"/>
- <Column id="recmyn" type="STRING" size="256" sumtext="관계여부"/>
- <Column id="recmernm" type="STRING" size="256" sumtext="관계"/>
- <Column id="recmerrela" type="STRING" size="256" sumtext="종교"/>
- <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
- <Column id="viprem" type="STRING" size="256" sumtext="VIP"/>
- <Column id="religncd" type="STRING" size="256" sumtext="종교"/>
- <Column id="remfact" type="STRING" size="256" sumtext="참고"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자 (입원일 경우 입원일자)"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="acptseqno" type="STRING" size="256" sumtext="접수일련번호 (입원일 경우 seqno)"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료부서명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="drvalidyn" type="STRING" size="256" sumtext="진료의퇴직유무"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="진료의특진유무"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="insukindcd" type="STRING" size="256" sumtext="보험유형코드"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_addprcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="cstenm" type="STRING" size="256" sumtext="블럭명"/>
- <Column id="redchk" type="STRING" size="256" sumtext="비고"/>
- <Column id="acptptno" type="STRING" size="256" sumtext="접수병리번호"/>
- <Column id="acptrelaptno" type="STRING" size="256" sumtext="접수관련병리번호"/>
- <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
- <Column id="relaptno" type="STRING" size="256" sumtext="관련병리번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="prcpgenrflag" type="STRING" size="256" sumtext="처방발생구분"/>
- <Column id="patflagnm" type="STRING" size="256" sumtext="환자구분명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="처방의ID"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="처방의명"/>
- <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="execprcpuniqno" type="STRING" size="256" sumtext="실치처방유일번호"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무키번호"/>
- <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
- <Column id="spcacptdd" type="STRING" size="256" sumtext="검체접수일자"/>
- <Column id="spcacptno" type="STRING" size="256" sumtext="검체접수번호"/>
- <Column id="spcacptseqno" type="STRING" size="256" sumtext="검체접수일련번호"/>
- <Column id="csteno" type="STRING" size="256" sumtext="Cassette번호"/>
- <Column id="bfacptdd" type="STRING" size="256" sumtext="이전접수일자"/>
- <Column id="bfacptno" type="STRING" size="256" sumtext="이전접수번호"/>
- <Column id="bfacptseqno" type="STRING" size="256" sumtext="이전접수일련번호"/>
- <Column id="reuseflagcd" type="STRING" size="256" sumtext="재사용구분코드"/>
- <Column id="bfspcacptdd" type="STRING" size="256" sumtext="이전검체접수일자"/>
- <Column id="bfspcacptno" type="STRING" size="256" sumtext="이전검체접수번호"/>
- <Column id="acptdept" type="STRING" size="256" sumtext="접수부서"/>
- <Column id="status" type="STRING" size="256" sumtext="등록여부"/>
- <Column id="bfcsteno" type="STRING" size="256" sumtext="이전Cassette번호"/>
- <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
- <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
- <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
- <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
- <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
- <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
- <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
- <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
- <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
- <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
- <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
- <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
- <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
- <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
- <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="Group/Single"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="grosdrid" type="STRING" size="256" sumtext="육안검사의ID"/>
- <Column id="grosplgyid" type="STRING" size="256" sumtext="육안병리사ID"/>
- <Column id="acpttm" type="STRING" size="256" sumtext="접수시간"/>
- <Column id="m" type="STRING" size="256" sumtext="상태"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력번호"/>
- <Column id="grostestdd" type="STRING" size="256" sumtext="육안검사일자"/>
- <Column id="grostesttm" type="STRING" size="256" sumtext="육안검사시간"/>
- <Column id="autosave" type="STRING" size="256" sumtext="자동접수"/>
- <Column id="lendflagcd" type="STRING" size="256" sumtext="원본대출반혼여부"/>
- <Column id="trandd" type="STRING" size="256" sumtext="전송일자"/>
- <Column id="tranno" type="STRING" size="256" sumtext="전송시간"/>
- <Column id="transeqno" type="STRING" size="256" sumtext="전송일련번호"/>
- <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="spctrandd" type="STRING" size="256" sumtext="검체전송일자"/>
- <Column id="spctranno" type="STRING" size="256" sumtext="검체전송번호"/>
- <Column id="spcbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="spctranbarcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="tempcol19" type="STRING" size="256" sumtext="과거처방사유"/>
- <Column id="signbfcnts" type="STRING" size="256" sumtext="암호화이전"/>
- <Column id="signafcnts" type="STRING" size="256" sumtext="암호화이후"/>
- <Column id="orgaddflagcd" type="STRING" size="256" sumtext="원처방추가처방구분"/>
- <Column id="doctid" type="STRING" size="256" sumtext="후인증의사아이디"/>
- <Column id="doctnm" type="STRING" size="256" sumtext="후인증의사명"/>
- <Column id="afcertyn" type="STRING" size="256" sumtext="후인증여부"/>
- <Column id="mskind" type="STRING" size="256" sumtext=""/>
- <Column id="insukind" type="STRING" size="256" sumtext=""/>
- <Column id="suppkind" type="STRING" size="256" sumtext=""/>
- <Column id="ioflag" type="STRING" size="256" sumtext=""/>
- <Column id="prcpsignflag" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_copy_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="cstenm" type="STRING"/>
- <Column id="redchk" type="STRING"/>
- <Column id="acptptno" type="STRING"/>
- <Column id="acptdispptno" type="STRING"/>
- <Column id="acptrelaptno" type="STRING"/>
- <Column id="acptdisprelaptno" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="prcpstatnm" type="STRING"/>
- <Column id="ptno" type="STRING"/>
- <Column id="dispptno" type="STRING"/>
- <Column id="ptnobtn" type="STRING"/>
- <Column id="relaptno" type="STRING"/>
- <Column id="disprelaptno" type="STRING"/>
- <Column id="relaptnobtn" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="prcpgenrflag" type="STRING"/>
- <Column id="patflagnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="acptdd" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="reqfrmno" type="STRING"/>
- <Column id="execprcpuniqno" type="STRING"/>
- <Column id="prcpno" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="acptno" type="STRING"/>
- <Column id="spcacptdd" type="STRING"/>
- <Column id="spcacptno" type="STRING"/>
- <Column id="bfacptdd" type="STRING"/>
- <Column id="bfacptno" type="STRING"/>
- <Column id="bfacptseqno" type="STRING"/>
- <Column id="reuseflagcd" type="STRING"/>
- <Column id="bfspcacptdd" type="STRING"/>
- <Column id="bfspcacptno" type="STRING"/>
- <Column id="acptdept" type="STRING"/>
- <Column id="status" type="STRING"/>
- <Column id="csteno" type="STRING"/>
- <Column id="bfcsteno" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- <Column id="stdyptnocd" type="STRING"/>
- <Column id="trustptnocd" type="STRING"/>
- <Column id="workflagcd" type="STRING"/>
- <Column id="slidflagcd" type="STRING"/>
- <Column id="slidisscnt" type="STRING"/>
- <Column id="blocflagcd" type="STRING"/>
- <Column id="initblocno" type="STRING"/>
- <Column id="autokeepflagcd" type="STRING"/>
- <Column id="stdy_workflagcd" type="STRING"/>
- <Column id="stdy_slidflagcd" type="STRING"/>
- <Column id="stdy_slidisscnt" type="STRING"/>
- <Column id="stdy_blocflagcd" type="STRING"/>
- <Column id="stdy_initblocno" type="STRING"/>
- <Column id="stdy_autokeepflagcd" type="STRING"/>
- <Column id="grupsnglflag" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="spcbarcdno" type="STRING"/>
- <Column id="grosdrid" type="STRING"/>
- <Column id="grosplgyid" type="STRING"/>
- <Column id="spcacptseqno" type="STRING"/>
- <Column id="acpttm" type="STRING"/>
- <Column id="prcphistno" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="grostestdd" type="STRING"/>
- <Column id="grostesttm" type="STRING"/>
- <Column id="autosave" type="STRING"/>
- <Column id="lendflagcd" type="STRING"/>
- <Column id="trandd" type="STRING"/>
- <Column id="tranno" type="STRING"/>
- <Column id="transeqno" type="STRING"/>
- <Column id="spctranbarcdno" type="STRING"/>
- <Column id="spctrandd" type="STRING"/>
- <Column id="spctranno" type="STRING"/>
- <Column id="tempcol19" type="STRING"/>
- <Column id="signbfcnts" type="STRING"/>
- <Column id="signafcnts" type="STRING"/>
- <Column id="orgaddflagcd" type="STRING"/>
- <Column id="doctid" type="STRING"/>
- <Column id="doctnm" type="STRING"/>
- <Column id="afcertyn" type="STRING"/>
- <Column id="mskind" type="STRING"/>
- <Column id="insukind" type="STRING"/>
- <Column id="suppkind" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="prcpsignflag" type="STRING"/>
- <Column id="grosdrnm" type="STRING"/>
- <Column id="readdrnm" type="STRING"/>
- <Column id="drugmthdspccd" type="STRING" size="256"/>
- <Column id="drugmthdspccdnm" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="tempprcpcd" type="STRING" size="256"/>
- <Column id="tempprcpnm" type="STRING" size="256"/>
- <Column id="tempstatus" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item10" compid="div_all.input1" propid="value" datasetid="ds_init" columnid="orddd"/>
- <BindItem id="item1" compid="div_all.input4" propid="value" datasetid="ds_init" columnid="prcptodd"/>
- <BindItem id="item0" compid="div_all.input5" propid="value" datasetid="ds_init" columnid="prcpfromdd"/>
- <BindItem id="item2" compid="div_all.grp_sea.ipt_acptddfrom" propid="value" datasetid="ds_init" columnid="fromdd"/>
- <BindItem id="item3" compid="div_all.grp_sea.ipt_acptddto" propid="value" datasetid="ds_init" columnid="todd"/>
- <BindItem id="item4" compid="div_all.grp_sea.cbo_ordflag" propid="value" datasetid="ds_init" columnid="prcpflagcd"/>
- <BindItem id="item5" compid="div_all.grp_sea.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
- <BindItem id="item6" compid="div_all.grp_sea.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
- <BindItem id="item7" compid="div_all.grp_sea.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
- <BindItem id="item8" compid="div_all.grp_sea.cbo_refmthdcd" propid="value" datasetid="ds_init" columnid="refmthdcd"/>
- <BindItem id="item9" compid="div_all.cmb_readdr" propid="value" datasetid="ds_hidden" columnid="readdrid"/>
- <BindItem id="item11" compid="div_all.grp_sea.ipt_seaval" propid="value" datasetid="ds_init" columnid="refval"/>
- <BindItem id="item12" compid="div_all.input2" propid="value" datasetid="ds_init" columnid="cretno"/>
- <BindItem id="item13" compid="div_all.input3" propid="value" datasetid="ds_init" columnid="ioflag"/>
- <BindItem id="item14" compid="div_all.Tab_prcp.swtordkind_case1.rdo_srchcond1" propid="value" datasetid="ds_init" columnid="srchcond11"/>
- <BindItem id="item15" compid="div_all.Tab_prcp.swtordkind_case1.radio1" propid="value" datasetid="ds_init" columnid="srchcond21"/>
- <BindItem id="item16" compid="div_all.bol_autosave" propid="value" datasetid="ds_init" columnid="autosave"/>
- <BindItem id="item17" compid="div_all.bol_lendflagcd" propid="value" datasetid="ds_init" columnid="lendflagcd"/>
- <BindItem id="item18" compid="div_all.grp_refcmts.txt_refcmts" propid="value" datasetid="ds_init" columnid="refcmts"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::SMMMO00100.xjs";
- include "emr_prcpmngtxp::SMMMO00200.xjs";
- include "lis_commonxp::LPZ001.xjs";
- var zes_objSKComm = null;
- var zes_objKMClient = null;
- var zes_objForm = null;
- var zes_sCertYear = 1970;
- var zes_sCertMonth = 1;
- var zes_sCertDate = 1;
- var zes_sUID = "";
- var arErrorCode = new HashArray();
- var sRowcount;
- function SMLPJ01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- zesf_InitSign();
- }
- function SMLPJ01000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(div_all.grd_acptspclist);
- grdf_initGrid(div_all.grd_patlist);
- grdf_initGrid(div_all.grd_prcplist);
- grdf_initGrid(div_all.grd_testcdlist);
- grdf_setRowTypeIcon(div_all.grd_prcplist, 1);
- frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick");
- fExeInitialize();
-
- }
- //초기화
- function fExeInitialize()
- {
- var sCurDate = "";
- var menuparam = frmf_getMenuParam();
-
- //-----------------------------------------------------------------
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- ds_send.clearData();
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "refflagcd", val : "0"}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00109";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetPtNoCdList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00109";
- tranf_submit(oParam);
-
- ds_send.clearData();
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
- var oParam = {};
- oParam.id = "TRLPJ01001";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetPrcpKindList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_prcpkindlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01001";
- tranf_submit(oParam);
-
- ds_send.clearData();
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
-
- var oParam = {};
- oParam.id = "TRLPZ00101";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetHospitalEnvironmentSetInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_hosoenvinfo=hospenvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00101";
- tranf_submit(oParam);
-
- // 의사목록 조회....
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "userdeptcd", val : "-"}
- ,{col : "doctjobgradcd", val : "-"}
- ,{col : "teamjobgradcd", val : "-"}]);
- var oParam = {};
- oParam.id = "TRLPZ00105";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetUserInfoList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_userinfolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00105";
- tranf_submit(oParam);
-
- //------------
- // 초기값 설정
- sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
- ds_init.setColumn(0, "fromdd", ds_data_sysdtinfo.getColumn(0, "sysdd")); // 시작일자
- ds_init.setColumn(0, "todd", ds_data_sysdtinfo.getColumn(0, "sysdd")); // 종료일자
- ds_init.setColumn(0, "prcpflagcd", "0"); // 처방구분(접수처방:0) 초기화
- ds_init.setColumn(0, "refmthdcd", "1"); // 검색방법(등록번호:1) 초기화
- ds_init.setColumn(0, "refval", div_all.grp_sea.ipt_seaval.value); // 검색값 초기화
- ds_init.setColumn(0, "prcprowno", "0");
- ds_init.setColumn(0, "ptnocode", "-");
- ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
- ds_init.setColumn(0, "fromptno", "");
- ds_init.setColumn(0, "lendflagcd", "0"); // 1:원본대출, 0:일반
- //----------------------
- fExePrcpFlagChange("0");
-
- div_all.Tab_prcp.tabindex = 1;
- div_all.btn_outoch1.visible = false;
- div_all.btn_outoch2.visible = true;
- if(ds_hosoenvinfo.getColumn(0, "autoacptflagcd") == "1")
- {
- ds_init.setColumn(0, "autosave", "0"); // 1:자동접수, 0:수동접수
- }
- else
- {
- ds_init.setColumn(0, "autosave", "1"); // 1:자동접수, 0:수동접수
- }
-
- //---------------------
- if (menuparam == "1")
- {
- // Continue
- }
- else
- {
- if (opener.frmf_getParameter("SMLPJ01000_scrno") == "SMLPP00200")
- {
- ds_init.setColumn(0, "ptnocode", opener.frmf_getParameter("SMLPJ01000_ptnocd"));
- ds_init.setColumn(0, "fromyear", opener.frmf_getParameter("SMLPJ01000_year"));
- ds_init.setColumn(0, "fromptno", opener.frmf_getParameter("SMLPJ01000_no"));
- ds_init.setColumn(0, "prcpflagcd", "0");
- ds_init.setColumn(0, "fromdd", opener.frmf_getParameter("SMLPJ01000_acptdd"));
- ds_init.setColumn(0, "todd", opener.frmf_getParameter("SMLPJ01000_acptdd"));
- ds_init.setColumn(0, "refmthdcd", "2");
- fGetPatList(); //환자리스트 검색
- }
- }
-
- //--------------
- //후인증여부확인.
- ds_userinfolist.filterstr = "userid == " + sysf_getUserId() +" && jobkindcd == 1";
- if( !utlf_isNull(ds_userinfolist.getColumn(0, "userid")))
- {
- ds_hidden.setColumn(0, "afcertyn", "N");
- div_all.cap_orddrid.visible = false;
- div_all.cmb_readdr.visible = false;
- }
- else
- {
- ds_hidden.setColumn(0, "afcertyn", "Y");
- div_all.cap_orddrid.visible = true;
- div_all.cmb_readdr.visible = true;
- }
- ds_userinfolist.filterstr = "";
- ds_init.setColumn(0, "prcpfromdd", ((utlf_getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat());
- ds_init.setColumn(0, "prcptodd", utlf_getCurrentDate());
-
- ds_init.setColumn(0, "srchcond11", "P"); // P:개인, D:과
- ds_init.setColumn(0, "srchcond21", "O"); // O:외래, I:입원
-
- div_all.grp_sea.ipt_seaval.setFocus();
- }
-
- //처방구분 변경 처리 Function
- function fExePrcpFlagChange(pFlag)
- {
- if (pFlag == "0")
- {
- div_all.grp_sea.cap_titledd.text = "접수일자 :";
- div_all.bol_lendflagcd.visible = false;
- ds_init.setColumn(0, "lendflagcd", "0");
- ds_init.setColumn(0, "autosave", "1"); // 처방구분을 접수처방으로 하면 자동접수되도록 함.
- div_all.bol_autosave.value = "1";
- div_all.bol_lendflagcd.value = "0";
- }
- else if (pFlag == "1")
- {
- grp_sea.cap_titledd.text = "처방일자 :";
- bol_lendflagcd.visible = false;
- ds_init.setColumn(0, "lendflagcd", "0");
- ds_init.setColumn(0, "autosave", "0");
- bol_autosave.value = "0";
- bol_lendflagcd.value = "0";
- }
- else
- {
- grp_sea.cap_titledd.text = "처방일자 :";
- bol_lendflagcd.visible = true;
- ds_init.setColumn(0, "lendflagcd", "1");
- ds_init.setColumn(0, "autosave", "1");
- bol_autosave.value = "1";
- bol_lendflagcd.value = "1";
- }
- }
- //환자리스트검색
- function fGetPatList()
- {
- var sPtNoCode = ds_init.getColumn(0, "ptnocode");
- var sTemp = ds_init.getColumn(0, "fromptno");
- var sPid = div_all.grp_sea.ipt_seaval.value;
- var sPatNode = "";
- var nodelist = "";
- var alim = "";
- //--------------------------------------------------
-
- if(ds_init.getColumn(0, "refmthdcd") == "1")
- {
- if ( utlf_isNull(sPid))
- {
- sysf_messageBox("등록번호 조회 시 검색값을 입력하여 주십시오! 조회를 ", "E001");
- return false;
- }
- }
-
- var oParam = {};
- oParam.id = "TRLPJ02701";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetjaewonchk";
- oParam.inds = "jaewoninfo=ds_init";
- oParam.outds = "ds_bcoll=bcoll";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ02701";
- tranf_submit(oParam);
-
- if(ds_bcoll.getColumn(0, "chk") == "A" && ds_bcoll.getColumn(0, "tiyn") == "Y")
- {
- alim = "퇴원통보 환자입니다. " + ds_bcoll.getColumn(0, "deptnm");
- alim += "에 퇴원통보 해제 요청바랍니다" ;
- sysf_messageBox(alim, "1");
- return
- }
- //=============================================================
- if(ds_bcoll.getColumn(0, "chk") == "T" || ds_bcoll.getColumn(0, "chk") =="D")
- {
- sysf_messageBox("원무팀에 입원상태로 전환 요청 후 추가오더 바랍니다. 주간: 5062, 5029 , 야간: 5058, 5068", "1");
- return
- }
- //---------------------------------------------------------------------
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "fromdd", val : ds_init.getColumn(0, "fromdd")}
- ,{col : "todd", val : ds_init.getColumn(0, "todd")}
- ,{col : "prcpflagcd", val : ds_init.getColumn(0, "prcpflagcd")}
- ,{col : "refmthdcd", val : ds_init.getColumn(0, "refmthdcd")}
- ,{col : "refval", val : ds_init.getColumn(0, "refval")}
- ,{col : "ptnocode", val : sPtNoCode.replace("-", "")}
- ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
- ,{col : "fromptno", val : sTemp.getLeftPad(6, "0")}]);
- //-------------------
- var oParam = {};
- oParam.id = "TRLPJ01004";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetAddPtNoList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_patlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01004";
- tranf_submit(oParam);
- }
- // 처방분류 TreeView 클릭 처리 Function
- function fExePrcpKindClick()
- {
- var sEarnCls1 = "";
- var sEarnCls2 = "";
- var sEarnCls3 = "";
-
- var item = ds_prcpkindlist.rowposition;
-
- //-------------------------------
- // 최하위 노드를 선택할 경우 처리
- if(div_all.Tab_prcp.swtordkind_case2.trv_prcpkind.isTreeLeafRow(item) == true)
- {
- sEarnCls1 = ds_prcpkindlist.getColumn(item, "earnclskey");
-
- //--------------
- // 처방분류 분리
- sEarnCls3 = sEarnCls1.substr(5,2);
- sEarnCls2 = sEarnCls1.substr(3,2);
- sEarnCls1 = sEarnCls1.substr(1,2);
-
- //--------------------------------
- ds_send.clearData();
- ds_grd_testcdlist.clearData();
-
- dsf_createDsRow( "ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "earncls1", val : sEarnCls1}
- ,{col : "earncls2", val : sEarnCls2}
- ,{col : "earncls3", val : sEarnCls3}
- ,{col : "trustflagcd", val : "N"}
- ,{col : "referchk", val : "N"}
- ,{col : "bizflagcd", val : "0"}
- ,{col : "sortkind", val : ds_hidden.getColumn(0, "sortkind")}]);
- var oParam = {};
- oParam.id = "TRLPJ01003";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetPrcpCdList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_testcdlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01003";
- tranf_submit(oParam);
- }
- }
- function fExePatListClick()
- {
- var sPatNode = ds_grd_prcplist;
- var sSrcNode = ds_grd_patlist;
- var sPatInfoNode1 = ds_paminfo;
-
- //추가처방 목록 조회 처리
- fGetPrcpList();
-
- //약속처방검색
- fGetPromisePrcp();
- iPatRowNo = Number(ds_init.getColumn(0, "prcprowno"));
-
- var srchcond4 = ds_init.getColumn(0, "srchcond4");
- frmf_setParameter("SPMMO09100_paminfoyn", "N");
- fExeMakePatNode(); // 노드생성
- ds_send.setColumn(0, "cond1", "1"); // 검색조건 (1:등록번호, 2:이름)
- ds_init.setColumn(0, "srchcond2", sSrcNode.getColumn(sSrcNode.rowposition, "pid")); // 등록번호 또는 이름
- ds_send.setColumn(0, "cond7", sSrcNode.getColumn(sSrcNode.rowposition, "pid")); // 등록번호 또는 이름
- fAfSignPatSrch(); // 환자 수진이력 조회 : SMMMO00200.js에 존재
-
- if (utlf_isNull(frmf_getParameter("SPMMO09100_rtnyn")))
- {
- sysf_messageBox("수진이력을 선택하지 않았습니다! 환자 수진이력을 반드시 ", "C002");
- return false;
- }
- ds_init.setColumn(0, "pid", sPatInfoNode1.getColumn(0, "pid"));
- ds_init.setColumn(0, "orddd", sPatInfoNode1.getColumn(0, "orddd"));
- ds_init.setColumn(0, "cretno", sPatInfoNode1.getColumn(0, "cretno"));
- ds_init.setColumn(0, "ioflag", sPatInfoNode1.getColumn(0, "ioflag"));
- }
- //추가처방 목록 조회
- function fGetPrcpList()
- {
- var sPtNo = "";
- var iFindNo = 0;
- var sPrcpGenrFlag = "";
- var sSrcNode = ds_grd_prcplist;
- ds_grd_acptspclist.clearData();
- ds_grd_prcplist.clearData();
- ds_grd_prcplist.filterstr = "";
-
- switch ( ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "prcpgenrflag"))
- {
- case "O" :
- case "S" :
- sPrcpGenrFlag = "O";
- break;
-
- default :
- sPrcpGenrFlag = "I";
- break;
- }
-
- //병원환경설정에서 외래미수납처방의 접수를 체크 하여 외래 처방에 대한 추가 처방을 Block
- if(ds_hosoenvinfo.getColumn(0, "norcptacptyn") != "Y")
- {
- if(sPrcpGenrFlag == "O")
- {
- sysf_messageBox("외래환자에 대한 추가처방을 등록할 수 없습니다.","I999");
- return;
- }
- }
- ds_send.clear();
-
- dsf_createDsRow( "ds_send", [{col : "instcd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "instcd")}
- ,{col : "spcacptdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "spcacptdd")}
- ,{col : "spcacptno", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "spcacptno")}
- ,{col : "pid", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "pid")}
- ,{col : "ptno", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "ptno")}
- ,{col : "prcpdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "prcpdd")}
- ,{col : "acptdd", val : ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "acptdd")}
- ,{col : "prcpgenrflag", val : sPrcpGenrFlag}
- ,{col : "prcpflagcd", val : ds_init.getColumn(0, "prcpflagcd")}]);
-
- ds_grd_prcplist.updatecontrol = false;
- var oParam = {};
- oParam.id = "TRLPJ01005";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetAddAcptInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_acptspclist=acptspclist ds_grd_prcplist=acptprcplist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01005";
- tranf_submit(oParam);
-
- // 퇴원(통보)일가 존재할 경우 색으로 구분한다.
- for(iRowNo = 0; iRowNo < ds_grd_prcplist.rowcount; iRowNo++)
- {
- if( ds_grd_prcplist.getColumn(iRowNo, "dschdd") != "-" && !utlf_isNull(ds_grd_prcplist.getColumn(iRowNo, "dschdd")))
- {
- fExeChangeColor(true, iRowNo);
- }
- ds_grd_prcplist.setColumn(iRowNo, "status", "H");
- }
-
- ds_grd_prcplist.updatecontrol = true;
- if(ds_grd_prcplist.rowcount == 1)
- {
- ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition);
- fExePrcpListClick(); //처방리스트 그리드 클릭
- }
- else
- {
- sPtNo = ds_grd_patlist.getColumn(ds_grd_patlist.rowposition, "ptno");
- ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition-1);
- fExePrcpListClick(); //처방리스트 그리드 클릭
- }
- }
-
- function fExeMakePatNode()
- {
- ds_init.setColumn(0, "srchcond1", "1");
- ds_init.setColumn(0, "srchcond2", "");
- ds_init.setColumn(0, "srchcond3", "");
- ds_init.setColumn(0, "srchcond4", "-");
- ds_init.setColumn(0, "srchcond5", ds_init.getColumn(0, "prcpfromdd"));
- ds_init.setColumn(0, "srchcond6", ds_init.getColumn(0, "prcptodd"));
- ds_init.setColumn(0, "rrgstno1", "");
- ds_init.setColumn(0, "rrgstno2", "");
- ds_init.setColumn(0, "orddeptnm", "");
- ds_init.setColumn(0, "sex", "");
- ds_init.setColumn(0, "age", "");
- ds_init.setColumn(0, "wardcd", "");
- ds_init.setColumn(0, "orddd", "");
- ds_init.getColumn(0, "passflag", "");
- //--------------
- // 가퇴원 환자용
- dsf_createDsRow("ds_root", [{col : "admininfo", val : "YYYYYYNNNNNNNNNNNNNN" },
- {col : "cp", val : "" }]);
-
- dsf_createDsRow("ds_prcpresn", [{col : "prcpdd", val : ""}
- ,{col : "resncnt", val : ""}
- ,{col : "prcptime", val : ""}]);
-
- dsf_createDsRow("ds_send", [{col : "cond1", val : ds_init.getColumn(0, "srchcond1")}
- ,{col : "cond2", val : ds_init.getColumn(0, "srchcond2")}
- ,{col : "cond3", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "cond4", val : "N"}
- ,{col : "cond5", val : "N"}
- ,{col : "cond6", val : ds_init.getColumn(0, "srchcond4")}
- ,{col : "cond7", val : ""}
- ,{col : "cond9", val : ""}
- ,{col : "cond10", val : ds_init.getColumn(0, "srchcond5")}
- ,{col : "cond11", val : ds_init.getColumn(0, "srchcond6")}]);
- dsf_createDsRow( "ds_patordinfolist", [{col : "temp", val : ""}]);
-
- dsf_createDsRow( "ds_formerkey", [{col : "pseuacptflag", val : "N"}
- ,{col : "pid", val : ""}
- ,{col : "orddd_old", val : ""}
- ,{col : "cretno_old", val : ""}
- ,{col : "instcd", val : ""}
- ,{col : "genrflagcd_old", val : ""}
- ,{col : "pseuacptflag", val : ""}
- ,{col : "orddd", val : ""}
- ,{col : "cretno", val : ""}
- ,{col : "genrflagcd", val : ""}]);
-
- dsf_createDsRow( "ds_execpatordinfolist", [{col : "otpt_pid", val : ""}
- ,{col : "otpt_orddd", val : ""}
- ,{col : "otpt_cretno", val : ""}]);
- }
- //약속처방검색
- function fGetPromisePrcp()
- {
- //-----------------
- dsf_createDsRow( "ds_send_reqdata", [{col : "settypecd", val : "P" } // P는 의사, C는 프로토콜
- ,{col : "setkindcd", val : ds_init.getColumn(0, "srchcond11") } // P는 개인, D는 부서
- ,{col : "ioflag", val : ds_init.getColumn(0, "srchcond21") } // O:외래, I:입원
- ,{col : "setclscd", val : "D" } // 의사 SET
- ,{col : "deptnm", val : sysf_getUserInfo("dutplcenm")} // 근무지 과명
- ,{col : "deptcd", val : sysf_getUserInfo("dutplcenm")}]); // 근무지 과코드
- var oParam = {};
- oParam.id = "TRMMB00601";
- oParam.service = "prcpbaseapp.PrmsPrcpMngt";
- oParam.method = "reqGetPrmsPrcpSetList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_prmsprcpsetlist=prmsprcpsetlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMMB00601";
- tranf_submit(oParam);
- }
- function fExeSetPrcpKindChoi()
- {
- var item = ds_prcpkindlist.rowposition;
- var rowpos = item.index + 1;
- var setno = ds_prmsprcpsetlist.getColumn(rowpos, "setno");
- var settypecd = ds_prmsprcpsetlist.getColumn(rowpos, "settypecd");
-
- dsf_createDsRow("ds_send1", [{col : "instcd", col : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "setno", col : setno}
- ,{col : "settypecd", col : settypecd}
- ,{col : "sortkind", col : ds_hidden.getColumn(0, "sortkind")}]); //정렬기준
- var oParam = {};
- oParam.id = "TRLPJ01002";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetPrcpCdList";
- oParam.inds = "refData=ds_send1";
- oParam.outds = "ds_grd_testcdlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01002";
- tranf_submit(oParam);
- }
- function fExePrcpListClick()
- {
- var sPtNo = "";
- var aPtNo = "";
- var sSrcNode = ds_grd_prcplist;
- var tmpPtno = "";
-
- // 선택된 Row번호를 저장
- ds_init.setColumn(0, "prcprowno", ds_grd_prcplist.rowposition);
- //------------------------------
- var ptno = sysf_getModelProperty("ptno");
- var dispptno = sysf_getModelProperty("dispptno");
- var pid = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "pid");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- switch(div_all.grd_prcplist.currentcol)
- {
- case div_all.grd_prcplist.getBindCellIndex("body","ptno") :var path = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "ptno");
-
- // 병리번호리스트 팝업창 표시
- frmf_modal("SPLPJ02100", "SPLPJ02100", "", null, null, null, null, null, null, null, null, null, "M");
-
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", sysf_getModelProperty("ptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", sysf_getModelProperty("dispptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", sysf_getModelProperty("bfacptdd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", sysf_getModelProperty("bfacptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", sysf_getModelProperty("bfacptseqno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", sysf_getModelProperty("reuseflagcd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", sysf_getModelProperty("bfspcacptdd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", sysf_getModelProperty("bfspcacptno"));
- break;
-
- case div_all.grd_prcplist.getBindCellIndex("body","relaptno") : var path = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "relaptno");
- // 병리번호리스트 팝업창 표시
- frmf_modal("SPLPJ02100", "SPLPJ02100", "", null, null, null, null, null, null, null, null, null, "M");
- //-------------------------------------------------------------------------------------------
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", sysf_getModelProperty("ptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", sysf_getModelProperty("dispptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", sysf_getModelProperty("bfacptdd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", sysf_getModelProperty("bfacptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", sysf_getModelProperty("bfacptseqno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", sysf_getModelProperty("reuseflagcd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", sysf_getModelProperty("bfspcacptdd"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", sysf_getModelProperty("bfspcacptno"));
- break;
- case div_all.grd_prcplist.getBindCellIndex("body","acptdispptno") :
- sPtNo = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "acptdispptno");
- aPtNo = utlf_transNullToEmpty(sPtNo).split("-");
-
- frmf_setParameter("SMLPJ01000_scrno", "SMLPP00200");
- frmf_setParameter("SMLPJ01000_pid", sSrcNode.getColumn(sSrcNode.rowposition, "pid"));
- frmf_setParameter("SMLPJ01000_acptdd", sSrcNode.getColumn(sSrcNode.rowposition, "acptdd"));
- frmf_setParameter("SMLPJ01000_no", aPtNo[1]);
- frmf_setParameter("SMLPJ01000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
- frmf_setParameter("SMLPJ01000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
-
- dsf_createDsRow("ds_sourcd", [{col : "pid", val : pid}
- ,{col : "instcd", val : instcd}]);
- var objArg = new Object();
- objArg.arg_ds_send = ds_sourcd;
- frmf_modal("SMLPJ02200", "SMLPJ02200", objArg, null, null, null, null, null, null, null, null, null, "M");
- break;
-
- case div_all.grd_prcplist.getBindCellIndex("body","acptdisprelaptno") :
- if(ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition-1, "acptdisprelaptno") != "-")
- {
- sPtno = ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition-1, "acptdisprelaptno")
- aPtNo = sPtNo.split("-");
-
- frmf_setParameter("SMLPJ01000_scrno", "SMLPP00200");
- frmf_setParameter("SMLPJ01000_pid", sSrcNode.getColumn(sSrcNode.rowposition, "pid"));
- frmf_setParameter("SMLPJ01000_acptdd", sSrcNode.getColumn(sSrcNode.rowposition, "acptdd"));
- frmf_setParameter("SMLPJ01000_no", aPtNo[1]);
- frmf_setParameter("SMLPJ01000_ptnocd", aPtNo[0].substr(0, (aPtNo[0].length-2)));
- frmf_setParameter("SMLPJ01000_year", aPtNo[0].substr(aPtNo[0].length-2, 2));
-
- frmf_modal("SMLPJ02200", "SMLPJ02200", "", null, null, null, null, null, null, null, null, null, "M");
- }
- break;
-
- case div_all.grd_prcplist.getBindCellIndex("body","dispptno") : // ms2003 add 2008.12.09 신규병리번호 변경
- tmpPtno = fExeSetDisplayPtno();
- if (tmpPtno.length > 1)
- {
- sSrcNode.setColumn(sSrcNode.rowposition, "dispptno", tmpPtno);
- sSrcNode.setColumn(sSrcNode.rowposition, "ptno", tmpPtno.replace("-", ""));
- }
- break;
- case div_all.grd_prcplist.getBindCellIndex("body","disprelaptno") : // 2008.12.09 신규관련병리번호 변경
- tmpPtno = fExeSetDisplayPtno();
- if (tmpPtno.length > 1)
- {
- sSrcNode.setColumn(sSrcNode.rowposition, "disprelaptno", tmpPtno);
- sSrcNode.setColumn(sSrcNode.rowposition, "relaptno", tmpPtno.replace("-", ""));
- }
- break;
- }
-
- }
- //신규처방 병리번호 or 관련병리번호 변경 처리 Function
- function fExeSetDisplayPtno()
- {
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var pid = ds_grd_prcplist.getColumn(0, "pid");
-
- // 병리번호리스트 팝업창 표시
- dsf_createDsRow("ds_sourcd", [{col : "pid", val : pid}
- ,{col : "instcd" , val : instcd}]);
- var objArg = new Object();
- objArg.arg_ds_send = ds_sourcd;
-
- frmf_modal("SPLPJ02100", "SPLPJ02100", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- // 관련병리번호 변경 이력 조회를 위한 popup 창 호출
- if( !utlf_isNull(sysf_getModelProperty("dispptno")))
- {
- return sysf_getModelProperty("dispptno");
- }
- else
- {
- return "-";
- }
-
- }
- //그리드 Row색 변경 Function
- function fExeChangeColor(bflag, iRowNo)
- {
- trace("bflag = " + bflag);
- if(bflag)
- {
- for(var z = 0; z <=96; z++)
- {
- if(iRowNo <= ds_grd_prcplist.rowcount-1)
- {
- div_all.grd_prcplist.setCellProperty("Body", z, "background", "#ff99cc");
- div_all.grd_prcplist.setCellProperty("Body", z, "background2", "#ff99cc");
- }
- }
-
- }
- else
- {
- for(var z = 0; z <=96; z++)
- {
- div_all.grd_prcplist.setCellProperty("Body", z, "background", "#ffffff");
- div_all.grd_prcplist.setCellProperty("Body", z, "background2", "#ffffff");
- }
- }
- }
- //처방 삭제/DC 처리 Function
- function fExePrcpCncl(pStatCd)
- {
- var aRow = "";
- var aColH = "";
- var aColD = "";
- var sMsg = "";
- var iYesNo = "";
- var sSrcNode = ds_grd_acptspclist;
- //-----------------------------
- // 삭제 및 DC처방 선택여부 검사
- if(ds_grd_prcplist.rowposition < 0)
- {
- sysf_messageBox("처방내역에서 삭제 및 DC처방을 ", "C002");
- return false;
- }
-
- //-----------------------
- // 6:예, 7:아니오, 2:취소
- if(ds_init.getColumn(0, "lendflagcd") == "1")
- {
- sMsg = "원본대출처방은 타 처방과 같이 반환될 수 없습니다" + "\n\n";
-
- //-------------------------------------
- if(sysf_messageBox(sMsg, "Q004") != "6")
- {
- return false;
- }
- }
-
- // 신규 등록 처방은 삭제 및 DC처리 불가
- for(var iNo = 1; iNo <= ds_grd_acptspclist.rowcount+1; iNo++)
- {
- // 처방상태코드가 바코드출력(400) 이전 상태일 경우만 취소 가능
- // 원본대출처방은 접수 이전단계에서 취소하여야 함.
-
- if(ds_init.getColumn(0, "lendflagcd") == "1")
- {
- // Continue
- }
- else
- {
- sysf_messageBox("검사가 진행중인 처방은 삭제", "E001");
- return false;
- }
-
- sMsg = grd_prcplist.getUpdateData("insert", iNo);
- aRow = sMsg.split("▩");
- aColH = aRow[0].split("▦");
- aColD = aRow[1].split("▦");
-
- if (aColD[0] == "i")
- {
- if (aColH[1] == aColD[1])
- {
- sysf_messageBox("신규처방은 삭제 및 DC", "E001");
- return false;
- }
- else if( utlf_isNull(ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno"))
- || ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno") == "-")
- {
- // Continue
- }
- else
- {
- sysf_messageBox("접수된 처방은 접수취소를", "E001");
- return false;
- }
- }
- else if( utlf_isNull(ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno"))
- || ds_grd_acptspclist.getColumn(Number(iNo)-1, "acptptno") == "-")
- {
- // Continue
- }
- else
- {
- sysf_messageBox("접수된 처방은 접수취소를", "E001");
- return false;
- }
- }
- for(var iNo= 1; iNo <= ds_grd_acptspclist.rowcount+1; iNo++)
- {
- if (div_all.grd_prcplist.selectAll(iNo) == true)
- {
- ds_grd_acptspclist.setColumn(Number(iNo)-1, "status", "C");
- grd_prcplist.addStatus(iNo, "delete");
- }
- }
-
- fExeAddPrcpSave(pStatCd); //처방저장
- }
-
- function fExeAddPrcpSave(pStatCd)
- {
- trace("<<<<<<<<<<<<처방저장>>>>>>>>>>>>");
- trace("|||||||||||||||||||||||||||||||||");
- trace("pStatCd = " + pStatCd);
- trace("|||||||||||||||||||||||||||||||||");
- var sNode = ds_grd_prcplist;
- var sPatNode = ds_grd_patlist;
- var sErrMsg = "";
- var CurrValNo = 0;
- var readyflag = false;
- var sCheck = "Y";
- var sChek = "";
- var sSignBfCnts = "";
-
- // 과거처방 구분 사유를 입력할 화면 좌표처리
- var xpt = this.getOwnerFrame().position.x + eval(300);
- var ypt = this.getOwnerFrame().position.y + eval(300);
-
- if(ds_hidden.getColumn(0, "afcertyn") == "Y")
- {
- if( utlf_isNull(ds_hidden.getColumn(0, "readdrid")) || ds_hidden.getColumn(0, "readdrid") == "AO")
- {
- sysf_messageBox("후인증 의사를 선택하여 주세요.", "E999");
- return;
- }
- }
-
- // 자동접수여부 설정
- trace("sCheck(1) ==========================(1) " + sCheck);
-
- sRowcount = ds_grd_prcplist.rowcount;
-
- for(var iNo = 0; iNo < ds_grd_prcplist.rowcount; iNo++)
- {
- ds_grd_prcplist.setColumn(iNo, "autosave", ds_init.getColumn(0, "autosave"));
- ds_grd_prcplist.setColumn(iNo, "lendflagcd", ds_init.getColumn(0, "lendflagcd"));
-
- if (pStatCd == "delete")
- {
- ds_grd_prcplist.setColumn(iNo, "status", "C");
- }
- trace("afcertyn(1)=========================(1) " + ds_hidden.getColumn(0, "afcertyn"));
-
- if(ds_hidden.getColumn(0, "afcertyn") != "Y")
- {
- ds_grd_prcplist.setColumn(iNo, "prcpsignflag", "2");
-
- trace("sCheck(2) ==========================(2) " + sCheck);
- // 처방저장시 인증데이터 생성
- if((pStatCd == "insert") && ds_grd_prcplist.getColumn(iNo, "status") == "I")
- {
- ds_grd_prcplist.setColumn(iNo, "drugmthdspccd", ds_grd_prcplist.getColumn(iNo, "spccd"));
- ds_grd_prcplist.setColumn(iNo, "drugmthdspccdnm", ds_grd_prcplist.getColumn(iNo, "spcnm"));
- ds_grd_prcplist.setColumn(iNo, "tempprcpcd", ds_grd_prcplist.getColumn(iNo, "prcpcd"));
- ds_grd_prcplist.setColumn(iNo, "tempprcpnm", ds_grd_prcplist.getColumn(iNo, "prcpnm"));
- ds_grd_prcplist.setColumn(iNo, "prcpflag", "1");
-
- ds_copy_prcplist.copyRow(ds_copy_prcplist.addRow(), ds_grd_prcplist, iNo);
-
- trace("sCheck(3) ==========================(3) " + sCheck);
- //환자진료정보는 한번만 붙인다.
- if(sCheck == "Y")
- {
- sSignBfCnts = lpzfPlgyPrcpSignMake(ds_copy_prcplist, "Y");
- sCheck = "N";
- }
- else
- {
- trace("sCheck(4) ==========================(4) " + sCheck);
- sSignBfCnts += lpzfPlgyPrcpSignMake(ds_copy_prcplist, "N");
- }
- trace("--------------------------------------------");
- trace("sSignBfCnts" + sSignBfCnts);
- trace("--------------------------------------------");
- }
- //처방반환시
- else if ((pStatCd == "delete") && ds_grd_prcplist.getColumn(iNo, "status") == "C")
- {
- ds_grd_prcplist.setColumn(iNo, "drugmthdspccd", ds_grd_prcplist.getColumn(iNo, "spccd"));
- ds_grd_prcplist.setColumn(iNo, "drugmthdspccdnm", ds_grd_prcplist.getColumn(iNo, "spcnm"));
- ds_grd_prcplist.setColumn(iNo, "tempprcpcd", ds_grd_prcplist.getColumn(iNo, "prcpcd"));
- ds_grd_prcplist.setColumn(iNo, "tempprcpnm", ds_grd_prcplist.getColumn(iNo, "prcpnm"));
- ds_grd_prcplist.setColumn(iNo, "prcpflag", "1");
-
- trace("sCheck(5) ==========================(5) " + sCheck);
- //환자진료정보는 한번만 붙인다.
- if(sCheck == "Y")
- {
- sSignBfCnts = lpzfPlgyPrcpSignMake(ds_grd_prcplist, "Y");
- sCheck = "N";
- }
- else
- {
- trace("sCheck(6) ==========================(6) " + sCheck);
- sSignBfCnts += lpzfPlgyPrcpSignMake(ds_grd_prcplist, "N");
- }
- trace("<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>");
- trace("sSignBfCnts " + sSignBfCnts);
- trace("<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>");
- }
- }
- else
- {
- //후인증 의사아이디 set
- ds_grd_prcplist.setColumn(iNo, "doctid", ds_hidden.getColumn(0, "readdrid"));
- ds_grd_prcplist.setColumn(iNo, "doctnm", ds_userinfolist.lookupExpr("userid=='"+ds_hidden.getColumn(0, "readdrid")+"'", "usernm"));
- }
- ds_grd_prcplist.setColumn(iNo, "afcertyn", ds_hidden.getColumn(0, "afcertyn"));
- }
- trace("afcertyn(2)=========================(2) " + ds_hidden.getColumn(0, "afcertyn"));
- if(ds_hidden.getColumn(0, "afcertyn") != "Y")
- {
- //생성된 인증 데이터를 암호화 및 setValue 한다.
- for(var iNo = 0; iNo < ds_grd_prcplist.rowcount; iNo++)
- {
- //처방등록시
- if((pStatCd == "insert") && ds_grd_prcplist.getColumn(iNo, "status") == "I")
- {
- //------------------------------------
- if ( CurrValNo == 0 ) CurrValNo = iNo;
-
- //암호화 이전 데이터 set
- ds_grd_prcplist.setColumn(iNo, "signbfcnts", sSignBfCnts);
-
- // 암호화자료 생성
- sChek = lpzfPlgyPrcpSaveSign(ds_grd_prcplist.getColumn(iNo, "signbfcnts"), sysf_getUserInfo("userid"), sInptPsw, sSignBfCnts);
- sInptPsw = false;
-
- if( utlf_isNull(sChek) || sChek == "N")
- {
- sysf_messageBox("처방인증을 하여 주십시오.","E999");
- return;
- }
- }
- //처방반환시
- else if((pStatCd == "delete") && sNode.getColumn(iNo, "status") == "C")
- {
- //------------------------------------
- if ( CurrValNo == 0 ) CurrValNo = iNo;
- //암호화 이전 데이터 set
- ds_grd_prcplist.setColumn(iNo, "signbfcnts", sSignBfCnts);
-
- // 암호화자료 생성
- var sInptPsw = false;
- sChek = lpzfPlgyPrcpSaveSign(ds_grd_prcplist.getColumn(iNo, "signbfcnts"), sysf_getUserInfo("userid"), sInptPsw, ds_grd_prcplist.getColumn(iNo, "signafcnts"));
-
- if( utlf_isNull(sChek) || sChek == "N")
- {
- sysf_messageBox("처방인증을 하여 주십시오.","E999");
- return;
- }
- }
- }
- }
- // 신규 추가처방 등록 시 과거 날자인 경우
- trace("sCheck(7) ==========================(7) " + sCheck);
- trace("=======================================================");
- trace("CurrValNo = " +CurrValNo);
- trace("=======================================================");
- trace("prcpdd = " + Number(sNode.getColumn(CurrValNo, "prcpdd")) + " CurrentDate = " + Number(utlf_getCurrentDate().substr(0, 8)));
- trace("=======================================================");
-
- if( (pStatCd == "insert") && (Number(sNode.getColumn(CurrValNo, "prcpdd"))) < Number(utlf_getCurrentDate().substr(0, 8)))
- {
- frmf_setParameter ("SPMMO16500_resnflag", "B" ); //과거처방사유구분
- frmf_setParameter ("SPMMO16500_prcpinfo", ds_grd_prcplist ); //저장할 처방의 노드경로
- frmf_setParameter("SPMMO16500_paminfo", ds_paminfo); //원무정보 노드경로 PID, INDD/ORDDD, CRETNO,INSTCD, ORDTYPE ...
- frmf_setParameter ("SPMMO16500_rtn1" , "N" ); //사유 정상 입력여부
- frmf_setParameter ("SPMMO16500_endrowdelyn" , "N" ); //처방LIST 최종ROW삭제여부 => 처방화면에 검색라인때문에 씀.
-
- //사유입력창
- frmf_modal("SPMMO16500", "SPMMO16500", null, null, null, null, null, null, null, null, null, null, "M");
-
- if( frmf_getParameter ("SPMMO16500_rtn1" ) != "Y" )
- return false ;
- }
-
- grdf_setStatusColumn(ds_grd_prcplist, "m");
- var temp = grdf_getGridUpdateData(div_all.grd_prcplist, pStatCd);
- trace("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- trace("copyDataset = " + ds_tempFilterDs.saveXML());
- trace("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- ds_addprcplist.copyData(ds_tempFilterDs);
- var oParam = {};
- oParam.id = "TXLPJ01001";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqExeAddPrcpSave";
- oParam.inds = "refData=ds_addprcplist";
- oParam.outds = "ds_errlist=errlist";
- oParam.async = false;
- oParam.callback = "cf_TXLPJ01001";
- //oParam.typeStr = "status";
- tranf_submit(oParam);
- }
- function cf_TXLPJ01001(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- ds_paminfo.clearData();
- ds_init.setColumn(0, "orddd", "");
- ds_init.setColumn(0, "cretno", "");
- ds_init.setColumn(0, "ioflag", "");
-
- if(ds_errlist.rowcount <= 0)
- {
- ds_init.setColumn(0, "prcprowno", "0");
- fGetPrcpList();
-
- trace("저장전 rowcount(1) =>>>>>>>>>>>>>>>>>>>>>>>>" + sRowcount);// 저장전
- trace("저장후 rowcount(2) =>>>>>>>>>>>>>>>>>>>>>>>>" + ds_grd_prcplist.rowcount);//저장후
- if(ds_grd_prcplist.rowcount != sRowcount)
- {
- alert("[ 추가처방 입력 오류 ]"+ "\n\n"+"전산실로 전화주세요.!!!");
- }
- }
- else
- {
- sErrorMsg += "처방명 : [" + ds_errlist.getColumn(0, "prcpcd") + "]";
- sErrorMsg += ds_errlist.getColumn(0, "prcpnm") + "\n\n";
- sErrorMsg += "오류내용 : " + ds_errlist.getColumn(0, "prcperr");
- sysf_messageBox(sErrorMsg, "E009");
- }
- }
- function fExePatPopupCall()
- {
- dsf_createDsRow("ds_sourcd", [{col : "srchcond", val : ds_init.getColumn(0, "refmthdcd")}
- ,{col : "pid", val : ""}
- ,{col : "hngnm", val : ""}
- ,{col : "rrgstno1", val : ""}
- ,{col : "rrgstno2", val : ""}]);
- var objArg = new Object();
- objArg.arg_ds_send = ds_sourcd;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M")
- if(ds_patinfolist.rowcount > 0)
- {
- ds_init.setColumn(0, "refval", ds_patinfolist.getColumn(0, "pid"));
- }
- }
- //처방분류
- function swt_ordkind_swtordkind_case2_trv_prcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpKindClick();
- }
- //약속처방
- function swt_ordkind_swtordkind_case1_trv_setprcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExeSetPrcpKindChoi();
- }
- //약속처방검색 Function
- function swt_ordkind_swtordkind_case1_rdo_srchcond1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fGetPromisePrcp();
- }
- function swt_ordkind_swtordkind_case1_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fGetPromisePrcp();
- }
- function swt_ordkind_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- fGetPromisePrcp();
- }
- //조회
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPatList();
- }
- //환자리스트 그리드 클릭 처리 Function
- function grd_patlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- div_all.grd_prcplist.setCellPos(1);
- fExePatListClick();
- }
- function div_all_btn_outoch2_onclick(obj:Button, e:ClickEventInfo)
- {
- div_all.btn_outoch1.visible = true;
- div_all.btn_outoch2.visible = false;
-
- ds_hidden.setColumn(0, "sortkind", "En");
- fExePrcpKindClick();
- ds_hidden.setColumn(0, "sortkind", "-");
- }
- function div_all_btn_outoch1_onclick(obj:Button, e:ClickEventInfo)
- {
- div_all.btn_outoch1.visible = false;
- div_all.btn_outoch2.visible = true;
-
- ds_hidden.setColumn(0, "sortkind", "Hn");
- fExePrcpKindClick();
- ds_hidden.setColumn(0, "sortkind", "-");
- }
- function grp_btn_btn_prcpcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrcpCncl("delete");
- }
- function div_all_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeAddPrcpSave("insert");
- }
- function div_all_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall();
- }
- function div_all_grd_prcplist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1)
- {
- frmf_setPopupMenuDs( "pmn_popupMenu", [{id: "fExePrcpDel", level: "0", title: "지우기"}
- ,{id: "fExePtNoDel", level: "0", title: "병리번호삭제"}
- ,{id: "fExeRelaPtNoDel", level: "0", title: "관련병리번호삭제"}]);
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- }
- //우클릭조회
- function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- if(e.id == "fExePrcpDel")
- {
- fExePrcpDel()
- }
- else if(e.id == "fExePtNoDel")
- {
- fExePtNoDel();
- }
- else if(e.id == "fExeRelaPtNoDel")
- {
- fExeRelaPtNoDel();
- }
- }
- //추가등록된 처방 삭제 처리 Function
- function fExePrcpDel()
- {
- var iMaxRows = grdf_getSelectedRows(div_all.grd_prcplist);
-
- if (ds_grd_prcplist.rowcount < 0)
- {
- sysf_messageBox("삭제 처방을 ", "C002");
- return false;
- }
- // 원처방 선택여부 검사
- for (var iNo=0; iNo < iMaxRows.length; iNo++)
- {
-
- var rowstatus = ds_grd_prcplist.getRowType(iMaxRows[iNo]);
- if(rowstatus != "2")
- {
- sysf_messageBox("원처방은 삭제", "E001");
- return false;
- }
- }
-
- for (var iNo=iMaxRows.length; iNo >= 0; iNo--)
- {
- var rowstatus = ds_grd_prcplist.getRowType(iMaxRows[iNo]);
- if(rowstatus == "2")
- {
- ds_grd_prcplist.deleteRow(iMaxRows[iNo]);
- }
- }
- }
- //병리번호 삭제 처리 Function
- function fExePtNoDel()
- {
- var sSrcNode = ds_grd_prcplist;
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "relaptno", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "ptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "disprelaptno", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "dispptno"));
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "ptno", "-");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "dispptno", "-");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "reuseflagcd", "1"); // 0:사용, 1:미사용
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptdd", "-");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptno", "0");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfacptseqno", "0");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptdd", "-");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "bfspcacptno", "0");
- }
- //관련병리번호 삭제 처리 Function
- function fExeRelaPtNoDel()
- {
- var sSrcNode = ds_grd_prcplist;
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "relaptno", "-");
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "disprelaptno", "-");
- }
- function div_all_grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpListClick();
- }
- function div_all_grd_testcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpAdd();
- }
- function fExePrcpAdd()
- {
- var sDescNode = ds_grd_prcplist; //처방내역
- var sPatNode = ds_grd_prcplist; //처방내역
- var sPrcpNode = ds_grd_testcdlist; //처방명목록
- var sSpcNode = ds_grd_acptspclist; //접수검체
- var sSrcNode = ds_grd_patlist; //환자입원목록
- var sPatInfoNode2 = ds_patordinfolist;
- var sPatInfoNode1 = ds_paminfo;
-
- var iMaxNo = 0;
- var iFindRow = 0;
- var iPrcpRowNo = 0;
- var iPatRowNo = sSrcNode.rowposition; //환자입원목록 rowpositon
- var iSpcRowNo = sSpcNode.rowposition; //접수검체 rowpositon
-
- var sPrcpDD = "";
- var sPtNo = "";
- // 환자 진료정보 선택여부 검사
- if ( sPatInfoNode1.rowcount <= 0 )
- {
- sysf_messageBox("환자진료정보를 선택하지 않았습니다! 추가처방을 등록", "E001");
- return false;
- }
-
- iPrcpRowNo = sPrcpNode.rowposition;
-
- // 처방 Row 추가
- iMaxNo = sDescNode.addRow();
-
- if (sDescNode.rowcount > 14)
- {
- div_all.grd_prcplist.vscrollbar.pos = sDescNode.rowcount - 1;
- }
-
- //----------------------------------
- sDescNode.setColumn(iMaxNo, "instcd", sysf_getUserInfo("dutplceinstcd"));
- sDescNode.setColumn(iMaxNo, "acptptno", "-");
- sDescNode.setColumn(iMaxNo, "acptdispptno", "-");
- sDescNode.setColumn(iMaxNo, "acptrelaptno", "-");
- sDescNode.setColumn(iMaxNo, "acptdisprelaptno", "-");
-
- // 검사코드별로 병리번호 신규 발행여부를 검사
- if (sPrcpNode.getColumn(iPrcpRowNo, "ptnonewflagcd") == "Y") // 병리번호 신규발행
- {
- sDescNode.setColumn(iMaxNo, "ptno", "-");
- sDescNode.setColumn(iMaxNo, "dispptno", "");
- sDescNode.setColumn(iMaxNo, "ptnobtn", "-");
- sDescNode.setColumn(iMaxNo, "relaptno", sSrcNode.getColumn(iPatRowNo, "ptno"));
- sDescNode.setColumn(iMaxNo, "disprelaptno", sSrcNode.getColumn(iPatRowNo, "dispptno"));
- sDescNode.setColumn(iMaxNo, "relaptnobtn", "-");
- }
- else
- {
- sDescNode.setColumn(iMaxNo, "ptno", sSrcNode.getColumn(iPatRowNo, "ptno"));
- sDescNode.setColumn(iMaxNo, "dispptno", sSrcNode.getColumn(iPatRowNo, "dispptno"));
- sDescNode.setColumn(iMaxNo, "ptnobtn", "-");
- sDescNode.setColumn(iMaxNo, "relaptno", "-");
- sDescNode.setColumn(iMaxNo, "disprelaptno", "");
- sDescNode.setColumn(iMaxNo, "relaptnobtn", "-");
- }
- sDescNode.setColumn(iMaxNo, "pid", sSrcNode.getColumn(iPatRowNo, "pid"));
- sDescNode.setColumn(iMaxNo, "patnm", sSrcNode.getColumn(iPatRowNo, "patnm"));
- sDescNode.setColumn(iMaxNo, "patflagnm", sSrcNode.getColumn(iPatRowNo, "patflagnm"));
-
- // 입원중인 환자인 경우 처리
- if( sPatInfoNode2.getColumn(0, "dschdd") == "99991231" )
- {
- sDescNode.setColumn(iMaxNo, "prcpdd", utlf_getCurrentDate());
- }
- else
- {
- if(sPatInfoNode1.getColumn(0, "indschacptstat") == "T")
- {
- sDescNode.setColumn(iMaxNo, "prcpdd", sPatInfoNode1.getColumn(0, "dschdd"));
- }
- else
- {
- sDescNode.setColumn(iMaxNo, "prcpdd", utlf_getCurrentDate());
- }
- }
-
- sDescNode.setColumn(iMaxNo, "spccd", sSrcNode.getColumn(iPatRowNo, "spccd"));
- sDescNode.setColumn(iMaxNo, "reqfrmno", sSrcNode.getColumn(iPatRowNo, "reqfrmno"));
- sDescNode.setColumn(iMaxNo, "prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"));
- sDescNode.setColumn(iMaxNo, "prcpnm", sPrcpNode.getColumn(iPrcpRowNo, "testengnm"));
- sDescNode.setColumn(iMaxNo, "acptdept", sPrcpNode.getColumn(iPrcpRowNo, "acptdept"));
- sDescNode.setColumn(iMaxNo, "spcnm", sPatNode.getColumn(iPatRowNo, "spcnm"));
-
- sDescNode.setColumn(iMaxNo, "orddd", sPatInfoNode2.getColumn(0, "orddd"));
- sDescNode.setColumn(iMaxNo, "orddrid", sPatInfoNode2.getColumn(0, "orddrid"));
-
- sDescNode.setColumn(iMaxNo, "orddeptcd", sPatInfoNode1.getColumn(0, "orddeptcd"));
- sDescNode.setColumn(iMaxNo, "orddeptnm", sPatInfoNode1.getColumn(0, "orddeptnm"));
- sDescNode.setColumn(iMaxNo, "orddrnm", sPatInfoNode1.getColumn(0, "orddrnm"));
- sDescNode.setColumn(iMaxNo, "dschdd", sPatInfoNode2.getColumn(0, "dschdd"));
- sDescNode.setColumn(iMaxNo, "cretno", sPatInfoNode2.getColumn(0, "cretno"));
-
- sDescNode.setColumn(iMaxNo, "mskind", sPatInfoNode1.getColumn(0, "mskind"));
- sDescNode.setColumn(iMaxNo, "insukind", sPatInfoNode1.getColumn(0, "insukind"));
- sDescNode.setColumn(iMaxNo, "suppkind", sPatInfoNode1.getColumn(0, "suppkind"));
- sDescNode.setColumn(iMaxNo, "ioflag", sPatInfoNode1.getColumn(0, "ioflag"));
- sDescNode.setColumn(iMaxNo, "prcpgenrflag", sPatInfoNode1.getColumn(0, "ioflag"));
-
- sDescNode.setColumn(iMaxNo, "execprcpuniqno", "0");
- sDescNode.setColumn(iMaxNo, "prcpno", "0");
- sDescNode.setColumn(iMaxNo, "acptdd", sSrcNode.getColumn(iPatRowNo, "acptdd"));
- sDescNode.setColumn(iMaxNo, "acptno", sSrcNode.getColumn(iPatRowNo, "acptno"));
- sDescNode.setColumn(iMaxNo, "spcacptdd", sSrcNode.getColumn(iPatRowNo, "spcacptdd"));
- sDescNode.setColumn(iMaxNo, "spcacptno", sSrcNode.getColumn(iPatRowNo, "spcacptno"));
- sDescNode.setColumn(iMaxNo, "bfacptdd", sSrcNode.getColumn(iPatRowNo, "acptdd"));
- sDescNode.setColumn(iMaxNo, "bfacptno", sSrcNode.getColumn(iPatRowNo, "acptno"));
- sDescNode.setColumn(iMaxNo, "bfspcacptdd", sSrcNode.getColumn(iPatRowNo, "spcacptdd"));
- sDescNode.setColumn(iMaxNo, "bfspcacptno", sSrcNode.getColumn(iPatRowNo, "spcacptno"));
- sDescNode.setColumn(iMaxNo, "reuseflagcd", "0");
- sDescNode.setColumn(iMaxNo, "ptnocd", sPrcpNode.getColumn(iPrcpRowNo, "ptnocd"));
- sDescNode.setColumn(iMaxNo, "stdyptnocd", sPrcpNode.getColumn(iPrcpRowNo, "stdyptnocd"));
- sDescNode.setColumn(iMaxNo, "trustptnocd", sPrcpNode.getColumn(iPrcpRowNo, "trustptnocd"));
- sDescNode.setColumn(iMaxNo, "workflagcd", sPrcpNode.getColumn(iPrcpRowNo, "workflagcd"));
- sDescNode.setColumn(iMaxNo, "slidflagcd", sPrcpNode.getColumn(iPrcpRowNo, "slidflagcd"));
- sDescNode.setColumn(iMaxNo, "slidisscnt", sPrcpNode.getColumn(iPrcpRowNo, "slidisscnt"));
- sDescNode.setColumn(iMaxNo, "blocflagcd", sPrcpNode.getColumn(iPrcpRowNo, "blocflagcd"));
- sDescNode.setColumn(iMaxNo, "initblocno", sPrcpNode.getColumn(iPrcpRowNo, "initblocno"));
- sDescNode.setColumn(iMaxNo, "autokeepflagcd", sPrcpNode.getColumn(iPrcpRowNo, "autokeepflagcd"));
- sDescNode.setColumn(iMaxNo, "stdy_workflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_workflagcd"));
- sDescNode.setColumn(iMaxNo, "stdy_slidflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_slidflagcd"));
- sDescNode.setColumn(iMaxNo, "stdy_slidisscnt", sPrcpNode.getColumn(iPrcpRowNo, "stdy_slidisscnt"));
- sDescNode.setColumn(iMaxNo, "stdy_blocflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_blocflagcd"));
- sDescNode.setColumn(iMaxNo, "stdy_initblocno", sPrcpNode.getColumn(iPrcpRowNo, "stdy_initblocno"));
- sDescNode.setColumn(iMaxNo, "orgaddflagcd", sPrcpNode.getColumn(iPrcpRowNo, "orgaddflagcd"));
- sDescNode.setColumn(iMaxNo, "stdy_autokeepflagcd", sPrcpNode.getColumn(iPrcpRowNo, "stdy_autokeepflagcd"));
- sDescNode.setColumn(iMaxNo, "grupsnglflag", sPrcpNode.getColumn(iPrcpRowNo, "grupsnglflag"));
-
- sDescNode.setColumn(iMaxNo, "wardcd", sSrcNode.getColumn(iPatRowNo, "wardcd"));
- sDescNode.setColumn(iMaxNo, "roomcd", sSrcNode.getColumn(iPatRowNo, "room"));
- sDescNode.setColumn(iMaxNo, "status", "I");
- sDescNode.setColumn(iMaxNo, "spcbarcdno", sSrcNode.getColumn(iPatRowNo, "spcbarcdno"));
- sDescNode.setColumn(iMaxNo, "grosdrid", sSrcNode.getColumn(iPatRowNo, "grosdrid"));
- sDescNode.setColumn(iMaxNo, "grosplgyid", sSrcNode.getColumn(iPatRowNo, "grosplgyid"));
- sDescNode.setColumn(iMaxNo, "grostestdd", sSrcNode.getColumn(iPatRowNo, "grostestdd"));
- sDescNode.setColumn(iMaxNo, "grostesttm", sSrcNode.getColumn(iPatRowNo, "grostesttm"));
- sDescNode.setColumn(iMaxNo, "acpttm", sSrcNode.setColumn(iPatRowNo, "acpttm"));
- sDescNode.setColumn(iMaxNo, "prcpstatcd", "000");
- sDescNode.setColumn(iMaxNo, "prcpstatnm", "처방");
- sDescNode.setColumn(iMaxNo, "signbfcnts", "");
- sDescNode.setColumn(iMaxNo, "signafcnts", "");
- sDescNode.setColumn(iMaxNo, "doctid", "");
- sDescNode.setColumn(iMaxNo, "doctnm", "");
-
- // 추가처방용 블럭(Cassette)이 선택되어 있는 경우 처리
- if (sSpcNode.rowposition > -1)
- {
- sDescNode.setColumn(iMaxNo, "spcacptseqno", sSpcNode.getColumn(iSpcRowNo, "spcacptseqno")); //검체접수일련번호
- sDescNode.setColumn(iMaxNo, "csteno", sSpcNode.getColumn(iSpcRowNo, "csteno")); //Castte번호
- sDescNode.setColumn(iMaxNo, "cstenm", sSpcNode.getColumn(iSpcRowNo, "cstecnts")); //Castte내용
- }
- else
- {
- sDescNode.setColumn(iMaxNo, "spcacptseqno", "-"); //검체접수일련번호
- sDescNode.setColumn(iMaxNo, "csteno", "-"); //Castte번호
- sDescNode.setColumn(iMaxNo, "csteno", ""); //Castte내용
- }
-
- // 중복처방 여부 검사
- for (var iNo = 0; iNo < sDescNode.rowcount; iNo++)
- {
- if (utlf_isNull(sPrcpDD))
- {
- iFindRow = sDescNode.findRow("prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"));
- if (iFindRow > -1)
- {
- sPrcpDD = sDescNode.getColumn(iFindRow,"prcpdd");
- sPtNo = sDescNode.getColumn(iFindRow,"acptptno");
- }
- else
- {
- break;
- }
- }
- else
- {
- iFindRow = sDescNode.findRow("prcpcd", sPrcpNode.getColumn(iPrcpRowNo, "testcd"), iFindRow+1);
- if (iFindRow > -1)
- {
- // 처방일자 및 병리번호가 같은 경우 중복처방으로 간주
- if (sPrcpDD == sDescNode.getColumn(iFindRow,"prcpdd") && sDescNode.getColumn(iFindRow,"status") == "I")
- {
- sysf_messageBox("중복처방입니다. 처방내역에 추가", "E001");
- sDescNode.deleteRow(iFindRow);
- return false;
- }
- } else {
- break;
- }
- }
- }
-
- }
- function fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag, saveflag , dschdd, srchdd )
- {
- if (!utlf_isNull(pid))
- {
- var sSendDs = dsf_createDsRow("ds_addprcp_send", [{col:"pid", type:"string", size:256, val: pid},
- {col:"orddd", type:"string", size:256, val: orddd},
- {col:"cretno", type:"string", size:256, val: cretno},
- {col:"instcd", type:"string", size:256, val: instcd},
- {col:"ioflag", type:"string", size:256, val: ioflag},
- {col:"srchdd", type:"string", size:256, val: ""},
- {col:"pseuacptflag", type:"string", size:256, val: ""}]);
- if ( !utlf_isNull(dschdd) && dschdd != "99991231" && dschdd != "-" )
- {
- ds_addprcp_send.setColumn(0, "srchdd", dschdd);
- }
- else
- {
- if (utlf_isNull(srchdd))
- {
- ds_addprcp_send.setColumn(0, "srchdd", "");
- }
- else
- {
- ds_addprcp_send.setColumn(0, "srchdd", srchdd);
- }
- }
- if ( ioflag == "O" || ioflag == "S" )
- {
- ds_addprcp_send.setColumn(0, "ioflag", "O" );
- ds_addprcp_send.setColumn(0, "pseuacptflag", (utlf_isNull(this.objects["ds_formerkey"]) ? "" : ds_formerkey.getColumn(0, "pseuacptflag")));
-
- var oParam = {};
- oParam.id = "TRMMO04208";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetPatTopInfo";
- oParam.inds = "req=ds_addprcp_send";
- oParam.outds = "ds_topinfo_outpatpaminfo=outpatpaminfo ds_topinfo_patmaintopinfo=patmaintopinfo ds_topinfo_outpatflaginfo=outpatflaginfo";
- oParam.async = false;
- oParam.callback = "cf_TRMMO04208";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMMO04208") > -1)
- {
- ds_paminfo.copyData(ds_topinfo_outpatpaminfo);
- ds_patflag.copyData(ds_topinfo_outpatflaginfo);
- }
- else{
- return;
- }
- }
- else
- {
- if(ioflag == "D")
- {
- ds_addprcp_send.setColumn(0, "ioflag", "I");
- }
- var oParam = {};
- oParam.id = "TRMMO04302";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetPatTopInfo";
- oParam.inds = "req=ds_addprcp_send";
- oParam.outds = "ds_topinfo_inpatpaminfo=inpatpaminfo ds_topinfo_patmaintopinfo2=patmaintopinfo ds_topinfo_inpatflaginfo=inpatflaginfo";
- oParam.async = false;
- oParam.callback = "cf_TRMMO04302";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMMO04302") > -1)
- {
- ds_paminfo.copyData(ds_topinfo_inpatpaminfo);
- ds_patflag.copyData(ds_topinfo_inpatflaginfo);
- }
- else
- {
- return;
- }
- }
- }
- }
- function cf_TRMMO04202(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_TRMMO04302(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function div_all_grp_sea_ipt_seaval_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_grd_prcplist.clearData();
- div_all.grp_sea.ipt_seaval.updateToDataset();
- div_all.grp_sea.btn_sea.click();
- }
- }
- function div_all_grd_prcplist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- ds_init.setColumn(0, "refcmts", ds_grd_prcplist.getColumn(ds_grd_prcplist.rowposition, "redchk"));
- div_all.grp_refcmts.visible = true;
- }
- function div_all_grp_refcmts_btn_refcmts_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grd_prcplist.setColumn(ds_grd_prcplist.rowposition, "redchk", ds_init.getColumn(0, "refcmts"));
- ds_init.setColumn(0, "refcmts", "");
- div_all.grp_refcmts.visible = false;
- }
- function div_all_grp_sea_ipt_acptddto_onkeyup(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- fGetPatList();
- }
- }
- function div_all_grp_sea_ipt_fromptno_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- ds_init.setColumn(0, "fromptno", div_all.grp_sea.ipt_fromptno.text);
- fGetPatList();
- }
- }
- // function fAfSignPatSrch1()
- // {
- // var adminInfo = ds_root.getColumn(0, "admininfo");
- // var srchcond4 = ds_init.getColumn(0, "srchcond4");
- // frmf_setParameter("SPMMO09100_paminfoyn", ds_init.getColumn(0, "paminfoyn"));
- //
- // if (utlf_isNull(srchcond4))
- // {
- // ds_init.setColumn(0, "srchcond4", "-");
- // }
- //
- // // 누락처방입력 정보 초기화
- // sysf_setGlobalVariable("SPMMO16800_rtn1", "");
- // ds_prcpresn.clearData();
- //
- // // 구 인스턴스 초기화
- // ds_formerkey.clearData();
- // ds_formerkey.addRow();
- // ds_paminfo.clearData();
- //
- // frmf_clearParameter("SPMMO09100_pid" );
- // frmf_clearParameter("SPMMO09100_orddd");
- // frmf_clearParameter("SPMMO09100_cretno");
- // frmf_clearParameter("SPMMO09100_instcd");
- // frmf_clearParameter("SPMMO09100_ioflag");
- // frmf_clearParameter("SPMMO09100_orddeptcd");
- // frmf_clearParameter("SPMMO09100_orddrid");
- // frmf_clearParameter("SPMMO09100_indschacptstat");
- // frmf_clearParameter("SPMMO09100_rtnyn");
- // frmf_clearParameter("SPMMO09100_dschdd");
- // frmf_clearParameter("SPMMO09100_dc");
- // frmf_clearParameter("SPMMO09100_insukind");
- // frmf_clearParameter("SPMMO09100_suppkind");
- // frmf_clearParameter("SPMMO09100_drvalidyn");
- //
- // ds_init.setColumn(0, "rrgstno1", "");
- // ds_init.setColumn(0, "rrgstno2", "");
- // ds_init.setColumn(0, "orddeptnm", "");
- // ds_init.setColumn(0, "sex", "");
- // ds_init.setColumn(0, "age", "");
- // ds_init.setColumn(0, "wardcd", "");
- // ds_init.setColumn(0, "orddd", "");
- //
- // ds_send.setColumn(0, "cond1", ds_init.getColumn(0, "srchcond1"));
- //
- // if ( ds_send.getColumn(0, "cond1") == "1" )
- // {
- // ds_send.setColumn(0, "cond2", ds_init.getColumn(0, "srchcond2"));
- // }
- // else //이름으로 검색할 경우
- // {
- // ds_send.setColumn(0, "cond2", ds_init.getColumn(0, "srchcond3"));
- // }
- //
- // ds_send.setColumn(0, "cond3", sysf_getUserInfo("dutplceinstcd"));
- // ds_send.setColumn(0, "cond4", "N");
- // ds_send.setColumn(0, "cond5", "N");
- // ds_send.setColumn(0, "cond6", ds_init.getColumn(0, "srchcond4"));
- // ds_send.setColumn(0, "cond10", ds_init.getColumn(0, "srchcond5"));
- // ds_send.setColumn(0, "cond11", ds_init.getColumn(0, "srchcond6"));
- //
- // var oParam = {};
- // oParam.id = "TRMMO00200";
- // oParam.service = "prcpmngtapp.PrcpMngt";
- // oParam.method = "reqGetComnPatOrdInfo";
- // oParam.inds = "req=ds_send";
- // oParam.outds = "ds_patordinfolist=patordinfolist";
- // oParam.async = false;
- // //oParam.callback = "cf_TRMMO00200";
- // tranf_submit(oParam);
- //
- // var patordinfolistCnt = ds_patordinfolist.rowcount;
- // var currentDate = utlf_getCurrentDate();
- //
- // ds_formerkey.setColumn(0, "pseuacptflag", "N");
- //
- // if ( patordinfolistCnt >= 1 ) //값이 한개이상이면 팝업을 띄운다.
- // {
- // var xpt = this.getOwnerFrame().position.x + 50;
- // var ypt = this.getOwnerFrame().position.y + 80;
- // var mon = sysf_getCurrentMonitorNumber();
- //
- // var objArg = new Object();
- // objArg.arg_ds_patordinfolist = ds_patordinfolist;
- // frmf_modal("SPMMO09100","SPMMO09100",objArg,null,mon,xpt,ypt,null,null,null,null,null,"M");
- //
- // // 팝업에서 취소 시 이벤트 처리
- // var cancelKey = frmf_getParameter("SPMMO09100_rtnyn");
- // if (cancelKey != "Y")
- // {
- // fClearAddPrcp();
- // frmf_clearParameter("SPMMO09100_rtnyn" );
- // frmf_clearParameter("SPMMO09100_paminfoyn" );
- // return ;
- // }
- //
- // ds_patordinfolist.clearData();
- // var rtnparam = frmf_getParameter( "SPMMO09100_rtn_param");
- // dsf_setCSVToDs("ds_patordinfolist", rtnparam);
- //
- // var pid = frmf_getParameter("SPMMO09100_pid" );
- // var orddd = frmf_getParameter("SPMMO09100_orddd");
- // var cretno = frmf_getParameter("SPMMO09100_cretno");
- // var instcd = frmf_getParameter("SPMMO09100_instcd");
- // var ioflag = frmf_getParameter("SPMMO09100_ioflag");
- // var orddeptcd = frmf_getParameter("SPMMO09100_orddeptcd");
- // var orddrid = frmf_getParameter("SPMMO09100_orddrid");
- // var indschacptstat = frmf_getParameter("SPMMO09100_indschacptstat");
- // var dschdd = frmf_getParameter("SPMMO09100_dschdd");
- // var insukind = frmf_getParameter("SPMMO09100_insukind");
- // var suppkind = frmf_getParameter("SPMMO09100_suppkind");
- // var dcflag = frmf_getParameter("SPMMO09100_dc");
- // var drvalidyn = frmf_getParameter("SPMMO09100_drvalidyn");
- //
- // var srchdd = ""; // 기존에 입원일자로 조회 하던것을 퇴원 일자로 조회 하도록 수정 응급실 내원후 병동 이동일 경우 icdr에 ordtype 'E' 로 존재 하여 상단정보 조회시 오류 발생 방지 2014.07.11 엄영만
- // if(dschdd == "99991231")
- // {
- // srchdd = utlf_getCurrentDate();
- // }
- // else
- // {
- // srchdd = dschdd;
- // }
- // if ( dcflag != "DC" )
- // {
- // if ( currentDate != orddd && (ioflag == "O" || ioflag == "S"))
- // { // 진료일과 현재일이 다른 경우 가접수 후 데이타 셋팅. 20090604 퇴원후 바로 가접수처리건때문에 외래에만 적용.
- // // 진단명 조회를 위한 구 키 셋팅
- // ds_formerkey.setColumn(0, "pid", pid);
- // ds_formerkey.setColumn(0, "orddd_old", orddd);
- // ds_formerkey.setColumn(0, "cretno_old", cretno);
- // ds_formerkey.setColumn(0, "instcd", instcd);
- // ds_formerkey.setColumn(0, "genrflagcd_old", ioflag);
- // ds_formerkey.setColumn(0, "pseuacptflag", "Y");
- //
- // var returnkey = fSetAssumAccept(pid, orddd, cretno, "O", orddeptcd, orddrid);
- // if (returnkey == false) return ;
- //
- // pid = ds_execpatordinfolist.getColumn(0, "otpt_pid");
- // orddd = ds_execpatordinfolist.getColumn(0, "otpt_orddd");
- // cretno = ds_execpatordinfolist.getColumn(0, "otpt_cretno");
- //
- // ds_formerkey.setColumn(0, "orddd", orddd);
- // ds_formerkey.setColumn(0, "cretno", cretno);
- // ds_formerkey.setColumn(0, "genrflagcd", ioflag);
- // }
- // else if ( (ioflag == "I" || ioflag == "D" || ioflag == "E") && indschacptstat == "D" )
- // {
- // // 진단명 조회를 위한 구 키 셋팅
- // ds_formerkey.setColumn(0, "pid", pid);
- // ds_formerkey.setColumn(0, "orddd_old", orddd);
- // ds_formerkey.setColumn(0, "cretno_old", cretno);
- // ds_formerkey.setColumn(0, "instcd", instcd);
- // ds_formerkey.setColumn(0, "genrflagcd_old", ioflag);
- // ds_formerkey.setColumn(0, "pseuacptflag", "Y");
- //
- // var returnkey = fSetAssumAccept(pid, orddd, cretno, "I", orddeptcd, orddrid, insukind, suppkind );
- // if (returnkey == false) return ;
- //
- // pid = ds_followup.getColumn(0, "otpt_pid");
- // orddd = ds_followup.getColumn(0, "otpt_orddd");
- // cretno = ds_followup.getColumn(0, "otpt_cretno");
- // ioflag = "O" ; // 강제로 외래 셋팅
- // ds_patordinfolist.setColumn(0, "ioflag", ioflag);
- //
- // ds_formerkey.setColumn(0, "orddd", orddd);
- // ds_formerkey.setColumn(0, "cretno", cretno);
- // ds_formerkey.setColumn(0, "genrflagcd", ioflag);
- // }
- // }
- //
- // frmf_clearParameter("SPMMO09100_pid" );
- // frmf_clearParameter("SPMMO09100_orddd");
- // frmf_clearParameter("SPMMO09100_cretno");
- // frmf_clearParameter("SPMMO09100_instcd");
- // frmf_clearParameter("SPMMO09100_ioflag");
- // frmf_clearParameter("SPMMO09100_orddeptcd");
- // frmf_clearParameter("SPMMO09100_orddrid");
- // frmf_clearParameter("SPMMO09100_indschacptstat");
- // frmf_clearParameter("SPMMO09100_rtnyn");
- // frmf_clearParameter("SPMMO09100_dschdd");
- // frmf_clearParameter("SPMMO09100_dc");
- // frmf_clearParameter("SPMMO09100_insukind");
- // frmf_clearParameter("SPMMO09100_suppkind");
- // frmf_clearParameter("SPMMO09100_drvalidyn");
- //
- // if ( utlf_isNull(pid ))
- // {
- // fClearAddPrcp();
- // }
- // else
- // {
- // var sPamInfoYn = ds_init.getColumn(0, "paminfoyn"); //model.getValue ( "/root/init/paminfoyn" );
- // if ( dcflag == "DC" || sPamInfoYn == "Y") // 상단정보 설정(과거처방DC, 상단정보 연계)
- // {
- // // 퇴직의사에 대해서 admin 권한을 가진 사람일 경우는 입원일로 체크하도록 한다.
- // var sTopSrchDd = "";
- // if ( drvalidyn == "N" && adminInfo.substring(0, 6) == "YYYYYY")
- // {
- // sTopSrchDd = orddd;
- // }
- //
- // // 상단 정보 세팅
- // var param = ioflag + "▦" +
- // pid + "▦" +
- // orddd + "▦" +
- // cretno + "▦" +
- // instcd + "▦" +
- // srchdd;
- //
- // appf_initPatientInfo(param);
- //
- // frmf_setParameter("SPMMO08900_rtn_useyn", ""); // 처방 저장후 의사처방화면 설정로직을 스킵 하기 위해
- // }
- // else
- // {
- // var sDutPlceCd = sysf_getUserInfo("dutplcecd");
- // if (sDutPlceCd != "4072000000" && sDutPlceCd != "4070700000" ) // 심사실에서 가퇴원 환자 선택시 상단 정보 삭제 되지 않도록 처리 2013.09.25 엄영만
- // {
- // appf_delPatientInfos(); // 환자정보 삭제
- // }
- // }
- // if(adminInfo.substring(0, 6) != "YYYYYY") {
- // fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag , "N", dschdd );
- // } else {
- // fAddPrcpInitConDone( pid, orddd, cretno, instcd, ioflag , "N", dschdd , srchdd);
- // }
- // fPatDethInfo(); //사망환자 alert(2009.12.21 JJE)
- // }
- // }
- // }
- // function lpzfPlgyPrcpSaveSign1(signbfcnts, signid, signopt)
- // {
- // trace("signbfcnts = " + signbfcnts);
- // trace("signid = " + signid);
- // trace("signopt = " + signopt);
- // //인증저장로직 구현X
- // var v_stext = "";
- //
- // if(!utlf_isNull(signbfcnts))
- // {
- // if(signopt)
- // {
- // v_stext = zesf_SignData1( signbfcnts, signid );
- // }
- // else
- // {
- // v_stext = zesf_SignData1( signbfcnts, signid );
- // }
- // if(utlf_isNull(v_stext))
- // {
- // return ""; //값이 없을 때는 return 함
- // }
- // }
- // else
- // {
- // return "N"; //인증할 데이터가 없을 때는 N 으로 return
- // }
- // return v_stext;
- // }
- //
- // function zesf_SignData1( pOrgData, pUid, pReload, pDbg )
- // {
- // trace("pOrgData = " +pOrgData);
- //
- //
- //
- //
- // if(pReload)
- // {
- // utlf_transNullToEmpty(zes_objForm).zes_sUID = "";
- // }
- //
- // var signedData = "";
- // var reload = false;
- //
- // if( pUid == null || pUid == "" ) {
- // pUid = sysf_getUserInfo("userid");
- // }
- //
- // if( utlf_transNullToEmpty(zes_objForm).zes_sUID != pUid )
- // {
- // reload = true;
- // }
- //
- // var today = new Date();
- //
- // if( utlf_transNullToEmpty(zes_objForm).zes_sCertYear != today.getFullYear() ) {
- // reload = true;
- // }
- //
- // if( utlf_transNullToEmpty(zes_objForm).zes_sCertMonth != ( today.getMonth() + 1 ) ) {
- // reload = true;
- // }
- //
- // if( utlf_transNullToEmpty(zes_objForm).zes_sCertDate != today.getDate() ) {
- // reload = true;
- // }
- //
- // if( reload ) {
- //
- // //utlf_transNullToEmpty(zes_objSKComm).UnsetMatchedContext();
- //
- // utlf_transNullToEmpty(zes_objForm).zes_sUID = "";
- // utlf_transNullToEmpty(zes_objForm).zes_sCertYear = 1970;
- // utlf_transNullToEmpty(zes_objForm).zes_sCertMonth = 1;
- // utlf_transNullToEmpty(zes_objForm).zes_sCertDate = 1;
- //
- // if( zesf_LoadKeyAndCert1( pUid, pDbg ) == "" )
- // {
- // return signedData;
- // }
- //
- // }
- //
- // if( pDbg != null ) {
- // alert( "SignDataB64" );
- // }
- //
- // signedData = utlf_transNullToEmpty(zes_objSKComm).SignDataB64( "", pOrgData, 0 );
- // if( signedData == "" ) {
- // msg = "전자서명 생성에"
- // sysf_messageBox( msg, "E009", zesf_getCMErrMsg());
- // }
- //
- // //activateMyWindow();
- //
- // return signedData;
- //
- // }
- //
- // function zesf_LoadKeyAndCert1( pUid, pDbg ) {
- // var dn = "";
- // var msg = "";
- // var pwd = "";
- // var certloadyn = "N";
- //
- // var oDsHardCd = agv_objAppTopPath.form.dv_orderbasicinfo.lf_getOrderBaseInfo("hardcdlist");
- // if(!utlf_isNull(oDsHardCd)) {
- // certloadyn = oDsHardCd.lookup("hardcdno", "5996", "hardcd");
- // }
- //
- // if (certloadyn == "Y" && _SIGNTEST == "N") {
- // //비밀번호 입력창 오픈
- // var xpt = this.getOwnerFrame().position.x + 400;
- // var ypt = this.getOwnerFrame().position.y + 60;
- //
- // // 인증서비밀번호 입력창이 너무 작게 열리는 현상 때문에 width, height 값 지정해봄 (2017.01.17 - 김상목)
- // var pwd = frmf_modal("SPZMS00300", "SPZMS00300", null, false, null, xpt, ypt, 281, 143, null, null, null, "M");
- //
- // if (utlf_isNull(pwd)) {
- // return dn;
- // }
- //
- // }
- //
- // var ip = sysf_getUserInfo("kmiip");
- // var port = sysf_getUserInfo("kmiport");
- // //trace("kmsConnect = " +kmsConnect);
- //
- // if(!zes_objKMClient.kmsConnect(ip, port) ){
- // msg = "KMI 서버( IP:" + ip + ",포트:" + port + ") 연결에";
- // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() );
- // return dn;
- // }
- //
- // if( pDbg != null ) {
- // alert( "KMI 서버가 연결되었습니다." );
- // }
- //
- // var envelop = zes_objKMClient.kmsInit();
- // if( envelop == "" ) {
- // msg = "KMI 모듈의 초기화에";
- // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() );
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // }
- //
- // if( pDbg != null ) {
- // alert( "KMI 모듈이 초기화되었습니다. \nENVELOP : " + envelop );
- // }
- //
- // dn = zes_objKMClient.GetKeyAndCert( pUid );
- // if( dn == "" ) {
- // msg = "KMI 서버에서 인증서( " + pUid + " )를 가져오는 데.";
- // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg() +"\n전자인증서와 관련한 에러는 " + _TEL_NO + " 로 연락해주시기 바랍니다.");
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // }
- //
- // if( pDbg != null ) {
- // alert( "인증서를 다운로드하였습니다.\n다운로드 인증서 DN : " + dn );
- // }
- //
- // switch( zes_objKMClient.IsCertNew( pUid, dn ) ) {
- // case 0 : // 현재 인증서가 유효함
- // if( pDbg != null ) {
- // alert( "현재 인증서가 유효합니다." );
- // }
- // break;
- // case 1 : // 인증서가 갱신되어 KMI에 재등록됨
- // msg = "인증서의 갱신이";
- // sysf_messageBox( msg, "I002");
- // break;
- // case 2 : // 인증서 갱신 실패 ( 에러코드와 메시지가 리턴됨 )
- // msg = "인증서 갱신에";
- // sysf_messageBox( msg, "E009", zesf_getKMIErrMsg());
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // case 3 : // 인증서 갱신은 성공 하였으나 KMI 서버 등록 실패 (인증서 백업 성공)
- // case 4 : // 인증서 갱신은 성공 하였으나 KMI 서버 등록 실패 (인증서 백업 실패)
- // msg = "갱신된 인증서의 KMI 등록에";
- // sysf_messageBox( msg, "E009", "관리자에게 문의하시기 바랍니다.");
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // case 5 : // 이미 만료 되었거나 폐지된 인증서
- // msg = "인증서가 만료되어 사용";
- // sysf_messageBox( msg, "E001", "인증서를 재발급 받으시기 바랍니다.");
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // case 6 : // 인증서의 갱신을 사용자가 취소
- // break;
- // case 7 :
- // msg = "인증서 화일에 문제가 있어 인증서 읽기에.";
- // sysf_messageBox( msg, "E009", "관리자에게 문의하시기 바랍니다.");
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- // return dn;
- // }
- //
- // //zes_objSKComm.SetExipreCheckSkip(1);// 인증서 갱신안내 팝업표시 안함 (EMR 오픈시까지 유지)
- //
- // // 0 * 256 : SignKorea의 인증서만 선택
- // // 0 * 16 : 비밀번호 입력 받음
- // // 1 : 현재의 ActiveX 인스턴스가 유효할 동안 선택한 정보 유지
- //
- // // dn = zes_objSKComm.SetMatchedContextExt( dn, "", "", 0 * 256 + 0 * 16 + 1 );
- //
- // var matched_dn = zes_objSKComm.SetMatchedContextExt( dn, "", pwd, 0 * 256 + 0 * 16 + 1 );
- // if( matched_dn == "" ) {
- // msg = "인증서의 메모리 로드에";
- // sysf_messageBox( msg, "E009", zesf_getCMErrMsg());
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- // return matched_dn;
- // }
- //
- // var today = new Date();
- //
- //
- //
- // zes_objForm.zes_sCertYear = today.getFullYear();
- // zes_objForm.zes_sCertMonth = today.getMonth() + 1;
- // zes_objForm.zes_sCertDate = today.getDate();
- // zes_objForm.zes_sUID = pUid;
- //
- // zes_objKMClient.LocalDelKeyAndCert(dn);
- // zes_objKMClient.kmsDisconnect();
- //
- // return dn;
- // }]]></Script>
- </Form>
- </FDL>
|