12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRD01200" position="absolute 0 0 1213 786" titletext="챠트분석관리" oninit="SMMRD01200_oninit" onload="SMMRD01200_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 49 225 471" id="roundrect1" type="roundrectangle" class="div_SA">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Calendar position="absolute 90 98 206 117" id="ipt_srchfrdd" class="input_s_essential" taborder="1" autoselect="true" autoskip="true"/>
- <Static text="챠트분석관리" position="absolute 0 0 116 26" id="caption6" class="tit_1"/>
- <Combo position="absolute 17 365 73 384" id="cmb_orddept" class="combo_search" innerdataset="ds_init_orddept_dept" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_orddept_onitemchanged" visible="false"/>
- <Calendar position="absolute 90 121 206 140" id="ipt_srchtodd" class="input_s_essential" taborder="2" autoselect="true"/>
- <Button position="absolute 163 439 219 461" id="btn_r_chrtmovelist" class="btn1" text="조회" onclick="btn_r_chrtmovelist_onclick"/>
- <Shape position="absolute 154 439 160 461" linetype="vertical" id="line13" class="line_4"/>
- <Static text="퇴원일자 :" position="absolute 9 98 87 115" id="cap_snm" class="search_name"/>
- <Static text="~" position="absolute 81 123 93 140" id="caption4" class="search_no_b"/>
- <Static text="구 분 :" position="absolute 9 54 87 71" id="cap_indschflag" class="search_name"/>
- <Static text="병 동 :" position="absolute 9 197 87 214" id="cap_ward" class="search_name"/>
- <Combo position="absolute 90 196 206 215" id="cbo_ward" class="combo_search" innerdataset="ds_init_ward_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
- <Static text="진 료 과 :" position="absolute 9 149 87 166" id="cap_dept" class="search_name"/>
- <Radio position="absolute 90 52 180 72" id="rdo_ioflag" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_ioflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">D</Col>
- <Col id="datacolumn">퇴원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">재원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="담당교수 :" position="absolute 9 172 89 189" id="cap_medispc" class="search_name"/>
- <Combo position="absolute 90 172 206 191" id="cmb_medispc" class="combo_search" innerdataset="ds_init_userlist_drlist" datacolumn="drnm" codecolumn="drid"/>
- <CheckBox position="absolute 7 441 94 461" id="chk_longinhosp" text="장기 재원시" truevalue="H" onclick="chk_longinhosp_onclick"/>
- <Static text="수거상태 :" position="absolute 9 266 87 283" id="cap_remyn" class="search_name"/>
- <Grid position="absolute 0 495 225 770" id="datagrid1" binddataset="ds_main_list_dschcnt" anchor="left top bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:flagnm"/>
- <Cell col="1" style="align:left middle;" text="bind:totcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="조회구분 :" position="absolute 9 321 87 338" id="cap_reqflag" class="search_name"/>
- <Radio position="absolute 100 321 205 480" id="rdo_reqflag" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_reqflag_onitemchanged" onitemclick="rdo_reqflag_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">dsch1</Col>
- <Col id="datacolumn">퇴원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">anly1</Col>
- <Col id="datacolumn">퇴원분석</Col>
- </Row>
- <Row>
- <Col id="codecolumn">anly2</Col>
- <Col id="datacolumn">미퇴원분석</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indx1</Col>
- <Col id="datacolumn">진코딩</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indx2</Col>
- <Col id="datacolumn">가코딩</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indx3</Col>
- <Col id="datacolumn">미코딩</Col>
- </Row>
- <Row>
- <Col id="codecolumn">unpr</Col>
- <Col id="datacolumn">미비관리</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indx4</Col>
- <Col id="datacolumn">재검토</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 1091 26 1141 45" id="btn_excel" class="btn7" text="엑셀" onclick="btn_excel_onclick" anchor="top right"/>
- <Static text="등록번호 :" position="absolute 9 77 87 94" id="cap_pid" class="search_name"/>
- <Edit position="absolute 90 75 181 94" id="ipt_pid" class="input_default" onkeyup="ipt_pid_onkeyup" autoselect="true"/>
- <Button position="absolute 204 74 220 90" id="btn_srchpid" class="icon_search" text="" onclick="btn_srchpid_onclick"/>
- <Edit position="absolute 93 441 154 460" id="ipt_inhospdd" enable="false" inputtype="number" inputfilter="dot,comma,sign,symbol,space"/>
- <Static text="검색이완료되었습니다(" position="absolute 5 470 132 490" id="cap_text"/>
- <Static position="absolute 133 470 168 490" id="cap_srchcnt" style="align:center middle;"/>
- <Static text=")건" position="absolute 171 470 192 490" id="cap_text2"/>
- <Tab position="absolute 228 37 1202 775" id="switch1" class="tab_Normal" anchor="all">
- <Tabpages>
- <Tabpage text="수거" position="absolute 0 0 970 733" id="case1" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 2 972 724" id="grd_chrtanaly" class="datagrid2" visible="false" binddataset="ds_main_list_chrtanaly_patlist" oncellclick="switch1_case1_grd_chrtanaly_oncellclick" onrbuttondown="switch1_case1_grd_chrtanaly_onrbuttondown" cellsizingtype="col" selecttype="multirow" anchor="all" taborder="0" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="42"/>
- <Column size="70"/>
- <Column size="59"/>
- <Column size="63"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="42"/>
- <Column size="105"/>
- <Column size="0"/>
- <Column size="46"/>
- <Column size="53"/>
- <Column size="0"/>
- <Column size="54"/>
- <Column size="71"/>
- <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="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="수거"/>
- <Cell col="2" text="삭제"/>
- <Cell col="3" text="미반납"/>
- <Cell col="4" text="6시간 미만"/>
- <Cell col="5" text="등록번호"/>
- <Cell col="6" text="환자명"/>
- <Cell col="7" text="성별/나이"/>
- <Cell col="8" text="응급실내원일"/>
- <Cell col="9" text="입원일자"/>
- <Cell col="10" text="입원과명"/>
- <Cell col="11" text="입원과"/>
- <Cell col="12" text="퇴원일시"/>
- <Cell col="13" text="퇴원과명"/>
- <Cell col="14" text="퇴원과"/>
- <Cell col="15" text="담당교수"/>
- <Cell col="16" text="병동"/>
- <Cell col="17" text="병실"/>
- <Cell col="18" text="수거일자"/>
- <Cell col="19" text="출력여부"/>
- <Cell col="20" text="주민번호"/>
- <Cell col="21" text="주소"/>
- <Cell col="22" text="입퇴원요약지인증번호"/>
- <Cell col="23" text="입퇴원요약지코드"/>
- <Cell col="24" text="수술기록지인증번호"/>
- <Cell col="25" text="수술기록지코드"/>
- <Cell col="26" text="생성번호"/>
- <Cell col="27" text="기관코드"/>
- <Cell col="28" text="차트수거자"/>
- <Cell col="29" text="수거일시"/>
- <Cell col="30" text="차트삭제자"/>
- <Cell col="31" text="삭제일시"/>
- <Cell col="32" text="원입원일자"/>
- <Cell col="33" text="초진"/>
- <Cell col="34" text="전과"/>
- <Cell col="35" text="수술"/>
- <Cell col="36" text="시술"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:remyn" expr="expr:remyn == 'Y' || remyn == '1' ? 1 : 0"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:delyn" expr="expr:delyn == 'Y' || delyn == '1' ? 1 : 0"/>
- <Cell col="3" displaytype="checkbox" edittype="checkbox" text="bind:unrtnyn" expr="expr:unrtnyn == 'Y' || unrtnyn == '1' ? 1 : 0"/>
- <Cell col="4" text="bind:sixdethflag"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:pnm"/>
- <Cell col="7" text="bind:sa"/>
- <Cell col="8" style="align:left middle;" text="bind:erindd" mask="expr:utlf_isNull(erindd) || erindd == "-" ? "" : "####-##-##""/>
- <Cell col="9" text="bind:indd" mask="####-##-##"/>
- <Cell col="10" displaytype="combo" edittype="combo" text="bind:indeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="11" text="bind:indeptengcd" enable="false"/>
- <Cell col="12" text="bind:dschdt" mask="####-##-## ##:##"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:dschdeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="14" text="bind:dschdeptengcd" enable="false"/>
- <Cell col="15" text="bind:atdoctnm" enable="false"/>
- <Cell col="16" displaytype="combo" edittype="combo" text="bind:ward" combodataset="ds_init_ward_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="17" text="bind:room"/>
- <Cell col="18" style="align:left middle;" text="bind:removedd" mask="expr:utlf_isNull(removedd) || removedd == "-" ? "" : "####-##-##""/>
- <Cell col="19" text="bind:readprtflag"/>
- <Cell col="20" text="bind:rrgstno"/>
- <Cell col="21" text="bind:addr"/>
- <Cell col="22" text="bind:signno"/>
- <Cell col="23" text="bind:formcd"/>
- <Cell col="24" text="bind:opsigngno"/>
- <Cell col="25" text="bind:opformcd"/>
- <Cell col="26" text="bind:cretno"/>
- <Cell col="27" text="bind:instcd"/>
- <Cell col="28" text="bind:removerid"/>
- <Cell col="29" text="bind:removedt"/>
- <Cell col="30" text="bind:indeluserid"/>
- <Cell col="31" text="bind:indeldt"/>
- <Cell col="32" text="bind:orgindd"/>
- <Cell col="33" text="bind:fstyn"/>
- <Cell col="34" text="bind:transyn"/>
- <Cell col="35" text="bind:susulyn"/>
- <Cell col="36" text="bind:sisulyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="분석" id="case2" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_dschpat" class="datagrid2" visible="true" binddataset="ds_main_list_templist_dschpat" oncellclick="switch1_case2_grd_dschpat_oncellclick" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="64"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="46"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="58"/>
- <Column size="35"/>
- <Column size="35"/>
- <Column size="65"/>
- <Column size="34"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="57"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="71"/>
- <Column size="78"/>
- <Column size="44"/>
- <Column size="68"/>
- <Column size="81"/>
- <Column size="83"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="입원일자"/>
- <Cell col="4" text="입원과명"/>
- <Cell col="5" text="병동입실일"/>
- <Cell col="6" text="입원과"/>
- <Cell col="7" text="퇴원일자"/>
- <Cell col="8" text="퇴원과명"/>
- <Cell col="9" text="퇴원과"/>
- <Cell col="10" text="재원 일수"/>
- <Cell col="11" text="전과 여부"/>
- <Cell col="12" text="재평가 기록횟수"/>
- <Cell col="13" text="마취 방법"/>
- <Cell col="14" text="시술 여부"/>
- <Cell col="15" text="시술코드"/>
- <Cell col="16" text="ER 구분"/>
- <Cell col="17" text="수거상태"/>
- <Cell col="18" text="수거일자"/>
- <Cell col="19" text="퇴원분석 여부"/>
- <Cell col="20" text="미비 여부"/>
- <Cell col="21" text="코딩 여부"/>
- <Cell col="22" text="미비완료일"/>
- <Cell col="23" text="생성번호"/>
- <Cell col="24" text="기관코드"/>
- <Cell col="25" text="수거자"/>
- <Cell col="26" text="삭제자"/>
- <Cell col="27" text="삭제일시"/>
- <Cell col="28" text="주진단코드"/>
- <Cell col="29" text="주수술코드"/>
- <Cell col="30" text="암등록 여부"/>
- <Cell col="31" text="암등록코드 (T코드)"/>
- <Cell col="32" text="암등록일시"/>
- <Cell col="33" text="담당교수"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:indd" mask="####-##-##"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:indeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="5" text="bind:inrmdt" mask="####-##-## ##:##"/>
- <Cell col="6" text="bind:indeptengcd" enable="false"/>
- <Cell col="7" text="bind:dschdt" mask="####-##-## ##:##"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:dschdeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="9" text="bind:dschdeptengcd" enable="false"/>
- <Cell col="10" text="bind:hd"/>
- <Cell col="11" text="bind:cdcryn"/>
- <Cell col="12" text="bind:revalucnt"/>
- <Cell col="13" text="bind:anstmthd"/>
- <Cell col="14" text="bind:srgopyn"/>
- <Cell col="15" text="bind:doptermcd"/>
- <Cell col="16" text="bind:ordtype"/>
- <Cell col="17" text="bind:remyn"/>
- <Cell col="18" text="bind:removedd" mask="expr:grdf_setCellMask(removedd, "####-##-##")"/>
- <Cell col="19" text="bind:dschflag"/>
- <Cell col="20" text="bind:unprepflag"/>
- <Cell col="21" edittype="none" text="bind:indxflag"/>
- <Cell col="22" text="bind:unprependdd" expr="expr:unprepflag == 'Y' ? '' : utlf_transNullToEmpty(unprependdd)" mask="expr:unprepflag == 'Y' ? '' : grdf_setCellMask(unprependdd, "####-##-##")"/>
- <Cell col="23" text="bind:cretno"/>
- <Cell col="24" text="bind:instcd"/>
- <Cell col="25" text="bind:removerid"/>
- <Cell col="26" text="bind:indeluserid"/>
- <Cell col="27" text="bind:indeldt"/>
- <Cell col="28" text="bind:dispdiagcd"/>
- <Cell col="29" text="bind:disoptermcd"/>
- <Cell col="30" text="bind:cncr_regyn"/>
- <Cell col="31" text="bind:cncr_tcode"/>
- <Cell col="32" text="bind:cncr_regdate" mask="expr:grdf_setCellMask(cncr_regdate, "####-##-##")"/>
- <Cell col="33" text="bind:medispclnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="분석" id="case3" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_dschanaly" class="datagrid2" visible="true" binddataset="ds_main_list_templist1_dschanaly" oncellclick="switch1_case3_grd_dschanaly_oncellclick" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="64"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="64"/>
- <Column size="74"/>
- <Column size="0"/>
- <Column size="44"/>
- <Column size="0"/>
- <Column size="71"/>
- <Column size="78"/>
- <Column size="44"/>
- <Column size="68"/>
- <Column size="81"/>
- <Column size="93"/>
- <Column size="58"/>
- <Column size="100"/>
- <Column size="58"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="입원일자"/>
- <Cell col="4" text="입원과명"/>
- <Cell col="5" text="입원과"/>
- <Cell col="6" text="퇴원일자"/>
- <Cell col="7" text="퇴원과명"/>
- <Cell col="8" text="퇴원과"/>
- <Cell col="9" text="수거상태"/>
- <Cell col="10" text="주진단코드"/>
- <Cell col="11" text="주수술코드"/>
- <Cell col="12" text="암등록 여부"/>
- <Cell col="13" text="암등록코드 (T코드)"/>
- <Cell col="14" text="암등록일시"/>
- <Cell col="15" text="최초퇴원분석일"/>
- <Cell col="16" text="최초퇴원분석자" wordwrap="char"/>
- <Cell col="17" text="최종퇴원분석일"/>
- <Cell col="18" text="최종퇴원 분석자" wordwrap="char"/>
- <Cell col="19" text="퇴원분석내용"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:indd" mask="expr:grdf_setCellMask(indd, "####-##-##")"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:indeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="5" text="bind:indeptengcd" enable="false"/>
- <Cell col="6" text="bind:dschdt" mask="expr:grdf_setCellMask(dschdt, "####-##-##")" enable="false"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:dschdeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm"/>
- <Cell col="8" edittype="none" text="bind:dschdeptengcd" enable="false"/>
- <Cell col="9" edittype="none" text="bind:remyn" enable="false"/>
- <Cell col="10" text="bind:dispdiagcd"/>
- <Cell col="11" text="bind:disoptermcd"/>
- <Cell col="12" text="bind:cncr_regyn"/>
- <Cell col="13" text="bind:cncr_tcode"/>
- <Cell col="14" text="bind:cncr_regdate" mask="expr:grdf_setCellMask(cncr_regdate, "####-##-##")"/>
- <Cell col="15" text="bind:fstrgstdt" mask="expr:grdf_setCellMask(fstrgstdt, "####-##-##")"/>
- <Cell col="16" text="bind:fstrgstrnm"/>
- <Cell col="17" text="bind:lastupdtdt" mask="expr:grdf_setCellMask(lastupdtdt, "####-##-##")"/>
- <Cell col="18" text="bind:lastrgstrnm"/>
- <Cell col="19"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="분석" id="case4" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_indxlist" class="datagrid2" visible="true" binddataset="ds_main_list_templist2_dschindxlist" oncellclick="switch1_case4_grd_indxlist_oncellclick" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="55"/>
- <Column size="51"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="47"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="48"/>
- <Column size="51"/>
- <Column size="123"/>
- <Column size="81"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="48"/>
- <Column size="63"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="입원일자"/>
- <Cell col="4" text="입원과명"/>
- <Cell col="5" text="입원과"/>
- <Cell col="6" text="퇴원일자"/>
- <Cell col="7" text="퇴원과명"/>
- <Cell col="8" text="퇴원과"/>
- <Cell col="9" text="퇴원분석여부" wordwrap="char"/>
- <Cell col="10" text="미비현황"/>
- <Cell col="11" text="최초코딩날짜"/>
- <Cell col="12" text="최초코딩작업자아이디"/>
- <Cell col="13" text="최초코딩작업자" wordwrap="char"/>
- <Cell col="14" text="최종코딩날짜"/>
- <Cell col="15" text="최종코딩작업자아이디"/>
- <Cell col="16" text="최종코딩작업자" wordwrap="char"/>
- <Cell col="17" text="가코딩여부" wordwrap="char"/>
- <Cell col="18" text="가코딩상세내용" wordwrap="char"/>
- <Cell col="19" text="가코딩상세정보코드"/>
- <Cell col="20" text="진단코드"/>
- <Cell col="21" text="수술코드"/>
- <Cell col="22" text="사망코드"/>
- <Cell col="23" text="코딩내용(옵션)"/>
- <Cell col="24" text="생성번호"/>
- <Cell col="25" text="기관코드"/>
- <Cell col="26" text="수거자"/>
- <Cell col="27" text="수거일시"/>
- <Cell col="28" text="삭제자"/>
- <Cell col="29" text="삭제일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:indd" mask="expr:grdf_setCellMask(indd, "####-##-##")"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:indeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="5" text="bind:indeptengcd" enable="false"/>
- <Cell col="6" text="bind:dschdt" mask="####-##-## ##:##"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:dschdeptcd" combodataset="ds_init_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="8" text="bind:dschdeptengcd" enable="false"/>
- <Cell col="9" text="bind:dschflag"/>
- <Cell col="10" text="bind:unprepflag"/>
- <Cell col="11" text="bind:fstrgstdt" mask="####-##-## ##:##"/>
- <Cell col="12" text="bind:fstrgstrid"/>
- <Cell col="13" text="bind:fstrgstrnm"/>
- <Cell col="14" text="bind:lastupdtdt" mask="####-##-## ##:##"/>
- <Cell col="15" text="bind:lastrgstrid"/>
- <Cell col="16" text="bind:lastupdtrnm"/>
- <Cell col="17" text="bind:tmpcodeyn"/>
- <Cell col="18" text="bind:tmpcoderesnnm"/>
- <Cell col="19" text="bind:tmpcoderesncd"/>
- <Cell col="20" text="bind:diagtermcd"/>
- <Cell col="21" text="bind:optermcd"/>
- <Cell col="22" text="bind:dethcd"/>
- <Cell col="23"/>
- <Cell col="24" text="bind:cretno"/>
- <Cell col="25" text="bind:instcd"/>
- <Cell col="26" text="bind:removerid"/>
- <Cell col="27" text="bind:removedt"/>
- <Cell col="28" text="bind:indeluserid"/>
- <Cell col="29" text="bind:indeldt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="분석" id="case5" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_unprep" class="datagrid2" visible="true" binddataset="ds_main_list_templist3_dschunprep" oncellclick="switch1_case5_grd_unprep_oncellclick" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="59"/>
- <Column size="60"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="73"/>
- <Column size="0"/>
- <Column size="59"/>
- <Column size="81"/>
- <Column size="0"/>
- <Column size="73"/>
- <Column size="92"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="110"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="입원일자"/>
- <Cell col="4" text="입원과코드"/>
- <Cell col="5" text="입원과"/>
- <Cell col="6" text="퇴원일자"/>
- <Cell col="7" text="퇴원과코드"/>
- <Cell col="8" text="퇴원과"/>
- <Cell col="9" text="미비입력일(작업일자)" wordwrap="char"/>
- <Cell col="10" text="미비입력자코드"/>
- <Cell col="11" text="미비입력자"/>
- <Cell col="12" text="미비완료일"/>
- <Cell col="13" text="미비완료작업자코드"/>
- <Cell col="14" text="미비완료작업자" wordwrap="char"/>
- <Cell col="15" text="미비의사"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:indd" mask="expr:grdf_setCellMask(indd, "####-##-##")"/>
- <Cell col="4" text="bind:indeptcd"/>
- <Cell col="5" text="bind:indeptnm" enable="false"/>
- <Cell col="6" text="bind:dschdd" mask="expr:grdf_setCellMask(dschdd, "####-##-##")"/>
- <Cell col="7" text="bind:dschdeptcd"/>
- <Cell col="8" text="bind:dschdeptnm" enable="false"/>
- <Cell col="9" text="bind:fstrgstdt" mask="####-##-## ##:##"/>
- <Cell col="10" text="bind:fstrgstrid"/>
- <Cell col="11" text="bind:fstrgstrnm"/>
- <Cell col="12" text="bind:lastupdtdt" mask="####-##-## ##:##"/>
- <Cell col="13" text="bind:lastupdtrid"/>
- <Cell col="14" text="bind:lastupdtrnm"/>
- <Cell col="15" text="bind:drnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="미반납건수현황" id="deptunrtn" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_deptunrtncntlist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_chrtunrtnlist3_deptunrtncntlist" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="125"/>
- <Column size="88"/>
- <Column size="85"/>
- <Column size="206"/>
- <Column size="173"/>
- </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="퇴원환자수대비미반납율(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deptcd"/>
- <Cell col="1" text="bind:depthngnm"/>
- <Cell col="2" text="bind:dschcnt"/>
- <Cell col="3" text="bind:untrncnt"/>
- <Cell col="4" text="bind:deptuntrnrate"/>
- <Cell col="5" text="bind:dschuntrnrate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="deptunrem" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_deptunremcntlist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_chrtunrtnlist2_deptunremcntlist" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="156"/>
- <Column size="100"/>
- <Column size="237"/>
- </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="비율(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:deptcd"/>
- <Cell col="1" text="bind:depthngnm"/>
- <Cell col="2" text="bind:unremcnt"/>
- <Cell col="3" text="bind:rate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="wardunrem" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_wardunremcntlist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_chrtunrtnlist1_wardunremcntlist" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="115"/>
- <Column size="83"/>
- <Column size="661"/>
- <Column size="105"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="Floor"/>
- <Cell col="1" text="병동"/>
- <Cell col="2" text="미수거건수"/>
- <Cell col="3" text="과별미수거건수"/>
- <Cell col="4" text="비율(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:floor"/>
- <Cell col="1" text="bind:wardnm"/>
- <Cell col="2" text="bind:unremcnt"/>
- <Cell col="3" text="bind:deptunremcnt"/>
- <Cell col="4" text="bind:rate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="" id="wardunrtn" class="tab_Normal">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 972 722" id="grd_wardunrtncntlist" class="datagrid2" scrollbars="autoboth" binddataset="ds_main_chrtunrtnlist4_wardunrtncntlist" cellsizingtype="col" selecttype="multirow" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="156"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="197"/>
- <Column size="211"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="Floor"/>
- <Cell col="1" text="병동코드"/>
- <Cell col="2" text="병동"/>
- <Cell col="3" text="퇴원환자수"/>
- <Cell col="4" text="미반납건수"/>
- <Cell col="5" text="병동별미반납비율(%)"/>
- <Cell col="6" text="퇴원환자대비미반납율(%)"/>
- </Band>
- <Band id="body">
- <Cell text="bind:floor"/>
- <Cell col="1" text="bind:wardcd"/>
- <Cell col="2" text="bind:wardnm"/>
- <Cell col="3" text="bind:dschcnt"/>
- <Cell col="4" text="bind:untrncnt"/>
- <Cell col="5" text="bind:warduntrnrate"/>
- <Cell col="6" text="bind:dschuntrnrate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button position="absolute 717 26 803 45" id="btn_search" class="btn2" text="통합기록조회" onclick="btn_search_onclick" anchor="top right"/>
- <Button position="absolute 871 26 968 45" id="btn_indx" class="btn2" text="질병및수술분류" onclick="btn_indx_onclick" anchor="top right"/>
- <Button position="absolute 629 26 715 45" id="btn_patdinfo" class="btn2" visible="false" text="환자상세정보" onclick="btn_patdinfo_onclick" anchor="top right"/>
- <Button position="absolute 805 26 869 45" id="btn_dsch" class="btn2" text="퇴원분석" onclick="btn_dsch_onclick" anchor="top right"/>
- <Button position="absolute 1143 26 1198 45" id="btn_save" class="btn4" text="저장" onclick="btn_save_onclick" anchor="top right"/>
- <Radio position="absolute 100 265 175 345" id="rdo_remyn" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_remyn_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">all</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">rem</Col>
- <Col id="datacolumn">수거</Col>
- </Row>
- <Row>
- <Col id="codecolumn">urem</Col>
- <Col id="datacolumn">미수거</Col>
- </Row>
- <Row>
- <Col id="codecolumn">indelyn</Col>
- <Col id="datacolumn">입원삭제</Col>
- </Row>
- <Row>
- <Col id="codecolumn">rtnyn</Col>
- <Col id="datacolumn">미반납</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit position="absolute 15 285 85 304" id="ipt_unprepdrid" visible="false" onkeydown="ipt_unprepdrid_onkeydown"/>
- <Edit position="absolute 90 220 205 239" id="ipt_unprepdrnm" onkeydown="ipt_unprepdrnm_onkeydown"/>
- <Static text="사 용 자 :" position="absolute 9 220 85 237" id="cap_user" class="search_name"/>
- <CheckBox position="absolute 179 52 223 72" id="chk_rflag" text="수거" truevalue="R" onclick="chk_rflag_onclick"/>
- <Static text="조회구분 :" position="absolute 9 177 85 194" id="cap_unrtnflag" class="search_name" visible="false"/>
- <Radio position="absolute 90 174 220 254" id="rdo_unrtnflag" visible="false" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_unrtnflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">wardunremcnt</Col>
- <Col id="datacolumn">병동별(미수거)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">deptunremcnt</Col>
- <Col id="datacolumn">진료과별(미수거)</Col>
- </Row>
- <Row>
- <Col id="codecolumn">deptuntrncnt</Col>
- <Col id="datacolumn">진료과별미반납건수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">warduntrncnt</Col>
- <Col id="datacolumn">병동별미반납건수</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 163 415 219 437" id="btn_chrtuncntprescond" class="btn1" visible="false" text="조회" onclick="btn_chrtuncntprescond_onclick"/>
- <Button position="absolute 970 26 1034 45" id="btn_unprep" class="btn2" text="미비관리" onclick="btn_unprep_onclick" anchor="top right"/>
- <Button position="absolute 1036 26 1089 45" id="btn_cncr" class="btn2" text="암등록" onclick="btn_cncr_onclick" anchor="top right"/>
- <CheckBox position="absolute 184 75 201 95" id="chb_value"/>
- <CheckBox position="absolute 11 115 80 135" id="chk_userflag" text="작업기준" truevalue="dsch" style="textpadding:0 0 0 0;" onclick="chk_userflag_onclick"/>
- <Button id="btn_stat" text="수거" position="absolute 0 30 65 50" class="btn_tab" onclick="btn_stat_onclick"/>
- <Button id="btn_flag" text="분석" class="btn_tab" position="absolute 66 30 131 50" onclick="btn_flag_onclick"/>
- <Button id="button2" text="미반납건수현황" class="btn_tab" position="absolute 132 30 222 50" visible="false" onclick="button2_onclick"/>
- <PopupMenu id="popupmenu" innerdataset="@ds_hidden_menu_chrtanaly" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="popupmenu_onmenuclick" position="absolute 1203 0 1325 43"/>
- <Div id="Div00" taborder="6" position="absolute 229 26 575 48" anchor="left top right"/>
- <Static id="cap_exam" text="검토일자 :" class="search_name" position="absolute 233 28 311 45"/>
- <Calendar id="ipt_examfromdd" taborder="7" autoselect="true" autoskip="true" position="absolute 306 27 398 46" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_examtodd" taborder="8" autoselect="true" position="absolute 418 27 510 46" dateformat="yyyy-MM-dd"/>
- <Static id="cap_examfromto" text="~" class="search_no_b" position="absolute 403 28 415 45"/>
- <Grid id="grd_multidept" taborder="9" useinputpanel="false" position="absolute 1213 48 1396 652" scrollbars="autovert" visible="false" oncellclick="grd_multidept_oncellclick" onkillfocus="grd_multidept_onkillfocus">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29"/>
- <Column size="154"/>
- <Column size="99"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell celltype="none" displaytype="checkbox" edittype="checkbox" text="bind:checkflag" displayexpdec="-1"/>
- <Cell col="1" style="align:left;" text="bind:depthngnm"/>
- <Cell col="2" text="bind:deptcd"/>
- <Cell col="3" text="bind:deptengabbr"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="opt_multidept" taborder="39" readonly="true" position="absolute 90 146 186 167"/>
- <Button id="btn_multidept" taborder="40" onclick="btn_multidept_onclick" class="icon_bottom" position="absolute 186 146 206 167">
- <Layouts>
- <Layout width="20" height="21"/>
- </Layouts>
- </Button>
- <Button id="btn_syncsetting" taborder="41" position="absolute 693 26 712 45" style="imagealign:center middle;backgroundimagemode:single;background:@gradation URL('theme://images\icon_shuttleBottom_N.png') stretch;margin:0 0 0 0;padding:0 0 0 0;bordertype:round 2 2 ;align:center middle;" onclick="btn_syncsetting_onclick" anchor="top right"/>
- <Grid id="grd_syncform" taborder="0" useinputpanel="false" position="absolute 1400 49 1539 195" visible="false" binddataset="ds_init_syncform" onheadclick="grd_syncform_onheadclick" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27"/>
- <Column size="112"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox" editacceptsenter="false" editacceptsdirectionkey="false"/>
- <Cell col="1" text="동기화 화면"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" style="align:left;" text="bind:formnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_userlist_drlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drnm" type="STRING"/>
- <Column id="drid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_dschcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flagnm" type="STRING"/>
- <Column id="totcnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_chrtanaly_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_chrtanaly_patlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="remyn" type="STRING"/>
- <Column id="delyn" type="STRING"/>
- <Column id="unrtnyn" type="STRING"/>
- <Column id="sixdethflag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="pnm" type="STRING"/>
- <Column id="sa" type="STRING"/>
- <Column id="erindd" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="indeptcd" type="STRING"/>
- <Column id="indeptengcd" type="STRING"/>
- <Column id="dschdt" type="STRING"/>
- <Column id="dschdeptcd" type="STRING"/>
- <Column id="dschdeptengcd" type="STRING"/>
- <Column id="atdoctnm" type="STRING"/>
- <Column id="ward" type="STRING"/>
- <Column id="room" type="STRING"/>
- <Column id="removedd" type="STRING"/>
- <Column id="readprtflag" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="addr" type="STRING"/>
- <Column id="signno" type="STRING"/>
- <Column id="formcd" type="STRING"/>
- <Column id="opsigngno" type="STRING"/>
- <Column id="opformcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="removerid" type="STRING"/>
- <Column id="removedt" type="STRING"/>
- <Column id="indeluserid" type="STRING"/>
- <Column id="indeldt" type="STRING"/>
- <Column id="orgindd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_templist_dschpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="pnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="indeptcd" type="STRING"/>
- <Column id="indeptengcd" type="STRING"/>
- <Column id="dschdt" type="STRING"/>
- <Column id="dschdeptcd" type="STRING"/>
- <Column id="dschdeptengcd" type="STRING"/>
- <Column id="hd" type="STRING"/>
- <Column id="cdcryn" type="STRING"/>
- <Column id="revalucnt" type="STRING"/>
- <Column id="anstmthd" type="STRING"/>
- <Column id="srgopyn" type="STRING"/>
- <Column id="doptermcd" type="STRING"/>
- <Column id="ordtype" type="STRING"/>
- <Column id="remyn" type="STRING"/>
- <Column id="removedd" type="STRING"/>
- <Column id="dschflag" type="STRING"/>
- <Column id="unprepflag" type="STRING"/>
- <Column id="indxflag" type="STRING"/>
- <Column id="unprependdd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="removerid" type="STRING"/>
- <Column id="indeluserid" type="STRING"/>
- <Column id="indeldt" type="STRING"/>
- <Column id="dispdiagcd" type="STRING"/>
- <Column id="disoptermcd" type="STRING"/>
- <Column id="cncr_regyn" type="STRING"/>
- <Column id="cncr_tcode" type="STRING"/>
- <Column id="cncr_regdate" type="STRING"/>
- <Column id="medispclnm" type="STRING"/>
- <Column id="inrmdt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_templist1_dschanaly" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="pnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="indeptcd" type="STRING"/>
- <Column id="indeptengcd" type="STRING"/>
- <Column id="dschdt" type="STRING"/>
- <Column id="dschdeptcd" type="STRING"/>
- <Column id="dschdeptengcd" type="STRING"/>
- <Column id="remyn" type="STRING"/>
- <Column id="dispdiagcd" type="STRING"/>
- <Column id="disoptermcd" type="STRING"/>
- <Column id="cncr_regyn" type="STRING"/>
- <Column id="cncr_tcode" type="STRING"/>
- <Column id="cncr_regdate" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastrgstrnm" type="STRING"/>
- <Column id="inrmdt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_templist2_dschindxlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="pnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="indeptcd" type="STRING"/>
- <Column id="indeptengcd" type="STRING"/>
- <Column id="dschdt" type="STRING"/>
- <Column id="dschdeptcd" type="STRING"/>
- <Column id="dschdeptengcd" type="STRING"/>
- <Column id="dschflag" type="STRING"/>
- <Column id="unprepflag" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastrgstrid" type="STRING"/>
- <Column id="lastupdtrnm" type="STRING"/>
- <Column id="tmpcodeyn" type="STRING"/>
- <Column id="tmpcoderesnnm" type="STRING"/>
- <Column id="tmpcoderesncd" type="STRING"/>
- <Column id="diagtermcd" type="STRING"/>
- <Column id="optermcd" type="STRING"/>
- <Column id="dethcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="removerid" type="STRING"/>
- <Column id="removedt" type="STRING"/>
- <Column id="indeluserid" type="STRING"/>
- <Column id="indeldt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_templist3_dschunprep" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="indeptcd" type="STRING"/>
- <Column id="indeptnm" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- <Column id="dschdeptcd" type="STRING"/>
- <Column id="dschdeptnm" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="fstrgstrnm" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="lastupdtrid" type="STRING"/>
- <Column id="lastupdtrnm" type="STRING"/>
- <Column id="drnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtunrtnlist3_deptunrtncntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="dschcnt" type="STRING"/>
- <Column id="untrncnt" type="STRING"/>
- <Column id="deptuntrnrate" type="STRING"/>
- <Column id="dschuntrnrate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtunrtnlist2_deptunremcntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="unremcnt" type="STRING"/>
- <Column id="rate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtunrtnlist1_wardunremcntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="floor" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="unremcnt" type="STRING"/>
- <Column id="deptunremcnt" type="STRING"/>
- <Column id="rate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_chrtunrtnlist4_wardunrtncntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="floor" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="wardnm" type="STRING"/>
- <Column id="dschcnt" type="STRING"/>
- <Column id="untrncnt" type="STRING"/>
- <Column id="warduntrnrate" type="STRING"/>
- <Column id="dschuntrnrate" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="idflag" type="STRING" size="256"/>
- <Column id="rflag" type="STRING" size="256"/>
- <Column id="userflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="srchfrdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="atdoctid" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="longinhosp" type="STRING" size="256"/>
- <Column id="chrtanaly" type="STRING" size="256"/>
- <Column id="remyn" type="STRING" size="256"/>
- <Column id="indelyn" type="STRING" size="256"/>
- <Column id="rtnyn" type="STRING" size="256"/>
- <Column id="inhospdd" type="STRING" size="256"/>
- <Column id="remanalyflag" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="unrtnflag" type="STRING" size="256"/>
- <Column id="clsdeptflag" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="makevalue"/>
- <Column id="cntflag" type="STRING" size="256" sumtext="makevalue"/>
- <Column id="examfrdd" type="STRING" size="256"/>
- <Column id="examtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="idflag">D</Col>
- <Col id="rflag"/>
- <Col id="userflag"/>
- <Col id="pid"/>
- <Col id="srchfrdd"/>
- <Col id="srchtodd"/>
- <Col id="orddeptcd"/>
- <Col id="atdoctid"/>
- <Col id="ward"/>
- <Col id="srchflag"/>
- <Col id="longinhosp"/>
- <Col id="chrtanaly"/>
- <Col id="remyn">all</Col>
- <Col id="indelyn"/>
- <Col id="rtnyn"/>
- <Col id="inhospdd"/>
- <Col id="remanalyflag">rem</Col>
- <Col id="usernm"/>
- <Col id="userid"/>
- <Col id="unrtnflag">deptuntrncnt</Col>
- <Col id="clsdeptflag"/>
- <Col id="value">true</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excelflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="excelflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="rem" type="STRING" size="256"/>
- <Column id="urem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqflag">dsch1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="clsdeptcd" type="STRING" size="256"/>
- <Column id="mflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="clsdeptcd"/>
- <Col id="mflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_remanalyflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cntflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cntflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_tmp" 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="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_menu_chrtanaly" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입퇴원요약지</Col>
- <Col id="func">fPrint_Chrt</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">수술기록지</Col>
- <Col id="func">fPrint_OpChrt</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_syncform" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" cancolumnchange="ds_init_syncform_cancolumnchange">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="formid" type="STRING" size="256"/>
- <Column id="formnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="formid">SMMRI00400</Col>
- <Col id="formnm">통합기록조회</Col>
- </Row>
- <Row>
- <Col id="formid">SMMRD00400</Col>
- <Col id="formnm">퇴원분석</Col>
- </Row>
- <Row>
- <Col id="formid">SMMRD00700</Col>
- <Col id="formnm">질병및수술분류</Col>
- </Row>
- <Row>
- <Col id="formid">SMMRI01700</Col>
- <Col id="formnm">미비관리</Col>
- </Row>
- <Row>
- <Col id="formid">SMMRD00100</Col>
- <Col id="formnm">암등록</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="rdo_reqflag" propid="value" datasetid="ds_init" columnid="reqflag"/>
- <BindItem id="item1" compid="ipt_srchfrdd" propid="value" datasetid="ds_cond" columnid="srchfrdd"/>
- <BindItem id="item2" compid="cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
- <BindItem id="item3" compid="ipt_srchtodd" propid="value" datasetid="ds_cond" columnid="srchtodd"/>
- <BindItem id="item4" compid="cbo_ward" propid="value" datasetid="ds_cond" columnid="ward"/>
- <BindItem id="item5" compid="rdo_ioflag" propid="value" datasetid="ds_cond" columnid="idflag"/>
- <BindItem id="item6" compid="cmb_medispc" propid="value" datasetid="ds_cond" columnid="atdoctid"/>
- <BindItem id="item7" compid="chk_longinhosp" propid="value" datasetid="ds_cond" columnid="longinhosp"/>
- <BindItem id="item8" compid="ipt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item9" compid="ipt_inhospdd" propid="value" datasetid="ds_cond" columnid="inhospdd"/>
- <BindItem id="item10" compid="cap_srchcnt" propid="text" datasetid="ds_search" columnid="srchcnt"/>
- <BindItem id="item11" compid="rdo_remyn" propid="value" datasetid="ds_cond" columnid="remyn"/>
- <BindItem id="item12" compid="ipt_unprepdrid" propid="value" datasetid="ds_cond" columnid="userid"/>
- <BindItem id="item13" compid="ipt_unprepdrnm" propid="value" datasetid="ds_cond" columnid="usernm"/>
- <BindItem id="item14" compid="chk_rflag" propid="value" datasetid="ds_cond" columnid="rflag"/>
- <BindItem id="item15" compid="rdo_unrtnflag" propid="value" datasetid="ds_cond" columnid="unrtnflag"/>
- <BindItem id="item16" compid="chb_value" propid="value" datasetid="ds_cond" columnid="value"/>
- <BindItem id="item17" compid="chk_userflag" propid="value" datasetid="ds_cond" columnid="userflag"/>
- <BindItem id="item18" compid="ipt_examfromdd" propid="value" datasetid="ds_cond" columnid="examfrdd"/>
- <BindItem id="item19" compid="ipt_examtodd" propid="value" datasetid="ds_cond" columnid="examtodd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-04-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-04-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_commonxp::EMRCommon.xjs";
- //include "emr_dschanalyxp::SMMRD01200.xjs":
- include "com_batchinfoxp::ZSB001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var lgv_deptgrd_openflag = false;
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Function : lf_grdInit
- * Description : 그리드 초기화
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function lf_grdInit(){
- ds_main_list_chrtanaly_patlist.clearData();
- ds_main_list_templist_dschpat.clearData();
- ds_main_list_templist1_dschanaly.clearData();
- ds_main_list_templist2_dschindxlist.clearData();
- ds_main_list_templist3_dschunprep.clearData();
-
- grdf_setGridSort(switch1.case1.grd_chrtanaly);
- grdf_setGridSort(switch1.case2.grd_dschpat);
- grdf_setGridSort(switch1.case3.grd_dschanaly);
- grdf_setGridSort(switch1.case4.grd_indxlist);
- grdf_setGridSort(switch1.case5.grd_unprep);
- grdf_setGridSort(switch1.deptunrtn.grd_deptunrtncntlist);
- grdf_setGridSort(switch1.deptunrem.grd_deptunremcntlist);
- grdf_setGridSort(switch1.wardunrem.grd_wardunremcntlist);
- grdf_setGridSort(switch1.wardunrtn.grd_wardunrtncntlist);
- }
- /****************************************************************************************
- * Function : fInitialize
- * Description : 화면초기화
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fInitialize()
- {
- var todd = utlf_getCurrentDate();
- var today = new Date();
- var frday = new Date();
- var diffdt = -1;
-
- //그리드 초기화
- lf_grdInit();
-
- fDisabled("dsch");
-
- frday = today.getAddDate(diffdt , "D");
- frdd = frday.getDateFormat();
-
- ds_cond.setColumn(0, "srchfrdd", frdd);
- ds_cond.setColumn(0, "srchtodd", todd);
-
- ds_cond.setColumn(0, "examfrdd", frdd);
- ds_cond.setColumn(0, "examtodd", todd);
-
- appf_getInOrdDeptList(sysf_getUserInfo("dutplceinstcd"), "depthngnm", "asc", utlf_getCurrentDate(), "", "ds_init_orddept_dept");//입원과
- frmf_addComboItem("cmb_orddept" , "전체", "-"); //부서콤보 전체항목 추가
-
- // 진료과/퇴원과 디폴트 세팅 (20191127 금정화 수정 -> 멀티선택)
- dsf_createDs("ds_multidept");
- ds_multidept.copyData(ds_init_orddept_dept, false);
- ds_multidept.addColumn("checkflag", "string");
- grd_multidept.binddataset = ds_multidept;
- opt_multidept.value = ds_multidept.getColumn(0, "depthngnm");
- ds_cond.setColumn(0, "orddeptcd", "-");
-
- for(var i = 0; i < ds_multidept.rowcount; i++){
- ds_multidept.setColumn(i, "checkflag", "1");
- }
-
- // 병동 디폴트 세팅
- lf_mmbfGetDeptCodeComboList(ds_init_ward_dept, "W"); //병동코드 콤보
- frmf_addComboItem("cbo_ward" , "전체", "-"); //병동콤보 전체항목 추가
- ds_cond.setColumn(0, "ward", "-");
-
- // 주치의 디폴트 세팅
- frmf_addComboItem("cmb_medispc", "전체", "-"); //주치의 전체 추가
- cmb_medispc.value = "-";
-
-
- ds_temp_flag.setColumn(0, "excelflag","2"); //각 그리드별 엑셀저장시 flag값 1:수거,2:분석,3:미반납건수현황
-
- btn_flag.click();
- }
- /****************************************************************************************
- * Function : lf_btn_Selected
- * Description : 버튼 선택상태 설정
- * Argument : 01.btnId : 활성화 버튼 ID
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function lf_btn_Selected(btnId){
-
- var arrBtnId = ["btn_stat", "btn_flag", "button2"];
-
- for( var i = 0; i < arrBtnId.length; i++ ){
- if( arrBtnId[i] == btnId ){
- var btnObj = eval(arrBtnId[i]);
- btnObj.setSelectStatus(true);
- btnObj.class = "btn_tab_S";
- }else{
- var btnObj = eval(arrBtnId[i]);
- btnObj.setSelectStatus(false);
- btnObj.class = "btn_tab";
- }
- }
- }
- /****************************************************************************************
- * Function : fGetDrList
- * Description : 진료과 선택시 주치의 명단 가져오기
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fGetDrList(rsltRef, orddeptcd, queryflag, stflag)
- {
- dsf_createDsRow("ds_send_reqdata", [
- {col:"orddeptcd", type:"STRING", size:256, val:orddeptcd}
- , {col:"queryflag", type:"STRING", size:256, val:queryflag}
- , {col:"stflag", type:"STRING", size:256, val:stflag} //스태프구분
- , {col:"multiflag", type:"STRING", size:256, val:"Y"}
- ]);
-
- var oParam = {};
- oParam.id = "TRMRF02303";
- oParam.service = "formmngtapp.OcrPrntMngt";
- oParam.method = "reqGetOrdDrID";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = rsltRef + "=drlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRF02303";
- tranf_submit(oParam);
-
- dsf_deleteDs("ds_send_reqdata");
- }
- /****************************************************************************************
- * Function : fChgUserListClsDept
- * Description : 진료과 선택시 분과정보 및 주치의조회(Staff만)
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fChgUserListClsDept()
- {
- var orddept = ds_cond.getColumn(0, "orddeptcd");
-
- ds_init_userlist_drlist.clearData();
-
- if(orddept != ""){
- if(ds_temp_flag.getColumn(0, "excelflag") == "2"){
- //zsdfGetInClsDeptList(getUserInfo("dutplceinstcd"), cmb_orddept.value, "/root/init/clsdeptlist", "depthngnm", "asc");//분과
- dsf_createDs("ds_init_clsdeptlist");
- //appf_getInClsDeptList(sysf_getUserInfo("dutplceinstcd"), cmb_orddept.value, "depthngnm", "asc", utlf_getCurrentDate(), "ds_init_clsdeptlist");
-
- if( ds_init_clsdeptlist.rowcount > 0){
- ds_cond.setColumn(0, "clsdeptflag", "Y");
- }else{
- ds_cond.setColumn(0, "clsdeptflag");
- }
-
- //fGetDrList("ds_init_userlist_drlist", cmb_orddept.value, "total", "staff");//주치의 staff만 조회
- fGetDrList("ds_init_userlist_drlist", orddept, "total", "staff");//주치의 staff만 조회
-
- if(ds_init_userlist_drlist.rowcount > 0){
- ds_cond.setColumn(0, "atdoctid", ds_init_userlist_drlist.getColumn(0, "drid"));
- }
- }else if(ds_temp_flag.getColumn(0, "excelflag") == "1"){
- ds_cond.setColumn(0, "clsdeptflag", "");
-
- fGetDrList("ds_init_userlist_drlist", orddept, "total", "staff");//주치의 staff만 조회
- if(ds_init_userlist_drlist.rowcount > 0){
- ds_cond.setColumn(0, "atdoctid", ds_init_userlist_drlist.getColumn(0, "drid"));
- //cmb_medispc.refresh();
- }
- }
- }
- }
- /****************************************************************************************
- * Function : fGetPatList
- * Description : 환자리스트 가져오기(수거,분석)
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fGetPatList()
- {
- var rem = ds_init.getColumn(0, "rem"); //수거
- var urem = ds_init.getColumn(0, "urem"); //미수거
- var indelyn = ds_cond.getColumn(0, "indelyn"); //입원 삭제
- var orddeptcd = ds_cond.getColumn(0, "orddeptcd");//진료과
- var clsdeptcd = ds_hidden.getColumn(0, "clsdeptcd");//분과
- var remyn = "";
- var sRemFlag = ds_cond.getColumn(0, "remanalyflag"); //수거,분석 구분
-
- if(orddeptcd == ""){
- sysf_messageBox("진료과(퇴원과)를 선택하십시오.", "E");
- return;
- }
-
- if(sRemFlag == "rem"){ // 수거
- ds_main_list_chrtanaly_patlist.clearData();
- ds_main_list_dschcnt.clearData();
-
- var oParam = {};
- oParam.id = "TRMRD01201";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetChrtAnalyPtList";
- oParam.inds = "cond=ds_cond";
- oParam.outds = "ds_main_list_chrtanaly_patlist=patlist ds_main_list_dschcnt=dschcnt";
- oParam.async = false;
- oParam.callback = "cf_TRMRD01201";
-
- tranf_submit(oParam);
-
- }else{ // 분석
- var idflag = ds_cond.getColumn(0, "idflag");
- var orddeptcd = ds_cond.getColumn(0, "orddeptcd");
- var srchfrdd = ds_cond.getColumn(0, "srchfrdd");
- var srchtodd = ds_cond.getColumn(0, "srchtodd");
- var reqflag = utlf_transNullToEmpty(ds_init.getColumn(0, "reqflag"));
- ds_cond.setColumn(0, "reqflag", reqflag);
-
- // 분석 탭 + 퇴원 구분자 + 전체과 + 2주 기간 초과 조회 시 -> 엑셀파일로 다운함 (요청번호: 20200312028)
- if(idflag == "D" && orddeptcd == "-" && utlf_diffDate(srchfrdd, srchtodd) > 14){
-
- var rslt = sysf_messageBox("엑셀 다운로드를 원하시면 [예]를 선택하십시오."
- + "\n[아니요]를 선택하시면 화면에서 조회됩니다." , "S") // (예: 6, 아니오: 7, 취소: 2)
-
- if(rslt == "6"){ // 예
- /*
- var fd = new FileDialog;
- var path = fd.open("저장 경로 선택", FileDialog.SELFOLDER, "%MYDOCUMENT%"); // SELFOLDER: 폴더선택
- trace("path : " + path);
-
- if(path == "") return;
-
- // 저장할 경로 지정 및 Dataset에 설정(dsf_setDefaultVal 함수는 ':'로 split 해서 사용 못 함)
- if(!ds_cond.getColumnInfo("path")) ds_cond.addColumn("path", "string");
- ds_cond.setColumn(0, "path", path);
- */
- // 조회 구분 및 구분명(파일명에 사용) Dataset에 설정
-
- ds_cond.setColumn(0, "cntflag", ds_init_remanalyflag.getColumn(0, "cntflag"));
-
- if(!ds_cond.getColumnInfo("reqnm")) ds_cond.addColumn("reqnm", "string");
- ds_cond.setColumn(0, "reqnm", rdo_reqflag.text);
-
- var oParam = {};
- oParam.id = "MakeDschAnalyFile";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqExeMakeDschAnalyFileBatch";
- oParam.inds = "req=ds_cond";
- oParam.async = false;
- oParam.callback = "cf_MakeDschAnalyFile";
- tranf_submit(oParam);
-
- return;
-
- }else if(rslt == 2){ // 취소
- return;
- }
- }
-
-
- reqflag = reqflag.substr(0,4);
-
- if( "dsch" == reqflag){
- ds_main_list_templist_dschpat.clearData();
- }else if( "anly" == reqflag){
- ds_main_list_templist1_dschanaly.clearData();
- }else if( "indx" == reqflag){
- ds_main_list_templist2_dschindxlist.clearData();
- }else if( "unpr" == reqflag){
- ds_main_list_templist3_dschunprep.clearData();
- }
-
- ds_cond.setColumn(0, "cntflag", ds_init_remanalyflag.getColumn(0, "cntflag"));
-
- ds_main_list_dschcnt.clearData();
-
- var oParam = {};
- oParam.id = "TRMRD01202";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetDschAnalyList";
- oParam.inds = "cond=ds_cond";
- oParam.outds = "ds_main_list_templist_dschpat=dschpat ds_main_list_templist1_dschanaly=dschanaly ds_main_list_templist2_dschindxlist=dschindxlist ds_main_list_templist3_dschunprep=dschunprep ds_main_list_dschcnt=dschcnt";
- oParam.async = false;
- oParam.callback = "cf_TRMRD01202";
- tranf_submit(oParam);
- }
- }
- function cf_MakeDschAnalyFile(sSvcId, nErrorCode, sErrorMsg){
- if(nErrorCode < 0){
- return;
- }
- // com_batchinfoxp
- var todd = utlf_getCurrentDate();
- todd = todd.toDate().getAddDate(+1, 'D');
- zsbfOpenBatchLogPopup("dschanalymgr.DschAnalyFileBatch",utlf_getCurrentDate(),todd.getDateFormat());
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_TRMRD01201의 콜백함수
- ****************************************************************************************/
- function cf_TRMRD01201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- grdf_initGridStyle(switch1.case1.grd_chrtanaly);
- grdf_setRowStyle(switch1.case1.grd_chrtanaly, "4", "Y", "readprtflag", "equal"); // 출력/미출력구분 RowStyle변경
- switch1.case1.grd_chrtanaly.visible = true;
-
- var Mflag = ds_hidden.getColumn(0, "mflag");
- if(Mflag=="1"){
-
- }else{
- sysf_messageBox("검색이","I002");
- }
- ds_main_list_chrtanaly_patlist
- ds_search.setColumn(0, "srchcnt", ds_main_list_chrtanaly_patlist.rowcount);//해당그리드의 건수 보여주기
- ds_hidden.setColumn(0, "mflag", "");
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_TRMRD01202의 콜백함수
- ****************************************************************************************/
- function cf_TRMRD01202(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var reqflag = utlf_transNullToEmpty(ds_init.getColumn(0, "reqflag")).substr(0, 4);
-
- if(reqflag=="dsch"){
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", ds_main_list_templist_dschpat.rowcount);
- }else if(reqflag=="anly"){
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", ds_main_list_templist1_dschanaly.rowcount);
- }else if(reqflag=="indx"){
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", ds_main_list_templist2_dschindxlist.rowcount);
- }else if(reqflag == "unpr"){
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", ds_main_list_templist3_dschunprep.rowcount);
- }
- }
-
- /****************************************************************************************
- * Function : fSave
- * Description : 저장
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fSave()
- {
- var sPid = ds_main_list_chrtanaly_patlist.getColumn(ds_main_list_chrtanaly_patlist.rowposition, "pid");
- if(utlf_isNull(sPid)){
- sysf_messageBox("환자를 선택","I008");
- return;
- }
-
- var oDsUpdate = grdf_getGridUpdateData(switch1.case1.grd_chrtanaly);
- grdf_setStatusColumn(oDsUpdate, "status");
- dsf_createDs("ds_send_reqdata_chrtanaly");
- ds_send_reqdata_chrtanaly.copyData(oDsUpdate, true);
-
- ds_hidden.setColumn(0, "mrflag", "1");
-
- dsf_createDsRow("ds_send_reqdata", [
- {col:"idflag", type:"STRING", size:256, val:ds_cond.getColumn(0, "idflag")}
- , {col:"pid", type:"STRING", size:256, val:ds_cond.getColumn(0, "pid")}
- , {col:"srchfrdd", type:"STRING", size:256, val:ds_cond.getColumn(0, "srchfrdd")}
- , {col:"srchtodd", type:"STRING", size:256, val:ds_cond.getColumn(0, "srchtodd")}
- , {col:"orddeptcd", type:"STRING", size:256, val:ds_cond.getColumn(0, "orddeptcd")}
- , {col:"atdoctid", type:"STRING", size:256, val:ds_cond.getColumn(0, "atdoctid")}
- , {col:"ward", type:"STRING", size:256, val:ds_cond.getColumn(0, "ward")}
- , {col:"srchflag", type:"STRING", size:256, val:""}
- , {col:"longinhosp", type:"STRING", size:256, val:ds_cond.getColumn(0, "longinhosp")}
- , {col:"remyn", type:"STRING", size:256, val:ds_cond.getColumn(0, "remyn")}
- , {col:"indelyn", type:"STRING", size:256, val:""}
- , {col:"inhospdd", type:"STRING", size:256, val:ds_cond.getColumn(0, "inhospdd")}
- , {col:"rtnyn", type:"STRING", size:256, val:""}
- ]);
-
- var oParam = {};
- oParam.id = "TXMRD01201";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqExeChrtAnalyPtList";
- oParam.inds = "req=ds_send_reqdata chrtanaly=ds_send_reqdata_chrtanaly";
- oParam.outds = "ds_main_list_chrtanaly_patlist=patlist";
- oParam.async = false;
- oParam.callback = "cf_TXMRD01201";
- tranf_submit(oParam);
- //저장한 후 다시 조회 하기 (이창록)수정
- //model.removeNodeset("/root/temp/tmp/autoprtlist");
- ds_cond.setColumn(0, "remanalyflag", "dsch"); //수거,분석 구분
- fGetPatList();
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_TXMRD01201의 콜백함수
- ****************************************************************************************/
- function cf_TXMRD01201(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var Mflag = ds_hidden.getColumn(0, "mflag");
- if(Mflag == "1"){
- sysf_messageBox("저장이","I002");
- }
- }
- /****************************************************************************************
- * Function : fSaveDisable
- * Description : 퇴원 재원 조건에따른 저장버튼 disable 및 caption text 상태 변화
- * : 퇴원시->퇴원일자 .입원시-> 입원환자,수거시 ->수거일자
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fSaveDisable()
- {
- var idflag = ds_cond.getColumn(0, "idflag");
- if ( idflag== "I")
- {
- btn_save.enable = false;
- cap_snm.text = "재원기간";
- chk_rflag.enable = false;
- chk_rflag.value = "";
- switch1.case1.grd_chrtanaly.setRealColSize(switch1.case1.grd_chrtanaly.getBindCellIndex("body", "sixdethflag"), 0);
- }
- else if(idflag=="D")
- {
- btn_save.enable = true;
- cap_snm.text="퇴원일자 :";
- chk_rflag.enable = true;
- switch1.case1.grd_chrtanaly.setRealColSize(switch1.case1.grd_chrtanaly.getBindCellIndex("body", "sixdethflag"), 42);
- }
- }
- /****************************************************************************************
- * Function : fRflagChg
- * Description : 수거체크시 저장버튼 disable 및 caption text 상태 변화
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fRflagChg()
- {
- var rflag = ds_cond.getColumn(0, "rflag");
- var userflag = ds_cond.getColumn(0, "userflag");
- var Todd = utlf_getCurrentDate();
-
- if(rflag =="R"){
- ds_cond.setColumn(0, "srchfrdd", Todd);
- ds_cond.setColumn(0, "srchtodd", Todd);
- cap_snm.text = "수거일자 :";
- }else if(utlf_isNull(rflag)){
- var todd = utlf_getCurrentDate();
- var today = new Date();
- var frday = new Date();
- var diffdt = -1;
- frday = today.getAddDate(diffdt , "D");
- frdd = frday.getDateFormat();
- ds_cond.setColumn(0, "srchfrdd", frdd);
- ds_cond.setColumn(0, "srchtodd", todd);
- fSaveDisable();
- }
-
- if(userflag=="dsch"){
- ds_cond.setColumn(0, "srchfrdd", Todd);
- ds_cond.setColumn(0, "srchtodd", Todd);
- cap_snm.text = "작업일자 :";
- }else if(utlf_isNull(userflag)){
- var todd = utlf_getCurrentDate();
- var today = new Date();
- var frday = new Date();
- var diffdt = -1;
- frday = today.getAddDate(diffdt , "D");
- frdd = frday.getDateFormat();
- ds_cond.setColumn(0, "srchfrdd", frdd);
- ds_cond.setColumn(0, "srchtodd", todd);
- fSaveDisable();
- }
-
- }
- /****************************************************************************************
- * Function : fChrtanalySaveExcel
- * Description : 차트분석 조회한 것을 엑셀에 저장
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fChrtanalySaveExcel(){
- var excelflag = ds_temp_flag.getColumn(0, "excelflag");
- var reqflag = ds_init.getColumn(0, "reqflag");
-
- if(excelflag == "1"){
- grdf_exportExcel(switch1.case1.grd_chrtanaly, "excel", "SheetName");
- }else if(excelflag == "2"){
- if(reqflag == "dsch1"){
- grdf_exportExcel(switch1.case2.grd_dschpat, "퇴원환자", "SheetName");
- }else if(reqflag == "anly1"){
- grdf_exportExcel(switch1.case3.grd_dschanaly, "퇴원분석", "SheetName");
- }else if(reqflag == "anly2"){
- grdf_exportExcel(switch1.case3.grd_dschanaly, "미퇴원분석", "SheetName");
- }else if(reqflag == "indx1"){
- grdf_exportExcel(switch1.case4.grd_indxlist, "코딩", "SheetName");
- }else if(reqflag == "indx2"){
- grdf_exportExcel(switch1.case4.grd_indxlist, "가코딩", "SheetName");
- }else if(reqflag=="indx3"){
- grdf_exportExcel(switch1.case4.grd_indxlist, "미코딩", "SheetName");
- }else if(reqflag=="unpr"){
- grdf_exportExcel(switch1.case5.grd_unprep, "미비관리", "SheetName");
- }else if(reqflag=="indx4"){
- grdf_exportExcel(switch1.case4.grd_indxlist, "재검토", "SheetName");
- }
- }else if(excelflag == "3"){
- var UnrtnFlag = ds_cond.getColumn(0, "unrtnflag");
- if(UnrtnFlag == "wardunremcnt"){
- grdf_exportExcel(switch1.wardunrem.grd_wardunremcntlist, "병동별(미수거)", "SheetName");
- }else if(UnrtnFlag=="deptunremcnt"){
- grdf_exportExcel(switch1.deptunrem.grd_deptunremcntlist, "진료과별(미수거)", "SheetName");
- }else if(UnrtnFlag=="deptuntrncnt"){
- grdf_exportExcel(switch1.deptunrtn.grd_deptunrtncntlist, "진료과별미반납건수현황", "SheetName");
- }else if(UnrtnFlag == "warduntrncnt"){
- grdf_exportExcel(switch1.wardunrtn.grd_wardunrtncntlist, "병동별미반납건수현황", "SheetName");
- }
- }
- }
- /****************************************************************************************
- * Function : fPidKeyPress
- * Description : 등록번호로 차트분석을 조회(등록번호 앞에 0이 붙어도 앞에 0을 없애고 조회)
- * : 예)00000098077755 - > 98077755 (getRemoveLeftChar)함수 사용
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fPidKeyPress()
- {
- var Pid = ds_cond.getColumn(0, "pid");
- var str_pid = Pid;
-
- if ( sysf_getUserInfo("dutplceinstcd") != "017" ) //20091031, hkjoo 추가
- str_pid = getRemoveLeftChar(Pid, '0');
-
- if(ds_cond.getColumn(0, "value") == "true"){
- str_pid = getCretCheckNo(str_pid, sysf_getUserInfo("dutplceinstcd"));
- } else {
- str_pid = ds_cond.getColumn(0, "pid");
- }
- ds_cond.setColumn(0, "pid", str_pid);
- fGetPatList();
-
- }
- /****************************************************************************************
- * Function : fChgInhospdd
- * Description : 장기재원일수 선택시 input disable 및 값 없애기
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fChgInhospdd()
- {
- var longinhosp = ds_cond.getColumn(0, "longinhosp");
- if(longinhosp == "H"){
- ipt_inhospdd.enable = true;
- }else if(longinhosp == false){
- ipt_inhospdd.enable = false;
- ipt_inhospdd.value = "";
- }
- }
- /****************************************************************************************
- * Function : fChgUnrtnyn
- * Description : 삭제시 수거랑 같이 체크 ,미반납시 수거 상태 풀기
- * Argument : 01.
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fChgUnrtnyn(obj:Dataset, e:DSColChangeEventInfo)
- {
- var iRow = e.row;
- var remyn = obj.getColumn(iRow, "remyn"); //수거
- var delyn = obj.getColumn(iRow, "delyn"); //삭제
- var unrtnyn = obj.getColumn(iRow, "unrtnyn"); //미반납
-
- if(unrtnyn == "N")
- {
- if(delyn=="N")
- {
- //alert(remyn);
- if((remyn == "Y") && (delyn == "N"))
- {
- obj.setColumn(iRow, "remyn", "Y");
- } else {
- obj.setColumn(iRow, "remyn", "N");
- return;
- }
-
- } else if(delyn == "Y"){
- obj.setColumn(iRow, "remyn", "Y");
- return;
- }
- }
- }
- /****************************************************************************************
- * Function : fGetUserInfo
- * Description : 사용자 정보 얻기(사용자 팝업 연계)
- * Argument : 01.userid - 사용자ID
- * : 02.usernm - 사용자명
- * : 03.deptcd - 부서코드
- * : 04.instcd - 기관코드
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fGetUserInfo(userid,usernm,deptcd ,instcd){
- if( isValidObject("ds_temp_userinfo") == false ) {
- dsf_createDsRow("ds_temp_userinfo", [{col:"userid", type:"string", size:256, val:""}
- , {col:"usernm", type:"string", size:256, val:""}
- , {col:"deptcd", type:"string", size:256, val:""}
- , {col:"instcd", type:"string", size:256, val:""}]);
- }
- ds_temp_userinfo.setColumn(0, "userid", userid);
- ds_temp_userinfo.setColumn(0, "usernm", utlf_transNullToEmpty(usernm).getTrim());
- ds_temp_userinfo.setColumn(0, "deptcd", deptcd);
- ds_temp_userinfo.setColumn(0, "instcd", instcd);
- }
- /****************************************************************************************
- * Function : fMouseRightchrt
- * Description : 수거시 입퇴원요약지,수술기록지 출력
- * : E->EMR차트 ,I->영상차트
- * Argument : 01.
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fMouseRightchrt(obj, e){
- popupmenu.trackPopup(e.screenX,e.screenY);
- return;
- }
- /****************************************************************************************
- * Function : fPrint_Chrt
- * Description : 입퇴원요약지
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fPrint_Chrt()
- {
- var iRow = ds_main_list_chrtanaly_patlist.rowposition;
- var removedd = ds_main_list_chrtanaly_patlist.getColumn(iRow, "removedd");
- var remyn = ds_main_list_chrtanaly_patlist.getColumn(iRow, "remyn");
- if(iRow < 0){
- return;
- }
- if((remyn == "N") && (removedd == '-')){
- sysf_messageBox("차트수거된 환자만 출력이","I006");
- return;
- }
- var msg = "";
- var Pid = ds_init_tmp.getColumn(0, "pid");
- var indd = ds_init_tmp.getColumn(0, "indd");
- var cretno = ds_init_tmp.getColumn(0, "cretno");
- frmf_clearParameter("SPMRI02400_prtrecinfo");
- dsf_createDsRow("ds_send_reqdata", [
- {col:"pid", type:"STRING", size:256, val:Pid}
- , {col:"indd", type:"STRING", size:256, val:indd}
- , {col:"cretno", type:"INT", size:256, val:cretno}
- , {col:"formflag", type:"STRING", size:256, val:"S"}
- ]);
- dsf_createDs("ds_temp_keyinfo", [
- {col:"signno", type:"STRING", size:256}
- , {col:"chrtflag", type:"STRING", size:256}
- , {col:"opflag", type:"STRING", size:256}
- , {col:"opsignno", type:"STRING", size:256}
- , {col:"pid", type:"STRING", size:256}
- , {col:"formcd", type:"STRING", size:256}
- , {col:"formflag", type:"STRING", size:256}
- ]);
-
- var oParam = {};
- oParam.id = "TRMRD01203";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetChrtAnalyPtKeyList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_keyinfo=keylist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD01203";
- tranf_submit(oParam);
- var Chrtflag = ds_temp_keyinfo.getColumn(0, "chrtflag");
- var sFormcd = ds_temp_keyinfo.getColumn(0, "formcd");
- if(Chrtflag == "E"){
- msg = Chrtflag + "▦" + ds_temp_keyinfo.getColumn(0, "signno") + "▦"+sFormcd+"▩";
- frmf_setParameter("SPMRI02400_prtrecinfo", msg); //oldflag▦signno▦formcd▩//통합기록출력창 파라미터
- frmf_modal("SPMRI02400", "SPMRI02400", null, null, null, null, null, null, null, null, null, null, "M");
- }else{
- sysf_messageBox("입퇴원요약기록이","I004");
- return;
- }
-
- dsf_deleteDs("ds_send_reqdata");
- dsf_deleteDs("ds_temp_keyinfo");
- }
- /****************************************************************************************
- * Function : fPrint_OpChrt
- * Description : 수술기록지
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fPrint_OpChrt()
- {
- var iRow = ds_main_list_chrtanaly_patlist.rowposition;
- var Pid = ds_init_tmp.getColumn(0, "pid");
- var indd = ds_init_tmp.getColumn(0, "indd");
- var cretno = ds_init_tmp.getColumn(0, "cretno");
- var remyn = ds_main_list_chrtanaly_patlist.getColumn(iRow, "remyn");
- var removedd = ds_main_list_chrtanaly_patlist.getColumn(iRow, "removedd");
- var msg = "";
- if(iRow < 0){
- return;
- }
-
- if((remyn == "N") && (removedd == '-')){
- sysf_messageBox("차트수거된 환자만 출력이","I006");
- return;
- }
- frmf_clearParameter("SPMRI02400_prtrecinfo");
-
- dsf_createDsRow("ds_send_reqdata", [
- {col:"pid", type:"STRING", size:256, val:Pid}
- , {col:"indd", type:"STRING", size:256, val:indd}
- , {col:"cretno", type:"INT", size:256, val:cretno}
- , {col:"formflag", type:"STRING", size:256, val:"P"}
- ]);
- dsf_createDs("ds_temp_keyinfo", [
- {col:"signno", type:"STRING", size:256}
- , {col:"chrtflag", type:"STRING", size:256}
- , {col:"opflag", type:"STRING", size:256}
- , {col:"opsignno", type:"STRING", size:256}
- , {col:"pid", type:"STRING", size:256}
- , {col:"formcd", type:"STRING", size:256}
- , {col:"formflag", type:"STRING", size:256}
- ]);
-
- var oParam = {};
- oParam.id = "TRMRD01203";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetChrtAnalyPtKeyList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_temp_keyinfo=keylist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD01203";
- tranf_submit(oParam);
-
- var opflag = ds_temp_keyinfo.getColumn(0, "opflag");
- var opFormcd = ds_temp_keyinfo.getColumn(0, "formcd");
- if(opflag == "E"){
- msg = opflag + "▦" + ds_temp_keyinfo.getColumn(0, "opsignno") +"▦"+opFormcd+"▩";
- frmf_setParameter("SPMRI02400_prtrecinfo", msg); //oldflag▦opsignno▦formcd▩//통합기록출력창 파라미터
- frmf_modal("SPMRI02400", "SPMRI02400", null, null, null, null, null, null, null, null, null, null, "M");
- }else if(opflag ==""){
- sysf_messageBox("수술기록이","I004");
- return;
- }
-
- dsf_deleteDs("ds_send_reqdata");
- dsf_deleteDs("ds_temp_keyinfo");
- }
- /****************************************************************************************
- * Function : fSelectPatInfo
- * Description : 그리드에서 선택한 환자정보 가져오기
- * Argument : 01.flag
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fSelectPatInfo(flag, obj:Grid, e:GridClickEventInfo)
- {
- ds_init_tmp.clearData();
- var nRow = ds_init_tmp.addRow();
- var bindDs = eval(obj.binddataset);
-
- if(flag=="rem"){
- ds_init_tmp.setColumn(nRow, "pid", bindDs.getColumn(e.row, "pid"));
- ds_init_tmp.setColumn(nRow, "indd", bindDs.getColumn(e.row, "orgindd"));
- ds_init_tmp.setColumn(nRow, "cretno", bindDs.getColumn(e.row, "cretno"));
- ds_init_tmp.setColumn(nRow, "dschdd", utlf_transNullToEmpty(bindDs.getColumn(e.row, "dschdt")).substring(0, 8));
- }else if(flag=="dsch1" || flag=="analy" || flag=="indx"){
- ds_init_tmp.setColumn(nRow, "pid", bindDs.getColumn(e.row, "pid"));
- ds_init_tmp.setColumn(nRow, "indd", bindDs.getColumn(e.row, "indd"));
- ds_init_tmp.setColumn(nRow, "cretno", "");
- ds_init_tmp.setColumn(nRow, "dschdd", utlf_transNullToEmpty(bindDs.getColumn(e.row, "dschdt")).substring(0, 8));
- }else if(flag=="unpr"){
- ds_init_tmp.setColumn(nRow, "pid", bindDs.getColumn(e.row, "pid"));
- ds_init_tmp.setColumn(nRow, "indd", bindDs.getColumn(e.row, "indd"));
- ds_init_tmp.setColumn(nRow, "cretno", "");
- ds_init_tmp.setColumn(nRow, "dschdd", utlf_transNullToEmpty(bindDs.getColumn(e.row, "dschdt")));
- }
-
- // 현재 열린창 환자정보 동기화
- fSyncForms();
- }
-
- /****************************************************************************************
- * Function : fChrtUnrtnRemCntPresCondList
- * Description : 미반납건수현황조회(통계)
- * Argument :
- * retrun type :
- * Creator : (사용안함)
- ****************************************************************************************/
- function fChrtUnrtnRemCntPresCondList()
- {
- var UnrtnFlag = ds_cond.getColumn(0, "unrtnflag");
- if(UnrtnFlag == "wardunremcnt"){
- ds_main_chrtunrtnlist1_wardunremcntlist.clearData();
- }else if(UnrtnFlag == "deptunremcnt"){
- ds_main_chrtunrtnlist2_deptunremcntlist.clearData();
- }else if(UnrtnFlag == "deptuntrncnt"){
- ds_main_chrtunrtnlist3_deptunrtncntlist.clearData();
- }else if(UnrtnFlag == "warduntrncnt"){
- ds_main_chrtunrtnlist4_wardunrtncntlist.clearData();
- }
-
- dsf_createDsRow("ds_send_reqdata", [
- {col:"unrtnflag", type:"STRING", size:256, val:ds_cond.getcolumn(0, "unrtnflag")}
- , {col:"srchfrdd", type:"STRING", size:256, val:ds_cond.getcolumn(0, "srchfrdd")}
- , {col:"srchtodd", type:"STRING", size:256, val:ds_cond.getcolumn(0, "srchtodd")}
- ]);
-
- var oParam = {};
- oParam.id = "TRMRD01204";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetChrtUnrtnRemCntPresCondList";
- oParam.inds = "cond=ds_send_reqdata";
- oParam.outds = "ds_main_chrtunrtnlist1_wardunremcntlist=wardunremcntlistds_main_chrtunrtnlist2_deptunremcntlist=deptunremcntlist ds_main_chrtunrtnlist3_deptunrtncntlist=deptunrtncntlist ds_main_chrtunrtnlist4_wardunrtncntlist=wardunrtncntlist";
- oParam.async = false;
- oParam.callback = "cf_TRMRD01204";
- tranf_submit(oParam);
-
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_TRMRD01204의 콜백함수
- ****************************************************************************************/
- function cf_TRMRD01204(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var UnrtnFlag = ds_cond.getColumn(0, "unrtnflag");
-
- if(UnrtnFlag == "wardunremcnt"){
- var wumRow = ds_main_chrtunrtnlist1_wardunremcntlist.rowcount;
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", wumRow);
- }else if(UnrtnFlag=="deptunremcnt"){
- var durRow = ds_main_chrtunrtnlist2_deptunremcntlist.rowcount;
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", durRow);
- }else if(UnrtnFlag=="deptuntrncnt"){
- var dutRow = ds_main_chrtunrtnlist3_deptunrtncntlist.rowcount;
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", dutRow);
- }else if(UnrtnFlag == "warduntrncnt"){
- var wutRow = ds_main_chrtunrtnlist4_wardunrtncntlist.rowcount;
- sysf_messageBox("검색이","I002");
- ds_search.setColumn(0, "srchcnt", wutRow);
- }
-
- dsf_deleteDs("ds_send_reqdata");
- }
- /****************************************************************************************
- * Function : fDisabled
- * Description : 탭별조회조건 visible flag 값
- * Argument : 01.flag - rem->수거, dsch->분석, unrtn->미반납 건수
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fDisabled(flag){
- if(flag=="rem"){
- btn_save.enable = false;
- cap_indschflag.visible = true;
- rdo_ioflag.visible = true;
- chk_rflag.visible = true;
- chk_userflag.visible = false;
- cap_pid.visible = true;
- ipt_pid.visible = true;
- chb_value.visible = true;
- btn_srchpid.visible = true;
- cap_dept.visible = true;
- cap_dept.text = "진 료 과 :";
- //cmb_orddept.visible = true;
- opt_multidept.visible = true;
- btn_multidept.visible = true;
- cap_medispc.visible = true;
- cmb_medispc.visible = true;
- cap_ward.visible = true;
- cbo_ward.visible = true;
- cap_user.visible = false;
- ipt_unprepdrnm.visible = false;
- cap_remyn.visible = true;
- cap_remyn.position.y = 220;
- rdo_remyn.visible = true;
- rdo_remyn.position.y = 220;
- cap_reqflag.visible = false;
- rdo_reqflag.visible = false;
- chk_longinhosp.visible = true;
- ipt_inhospdd.visible = true;
- btn_r_chrtmovelist.visible = true;
- cap_unrtnflag.visible = false;
- rdo_unrtnflag.visible = false;
- btn_chrtuncntprescond.visible = false;
- btn_patdinfo.enable = true;
- btn_search.enable = true;
- btn_dsch.enable = true;
- btn_indx.enable = true;
- btn_unprep.enable = true;
- btn_cncr.enable = true;
- btn_save.visible = true;
- /*
- btn_excel.position.x = 1091;
- btn_cncr.position.x = 1036;
- btn_unprep.position.x = 970;
- btn_indx.position.x = 871;
- btn_dsch.position.x = 805;
- btn_search.position.x = 717;
- btn_syncsetting.position.x = 695;
- */
- cap_exam.visible = true;
- cap_examfromto.visible = true;
- ipt_examfromdd.visible = true;
- ipt_examtodd.visible = true;
- }else if(flag=="dsch"){
- cap_indschflag.visible = true;
- rdo_ioflag.visible = true;
- chk_rflag.visible = false;
- chk_userflag.visible = true;
- cap_pid.visible = true;
- ipt_pid.visible = true;
- chb_value.visible = true;
- btn_srchpid.visible = true;
- cap_dept.visible = true;
- cap_dept.text = "퇴 원 과 :";
- //cmb_orddept.visible = true;
- opt_multidept.visible = true;
- btn_multidept.visible = true;
- cap_medispc.visible = true;
- cmb_medispc.visible = true;
- cap_ward.visible = true;
- cbo_ward.visible = true;
- cap_user.visible = true;
- ipt_unprepdrnm.visible = true;
- cap_remyn.visible = false;
- rdo_remyn.visible = false;
- cap_reqflag.visible = true;
- cap_reqflag.position.y = 255;
- rdo_reqflag.visible = true;
- rdo_reqflag.position.y = 255;
- chk_longinhosp.visible = true;
- ipt_inhospdd.visible = true;
- btn_r_chrtmovelist.visible = true;
- cap_unrtnflag.visible = false;
- rdo_unrtnflag.visible = false;
- btn_chrtuncntprescond.visible = false;
- btn_patdinfo.enable = true;
- btn_search.enable = true;
- btn_dsch.enable = true;
- btn_indx.enable = true;
- btn_unprep.enable = true;
- btn_cncr.enable = true;
- btn_save.visible = false;
- /*
- btn_excel.position.x = 1147;
- btn_cncr.position.x = 1092;
- btn_unprep.position.x = 1026;
- btn_indx.position.x = 927;
- btn_dsch.position.x = 861;
- btn_search.position.x = 773;
- btn_syncsetting.position.x = 751;
- */
- cap_exam.visible = false;
- cap_examfromto.visible = false;
- ipt_examfromdd.visible = false;
- ipt_examtodd.visible = false;
- }else if(flag=="unrtn"){
- cap_indschflag.visible = false;
- rdo_ioflag.visible = false;
- chk_rflag.visible = false;
- chk_userflag.visible = false;
- cap_pid.visible = false;
- ipt_pid.visible = false;
- chb_value.visible = false;
- btn_srchpid.visible = false;
- cap_dept.visible = false;
- //cmb_orddept.visible = false;
- opt_multidept.visible = false;
- btn_multidept.visible = false;
- cap_medispc.visible = false;
- cmb_medispc.visible = false;
- cap_ward.visible = false;
- cbo_ward.visible = false;
- cap_user.visible = false;
- cap_remyn.visible = false;
- ipt_unprepdrnm.visible = false;
- rdo_remyn.visible = false;
- cap_reqflag.visible = false;
- rdo_reqflag.visible = false;
- chk_longinhosp.visible = false;
- ipt_inhospdd.visible = false;
- btn_r_chrtmovelist.visible = false;
- cap_unrtnflag.visible = true;
- rdo_unrtnflag.visible = true;
- btn_chrtuncntprescond.visible = true;
- btn_chrtuncntprescond.visible = true;
- btn_chrtuncntprescond.position.y = 439;
- btn_patdinfo.enable = false;
- btn_search.enable = false;
- btn_dsch.enable = false;
- btn_indx.enable = false;
- btn_unprep.enable = false;
- btn_cncr.enable = false;
- btn_save.visible = false;
- /*
- btn_excel.position.x = 1147;
- btn_cncr.position.x = 1092;
- btn_unprep.position.x = 1026;
- btn_indx.position.x = 927;
- btn_dsch.position.x = 861;
- btn_search.position.x = 773;
- btn_syncsetting.position.x = 751;
- */
- cap_exam.visible = false;
- cap_examfromto.visible = false;
- ipt_examfromdd.visible = false;
- ipt_examtodd.visible = false;
- }
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_의 콜백함수
- ****************************************************************************************/
- function cf_(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMRD01200
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SMMRD01200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMRD01200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SMMRD01200_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_orddept
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진료과
- ****************************************************************************************/
- function cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fChgUserListClsDept();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_r_chrtmovelist
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회 버튼 클릭
- ****************************************************************************************/
- function btn_r_chrtmovelist_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPatList();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_ioflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 구분 클릭 이벤트
- ****************************************************************************************/
- function rdo_ioflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSaveDisable();
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_longinhosp
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 장기 재원시 체크박스 클릭 이벤트
- ****************************************************************************************/
- function chk_longinhosp_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value != "H")
- ds_cond.setColumn(0, "longinhosp", "");
-
- fChgInhospdd();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_reqflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회구분 Radio item 선택 이벤트
- ****************************************************************************************/
- function rdo_reqflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- ds_init_remanalyflag.setColumn(0, "cntflag", "DA");
- ds_temp_flag.setColumn(0, "excelflag", "2");
-
- ipt_unprepdrnm.enable = true;
- btn_save.enable = false;
-
- var reqflag = utlf_transNullToEmpty(ds_init.getColumn(0, "reqflag"));
- reqflag = reqflag.substr(0,4);
-
- if( "dsch" == reqflag){
- switch1.tabindex = 1;
- lf_btn_Selected("btn_flag");
- }else if( "anly" == reqflag){
- switch1.tabindex = 2;
- lf_btn_Selected("btn_flag");
- }else if( "indx" == reqflag){
- switch1.tabindex = 3;
- lf_btn_Selected("btn_flag");
- }else if( "unpr" == reqflag){
- switch1.tabindex = 4;
- lf_btn_Selected("btn_flag");
- }
- ds_cond.setColumn(0, "remanalyflag", reqflag);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 이벤트
- ****************************************************************************************/
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- fChrtanalySaveExcel();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 EnterKey 이벤트
- ****************************************************************************************/
- function ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- obj.updateToDataset();
- btn_srchpid.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_srchpid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 EnterKey 이벤트
- ****************************************************************************************/
- function btn_srchpid_onclick(obj:Button, e:ClickEventInfo)
- {
- fPidKeyPress();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case1.grd_chrtanaly
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행클릭
- ****************************************************************************************/
- function switch1_case1_grd_chrtanaly_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 && e.col < 0 ) return;
-
- fSelectPatInfo("rem", obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case1.grd_chrtanaly
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 우클릭 메뉴
- ****************************************************************************************/
- function switch1_case1_grd_chrtanaly_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if( e.col < 0 && e.row < 0 ) return;
-
- grdf_setSelectedCell(obj, e);
-
- fMouseRightchrt(obj, e);
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_list_chrtanaly_patlist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function ds_main_list_chrtanaly_patlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "remyn" || e.columnid == "delyn" || e.columnid == "unrtnyn" ){
- obj.setColumn(e.row, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
-
- fChgUnrtnyn(obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case2.grd_dschpat
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행클릭
- ****************************************************************************************/
- function switch1_case2_grd_dschpat_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 && e.col < 0 ) return;
-
- fSelectPatInfo("dsch1", obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case3.grd_dschanaly
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행클릭
- ****************************************************************************************/
- function switch1_case3_grd_dschanaly_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 && e.col < 0 ) return;
-
- fSelectPatInfo("analy", obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case4.grd_indxlist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행클릭
- ****************************************************************************************/
- function switch1_case4_grd_indxlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 && e.col < 0 ) return;
-
- fSelectPatInfo("indx", obj, e);
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : switch1.case5.grd_unprep
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행클릭
- ****************************************************************************************/
- function switch1_case5_grd_unprep_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.row < 0 && e.col < 0 ) return;
-
- fSelectPatInfo("unpr", obj, e);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 통합기록조회 버튼 클릭
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
- frmf_setParameter("SMMRI00400_param_pid", sPid);
-
- // 통합기록조회가 뜨는 위치를 지정.
- frmf_open("SMMRI00400", "SMMRI00400", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_indx
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 질병및수술분류 버튼 클릭
- ****************************************************************************************/
- function btn_indx_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
- frmf_setParameter("SMMRD00400_pid", sPid);
- frmf_open("SMMRD00700", "SMMRD00700", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_patdinfo
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자상세정보 버튼 클릭
- ****************************************************************************************/
- function btn_patdinfo_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
-
- dsf_createDsRow("ds_source", [{col:"srchcond", type:"string", size:256, val:"1"}
- , {col:"pid", type:"string", size:256, val:sPid}]);
-
- var objArgs = new Object();
- objArgs.arg_ds_source = ds_source;
-
- frmf_open("SMPMC01900", "SMPMC01900", null, false, 1, 100, 100, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_dsch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 퇴원분석 버튼 클릭
- ****************************************************************************************/
- function btn_dsch_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
-
- frmf_setParameter("SMMRD00400_param_pid", sPid);
- frmf_open("SMMRD00400", "SMMRD00400", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장 버튼 클릭
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_stat
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 수거버튼 클릭
- ****************************************************************************************/
- function btn_stat_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected("btn_stat");
-
- switch1.tabindex = 0;
-
- ds_cond.setColumn(0, "clsdeptflag", "");
- fDisabled("rem");
- ds_cond.setColumn(0, "remanalyflag", "rem");
- ds_temp_flag.setColumn(0, "excelflag", "1");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_flag
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 분석버튼 클릭
- ****************************************************************************************/
- function btn_flag_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected("btn_flag");
-
- dsf_createDs("ds_init_clsdeptlist");
- //zsdfGetInClsDeptList(sysf_getUserInfo("dutplceinstcd"), cmb_orddept.value, "/root/init/clsdeptlist", "depthngnm", "asc");//분과
- appf_getInClsDeptList(sysf_getUserInfo("dutplceinstcd"), cmb_orddept.value, "depthngnm", "asc", utlf_getCurrentDate(), "ds_init_clsdeptlist");
-
- if(ds_init_clsdeptlist.rowcount > 0){
- ds_cond.setColumn(0, "clsdeptflag", "Y");
- }
-
- fDisabled("dsch");
-
- dsf_createDsRow("ds_init_remanalyflag", [{col:"cntflag", type:"string", size:256, val:"DA"}]); // 건수 구분
-
- ds_temp_flag.setColumn(0, "excelflag", "2"); //엑셀구분
- var reqflag = utlf_transNullToEmpty(ds_init.getColumn(0, "reqflag"));
- reqflag = reqflag.substr(0,4);
- if( "dsch" == reqflag){
- switch1.tabindex = 1;
- }else if( "anly" == reqflag){
- switch1.tabindex = 2;
- }else if( "indx" == reqflag || "review" == reqflag){
- switch1.tabindex = 3;
- }else if( "unpr" == reqflag){
- switch1.tabindex = 4;
- }
- ds_cond.setColumn(0, "remanalyflag", reqflag);
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_remyn
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 수거상태 클릭 이벤트
- ****************************************************************************************/
- function rdo_remyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- lf_btn_Selected("btn_stat");
- btn_save.enable = true;
- switch1.tabindex = 0;
- ds_cond.setColumn(0, "remanalyflag", "rem");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_unprepdrid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 수거상태 Enter Keydown 이벤트 ( 사용안함 )
- ****************************************************************************************/
- function ipt_unprepdrid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13 ){
- frmf_setParameter("reqflag", "userid");
- frmf_setParameter("userid", ipt_unprepdrid.text);
- frmf_setParameter("autortnyn","Y");
-
-
- dsf_createDsRow("ds_temp_userinfo", [{col:"userid", type:"string", size:256, val:""}
- , {col:"usernm", type:"string", size:256, val:""}
- , {col:"deptcd", type:"string", size:256, val:""}
- , {col:"instcd", type:"string", size:256, val:""}]);
-
- frmf_modal("SPMRF03200", "SPMRF03200", null, null, null, null, null, null, null, null, null, null, "M");
-
- ds_cond.setColumn(0, "userid", ds_temp_userinfo.getColumn(0, "userid"));
- ds_cond.setColumn(0, "usernm", ds_temp_userinfo.getColumn(0, "usernm"));
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_unprepdrnm
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 사용자 Enter Keydown 이벤트
- ****************************************************************************************/
- function ipt_unprepdrnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- trace(ipt_unprepdrnm.getCaretPos());
- if(ipt_unprepdrnm.getCaretPos() <= 5){
- frmf_setParameter("reqflag", "usernm");
- frmf_setParameter("usernm", ipt_unprepdrnm.text);
- frmf_setParameter("autortnyn","Y");
-
- dsf_createDsRow("ds_temp_userinfo", [{col:"userid", type:"string", size:256, val:""}
- , {col:"usernm", type:"string", size:256, val:""}
- , {col:"deptcd", type:"string", size:256, val:""}
- , {col:"instcd", type:"string", size:256, val:""}]);
-
- frmf_modal("SPMRF03200", "SPMRF03200", null, null, null, null, null, null, null, null, null, null, "M");
-
- ds_cond.setColumn(0, "userid", ds_temp_userinfo.getColumn(0, "userid"));
- ds_cond.setColumn(0, "usernm", ds_temp_userinfo.getColumn(0, "usernm"));
- }else if(ipt_unprepdrnm.getCaretPos() >5){
- frmf_setParameter("reqflag", "userid");
- frmf_setParameter("userid", ipt_unprepdrnm.text);
- frmf_setParameter("autortnyn","Y");
-
- dsf_createDsRow("ds_temp_userinfo", [{col:"userid", type:"string", size:256, val:""}
- , {col:"usernm", type:"string", size:256, val:""}
- , {col:"deptcd", type:"string", size:256, val:""}
- , {col:"instcd", type:"string", size:256, val:""}]);
-
- frmf_modal("SPMRF03200", "SPMRF03200", null, null, null, null, null, null, null, null, null, null, "M");
-
- ds_cond.setColumn(0, "userid", ds_temp_userinfo.getColumn(0, "userid"));
- ds_cond.setColumn(0, "usernm", ds_temp_userinfo.getColumn(0, "usernm"));
- }
- }
- }
- /****************************************************************************************
- * Components : Checkbox
- * Components ID : chk_rflag
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 수거 처크박스 클릭
- ****************************************************************************************/
- function chk_rflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value != "R")
- ds_cond.setColumn(0, "rflag", "");
-
- fRflagChg();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미반납건수현황 버튼 클릭 (사용안함)
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_btn_Selected("button2");
-
- switch1.tabindex = 5;
- fDisabled("unrtn");
- ds_temp_flag.setColumn(0, "excelflag", "3");
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_unrtnflag
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미반납건수현황 조회구분 클릭 (사용안함)
- ****************************************************************************************/
- function rdo_unrtnflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var UnrtnFlag = ds_cond.getColumn(0, "unrtnflag");
- if(UnrtnFlag == "wardunremcnt"){
- switch1.tabindex = 7;
- } else if(UnrtnFlag=="deptunremcnt"){
- switch1.tabindex = 6;
- } else if(UnrtnFlag=="deptuntrncnt"){
- switch1.tabindex = 5;
- }else if(UnrtnFlag=="warduntrncnt"){
- switch1.tabindex = 8;
- }
- fChrtUnrtnRemCntPresCondList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_chrtuncntprescond
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미반납건수현황 조회 버튼클릭 (사용안함)
- ****************************************************************************************/
- function btn_chrtuncntprescond_onclick(obj:Button, e:ClickEventInfo)
- {
- fChrtUnrtnRemCntPresCondList();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_unprep
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미비관리 버튼클릭
- ****************************************************************************************/
- function btn_unprep_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
-
- frmf_setParameter("SMMRI01700_Param", "");
- var sPid = ds_init_tmp.getColumn(0, "pid");
- var sInDD = ds_init_tmp.getColumn(0, "indd");
- var sDschDD = ds_init_tmp.getColumn(0, "dschdd");
- sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦ordtype▩"+
- sPid +"▦"+sInDD+"▦"+sDschDD+"▦"+"▦"+"i"+"▩";
- frmf_setParameter("SMMRI01700_Param", sParamMsg);
- frmf_open("SMMRI01700", "SMMRI01700", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_cncr
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 암등록 버튼클릭
- ****************************************************************************************/
- function btn_cncr_onclick(obj:Button, e:ClickEventInfo)
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- if(utlf_isNull(sPid)){
- return;
- }
- var sDschDD = ds_init_tmp.getColumn(0, "dschdd");
- frmf_setParameter("SMMRD00100_pid", sPid);
- frmf_setParameter("SMMRD00100_dschdd", sDschDD);
- frmf_open("SMMRD00100", "SMMRD00100", null, false, 1, 0, 0, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_userflag
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 작업기준 체크박스 클릭
- ****************************************************************************************/
- function chk_userflag_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value != "dsch")
- ds_cond.setColumn(0, "userflag", "");
-
- fRflagChg();
- }
- /****************************************************************************************
- * Components : PopupMenu
- * Components ID : popupmenu
- * Event : onmenuclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : (사용안함)
- ****************************************************************************************/
- function popupmenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- function btn_multidept_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_ControlDeptGrd();
- }
- function lf_ControlDeptGrd()
- {
- if(lgv_deptgrd_openflag == false){ // open
- grd_multidept.position.left = 90;
- grd_multidept.position.top = 168;
- grd_multidept.position.width = 183;
- grd_multidept.position.height = 604;
- grd_multidept.visible = true;
- lgv_deptgrd_openflag = true;
- }else{ // close (선택 완료)
- grd_multidept.visible = false;
- lgv_deptgrd_openflag = false;
-
- var deptcdstr = "";
- var deptnmstr = "";
-
- if(ds_multidept.getColumn(0, "checkflag") == "1"){ // 전체 선택 시
- deptcdstr = ds_multidept.getColumn(0, "deptcd");
- deptnmstr = ds_multidept.getColumn(0, "depthngnm");
- }else{
- for(var i = 0; i < ds_multidept.rowcount; i++){
- if(ds_multidept.getColumn(i, "checkflag") == "1"){
- deptcdstr += ",'" + ds_multidept.getColumn(i, "deptcd") + "'";
- deptnmstr += "," + ds_multidept.getColumn(i, "depthngnm");
- }
- }
-
- if(deptcdstr != ""){
- deptcdstr = deptcdstr.substring(1, deptcdstr.length);
- deptnmstr = deptnmstr.substring(1, deptnmstr.length);
- }
- }
- opt_multidept.value = deptnmstr;
- opt_multidept.tooltiptext = deptnmstr;
- ds_cond.setColumn(0, "orddeptcd", deptcdstr);
-
- fChgUserListClsDept();
- }
- }
- function grd_multidept_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(obj.currentcol == 1){
- if(ds_multidept.getColumn(obj.currentrow, "checkflag") != "1"){
- ds_multidept.setColumn(obj.currentrow, "checkflag", "1");
- }else{
- ds_multidept.setColumn(obj.currentrow, "checkflag", "");
- }
- }
- // 전체 선택/해제 시 처리
- if(obj.currentrow == 0){
- if(ds_multidept.getColumn(obj.currentrow, "checkflag") != "1"){ // 전체 선택해제
- for(var i = 0; i < ds_multidept.rowcount; i++){
- ds_multidept.setColumn(i, "checkflag", "");
- }
- }else{ // 전체 선택
- for(var i = 0; i < ds_multidept.rowcount; i++){
- ds_multidept.setColumn(i, "checkflag", "1");
- }
- }
- }else{
- if(ds_multidept.getColumn(obj.currentrow, "checkflag") != "1"){
- ds_multidept.setColumn(0, "checkflag", "");
- }
- }
- }
- function grd_multidept_onkillfocus(obj:Grid, e:KillFocusEventInfo)
- {
- //lf_ControlDeptGrd();
- }
- /****************************************************************************************
- * Function : fSyncForms
- * Description : 환자 선택 시 띄어져있는 아래 화면의 환자정보를 동기화함.
- (각 화면별 동기화 옵션 설정 가능)
- 1.통합기록조회, 2. 퇴원분석 , 3. 질병및수술분류,
- 4. 미비관리, 5. 암등록 화면
- * Argument :
- * retrun type :
- * Creator :
- ****************************************************************************************/
- function fSyncForms()
- {
- var sPid = ds_init_tmp.getColumn(0, "pid");
- var sInDD = ds_init_tmp.getColumn(0, "indd");
- var sDschDD = ds_init_tmp.getColumn(0, "dschdd");
-
- if(utlf_isNull(sPid)){
- return;
- }
-
- // 1. 통합기록조회
- var obj1 = frmf_findPopup("SMMRI00400");
-
- if(!utlf_isNull(obj1) && ds_init_syncform.lookup("formid","SMMRI00400", "chk") == 1)
- {
- frmf_setParameter("SMMRI00400_param_pid", sPid);
- frmf_setParameter("SMMRI00400_param_openerid", "SMMRD01200");
- obj1.fInitalize();
- }
-
- // 2. 퇴원분석
- var obj2 = frmf_findPopup("SMMRD00400");
- if(!utlf_isNull(obj2) && ds_init_syncform.lookup("formid","SMMRD00400", "chk") == 1)
- {
- frmf_setParameter("SMMRD00400_param_pid", sPid);
- obj2.fInitialize();
- }
-
- // 3. 질병및수술분류,
- var obj3 = frmf_findPopup("SMMRD00700");
- if(!utlf_isNull(obj3) && ds_init_syncform.lookup("formid","SMMRD00700", "chk") == 1)
- {
- frmf_setParameter("SMMRD00400_pid", sPid);
- obj3.fInitialize();
- }
-
- // 4. 미비관리
- var obj4 = frmf_findPopup("SMMRI01700");
-
- if(!utlf_isNull(obj4) && ds_init_syncform.lookup("formid","SMMRI01700", "chk") == 1)
- {
- frmf_setParameter("SMMRI01700_Param", "");
- sParamMsg = "pid▦orddd▦dschdd▦orddeptcd▦ordtype▩"+
- sPid +"▦"+sInDD+"▦"+sDschDD+"▦"+"▦"+"i"+"▩";
- frmf_setParameter("SMMRI01700_Param", sParamMsg);
- obj4.fInitialize();
- }
-
- // 5. 암등록 화면
- var obj5 = frmf_findPopup("SMMRD00100");
- if(!utlf_isNull(obj5) && ds_init_syncform.lookup("formid","SMMRD00100", "chk") == 1)
- {
- frmf_setParameter("SMMRD00100_pid", sPid);
- frmf_setParameter("SMMRD00100_dschdd", sDschDD);
- obj5.fInitialize();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_syncsetting
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 버튼 클릭 시 챠트분석관리 화면과 환자정보 동기화할 화면 옵션
- 설정하는 그리드 보임/숨김
- ****************************************************************************************/
- function btn_syncsetting_onclick(obj:Button, e:ClickEventInfo)
- {
- if(grd_syncform.visible == false){
- grd_syncform.position.x = obj.position.x;
- grd_syncform.position.y = obj.position.y + obj.position.height + 2;
- grd_syncform.visible = true;
- }else{
- grd_syncform.visible = false;
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_syncform
- * Event : onheadclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 챠트분석관리 화면과 환자정보 동기화할 화면 옵션 설정 그리드에서
- 전체선택/해제
- ****************************************************************************************/
- var gv_IsGridCheckAll = 0;
- function grd_syncform_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row == -1 && e.col == 0){
- var dsObj = eval(obj.binddataset);
- var v_colId = obj.getCellProperty("body", e.cell, "text").replace("bind:", "");
-
- gv_IsGridCheckAll = (gv_IsGridCheckAll ? 0 : 1);
-
- dsObj.enableevent = false;
-
- for(var i = 0; i < dsObj.rowcount; i++){
- dsObj.setColumn(i, v_colId, gv_IsGridCheckAll);
- }
- obj.setCellProperty("Head", 0, "expr", gv_IsGridCheckAll);
- dsObj.enableevent = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|