12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRT00300" position="absolute 0 0 1196 774" titletext="주호소 용어 관리" onload="SMMRT00300_onload">
- <Layouts>
- <Layout>
- <Div id="grp_srch2" anchor="left top right" taborder="17" class="div_SA2" position="absolute 260 25 1195 65"/>
- <Div id="grp_srch" anchor="left top right" taborder="16" class="div_SA" position="absolute 0 25 250 65">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Static id="caption6selctedmode" text="주호소 용어 관리" class="tit_1" position="absolute 0 0 140 25"/>
- <Tab id="switch2" taborder="1" tabindex="0" position="absolute 260 67 1195 773" onlbuttonup="switch2_onlbuttonup">
- <Tabpages>
- <Tabpage id="case5" text=" 주호소코드 ">
- <Layouts>
- <Layout>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 0 631 465 637"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 1 506 465 512"/>
- <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 0 606 465 612"/>
- <Edit id="ipt_termupdtid" taborder="27" class="input_default" enable="false" position="absolute 330 613 460 632"/>
- <MaskEdit id="ipt_fstrgsttime" taborder="28" mask="hh:nn" class="input_default" enable="false" position="absolute 423 588 460 607"/>
- <Edit id="ipt_engnm" taborder="29" class="input_default" enable="false" position="absolute 113 538 460 557"/>
- <Calendar id="ipt_fstrgstdate" taborder="30" class="input_default" enable="false" position="absolute 330 588 420 607" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd"/>
- <Button id="btn_snmdcnptid" taborder="31" class="icon_search" enable="false" position="absolute 448 439 464 455"/>
- <Static id="caption26" text="용어 관리" class="tit_2" position="absolute 0 415 126 431"/>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 431 464 437"/>
- <Button id="btn_delete1" taborder="32" text="사용종료" class="btn5" position="absolute 400 409 464 431" onclick="switch2_case5_btn_delete1_onclick"/>
- <Edit id="ipt_fstrgstdt" taborder="33" class="input_default" enable="false" visible="false" position="absolute 85 411 114 430"/>
- <Edit id="input6" taborder="34" visible="false" position="absolute 108 411 123 430"/>
- <Button id="btn_insert1" taborder="35" text="신규" class="btn2" position="absolute 198 409 240 431" onclick="switch2_case5_btn_insert1_onclick"/>
- <Button id="btn_save1" taborder="36" text="저장" class="btn5" position="absolute 356 410 398 429"/>
- <Shape id="line1" linetype="horizontal" class="line_3" position="absolute 0 404 935 410"/>
- <Edit id="ipt_ccattrcd" taborder="37" class="input_essential" enable="false" position="absolute 113 463 223 482"/>
- <Edit id="ipt_termcd" taborder="38" class="input_default" enable="false" position="absolute 113 488 223 507"/>
- <Grid id="grd_cccd" class="datagrid2" taborder="39" binddataset="ds_main_cccdinfo_cccd" useinputpanel="false" position="absolute 0 0 935 405" cellsizingtype="both" autosizingtype="row" extendsizetype="row" oncellclick="switch2_case5_grd_cccd_oncellclick" onrbuttonup="switch2_case5_grd_cccd_onrbuttonup" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="33"/>
- <Column size="0"/>
- <Column size="64"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="250"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="사용여부" wordwrap="char"/>
- <Cell col="2" text="상태" wordwrap="char"/>
- <Cell col="3" text="색인코드" wordwrap="char"/>
- <Cell col="4" text="색인명" wordwrap="char"/>
- <Cell col="5" text="색인영문명" wordwrap="char"/>
- <Cell col="6" text="주호소코드" wordwrap="char"/>
- <Cell col="7" text="용어코드" wordwrap="char"/>
- <Cell col="8" text="SNOMED-CT Concept ID" wordwrap="char"/>
- <Cell col="9" text="SNOMED-CT Concept 명" wordwrap="char"/>
- <Cell col="10" text="SNOMED-CT Description ID" wordwrap="char"/>
- <Cell col="11" text="ICD10 코드" wordwrap="char"/>
- <Cell col="12" text="UMLS코드" wordwrap="char"/>
- <Cell col="13" text="주호소 영문명" wordwrap="char"/>
- <Cell col="14" text="주호소 한글명" wordwrap="char"/>
- <Cell col="15" text="시작일자" wordwrap="char"/>
- <Cell col="16" text="종료일자" wordwrap="char"/>
- <Cell col="17" text="최종수정일시" wordwrap="char"/>
- <Cell col="18" text="속성시작일자" wordwrap="char"/>
- <Cell col="19" text="속성종료일자" wordwrap="char"/>
- <Cell col="20" text="용어구분" wordwrap="char"/>
- <Cell col="21" text="최종수정자ID" wordwrap="char"/>
- <Cell col="22" text="최종수정자" wordwrap="char"/>
- <Cell col="23" text="최초등록일시" wordwrap="char"/>
- <Cell col="24" text="최초등록자ID" wordwrap="char"/>
- <Cell col="25" text="최초등록자" wordwrap="char"/>
- <Cell col="26" text="필수용어구분" wordwrap="char"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:termuseyn" expr="expr:(termuseyn=="Y"||termuseyn==1)?1:0"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:state" enable="false"/>
- <Cell col="3" text="bind:ccindxcd"/>
- <Cell col="4" text="bind:indxhngnm"/>
- <Cell col="5" text="bind:indxengnm"/>
- <Cell col="6" text="bind:ccattrcd"/>
- <Cell col="7" text="bind:termcd"/>
- <Cell col="8" displaytype="text" text="bind:snmdcnptid"/>
- <Cell col="9" displaytype="text" text="bind:snmdcnptnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" displaytype="text" text="bind:snmddescid" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" displaytype="text" text="bind:icd10cd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="12" displaytype="text" text="bind:umlscd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="13" displaytype="text" text="bind:termengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="14" displaytype="text" text="bind:termhngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="15" text="bind:termfromdd" mask="expr:utlf_isNull(termfromdd) ? '' : '####-##-##'"/>
- <Cell col="16" text="bind:termtodd" mask="expr:utlf_isNull(termtodd) ? '' : '####-##-##'"/>
- <Cell col="17" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="18" text="bind:attrfromdd"/>
- <Cell col="19" text="bind:attrtodd"/>
- <Cell col="20" text="bind:termflag"/>
- <Cell col="21" text="bind:lastupdtrid"/>
- <Cell col="22" text="bind:lastupdtrnm"/>
- <Cell col="23" text="bind:fstrgstdt"/>
- <Cell col="24" text="bind:fstrgstrid"/>
- <Cell col="25" text="bind:fstrgstrnm"/>
- <Cell col="26" text="bind:essntermflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="ipt_snmdcnptid" taborder="40" class="input_essential" enable="false" position="absolute 340 438 445 457"/>
- <Edit id="ipt_snmdcnptnm" taborder="41" class="input_default" enable="false" position="absolute 340 463 460 482"/>
- <Edit id="ipt_icd10cd" taborder="42" class="input_default" enable="false" position="absolute 340 488 445 507" onkeyup="switch2_case5_ipt_icd10cd_onkeyup"/>
- <Button id="btn_snmddescid" taborder="43" class="icon_search" enable="false" visible="false" position="absolute 440 464 456 480"/>
- <Button id="btn_icd10cd" taborder="44" class="icon_search" enable="false" position="absolute 448 490 464 506" onclick="switch2_case5_btn_icd10cd_onclick"/>
- <Button id="btn_modify1" taborder="45" text="수정" class="btn2" position="absolute 243 409 285 431" onclick="switch2_case5_btn_modify1_onclick"/>
- <Edit id="opt_ccindxcd" taborder="46" readonly="true" position="absolute 113 438 223 457" class="output"/>
- <Calendar id="ipt_termfromdd" taborder="47" class="input_essential" enable="false" position="absolute 113 588 223 607" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_termtodd" taborder="48" class="input_essential" enable="false" position="absolute 113 613 223 632" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd"/>
- <Calendar id="input2" taborder="49" class="input_default" enable="false" visible="false" position="absolute 120 410 155 429" mask="yyyy-mm-dd"/>
- <Calendar id="input3" taborder="50" class="input_default" enable="false" visible="false" position="absolute 145 410 180 429" mask="yyyy-mm-dd"/>
- <Shape id="line2" linetype="horizontal" class="line_2" position="absolute 0 456 465 462"/>
- <Shape id="line4" linetype="horizontal" class="line_2" position="absolute 0 481 465 487"/>
- <Static id="caption2" text="대표어 코드/명" class="cell_1" visible="false" position="absolute 0 638 110 661"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 0 531 464 537"/>
- <Combo id="combo4" taborder="51" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" enable="false" visible="false" position="absolute 113 635 223 654">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Grid id="grd_cchist" class="datagrid2" taborder="52" binddataset="ds_grd_cchist" useinputpanel="false" position="absolute 470 436 935 634" extendsizetype="row" autosizingtype="row" cellsizingtype="both" oncellclick="switch2_case5_grd_cchist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="100"/>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="200"/>
- <Column size="200"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="110"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="140"/>
- <Column size="100"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" 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="SNOMED-CT ConceptID"/>
- <Cell col="11" text="SNOMED-CT Concept명"/>
- <Cell col="12" text="ICD10코드"/>
- <Cell col="13" text="UMLS코드"/>
- <Cell col="14" text="SNOMED-CT DESCRIPTION ID"/>
- <Cell col="15" text="시작일자"/>
- <Cell col="16" text="종료일자"/>
- <Cell col="17" text="등록일시"/>
- <Cell col="18" text="등록자"/>
- <Cell col="19" text="최종수정일시"/>
- <Cell col="20" text="최종수정자ID"/>
- <Cell col="21" text="최종수정자"/>
- <Cell col="22" text="확장코드시작일자"/>
- <Cell col="23" text="확장코드종료일자"/>
- <Cell col="24" text="ICD시작일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:instnm"/>
- <Cell col="2" text="bind:state"/>
- <Cell col="3" text="bind:ccindxcd"/>
- <Cell col="4" text="bind:attrcd"/>
- <Cell col="5" text="bind:termcd"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:termflag" enable="false"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:reprflag" enable="false"/>
- <Cell col="8" displaytype="text" text="bind:termengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" text="bind:termhngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" text="bind:snmdcnptid"/>
- <Cell col="11" text="bind:snmdcnptnm"/>
- <Cell col="12" text="bind:icd10cd"/>
- <Cell col="13" text="bind:umlscd"/>
- <Cell col="14" text="bind:snmddescid"/>
- <Cell col="15" text="bind:termfromdd" mask="expr:utlf_isNull(termfromdd) ? '' : '####-##-##'"/>
- <Cell col="16" text="bind:termtodd" mask="expr:utlf_isNull(termtodd) ? '' : '####-##-##'"/>
- <Cell col="17" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="18" text="bind:fstrgstrid"/>
- <Cell col="19" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="20" text="bind:lastupdtrid"/>
- <Cell col="21" text="bind:lastupdtrnm"/>
- <Cell col="22" text="bind:attrfromdd"/>
- <Cell col="23" text="bind:attrtodd"/>
- <Cell col="24" text="bind:icdfromdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 470 431 935 437"/>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 0 581 465 587"/>
- <Shape id="line14" linetype="horizontal" class="line_2" position="absolute 1 556 466 562"/>
- <Edit id="ipt_hngnm" taborder="53" class="input_default" enable="false" position="absolute 113 563 460 582"/>
- <Edit id="input4" taborder="54" class="input_default" enable="false" visible="false" position="absolute 225 635 330 654"/>
- <Edit id="input7" taborder="55" class="input_default" enable="false" visible="false" position="absolute 330 634 460 653"/>
- <Edit id="input8" taborder="56" class="input_default" enable="false" position="absolute 113 513 223 532"/>
- <Button id="btn_rollback" taborder="57" text="되살리기" class="btn5" position="absolute 288 409 352 431" onclick="switch2_case5_btn_rollback_onclick"/>
- <Combo id="cmb_allinsthist" taborder="58" innerdataset="@ds_init_M0534allcmb" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 835 412 935 431" onitemchanged="switch2_case5_cmb_allinsthist_onitemchanged"/>
- <Static id="cap_allinsthist" text="기관 :" class="search_name" visible="false" position="absolute 780 414 830 431"/>
- <Button id="btn_termsave" taborder="59" text="저장" class="btn5" position="absolute 355 409 397 431" onclick="switch2_case5_btn_termsave_onclick"/>
- <Radio id="rdo_essntermflag" taborder="60" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 340 513 457 533" onitemchanged="switch2_case5_rdo_essntermflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Y</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">N</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line15" linetype="horizontal" class="line_3" position="absolute 0 673 925 679"/>
- <Static id="caption27" text="주호소코드" class="cell_1" position="absolute 0 486 110 509" style="padding:0 0 0 4;"/>
- <Static id="caption16" text="등록자" class="cell_1" position="absolute 227 611 327 634" style="padding:0 0 0 4;"/>
- <Static id="caption8" text="주호소 영문명" class="cell_1" position="absolute 0 536 110 559" style="padding:0 0 0 4;"/>
- <Static id="caption17" text="시작일자" class="cell_1" position="absolute 0 586 110 609" style="padding:0 0 0 4;"/>
- <Static id="caption19" text="종료일자" class="cell_1" position="absolute 0 611 110 634" style="padding:0 0 0 4;"/>
- <Static id="caption1" text="ICD10 코드" class="cell_1" position="absolute 227 486 337 509" style="padding:0 0 0 4;"/>
- <Static id="caption3" text="SNMD-concept 명" class="cell_1" position="absolute 227 461 337 484" style="padding:0 0 0 4;"/>
- <Static id="caption9" text="주호소 한글명" class="cell_1" position="absolute 0 561 110 584" style="padding:0 0 0 4;"/>
- <Static id="caption10" text="UMLS코드" class="cell_1" position="absolute 0 511 110 534" style="padding:0 0 0 4;"/>
- <Static id="caption36" text="필수용어 여부" class="cell_1" position="absolute 227 511 337 534" style="padding:0 0 0 4;"/>
- <Static id="cap_appinst" text="적용 기관" class="cell_1" position="absolute 0 636 110 676" style="padding:0 0 0 4;"/>
- <Static id="caption20" text="속성코드" class="cell_1" position="absolute 0 461 110 484" style="padding:0 0 0 4;"/>
- <Static id="caption32" text="SNMD-concept ID" class="cell_1" position="absolute 227 436 337 459" style="padding:0 0 0 4;"/>
- <Static id="caption22" text="등록일시" class="cell_1" position="absolute 227 586 327 609" style="padding:0 0 0 4;"/>
- <Static id="caption6" text="색인코드" class="cell_1" position="absolute 0 436 110 459" style="padding:0 0 0 4;"/>
- <Div id="grp_tabbtn" taborder="62" position="absolute 470 408 680 433">
- <Layouts>
- <Layout>
- <Button id="button2" taborder="7" text="이력조회" class="btn_tab_S" position="absolute 0 1 68 25" anchor="default" onclick="switch2_case5_grp_tabbtn_button2_onclick"/>
- <Button id="button6" taborder="8" text="기관별 사용 이력조회" class="btn_tab" position="absolute 69 1 201 25" anchor="default" onclick="switch2_case5_grp_tabbtn_button6_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <cp_checkboxList id="chk_appinst" titletext="CheckBox List" taborder="63" scrollbars="none" class="output" enable="false" position="absolute 114 636 214 656" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_deptccinfo" text=" 과 주호소코드 ">
- <Layouts>
- <Layout>
- <Static id="caption23" text="과주호소" class="tit_2" position="absolute 0 7 86 24"/>
- <Button id="btn_deptsrch" taborder="19" class="icon_search" position="absolute 139 5 155 21" onclick="switch2_case_deptccinfo_btn_deptsrch_onclick"/>
- <Shape id="line28" linetype="horizontal" class="line_10" position="absolute 0 23 935 29"/>
- <Shape id="line29" linetype="horizontal" class="line_10" position="absolute 0 342 935 348"/>
- <Static id="caption29" text="주호소 추가" class="tit_2" position="absolute 0 326 103 343"/>
- <Button id="btn_srchdeptcc" taborder="20" text="조회" class="btn2" position="absolute 807 1 849 23" onclick="switch2_case_deptccinfo_btn_srchdeptcc_onclick"/>
- <Button id="btn_deldeptcc" taborder="21" text="삭제" class="btn2" position="absolute 850 1 892 23" onclick="switch2_case_deptccinfo_btn_deldeptcc_onclick"/>
- <Button id="btn_savedeptcc" taborder="22" text="저장" class="btn5" position="absolute 893 1 935 23" onclick="switch2_case_deptccinfo_btn_savedeptcc_onclick"/>
- <Radio id="rdo_srchflag" taborder="23" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 104 324 272 344" index="-1" style="textpadding:0 4 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">영문명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">한글명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_srchnm" taborder="24" class="input_search" position="absolute 271 323 426 342" onkeyup="switch2_case_deptccinfo_ipt_srchnm_onkeyup"/>
- <Button id="btn_srchcc" taborder="25" text="조회" class="btn2" position="absolute 431 320 473 342" onclick="switch2_case_deptccinfo_btn_srchcc_onclick"/>
- <Button id="btn_srchextncc" taborder="26" text="전체주호소 조회" class="btn2" position="absolute 476 320 580 342" onclick="switch2_case_deptccinfo_btn_srchextncc_onclick"/>
- <Button id="btn_sendcc" taborder="27" class="icon_top" position="absolute 583 320 609 342" onclick="switch2_case_deptccinfo_btn_sendcc_onclick"/>
- <Edit id="ipt_deptnm" taborder="28" class="input_search" position="absolute 158 4 258 23" onkeyup="switch2_case_deptccinfo_ipt_deptnm_onkeyup"/>
- <Edit id="ipt_deptcd" taborder="29" class="input_search" position="absolute 86 4 136 23"/>
- <Grid id="grd_deptcc" taborder="30" binddataset="ds_main_deptcccdlist_deptcccdinfo" useinputpanel="false" position="absolute 0 28 935 318" autosizingtype="row" cellsizingtype="both" extendsizetype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="38"/>
- <Column size="128"/>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="267"/>
- <Column size="278"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" 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="deptcd"/>
- <Cell col="9" text="deptfromdt"/>
- <Cell col="10" text="deptindxflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:status" combodataset="ds_cmb_status" combocodecol="value" combodatacol="label"/>
- <Cell col="2" displaytype="text" text="bind:termcd"/>
- <Cell col="3" displaytype="text" text="bind:deptindxcd"/>
- <Cell col="4" displaytype="text" text="bind:deptindxnm"/>
- <Cell col="5" displaytype="text" text="bind:termengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" text="bind:termhngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" text="bind:deptnm"/>
- <Cell col="8" text="bind:deptcd"/>
- <Cell col="9" text="bind:deptfromdt"/>
- <Cell col="10" text="bind:deptindxflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_srchedccinfo" taborder="31" binddataset="ds_main_srchedcccdlist_srchedcccdinfo" useinputpanel="false" position="absolute 0 347 935 676" oncellclick="switch2_case_deptccinfo_grd_srchedccinfo_oncellclick" extendsizetype="row" cellsizingtype="both" autosizingtype="row" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="34"/>
- <Column size="100"/>
- <Column size="346"/>
- <Column size="330"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="주호소코드"/>
- <Cell col="3" text="주호소 영문명"/>
- <Cell col="4" text="주호소 한글명"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:termcd"/>
- <Cell col="3" displaytype="text" text="bind:termengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" text="bind:termhngnm" wordwrap="char" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1122 35 1128 57"/>
- <Shape id="line12" linetype="horizontal" class="line_10" position="absolute 0 89 250 95"/>
- <Static id="caption4" text="조회 :" class="search_name" position="absolute 491 38 543 55"/>
- <Edit id="input5" taborder="2" class="input_search" position="absolute 543 36 633 55" onkeyup="input5_onkeyup"/>
- <Static id="caption5" text="구분 :" class="search_name" position="absolute 266 38 314 55"/>
- <Radio id="radio2" taborder="3" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 316 36 479 56" index="-1" style="textpadding:0 4 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">영문명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">한글명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="radio1" taborder="4" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 0 69 175 89" onitemchanged="radio1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">H</Col>
- <Col id="datacolumn">한글명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">영문명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="button22" taborder="5" text="색인추가" class="btn2" position="absolute 186 67 250 89" onclick="button22_onclick"/>
- <Grid id="trv_ccindx" taborder="6" useinputpanel="false" treeusecheckbox="false" position="absolute 0 94 250 770" autofit="col" binddataset="ds_main_indxlist_item" oncellclick="trv_ccindx_oncellclick" onrbuttonup="trv_ccindx_onrbuttonup" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="249"/>
- </Columns>
- <Rows>
- <Row size="20"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:indxhngnm" treestartlevel="1" treelevel="bind:depth"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="input1" taborder="7" class="input_search" position="absolute 10 36 165 55" onkeyup="input1_onkeyup"/>
- <Button id="btn_srchindxcd" taborder="8" text="조회" class="btn1" position="absolute 185 35 241 57" onclick="btn_srchindxcd_onclick"/>
- <Button id="btn_srchtermcd" taborder="9" text="조회" class="btn1" position="absolute 1132 35 1188 57" onclick="btn_srchtermcd_onclick"/>
- <Button id="button15" taborder="10" text="엑셀" class="btn7" position="absolute 1145 67 1195 89" onclick="button15_onclick"/>
- <CheckBox id="checkbox2" taborder="11" class="checkbox_search" position="absolute 638 36 753 56" text="사용종료용어조회" truevalue="Y" onclick="checkbox2_onclick"/>
- <Calendar id="ipt_endtodd" taborder="12" class="input_search" enable="false" position="absolute 871 36 961 55" dateformat="yyyy-MM-dd"/>
- <Calendar id="ipt_endfromdd" taborder="13" class="input_search" enable="false" position="absolute 761 36 851 55" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption25" text="~" position="absolute 856 36 868 56"/>
- <Combo id="cmb_selInst" taborder="14" innerdataset="@ds_init_M0534selcmb" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 1024 36 1119 55"/>
- <Static id="cap_selInst" text="기관 :" class="search_name" visible="false" position="absolute 972 38 1019 55"/>
- <Button id="btn_saverow" taborder="15" text="저장" class="btn5" position="absolute 1100 67 1142 89" onclick="btn_saverow_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_deptcccdlist_deptcccdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="deptindxcd" type="STRING" size="256"/>
- <Column id="deptindxnm" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptfromdt" type="STRING" size="256"/>
- <Column id="deptindxflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="termcd"/>
- <Col id="deptindxcd"/>
- <Col id="deptindxnm"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="deptnm"/>
- <Col id="deptcd"/>
- <Col id="deptfromdt"/>
- <Col id="deptindxflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cccdhist_app" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_cccdhist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instnm" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="ccindxcd" type="STRING" size="256"/>
- <Column id="attrcd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="reprflag" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="umlscd" type="STRING" size="256"/>
- <Column id="snmddescid" type="STRING" size="256"/>
- <Column id="termfromdd" type="STRING" size="256"/>
- <Column id="termtodd" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="attrfromdd" type="STRING" size="256"/>
- <Column id="attrtodd" type="STRING" size="256"/>
- <Column id="icdfromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instnm"/>
- <Col id="stat"/>
- <Col id="ccindxcd"/>
- <Col id="attrcd"/>
- <Col id="termcd"/>
- <Col id="termflag"/>
- <Col id="reprflag"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="icd10cd"/>
- <Col id="umlscd"/>
- <Col id="snmddescid"/>
- <Col id="termfromdd"/>
- <Col id="termtodd"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstrid"/>
- <Col id="lastupdtdt"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtrnm"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="icdfromdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ccattrrgstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="ccattrcd" type="STRING" size="256"/>
- <Column id="ccattrfromdd" type="STRING" size="256"/>
- <Column id="ccattrtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ccattrcd"/>
- <Col id="ccattrfromdd"/>
- <Col id="ccattrtodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_peprterminfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_peprterminfo_info_oncolumnchanged">
- <ColumnInfo>
- <Column id="ccindxcd" type="STRING" size="256"/>
- <Column id="ccattrcd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="snmddescid" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="reprflag" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="termfromdd" type="STRING" size="256"/>
- <Column id="termtodd" type="STRING" size="256"/>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="fstrgstdate" type="STRING" size="256"/>
- <Column id="fstrgsttime" type="STRING" size="256"/>
- <Column id="attrfromdd" type="STRING" size="256"/>
- <Column id="attrtodd" type="STRING" size="256"/>
- <Column id="umlscd" type="STRING" size="256"/>
- <Column id="essntermflag" type="STRING" size="256"/>
- <Column id="appinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ccindxcd"/>
- <Col id="ccattrcd"/>
- <Col id="termcd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="snmddescid"/>
- <Col id="icd10cd"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="reprflag">R</Col>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstrnm"/>
- <Col id="fstrgstdt"/>
- <Col id="termfromdd"/>
- <Col id="termtodd"/>
- <Col id="termflag">2</Col>
- <Col id="fstrgstdate"/>
- <Col id="fstrgsttime"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="umlscd"/>
- <Col id="essntermflag">N</Col>
- <Col id="appinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cccdinfo_cccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_cccdinfo_cccd_oncolumnchanged">
- <ColumnInfo>
- <Column id="termuseyn" type="STRING" size="256"/>
- <Column id="state" type="STRING" size="256"/>
- <Column id="ccindxcd" type="STRING" size="256"/>
- <Column id="ccattrcd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="snmddescid" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="umlscd" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="termfromdd" type="STRING" size="256"/>
- <Column id="termtodd" type="STRING" size="256"/>
- <Column id="ccattrtodt" type="STRING" size="256"/>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="indxhngnm" type="STRING" size="256"/>
- <Column id="indxengnm" type="STRING" size="256"/>
- <Column id="attrfromdd" type="STRING" size="256"/>
- <Column id="attrtodd" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="essntermflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termuseyn"/>
- <Col id="state">-</Col>
- <Col id="ccindxcd"/>
- <Col id="ccattrcd"/>
- <Col id="termcd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="snmddescid"/>
- <Col id="icd10cd"/>
- <Col id="umlscd"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="termfromdd"/>
- <Col id="termtodd"/>
- <Col id="ccattrtodt"/>
- <Col id="termflag"/>
- <Col id="indxhngnm"/>
- <Col id="indxengnm"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstrnm"/>
- <Col id="lastupdtdt"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtrnm"/>
- <Col id="essntermflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_srchedcccdlist_srchedcccdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_srchedcccdlist_srchedcccdinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="check"/>
- <Col id="termcd"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_indxlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256"/>
- <Column id="indxcd" type="STRING" size="256"/>
- <Column id="upindxcd" type="STRING" size="256"/>
- <Column id="indxhngnm" type="STRING" size="256"/>
- <Column id="pathcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depth"/>
- <Col id="indxcd"/>
- <Col id="upindxcd"/>
- <Col id="indxhngnm"/>
- <Col id="pathcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_seqcd_seq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="indxcd" type="STRING" size="256"/>
- <Column id="cccd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indxcd"/>
- <Col id="cccd"/>
- <Col id="termcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_func_trvmouserght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">붙여넣기</Col>
- <Col id="hardcd">fPasteIndx</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_func_mouserght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">색인변경</Col>
- <Col id="hardcd">fModifyIndx</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0534selcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="M0534" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="M0534"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="today" type="STRING" size="256"/>
- <Column id="curruntTime" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="today"/>
- <Col id="curruntTime"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="userid"/>
- <Col id="usernm"/>
- <Col id="instcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0534allcmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="M0534" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="M0534"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0534" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="M0534" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="M0534"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_hidden_condition_deptset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="selecteddeptcd" type="STRING" size="256"/>
- <Column id="selecteddeptnm" type="STRING" size="256"/>
- <Column id="srchnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">H</Col>
- <Col id="selecteddeptcd"/>
- <Col id="selecteddeptnm"/>
- <Col id="srchnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- <Column id="rtn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- <Col id="rtn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchnm" type="STRING" size="256"/>
- <Column id="indxflag" type="STRING" size="256"/>
- <Column id="selctedmode" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="selectedIndx" type="STRING" size="256"/>
- <Column id="selectedIndxDepth" type="STRING" size="256"/>
- <Column id="selectedtermcd" type="STRING" size="256"/>
- <Column id="selectedIndxPath" type="STRING" size="256"/>
- <Column id="indxviewmode" type="STRING" size="256"/>
- <Column id="srchindxcd" type="STRING" size="256"/>
- <Column id="sametermmode" type="STRING" size="256"/>
- <Column id="srchfromdd" type="STRING" size="256"/>
- <Column id="srchtodd" type="STRING" size="256"/>
- <Column id="endflag" type="STRING" size="256"/>
- <Column id="allinsthist" type="STRING" size="256"/>
- <Column id="selInstcd" type="STRING" size="256"/>
- <Column id="maininstyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchflag">C</Col>
- <Col id="srchnm"/>
- <Col id="indxflag">2</Col>
- <Col id="selctedmode">D</Col>
- <Col id="status">S</Col>
- <Col id="selectedIndx"/>
- <Col id="selectedIndxDepth"/>
- <Col id="selectedtermcd"/>
- <Col id="selectedIndxPath"/>
- <Col id="indxviewmode">H</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_receive" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch2.case5.ipt_termupdtid" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstrnm"/>
- <BindItem id="item1" compid="switch2.case5.ipt_fstrgsttime" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgsttime"/>
- <BindItem id="item2" compid="switch2.case5.ipt_engnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termengnm"/>
- <BindItem id="item3" compid="switch2.case5.ipt_fstrgstdate" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstdate"/>
- <BindItem id="item4" compid="switch2.case5.ipt_fstrgstdt" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstdt"/>
- <BindItem id="item5" compid="switch2.case5.input6" propid="value" datasetid="ds_main_peprterminfo_info" columnid="reprflag"/>
- <BindItem id="item6" compid="switch2.case5.ipt_ccattrcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="ccattrcd"/>
- <BindItem id="item7" compid="switch2.case5.ipt_termcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termcd"/>
- <BindItem id="item8" compid="switch2.case5.ipt_snmdcnptid" propid="value" datasetid="ds_main_peprterminfo_info" columnid="snmdcnptid"/>
- <BindItem id="item9" compid="switch2.case5.ipt_snmdcnptnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="snmdcnptnm"/>
- <BindItem id="item10" compid="switch2.case5.ipt_icd10cd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="icd10cd"/>
- <BindItem id="item11" compid="switch2.case5.opt_ccindxcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="ccindxcd"/>
- <BindItem id="item12" compid="switch2.case5.ipt_termfromdd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termfromdd"/>
- <BindItem id="item13" compid="switch2.case5.ipt_termtodd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termtodd"/>
- <BindItem id="item14" compid="switch2.case5.input2" propid="value" datasetid="ds_main_peprterminfo_info" columnid="attrfromdd"/>
- <BindItem id="item15" compid="switch2.case5.input3" propid="value" datasetid="ds_main_peprterminfo_info" columnid="attrtodd"/>
- <BindItem id="item16" compid="switch2.case5.ipt_hngnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termhngnm"/>
- <BindItem id="item17" compid="switch2.case5.input7" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstrid"/>
- <BindItem id="item18" compid="switch2.case5.input8" propid="value" datasetid="ds_main_peprterminfo_info" columnid="umlscd"/>
- <BindItem id="item19" compid="switch2.case5.cmb_allinsthist" propid="value" datasetid="ds_hidden_condition" columnid="allinsthist"/>
- <BindItem id="item20" compid="switch2.case5.rdo_essntermflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="essntermflag"/>
- <BindItem id="item22" compid="switch2.case_deptccinfo.rdo_srchflag" propid="value" datasetid="ds_hidden_condition_deptset" columnid="srchflag"/>
- <BindItem id="item23" compid="switch2.case_deptccinfo.ipt_srchnm" propid="value" datasetid="ds_hidden_condition_deptset" columnid="srchnm"/>
- <BindItem id="item24" compid="switch2.case_deptccinfo.ipt_deptnm" propid="value" datasetid="ds_hidden_condition_deptset" columnid="selecteddeptnm"/>
- <BindItem id="item25" compid="switch2.case_deptccinfo.ipt_deptcd" propid="value" datasetid="ds_hidden_condition_deptset" columnid="selecteddeptcd"/>
- <BindItem id="item26" compid="input5" propid="value" datasetid="ds_hidden_condition" columnid="srchnm"/>
- <BindItem id="item27" compid="radio2" propid="value" datasetid="ds_hidden_condition" columnid="srchflag"/>
- <BindItem id="item28" compid="radio1" propid="value" datasetid="ds_hidden_condition" columnid="indxviewmode"/>
- <BindItem id="item29" compid="input1" propid="value" datasetid="ds_hidden_condition" columnid="srchindxcd"/>
- <BindItem id="item30" compid="checkbox2" propid="value" datasetid="ds_hidden_condition" columnid="endflag"/>
- <BindItem id="item31" compid="ipt_endtodd" propid="value" datasetid="ds_hidden_condition" columnid="srchtodd"/>
- <BindItem id="item32" compid="ipt_endfromdd" propid="value" datasetid="ds_hidden_condition" columnid="srchfromdd"/>
- <BindItem id="item33" compid="cmb_selInst" propid="value" datasetid="ds_hidden_condition" columnid="selInstcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "emr_termmngtxp::SMMRT00300.xjs";
- //include "emr_termmngtxp::MRTCommon.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "mis_miscommonxp::MIS.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TRMRT00301() {
- ds_main_indxlist_item.clearData();
- var oParam = {};
- oParam.id = "TRMRT00301";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqGetCcIndxList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_indxlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00301";
- tranf_submit(oParam);
- }
- function cf_TRMRT00301(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- grdf_expandDepth(trv_ccindx, 1, "indxhngnm");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TRMRT00306() {
- ds_main_deptcccdlist_deptcccdinfo.clearData();
- var oParam = {};
- oParam.id = "TRMRT00306";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetDeptCCCdList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_deptcccdlist_deptcccdinfo=deptcccdinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00306";
- tranf_submit(oParam);
- }
- function cf_TRMRT00306(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TRMRT00308() {
- var oParam = {};
- oParam.id = "TRMRT00308";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqGetHistTerm";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cccdhist_list=list ds_main_cccdhist_app=app";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00308";
- tranf_submit(oParam);
- }
- function cf_TRMRT00308(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TRMRT00304() {
- var oParam = {};
- oParam.id = "TRMRT00304";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqGetNewCcCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_seqcd_seq=seq";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00304";
- tranf_submit(oParam);
- }
- function cf_TRMRT00304(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TXMRT00301() {
- var oParam = {};
- oParam.id = "TXMRT00301";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqExeRTerm";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_cccdinfo_cccd=cccd";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00301";
- tranf_submit(oParam);
- }
- function cf_TXMRT00301(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 탭버튼 클릭시 이벤트
- ****************************************************************************************/
- function fn_tabbtn_onclick() {
- if(switch2.tabindex == 0) {
- fSelCc();
- } else if(switch2.tabindex == 1) {
- fSelDeptDiag();
- }
- }
- function fn_chk_appinst() {
- ds_main_peprterminfo_info.setColumn(0,"appinstcd",String(switch2.case5.chk_appinst.getData()).replace(",","▦"));
- }
-
- ////////////////////////////////////////////////SMMRT00300.xjs////////////////////////////////////////////////
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 화면을 초기화 한다
- ****************************************************************************************/
- function fInitalize(){
- var currentTime = utlf_getCurrentTime();
- var instcd = sysf_getUserInfo("dutplceinstcd");
- ds_init.setColumn( 0, "today", utlf_getCurrentDate());
- ds_init.setColumn( 0, "curruntTime", currentTime.substr(0,4));
- ds_hidden_condition.setColumn( 0, "selctedmode", "C");
- ds_init_userinfo.setColumn( 0, "userid", sysf_getUserId());
- ds_init_userinfo.setColumn( 0, "usernm", sysf_getUserName());
- ds_init_userinfo.setColumn( 0, "instcd", instcd);
- var arrParam = [{dsNm: "ds_init_M0534", cdGrpId: "M0534"}
- ];
- appf_getCodeList(arrParam);
-
- ds_init_M0534selcmb.copyData(ds_init_M0534);
- ds_init_M0534allcmb.copyData(ds_init_M0534);
- dsf_addDsItem(ds_init_M0534selcmb, "cdid", "cdnm", "전체", "001", "above");
- dsf_addDsItem(ds_init_M0534selcmb, "cdid", "cdnm", "전체", "-", "above");
- ds_hidden_condition.setColumn( 0, "maininstyn", "N");
- ds_hidden_condition.setColumn( 0, "selInstcd", instcd);
- ds_send.clearData();
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
-
- switch2.case5.grd_cchist.setFormatColProperty(1, "size", 0);
- fn_TRMRT00301();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 버튼 Enable / Disable
- ****************************************************************************************/
- function fDisabled(flag) {
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(flag == "N" || flag == "M") {
- switch2.case5.ipt_icd10cd.enable = true;
- switch2.case5.btn_icd10cd.enable = true;
- switch2.case5.ipt_hngnm.enable = true;
- switch2.case5.ipt_engnm.enable = true;
- switch2.case5.ipt_termfromdd.enable = true;
- switch2.case5.ipt_ccattrcd.enable = false;
- switch2.case5.ipt_termcd.enable = false;
-
- if(maininstyn == "Y"){
- switch2.case5.rdo_essntermflag.enable = true;
- }
-
- if(flag == "M"){
- switch2.case5.ipt_snmdcnptid.enable = false;
- switch2.case5.btn_snmdcnptid.enable = false;
- switch2.case5.btn_snmddescid.enable = false;
- switch2.case5.ipt_termtodd.enable = false;
- if(maininstyn == "Y"){
- switch2.case5.rdo_essntermflag.enable = true;
- }
- } else {
- switch2.case5.ipt_snmdcnptid.enable = true;
- switch2.case5.btn_snmdcnptid.enable = true;
- switch2.case5.btn_snmddescid.enable = true;
- switch2.case5.ipt_termtodd.enable = true;
- if(maininstyn == "Y"){
- switch2.case5.cap_appinst.enable = true;
- switch2.case5.chk_appinst.enable = true;
- switch2.case5.rdo_essntermflag.enable = true;
- }
- }
- } else if(flag == "AS") {
- switch2.case5.ipt_snmdcnptid.enable = false;
- switch2.case5.btn_snmdcnptid.enable = false;
- switch2.case5.btn_snmddescid.enable = false;
- switch2.case5.ipt_icd10cd.enable = false;
- switch2.case5.btn_icd10cd.enable = false;
- switch2.case5.ipt_hngnm.enable = false;
- switch2.case5.ipt_engnm.enable = false;;
- switch2.case5.ipt_termfromdd.enable = false;
- switch2.case5.ipt_termtodd.enable = false;
- switch2.case5.ipt_ccattrcd.enable = false;
- switch2.case5.ipt_termcd.enable = false;
- switch2.case5.chk_appinst.enable = false;
- switch2.case5.rdo_essntermflag.enable = false;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 부서 선택 팝업 호출
- ****************************************************************************************/
- function fCallDeptInfo(){
- var xCondPath = "ds_hidden_condition";
- ds_main_indxlist_item.clearData();
- ds_main_deptcccdlist_deptcccdinfo.clearData();
- // zbcfOpenInstDeptCodeList("deptnm", model.getValue(xCondPath+"_deptset_selecteddeptnm"), xCondPath+"_deptset_selecteddeptcd", xCondPath+"_deptset_selecteddeptnm", "ordduseryn", "");
- var rtnObj = appf_openInstDeptCodeList("deptnm", "", "ordduseryn", "", "deptcd deptnm");
- dsf_makeValue(this.objects[xCondPath+"_deptset"],"selecteddeptcd","string",rtnObj.deptcd);
- dsf_makeValue(this.objects[xCondPath+"_deptset"],"selecteddeptnm","string",rtnObj.depthngnm);
-
- if(!utlf_isNull(this.objects[xCondPath+"_deptset"].getColumn(0, "selecteddeptcd"))) {
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"));
-
- var oParam = {};
- oParam.id = "TRMRT00305";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetDeptIndxList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_indxlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00305";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMRT00305") > -1) {
- ds_main_deptcccdlist_deptcccdinfo.clearData();
- this.objects[xCondPath].setColumn( 0, "selectedIndx", "");
- }
- }
- }
- function cf_TRMRT00305(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- ds_main_indxlist_item.updateColID("deptindxcd", "indxcd");
- ds_main_indxlist_item.updateColID("deptupindxcd", "upindxcd");
- ds_main_indxlist_item.updateColID("deptindxnm", "indxhngnm");
- grdf_expandDepth(trv_ccindx, 1, "indxhngnm");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과주호소 추가시 주호소 조회
- ****************************************************************************************/
- function fSrchCCInfo(){
- var sCondPath = "ds_hidden_condition_deptset";
- var sSrchedCCCdInfoPath = "ds_main_srchedcccdlist_srchedcccdinfo";
- var srchnm = this.objects[sCondPath].getColumn(0, "srchnm");
- srchnm = srchnm.replace(/^\s*|\s*$/g, '');
- ds_send.clearData();
- if(utlf_isNull(this.objects[sCondPath].getColumn(0, "srchnm"))){
- sysf_messageBox("조회할 내용을","C001");
- return;
- }
- this.objects[sSrchedCCCdInfoPath].clearData();
- dsf_makeValue( ds_send, "srchflag", "string", this.objects[sCondPath].getColumn(0, "srchflag"));
- dsf_makeValue( ds_send, "srchnm", "string", srchnm);
- dsf_makeValue( ds_send, "termflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- var oParam = {};
- oParam.id = "TRMRT00307";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetSrchedCCCdList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_srchedcccdlist_srchedcccdinfo=srchedcccdinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00307";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과주호소에 주호소 추가
- ****************************************************************************************/
- function fSendDeptCC(){
- var sCondPath = "ds_hidden_condition_deptset";
- var sIndxListPath = "ds_main_indxlist_item";
- var sSrchedCCCdListPath = "ds_main_srchedcccdlist_srchedcccdinfo";
- var sDeptCCCdListPath = "ds_main_deptcccdlist_deptcccdinfo";
- var sDeptCd = this.objects[sCondPath].getColumn(0, "selecteddeptcd");
- var sIndxCd = ds_hidden_condition.getColumn(0, "selectedIndx");
- var sSrchedCCRowCnt = ds_main_srchedcccdlist_srchedcccdinfo.rowcount;
- var iDeptCCRow = 0;
- var sTermcd = "";
- if(utlf_isNull(sDeptCd)){
- sysf_messageBox("부서코드를 먼저", "C002");
- return;
- }
- if(utlf_isNull(sIndxCd)){
- sysf_messageBox("색인코드를 먼저", "C002");
- return;
- }
-
- for(var iSrchedCCRow = 0; iSrchedCCRow < sSrchedCCRowCnt; iSrchedCCRow++) {
- if(this.objects[sSrchedCCCdListPath].getColumn(iSrchedCCRow, "check") == "Y"){
- sTermcd = this.objects[sSrchedCCCdListPath].getColumn(iSrchedCCRow, "termcd");
-
- if(!utlf_isNull(this.objects[sDeptCCCdListPath].lookupExpr("termcd == '"+sTermcd+"' && deptindxcd = '"+sIndxCd+"'", "termcd"))) continue;
-
- var iDeptCCRow = switch2.case_deptccinfo.grd_deptcc.addRow();
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "status", "I");
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "deptcd", sDeptCd);
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "deptnm", this.objects[sCondPath].getColumn(0, "selecteddeptnm"));
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "termcd", sTermcd);
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "deptindxcd", sIndxCd);
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "termengnm", this.objects[sSrchedCCCdListPath].getColumn(iSrchedCCRow, "termengnm"));
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "termhngnm", this.objects[sSrchedCCCdListPath].getColumn(iSrchedCCRow, "termhngnm"));
- this.objects[sDeptCCCdListPath].setColumn( iDeptCCRow, "deptindxflag", ds_hidden_condition.getColumn(0, "indxflag"));
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과주호소 저장
- ****************************************************************************************/
- function fSaveDeptCCInfo(){
- var xCondPath = "ds_hidden_condition";
- var sSelIndxCd = this.objects[xCondPath].getColumn(0, "selectedIndx");
-
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxcd", "string", sSelIndxCd);
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", model.getValue(xCondPath+"_deptset_selecteddeptcd"));
-
- dsf_createDs("ds_send_deptcccdlist");
- ds_send_deptcccdlist.copyData(grdf_getGridUpdateData(switch2.case_deptccinfo.grd_deptcc, "all"), true);
- var oParam = {};
- oParam.id = "TXMRT00302";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqExeDeptCCCdList";
- oParam.inds = "reqCond=ds_send deptcccdlist=ds_send_deptcccdlist";
- oParam.outds = "ds_main_deptcccdlist_deptcccdinfo=deptcccdinfo";
- oParam.async = false;
- //oParam.callback = "cf_TXMRT00302";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 전체주호소 팝업 호출
- ****************************************************************************************/
- function fCallExtnCCInfo(){
- frmf_setParameter("indxflag", ds_hidden_condition.getColumn(0, "indxflag"));
- frmf_modal("SPMRT01000", "SPMRT01000", "", "", 1, 10, 10, "", "", "", "", "", "M");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 선택
- ****************************************************************************************/
- function fSelCc(){
- ds_hidden_condition.setColumn( 0, "selctedmode", "C");
- ds_send.clearData();
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
-
- fn_TRMRT00301();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 신규
- ****************************************************************************************/
- function fSetNewCc(){
- var iRow = switch2.case5.grd_cccd.currentrow;
- var sIndx = ds_hidden_condition.getColumn(0, "selectedIndx"); //선택한 색인(무조건 선택되어야 함)
- var sGrd = ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd"); //그리드 중 주호소코드 하나를 선택했다면 sccccd가 존재함
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- if(utlf_isNull(sIndx)){
- var rtn = sysf_messageBox("색인을 ", "C002");
- return;
- }
- ds_main_cccdhist_list.clearData(); // 신규버튼 클릭시 이력조회 그리드 초기화
-
- fDisabled("N");
-
- switch2.case5.btn_delete1.enable = false;
- ds_send.clearData();
- ds_main_seqcd_seq.clearData();
- if(!utlf_isNull(sGrd)) {
- sIndx = ds_main_cccdinfo_cccd.getColumn(iRow, "ccindxcd");
- }
- dsf_makeValue( ds_send, "indxcd", "string", sIndx);
- dsf_makeValue( ds_send, "attrcd", "string", ds_main_peprterminfo_info.getColumn(0, "ccattrcd"));
-
- fn_TRMRT00304();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- ds_main_peprterminfo_info.setColumn( 0, "ccindxcd", ds_main_seqcd_seq.getColumn(0, "indxcd"));
- ds_main_peprterminfo_info.setColumn( 0, "ccattrcd", ds_main_peprterminfo_info.getColumn(0, "snmdcnptid"));
- ds_main_peprterminfo_info.setColumn( 0, "termcd", ds_main_seqcd_seq.getColumn(0, "termcd"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_init_userinfo.getColumn(0, "userid"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrnm", ds_init_userinfo.getColumn(0, "usernm"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdate", ds_init.getColumn(0, "today"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgsttime", ds_init.getColumn(0, "curruntTime"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdt", ds_main_peprterminfo_info.getColumn(0, "fstrgstdate")+ds_main_peprterminfo_info.getColumn(0, "fstrgsttime")+"00");
- ds_main_peprterminfo_info.setColumn( 0, "termfromdd", fromdd.getDateFormat());
- ds_main_peprterminfo_info.setColumn( 0, "termtodd", "99991231");
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_peprterminfo_info.getColumn(0, "termtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "essntermflag", "N");
- ds_hidden_condition.setColumn( 0, "status", "N"); //new insert mode
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 수정
- ****************************************************************************************/
- function fSetCcUpdt(){
- var selTermcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var selCcattrcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd");
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- fDisabled("M");
-
- switch2.case5.btn_delete1.enable = false;
- if(utlf_isNull(selTermcd) || utlf_isNull(selCcattrcd)){
- var rtn = sysf_messageBox("수정할 주호소를 ", "C002");
- return;
- }
- if(ds_main_peprterminfo_info.getColumn(0, "termfromdd") == ds_init.getColumn(0, "today")) {
- var rtn = sysf_messageBox("당일 등록한 용어는 수정 ", "E001");
- return;
- }
-
- ds_hidden_condition.setColumn( 0, "status", "M");
- dsf_makeValue( ds_main_peprterminfo_info, "oldtermfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- dsf_makeValue( ds_main_peprterminfo_info, "oldattrfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "attrfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "termfromdd", fromdd.getDateFormat());
- ds_main_peprterminfo_info.setColumn( 0, "termtodd", "99991231");
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_peprterminfo_info.getColumn(0, "termtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdate", utlf_getCurrentDate());
- ds_main_peprterminfo_info.setColumn( 0, "fstrgsttime", utlf_getCurrentTime());
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrnm", sysf_getUserName());
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_init_userinfo.getColumn(0, "userid"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 저장
- ****************************************************************************************/
- function fSaveCcTerm(){
- var insCcindxcd = ds_main_peprterminfo_info.getColumn(0, "ccindxcd");
- var insCcattrcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd");
- var snmdcnptid = ds_main_peprterminfo_info.getColumn(0, "snmdcnptid");
- var insTermcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd") + "." + ds_main_peprterminfo_info.getColumn(0, "termcd");
- var rowCnt = ds_main_cccdinfo_cccd.rowposition;
- if(utlf_isNull(insTermcd)) {
- sysf_messageBox("용어코드는", "I003");
- return;
- } else if(utlf_isNull(snmdcnptid)) {
- sysf_messageBox("SNMD-conceptID는", "I003");
- return;
- }
- ds_send.clearData();
- dsf_createDs("ds_send_reqdata");
- ds_send_reqdata.copyData(ds_main_peprterminfo_info);
- ds_send_reqdata.setColumn( 0, "ccindxcd", insCcindxcd);
- ds_send_reqdata.setColumn( 0, "ccattrcd", insCcattrcd);
- ds_send_reqdata.setColumn( 0, "termcd", insTermcd);
- ds_send_reqdata.setColumn( 0, "termfromdd", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- ds_send_reqdata.setColumn( 0, "termtodd", ds_main_peprterminfo_info.getColumn(0, "termtodd"));
- ds_send_reqdata.setColumn( 0, "termflag", "2"); //defalut :주호소(2)
- ds_send_reqdata.setColumn( 0, "reprflag", "R");
- dsf_makeValue( ds_send_reqdata, "status", "string", ds_hidden_condition.getColumn(0, "status")); //N:등록, M:수정
- dsf_makeValue( ds_send_reqdata, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- dsf_makeValue( ds_send_reqdata, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- dsf_makeValue( ds_send_reqdata, "fstrgstdt", "string", ds_main_peprterminfo_info.getColumn(0, "fstrgstdate") + ds_main_peprterminfo_info.getColumn(0, "fstrgsttime")+"00");
- if(ds_hidden_condition.getColumn(0, "status") == "N") {
- //동일한 코드가 있는지 조회한 후 , 있으면 에러메세지
- fn_TXMRT00301();
-
- if(arErrorCode.pop("TXMRT00301") > -1) {
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- fDisabled("AS");
- }
- } else if(ds_hidden_condition.getColumn(0, "status") == "M" || insTermcd == ds_main_cccdinfo_cccd.getColumn(rowCnt, "termcd")) {
- if(ds_main_cccdinfo_cccd.getColumn(rowCnt, "termengnm") != ds_main_peprterminfo_info.getColumn(0, "termengnm") ||
- ds_main_cccdinfo_cccd.getColumn(rowCnt, "termhngnm") != ds_main_peprterminfo_info.getColumn(0, "termhngnm")) {
- if(ds_main_cccdinfo_cccd.getColumn(rowCnt, "icd10cd") != ds_main_peprterminfo_info.getColumn(0, "icd10cd"))
- {
- ds_send_reqdata.setColumn( 0, "status", "ATM");
- } else {
- ds_send_reqdata.setColumn( 0, "status", "TM");
- }
-
- fn_TXMRT00301();
-
- if(arErrorCode.pop("TXMRT00301") > -1) {
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- fDisabled("AS");
- }
- ds_hidden_condition.setColumn( 0, "status", "");
- } else if(ds_main_cccdinfo_cccd.getColumn(rowCnt, "icd10cd") != ds_main_peprterminfo_info.getColumn(0, "icd10cd") ||
- ds_main_cccdinfo_cccd.getColumn(rowCnt, "snmdcnptid") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptid") ||
- ds_main_cccdinfo_cccd.getColumn(rowCnt, "snmdcnptnm") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptnm")) {
- ds_send_reqdata.setColumn( 0, "status", "AM");
-
- fn_TXMRT00301();
-
- if(arErrorCode.pop("TXMRT00301") > -1) {
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- fDisabled("AS");
- ds_hidden_condition.setColumn( 0, "status", "");
- }
- } else {
- var rtn = sysf_messageBox("변경된 내용이 없으므로 저장 ", "E001");
- return;
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 사용종료
- ****************************************************************************************/
- function fEndCcTerm(){
- var iRow = switch2.case5.grd_cccd.currentrow;
- var ccattr = ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd");
- var term = ds_main_cccdinfo_cccd.getColumn(iRow, "termcd");
- var insccindxcd = ds_main_peprterminfo_info.getColumn(0, "ccindxcd");
- var insccattrcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd");
- var insTermcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd")+"."+ ds_main_peprterminfo_info.getColumn(0, "termcd");
- if(utlf_isNull(insTermcd) || utlf_isNull(insccattrcd)) {
- var rtn = sysf_messageBox("삭제할 주호소용어를 ", "C002");
- return;
- }
- if(insccattrcd == ccattr && insTermcd == term) {
- ds_hidden_condition.setColumn( 0, "status", "ATD");
- ds_send.clearData();
- dsf_makeValue( ds_send_reqdata, "indxcd", "string", insccindxcd);
- dsf_makeValue( ds_send_reqdata, "ccattrcd", "string", insccattrcd);
- dsf_makeValue( ds_send_reqdata, "termcd", "string", insTermcd);
- dsf_makeValue( ds_send_reqdata, "status", "string", ds_hidden_condition.getColumn(0, "status")); //N:등록, M:수정, D:삭제
- dsf_makeValue( ds_send_reqdata, "termflag", "string", "2"); //용어구분
- dsf_makeValue( ds_send_reqdata, "oldtermfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- dsf_makeValue( ds_send_reqdata, "termfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- dsf_makeValue( ds_send_reqdata, "oldattrfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "attrfromdd"));
- dsf_makeValue( ds_send_reqdata, "attrfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "attrfromdd"));
- fn_TXMRT00301();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- ds_hidden_condition.setColumn( 0, "status", "");
- } else {
- var rtn = sysf_messageBox("내용이 수정되었습니다. 수정 내용을 저장하시려면 저장 버튼을 ", "C002");
- return;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 선택
- ****************************************************************************************/
- function fSelCcTerm(){
- fDisabled("AS");
-
- var sametermmode = ds_hidden_condition.getColumn(0, "sametermmode");
- if(sametermmode != "H"){
- switch2.case5.btn_delete1.enable = true;
- }
- var iRow = switch2.case5.grd_cccd.currentrow;
- var ccindx = ds_main_cccdinfo_cccd.getColumn(iRow, "ccindxcd");
- var ccattr = ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd");
- var term = ds_main_cccdinfo_cccd.getColumn(iRow, "termcd");
- ds_hidden_condition.setColumn( 0, "selectedtermcd", term);
- ds_main_peprterminfo_info.setColumn( 0, "ccindxcd", ccindx); // 색인코드
- ds_main_peprterminfo_info.setColumn( 0, "ccattrcd", ccattr); // 속성코드
- ds_main_peprterminfo_info.setColumn( 0, "termcd", term.substr(term.lastIndexOf(".") + 1, term.length - (term.lastIndexOf(".") + 1))); // 대표 주호소 코드
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptid", ds_main_cccdinfo_cccd.getColumn(iRow, "snmdcnptid")); // 스노메드-cncpt
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptnm", ds_main_cccdinfo_cccd.getColumn(iRow, "snmdcnptnm")); // 스노메드-cncpt명
- ds_main_peprterminfo_info.setColumn( 0, "snmddescid", ds_main_cccdinfo_cccd.getColumn(iRow, "snmddescid")); // 스노메드-dscrpt
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", ds_main_cccdinfo_cccd.getColumn(iRow, "icd10cd")); // ICD10CD
- ds_main_peprterminfo_info.setColumn( 0, "umlscd", ds_main_cccdinfo_cccd.getColumn(iRow, "umlscd")); // ICD10CD
- ds_main_peprterminfo_info.setColumn( 0, "termengnm", ds_main_cccdinfo_cccd.getColumn(iRow, "termengnm")); // 영문
- ds_main_peprterminfo_info.setColumn( 0, "termhngnm", ds_main_cccdinfo_cccd.getColumn(iRow, "termhngnm")); // 한글
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", ds_main_cccdinfo_cccd.getColumn(iRow, "reprflag")); // 대표어구분
- ds_main_peprterminfo_info.setColumn( 0, "termflag", ds_main_cccdinfo_cccd.getColumn(iRow, "termflag")); // 용어구분
- //ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_main_cccdinfo_cccd.getColumn(iRow, "fstrgstrid")); // 등록자
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_main_cccdinfo_cccd.getColumn(iRow, "lastupdtrid")); //
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrnm", ds_main_cccdinfo_cccd.getColumn(iRow, "lastupdtrnm"));
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_cccdinfo_cccd.getColumn(iRow, "attrfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_cccdinfo_cccd.getColumn(iRow, "attrtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "essntermflag", ds_main_cccdinfo_cccd.getColumn(iRow, "essntermflag"));
- var fstrgstdt = ds_main_cccdinfo_cccd.getColumn(iRow, "fstrgstdt");
- var termfromdd = ds_main_cccdinfo_cccd.getColumn(iRow, "termfromdd");
- var termtodd = ds_main_cccdinfo_cccd.getColumn(iRow, "termtodd");
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdt", fstrgstdt); // 등록일
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdate", fstrgstdt.substr(0,8));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgsttime", fstrgstdt.substr(8,4));
- ds_main_peprterminfo_info.setColumn( 0, "termfromdd", termfromdd); // 시작일
- ds_main_peprterminfo_info.setColumn( 0, "termtodd", termtodd); // 종료일
- ds_send.clearData();
- dsf_makeValue( ds_send, "ccattrcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd"));
- dsf_makeValue( ds_send, "termcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "termcd"));
- dsf_makeValue( ds_send, "termflag", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "termflag"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- dsf_makeValue( ds_send, "allinsthist", "string", ds_hidden_condition.getColumn(0, "allinsthist"));
-
- fn_TRMRT00308();
- ds_main_peprterminfo_info.setColumn( 0, "appinstcd", ds_main_cccdhist_appinstcd.getColumn(0, "appinstcd"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 선택
- ****************************************************************************************/
- function fGetSNMDCT(){
- var iRow = switch2.case5.grd_cccd.currentrow;
- var sIndx = ds_hidden_condition.getColumn(0, "selectedIndx");
- var sGrd = ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd"); //그리드 중 주호소코드 하나를 선택했다면 sccccd가 존재함
- ds_main_peprterminfo_info.setColumn( 0, "ccattrcd", ds_main_peprterminfo_info.getColumn(0, "snmdcnptid"));
- if(!utlf_isNull(sGrd)) {
- sIndx = ds_main_cccdinfo_cccd.getColumn(iRow, "ccindxcd");
- }
- dsf_makeValue( ds_send, "indxcd", "string", sIndx);
- dsf_makeValue( ds_send, "attrcd", "string", ds_main_peprterminfo_info.getColumn(0, "ccattrcd"));
- //선택한 색인에 해당하는 시퀀셜한 주호소코드를 가지고 온다
- fn_TRMRT00304();
- ds_main_peprterminfo_info.setColumn( 0, "termcd", ds_main_seqcd_seq.getColumn(0, "termcd"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : ICD10 팝업 호출
- ****************************************************************************************/
- function fGetICD10(){
- frmf_setParameter("SPMMO3200_param_nodepath", "ds_temp_diaginfo_selectdiaglist");
- frmf_modal("SPMMO03200", "SPMMO03200", "", "", 1, 0, 0, "", "", "", "", "", "M");
- if(ds_temp_diaginfo_selectdiaglist.rowcount > 1){
- sysf_messageBox("진단코드는 하나만", "C002");
- ds_temp_diaginfo_selectdiaglist.clearData(); ds_temp_diaginfo_selectdiaglist.addRow();
- return;
- }
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", ds_temp_diaginfo_selectdiaglist.getColumn(0, "diagcd"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 이력 선택
- ****************************************************************************************/
- function fSelCcTermHist(){
- var iRow = switch2.case5.grd_cchist.currentrow;
- var indx = ds_hidden_condition.getColumn(0, "selectedIndx");
- var path = ds_hidden_condition.getColumn(0, "selectedIndxPath");
- var term = ds_main_cccdhist_list.getColumn(iRow, "termcd");
- ds_hidden_condition.setColumn( 0, "selectedtermcd", term);
- if( !utlf_isNull(iRow) ){
- ds_hidden_condition.setColumn( 0, "status", "STM");
- ds_main_peprterminfo_info.setColumn( 0, "ccindxcd", indx); //icd9
- ds_main_peprterminfo_info.setColumn( 0, "ccattrcd", ds_main_cccdhist_list.getColumn(0, "attrcd")); // 확장코드
- ds_main_peprterminfo_info.setColumn( 0, "termcd", term.substr(term.lastIndexOf(".") + 1, term.length - (term.lastIndexOf(".") + 1))); // 대표어(동의어)코드
- ds_main_peprterminfo_info.setColumn( 0, "snmddescid", ds_main_cccdhist_list.getColumn(0, "snmddescid")); // 스노메드-dscrpt
- ds_main_peprterminfo_info.setColumn( 0, "termengnm", ds_main_cccdhist_list.getColumn(iRow, "termengnm")); // 영문
- ds_main_peprterminfo_info.setColumn( 0, "termhngnm", ds_main_cccdhist_list.getColumn(iRow, "termhngnm")); // 한글
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", ds_main_cccdhist_list.getColumn(iRow, "reprflag")); // 대표어구분
- ds_main_peprterminfo_info.setColumn( 0, "termflag", ds_main_cccdhist_list.getColumn(iRow, "termflag")); // 용어구분
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_main_cccdhist_list.getColumn(iRow, "lastupdtrid"));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrnm", ds_main_cccdhist_list.getColumn(iRow, "lastupdtrnm"));
- //저장시 필요한 키값
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_cccdhist_list.getColumn(iRow, "attrfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_cccdhist_list.getColumn(iRow, "attrtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptid", ds_main_cccdhist_list.getColumn(iRow, "snmdcnptid")); // snmdconceptid
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptnm", ds_main_cccdhist_list.getColumn(iRow, "snmdcnptnm"));
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", ds_main_cccdhist_list.getColumn(iRow, "icd10cd")); //icd10cd
- ds_main_peprterminfo_info.setColumn( 0, "umlscd", ds_main_cccdhist_list.getColumn(iRow, "umlscd")); //icd10cd
- var fstrgstdt = ds_main_cccdhist_list.getColumn(iRow, "lastupdtdt");
- var termfromdd = ds_main_cccdhist_list.getColumn(iRow, "termfromdd");
- var termtodd = ds_main_cccdhist_list.getColumn(iRow, "termtodd");
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdt", fstrgstdt); // 등록일
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstdate", fstrgstdt.substr(0,8));
- ds_main_peprterminfo_info.setColumn( 0, "fstrgsttime", fstrgstdt.substr(8,4));
- ds_main_peprterminfo_info.setColumn( 0, "termfromdd", termfromdd); // 시작일
- ds_main_peprterminfo_info.setColumn( 0, "termtodd", termtodd); // 종료일
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 선택부서 과주호소 조회
- ****************************************************************************************/
- function fSrchDeptCcInfo(){
- ds_send.clearData();
- var selIndxCd = ds_hidden_condition.getColumn(0, "selectedIndx");
- var sDeptCd = ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd");
- if(utlf_isNull(sDeptCd)) {
- sysf_messageBox("부서코드를 먼저", "C002");
- return;
- }
- if(utlf_isNull(selIndxCd)) {
- sysf_messageBox("색인코드를 먼저", "C002");
- return;
- }
-
- dsf_makeValue( ds_send, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", sDeptCd);
-
- fn_TRMRT00306();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 선택부서 과주호소 삭제
- ****************************************************************************************/
- function fDelDeptCcTerm(){
- var iRow = switch2.case_deptccinfo.grd_deptcc.currentrow;
- if(iRow < 0){
- return;
- }
- if(ds_main_deptcccdlist_deptcccdinfo.getColumn(iRow, "status") == "I"){
- ds_main_deptcccdlist_deptcccdinfo.deleteRow(iRow);
- }else{
- ds_main_deptcccdlist_deptcccdinfo.setColumn(iRow , "status", "D");
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과주호소추가 리스트 선택
- ****************************************************************************************/
- function fSelAddCcList(){
- // if(switch2.case_deptccinfo.grd_srchedccinfo.currentrow == 0){
- // var sCheck = ds_main_srchedcccdlist_srchedcccdinfo.getColumn(0, "check");
- // if(sCheck == "true"){
- // var sRowCnt = switch2.case_deptccinfo.grd_srchedccinfo.rows- switch2.case_deptccinfo.grd_srchedccinfo.fixedRows;
- // for(var iRow=1; iRow <= sRowCnt; iRow++){
- // ds_main_srchedcccdlist.setColumn( iRow , "check","false");
- // }
- // }else{
- // var sRowCnt = switch2.case_deptccinfo.grd_srchedccinfo.rows- switch2.case_deptccinfo.grd_srchedccinfo.fixedRows;
- // for(var iRow=1; iRow <= sRowCnt; iRow++){
- // ds_main_srchedcccdlist.setColumn( iRow , "check","true");
- // }
- // }
- // switch2.case_deptccinfo.grd_srchedccinfo.rebuild();
- // }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인추가
- ****************************************************************************************/
- function fAddIndx(){
- ds_send.clearData();
- dsf_makeValue( ds_send, "paramindx", "string", "2");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_condition_getdata = ds_send;
- frmf_modal("SMMRT00100", "SMMRT00100", objArg, "", 1, 10, 10, "", "", "", "", "", "M");
- var child = "SMMRT00100";
- if(!utlf_isNull(child)){
- ds_send.clearData();
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- fn_TRMRT00301();
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 언어 변경
- ****************************************************************************************/
- function fChngLangIndx(){
- ds_send.clearData();
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- fn_TRMRT00301();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : Tree 선택
- ****************************************************************************************/
- function fSelTreeIndx(){
- ds_send.clearData();
- var iIndx = trv_ccindx.currentrow;
- var selIndxCd = ds_main_indxlist_item.getColumn(iIndx, "indxcd");
- dsf_makeValue( ds_send, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- if( ds_hidden_condition.getColumn( 0, "selctedmode") == "C" ) { //주호소 코드를 선택했을때
- ds_hidden_condition.setColumn( 0, "selectedIndx", ds_main_indxlist_item.getColumn(iIndx, "indxcd"));
- ds_hidden_condition.setColumn( 0, "selectedIndxDepth", ds_main_indxlist_item.getColumn(iIndx, "depth"));
- ds_hidden_condition.setColumn( 0, "selectedIndxPath", ds_main_indxlist_item.getColumn(iIndx, "pathcd"));
- //인덱스 트리를 가지고 온다
- var oParam = {};
- oParam.id = "TRMRT00302";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqGetCcCdInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cccdinfo_cccd=cccd";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00302";
- tranf_submit(oParam);
- }else{ // 과주호소코드를 선택했을때
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"));
-
- fn_TRMRT00306();
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과주호소 선택
- ****************************************************************************************/
- function fSelDeptDiag(){
- ds_hidden_condition_deptset.setColumn( 0, "srchflag","H");
- ds_hidden_condition_deptset.setColumn( 0, "srchnm","");
- ds_hidden_condition_deptset.setColumn( 0, "selecteddeptcd","");
- ds_hidden_condition_deptset.setColumn( 0, "selecteddeptnm","");
- ds_hidden_condition.setColumn( 0, "selctedmode", "P");
- ds_main_indxlist_item.clearData();
- ds_main_srchedcccdlist_srchedcccdinfo.clearData();
- ds_main_deptcccdlist_deptcccdinfo.clearData();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 코드 조회
- ****************************************************************************************/
- function fSrchIndxCd(){
- if(utlf_isNull(ds_hidden_condition.getColumn(0, "srchindxcd"))) {
- var rtn = sysf_messageBox("검색할 색인코드를 ", "C001");
- return;
- } else {
- ds_hidden_condition.setColumn( 0, "selectedIndx", ds_hidden_condition.getColumn(0, "srchindxcd"));
- grdf_expandDepth(trv_ccindx, 1, "indxhngnm");
- trv_ccindx.vscrollbar.pos = ds_main_indxlist_item.findRow("indxcd", ds_hidden_condition.getColumn(0, "srchindxcd"));
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 주호소 용어 조회
- ****************************************************************************************/
- function fSrchCcTerm(){
- if(utlf_isNull(ds_hidden_condition.getColumn(0, "srchnm"))) {
- var rtn = sysf_messageBox("검색어를 ", "C001");
- return;
- } else {
- ds_send.clearData();
- dsf_makeValue( ds_send, "srchflag", "string", ds_hidden_condition.getColumn(0, "srchflag"));
- dsf_makeValue( ds_send, "srchnm", "string", ds_hidden_condition.getColumn(0, "srchnm"));
- dsf_makeValue( ds_send, "srchfromdd", "string", ds_hidden_condition.getColumn(0, "srchfromdd"));
- dsf_makeValue( ds_send, "srchtodd", "string", ds_hidden_condition.getColumn(0, "srchtodd"));
- dsf_makeValue( ds_send, "endflag", "string", ds_hidden_condition.getColumn(0, "endflag"));
- dsf_makeValue( ds_send, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
-
- var srchnm = ds_hidden_condition.getColumn(0, "srchnm");
- srchnm = srchnm.replace(/^\s*|\s*$/g, '');
-
- if(ds_send.getColumn(0, "srchflag") == "C" || ds_send.getColumn(0, "srchflag") == "E") {
- srchnm = srchnm.toUpperCase();
- ds_send.setColumn( 0, "srchnm", srchnm);
- }
- if (ds_hidden_condition.getColumn(0, "selctedmode") == "C" ) { // 주호소코드 선택했을때
- ds_main_cccdinfo_cccd.clearData();
- var oParam = {};
- oParam.id = "TRMRT00303";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqGetSrchCcCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_cccdinfo_cccd=cccd";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00303";
- tranf_submit(oParam);
- } else if(ds_hidden_condition.getColumn(0, "selctedmode") == "P" ) { //과 주호소코드 선택했을경우
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "indxcd", "string", "null");
- dsf_makeValue( ds_send, "deptcd", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"));
- dsf_makeValue( ds_send, "srchflag", "string", ds_hidden_condition.getColumn(0, "srchflag"));
- dsf_makeValue( ds_send, "srchnm", "string", ds_hidden_condition.getColumn(0, "srchnm"));
-
- fn_TRMRT00306();
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fRollbackTerm(){
- var icd10cd = ds_main_peprterminfo_info.getColumn(0, "ccindxcd");
- var attrcd = ds_main_peprterminfo_info.getColumn(0, "ccattrcd");
- var termcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var fullTermcd = attrcd + "." + termcd;
- ds_send.clearData();
- dsf_makeValue( ds_send, "reqdata", "string", "" );
- ds_send_reqdata.copyData(ds_main_peprterminfo_info);
- ds_send_reqdata.setColumn( 0, "ccindxcd", icd10cd);
- ds_send_reqdata.setColumn( 0, "ccattrcd", attrcd);
- ds_send_reqdata.setColumn( 0, "termcd", fullTermcd);
- ds_send_reqdata.setColumn( 0, "termflag", "2");
- ds_send_reqdata.setColumn( 0, "reprflag", "R");
- ds_send_reqdata.setColumn( 0, "termfromdd", ds_init.getColumn(0, "today"));
- ds_send_reqdata.setColumn( 0, "termtodd", "99991231");
- dsf_makeValue( ds_send_reqdata, "indxcd", "string", ds_hidden_condition.getColumn(0, "selectedIndx"));
- dsf_makeValue( ds_send_reqdata, "status", "string", "N");
-
- fn_TXMRT00301();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 오른쪽 마우스 팝업 호출
- ****************************************************************************************/
- function fCallPopup(flag){
- if(flag == "switch2.case5.grd_cccd"){
- return "pmn_menu1";
- } else if(flag == "trv_ccindx"){
- if(utlf_isNull(ds_main_indxlist_item.getColumn(ds_main_indxlist_item.rowposition, "indxcd"))) {
- return null;
- }
- return "pmn_menu2";
- } else {
- return null;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 변경 처리
- ****************************************************************************************/
- function fModifyIndx(){
- var selTab = ds_hidden_condition.getColumn(0, "selctedmode");
- dsf_createDs("ds_hidden_reqdata_ccindxlist");
- if(selTab == "C"){
- var selectedRows = grdf_getSelectedRows(switch2.case5.grd_cccd);
- dsf_copyColInfo(ds_hidden_reqdata_ccindxlist, ds_main_cccdinfo_cccd);
- for (var i = 0; i < selectedRows.length; i++){
- ds_hidden_reqdata_ccindxlist.copyRow(ds_hidden_reqdata_ccindxlist.addRow(), ds_main_cccdinfo_cccd, selectedRows[i]);
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 변경할 인덱스로 이동 처리
- ****************************************************************************************/
- function fPasteIndx(){
- var selTab = ds_hidden_condition.getColumn(0, "selctedmode");
- var iIndx = trv_ccindx.currentrow;
- var selIndxCd = ds_main_indxlist_item.getColumn(iIndx, "indxcd");
- var msg = sysf_messageBox("색인을", "Q012");
- if(msg == "7"){
- return;
- }
- switch(selTab){
- case "C":
- dsf_createDs("ds_send_reqdata_ccindxlist");
- dsf_createDs("ds_send_reqdata_newindx");
-
- ds_send_reqdata_ccindxlist.copyData(ds_hidden_reqdata_ccindxlist);
-
- dsf_makeValue( ds_send_reqdata_newindx, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send_reqdata_newindx, "indxflag", "string", selTab);
-
- if(msg == "6"){
- var oParam = {};
- oParam.id = "TXMRT00303";
- oParam.service = "termmngtapp.CCTermMngt";
- oParam.method = "reqExeIndxUpdate";
- oParam.inds = "ccindxinfo=ds_send_reqdata_ccindxlist newindx=ds_send_reqdata_newindx";
- oParam.outds = "ds_main_cccdinfo_cccd=ccinfo";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00303";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMRT00303") > -1) {
- sysf_messageBox("색인 변경이","I001");
- } else {
- sysf_messageBox("색인 변경을","E009");
- }
- }
- ds_send_reqdata_ccindxlist.clearData();
- ds_send_reqdata_newindx.clearData();
- ds_hidden_reqdata_ccindxlist.clearData();
- break;
- }
- }
- function cf_TXMRT00303(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 기관별 용어 사용여부 설정
- ****************************************************************************************/
- function fTermUseSave(){
- dsf_createDs("ds_send_termuse");
- var dsUpdate = grdf_getGridUpdateData(switch2.case5.grd_cccd, "all");
- grdf_setStatusColumn(dsUpdate, "status");
- ds_send_termuse.copyData(dsUpdate, true);
- var oParam = {};
- oParam.id = "TXMRT00206";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqInsTermUse";
- oParam.inds = "req=ds_send_termuse";
- //oParam.outds = "ds_=diaginfo";
- oParam.async = false;
- //oParam.callback = "cf_TXMRT00206";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 용어 이력 리스트 조회
- ****************************************************************************************/
- function fGetDiagTermHistList(){
- var iRow = switch2.case5.grd_cccd.currentrow;
- switch2.case5.grd_cchist.setFormatColProperty( 1, "size", 0);
- ds_hidden_condition.setColumn( 0, "sametermmode", "N");
- switch2.case5.cap_allinsthist.visible = false;
- switch2.case5.cmb_allinsthist.visible = false;
- switch2.case5.btn_modify1.enable = true;
- switch2.case5.btn_rollback.enable = true;
- switch2.case5.btn_termsave.enable = true;
- switch2.case5.btn_delete1.enable = true;
- ds_send.clearData();
- dsf_makeValue( ds_send, "ccattrcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd"));
- dsf_makeValue( ds_send, "termcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "termcd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
-
- fn_TRMRT00308();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 기관별 용어 이력 리스트 조회
- ****************************************************************************************/
- function fGetDiagInstTermHistList(){
- var iRow = switch2.case5.grd_cccd.currentrow;
- switch2.case5.grd_cchist.setFormatColProperty( 1, "size", 100);
- switch2.case5.cap_allinsthist.visible = true;
- switch2.case5.cmb_allinsthist.visible = true;
- //2009-04-30 오후 10:37:47 강지훈 수정 : 기관별 사용이력조회일때는 시작, 종료일자 때문에 수정이 불가하다.
- switch2.case5.btn_modify1.enable = false;
- switch2.case5.btn_rollback.enable = false;
- switch2.case5.btn_termsave.enable = false;
- switch2.case5.btn_delete1.enable = false;
- ds_hidden_condition.setColumn( 0, "sametermmode", "H");
- ds_send.clearData();
- dsf_makeValue( ds_send, "allinsthist", "string", ds_hidden_condition.getColumn(0, "allinsthist"));
- dsf_makeValue( ds_send, "ccattrcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "ccattrcd"));
- dsf_makeValue( ds_send, "termcd", "string", ds_main_cccdinfo_cccd.getColumn(iRow, "termcd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- fn_TRMRT00308();
- }
- ////////////////////////////////////////////////SMMRT00300.xjs////////////////////////////////////////////////
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMRT00300_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(switch2.case_deptccinfo.grd_srchedccinfo);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fInitalize();
-
- frmf_createPopupMenuDs("pmn_menu1", "pmn_menu_onmenuclick", ds_init_func_mouserght);
- frmf_createPopupMenuDs("pmn_menu2", "pmn_menu_onmenuclick", ds_init_func_trvmouserght);
-
- var sProp42 = "col=4,row=2,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- switch2.case5.chk_appinst.setInitComp(sProp42, ds_init_M0534, "cdid","cdnm", "fn_chk_appinst");
-
- switch2.tabindex = 1;
- fn_tabbtn_onclick();
- }
- // ds에 생성된 id별 함수 실행
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 사용종료
- ****************************************************************************************/
- function switch2_case5_btn_delete1_onclick(obj:Button, e:ClickEventInfo) {
- fEndCcTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 신규
- ****************************************************************************************/
- function switch2_case5_btn_insert1_onclick(obj:Button, e:ClickEventInfo) {
- fSetNewCc();
- }
- function switch2_case5_btn_save1_onclick(obj:Button, e:ClickEventInfo) {
- // fSaveCcTerm();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 주호소코드 선택
- ****************************************************************************************/
- function switch2_case5_grd_cccd_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if(e.col != 1){
- fSelCcTerm();
- }
- else{
- var termuseyn = ds_main_cccdinfo_cccd.getColumn(e.row, "termuseyn");
- var essntermflag = ds_main_cccdinfo_cccd.getColumn(e.row, "essntermflag");
- if(termuseyn == "N"){
- if(essntermflag == "Y"){
- sysf_messageBox("필수 사용 용어 ", "E008");
- ds_main_cccdinfo_cccd.setColumn( e.row , "termuseyn", "Y");
- }
- }
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Description : IDC10코드 입력
- ****************************************************************************************/
- function switch2_case5_ipt_icd10cd_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- switch2.case5.btn_icd10cd.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : IDC10코드 조회
- ****************************************************************************************/
- function switch2_case5_btn_icd10cd_onclick(obj:Button, e:ClickEventInfo) {
- fGetICD10();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정
- ****************************************************************************************/
- function switch2_case5_btn_modify1_onclick(obj:Button, e:ClickEventInfo) {
- fSetCcUpdt();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 이력선택
- ****************************************************************************************/
- function switch2_case5_grd_cchist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- var sametermmode = ds_hidden_condition.getColumn(0, "sametermmode");
- if(sametermmode != "H"){
- fSelCcTermHist();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 되살리기
- ****************************************************************************************/
- function switch2_case5_btn_rollback_onclick(obj:Button, e:ClickEventInfo) {
- fRollbackTerm();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 기관변경
- ****************************************************************************************/
- function switch2_case5_cmb_allinsthist_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- var selInstcd = ds_hidden_condition.getColumn(0, "selInstcd");
- // if(selInstcd == "001"){
- // btn_saverow.enable = false;
- // }
- // else{
- // btn_saverow.enable = true;
- // }
- fGetDiagInstTermHistList();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function switch2_case5_btn_termsave_onclick(obj:Button, e:ClickEventInfo) {
- fSaveCcTerm();
- }
- function switch2_case5_rdo_essntermflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- // var essntermflag = ds_main_peprterminfo_info.getColumn(0, "essntermflag");
- // if(essntermflag == "Y"){
- // for(var a = 0; a < switch2.case5.chk_appinst.length ; a++){
- // switch2.case5.chk_appinst.select(a);
- // }
- // }
- //switch2.case5.chk_appinst.refresh();
- }
- function switch2_case5_chk_appinst_onkillfocus(obj:CheckBox, e:KillFocusEventInfo) {
- // var essntermflag = ds_main_peprterminfo_info.getColumn(0, "essntermflag");
- // if(essntermflag == "Y"){
- // for(var a = 0; a < switch2.case5.chk_appinst.length ; a++){
- // switch2.case5.chk_appinst.select(a);
- // }
- // }
- //switch2.case5.chk_appinst.refresh();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과검색
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_deptsrch_onclick(obj:Button, e:ClickEventInfo) {
- fCallDeptInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과주호소 조회
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_srchdeptcc_onclick(obj:Button, e:ClickEventInfo) {
- fSrchDeptCcInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과주호소 삭제
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_deldeptcc_onclick(obj:Button, e:ClickEventInfo) {
- fDelDeptCcTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과주호소 저장
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_savedeptcc_onclick(obj:Button, e:ClickEventInfo) {
- fSaveDeptCCInfo();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 주호소조회조건 입력 후 조회
- ****************************************************************************************/
- function switch2_case_deptccinfo_ipt_srchnm_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.udpateToDataset();
- switch2.case_deptccinfo.btn_srchcc.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 주호소 리스트 조회
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_srchcc_onclick(obj:Button, e:ClickEventInfo) {
- fSrchCCInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 주호소 리스트 전체주호소 조회
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_srchextncc_onclick(obj:Button, e:ClickEventInfo) {
- fCallExtnCCInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 주호소 리스트 이동
- ****************************************************************************************/
- function switch2_case_deptccinfo_btn_sendcc_onclick(obj:Button, e:ClickEventInfo) {
- fSendDeptCC();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 과정보 입력후 조회
- ****************************************************************************************/
- function switch2_case_deptccinfo_ipt_deptnm_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- switch2.case_deptccinfo.btn_deptsrch.click();
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 주호소 리스트 선택
- ****************************************************************************************/
- function switch2_case_deptccinfo_grd_srchedccinfo_oncellclick(obj:Grid, e:GridClickEventInfo) {
- // fSelAddCcList();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력 후 조회
- ****************************************************************************************/
- function input5_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- btn_srchtermcd.click();
- }
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 한글 영문 구분
- ****************************************************************************************/
- function radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- fChngLangIndx();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 색인추가
- ****************************************************************************************/
- function button22_onclick(obj:Button, e:ClickEventInfo) {
- fAddIndx();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 색인선택
- ****************************************************************************************/
- function trv_ccindx_oncellclick(obj:Grid, e:GridClickEventInfo) {
- ds_hidden_condition.setColumn(0, "selectedIndx", ds_main_indxlist_item.getColumn(e.row, "indxcd"));
- fSelTreeIndx();
- }
- /****************************************************************************************
- * Components : Edit
- * Description :
- ****************************************************************************************/
- function input1_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- btn_srchindxcd.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 트리조회
- ****************************************************************************************/
- function btn_srchindxcd_onclick(obj:Button, e:ClickEventInfo) {
- fSrchIndxCd();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_srchtermcd_onclick(obj:Button, e:ClickEventInfo) {
- fSrchCcTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function button15_onclick(obj:Button, e:ClickEventInfo) {
- switch(switch2.tabindex){
- case 0:
- if( ds_main_cccdinfo_cccd.rowcount > 0 ){
- grdf_exportExcel(switch2.case5.grd_cccd, "Excel", "Sheet1", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- case 1:
- if( ds_main_deptcccdlist_deptcccdinfo.rowcount > 0 ){
- grdf_exportExcel(switch2.case_deptccinfo.grd_deptcc, "Excel", "Sheet1", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : 사용종료용어조회 체크
- ****************************************************************************************/
- function checkbox2_onclick(obj:CheckBox, e:ClickEventInfo) {
- if(obj.value == false) {
- ds_hidden_condition.setColumn(0, "endflag", "");
- ds_hidden_condition.setColumn( 0, "srchfromdd", "");
- ds_hidden_condition.setColumn( 0, "srchtodd", "");
- ipt_endfromdd.enable = false;
- ipt_endtodd.enable = false;
- } else {
- ds_hidden_condition.setColumn( 0, "srchfromdd", utlf_getCurrentDate());
- ds_hidden_condition.setColumn( 0, "srchtodd", "99991231");
- ipt_endfromdd.enable = true;
- ipt_endtodd.enable = true;
- }
- }
- function cmb_selInst_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- // var selInstcd = ds_hidden_condition.getColumn(0, "selInstcd");
- // if(selInstcd == "001"){
- // btn_saverow.enable = false;
- // }
- // else{
- // btn_saverow.enable = true;
- // }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function btn_saverow_onclick(obj:Button, e:ClickEventInfo) {
- fTermUseSave();
- }
- function switch2_onlbuttonup(obj:Tab, e:TabMouseEventInfo)
- {
- if(e.fromreferenceobject.name == "switch2"){
- var sIdx = obj.getIndex(e.clientX, e.canvasY);
- if( sIdx != -1){
- fn_tabbtn_onclick();
- }
- }
- }
- function ds_main_cccdinfo_cccd_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="termuseyn") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function switch2_case5_grd_cccd_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1) {
- var pmnMenu = fCallPopup("grd_cccd");
- if(!utlf_isNull(pmnMenu)) {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- eval(pmnMenu).trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- function ds_main_peprterminfo_info_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "essntermflag") {
- var essntermflag = e.newvalue;
- if(essntermflag == "Y"){
- switch2.case5.chk_appinst.setCheckAll(true);
- }
- }
- if(e.columnid == "appinstcd") switch2.case5.chk_appinst.setData(String(e.newvalue).split("▦"),null,false);
- if(e.columnid == "snmdcnptid") fGetSNMDCT();
- if(e.columnid == "termfromdd") obj.setColumn(0, "attrfromdd", e.newvalue);
- if(e.columnid == "termtodd") obj.setColumn(0, "attrtodd", e.newvalue);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 탭버튼 선택
- ****************************************************************************************/
- function switch2_case5_grp_tabbtn_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- misfTabBtnChange(switch2.case5.grp_tabbtn, obj);
- fGetDiagTermHistList();
- }
- function switch2_case5_grp_tabbtn_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- misfTabBtnChange(switch2.case5.grp_tabbtn, obj);
- fGetDiagInstTermHistList();
- }
- function ds_main_srchedcccdlist_srchedcccdinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="check") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function trv_ccindx_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && ds_hidden_condition.getColumn(0, "selctedmode") == "C") {
- var pmnMenu = fCallPopup("trv_ccindx");
- if(!utlf_isNull(pmnMenu)) {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- eval(pmnMenu).trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- ]]></Script>
- </Form>
- </FDL>
|