1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMRT00200" position="absolute 0 0 1196 764" titletext="진단용어 관리" onload="SMMRT00200_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="22" position="absolute 0 25 250 65" class="div_SA">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Div id="grp_sea2" taborder="23" position="absolute 255 25 1195 65" class="div_SA2"/>
- <Static id="caption6selctedmode" text="진단용어 관리" class="tit_1" position="absolute 0 0 120 25"/>
- <Tab id="switch2" taborder="1" tabindex="0" position="absolute 255 67 1195 762" onlbuttonup="switch2_onlbuttonup">
- <Tabpages>
- <Tabpage id="ICD10CD" text="ICD10코드">
- <Layouts>
- <Layout>
- <Grid id="grd_icd10" class="datagrid1" taborder="0" binddataset="ds_main_diagcdinfo_icd10cd" useinputpanel="false" position="absolute 0 0 940 665" autosizingtype="row" extendsizetype="row" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="250"/>
- <Column size="70"/>
- <Column size="81"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="74"/>
- <Column size="110"/>
- <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="ICD10코드"/>
- <Cell col="3" text="중분류"/>
- <Cell col="4" text="소분류"/>
- <Cell col="5" text="영문명"/>
- <Cell col="6" text="한글명"/>
- <Cell col="7" text="조회순서"/>
- <Cell col="8" text="시작일자"/>
- <Cell col="9" text="종료일자"/>
- <Cell col="10" text="최초등록자"/>
- <Cell col="11" text="최초등록일"/>
- <Cell col="12" text="최종수정자"/>
- <Cell col="13" text="최종수정일"/>
- <Cell col="14" text="OLDFROMDD"/>
- <Cell col="15" text="OLDTODD"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:state" combodataset="ds_cmb_status" combocodecol="value" combodatacol="label" enable="true"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:icd10cd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:icd10drindxcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:icd10medireccd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:icd10engnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:icd10hngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:icd10seqno"/>
- <Cell col="8" displaytype="date" edittype="date" text="bind:icd10fromdd" mask="yyyy-MM-dd"/>
- <Cell col="9" displaytype="date" edittype="date" text="bind:icd10todd" mask="yyyy-MM-dd"/>
- <Cell col="10" displaytype="text" text="bind:fstrgstrid" enable="false"/>
- <Cell col="11" displaytype="text" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'" enable="false"/>
- <Cell col="12" displaytype="text" text="bind:lastupdtrid" enable="false"/>
- <Cell col="13" displaytype="text" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'" enable="false"/>
- <Cell col="14" text="bind:oldfromdd"/>
- <Cell col="15" text="bind:oldtodd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="DiagTerm" text="진단용어">
- <Layouts>
- <Layout>
- <Grid id="grd_termlist" class="datagrid2" taborder="27" binddataset="ds_main_sametermlist_info" useinputpanel="false" position="absolute 476 327 940 612" oncellclick="switch2_DiagTerm_grd_termlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="47"/>
- <Column size="149"/>
- <Column size="160"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="111"/>
- <Column size="100"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" 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="SNOMED-CNPT ID"/>
- <Cell col="8" text="SNOMED-CNPT 명"/>
- <Cell col="9" text="SNOMED-CT DESCRIPTION ID"/>
- <Cell col="10" text="UMLS"/>
- <Cell col="11" text="시작일자"/>
- <Cell col="12" text="종료일자"/>
- <Cell col="13" text="등록일시"/>
- <Cell col="14" text="등록자"/>
- <Cell col="15" text="최종수정일시"/>
- <Cell col="16" text="최종수정자"/>
- <Cell col="17" text="확장코드"/>
- <Cell col="18" text="확장코드시작일자"/>
- <Cell col="19" text="확장코드종료일자"/>
- <Cell col="20" text="용어구분"/>
- <Cell col="21" text="필수용어 여부"/>
- <Cell col="22" text="ICD시작일자"/>
- <Cell col="23" text="최종수정자ID"/>
- <Cell col="24" text="appinstcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" text="bind:instnm"/>
- <Cell col="2" displaytype="text" text="bind:termcd"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:reprflag" combodataset="ds_cmb_reprflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="4" displaytype="text" text="bind:termengnm"/>
- <Cell col="5" displaytype="text" text="bind:termhngnm"/>
- <Cell col="6" displaytype="text" text="bind:alttermcd"/>
- <Cell col="7" displaytype="text" text="bind:snmdcnptid"/>
- <Cell col="8" text="bind:snmdcnptnm"/>
- <Cell col="9" displaytype="text" text="bind:snmddescid"/>
- <Cell col="10" displaytype="text" text="bind:umlscd"/>
- <Cell col="11" text="bind:termfromdd" mask="expr:utlf_isNull(termfromdd) ? '' : '####-##-##'"/>
- <Cell col="12" text="bind:termtodd" mask="expr:utlf_isNull(termtodd) ? '' : '####-##-##'"/>
- <Cell col="13" displaytype="text" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="14" text="bind:fstrgstrid"/>
- <Cell col="15" displaytype="text" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="16" text="bind:lastupdtrnm"/>
- <Cell col="17" text="bind:attrcd"/>
- <Cell col="18" text="bind:attrfromdd"/>
- <Cell col="19" text="bind:attrtodd"/>
- <Cell col="20" displaytype="combo" edittype="combo" text="bind:termflag"/>
- <Cell col="21" text="bind:essntermflag"/>
- <Cell col="22" text="bind:icdfromdd"/>
- <Cell col="23" text="bind:lastupdtrid"/>
- <Cell col="24" text="bind:appinstcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Combo id="cmb_allinsthist" taborder="28" innerdataset="@ds_init_M0534allcmb" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 840 303 940 322" onitemchanged="switch2_DiagTerm_cmb_allinsthist_onitemchanged"/>
- <Static id="cap_allinsthist" text="기관 :" class="search_name" visible="false" position="absolute 789 306 839 323"/>
- <Combo id="cmb_termflag" taborder="29" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 94 318 114 321">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">진단용어</Col>
- </Row>
- <Row>
- <Col id="codecolumn">9</Col>
- <Col id="datacolumn">수술용어</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">주호소</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">원발장기</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">ICD-O-3</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">KCD-4-M</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape id="line9" linetype="horizontal" class="line_2" position="absolute 1 491 461 497"/>
- <Combo id="cmb_icd10cd" taborder="30" innerdataset="@ds_main_icd10cdlist_info" codecolumn="icd10cd" datacolumn="icd10cd" enable="false" position="absolute 113 329 231 348" onitemchanged="switch2_DiagTerm_cmb_icd10cd_onitemchanged"/>
- <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 1 515 461 521"/>
- <MaskEdit id="ipt_fstrgsttime" taborder="31" mask="##:##" class="input_default" enable="false" position="absolute 422 593 460 612" type="string"/>
- <Edit id="ipt_engnm" taborder="32" class="input_default" enable="false" position="absolute 113 425 460 444"/>
- <Calendar id="ipt_fstrgstdate" taborder="33" class="input_default" enable="false" position="absolute 337 593 420 612" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd"/>
- <Shape id="line14" linetype="horizontal" class="line_2" position="absolute 1 539 461 545"/>
- <Edit id="opt_Hdicd10cd" taborder="34" readonly="true" visible="false" position="absolute 113 329 231 348" class="output"/>
- <Shape id="line15" linetype="horizontal" class="line_2" position="absolute 1 563 461 569"/>
- <Shape id="line16" linetype="horizontal" class="line_10" position="absolute 476 322 940 328"/>
- <Button id="btn_snmdcnptid" taborder="35" class="icon_search" enable="false" position="absolute 440 330 456 346"/>
- <Edit id="ipt_hngnm" taborder="36" class="input_default" enable="false" position="absolute 113 449 460 468"/>
- <Edit id="ipt_medireccd" taborder="37" class="input_default" enable="false" position="absolute 347 377 460 396"/>
- <Shape id="line17" linetype="horizontal" class="line_2" position="absolute 1 371 461 377"/>
- <Shape id="line18" linetype="horizontal" class="line_2" position="absolute 0 587 460 593"/>
- <Static id="caption26" text="용어 관리" class="tit_2" position="absolute 0 306 84 323"/>
- <Combo id="cmb_reprflag" taborder="38" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 113 473 158 492">
- <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>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 322 470 328"/>
- <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 1 347 461 353"/>
- <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 1 395 461 401"/>
- <Edit id="ipt_drindxcd" taborder="39" class="input_default" enable="false" visible="false" position="absolute 113 318 132 321"/>
- <Edit id="ipt_fstrgstdt" taborder="46" class="input_default" enable="false" visible="false" position="absolute 76 318 95 321"/>
- <MaskEdit id="ipt_diagattrcd" taborder="47" mask="999" class="input_default" enable="false" position="absolute 113 353 230 372" type="string"/>
- <MaskEdit id="ipt_termcd" taborder="48" mask="99" class="input_default" enable="false" position="absolute 113 377 230 396" type="string"/>
- <Shape id="line8" linetype="horizontal" class="line_2" position="absolute 0 467 460 473"/>
- <Shape id="line25" linetype="horizontal" class="line_2" position="absolute 0 443 460 449"/>
- <Edit id="ipt_snmdcnptnm" taborder="49" class="input_default" enable="false" position="absolute 347 353 460 372"/>
- <Grid id="grd_diagcd" class="datagrid2" taborder="50" binddataset="ds_main_diagcdinfo_diagcd" useinputpanel="false" position="absolute 0 0 940 290" oncellclick="switch2_DiagTerm_grd_diagcd_oncellclick" onrbuttonup="switch2_DiagTerm_grd_diagcd_onrbuttonup" cellclickbound="cell" selecttype="multirow" extendsizetype="row" cellsizingtype="row" autosizingtype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="46"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="250"/>
- <Column size="0"/>
- <Column size="48"/>
- <Column size="82"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="77"/>
- <Column size="50"/>
- <Column size="71"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- <Column size="0"/>
- <Column size="100"/>
- <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="ICD10 코드" wordwrap="char"/>
- <Cell col="4" text="ICD시작일자" 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="UMLS" wordwrap="char"/>
- <Cell col="12" text="영문명" 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="남녀 구분" wordwrap="char"/>
- <Cell col="22" text="암진단 용어 여부" wordwrap="char"/>
- <Cell col="23" text="분류 코드" wordwrap="char"/>
- <Cell col="24" text="분류코드" wordwrap="char"/>
- <Cell col="25" text="버전" wordwrap="char"/>
- <Cell col="26" text="시작일자" wordwrap="char"/>
- <Cell col="27" text="종료일자" wordwrap="char"/>
- <Cell col="28" text="최초등록일시" wordwrap="char"/>
- <Cell col="29" text="최초등록자ID" wordwrap="char"/>
- <Cell col="30" text="진단속성시작일자" wordwrap="char"/>
- <Cell col="31" text="진단속성종료일자" wordwrap="char"/>
- <Cell col="32" text="최종등록일시" wordwrap="char"/>
- <Cell col="33" text="최종등록자ID" wordwrap="char"/>
- <Cell col="34" text="최종등록자" wordwrap="char"/>
- <Cell col="35" 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:icd10cd"/>
- <Cell col="4" text="bind:icdfromdd"/>
- <Cell col="5" text="bind:diagattrcd"/>
- <Cell col="6" text="bind:termcd"/>
- <Cell col="7" text="bind:alttermcd"/>
- <Cell col="8" displaytype="text" text="bind:snmdcnptid" wordwrap="char" autosizerow="limitmin"/>
- <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:umlscd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="12" displaytype="text" text="bind:termengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="13" displaytype="text" text="bind:termhngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="14" text="bind:termflag"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:reprflag" enable="false"/>
- <Cell col="16" displaytype="combo" edittype="combo" text="bind:lglydisflag" enable="false"/>
- <Cell col="17" displaytype="combo" edittype="combo" text="bind:chrncsickyn" enable="false"/>
- <Cell col="18" displaytype="combo" edittype="combo" text="bind:estmexptyn" enable="false"/>
- <Cell col="19" displaytype="combo" edittype="combo" text="bind:serdiagclsyn" enable="false"/>
- <Cell col="20" displaytype="combo" edittype="combo" text="bind:ageflag"/>
- <Cell col="21" displaytype="combo" edittype="combo" text="bind:manwomflag" enable="false"/>
- <Cell col="22" displaytype="combo" edittype="combo" text="bind:cncryn"/>
- <Cell col="23" text="bind:diagattrdrindxcd"/>
- <Cell col="24" text="bind:diagattrmedireccd"/>
- <Cell col="25" text="bind:diagattrverflag"/>
- <Cell col="26" displaytype="text" text="bind:termfromdd" mask="expr:utlf_isNull(termfromdd) ? '' : '####-##-##'"/>
- <Cell col="27" displaytype="text" text="bind:termtodd" mask="expr:utlf_isNull(termtodd) ? '' : '####-##-##'"/>
- <Cell col="28" text="bind:fstrgstdt"/>
- <Cell col="29" text="bind:fstrgstrid"/>
- <Cell col="30" text="bind:attrfromdd"/>
- <Cell col="31" text="bind:attrtodd"/>
- <Cell col="32" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="33" text="bind:lastupdtrid"/>
- <Cell col="34" text="bind:lastupdtrnm"/>
- <Cell col="35" text="bind:essntermflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Radio id="rdo_estmexptyn" taborder="51" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 113 545 230 565">
- <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>
- <Radio id="rdo_manwomflag" taborder="52" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 347 497 460 517" index="-1" style=":disabled {textpadding:0 3 0 3;}">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">남여</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">남</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">여</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_serdiagclsyn" taborder="53" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 347 473 460 493">
- <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>
- <Radio id="rdo_chrncsickyn" taborder="54" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 113 521 230 541">
- <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="line4" linetype="horizontal" class="line_3" position="absolute 0 289 936 295"/>
- <Button id="btn_diagattrcd" taborder="55" class="icon_search" enable="false" visible="false" position="absolute 211 354 227 370"/>
- <Button id="btn_medireccd" taborder="56" class="icon_search" enable="false" visible="false" position="absolute 441 379 457 395"/>
- <Edit id="ipt_fstrgstrid" taborder="57" class="input_default" enable="false" position="absolute 367 569 460 588"/>
- <Edit id="ipt_snmdcnptid" taborder="58" class="input_default" enable="false" position="absolute 347 329 435 348"/>
- <Calendar id="ipt_termfromdd" taborder="60" class="input_default" enable="false" position="absolute 53 569 143 588" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_termtodd" taborder="61" class="input_default" enable="false" position="absolute 200 569 290 588" mask="yyyy-mm-dd" dateformat="yyyy-MM-dd"/>
- <Calendar id="input6" taborder="62" class="input_default" enable="false" visible="false" position="absolute 153 316 177 319" mask="yyyy-mm-dd"/>
- <Combo id="cmb_lglydisflag" taborder="64" innerdataset="@ds_init_A0129" codecolumn="cdid" datacolumn="cdnm" enable="false" position="absolute 113 497 231 516"/>
- <Edit id="input8" taborder="65" class="input_default" enable="false" visible="false" position="absolute 138 316 157 319"/>
- <Combo id="cmb_diagattrverflag" taborder="66" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 160 473 230 492">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">9</Col>
- <Col id="datacolumn">ICD9</Col>
- </Row>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">ICD10</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">KCD5</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo id="cmb_ageflag" taborder="67" innerdataset="@ds_init_M0382" codecolumn="cdid" datacolumn="cdnm" class="combo_default" enable="false" position="absolute 347 521 460 540"/>
- <Radio id="rdo_cncryn" taborder="68" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 347 545 460 565">
- <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="line33" linetype="horizontal" class="line_2" position="absolute 1 419 461 425"/>
- <Edit id="ipt_umlscd" taborder="70" class="input_default" enable="false" position="absolute 347 401 460 420"/>
- <Edit id="ipt_alttermcd" taborder="71" class="input_default" enable="false" position="absolute 113 401 207 420"/>
- <Button id="btn_altterm" taborder="72" class="icon_search" enable="false" position="absolute 212 403 228 419" onclick="switch2_DiagTerm_btn_altterm_onclick"/>
- <Shape id="line1" linetype="horizontal" class="line_2" position="absolute 0 611 460 617"/>
- <Shape id="line35" linetype="horizontal" class="line_3" position="absolute 0 662 940 668"/>
- <Shape id="line34" linetype="horizontal" class="line_2" position="absolute 476 611 936 617"/>
- <Radio id="rdo_essntermflag" taborder="76" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 113 593 230 613">
- <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>
- <Calendar id="input7" taborder="77" class="input_default" enable="false" visible="false" position="absolute 168 316 192 319" mask="yyyy-mm-dd"/>
- <Button id="btn_delete1" taborder="78" text="사용종료" class="btn5" enable="false" visible="false" position="absolute 397 315 461 318"/>
- <Button id="button21" taborder="79" text="저장" class="btn5" visible="false" position="absolute 352 314 394 317"/>
- <Button id="button30" taborder="80" text="동의어수정" class="btn2" visible="false" position="absolute 273 315 348 318"/>
- <Button id="button27" taborder="81" text="대표어수정" class="btn2" enable="false" visible="false" position="absolute 196 315 271 318"/>
- <Button id="btn_sameterm" taborder="73" text="동의/유사어입력" class="btn2" position="absolute 149 300 255 322" onclick="switch2_DiagTerm_btn_sameterm_onclick"/>
- <Button id="btn_termsave" taborder="74" text="저장" class="btn5" position="absolute 366 300 405 322" onclick="switch2_DiagTerm_btn_termsave_onclick"/>
- <Button id="btn_delete2" taborder="44" text="사용종료" class="btn5" position="absolute 408 300 470 322" onclick="switch2_DiagTerm_btn_delete2_onclick"/>
- <Button id="button26" taborder="45" text="신규입력" class="btn2" position="absolute 83 300 146 322" onclick="switch2_DiagTerm_button26_onclick"/>
- <Button id="btn_modify1" taborder="59" text="수정" class="btn2" position="absolute 258 300 297 322" onclick="switch2_DiagTerm_btn_modify1_onclick"/>
- <Button id="btn_rollback" taborder="69" text="되살리기" class="btn5" position="absolute 300 300 363 322" onclick="switch2_DiagTerm_btn_rollback_onclick"/>
- <Static id="caption34" text="UMLS" class="cell_1" position="absolute 234 399 344 422" style="padding:0 0 0 4;"/>
- <Static id="caption35" text="대체코드" class="cell_1" position="absolute 0 399 110 422" style="padding:0 0 0 4;"/>
- <Static id="cap_appinst" text="적용 기관" class="cell_1" position="absolute 0 615 110 663" style="padding:0 0 0 4;"/>
- <Static id="caption36" text="필수용어 여부" class="cell_1" position="absolute 0 591 110 614" style="padding:0 0 0 4;"/>
- <Static id="caption20" text="ICD10 코드" class="cell_1" position="absolute 0 327 110 350" style="padding:0 0 0 4;"/>
- <Static id="caption21" text="시작일" class="cell_1" position="absolute 0 567 50 590" style="padding:0 0 0 4;"/>
- <Static id="caption32" text="SNMD-concept ID" class="cell_1" position="absolute 234 327 344 350" style="padding:0 0 0 4;"/>
- <Static id="caption22" text="등록일시" class="cell_1" position="absolute 234 591 334 614" style="padding:0 0 0 4;"/>
- <Static id="caption11" text="색인코드" class="cell_1" position="absolute 234 375 344 398" style="padding:0 0 0 4;"/>
- <Static id="caption37" text="SNMD-concept 명" class="cell_1" position="absolute 234 351 344 374" style="padding:0 0 0 4;"/>
- <Static id="caption6" text="확장코드" class="cell_1" position="absolute 0 351 110 374" style="padding:0 0 0 4;"/>
- <Static id="caption27" text="용어코드" class="cell_1" position="absolute 0 375 110 398" style="padding:0 0 0 4;"/>
- <Static id="caption16" text="등록자" class="cell_1" position="absolute 294 567 364 590" style="padding:0 0 0 4;"/>
- <Static id="caption8" text="영문명" class="cell_1" position="absolute 0 423 110 446" style="padding:0 0 0 4;"/>
- <Static id="caption9" text="한글명" class="cell_1" position="absolute 0 447 110 470" style="padding:0 0 0 4;"/>
- <Static id="caption19" text="종료일" class="cell_1" position="absolute 147 567 197 590" style="padding:0 0 0 4;"/>
- <Static id="caption18" text="대표어 구분/버전" class="cell_1" position="absolute 0 471 110 494" style="padding:0 0 0 4;"/>
- <Static id="caption12" text="전염병 구분" class="cell_1" position="absolute 0 495 110 518" style="padding:0 0 0 4;"/>
- <Static id="caption13" text="만성질환 여부" class="cell_1" position="absolute 0 519 110 542" style="padding:0 0 0 4;"/>
- <Static id="caption24" text="중증분류 여부" class="cell_1" position="absolute 234 471 344 494" style="padding:0 0 0 4;"/>
- <Static id="caption14" text="산정특례 여부" class="cell_1" position="absolute 0 543 110 566" style="padding:0 0 0 4;"/>
- <Static id="caption7" text="연령별 구분" class="cell_1" position="absolute 234 519 344 542" style="padding:0 0 0 4;"/>
- <Static id="caption17" text="남여 구분" class="cell_1" position="absolute 234 495 344 518" style="padding:0 0 0 4;"/>
- <Static id="caption30" text="암진단 용어 여부" class="cell_1" position="absolute 234 543 344 566" style="padding:0 0 0 4;"/>
- <Div id="grp_tabbtn" taborder="85" position="absolute 476 299 787 324">
- <Layouts>
- <Layout>
- <Button id="button1" taborder="0" text="동의어/유사어" class="btn_tab_S" position="absolute 0 1 100 25" anchor="default" onclick="switch2_DiagTerm_grp_tabbtn_button1_onclick"/>
- <Button id="button2" taborder="1" text="이력조회" class="btn_tab" position="absolute 101 1 169 25" anchor="default" onclick="switch2_DiagTerm_grp_tabbtn_button2_onclick"/>
- <Button id="button7" taborder="2" text="기관별 사용 이력조회" class="btn_tab" position="absolute 170 1 302 25" anchor="default" onclick="switch2_DiagTerm_grp_tabbtn_button7_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <cp_checkboxList id="chk_appinst" taborder="86" scrollbars="none" position="absolute 114 614 214 634" style="background:transparent;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" enable="false" class="output"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_DeptDiag" text="과진단코드">
- <Layouts>
- <Layout>
- <Static id="caption23" text="과진단 정보" class="tit_2" position="absolute 0 7 95 23"/>
- <Button id="btn_deptsrch" taborder="19" class="icon_search" position="absolute 147 4 163 20" onclick="switch2_case_DeptDiag_btn_deptsrch_onclick"/>
- <Grid id="grd_deptdiag" taborder="20" binddataset="ds_main_deptdiagcdlist_deptdiagcdinfo" useinputpanel="false" position="absolute 0 28 940 315" onvtracklast="switch2_case_DeptDiag_grd_deptdiag_onvtracklast" extendsizetype="row" autosizingtype="row" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="38"/>
- <Column size="128"/>
- <Column size="100"/>
- <Column size="130"/>
- <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="ICD-10"/>
- <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" text="expr:currow+1"/>
- <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" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" displaytype="text" text="bind:deptindxcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" text="bind:deptindxnm" wordwrap="char" autosizerow="limitmin"/>
- <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" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" text="bind:deptcd"/>
- <Cell col="9" text="bind:deptfromdt"/>
- <Cell col="10" text="bind:deptindxflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="ipt_deptcd" taborder="21" class="input_search" position="absolute 94 4 144 23"/>
- <Edit id="ipt_deptnm" taborder="22" class="input_search" position="absolute 166 4 266 23" onkeyup="switch2_case_DeptDiag_ipt_deptnm_onkeyup"/>
- <Shape id="line28" linetype="horizontal" class="line_10" position="absolute 0 23 940 29"/>
- <Shape id="line29" linetype="horizontal" class="line_10" position="absolute 1 339 940 345"/>
- <Edit id="input4" taborder="23" class="input_search" position="absolute 265 320 420 339" onkeyup="switch2_case_DeptDiag_input4_onkeyup"/>
- <Radio id="radio3" taborder="24" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 89 320 265 340">
- <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>
- <Static id="caption29" text="진단 추가" class="tit_2" position="absolute 0 323 84 340"/>
- <Grid id="grd_srcheddiaginfo" taborder="25" binddataset="ds_main_srcheddiagcdlist_srcheddiagcdinfo" useinputpanel="false" position="absolute 1 344 940 665" oncellclick="switch2_case_DeptDiag_grd_srcheddiaginfo_oncellclick" cellclickbound="cell" autosizingtype="row" extendsizetype="row" cellsizingtype="both">
- <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="ICD-10"/>
- <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" expr="expr:(check=="Y"||check==1)?1:0"/>
- <Cell col="2" displaytype="text" text="bind:termcd" wordwrap="char" autosizerow="limitmin"/>
- <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>
- <Button id="btn_srchdiag" taborder="26" text="조회" class="btn2" position="absolute 425 317 467 339" onclick="switch2_case_DeptDiag_btn_srchdiag_onclick"/>
- <Button id="btn_senddiag" taborder="27" class="icon_top" position="absolute 559 317 585 339" onclick="switch2_case_DeptDiag_btn_senddiag_onclick"/>
- <Button id="btn_srchdeptdiag" taborder="28" text="조회" class="btn2" position="absolute 808 1 850 23" onclick="switch2_case_DeptDiag_btn_srchdeptdiag_onclick"/>
- <Button id="btn_savedeptdiag" taborder="29" text="저장" class="btn5" position="absolute 898 1 940 23" onclick="switch2_case_DeptDiag_btn_savedeptdiag_onclick"/>
- <Button id="btn_srchextndiag" taborder="30" text="전체진단조회" class="btn2" position="absolute 470 317 556 339" onclick="switch2_case_DeptDiag_btn_srchextndiag_onclick"/>
- <Button id="btn_deldeptdiag" taborder="31" text="삭제" class="btn2" position="absolute 853 1 895 23" onclick="switch2_case_DeptDiag_btn_deldeptdiag_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="KCD4M" text="Morphology">
- <Layouts>
- <Layout>
- <Shape id="line2" linetype="horizontal" class="line_3" position="absolute 0 663 505 667"/>
- <Static id="caption1" text="ICD-10-M 진단정보" class="tit_2" position="absolute 0 475 150 491"/>
- <Button id="btn_new" taborder="19" text="신규" class="btn2" position="absolute 311 469 353 491" onclick="switch2_KCD4M_btn_new_onclick"/>
- <Shape id="line20" linetype="horizontal" class="line_10" position="absolute 0 491 510 497"/>
- <Shape id="line22" linetype="horizontal" class="line_2" position="absolute 1 564 507 570"/>
- <Button id="btn_save" taborder="20" text="저장" class="btn5" position="absolute 401 469 443 491" onclick="switch2_KCD4M_btn_save_onclick"/>
- <Shape id="line23" linetype="horizontal" class="line_2" position="absolute 1 588 507 594"/>
- <Edit id="ipt_indxcd" taborder="21" class="input_essential" enable="false" position="absolute 347 498 507 517"/>
- <Shape id="line24" linetype="horizontal" class="line_3" position="absolute 0 464 935 470"/>
- <Grid id="grd_kcd4minfo" class="datagrid2" taborder="22" binddataset="ds_main_diagcdinfo_kcd4m" useinputpanel="false" position="absolute 0 0 940 465" oncellclick="switch2_KCD4M_grd_kcd4minfo_oncellclick" onvtracklast="switch2_KCD4M_grd_kcd4minfo_onvtracklast" onrbuttonup="switch2_KCD4M_grd_kcd4minfo_onrbuttonup" selecttype="multirow" extendsizetype="row" autosizingtype="row" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="105"/>
- <Column size="70"/>
- <Column size="95"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="268"/>
- <Column size="272"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="stat"/>
- <Cell col="2" text="형태학적 코드"/>
- <Cell col="3" text="일련번호"/>
- <Cell col="4" text="색인코드"/>
- <Cell col="5" text="Version"/>
- <Cell col="6" text="SNOMED Concept ID"/>
- <Cell col="7" text="SNOMED-CT Concept 명"/>
- <Cell col="8" text="영문명"/>
- <Cell col="9" text="한글명"/>
- <Cell col="10" text="시작일"/>
- <Cell col="11" text="종료일"/>
- <Cell col="12" text="최종등록일시"/>
- <Cell col="13" text="최종등록자"/>
- <Cell col="14" text="최초등록일"/>
- <Cell col="15" text="최초등록자"/>
- <Cell col="16" text="최종수정일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1"/>
- <Cell col="2" displaytype="text" text="bind:morphlgccd"/>
- <Cell col="3" displaytype="text" text="bind:kcd4mseqno"/>
- <Cell col="4" displaytype="text" text="bind:indxcd"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:version" combodataset="ds_cmb_version" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="6" displaytype="text" text="bind:snmdcnptid" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" text="bind:snmdcnptnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" displaytype="text" text="bind:kcd4mengnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" text="bind:kcd4mhngnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" text="bind:kcd4mfromdd" mask="expr:utlf_isNull(kcd4mfromdd) ? '' : '####-##-##'"/>
- <Cell col="11" text="bind:kcd4mtodd" mask="expr:utlf_isNull(kcd4mtodd) ? '' : '####-##-##'"/>
- <Cell col="12" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="13" text="bind:lastupdtrnm"/>
- <Cell col="14" text="bind:fstrgstrid"/>
- <Cell col="15" text="bind:fstrgstdt"/>
- <Cell col="16" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="ipt_morphlgccd" taborder="23" class="input_essential" enable="false" position="absolute 92 498 252 517"/>
- <Edit id="ipt_kcd4mengnm" taborder="24" class="input_default" enable="false" position="absolute 92 570 507 589"/>
- <Edit id="ipt_kcd4mhngnm" taborder="25" class="input_default" enable="false" position="absolute 92 594 507 613"/>
- <Calendar id="input1" taborder="26" class="input_essential" enable="false" position="absolute 347 618 452 637"/>
- <MaskEdit id="input2" taborder="27" mask="hh:nn" class="input_essential" enable="false" position="absolute 454 618 507 637"/>
- <Calendar id="ipt_kcd4mfromdate" taborder="28" class="input_essential" enable="false" position="absolute 92 618 252 637"/>
- <Calendar id="ipt_kcd4mtodate" taborder="29" class="input_essential" enable="false" position="absolute 92 642 252 661"/>
- <Shape id="line6" linetype="horizontal" class="line_2" position="absolute 1 612 507 618"/>
- <Shape id="line26" linetype="horizontal" class="line_2" position="absolute 1 636 507 642"/>
- <Edit id="input9" taborder="30" class="input_essential" enable="false" position="absolute 347 642 507 661"/>
- <Grid id="grd_kcd4mhist" class="datagrid2" taborder="31" binddataset="ds_main_kcd4mhist_list" useinputpanel="false" position="absolute 515 495 940 664" oncellclick="switch2_KCD4M_grd_kcd4mhist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="160"/>
- <Column size="160"/>
- <Column size="129"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" 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="Version"/>
- <Cell col="5" text="SNOMED CONCEPT ID"/>
- <Cell col="6" text="SNOMED CONCEPT 명"/>
- <Cell col="7" text="시작일자"/>
- <Cell col="8" text="종료일자"/>
- <Cell col="9" text="영문명"/>
- <Cell col="10" text="한글명"/>
- <Cell col="11" text="등록일시"/>
- <Cell col="12" text="등록자"/>
- <Cell col="13" text="최종수정일시"/>
- <Cell col="14" text="최종수정자"/>
- <Cell col="15" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" text="bind:morphlgccd"/>
- <Cell col="2" displaytype="text" text="bind:kcd4mseqno"/>
- <Cell col="3" displaytype="text" text="bind:indxcd"/>
- <Cell col="4" displaytype="combo" edittype="combo" text="bind:version" combodataset="ds_cmb_version" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="5" displaytype="text" text="bind:snmdcnptid"/>
- <Cell col="6" displaytype="text" text="bind:snmdcnptnm"/>
- <Cell col="7" text="bind:kcd4mfromdd" mask="expr:utlf_isNull(kcd4mfromdd) ? '' : '####-##-##'"/>
- <Cell col="8" text="bind:kcd4mtodd" mask="expr:utlf_isNull(kcd4mtodd) ? '' : '####-##-##'"/>
- <Cell col="9" displaytype="text" text="bind:kcd4mengnm"/>
- <Cell col="10" displaytype="text" text="bind:kcd4mhngnm"/>
- <Cell col="11" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="12" text="bind:fstrgstrid"/>
- <Cell col="13" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="14" text="bind:lastupdtrnm"/>
- <Cell col="15" text="bind:lastupdtrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line30" linetype="horizontal" class="line_10" position="absolute 516 490 940 496"/>
- <Button id="button4" taborder="32" text="사용종료" class="btn5" position="absolute 446 469 510 491" onclick="switch2_KCD4M_button4_onclick"/>
- <Button id="button6" taborder="33" text="수정" class="btn2" position="absolute 356 469 398 491" onclick="switch2_KCD4M_button6_onclick"/>
- <Static id="caption15" text="이력조회" class="tit_2" position="absolute 516 474 664 491"/>
- <Edit id="ipt_kcd4mseqno" taborder="34" class="input_essential" enable="false" position="absolute 92 522 252 541"/>
- <Edit id="ipt_kcdsnmdcnptid" taborder="35" class="input_default" enable="false" position="absolute 347 522 507 541"/>
- <Shape id="line31" linetype="horizontal" class="line_2" position="absolute 2 516 507 522"/>
- <Edit id="ipt_kcdsnmdcnptnm" taborder="36" class="input_default" enable="false" position="absolute 347 546 507 565"/>
- <Shape id="line32" linetype="horizontal" class="line_2" position="absolute 1 540 507 546"/>
- <Combo id="cmb_version" taborder="37" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" enable="false" position="absolute 92 546 252 565">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">04</Col>
- <Col id="datacolumn">KCD-4</Col>
- </Row>
- <Row>
- <Col id="codecolumn">05</Col>
- <Col id="datacolumn">KCD-5</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="cap_todt" text="종료일자" class="cell_1" position="absolute 0 640 90 663"/>
- <Static id="cap_hngnm" text="한글명" class="cell_1" position="absolute 0 592 90 615"/>
- <Static id="cap_fromdt" text="시작일자" class="cell_1" position="absolute 0 616 90 639"/>
- <Static id="cap_diagcd" text="형태학적 코드" class="cell_1" position="absolute 0 496 90 519"/>
- <Static id="caption28" text="일련번호" class="cell_1" position="absolute 0 520 90 543"/>
- <Static id="caption33" text="버젼" class="cell_1" position="absolute 0 544 90 567"/>
- <Static id="cap_engnm" text="영문명" class="cell_1" position="absolute 0 568 90 591"/>
- <Static id="caption31" text="Concept 명" class="cell_1" position="absolute 255 544 345 567"/>
- <Static id="cap_indxcd" text="색인코드" class="cell_1" position="absolute 255 496 345 519"/>
- <Static id="caption3" text="등록일시" class="cell_1" position="absolute 255 616 345 639"/>
- <Static id="caption2" text="등록자" class="cell_1" position="absolute 255 640 345 663"/>
- <Static id="caption10" text="Concept ID" class="cell_1" position="absolute 255 520 345 543"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1123 35 1129 57"/>
- <Shape id="line11" class="line_10" position="absolute 0 89 250 95"/>
- <Static id="caption4" text="조회 :" class="search_name" position="absolute 485 38 531 55"/>
- <Edit id="input5" taborder="5" class="input_search" position="absolute 536 36 626 55" onkeyup="input5_onkeyup"/>
- <Static id="caption5" text="구분 :" class="search_name" position="absolute 265 38 311 55"/>
- <Radio id="radio2" taborder="9" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 317 36 477 56">
- <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>
- <Button id="button22" taborder="10" text="색인추가" class="btn2" position="absolute 186 67 250 89" onclick="button22_onclick"/>
- <Grid id="trv_dgindx" taborder="11" useinputpanel="false" treeusecheckbox="false" position="absolute 0 94 250 759" autofit="col" binddataset="ds_main_indxlist_item" oncellclick="trv_dgindx_oncellclick" onrbuttonup="trv_dgindx_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="250"/>
- </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>
- <Radio id="radio1" taborder="12" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 0 69 115 90" 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>
- <Edit id="input10" taborder="13" class="input_search" position="absolute 10 36 165 55" onkeyup="input10_onkeyup"/>
- <Shape id="line27" linetype="vertical" class="line_4" position="absolute 172 35 178 57"/>
- <Button id="btn_srchindxcd" taborder="14" text="조회" class="btn1" position="absolute 185 35 241 57" onclick="btn_srchindxcd_onclick"/>
- <Button id="btn_srchtermcd" taborder="15" text="조회" class="btn1" position="absolute 1132 35 1188 57" onclick="btn_srchtermcd_onclick"/>
- <Calendar id="ipt_endfromdd" taborder="16" class="input_search" enable="false" position="absolute 754 36 844 55" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_endtodd" taborder="17" class="input_search" enable="false" position="absolute 864 36 954 55" dateformat="yyyy-MM-dd"/>
- <Static id="caption25" text="~" position="absolute 849 36 861 56"/>
- <CheckBox id="checkbox2" taborder="18" class="checkbox_search" position="absolute 632 36 747 56" text="사용종료용어조회" truevalue="Y" onclick="checkbox2_onclick"/>
- <CheckBox id="checkbox1" taborder="19" class="checkbox_search" position="absolute 120 69 175 89" text="AS_IS" truevalue="ASIS" onclick="checkbox1_onclick"/>
- <Combo id="cmb_selInst" taborder="21" innerdataset="@ds_init_M0534selcmb" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 1019 36 1119 55"/>
- <Static id="cap_selInst" text="기관 :" class="search_name" visible="false" position="absolute 967 38 1016 55"/>
- <Button id="button15" taborder="2" text="엑셀" class="btn7" position="absolute 1144 67 1195 89" onclick="button15_onclick"/>
- <Button id="btn_saverow" taborder="3" text="저장" class="btn5" position="absolute 1099 67 1141 89" onclick="btn_saverow_onclick"/>
- <Button id="btn_addrow" taborder="7" text="줄추가" class="btn2" visible="false" position="absolute 942 67 995 89" onclick="btn_addrow_onclick"/>
- <Button id="btn_delrow" taborder="8" text="줄삭제" class="btn2" visible="false" position="absolute 998 67 1051 89" onclick="btn_delrow_onclick"/>
- <Button id="btn_modify" taborder="20" text="수정" class="btn2" visible="false" position="absolute 1054 67 1096 89" onclick="btn_modify_onclick"/>
- <Button id="button17" taborder="24" text="일괄삭제" onclick="button17_onclick" class="btn2" enable="false" visible="false" position="absolute 808 67 872 89"/>
- <Button id="button18" taborder="25" text="CLEAR" onclick="button18_onclick" class="btn2" visible="false" position="absolute 875 67 939 89"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_diagcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptdiag" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_deptdiagcdlist_deptdiagcdinfo" 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_diagcdinfo_kcd4m" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="state" type="STRING" size="256"/>
- <Column id="morphlgccd" type="STRING" size="256"/>
- <Column id="kcd4mseqno" type="STRING" size="256"/>
- <Column id="indxcd" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="kcd4mengnm" type="STRING" size="256"/>
- <Column id="kcd4mhngnm" type="STRING" size="256"/>
- <Column id="kcd4mfromdd" type="STRING" size="256"/>
- <Column id="kcd4mtodd" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="state"/>
- <Col id="morphlgccd"/>
- <Col id="kcd4mseqno"/>
- <Col id="indxcd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="kcd4mengnm"/>
- <Col id="kcd4mhngnm"/>
- <Col id="kcd4mfromdd"/>
- <Col id="kcd4mtodd"/>
- <Col id="lastupdtdt"/>
- <Col id="lastupdtrnm"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_diagcdinfo_icd10cd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="state" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="icd10drindxcd" type="STRING" size="256"/>
- <Column id="icd10medireccd" type="STRING" size="256"/>
- <Column id="icd10engnm" type="STRING" size="256"/>
- <Column id="icd10hngnm" type="STRING" size="256"/>
- <Column id="icd10seqno" type="STRING" size="256"/>
- <Column id="icd10fromdd" type="STRING" size="256"/>
- <Column id="icd10todd" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="oldfromdd" type="STRING" size="256"/>
- <Column id="oldtodd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="state">-</Col>
- <Col id="icd10cd"/>
- <Col id="icd10drindxcd"/>
- <Col id="icd10medireccd"/>
- <Col id="icd10engnm"/>
- <Col id="icd10hngnm"/>
- <Col id="icd10seqno"/>
- <Col id="icd10fromdd"/>
- <Col id="icd10todd"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- <Col id="oldfromdd"/>
- <Col id="oldtodd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_diagcdinfo_diagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="termuseyn" type="STRING" size="256"/>
- <Column id="state" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- <Column id="diagattrcd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="alttermcd" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmddescid" 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="reprflag" type="STRING" size="256"/>
- <Column id="lglydisflag" type="STRING" size="256"/>
- <Column id="chrncsickyn" type="STRING" size="256"/>
- <Column id="estmexptyn" type="STRING" size="256"/>
- <Column id="serdiagclsyn" type="STRING" size="256"/>
- <Column id="manwomflag" type="STRING" size="256"/>
- <Column id="cncryn" type="STRING" size="256"/>
- <Column id="diagattrdrindxcd" type="STRING" size="256"/>
- <Column id="diagattrmedireccd" type="STRING" size="256"/>
- <Column id="diagattrverflag" 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="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" 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"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="essntermflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termuseyn"/>
- <Col id="state">-</Col>
- <Col id="icd10cd"/>
- <Col id="diagattrcd"/>
- <Col id="termcd"/>
- <Col id="alttermcd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmddescid"/>
- <Col id="umlscd"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="reprflag"/>
- <Col id="lglydisflag"/>
- <Col id="chrncsickyn"/>
- <Col id="estmexptyn"/>
- <Col id="serdiagclsyn"/>
- <Col id="manwomflag"/>
- <Col id="cncryn"/>
- <Col id="diagattrdrindxcd"/>
- <Col id="diagattrmedireccd"/>
- <Col id="diagattrverflag"/>
- <Col id="termfromdd"/>
- <Col id="termtodd"/>
- <Col id="termflag"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="icdfromdd"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtdt"/>
- <Col id="essntermflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_kcd4minfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="morphlgccd" type="STRING" size="256"/>
- <Column id="kcd4mengnm" type="STRING" size="256"/>
- <Column id="kcd4mhngnm" type="STRING" size="256"/>
- <Column id="indxcd" type="STRING" size="256"/>
- <Column id="version" type="STRING" size="256"/>
- <Column id="kcd4mfromdd" type="STRING" size="256"/>
- <Column id="kcd4mtodd" 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="fstrgstdate" type="STRING" size="256"/>
- <Column id="fstrgsttime" type="STRING" size="256"/>
- <Column id="kcd4mfromdate" type="STRING" size="256"/>
- <Column id="kcd4mfromtime" type="STRING" size="256"/>
- <Column id="kcd4mtodate" type="STRING" size="256"/>
- <Column id="kcd4mtotime" type="STRING" size="256"/>
- <Column id="oldkcd4mfromdd" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="kcd4mseqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="morphlgccd"/>
- <Col id="kcd4mengnm"/>
- <Col id="kcd4mhngnm"/>
- <Col id="indxcd"/>
- <Col id="version"/>
- <Col id="kcd4mfromdd"/>
- <Col id="kcd4mtodd"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstrid"/>
- <Col id="lastupdtdt"/>
- <Col id="lastupdtrid"/>
- <Col id="fstrgstdate"/>
- <Col id="fstrgsttime"/>
- <Col id="kcd4mfromdate"/>
- <Col id="kcd4mfromtime"/>
- <Col id="kcd4mtodate"/>
- <Col id="kcd4mtotime"/>
- <Col id="oldkcd4mfromdd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="kcd4mseqno"/>
- </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="icd10cd" type="STRING" size="256"/>
- <Column id="diagattrcd" 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="termengnm" type="STRING" size="256"/>
- <Column id="termhngnm" type="STRING" size="256"/>
- <Column id="diagattrdrindxcd" type="STRING" size="256"/>
- <Column id="diagattrmedireccd" type="STRING" size="256"/>
- <Column id="lglydisflag" type="STRING" size="256"/>
- <Column id="chrncsickyn" type="STRING" size="256"/>
- <Column id="estmexptyn" type="STRING" size="256"/>
- <Column id="serdiagclsyn" type="STRING" size="256"/>
- <Column id="manwomflag" type="STRING" size="256"/>
- <Column id="diagattrverflag" type="STRING" size="256"/>
- <Column id="reprflag" type="STRING" size="256"/>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="termtodd" type="STRING" size="256"/>
- <Column id="termfromdd" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="fstrgstdate" type="STRING" size="256"/>
- <Column id="fstrgsttime" type="STRING" size="256"/>
- <Column id="fstrgstrid" 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"/>
- <Column id="ageflag" type="STRING" size="256"/>
- <Column id="cncryn" type="STRING" size="256"/>
- <Column id="umlscd" type="STRING" size="256"/>
- <Column id="alttermcd" type="STRING" size="256"/>
- <Column id="appinstcd" type="STRING" size="256"/>
- <Column id="essntermflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="icd10cd"/>
- <Col id="diagattrcd"/>
- <Col id="termcd"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="snmddescid"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="diagattrdrindxcd"/>
- <Col id="diagattrmedireccd"/>
- <Col id="lglydisflag"/>
- <Col id="chrncsickyn">N</Col>
- <Col id="estmexptyn">N</Col>
- <Col id="serdiagclsyn">N</Col>
- <Col id="manwomflag">A</Col>
- <Col id="diagattrverflag"/>
- <Col id="reprflag"/>
- <Col id="termflag">0</Col>
- <Col id="termtodd"/>
- <Col id="termfromdd"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstdate"/>
- <Col id="fstrgsttime"/>
- <Col id="fstrgstrid"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="icdfromdd"/>
- <Col id="ageflag"/>
- <Col id="cncryn"/>
- <Col id="umlscd"/>
- <Col id="alttermcd"/>
- <Col id="appinstcd"/>
- <Col id="essntermflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_icd10cdlist_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="icd10cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="icd10cd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_kcd4mhist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="morphlgccd" type="STRING" size="256"/>
- <Column id="kcd4mseqno" type="STRING" size="256"/>
- <Column id="indxcd" type="STRING" size="256"/>
- <Column id="version" type="STRING" size="256"/>
- <Column id="snmdcnptid" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="kcd4mfromdd" type="STRING" size="256"/>
- <Column id="kcd4mtodd" type="STRING" size="256"/>
- <Column id="kcd4mengnm" type="STRING" size="256"/>
- <Column id="kcd4mhngnm" 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="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="morphlgccd"/>
- <Col id="kcd4mseqno"/>
- <Col id="indxcd"/>
- <Col id="version"/>
- <Col id="snmdcnptid"/>
- <Col id="snmdcnptnm"/>
- <Col id="kcd4mfromdd"/>
- <Col id="kcd4mtodd"/>
- <Col id="kcd4mengnm"/>
- <Col id="kcd4mhngnm"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstrid"/>
- <Col id="lastupdtdt"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtrid"/>
- <Col id="instcd"/>
- </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"/>
- <Column id="indxdrdiflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="depth"/>
- <Col id="indxcd"/>
- <Col id="upindxcd"/>
- <Col id="indxhngnm"/>
- <Col id="pathcd"/>
- <Col id="indxdrdiflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_srcheddiagcdlist_srcheddiagcdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_srcheddiagcdlist_srcheddiagcdinfo_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_sametermlist_appinstcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_sametermlist_info" 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="termcd" 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="alttermcd" type="STRING" size="256"/>
- <Column id="snmdcnptnm" type="STRING" size="256"/>
- <Column id="snmddescid" type="STRING" size="256"/>
- <Column id="umlscd" 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="attrcd" type="STRING" size="256"/>
- <Column id="state" type="STRING" size="256"/>
- <Column id="termflag" type="STRING" size="256"/>
- <Column id="fstrgstrid" 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"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instnm"/>
- <Col id="termcd"/>
- <Col id="reprflag"/>
- <Col id="termengnm"/>
- <Col id="termhngnm"/>
- <Col id="snmdcnptid"/>
- <Col id="alttermcd"/>
- <Col id="snmdcnptnm"/>
- <Col id="snmddescid"/>
- <Col id="umlscd"/>
- <Col id="fstrgstdt"/>
- <Col id="termfromdd"/>
- <Col id="termtodd"/>
- <Col id="attrcd"/>
- <Col id="state"/>
- <Col id="termflag"/>
- <Col id="fstrgstrid"/>
- <Col id="attrfromdd"/>
- <Col id="attrtodd"/>
- <Col id="icdfromdd"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtdt"/>
- </Row>
- </Rows>
- </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>
- <Dataset id="ds_init_M0382" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </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_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" 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"/>
- <Column id="M0534list" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="today"/>
- <Col id="curruntTime"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_A0129" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </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_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_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="reqdata" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <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_hidden_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="maininstyn" type="STRING" size="256"/>
- <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="selectedicd10" 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="sametermmode" type="STRING" size="256"/>
- <Column id="rowcnt" type="STRING" size="256"/>
- <Column id="srchindxcd" 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="indxuseflag" type="STRING" size="256"/>
- <Column id="allinsthist" type="STRING" size="256"/>
- <Column id="selInstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="maininstyn"/>
- <Col id="srchflag">C</Col>
- <Col id="srchnm"/>
- <Col id="indxflag">0</Col>
- <Col id="selctedmode">D</Col>
- <Col id="status">S</Col>
- <Col id="selectedIndx"/>
- <Col id="selectedIndxDepth"/>
- <Col id="selectedicd10"/>
- <Col id="selectedtermcd"/>
- <Col id="selectedIndxPath"/>
- <Col id="indxviewmode">H</Col>
- <Col id="sametermmode">U</Col>
- <Col id="rowcnt"/>
- <Col id="srchindxcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_temp_terminfo_altterminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_cmb_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">-</Col>
- <Col id="value">-</Col>
- </Row>
- <Row>
- <Col id="label">입력</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">수정</Col>
- <Col id="value">U</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="value">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_reprflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">대표어</Col>
- <Col id="value">R</Col>
- </Row>
- <Row>
- <Col id="label">동의어</Col>
- <Col id="value"/>
- </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="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_version" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">KCD-4</Col>
- <Col id="value">04</Col>
- </Row>
- <Row>
- <Col id="label">KCD-5</Col>
- <Col id="value">05</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_reqdata_diagindxlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_reqdata_kcd4mindxlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item24" compid="switch2.DiagTerm.input7" propid="value" datasetid="ds_main_peprterminfo_info" columnid="icdfromdd"/>
- <BindItem id="item0" compid="switch2.DiagTerm.cmb_allinsthist" propid="value" datasetid="ds_hidden_condition" columnid="allinsthist"/>
- <BindItem id="item1" compid="switch2.DiagTerm.cmb_termflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termflag"/>
- <BindItem id="item2" compid="switch2.DiagTerm.cmb_icd10cd" propid="value" datasetid="ds_main_icd10cdlist" columnid="info"/>
- <BindItem id="item3" compid="switch2.DiagTerm.ipt_fstrgsttime" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgsttime"/>
- <BindItem id="item4" compid="switch2.DiagTerm.ipt_engnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termengnm"/>
- <BindItem id="item5" compid="switch2.DiagTerm.ipt_fstrgstdate" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstdate"/>
- <BindItem id="item6" compid="switch2.DiagTerm.opt_Hdicd10cd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="icd10cd"/>
- <BindItem id="item7" compid="switch2.DiagTerm.ipt_hngnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termhngnm"/>
- <BindItem id="item8" compid="switch2.DiagTerm.ipt_medireccd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="diagattrmedireccd"/>
- <BindItem id="item9" compid="switch2.DiagTerm.cmb_reprflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="reprflag"/>
- <BindItem id="item10" compid="switch2.DiagTerm.ipt_drindxcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="diagattrdrindxcd"/>
- <BindItem id="item11" compid="switch2.DiagTerm.ipt_fstrgstdt" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstdt"/>
- <BindItem id="item12" compid="switch2.DiagTerm.ipt_diagattrcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="diagattrcd"/>
- <BindItem id="item13" compid="switch2.DiagTerm.ipt_termcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termcd"/>
- <BindItem id="item14" compid="switch2.DiagTerm.ipt_snmdcnptnm" propid="value" datasetid="ds_main_peprterminfo_info" columnid="snmdcnptnm"/>
- <BindItem id="item15" compid="switch2.DiagTerm.rdo_estmexptyn" propid="value" datasetid="ds_main_peprterminfo_info" columnid="estmexptyn"/>
- <BindItem id="item16" compid="switch2.DiagTerm.rdo_manwomflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="manwomflag"/>
- <BindItem id="item17" compid="switch2.DiagTerm.rdo_serdiagclsyn" propid="value" datasetid="ds_main_peprterminfo_info" columnid="serdiagclsyn"/>
- <BindItem id="item18" compid="switch2.DiagTerm.rdo_chrncsickyn" propid="value" datasetid="ds_main_peprterminfo_info" columnid="chrncsickyn"/>
- <BindItem id="item19" compid="switch2.DiagTerm.ipt_fstrgstrid" propid="value" datasetid="ds_main_peprterminfo_info" columnid="fstrgstrid"/>
- <BindItem id="item20" compid="switch2.DiagTerm.ipt_snmdcnptid" propid="value" datasetid="ds_main_peprterminfo_info" columnid="snmdcnptid"/>
- <BindItem id="item21" compid="switch2.DiagTerm.ipt_termfromdd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termfromdd"/>
- <BindItem id="item22" compid="switch2.DiagTerm.ipt_termtodd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="termtodd"/>
- <BindItem id="item23" compid="switch2.DiagTerm.input6" propid="value" datasetid="ds_main_peprterminfo_info" columnid="attrfromdd"/>
- <BindItem id="item25" compid="switch2.DiagTerm.cmb_lglydisflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="lglydisflag"/>
- <BindItem id="item26" compid="switch2.DiagTerm.input8" propid="value" datasetid="ds_main_peprterminfo_info" columnid="attrtodd"/>
- <BindItem id="item27" compid="switch2.DiagTerm.cmb_diagattrverflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="diagattrverflag"/>
- <BindItem id="item28" compid="switch2.DiagTerm.cmb_ageflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="ageflag"/>
- <BindItem id="item29" compid="switch2.DiagTerm.rdo_cncryn" propid="value" datasetid="ds_main_peprterminfo_info" columnid="cncryn"/>
- <BindItem id="item30" compid="switch2.DiagTerm.ipt_umlscd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="umlscd"/>
- <BindItem id="item31" compid="switch2.DiagTerm.ipt_alttermcd" propid="value" datasetid="ds_main_peprterminfo_info" columnid="alttermcd"/>
- <BindItem id="item33" compid="switch2.DiagTerm.rdo_essntermflag" propid="value" datasetid="ds_main_peprterminfo_info" columnid="essntermflag"/>
- <BindItem id="item34" compid="switch2.KCD4M.ipt_indxcd" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="indxcd"/>
- <BindItem id="item35" compid="switch2.KCD4M.ipt_morphlgccd" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="morphlgccd"/>
- <BindItem id="item36" compid="switch2.KCD4M.ipt_kcd4mengnm" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="kcd4mengnm"/>
- <BindItem id="item37" compid="switch2.KCD4M.ipt_kcd4mhngnm" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="kcd4mhngnm"/>
- <BindItem id="item38" compid="switch2.KCD4M.input1" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="fstrgstdate"/>
- <BindItem id="item39" compid="switch2.KCD4M.input2" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="fstrgsttime"/>
- <BindItem id="item40" compid="switch2.KCD4M.ipt_kcd4mfromdate" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="kcd4mfromdd"/>
- <BindItem id="item41" compid="switch2.KCD4M.ipt_kcd4mtodate" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="kcd4mtodd"/>
- <BindItem id="item42" compid="switch2.KCD4M.input9" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="fstrgstrid"/>
- <BindItem id="item43" compid="switch2.KCD4M.ipt_kcd4mseqno" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="kcd4mseqno"/>
- <BindItem id="item44" compid="switch2.KCD4M.ipt_kcdsnmdcnptid" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="snmdcnptid"/>
- <BindItem id="item45" compid="switch2.KCD4M.ipt_kcdsnmdcnptnm" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="snmdcnptnm"/>
- <BindItem id="item46" compid="switch2.KCD4M.cmb_version" propid="value" datasetid="ds_main_kcd4minfo_info" columnid="version"/>
- <BindItem id="item47" compid="switch2.case_DeptDiag.ipt_deptcd" propid="value" datasetid="ds_hidden_condition_deptset" columnid="selecteddeptcd"/>
- <BindItem id="item48" compid="switch2.case_DeptDiag.ipt_deptnm" propid="value" datasetid="ds_hidden_condition_deptset" columnid="selecteddeptnm"/>
- <BindItem id="item49" compid="switch2.case_DeptDiag.input4" propid="value" datasetid="ds_hidden_condition_deptset" columnid="srchnm"/>
- <BindItem id="item50" compid="switch2.case_DeptDiag.radio3" propid="value" datasetid="ds_hidden_condition_deptset" columnid="srchflag"/>
- <BindItem id="item51" compid="input5" propid="value" datasetid="ds_hidden_condition" columnid="srchnm"/>
- <BindItem id="item52" compid="radio2" propid="value" datasetid="ds_hidden_condition" columnid="srchflag"/>
- <BindItem id="item53" compid="radio1" propid="value" datasetid="ds_hidden_condition" columnid="indxviewmode"/>
- <BindItem id="item54" compid="input10" propid="value" datasetid="ds_hidden_condition" columnid="srchindxcd"/>
- <BindItem id="item55" compid="ipt_endfromdd" propid="value" datasetid="ds_hidden_condition" columnid="srchfromdd"/>
- <BindItem id="item56" compid="ipt_endtodd" propid="value" datasetid="ds_hidden_condition" columnid="srchtodd"/>
- <BindItem id="item57" compid="checkbox2" propid="value" datasetid="ds_hidden_condition" columnid="endflag"/>
- <BindItem id="item58" compid="checkbox1" propid="value" datasetid="ds_hidden_condition" columnid="indxuseflag"/>
- <BindItem id="item59" 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::SMMRT00200.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 lf_switch2_change() {
- if(switch2.tabindex == 0) {
- fSelICD10List();
- } else if(switch2.tabindex == 1) {
- fSelDiagList();
- } else if(switch2.tabindex == 2) {
- fSelDeptDiag();
- } else if(switch2.tabindex == 3) {
- fSelMorphoList();
- }
- }
-
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- function fn_TRMRT00201() {
- var oParam = {};
- oParam.id = "TRMRT00201";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetDiagIndxList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_indxlist_item=item";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00201";
- tranf_submit(oParam);
-
- grdf_expandDepth(trv_dgindx, 1, "indxhngnm");
- }
- function cf_TRMRT00201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fn_TRMRT00210() {
- var oParam = {};
- oParam.id = "TRMRT00210";
- 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_TRMRT00210";
- tranf_submit(oParam);
- }
- function cf_TRMRT00210(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");
- }
- function fn_TRMRT00212() {
- var oParam = {};
- oParam.id = "TRMRT00212";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetDeptDiagCdList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_deptdiagcdlist_deptdiagcdinfo=deptdiagcdinfo";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00212";
- tranf_submit(oParam);
- }
- function cf_TRMRT00212(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fn_TRMRT00205() {
- var oParam = {};
- oParam.id = "TRMRT00205";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetSameTerm";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_sametermlist_info=info ds_main_sametermlist_appinstcd=app";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00205";
- tranf_submit(oParam);
- }
- function cf_TRMRT00205(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fn_TXMRT00201() {
- var oParam = {};
- oParam.id = "TXMRT00201";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqExeRTerm";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00201";
- tranf_submit(oParam);
- }
- function cf_TXMRT00201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fn_chk_appinst() {
- ds_main_peprterminfo_info.setColumn(0,"appinstcd",String(switch2.DiagTerm.chk_appinst.getData()).replace(",","▦"));
- }
- function fn_TXMRT00202() {
- var oParam = {};
- oParam.id = "TXMRT00202";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqExeKCD4Mcd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00202";
- tranf_submit(oParam);
- }
- function cf_TXMRT00202(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function fn_TXMRT00205() {
- var oParam = {};
- oParam.id = "TXMRT00205";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqExeIndxUpdate";
- oParam.inds = "diagindxinfo=ds_send_reqdata_diagindxlist kcd4mindxinfo=ds_send_reqdata_kcd4mindxlist newindx=ds_send_reqdata_chnginfo";
- oParam.outds = "ds_main_diagcdinfo_diagcd=diaginfo ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00205";
- tranf_submit(oParam);
- }
- function cf_TXMRT00205(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- ////////////////////////////////////////////////SMMRT00200.xjs////////////////////////////////////////////////
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 화면을 초기화 한다
- ****************************************************************************************/
- function fInitalize(){
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 1, "size", 0);
- ds_hidden_condition.setColumn( 0, "selctedmode", "D");
- var currentTime = utlf_getCurrentTime();
- var instcd = sysf_getUserInfo("dutplceinstcd");
- // Edited by NJ 2007-07-21 getDate() -> utlf_getCurrentDate()
- ds_init.setColumn( 0, "today", utlf_getCurrentDate());
- ds_init.setColumn( 0, "curruntTime", currentTime.substr(0,4));
- ds_init_userinfo.setColumn( 0, "userid", sysf_getUserId());
- ds_init_userinfo.setColumn( 0, "usernm", sysf_getUserName());
- ds_init_userinfo.setColumn( 0, "instcd", instcd);
- //2009-05-06 오전 9:55:28 강지훈 수정 : 선택할수있는 기관을 공통코드로 관리한다.
- var arrParam = [{dsNm: "ds_init_M0534", cdGrpId: "M0534"}
- ,{dsNm: "ds_init_A0129", cdGrpId: "A0129"}
- ,{dsNm: "ds_init_M0382", cdGrpId: "M0382"}
- ];
- appf_getCodeList(arrParam);
- ds_init_M0534selcmb.copyData(ds_init_M0534); //중앙의료원일때 보이는 기관선택 Combo Instance 초기화
- ds_init_M0534allcmb.copyData(ds_init_M0534); //기관별이력조회의 Combo Instance 초기화
- dsf_addDsItem(ds_init_M0534selcmb, "cdid", "cdnm", "전체", "001", "above");
- dsf_addDsItem(ds_init_M0534allcmb, "cdid", "cdnm", "전체", "-", "above");
- ds_hidden_condition.setColumn( 0, "maininstyn", "N");
- ds_hidden_condition.setColumn( 0, "selInstcd", instcd);
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "indxuseflag", "string", ds_hidden_condition.getColumn(0, "indxuseflag"));
- dsf_makeValue( ds_send, "selInst", "string", ds_hidden_condition.getColumn(0, "selInst"));
-
- fn_TRMRT00201();
-
- var sProp42 = "col=4,row=2,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- switch2.DiagTerm.chk_appinst.setInitComp(sProp42, ds_init_M0534, "cdid","cdnm", "fn_chk_appinst");
- // switch2.DiagTerm.chk_appinst.style.borderBottomColor = "#0000EE" ;
- // switch2.DiagTerm.chk_appinst.style.border = '1 solid deepskyblue';
- switch2.DiagTerm.chk_appinst.setEnbale(false);
- }
- /*-**************************************************************************************
- * Argument : flag
- * Description : 입력창 세팅 Enable / Disable
- ****************************************************************************************/
- function fDisabled(flag) {
- //trace("flag :"+flag);
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(flag == "ETN" || flag == "ETM") {
- switch2.DiagTerm.cmb_icd10cd.enable = true;
- if(flag=="ETM"){
- switch2.DiagTerm.ipt_diagattrcd.enable = false;
- switch2.DiagTerm.btn_diagattrcd.visible = false;
- switch2.DiagTerm.ipt_termcd.enable = false;
- switch2.DiagTerm.ipt_snmdcnptid.enable = true;
- switch2.DiagTerm.ipt_termtodd.enable = false;
- switch2.DiagTerm.cap_appinst.enable = false;
- switch2.DiagTerm.chk_appinst.enable = false;
-
- if(maininstyn == "Y"){
- switch2.DiagTerm.rdo_essntermflag.enable = true;
- }
- } else {
- switch2.DiagTerm.ipt_diagattrcd.enable = false;
- switch2.DiagTerm.btn_diagattrcd.visible = false;
- switch2.DiagTerm.ipt_termcd.enable = false;
- switch2.DiagTerm.ipt_snmdcnptid.enable = true;
- switch2.DiagTerm.ipt_termtodd.enable = true;
- if(maininstyn == "Y"){
- switch2.DiagTerm.cap_appinst.enable = true;
- switch2.DiagTerm.chk_appinst.enable = true;
- switch2.DiagTerm.rdo_essntermflag.enable = true;
- }
- }
- switch2.DiagTerm.ipt_termfromdd.enable = true;
- switch2.DiagTerm.btn_snmdcnptid.enable = true;
- //btn_snmddescid.enable = true;
- switch2.DiagTerm.btn_medireccd.enable = true;
- switch2.DiagTerm.ipt_engnm.enable = true;
- switch2.DiagTerm.ipt_hngnm.enable = true;
- switch2.DiagTerm.cmb_reprflag.enable = true;
- switch2.DiagTerm.cmb_diagattrverflag.enable = true;
- switch2.DiagTerm.cmb_lglydisflag.enable = true;
- switch2.DiagTerm.rdo_chrncsickyn.enable = true;
- switch2.DiagTerm.rdo_estmexptyn.enable = true;
- switch2.DiagTerm.rdo_serdiagclsyn.enable = true;
- switch2.DiagTerm.rdo_cncryn.enable = true;
- switch2.DiagTerm.rdo_manwomflag.enable = true;
- switch2.DiagTerm.cmb_ageflag.enable = true;
- switch2.DiagTerm.btn_termsave.enable = true;
- } else if(flag == "TN" || flag == "TM") {
- switch2.DiagTerm.ipt_diagattrcd.enable = false;
- switch2.DiagTerm.btn_diagattrcd.visible = false;
- switch2.DiagTerm.ipt_termcd.enable = false;
- switch2.DiagTerm.ipt_snmdcnptid.enable = true; // 동의어 입력시에도 등록가능하게.
- //switch2.DiagTerm.btn_snmdcnptid.visible = false;
- switch2.DiagTerm.btn_snmdcnptid.visible = true;
- switch2.DiagTerm.btn_medireccd.enable = false;
- switch2.DiagTerm.ipt_engnm.enable = true;
- switch2.DiagTerm.ipt_hngnm.enable = true;
- switch2.DiagTerm.cmb_reprflag.enable = false;
- switch2.DiagTerm.cmb_diagattrverflag.enable = false;
- switch2.DiagTerm.cmb_lglydisflag.enable = false;
- switch2.DiagTerm.rdo_chrncsickyn.enable = false;
- switch2.DiagTerm.rdo_estmexptyn.enable = false;
- switch2.DiagTerm.rdo_serdiagclsyn.enable = false;
- switch2.DiagTerm.rdo_cncryn.enable = false;
- switch2.DiagTerm.rdo_manwomflag.enable = false;
- switch2.DiagTerm.ipt_termfromdd.enable = true;
- switch2.DiagTerm.ipt_termtodd.enable = true;
- switch2.DiagTerm.cmb_ageflag.enable = false;
- switch2.DiagTerm.chk_appinst.enable = false;
- switch2.DiagTerm.rdo_essntermflag.enable = false;
- } else if(flag == "AS") {
- switch2.DiagTerm.cmb_icd10cd.enable = false;
- switch2.DiagTerm.ipt_diagattrcd.enable = false;
- switch2.DiagTerm.btn_diagattrcd.visible = false;
- switch2.DiagTerm.ipt_termcd.enable = false;
- switch2.DiagTerm.ipt_snmdcnptid.enable = false;
- switch2.DiagTerm.ipt_snmdcnptnm.enable = false;
- switch2.DiagTerm.btn_snmdcnptid.enable = false;
- //btn_snmddescid.enable = false;
- switch2.DiagTerm.btn_medireccd.enable = false;
- switch2.DiagTerm.ipt_engnm.enable = false;
- switch2.DiagTerm.ipt_hngnm.enable = false;
- switch2.DiagTerm.cmb_reprflag.enable = false;
- switch2.DiagTerm.cmb_diagattrverflag.enable = false;
- switch2.DiagTerm.cmb_lglydisflag.enable = false;
- switch2.DiagTerm.rdo_chrncsickyn.enable = false;
- switch2.DiagTerm.rdo_estmexptyn.enable = false;
- switch2.DiagTerm.rdo_serdiagclsyn.enable = false;
- switch2.DiagTerm.rdo_cncryn.enable = false;
- switch2.DiagTerm.rdo_manwomflag.enable = false;
- switch2.DiagTerm.ipt_termfromdd.enable = false;
- switch2.DiagTerm.ipt_termtodd.enable = false;
- switch2.DiagTerm.cmb_ageflag.enable = false;
- switch2.DiagTerm.chk_appinst.enable = false;
- switch2.DiagTerm.rdo_essntermflag.enable = false;
- }
- }
- /*-**************************************************************************************
- * Argument : flag -
- * Description : 진단_MORPHOLOGY 노드세팅
- ****************************************************************************************/
- function fCntlReset( flag ) {
- if(flag == "diag"){
- if(ds_hidden_condition.getColumn(0, "status")=="ETN"){
- ds_main_peprterminfo_info.setColumn(0, "snmdcnptid", "");
- ds_main_peprterminfo_info.setColumn(0, "snmdcnptnm", "");
- ds_main_peprterminfo_info.setColumn(0, "lglydisflag", "");
- }
- ds_main_peprterminfo_info.setColumn(0, "serdiagclsyn", "");
- ds_main_peprterminfo_info.setColumn(0, "chrncsickyn", "");
- ds_main_peprterminfo_info.setColumn(0, "estmexptyn", "");
- ds_main_peprterminfo_info.setColumn(0, "termengnm", "");
- ds_main_peprterminfo_info.setColumn(0, "termhngnm", "");
- ds_main_peprterminfo_info.setColumn(0, "reprflag", "");
- ds_main_peprterminfo_info.setColumn(0, "ageflag", "");
- } else if(flag == "kcd4m"){
- ds_main_kcd4minfo_info.clearData(); ds_main_kcd4minfo_info.addRow();
- }
- }
- /*-**************************************************************************************
- * Argument : flag - 선택모드
- * Description : ICD10코드 추가 및 삭제
- ****************************************************************************************/
- function fAddRow(flag) {
- var iRow = 0;
- var currentTime = utlf_getCurrentTime();
- if(flag == "I") {
- var iRow = ds_main_diagcdinfo_icd10cd.addRow();
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "state", "I");
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "icd10todd", "99991231");
- // Edited by 나종천 ICD10 신규 추가 2008-06-16
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtdt", ds_init.getColumn(0, "today") + currentTime.substr(0,6));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "fstrgstdt", ds_init.getColumn(0, "today") + currentTime.substr(0,6));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "fstrgstrid", ds_init_userinfo.getColumn(0, "userid"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtrid", ds_init_userinfo.getColumn(0, "userid"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "icd10fromdd", ds_init.getColumn(0, "today"));
- } else if(flag == "D") {
- var iRow = ds_main_diagcdinfo_diagcd.addRow();
- ds_main_diagcdinfo_diagcd.setColumn( iRow , "state", "I" );
- ds_main_diagcdinfo_diagcd.setColumn( iRow , "termtodd", "99991231");
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단추가시 진단 용어 조회
- ****************************************************************************************/
- function fSrchDiagInfo(){
- var sCondPath = "ds_hidden_condition_deptset";
- var sSrchedDiagCdInfoPath = "ds_main_srcheddiagcdlist_srcheddiagcdinfo";
- var srchnm = this.objects[sCondPath].getColumn(0, "srchnm");
- srchnm = srchnm.replace(/^\s*|\s*$/g, '');
- if(utlf_isNull(srchnm)){
- sysf_messageBox("조회 할 내용을","C001");
- return;
- }
- ds_send.clearData();
- this.objects[sSrchedDiagCdInfoPath].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 = "TRMRT00211";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqGetSrchedDiagCdList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_srcheddiagcdlist_srcheddiagcdinfo=srcheddiagcdinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00211";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단에 진단 추가
- ****************************************************************************************/
- function fSendDeptDiag(){
- var sCondPath = "ds_hidden_condition_deptset";
- var sIndxListPath = "ds_main_indxlist_item";
- var sSrchedDiagCdListPath = "ds_main_srcheddiagcdlist_srcheddiagcdinfo";
- var sDeptDiagCdListPath = "ds_main_deptdiagcdlist_deptdiagcdinfo";
- var sDeptCd = this.objects[sCondPath].getColumn(0, "selecteddeptcd");
- var sIndxCd = ds_hidden_condition.getColumn(0, "selectedIndx");
- var sIndxNm = ds_main_indxlist_item.lookupExpr("indxcd == '" + sIndxCd + "'", "indxhngnm");
- var sSrchedDiagRowCnt = ds_main_srcheddiagcdlist_srcheddiagcdinfo.rowcount;
- var sTermcd = "";
-
- if(utlf_isNull(sDeptCd)){
- sysf_messageBox("부서코드를 먼저", "C002");
- return;
- }
- if(utlf_isNull(sIndxCd)){
- sysf_messageBox("색인코드를 먼저", "C002");
- return;
- }
- for(var iSrchedDiagRow = 0; iSrchedDiagRow < sSrchedDiagRowCnt; iSrchedDiagRow++){
- if(this.objects[sSrchedDiagCdListPath].getColumn(iSrchedDiagRow, "check") == "Y"){
- sTermcd = this.objects[sSrchedDiagCdListPath].getColumn(iSrchedDiagRow, "termcd");
- if(!utlf_isNull(this.objects[sDeptDiagCdListPath].lookupExpr("termcd == '"+sTermcd+"' && deptindxcd == '"+sIndxCd+"'", "termcd"))) continue;
- var iDeptDiagRow = this.objects[sDeptDiagCdListPath].addRow();
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "status", "I");
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "deptcd", sDeptCd);
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "deptnm", this.objects[sCondPath].getColumn(0, "selecteddeptnm"));
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "termcd", sTermcd);
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "deptindxcd", sIndxCd);
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "deptindxnm", sIndxNm);
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "termengnm", this.objects[sSrchedDiagCdListPath].getColumn(iSrchedDiagRow, "termengnm"));
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "termhngnm", this.objects[sSrchedDiagCdListPath].getColumn(iSrchedDiagRow, "termhngnm"));
- this.objects[sDeptDiagCdListPath].setColumn( iDeptDiagRow, "deptindxflag", ds_hidden_condition.getColumn(0, "indxflag"));
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단 저장
- ****************************************************************************************/
- function fSaveDeptDiagInfo(){
- 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", this.objects[xCondPath+"_deptset"].getColumn(0, "selecteddeptcd"));
- dsf_createDs("ds_send_deptdiagcdlist");
- ds_send_deptdiagcdlist.copyData(grdf_getGridUpdateData(switch2.case_DeptDiag.grd_deptdiag, "insert"), true);
- var oParam = {};
- oParam.id = "TXMRT00203";
- oParam.service = "termmngtapp.DeptSetMngt";
- oParam.method = "reqExeDeptDiagCdList";
- oParam.inds = "reqCond=ds_send deptdiagcdlist=ds_send_deptdiagcdlist";
- oParam.outds = "ds_main_deptdiagcdlist_deptdiagcdinfo=deptdiagcdinfo";
- oParam.async = false;
- oParam.callback = "cf_TXMRT00203";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMRT00203") > -1) fSrchDeptDiagInfo();
- }
- function cf_TXMRT00203(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 선택부서 과진단 조회
- ****************************************************************************************/
- function fSrchDeptDiagInfo(){
- var xCondPath = "ds_hidden_condition";
- var sIndxCd = this.objects[xCondPath].getColumn(0, "selectedIndx");
- var sDeptCd = this.objects[xCondPath+"_deptset"].getColumn(0, "selecteddeptcd");
- if(utlf_isNull(sDeptCd)) {
- sysf_messageBox("부서코드를 먼저", "C002");
- return;
- }
- if(utlf_isNull(sIndxCd)) {
- sysf_messageBox("색인코드를 먼저", "C002");
- return;
- }
-
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxcd", "string", sIndxCd);
- dsf_makeValue( ds_send, "indxflag", "string", this.objects[xCondPath].getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "deptcd", "string", sDeptCd);
- dsf_makeValue( ds_send, "pagesize", "string", pagesize);
- dsf_makeValue( ds_send, "offset", "string", "0");
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- pinfo = 1;
- fn_TRMRT00212();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 부서 선택 팝업 호출
- ****************************************************************************************/
- function fCallDeptInfo(){
- var xCondPath = "ds_hidden_condition";
- ds_main_indxlist_item.clearData();
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- // zbcfOpenInstDeptCodeList("deptnm", model.getValue(xCondPath+"_deptset_selecteddeptnm"), xCondPath+"_deptset_selecteddeptcd", xCondPath+"_deptset_selecteddeptnm", "ordduseryn", "");
- var rtnObj = appf_openInstDeptCodeList("deptnm", "", "ordduseryn", "", "depthngnm");
- 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"));
-
- fn_TRMRT00210();
- if(arErrorCode.pop("TRMRT00210") > -1) {
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- this.objects[xCondPath].setColumn( 0, "selectedIndx", "");
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 전체진단조회 팝업 호출
- ****************************************************************************************/
- function fCallExtnDiagInfo(){
- frmf_setParameter("indxflag", ds_hidden_condition.getColumn(0, "indxflag"));
- frmf_modal("SPMRT01000", "", "", "", 1, 10, 10, "", "", "", "", "", "M");
- }
- /*-**************************************************************************************
- * Argument : flag
- * Description : KCD4M 용어 컨트롤 세팅
- ****************************************************************************************/
- function fCtrlSet(flag){
- if(flag == "N"){
- switch2.KCD4M.ipt_morphlgccd.enable = true;
- switch2.KCD4M.ipt_kcd4mseqno.enable = true;
- switch2.KCD4M.ipt_kcdsnmdcnptid.enable = true;
- switch2.KCD4M.ipt_kcd4mengnm.enable = true;
- switch2.KCD4M.ipt_kcd4mhngnm.enable = true;
- switch2.KCD4M.ipt_kcd4mfromdate.enable = true;
- switch2.KCD4M.ipt_kcd4mtodate.enable = true;
- switch2.KCD4M.cmb_version.enable = true;
- } else if(flag == "M") {
- switch2.KCD4M.ipt_kcd4mengnm.enable = true;
- switch2.KCD4M.ipt_kcd4mhngnm.enable = true;
- switch2.KCD4M.ipt_kcdsnmdcnptid.enable = true;
- switch2.KCD4M.ipt_kcd4mfromdate.enable = true;
- switch2.KCD4M.ipt_kcd4mtodate.enable = true;
- switch2.KCD4M.cmb_version.enable = true;
- } else {
- switch2.KCD4M.ipt_morphlgccd.enable = false;
- switch2.KCD4M.ipt_kcd4mengnm.enable = false;
- switch2.KCD4M.ipt_kcd4mhngnm.enable = false;
- switch2.KCD4M.ipt_kcd4mfromdate.enable = false;
- switch2.KCD4M.ipt_kcd4mtodate.enable = false;
- switch2.KCD4M.ipt_kcd4mseqno.enable = false;
- switch2.KCD4M.ipt_kcdsnmdcnptid.enable = false;
- switch2.KCD4M.cmb_version.enable = false;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : ICD10코드 리스트를 조회
- ****************************************************************************************/
- function fSelICD10List(){
- var sSelectedMode = ds_hidden_condition.getColumn(0, "selctedmode");
- btn_addrow.visible = true;
- btn_delrow.visible = true;
- btn_saverow.visible = true;
- btn_modify.visible = true;
- cap_selInst.visible = false;
- cmb_selInst.visible = false;
- if(sSelectedMode == "K" || sSelectedMode == "P") {
- ds_hidden_condition.setColumn( 0, "indxflag", "0");
- 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_TRMRT00201();
- }
- ds_hidden_condition.setColumn( 0, "selctedmode", "I");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 진단코드 리스트를 조회
- ****************************************************************************************/
- function fSelDiagList(){
- var sSelectedMode = ds_hidden_condition.getColumn(0, "selctedmode");
- btn_addrow.visible = false;
- btn_delrow.visible = false;
- btn_saverow.visible = true;
- btn_modify.visible = false;
- //2009-03-19 오후 2:26:46 강지훈 수정 : 기관별 용어를 조회한다.
- if(sysf_getUserInfo("dutplceinstcd") == "001"){
- cap_selInst.visible = true;
- cmb_selInst.visible = true;
- }
- if(sSelectedMode == "K" || sSelectedMode == "P") {
- ds_hidden_condition.setColumn( 0, "indxflag", "0");
- 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"));
- dsf_makeValue( ds_send, "indxuseflag", "string", ds_hidden_condition.getColumn(0, "indxuseflag"));
- fn_TRMRT00201();
- }
- ds_hidden_condition.setColumn( 0, "selctedmode", "D");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : Morphology코드 리스트를 조회
- ****************************************************************************************/
- function fSelMorphoList(){
- btn_addrow.visible = false;
- btn_delrow.visible = false;
- btn_saverow.visible = false;
- btn_modify.visible = false;
- cap_selInst.visible = false;
- cmb_selInst.visible = false;
- ds_hidden_condition.setColumn( 0, "selctedmode", "K");
- ds_hidden_condition.setColumn( 0, "indxflag", "4");
- 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_TRMRT00201();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 동의어 리스트에서 선택
- ****************************************************************************************/
- function fGetSynom(){
- var iRow = ds_main_sametermlist_info.rowposition;
- if( iRow < 0 ) return;
-
- var indx = ds_hidden_condition.getColumn(0, "selectedIndx");
- var icd10 = ds_hidden_condition.getColumn(0, "selectedicd10");
- var path = ds_hidden_condition.getColumn(0, "selectedIndxPath");
- var term = ds_main_sametermlist_info.getColumn(iRow, "termcd");
- ds_hidden_condition.setColumn( 0, "selectedtermcd", term);
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- switch2.DiagTerm.btn_delete2.enable = true;
-
- fDisabled("AS");
-
- ds_hidden_condition.setColumn( 0, "status", "STM");
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", term.split(".")[0]); // ICD10
- ds_main_peprterminfo_info.setColumn( 0, "diagattrcd", term.split(".")[1]); // 확장코드
- ds_main_peprterminfo_info.setColumn( 0, "termcd", term.split(".")[2]); // 대표어(동의어)코드
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptid", ds_main_sametermlist_info.getColumn(iRow, "snmdcnptid")); // 스노메드-cnpt id
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptnm", ds_main_sametermlist_info.getColumn(iRow, "snmdcnptnm")); // 스노메드-cncpt 명
- ds_main_peprterminfo_info.setColumn( 0, "umlscd", ds_main_sametermlist_info.getColumn(iRow, "umlscd")); // UMLS 코드
- ds_main_peprterminfo_info.setColumn( 0, "termengnm", ds_main_sametermlist_info.getColumn(iRow, "termengnm")); // 영문
- ds_main_peprterminfo_info.setColumn( 0, "termhngnm", ds_main_sametermlist_info.getColumn(iRow, "termhngnm")); // 한글
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", ds_main_sametermlist_info.getColumn(iRow, "reprflag")); // 대표어구분
- ds_main_peprterminfo_info.setColumn( 0, "termflag", ds_main_sametermlist_info.getColumn(iRow, "termflag")); // 용어구분
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_main_sametermlist_info.getColumn(iRow, "lastupdtrnm")); // 최종등록자
- //저장시 필요한 키값
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_sametermlist_info.getColumn(iRow, "attrfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_sametermlist_info.getColumn(iRow, "attrtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "icdfromdd", ds_main_sametermlist_info.getColumn(iRow, "icdfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "alttermcd", ds_main_sametermlist_info.getColumn(iRow, "alttermcd"));
- ds_main_peprterminfo_info.setColumn( 0, "essntermflag", ds_main_sametermlist_info.getColumn(iRow, "essntermflag"));
- ds_main_peprterminfo_info.setColumn( 0, "appinstcd", ds_main_sametermlist_info.getColumn(iRow, "appinstcd")); //적용기관
- var fstrgstdt = ds_main_sametermlist_info.getColumn(iRow, "fstrgstdt");
- var termfromdd = ds_main_sametermlist_info.getColumn(iRow, "termfromdd");
- var termtodd = ds_main_sametermlist_info.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 fSetInj(){
- //동의어 신규
- var jRow = ds_main_diagcdinfo_diagcd.rowposition;
- var term1 = ds_main_diagcdinfo_diagcd.getColumn(jRow, "termcd"); //그리드에서 선택한 term
- var diagattr = ds_main_diagcdinfo_diagcd.getColumn(jRow, "diagattrcd"); //그리드에서 선택한 term
- var icd10cd = ds_main_diagcdinfo_diagcd.getColumn(jRow, "icd10cd"); //그리드에서 선택한 term
- var indx = ds_hidden_condition.getColumn(0, "selectedIndx"); //트리에서 선택한 index
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- if(utlf_isNull(term1)) {
- var rtn = sysf_messageBox("진단 용어를 ", "C002");
- return;
- }
-
- fDisabled("TN");
-
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- switch2.DiagTerm.btn_delete2.enable = false;
- fCntlReset("diag");
- ds_hidden_condition.setColumn( 0, "status", "TN"); //term만 new
- dsf_createDs("ds_send_reqdata");
- dsf_createDs("ds_main_temp_info");
- dsf_makeValue( ds_send_reqdata, "icd10cd", "string", icd10cd);
- dsf_makeValue( ds_send_reqdata, "diagattrcd", "string", diagattr);
- var oParam = {};
- oParam.id = "TRMRT00208";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetNewtermcd";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_temp_info=info";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00208";
- tranf_submit(oParam);
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", ds_main_temp_info.getColumn(0, "icd10cd"));
- ds_main_peprterminfo_info.setColumn( 0, "diagattrcd", ds_main_temp_info.getColumn(0, "diagattrcd").split(".")[1]);
- ds_main_peprterminfo_info.setColumn( 0, "termcd", ds_main_temp_info.getColumn(0, "termcd"));
- // Edited by 2007-08-16 대표어 'R' 그 외 값은 ''로 처리
- // ds_main_peprterminfo_info.setColumn( 0, "reprflag", "S");
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", "");
- ds_main_peprterminfo_info.setColumn( 0, "diagattrmedireccd", ds_main_diagcdinfo_diagcd.getColumn(jRow, "diagattrmedireccd"));
-
- var path = ds_hidden_condition.getColumn(0, "selectedIndxPath").split(".");
-
- ds_main_peprterminfo_info.setColumn( 0, "diagattrdrindxcd", path[path.length-2]);
- ds_main_peprterminfo_info.setColumn( 0, "termflag", "0");
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_init_userinfo.getColumn(0, "userid"));
- ds_main_peprterminfo_info.setColumn( 0, "termengnm", ds_main_diagcdinfo_diagcd.getColumn(jRow, "termengnm"));
- ds_main_peprterminfo_info.setColumn( 0, "termhngnm", ds_main_diagcdinfo_diagcd.getColumn(jRow, "termhngnm"));
- dsf_makeValue( ds_main_peprterminfo_info, "oldattrfromdd", "string", ds_main_diagcdinfo_diagcd.getColumn(jRow, "attrfromdd"));
- //신규 등록 모드는 디폴트를 설정
- 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, "fstrgstrid", ds_init_userinfo.getColumn(0, "usernm"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 신규 용어 등록
- ****************************************************************************************/
- function fSetNewTerm(){
- var sIndx = ds_hidden_condition.getColumn(0, "selectedIndx");
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(utlf_isNull(sIndx)) {
- var rtn = sysf_messageBox("색인을 ", "C002");
- return;
- }
- ds_main_peprterminfo_info.setColumn( 0, "appinstcd", "");
- ds_main_peprterminfo_info.setColumn( 0, "essntermflag", "N");
- ds_main_sametermlist_info.clearData(); // 신규버튼 클릭시 동의어 그리드 초기화
- ds_hidden_condition.setColumn( 0, "status", "ETN");
- switch2.DiagTerm.opt_Hdicd10cd.visible = false;
- switch2.DiagTerm.cmb_icd10cd.visible = true;
- switch2.DiagTerm.btn_delete2.enable = false;
-
- fCntlReset("diag");
- fDisabled("ETN");
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxcd", "string", sIndx);
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- //선택한 인덱스에 해당하는 ICD10코드를 가지고 온다..
- var oParam = {};
- oParam.id = "TRMRT00206";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetInclICD10cd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_icd10cdlist_info=info";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00206";
- tranf_submit(oParam);
- switch2.DiagTerm.cmb_reprflag.index = 0;
- // Edited by NJ 2007-07-21 getDate() -> utlf_getCurrentDate()
- //ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", getDate() );
- 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, "fstrgstrid", sysf_getUserName());
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 용어 수정
- ****************************************************************************************/
- function fSetTermUpdt(){
- var selTermcd = ds_hidden_condition.getColumn(0, "selectedtermcd");
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- if(utlf_isNull(selTermcd)) {
- var rtn = sysf_messageBox("icd10 코드를 ", "C002");
- return;
- }
-
- // Edited by NJ 2007-07-21 getDate() -> utlf_getCurrentDate()
- var today = utlf_getCurrentDate();
- if(ds_main_peprterminfo_info.getColumn(0, "termfromdd") >= today){
- var rtn = sysf_messageBox("당일 등록한 용어는 수정 ", "E001");
- return;
- }
- fDisabled("ETM");
-
- ds_hidden_condition.setColumn( 0, "status", "ETM");
- switch2.DiagTerm.btn_delete2.enable = false;
- 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, "fstrgstrid", sysf_getUserName());
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 진단용어 저장
- ****************************************************************************************/
- function fSaveDiag(){
- var insICD10cd = ds_main_peprterminfo_info.getColumn(0, "icd10cd");
- var insdiagattrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- var insTermcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var fullTermCode = insICD10cd + "." + insdiagattrcd + "." + insTermcd;
- var rowCnt = ds_main_diagcdinfo_diagcd.rowposition;
- var orgReprFlag = ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "reprflag"); //상단 그리드의 원래 대표어구분
- var chngReprFlag = ds_main_peprterminfo_info.getColumn(0, "reprflag"); //저장시, 변경된 대표어구분
- ds_send.clearData();
- dsf_createDs("ds_send_reqdata");
- ds_send_reqdata.copyData(ds_main_peprterminfo_info);
- ds_send_reqdata.setColumn( 0, "icd10cd", insICD10cd);
- ds_send_reqdata.setColumn( 0, "diagattrcd", insICD10cd + "." + insdiagattrcd);
- ds_send_reqdata.setColumn( 0, "termcd", fullTermCode);
- ds_send_reqdata.setColumn( 0, "fstrgstdt", ds_main_peprterminfo_info.getColumn(0, "fstrgstdate") + ds_main_peprterminfo_info.getColumn(0, "fstrgsttime")+"00"); //용어등록일
- ds_send_reqdata.setColumn( 0, "termflag", "0"); //용어구분
- dsf_makeValue( ds_send_reqdata, "indxcd", "string", ds_hidden_condition.getColumn(0, "selectedIndx"));
- dsf_makeValue( ds_send_reqdata, "status", "string", ds_hidden_condition.getColumn(0, "status")); //TN:용어만 등록, ETN:용어,속성함께등록,TM:용어만수정, EM:속성만수정,
- 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"));
- if(ds_hidden_condition.getColumn(0, "status") == "ETN" || ds_hidden_condition.getColumn(0, "status") == "TN") {
- //2009-03-28 오후 1:49:29 강지훈 수정 : 기관에서 등록할때는 적용기관이 필수이다.
- var mainInstYn = ds_hidden_condition.getColumn(0, "maininstyn");
- var appInstcd = ds_main_peprterminfo_info.getColumn(0, "appinstcd");
- if(mainInstYn == "Y" && utlf_isNull(appInstcd)) {
- var rtn = sysf_messageBox("선택된 적용기관이 없으므로 저장 ", "E001");
- return;
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- }
- } else if(ds_hidden_condition.getColumn(0, "status") == "STM") {
- //왼쪽 그리드에서 정보를 선택했을 때
- var sRowCnt = ds_main_sametermlist_info.rowposition;
- var orgReprFlag2 = orgReprFlag;
- if(fullTermCode == ds_main_sametermlist_info.getColumn(sRowCnt, "termcd")) {
- if( ds_main_sametermlist_info.getColumn(sRowCnt, "termengnm") != ds_main_peprterminfo_info.getColumn(0, "termengnm") ||
- ds_main_sametermlist_info.getColumn(sRowCnt, "termhngnm") != ds_main_peprterminfo_info.getColumn(0, "termhngnm") ||
- ds_main_sametermlist_info.getColumn(sRowCnt, "termflag") != ds_main_peprterminfo_info.getColumn(0, "termflag") ) {
- if(orgReprFlag2 != chngReprFlag ){
- if(orgReprFlag2 != "R" ) {
- //동의어나 유사어를 대표어로 수정하는 경우 (대표어구분코드를 맞교환)
- if( chngReprFlag != "R" )
- ds_send_reqdata.setColumn( 0, "status", "TM");
- else {
- ds_send_reqdata.setColumn( 0, "orgreprflag", orgReprFlag2); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- ds_send_reqdata.setColumn( 0, "status", "TFM");
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- } else {
- var rtn = sysf_messageBox("대표어를 동의어나 유사어로 수정 ", "E001");
- return;
- //동의어를 대표어로 바꾸는 것만 허용
- }
- } else {
- ds_send_reqdata.setColumn( 0, "status", "TM");
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- }
- } else {
- var rtn = sysf_messageBox("변경된 내용이 없으므로 저장 ", "E001");
- return;
- }
- } else {
- var rtn = sysf_messageBox("신규입력 버튼을 ", "C002");
- return;
- }
- } else {
- if(fullTermCode == ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "termcd")) {
- // 용어명칭이 바뀐 경우
- if( ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "termengnm") != ds_main_peprterminfo_info.getColumn(0, "termengnm") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "termhngnm") != ds_main_peprterminfo_info.getColumn(0, "termhngnm") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "termflag") != ds_main_peprterminfo_info.getColumn(0, "termflag") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "essntermflag") != ds_main_peprterminfo_info.getColumn(0, "essntermflag") ) {
- if( ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "lglydisflag") != ds_main_peprterminfo_info.getColumn(0, "lglydisflag") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "chrncsickyn") != ds_main_peprterminfo_info.getColumn(0, "chrncsickyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "estmexptyn") != ds_main_peprterminfo_info.getColumn(0, "estmexptyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "serdiagclsyn") != ds_main_peprterminfo_info.getColumn(0, "serdiagclsyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "manwomflag") != ds_main_peprterminfo_info.getColumn(0, "manwomflag") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "cncryn") != ds_main_peprterminfo_info.getColumn(0, "cncryn") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrdrindxcd") != ds_main_peprterminfo_info.getColumn(0, "diagattrdrindxcd") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrmedireccd") != ds_main_peprterminfo_info.getColumn(0, "diagattrmedireccd") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrverflag") != ds_main_peprterminfo_info.getColumn(0, "diagattrverflag") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptid") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptid") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptnm") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptnm") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "ageflag") != ds_main_peprterminfo_info.getColumn(0, "ageflag") ) {
- if( orgReprFlag != chngReprFlag ){
- if( orgReprFlag != "R" ) {
- //동의어나 유사어를 대표어로 수정하는 경우 (대표어구분코드를 맞교환)
- if( chngReprFlag != "R" )
- ds_send_reqdata.setColumn( 0, "status", "ETM"); // 유사어 구분이 없기 때문에 이 로직은 타지 않는다.
- else {
- dsf_makeValue( ds_send_reqdata, "orgreprflag", "string", orgReprFlag); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- ds_send_reqdata.setColumn( 0, "status", "ETFM");
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- } else {
- var rtn = sysf_messageBox("대표어를 동의어나 유사어로 수정 ", "E001");
- return;
- //동의어를 대표어로 바꾸는 것만 허용
- }
- } else {
- ds_send_reqdata.setColumn( 0, "status", "ETM");
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- }
- } else {
- //용어테이블만 수정되었을 경우
- if( orgReprFlag != chngReprFlag ){
- if( orgReprFlag != "R" ) {
- //동의어나 유사어를 대표어로 수정하는 경우 (대표어구분코드를 맞교환)
- if( chngReprFlag != "R" )
- ds_send_reqdata.setColumn( 0, "status", "TM"); // 동의어 유사어 구분이 없기 때문에 이 로직은 타지 않는다
- else {
- dsf_makeValue( ds_send_reqdata, "orgreprflag", "string", orgReprFlag); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- ds_send_reqdata.setColumn( 0, "status", "TFM");
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- } else {
- var rtn = sysf_messageBox("대표어를 동의어나 유사어로 수정 ", "E001");
- return;
- //동의어를 대표어로 바꾸는 것만 허용
- }
- } else {
- ds_send_reqdata.setColumn( 0, "status", "TM");
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- }
- }
- // 용어 명칭 외의 것이 바뀐 경우
- } else {
- //속성만 수정
- if( ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "lglydisflag") != ds_main_peprterminfo_info.getColumn(0, "lglydisflag") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "chrncsickyn") != ds_main_peprterminfo_info.getColumn(0, "chrncsickyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "estmexptyn") != ds_main_peprterminfo_info.getColumn(0, "estmexptyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "serdiagclsyn") != ds_main_peprterminfo_info.getColumn(0, "serdiagclsyn") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "manwomflag") != ds_main_peprterminfo_info.getColumn(0, "manwomflag") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "cncryn") != ds_main_peprterminfo_info.getColumn(0, "cncryn") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrdrindxcd") != ds_main_peprterminfo_info.getColumn(0, "diagattrdrindxcd") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrmedireccd") != ds_main_peprterminfo_info.getColumn(0, "diagattrmedireccd") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "diagattrverflag") != ds_main_peprterminfo_info.getColumn(0, "diagattrverflag") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptid") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptid") ||
- //ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptnm") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptnm") ||
- ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "ageflag") != ds_main_peprterminfo_info.getColumn(0, "ageflag") ) {
- if( orgReprFlag != chngReprFlag ) {
- if(orgReprFlag != "R" ) {
- //동의어나 유사어를 대표어로 수정하는 경우 (대표어구분코드를 맞교환)
- if( chngReprFlag != "R" )
- ds_send_reqdata.setColumn( 0, "status", "ETM"); // 동의어 유사어 구분이 없기 때문에 이 로직은 타지 않는다
- else {
- //2009 02 16 강지훈 수정 : 오류수정
- //ds_send_reqdata.setColumn( 0, "orgreprflag", orgReprFlag); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- dsf_makeValue( ds_send_reqdata, "orgreprflag", "string", orgReprFlag); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- ds_send_reqdata.setColumn( 0, "status", "EFM");
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- } else {
- var rtn = sysf_messageBox("대표어를 동의어나 유사어로 수정 ", "E001");
- return;
- //동의어를 대표어로 바꾸는 것만 허용
- }
- } else {
- ds_send_reqdata.setColumn( 0, "status", "EM");
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- }
- } else {
- //순수 용어 테이블만 수정되었을 경우(기존에는 대표어, 동의어)
- if( orgReprFlag != chngReprFlag ){
- if( orgReprFlag != "R" ) {
- //동의어나 유사어를 대표어로 수정하는 경우 (대표어구분코드를 맞교환)
- if( chngReprFlag != "R" )
- ds_send_reqdata.setColumn( 0, "status", "TM");
- else {
- if (ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptid") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptid"))
- {
- ds_send_reqdata.setColumn( 0, "status", "TM");
- }
- else {
- //2009 02 16 강지훈 수정 : 오류수정
- dsf_makeValue( ds_send_reqdata, "orgreprflag", "string", orgReprFlag); //대표어구분을 교환하기 위해 원래 값을 다시 세팅한다.
- ds_send_reqdata.setColumn( 0, "status", "FM");
- }
- }
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- } else {
- var rtn = sysf_messageBox("대표어를 동의어나 유사어로 수정 ", "E001");
- return;
- //동의어를 대표어로 바꾸는 것만 허용
- }
- // 대표어구분이 바뀌지 않고 snomed만 바뀐 경우
- } else {
- if (ds_main_diagcdinfo_diagcd.getColumn(rowCnt, "snmdcnptid") != ds_main_peprterminfo_info.getColumn(0, "snmdcnptid"))
- {
- ds_send_reqdata.setColumn( 0, "status", "TM");
-
- fn_TXMRT00201();
-
- if(arErrorCode.pop("TXMRT00201") > -1){
- fCntlReset("diag");
- ds_main_sametermlist_appinstcd.clearData();
- ds_main_sametermlist_info.clearData();
- ds_main_peprterminfo_info.clearData(); ds_main_peprterminfo_info.addRow();
- }
- }
- else
- {
- var rtn = sysf_messageBox("수정된 사항이 없으므로 수정 ", "E001");
- return;
- }
- }
- }
- }
- } else {
- var rtn = sysf_messageBox("용어를 입력하시려면 입력 버튼을 ", "C002");
- }
- }
-
- fDisabled("AS");
- switch2.DiagTerm.btn_delete2.enable = true;
- ds_hidden_condition.setColumn( 0, "status", "");
- }
- /*-**************************************************************************************
- * Argument : flag - 상태구분
- * Description : 진단용어 사용종료
- ****************************************************************************************/
- function fEndDiagTerm(){
- var selTermcd = ds_hidden_condition.getColumn(0, "selectedtermcd");
- var insicd10cd = ds_main_peprterminfo_info.getColumn(0, "icd10cd");
- var diagattrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- var insTermcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var sRow = ds_main_sametermlist_info.rowcount;
- if(utlf_isNull(insTermcd)){
- var rtn = sysf_messageBox("삭제할 진단용어를 ", "C002");
- return;
- }
- //대표어일지라도 동의어_유사어가 없다면 삭제 가능함.
- if(ds_main_peprterminfo_info.getColumn(0, "reprflag") == "R" && sRow >= 1) {
- dsf_createDs("ds_hidden_exists");
- dsf_createDsRow("ds_send_reqdata", [
- {col:"termcd", type:"STRING", size:256, val:insicd10cd + "." + diagattrcd + "." + insTermcd}
- , {col:"attrcd", type:"STRING", size:256, val:insicd10cd + "." + diagattrcd}
- , {col:"termflag", type:"STRING", size:256, val:ds_hidden_condition.getColumn(0, "indxflag")}
- ]);
- var oParam = {};
- oParam.id = "TRMRT00215";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetExistSameTerm";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_hidden_exists=sametermyn";
- oParam.async = false;
- oParam.callback = "cf_TRMRT00215";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMRT00215") > -1){
- var sametermyn = ds_hidden_exists.getColumn(0, "sametermyn");
- if(sametermyn == "Y"){
- var rtn = sysf_messageBox("대표어는 삭제 ", "E001");
- return;
- }
- } else {
- return;
- }
- }
- var rtn = sysf_messageBox("선택한 진단용어를", "Q001");
- if( rtn == "6") { //진단코드를 삭제하시겠습니까?
- var altmsg = sysf_messageBox("대체코드를", "Q014");
- if(altmsg == "6"){
- switch2.DiagTerm.btn_altterm.enable = true;
- var refds = "ds_main_peprterminfo_info";
- var refcol = "alttermcd";
- var altflag = fCallTermSrch(refds, refcol);
- switch2.DiagTerm.btn_altterm.enable = false;
- if(!altflag){
- return;
- }
- }
-
- ds_hidden_condition.setColumn( 0, "status", "TD");
- ds_send_reqdata.clearData();
- dsf_makeValue( ds_send_reqdata, "indxcd", "string", ds_hidden_condition.getColumn(0, "selectedIndx"));
- dsf_makeValue( ds_send_reqdata, "icd10cd", "string", insicd10cd);
- dsf_makeValue( ds_send_reqdata, "diagattrcd", "string", insicd10cd + "." + diagattrcd);
- dsf_makeValue( ds_send_reqdata, "termcd", "string", insicd10cd + "." + diagattrcd + "." + insTermcd);
- dsf_makeValue( ds_send_reqdata, "status", "string", ds_hidden_condition.getColumn(0, "status")); //N:등록, M:수정, D:삭제
- dsf_makeValue( ds_send_reqdata, "termflag", "string", "0"); //용어구분
- dsf_makeValue( ds_send_reqdata, "termfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- dsf_makeValue( ds_send_reqdata, "oldtermfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "termfromdd"));
- dsf_makeValue( ds_send_reqdata, "attrfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "attrfromdd"));
- dsf_makeValue( ds_send_reqdata, "oldattrfromdd", "string", ds_main_peprterminfo_info.getColumn(0, "attrfromdd"));
- dsf_makeValue( ds_send_reqdata, "alttermcd", "string", ds_main_peprterminfo_info.getColumn(0, "alttermcd"));
-
- fn_TXMRT00201();
- } else if( rtn == "7") {
- return;
- }
- }
- function cf_TRMRT00215(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 동의어 리스트 조회
- ****************************************************************************************/
- function fGetSynomList(){
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 1, "size", 0);
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 3, "size", 47);
- var iRow = ds_main_diagcdinfo_diagcd.rowposition;
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- switch2.DiagTerm.cap_allinsthist.visible = false;
- switch2.DiagTerm.cmb_allinsthist.visible = false;
- switch2.DiagTerm.btn_delete2.enable = false;
- switch2.DiagTerm.btn_sameterm.enable = true;
- switch2.DiagTerm.btn_modify1.enable = true;
- switch2.DiagTerm.btn_rollback.enable = true;
- switch2.DiagTerm.btn_termsave.enable = true;
- var term = ds_main_diagcdinfo_diagcd.getColumn(iRow, "termcd");
- var diagattrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- var termcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(maininstyn == "N" && diagattrcd == "999" && termcd == "99"){
- switch2.DiagTerm.btn_modify1.enable = false;
- }
- else{
- switch2.DiagTerm.btn_modify1.enable = true;
- }
- ds_hidden_condition.setColumn( 0, "sametermmode", "U");
- ds_send.clearData();
- dsf_makeValue( ds_send, "diagattrcd", "string", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrcd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- fn_TRMRT00205();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 용어 이력 리스트 조회
- ****************************************************************************************/
- function fGetDiagTermHistList(){
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 1, "size", 0);
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 3, "size", 0);
- var iRow = ds_main_diagcdinfo_diagcd.rowposition;
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- switch2.DiagTerm.cap_allinsthist.visible = false;
- switch2.DiagTerm.cmb_allinsthist.visible = false;
- switch2.DiagTerm.btn_delete2.enable = false;
- switch2.DiagTerm.btn_sameterm.enable = true;
- //2009-04-28 오후 3:21:38 강지훈 수정 : 중앙이 아닌 기관일경우 확장,용어코드가 000.00인것은 수정불가처리
- var term = ds_main_diagcdinfo_diagcd.getColumn(iRow, "termcd");
- var diagattrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- var termcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(maininstyn == "N" && diagattrcd == "999" && termcd == "99"){
- switch2.DiagTerm.btn_modify1.enable = false;
- }
- else{
- switch2.DiagTerm.btn_modify1.enable = true;
- }
- switch2.DiagTerm.btn_rollback.enable = true;
- switch2.DiagTerm.btn_termsave.enable = true;
- ds_hidden_condition.setColumn( 0, "sametermmode", "N");
- ds_send.clearData();
- dsf_makeValue( ds_send, "diagattrcd", "string", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrcd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- fn_TRMRT00205();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 기관별 용어 이력 리스트 조회
- ****************************************************************************************/
- function fGetDiagInstTermHistList(){
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 1, "size", 100);
- switch2.DiagTerm.grd_termlist.setFormatColProperty( 3, "size", 0);
- var iRow = ds_main_diagcdinfo_diagcd.rowposition;
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- switch2.DiagTerm.cap_allinsthist.visible = true;
- switch2.DiagTerm.cmb_allinsthist.visible = true;
- switch2.DiagTerm.btn_delete2.enable = false;
- switch2.DiagTerm.btn_sameterm.enable = false;
- switch2.DiagTerm.btn_modify1.enable = false;
- switch2.DiagTerm.btn_rollback.enable = false;
- switch2.DiagTerm.btn_termsave.enable = false;
- ds_hidden_condition.setColumn( 0, "sametermmode", "H");
- ds_send.clearData();
- dsf_makeValue( ds_send, "diagattrcd", "string", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrcd"));
- 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_TRMRT00205();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 용어 조회
- ****************************************************************************************/
- function fSrchDiagTerm(){
- 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") == "I" ) {
- ds_main_diagcdinfo_icd10cd.clearData();
- var oParam = {};
- oParam.id = "TRMRT00203";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetSrchICD10Cd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00203";
- tranf_submit(oParam);
- } else if (ds_hidden_condition.getColumn(0, "selctedmode") == "D" ) {
- ds_main_diagcdinfo_diagcd.clearData();
- var oParam = {};
- oParam.id = "TRMRT00204";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetSrchDiagCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00204";
- tranf_submit(oParam);
- } else if (ds_hidden_condition.getColumn(0, "selctedmode") == "K" ) {
- ds_main_diagcdinfo_kcd4m.clearData();
- var oParam = {};
- oParam.id = "TRMRT00209";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetSrchKCD4MCd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00209";
- tranf_submit(oParam);
- } else if(ds_hidden_condition.getColumn(0, "selctedmode") == "P" ) {
- if(utlf_isNull(ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"))){
- sysf_messageBox("과를", "C002");
- return;
- }
- ds_send.clearData();
- ds_main_deptdiagcdlist_deptdiagcdinfo.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"));
- dsf_makeValue( ds_send, "pagesize", "string", pagesize);
- dsf_makeValue( ds_send, "offset", "string", "0");
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- pinfo = 1;
- fn_TRMRT00212();
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 사용종료
- ****************************************************************************************/
- function fEndKCD4M(){
- ds_hidden_condition.setColumn( 0, "status", "MD");
- ds_send.clearData();
- ds_main_diagcdinfo_diagcd.clearData();
- ds_main_diagcdinfo_icd10cd.clearData();
- ds_main_diagcdinfo_kcd4m.clearData();
- dsf_makeValue( ds_send, "morphlgccd", "string", ds_main_kcd4minfo_info.getColumn(0, "morphlgccd"));
- dsf_makeValue( ds_send, "kcd4mseqno", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mseqno"));
- dsf_makeValue( ds_send, "indxcd", "string", ds_main_kcd4minfo_info.getColumn(0, "indxcd"));
- dsf_makeValue( ds_send, "kcd4mengnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mengnm"));
- dsf_makeValue( ds_send, "kcd4mhngnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mhngnm"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdate", ds_init.getColumn(0, "today"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromtime", ds_init.getColumn(0, "curruntTime"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodate", utlf_getCurrentDate());
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtotime", "2359");
- //Edited by 나종천 2008-06-23 사용종료의 시작일자 수정
- dsf_makeValue( ds_send, "oldkcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdd"));
- dsf_makeValue( ds_send, "kcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdate"));
- dsf_makeValue( ds_send, "kcd4mtodd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mtodate"));
- dsf_makeValue( ds_send, "status", "string", ds_hidden_condition.getColumn(0, "status"));
-
- fn_TXMRT00202();
- fCntlReset("kcd4m");
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 저장
- ****************************************************************************************/
- function fSaveKCD4M(){
- var selectedIndx = ds_hidden_condition.getColumn(0, "indxflag");
- if(utlf_isNull(selectedIndx)){
- var rtn = sysf_messageBox("색인 코드를 ", "C002");
- return;
- }
- var rowcnt = ds_hidden_condition.getColumn(0, "rowcnt");
- if(ds_hidden_condition.getColumn(0, "status") == "MN"){
- ds_send.clearData();
- ds_main_diagcdinfo_diagcd.clearData();
- ds_main_diagcdinfo_icd10cd.clearData();
- ds_main_diagcdinfo_kcd4m.clearData();
- dsf_makeValue( ds_send, "morphlgccd", "string", ds_main_kcd4minfo_info.getColumn(0, "morphlgccd"));
- dsf_makeValue( ds_send, "indxcd", "string", ds_main_kcd4minfo_info.getColumn(0, "indxcd"));
- dsf_makeValue( ds_send, "kcd4mengnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mengnm"));
- dsf_makeValue( ds_send, "kcd4mhngnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mhngnm"));
- dsf_makeValue( ds_send, "kcd4mseqno", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mseqno"));
- dsf_makeValue( ds_send, "snmdcnptid", "string", ds_main_kcd4minfo_info.getColumn(0, "snmdcnptid"));
- dsf_makeValue( ds_send, "kcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdd"));
- dsf_makeValue( ds_send, "kcd4mtodd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mtodd"));
- dsf_makeValue( ds_send, "oldkcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "oldkcd4mfromdd"));
- dsf_makeValue( ds_send, "snmdcnptid", "string", ds_main_kcd4minfo_info.getColumn(0, "snmdcnptid"));
- dsf_makeValue( ds_send, "version", "string", ds_main_kcd4minfo_info.getColumn(0, "version"));
- dsf_makeValue( ds_send, "status", "string", ds_hidden_condition.getColumn(0, "status"));
- fn_TXMRT00202();
-
- if(arErrorCode.pop("TXMRT00202") > -1){
- ds_main_kcd4minfo_info.clearData(); ds_main_kcd4minfo_info.addRow();
- fCntlReset("kcd4m");
- }
- return;
- }
- if(ds_main_kcd4minfo_info.getColumn(0, "morphlgccd") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "morphlgccd") &&
- ds_main_kcd4minfo_info.getColumn(0, "kcd4mengnm") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "kcd4mengnm") &&
- ds_main_kcd4minfo_info.getColumn(0, "kcd4mhngnm") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "kcd4mhngnm") &&
- ds_main_kcd4minfo_info.getColumn(0, "snmdcnptid") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "snmdcnptid") &&
- ds_main_kcd4minfo_info.getColumn(0, "indxcd") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "indxcd") &&
- ds_main_kcd4minfo_info.getColumn(0, "version") == ds_main_diagcdinfo_kcd4m.getColumn(rowcnt, "version")){
- var rtn = sysf_messageBox("수정되지 ", "E007");
- return;
- } else{
- ds_send.clearData();
- ds_main_diagcdinfo.clearData();
- dsf_makeValue( ds_send, "morphlgccd", "string", ds_main_kcd4minfo_info.getColumn(0, "morphlgccd"));
- dsf_makeValue( ds_send, "indxcd", "string", ds_main_kcd4minfo_info.getColumn(0, "indxcd"));
- dsf_makeValue( ds_send, "kcd4mengnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mengnm"));
- dsf_makeValue( ds_send, "kcd4mhngnm", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mhngnm"));
- dsf_makeValue( ds_send, "kcd4mseqno", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mseqno"));
- dsf_makeValue( ds_send, "snmdcnptid", "string", ds_main_kcd4minfo_info.getColumn(0, "snmdcnptid"));
- dsf_makeValue( ds_send, "kcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdd"));
- dsf_makeValue( ds_send, "kcd4mtodd", "string", ds_main_kcd4minfo_info.getColumn(0, "kcd4mtodd"));
- dsf_makeValue( ds_send, "oldkcd4mfromdd", "string", ds_main_kcd4minfo_info.getColumn(0, "oldkcd4mfromdd"));
- dsf_makeValue( ds_send, "version", "string", ds_main_kcd4minfo_info.getColumn(0, "version"));
- dsf_makeValue( ds_send, "status", "string", ds_hidden_condition.getColumn(0, "status"));
- fn_TXMRT00202();
-
- if(arErrorCode.pop("TXMRT00202") > -1) {
- ds_main_kcd4minfo_info.clearData(); ds_main_kcd4minfo_info.addRow();
- fCntlReset("kcd4m");
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 수정
- ****************************************************************************************/
- function fSetKCD4MUpdt(){
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- var iRow = ds_main_diagcdinfo_kcd4m.rowposition;
- ds_hidden_condition.setColumn( 0, "status", "MM");
-
- fCtrlSet("M");
-
- ds_main_kcd4minfo_info.setColumn( 0, "indxcd", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "indxcd"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdate", fromdd.getDateFormat());
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromtime", ds_init.getColumn(0, "curruntTime"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodate", "99991231");
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtotime", "2359");
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdd", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdate"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodd", ds_main_kcd4minfo_info.getColumn(0, "kcd4mtodate"));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstdt", dsf_getColumnNullToEmpty(ds_main_kcd4minfo_info, 0, "kcd4mfromdate")+dsf_getColumnNullToEmpty(ds_main_kcd4minfo_info, 0, "kcd4mfromtime")+"00");
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstrid", sysf_getUserName());
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 신규 등록
- ****************************************************************************************/
- function fSetNewKCD4M(){
- var sIndx = ds_hidden_condition.getColumn(0, "selectedIndx");
- var fromdd = ((utlf_getCurrentDate()).toDate()).getAddDate(1);
- if(trv_dgindx.currentrow < 0){
- var rtn = sysf_messageBox("색인을 ", "C002");
- return;
- }
- ds_hidden_condition.setColumn( 0, "status", "MN");
-
- fCntlReset("kcd4m");
- fCtrlSet("N");
-
- ds_main_kcd4minfo_info.setColumn( 0, "indxcd", ds_hidden_condition.getColumn(0, "selectedIndx"));
- 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_kcd4minfo_info.setColumn( 0, "kcd4mfromdate", fromdd.getDateFormat());
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromtime", ds_init.getColumn(0, "curruntTime"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodate", "99991231");
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtotime", "2359");
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdd", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdate"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodd", ds_main_kcd4minfo_info.getColumn(0, "kcd4mtodate"));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstdate", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromdate"));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgsttime", ds_main_kcd4minfo_info.getColumn(0, "kcd4mfromtime"));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstdt", dsf_getColumnNullToEmpty(ds_main_kcd4minfo_info, 0, "kcd4mfromdate")+dsf_getColumnNullToEmpty(ds_main_kcd4minfo_info, 0, "kcd4mfromtime")+"00");
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstrid", sysf_getUserId());
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 이력 선택
- ****************************************************************************************/
- function fGetKCD4MHistList(){
- var iRow = ds_main_kcd4mhist_list.rowposition;
- ds_hidden_condition.setColumn( 0, "rowcnt", iRow);
- var kcd4mfromdd = ds_main_kcd4mhist_list.getColumn(iRow, "kcd4mfromdd");
- var kcd4mtodd = ds_main_kcd4mhist_list.getColumn(iRow, "kcd4mtodd");
- var lastupdtdt = ds_main_kcd4mhist_list.getColumn(iRow, "lastupdtdt");
-
- fCtrlSet();
-
- ds_main_kcd4minfo_info.setColumn( 0, "morphlgccd", ds_main_kcd4mhist_list.getColumn(iRow, "morphlgccd")); // 스노메드-dscrpt
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mengnm", ds_main_kcd4mhist_list.getColumn(iRow, "kcd4mengnm")); // 스노메드-cncpt
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mhngnm", ds_main_kcd4mhist_list.getColumn(iRow, "kcd4mhngnm")); // 영문
- ds_main_kcd4minfo_info.setColumn( 0, "indxcd", ds_main_kcd4mhist_list.getColumn(iRow, "indxcd")); // 한글
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdd", kcd4mfromdd);
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdate", kcd4mfromdd.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromtime", kcd4mfromdd.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodd", kcd4mtodd);
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodate", kcd4mtodd.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtotime", kcd4mtodd.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstdate", lastupdtdt.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgsttime", lastupdtdt.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstrid", ds_main_kcd4mhist_list.getColumn(iRow, "lastupdtrnm"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : Tree 선택
- ****************************************************************************************/
- function fSelTreeIndx(){
- var sSelectedMode = ds_hidden_condition.getColumn(0, "selctedmode");
- var iIndx = trv_dgindx.currentrow;
- iIndx = ds_main_indxlist_item.rowposition;
- //trace("iIndx :"+iIndx+'/'+ds_main_indxlist_item.rowposition);
- var selIndxCd = ds_main_indxlist_item.getColumn(iIndx, "indxcd");
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send, "indxuseflag", "string", ds_hidden_condition.getColumn(0, "indxuseflag"));
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- switch(sSelectedMode){
- case 'P' : // 과진단 코드
- dsf_makeValue( ds_send, "deptcd", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"));
- dsf_makeValue( ds_send, "pagesize", "string", pagesize);
- dsf_makeValue( ds_send, "offset", "string", "0");
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- pinfo = 1;
-
- fn_TRMRT00212();
- break;
- default :
- 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 = "TRMRT00202";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetDiagCdInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd ds_main_diagcdinfo_diagcd=diagcd ds_main_diagcdinfo_kcd4m=kcd4m";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00202";
- tranf_submit(oParam);
- if(sSelectedMode == "K"){
- fCtrlSet();
- } else if(sSelectedMode == "D"){
- fDisabled("AS");
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인추가
- ****************************************************************************************/
- function fAddIndx(){
- var selectedmode = ds_hidden_condition.getColumn(0, "selctedmode");
- if(selectedmode != "P"){
- ds_send.clearData();
- dsf_makeValue( ds_send, "paramindx", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- var objArg = new Object();
- objArg.arg_ds_hidden_condition_getdata = ds_send;
- frmf_modal("SMMRT00100", "SMMRT00100", objArg, "", 1, 10, 10, "", "", "", "", "", "M");
- var child = "SPMRT01200";
- if(!utlf_isNull(child)){
- var getVal = frmf_getParameter("setVal");
- // 색인추가후 재조회가 안됨... Edited by 나종천 20080928
- if(getVal == "0" || getVal == "4") {
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
-
- fn_TRMRT00201();
- }
- }
- }else {
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxflag", "string", "0");
- dsf_makeValue( ds_send, "deptcd", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptcd"));
- dsf_makeValue( ds_send, "deptnm", "string", ds_hidden_condition_deptset.getColumn(0, "selecteddeptnm"));
- var objArg = new Object();
- objArg.arg_ds_hidden_condition_getdata = ds_send;
- frmf_modal("SMMRT01300", "SMMRT01300", objArg, "", 1, 10, 10, "", "", "", "", "", "M");
- if(frmf_getParameter("saveyn") == "Y" && !utlf_isNull(ds_hidden_condition_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"));
- fn_TRMRT00210();
-
- if(arErrorCode.pop("TRMRT00210") > -1) {
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- ds_hidden_condition.setColumn( 0, "selectedIndx","");
- }
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 언어 변경
- ****************************************************************************************/
- function fChngLangIndx(){
- var selectedmode = ds_hidden_condition.getColumn(0, "selctedmode");
- if(selectedmode != "P"){
- ds_send.clearData();
- dsf_makeValue( ds_send, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- dsf_makeValue( ds_send, "mode", "string", ds_hidden_condition.getColumn(0, "indxviewmode"));
- dsf_makeValue( ds_send, "indxuseflag", "string", ds_hidden_condition.getColumn(0, "indxuseflag"));
- fn_TRMRT00201();
- }
- }
- /*-**************************************************************************************
- * 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_dgindx, 2, "indxhngnm");
- }
-
- trv_dgindx.vscrollbar.pos = ds_main_indxlist_item.findRow("indxcd", ds_hidden_condition.getColumn(0, "srchindxcd"));
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단 선택
- ****************************************************************************************/
- function fSelDeptDiag(){
- btn_addrow.visible = false;
- btn_delrow.visible = false;
- btn_saverow.visible = false;
- btn_modify.visible = false;
- cap_selInst.visible = false;
- cmb_selInst.visible = false;
- switch2.DiagTerm.cap_allinsthist.visible = false;
- switch2.DiagTerm.cmb_allinsthist.visible = false;
- pinfo = 1;
- 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_hidden_condition.setColumn( 0, "indxflag", "0"); // 진단 : 0, 수술 : 9
- ds_main_indxlist_item.clearData();
- ds_main_srcheddiagcdlist_srcheddiagcdinfo.clearData();
- ds_main_deptdiagcdlist_deptdiagcdinfo.clearData();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 진단 용어 선택
- ****************************************************************************************/
- function fSelDiagTerm(){
- var iRow = ds_main_diagcdinfo_diagcd.rowposition;
- if(iRow > -1) {
- switch2.DiagTerm.opt_Hdicd10cd.visible = true;
- switch2.DiagTerm.cmb_icd10cd.visible = false;
- var sameTermMode = ds_hidden_condition.getColumn(0, "sametermmode");
- //2009-03-20 오전 9:12:31 강지훈 수정 : 기관별 사용 이력조회에서는 신규입력외의 Operation 금지
- if(sameTermMode != "H"){
- switch2.DiagTerm.btn_delete2.enable = true;
- }
-
- fDisabled("AS");
- if( !utlf_isNull(iRow) ) {
- ds_hidden_condition.setColumn( 0, "status", "");
- var diagAttr = ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrcd");
- var term = ds_main_diagcdinfo_diagcd.getColumn(iRow, "termcd");
- var icd10cd = term.split(".")[0];
- var diagattrcd = term.split(".")[1];
- var termcd = term.split(".")[2];
- ds_hidden_condition.setColumn( 0, "selectedtermcd" , term);
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd" , icd10cd); //ICD10
- ds_main_peprterminfo_info.setColumn( 0, "diagattrcd" , diagattrcd); // 확장코드
- ds_main_peprterminfo_info.setColumn( 0, "termcd" , termcd); // 대표어(동의어)코드
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptid", ds_main_diagcdinfo_diagcd.getColumn(iRow, "snmdcnptid")); // 스노메드-cnpt id
- ds_main_peprterminfo_info.setColumn( 0, "snmdcnptnm", ds_main_diagcdinfo_diagcd.getColumn(iRow, "snmdcnptnm")); // 스노메드-cncpt 명
- ds_main_peprterminfo_info.setColumn( 0, "snmddescid", ds_main_diagcdinfo_diagcd.getColumn(iRow, "snmddescid")); // 스노메드-dscrpt
- ds_main_peprterminfo_info.setColumn( 0, "umlscd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "umlscd")); // UMLS코드
- ds_main_peprterminfo_info.setColumn( 0, "termengnm", ds_main_diagcdinfo_diagcd.getColumn(iRow, "termengnm")); // 영문
- ds_main_peprterminfo_info.setColumn( 0, "termhngnm", ds_main_diagcdinfo_diagcd.getColumn(iRow, "termhngnm")); // 한글
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "reprflag")); // 대표어구분
- ds_main_peprterminfo_info.setColumn( 0, "termflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "termflag")); // 용어구분
- ds_main_peprterminfo_info.setColumn( 0, "lglydisflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "lglydisflag")); // 법정전염병
- ds_main_peprterminfo_info.setColumn( 0, "chrncsickyn", ds_main_diagcdinfo_diagcd.getColumn(iRow, "chrncsickyn")); // 만성질환
- ds_main_peprterminfo_info.setColumn( 0, "estmexptyn", ds_main_diagcdinfo_diagcd.getColumn(iRow, "estmexptyn")); // 산정특례
- ds_main_peprterminfo_info.setColumn( 0, "serdiagclsyn", ds_main_diagcdinfo_diagcd.getColumn(iRow, "serdiagclsyn")); // 중증도분류
- ds_main_peprterminfo_info.setColumn( 0, "ageflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "ageflag")); // 연령별 구분
- ds_main_peprterminfo_info.setColumn( 0, "manwomflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "manwomflag")); // 남여구분
- ds_main_peprterminfo_info.setColumn( 0, "cncryn", ds_main_diagcdinfo_diagcd.getColumn(iRow, "cncryn")); // 남여구분
- ds_main_peprterminfo_info.setColumn( 0, "diagattrdrindxcd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrdrindxcd")); // 의사색인
- ds_main_peprterminfo_info.setColumn( 0, "diagattrmedireccd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrmedireccd")); // 의무기록색인
- ds_main_peprterminfo_info.setColumn( 0, "diagattrverflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrverflag")); // 버전
- ds_main_peprterminfo_info.setColumn( 0, "fstrgstrid", ds_main_diagcdinfo_diagcd.getColumn(iRow, "lastupdtrnm")); // 최종등록자
- ds_main_peprterminfo_info.setColumn( 0, "attrfromdd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "attrfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "attrtodd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "attrtodd"));
- ds_main_peprterminfo_info.setColumn( 0, "icdfromdd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "icdfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "alttermcd", ds_main_diagcdinfo_diagcd.getColumn(iRow, "alttermcd"));
- ds_main_peprterminfo_info.setColumn( 0, "essntermflag", ds_main_diagcdinfo_diagcd.getColumn(iRow, "essntermflag"));
- var fstrgstdt = ds_main_diagcdinfo_diagcd.getColumn(iRow, "fstrgstdt");
- var termfromdd = ds_main_diagcdinfo_diagcd.getColumn(iRow, "termfromdd");
- var termtodd = ds_main_diagcdinfo_diagcd.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);
- //2009-04-28 오후 3:21:38 강지훈 수정 : 중앙이 아닌 기관일경우 확장,용어코드가 000.00인것은 수정불가처리, 기관별사용이력조회일때도 불가
- var maininstyn = ds_hidden_condition.getColumn(0, "maininstyn");
- if(sameTermMode != "H") {
- if(maininstyn == "N" && diagattrcd == "999" && termcd == "99") {
- switch2.DiagTerm.btn_modify1.enable = false;
- } else {
- switch2.DiagTerm.btn_modify1.enable = true;
- }
- } else {
- switch2.DiagTerm.btn_modify1.enable = false;
- }
- ds_send.clearData();
- dsf_makeValue( ds_send, "diagattrcd", "string", ds_main_diagcdinfo_diagcd.getColumn(iRow, "diagattrcd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- dsf_makeValue( ds_send, "allinsthist", "string", ds_hidden_condition.getColumn(0, "allinsthist"));
- dsf_makeValue( ds_send, "termcd", "string", term);
- dsf_makeValue( ds_send, "termflag", "string", ds_main_diagcdinfo_diagcd.getColumn(iRow, "termflag"));
- dsf_makeValue( ds_send, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- dsf_makeValue( ds_send, "selInstcd", "string", ds_hidden_condition.getColumn(0, "selInstcd"));
- fn_TRMRT00205();
- ds_main_peprterminfo_info.setColumn( 0, "appinstcd", ds_main_sametermlist_appinstcd.getColumn(0, "appinstcd"));
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : KCD4M 용어 선택
- ****************************************************************************************/
- function fSelKCD4M(){
- var iRow = ds_main_diagcdinfo_kcd4m.rowposition;
- ds_hidden_condition.setColumn( 0, "rowcnt", iRow );
- var kcd4mfromdd = utlf_transNullToEmpty(ds_main_diagcdinfo_kcd4m.getColumn(iRow, "kcd4mfromdd"));
- var kcd4mtodd = utlf_transNullToEmpty(ds_main_diagcdinfo_kcd4m.getColumn(iRow, "kcd4mtodd"));
- var lastupdtdt = utlf_transNullToEmpty(ds_main_diagcdinfo_kcd4m.getColumn(iRow, "lastupdtdt"));
-
- fCtrlSet();
-
- ds_main_kcd4minfo_info.setColumn( 0, "morphlgccd", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "morphlgccd"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mengnm", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "kcd4mengnm"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mhngnm", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "kcd4mhngnm"));
- ds_main_kcd4minfo_info.setColumn( 0, "indxcd", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "indxcd"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mseqno", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "kcd4mseqno"));
- ds_main_kcd4minfo_info.setColumn( 0, "snmdcnptid", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "snmdcnptid"));
- ds_main_kcd4minfo_info.setColumn( 0, "snmdcnptnm", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "snmdcnptnm"));
- ds_main_kcd4minfo_info.setColumn( 0, "version", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "version"));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdd", kcd4mfromdd);
- ds_main_kcd4minfo_info.setColumn( 0, "oldkcd4mfromdd", kcd4mfromdd);
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromdate", kcd4mfromdd.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mfromtime", kcd4mfromdd.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodd", kcd4mtodd);
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtodate", kcd4mtodd.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "kcd4mtotime", kcd4mtodd.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstdate", lastupdtdt.substr(0,8));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgsttime", lastupdtdt.substr(8,4));
- ds_main_kcd4minfo_info.setColumn( 0, "fstrgstrid", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "lastupdtrnm"));
- ds_hidden_condition.setColumn( 0, "sametermmode", "N");
- ds_send.clearData();
- dsf_makeValue( ds_send, "morphlgccd", "string", ds_main_diagcdinfo_kcd4m.getColumn(iRow, "morphlgccd"));
- dsf_makeValue( ds_send, "sametermmode", "string", ds_hidden_condition.getColumn(0, "sametermmode"));
- var oParam = {};
- oParam.id = "TRMRT00213";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetHistTerm";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_kcd4mhist_list=list";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00213";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단추가 리스트 선택(사용안함 전체체크박스로 대체)
- ****************************************************************************************/
- function fSelAddDiagList(){
- // if(ds_main_srcheddiagcdlist_srcheddiagcdinfo.rowposition == -1){
- // var sRowCnt = ds_main_srcheddiagcdlist_srcheddiagcdinfo.rowcount;
- // var sCheck = ds_main_srcheddiagcdlist_srcheddiagcdinfo.getColumn(0, "check");
- // if(sCheck == "Y"){
- // for(var iRow = 0; iRow < sRowCnt; iRow++){
- // ds_main_srcheddiagcdlist_srcheddiagcdinfo.setColumn( iRow , "check", "N");
- // }
- // }else{
- // for(var iRow = 0; iRow < sRowCnt; iRow++){
- // ds_main_srcheddiagcdlist_srcheddiagcdinfo.setColumn( iRow , "check", "Y");
- // }
- // }
- // }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 과진단 용어 삭제
- ****************************************************************************************/
- function fDelDeptDiagTerm(){
- var iRow = ds_main_deptdiagcdlist_deptdiagcdinfo.rowposition;
- if(iRow < 0){
- return;
- }
- if(ds_main_deptdiagcdlist_deptdiagcdinfo.getColumn(iRow, "status") == "I"){
- ds_main_deptdiagcdlist_deptdiagcdinfo.deleteRow(iRow);
- }else{
- ds_main_deptdiagcdlist_deptdiagcdinfo.setColumn( iRow , "status","D");
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 진단 용어 신규 등록시 확장코드 생성
- ****************************************************************************************/
- function fGetNewExtCd(){
- //ICD10코드 선택 시, 새로운 확장, 용어코드 및 ICD시작일자 함께 조회
- var iCd = switch2.DiagTerm.cmb_icd10cd.index;
- var selCd = ds_main_icd10cdlist_info.getColumn(iCd, "icd10cd");
- var path = ds_hidden_condition.getColumn(0, "selectedIndxPath");
- ds_hidden_condition.setColumn( 0, "selectedicd10", selCd);
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", selCd);
- ds_send.clearData();
- dsf_makeValue( ds_send, "icd10cd", "string", selCd);
- dsf_createDs("ds_main_temp_icd10info");
- var oParam = {};
- oParam.id = "TRMRT00207";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqGetNewDiagattrcd";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_temp_icd10info=icd10info";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00207";
- tranf_submit(oParam);
- ds_main_peprterminfo_info.setColumn( 0, "icd10cd", ds_main_temp_icd10info.getColumn(0, "icd10cd"));
- ds_main_peprterminfo_info.setColumn( 0, "diagattrcd", ds_main_temp_icd10info.getColumn(0, "diagattrcd"));
- ds_main_peprterminfo_info.setColumn( 0, "termcd", ds_main_temp_icd10info.getColumn(0, "termcd"));
-
- if(utlf_isNull(ds_main_temp_icd10info.getColumn(0, "diagattrmedireccd"))) {
- ds_main_peprterminfo_info.setColumn( 0, "diagattrmedireccd", ds_hidden_condition.getColumn(0, "selectedIndx"));
- } else {
- ds_main_peprterminfo_info.setColumn( 0, "diagattrmedireccd", ds_main_temp_icd10info.getColumn(0, "diagattrmedireccd"));
- }
-
- ds_main_peprterminfo_info.setColumn( 0, "diagattrmedireccd", ds_main_temp_icd10info.getColumn(0, "diagattrmedireccd"));
- var path = ds_hidden_condition.getColumn(0, "selectedIndxPath").split(".");
- ds_main_peprterminfo_info.setColumn( 0, "diagattrdrindxcd", path[path.length-2]);
- ds_main_peprterminfo_info.setColumn( 0, "icdfromdd", ds_main_temp_icd10info.getColumn(0, "icdfromdd"));
- ds_main_peprterminfo_info.setColumn( 0, "reprflag", "R"); //신규모드일때에는 디폴트 R
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : ICD10코드 저장 후 ICD10 재조회
- ****************************************************************************************/
- function fICD10Save(){
- ds_send.clearData();
- var RowCnt = ds_main_diagcdinfo_icd10cd.rowcount;
- dsf_createDs("ds_send_reqdata");
- dsf_createDs("ds_send_reqdata_reqindx");
- var cnt = 0;
- for (var i=0; i<RowCnt; i++) {
- if(ds_main_diagcdinfo_icd10cd.getColumn(i, "state") == "I" || ds_main_diagcdinfo_icd10cd.getColumn(i, "state") == "U" || ds_main_diagcdinfo_icd10cd.getColumn(i, "state") == "D") {
- dsf_makeValue(ds_send_reqdata, "state","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "state"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10cd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10cd"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10drindxcd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10drindxcd"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10medireccd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10medireccd"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10engnm","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10engnm"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10hngnm","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10hngnm"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10seqno","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10seqno"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10fromdd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10fromdd"), cnt);
- dsf_makeValue(ds_send_reqdata, "icd10todd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "icd10todd"), cnt);
- dsf_makeValue(ds_send_reqdata, "fstrgstrid","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "fstrgstrid"), cnt);
- dsf_makeValue(ds_send_reqdata, "lastupdtrid","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "lastupdtrid"), cnt);
- dsf_makeValue(ds_send_reqdata, "oldfromdd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "oldfromdd"), cnt);
- dsf_makeValue(ds_send_reqdata, "oldtodd","string", ds_main_diagcdinfo_icd10cd.getColumn(i, "oldtodd"), cnt);
- cnt++;
- }
- }
- dsf_makeValue( ds_send_reqdata_reqindx, "indxcd", "string", ds_hidden_condition.getColumn(0, "selectedIndx"));
- dsf_makeValue( ds_send_reqdata_reqindx, "indxflag", "string", ds_hidden_condition.getColumn(0, "indxflag"));
- var oParam = {};
- oParam.id = "TXMRT00204";
- oParam.service = "termmngtapp.DiagTermMngt";
- oParam.method = "reqExeICD10";
- oParam.inds = "reqICD10=ds_send_reqdata reqindx=ds_send_reqdata_reqindx";
- oParam.outds = "ds_main_diagcdinfo_icd10cd=icd10cd";
- oParam.async = false;
- //oParam.callback = "cf_TXMRT00204";
- tranf_submit(oParam);
- }
- /*-**************************************************************************************
- * Argument : flag - 선택모드
- * Description : ICD10코드 삭제
- ****************************************************************************************/
- function fDelRow(flag) {
- var iRow = ds_main_diagcdinfo_icd10cd.rowposition;
- var currentTime = utlf_getCurrentTime();
- if(utlf_isNull(ds_main_diagcdinfo_icd10cd.getColumn(iRow, "icd10cd"))) {
- return;
- }
- if(flag == "I") {
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "state", "D");
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "icd10todd", ds_init.getColumn(0, "today"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtdt", ds_init.getColumn(0, "today") + currentTime.substr(0,6));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtrid", ds_init_userinfo.getColumn(0, "userid"));
- }
- }
- /*-**************************************************************************************
- * Argument : flag - 상태구분
- * Description : ICD10코드 수정
- ****************************************************************************************/
- function fEditRow(flag){
- var iRow = ds_main_diagcdinfo_icd10cd.rowposition;
- var currentTime = utlf_getCurrentTime();
- if(utlf_isNull(ds_main_diagcdinfo_icd10cd.getColumn(iRow, "icd10cd"))) {
- return;
- }
- if(flag == "I") {
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "state", "U");
- ds_main_diagcdinfo_icd10cd.setColumn( iRow, "oldfromdd", ds_main_diagcdinfo_icd10cd.getColumn(iRow, "icd10fromdd"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow, "oldtodd", ds_main_diagcdinfo_icd10cd.getColumn(iRow, "icd10todd"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "icd10fromdd", ds_init.getColumn(0, "today"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "icd10todd", "99991231");
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "fstrgstdt", ds_init.getColumn(0, "today") + currentTime.substr(0,6));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "fstrgstrid", ds_init_userinfo.getColumn(0, "userid"));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtdt", ds_init.getColumn(0, "today") + currentTime.substr(0,6));
- ds_main_diagcdinfo_icd10cd.setColumn( iRow , "lastupdtrid", ds_init_userinfo.getColumn(0, "userid"));
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 사용종료 용어 되살리기
- ****************************************************************************************/
- function fRollbackTerm(){
- var icd10cd = ds_main_peprterminfo_info.getColumn(0, "icd10cd");
- var attrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- var termcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- var fullTermcd = icd10cd + "." + attrcd + "." + termcd;
- ds_send.clearData();
- dsf_createDs("ds_send_reqdata");
- ds_send_reqdata.copyData(ds_main_peprterminfo_info);
- ds_send_reqdata.setColumn( 0, "icd10cd", icd10cd);
- ds_send_reqdata.setColumn( 0, "diagattrcd", icd10cd + "." + attrcd);
- ds_send_reqdata.setColumn( 0, "termcd", fullTermcd);
- ds_send_reqdata.setColumn( 0, "termflag", "0");
- 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, "maininstyn", "string", ds_hidden_condition.getColumn(0, "maininstyn"));
- if(termcd == "00"){
- dsf_makeValue( ds_send_reqdata, "status", "string", "ETN");
- dsf_makeValue( ds_send_reqdata, "attrfromdd", "string", ds_init.getColumn(0, "today"));
- dsf_makeValue( ds_send_reqdata, "attrtodd", "string", "99991231");
- } else {
- dsf_makeValue( ds_send_reqdata, "status", "string", "TN");
- }
- fn_TXMRT00201();
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 오른쪽 마우스 팝업 호출
- ****************************************************************************************/
- function fCallPopup(flag){
- if(flag == "switch2.DiagTerm.grd_diagcd"){
- return "pmn_menu1";
- } else if(flag == "trv_dgindx"){
- if(utlf_isNull(ds_main_indxlist_item.getColumn(ds_main_indxlist_item.rowposition, "indxcd"))){
- return null;
- }
- return "pmn_menu2";
- } else if(flag == "switch2.KCD4M.grd_kcd4minfo"){
- return "pmn_menu1";
- } else {
- return null;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 변경 처리
- ****************************************************************************************/
- function fModifyIndx(){
- var selTab = ds_hidden_condition.getColumn(0, "selctedmode");
- if(selTab == "D"){
- dsf_createDs("ds_hidden_reqdata_diagindxlist");
- dsf_copyColInfo(ds_hidden_reqdata_diagindxlist, ds_main_diagcdinfo_diagcd);
- var selectedRows = grdf_getSelectedRows(switch2.DiagTerm.grd_diagcd);
- for(var cnt = 0; cnt < selectedRows.length; cnt++){
- ds_hidden_reqdata_diagindxlist.copyRow(ds_hidden_reqdata_diagindxlist.addRow(), ds_main_diagcdinfo_diagcd, selectedRows[cnt]);
- }
- } else if(selTab == "K"){
- dsf_createDs("ds_hidden_reqdata_kcd4mindxlist");
- dsf_copyColInfo(ds_hidden_reqdata_kcd4mindxlist, ds_main_diagcdinfo_kcd4m);
- var selectedRows = grdf_getSelectedRows(switch2.KCD4M.grd_kcd4minfo);
- for(var cnt = 0; cnt < selectedRows.length; cnt++){
- ds_hidden_reqdata_kcd4mindxlist.copyRow(ds_hidden_reqdata_kcd4mindxlist.addRow(), ds_main_diagcdinfo_kcd4m, selectedRows[cnt]);
- }
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 색인 변경 처리
- ****************************************************************************************/
- function fPasteIndx(){
- var selTab = ds_hidden_condition.getColumn(0, "selctedmode");
- var iIndx = trv_dgindx.currentrow;
- var selIndxCd = ds_main_indxlist_item.getColumn(iIndx, "indxcd");
- var selIndxDrdiflag = ds_main_indxlist_item.getColumn(iIndx, "indxdrdiflag");
- var msg = sysf_messageBox("색인을", "Q012");
- if(msg == "7"){
- return;
- }
- dsf_createDs("ds_send_reqdata_chnginfo");
- switch(selTab){
- case "D":
- dsf_createDs("ds_send_reqdata_diagindxlist");
- ds_send_reqdata_diagindxlist.copyData(ds_hidden_reqdata_diagindxlist);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxdrdiflag", "string", selIndxDrdiflag);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxflag", "string", selTab);
- if(msg == "6"){
- fn_TXMRT00205();
-
- if(arErrorCode.pop("TXMRT00205") > -1){
- sysf_messageBox("색인 변경이","I001");
- } else {
- sysf_messageBox("색인 변경을","E009");
- }
- }
- break;
- case "K":
- dsf_createDs("ds_send_reqdata_kcd4mindxlist");
- ds_send_reqdata_kcd4mindxlist.copyData(ds_hidden_reqdata_kcd4mindxlist);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxcd", "string", selIndxCd);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxdrdiflag", "string", selIndxDrdiflag);
- dsf_makeValue( ds_send_reqdata_chnginfo, "indxflag", "string", selTab);
- if(msg == "6"){
- fn_TXMRT00205();
- if(arErrorCode.pop("TXMRT00205") > -1){
- sysf_messageBox("색인 변경이","I001");
- } else {
- sysf_messageBox("색인 변경을","E009");
- }
- }
- break;
- }
-
- ds_send_reqdata_chnginfo.clearData();
- ds_send_reqdata_diagindxlist.clearData();
- ds_send_reqdata_kcd4mindxlist.clearData();
- ds_hidden_reqdata_diagindxlist.clearData();
- ds_hidden_reqdata_kcd4mindxlist.clearData();
- }
- /*-**************************************************************************************
- * Argument : refds - 리턴데이터셋
- * : refcol - 리턴컬럼
- * : return true/false
- * Description : 대체코드 검색
- ****************************************************************************************/
- function fCallTermSrch(refds, refcol){
- var alttermcd = ds_main_peprterminfo_info.getColumn(0, "alttermcd");
- var curr_date = ds_init.getColumn(0, "today");
- ds_temp_terminfo_altterminfo.clearData();
- frmf_setParameter("SPMRT01500_param_nodepath", "ds_temp_terminfo_altterminfo");
- frmf_setParameter("SPMRT01500_SEARCHDATA", alttermcd);
- frmf_setParameter("SPMRT01500_FLAG", "1");
- frmf_setParameter("stndd", curr_date);
- frmf_setParameter("maininstyn", "Y");
- frmf_modal("SPMRT01500", "SPMRT01500", "", "", "", "", "", "", "", "", "", "", "M"); //용어검색
- if(utlf_isNull(frmf_getParameter("SPMRT01500_FLAG"))) {
- return;
- }
- if(ds_temp_terminfo_altterminfo.rowcount > 0){
- this.objects[refds].setColumn(0, refcol, ds_temp_terminfo_altterminfo.getColumn(0, "diagcd"));
- return true;
- } else {
- return false;
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 기관별 용어 사용여부 설정
- ****************************************************************************************/
- function fTermUseSave(){
- ds_send.clearData();
- var RowCnt = ds_main_diagcdinfo_icd10cd.rowcount;
- var dsUpdate = grdf_getGridUpdateData(switch2.DiagTerm.grd_diagcd, "all");
- grdf_setStatusColumn(dsUpdate, "status");
- dsf_createDs("ds_send_termuse");
- 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 : 스크롤 페이지단위 조회
- ****************************************************************************************/
- var pinfo = 1;
- var pagesize = 10000;
- function fSubmitOnScroll() {
- if(ds_main_deptdiagcdlist_deptdiagcdinfo.rowcount < eval(pinfo*pagesize)) return;
-
- ds_send.clearData();
- dsf_makeValue( ds_send, "pagesize", "string", pagesize);
- dsf_makeValue( ds_send, "offset", "string", ds_main_deptdiagcdlist_deptdiagcdinfo.rowcount);
- fn_TRMRT00212();
- pinfo += 1;
- switch2.case_DeptDiag.grd_deptdiag.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
- }
- ////////////////////////////////////////////////SMMRT00200.xjs////////////////////////////////////////////////
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMRT00200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(switch2.case_DeptDiag.grd_srcheddiaginfo);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
-
- switch2.tabindex = 1;
- fInitalize();
-
- frmf_createPopupMenuDs("pmn_menu1", "pmn_menu_onmenuclick", ds_init_func_mouserght);
- frmf_createPopupMenuDs("pmn_menu2", "pmn_menu_onmenuclick", ds_init_func_trvmouserght);
- }
- // ds에 생성된 id별 함수 실행
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 동의어등 선택
- ****************************************************************************************/
- function switch2_DiagTerm_grd_termlist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- var termmode = ds_hidden_condition.getColumn(0, "sametermmode");
- if(termmode != "H"){
- fGetSynom();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 기관변경
- ****************************************************************************************/
- function switch2_DiagTerm_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 : Combo
- * Description : ICD10코드 변경
- ****************************************************************************************/
- function switch2_DiagTerm_cmb_icd10cd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- fGetNewExtCd();
- }
- // function switch2_DiagTerm_button27_onclick(obj:Button, e:ClickEventInfo) {
- //
- // var selTermcd = ds_hidden_condition.getColumn(0, "selectedtermcd");
- //
- // if(selTermcd == "" || selTermcd == null){
- // var rtn = sysf_messageBox("ICD10 코드를 ", "C002");
- // return;
- // }
- // ds_hidden_condition.setColumn( 0, "status", "M");
- // switch2.DiagTerm.btn_delete2.enable = false;
- //
- // 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, "termfromdate", ds_init.getColumn(0, "today"));
- // ds_main_peprterminfo_info.setColumn( 0, "termfromtime", ds_init.getColumn(0, "curruntTime"));
- // ds_main_peprterminfo_info.setColumn( 0, "termtodate", "99991231");
- // ds_main_peprterminfo_info.setColumn( 0, "termtotime", "2359");
- //
- // 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", ds_main_peprterminfo_info.getColumn(0, "termfromdate")+ds_main_peprterminfo_info.getColumn(0, "termfromtime")+"00");
- // ds_main_peprterminfo_info.setColumn( 0, "termtodd", ds_main_peprterminfo_info.getColumn(0, "termtodate")+ds_main_peprterminfo_info.getColumn(0, "termtotime")+"59");
- //
- // }
- //
- // function switch2_DiagTerm_button30_onclick(obj:Button, e:ClickEventInfo) {
- //
- // //동의어 수정
- // var iRow = switch2.DiagTerm.grd_termlist.row;
- // var term = ds_main_sametermlist_info.getColumn(iRow, "termcd")); //그리드에서 선택한 term
- // var indx = ds_hidden_condition.getColumn(0, "selectedIndx"); //트리에서 선택한 index
- //
- // if(term == "" || term == null){
- // var rtn = sysf_messageBox("대표어_동의어_유사어를 ", "C002");
- // return;
- // }
- //
- // switch2.DiagTerm.opt_Hdicd10cd.visible = "true";
- // switch2.DiagTerm.cmb_icd10cd.visible = "false";
- // switch2.DiagTerm.btn_delete2.enable = false;
- //
- // ds_hidden_condition.setColumn( 0, "status", "TM"); //term 만 modify
- // 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, "termfromdate", ds_init.getColumn(0, "today"));
- // ds_main_peprterminfo_info.setColumn( 0, "termfromtime", ds_init.getColumn(0, "curruntTime"));
- // ds_main_peprterminfo_info.setColumn( 0, "termtodate", "99991231");
- // ds_main_peprterminfo_info.setColumn( 0, "termtotime", "2359");
- //
- // 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", ds_main_peprterminfo_info.getColumn(0, "termfromdate")+ds_main_peprterminfo_info.getColumn(0, "termfromtime")+"00");
- // ds_main_peprterminfo_info.setColumn( 0, "termtodd", ds_main_peprterminfo_info.getColumn(0, "termtodate")+ds_main_peprterminfo_info.getColumn(0, "termtotime")+"59");
- //
- // }
- //
- // function switch2_DiagTerm_btn_delete1_onclick(obj:Button, e:ClickEventInfo) {
- //
- // var selTermcd = ds_hidden_condition.getColumn(0, "selectedtermcd");
- // var insICD10cd = ds_main_peprterminfo_info.getColumn(0, "icd10cd");
- // var insdiagattrcd = ds_main_peprterminfo_info.getColumn(0, "diagattrcd");
- // var insTermcd = ds_main_peprterminfo_info.getColumn(0, "termcd");
- // var fullTermCode = insICD10cd + "." + insdiagattrcd + "." + insTermcd;
- // var rowCnt = switch2.DiagTerm.grd_diagcd.rows;
- // var sameTerm = ds_main_sametermlist_info.getColumn(0, "termcd");
- // if(selTermcd == "" || selTermcd == null){
- // var rtn = sysf_messageBox("진단용어를 ", "C002");
- // return;
- // }
- //
- // var rtn = sysf_messageBox("확장코드와 함께 대표어_동의어_유사어를", "Q001");
- //
- // if( rtn == "6") { //확장코드 + 대표어, 동이어, 유사어 모두 삭제 : sysf_messageBox("확장코드와 모든 용어들을 삭제하려면 ", "S001");
- // ds_hidden_condition.setColumn( 0, "status", "ETD");
- // } else if( rtn == "7") { //대표어만 삭제하려면
- // sysf_messageBox("용어의 수정 및 삭제는 '동의어_유사어'에서 ", "C002"); //동의어, 유사어가 있을 경우 대표어로 바꿀 것을 입력받아야 한다
- // return;
- // }
- //
- // ds_send.clearData();
- //
- // dsf_makeValue( ds_send, "indxcd", "string", "");
- // dsf_makeValue( ds_send, "icd10cd", "string", "");
- // dsf_makeValue( ds_send, "diagattrcd", "string", "");
- // dsf_makeValue( ds_send, "termcd", "string", "");
- // dsf_makeValue( ds_send, "status", "string", "");
- //
- // ds_send.setColumn( 0, "indxcd", ds_hidden_condition.getColumn(0, "selectedIndx"));
- // ds_send.setColumn( 0, "icd10cd", insICD10cd);
- // ds_send.setColumn( 0, "diagattrcd", insICD10cd + "." + insdiagattrcd);
- // ds_send.setColumn( 0, "termcd", insICD10cd + "." + insdiagattrcd + "." + insTermcd);
- // ds_send.setColumn( 0, "status", ds_hidden_condition.getColumn(0, "status")); //N:등록, M:수정, D:삭제
- //
- // fn_TXMRT00201();
- //
- // fCntlReset("diag");
- // }
- /****************************************************************************************
- * Components : Button
- * Description : 사용종료
- ****************************************************************************************/
- function switch2_DiagTerm_btn_delete2_onclick(obj:Button, e:ClickEventInfo) {
- fEndDiagTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 신규입력
- ****************************************************************************************/
- function switch2_DiagTerm_button26_onclick(obj:Button, e:ClickEventInfo) {
- fSetNewTerm();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 진단용어 선택
- ****************************************************************************************/
- function switch2_DiagTerm_grd_diagcd_oncellclick(obj:Grid, e:GridClickEventInfo) {
- //switch2.DiagTerm.chk_appinst.setCheckAll(false, false);
- if(e.col != 1){
- fSelDiagTerm();
- }
- else{
- var termuseyn = ds_main_diagcdinfo_diagcd.getColumn(e.row, "termuseyn");
- var essntermflag = ds_main_diagcdinfo_diagcd.getColumn(e.row, "essntermflag");
- if(termuseyn == "N"){
- if(essntermflag == "Y"){
- sysf_messageBox("필수 사용 용어 ", "E008");
- ds_main_diagcdinfo_diagcd.setColumn( e.row, "termuseyn", "Y");
- }
- }
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정
- ****************************************************************************************/
- function switch2_DiagTerm_btn_modify1_onclick(obj:Button, e:ClickEventInfo) {
- fSetTermUpdt();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 되살리기
- ****************************************************************************************/
- function switch2_DiagTerm_btn_rollback_onclick(obj:Button, e:ClickEventInfo) {
- fRollbackTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 대체코드 검색
- ****************************************************************************************/
- function switch2_DiagTerm_btn_altterm_onclick(obj:Button, e:ClickEventInfo) {
- var ref1 = "ds_main_peprterminfo_info";
- var ref2 = "alttermcd";
- fCallTermSrch(ref1, ref2);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 동의/유사어입력
- ****************************************************************************************/
- function switch2_DiagTerm_btn_sameterm_onclick(obj:Button, e:ClickEventInfo) {
- fSetInj();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function switch2_DiagTerm_btn_termsave_onclick(obj:Button, e:ClickEventInfo) {
- fSaveDiag();
- }
- // function switch2_DiagTerm_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.DiagTerm.chk_appinst.length ; a++){
- // switch2.DiagTerm.chk_appinst.select(a);
- // }
- // }
- //
- // //switch2.DiagTerm.chk_appinst.refresh();
- //
- // }
- //
- // function switch2_DiagTerm_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.DiagTerm.chk_appinst.length ; a++){
- // switch2.DiagTerm.chk_appinst.select(a);
- // }
- // }
- //
- // //switch2.DiagTerm.chk_appinst.refresh();
- //
- // }
- /****************************************************************************************
- * Components : Button
- * Description : ICD-10-M 진단정보 신규
- ****************************************************************************************/
- function switch2_KCD4M_btn_new_onclick(obj:Button, e:ClickEventInfo) {
- fSetNewKCD4M();
- }
- /****************************************************************************************
- * Components : Button
- * Description : ICD-10-M 진단정보 저장
- ****************************************************************************************/
- function switch2_KCD4M_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- fSaveKCD4M();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : Morphology 그리드 선택
- ****************************************************************************************/
- function switch2_KCD4M_grd_kcd4minfo_oncellclick(obj:Grid, e:GridClickEventInfo) {
- fSelKCD4M();
- }
- /****************************************************************************************
- * Components : Button
- * Description : ICD-10-M 진단정보 이력정보 선택
- ****************************************************************************************/
- function switch2_KCD4M_grd_kcd4mhist_oncellclick(obj:Grid, e:GridClickEventInfo) {
- fGetKCD4MHistList();
- }
- /****************************************************************************************
- * Components : Button
- * Description : ICD-10-M 진단정보 사용종료
- ****************************************************************************************/
- function switch2_KCD4M_button4_onclick(obj:Button, e:ClickEventInfo) {
- fEndKCD4M();
- }
- /****************************************************************************************
- * Components : Button
- * Description : ICD-10-M 진단정보 수정
- ****************************************************************************************/
- function switch2_KCD4M_button6_onclick(obj:Button, e:ClickEventInfo) {
- fSetKCD4MUpdt();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과 변경
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_deptsrch_onclick(obj:Button, e:ClickEventInfo) {
- fCallDeptInfo();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 과입력후 조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_ipt_deptnm_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- switch2.case_DeptDiag.btn_deptsrch.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 과진단코드 조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_input4_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- switch2.case_DeptDiag.btn_srchdiag.click();
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 진단추가 선택
- ****************************************************************************************/
- function switch2_case_DeptDiag_grd_srcheddiaginfo_oncellclick(obj:Grid, e:GridClickEventInfo) {
- // fSelAddDiagList();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 진단조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_srchdiag_onclick(obj:Button, e:ClickEventInfo) {
- fSrchDiagInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 위로
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_senddiag_onclick(obj:Button, e:ClickEventInfo) {
- fSendDeptDiag();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과진단코드 조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_srchdeptdiag_onclick(obj:Button, e:ClickEventInfo) {
- fSrchDeptDiagInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과진단코드 저장
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_savedeptdiag_onclick(obj:Button, e:ClickEventInfo) {
- fSaveDeptDiagInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 전체진단조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_srchextndiag_onclick(obj:Button, e:ClickEventInfo) {
- fCallExtnDiagInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 과진단코드 삭제
- ****************************************************************************************/
- function switch2_case_DeptDiag_btn_deldeptdiag_onclick(obj:Button, e:ClickEventInfo) {
- fDelDeptDiagTerm();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 엑셀저장
- ****************************************************************************************/
- function button15_onclick(obj:Button, e:ClickEventInfo) {
- switch(switch2.tabindex){
- case 0:
- if( switch2.ICD10CD.grd_icd10.rowcount > 0 ){
- grdf_exportExcel(switch2.ICD10CD.grd_icd10, "Excel", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- case 1:
- if( switch2.DiagTerm.grd_diagcd.rowcount > 0 ){
- grdf_exportExcel(switch2.DiagTerm.grd_diagcd, "Excel", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- case 2:
- if( switch2.case_DeptDiag.grd_deptdiag.rowcount > 0 ){
- grdf_exportExcel(switch2.case_DeptDiag.grd_deptdiag, "Excel", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- case 3:
- if( switch2.KCD4M.grd_kcd4minfo.rowcount > 0 ){
- grdf_exportExcel(switch2.KCD4M.grd_kcd4minfo, "Excel", "SheetName", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- break;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function btn_saverow_onclick(obj:Button, e:ClickEventInfo) {
- var flag = ds_hidden_condition.getColumn(0, "selctedmode");
- if(flag == "D"){
- fTermUseSave();
- }
- else{
- fICD10Save();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력 후 엔터로 조회
- ****************************************************************************************/
- function input5_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- btn_srchtermcd.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 줄추가
- ****************************************************************************************/
- function btn_addrow_onclick(obj:Button, e:ClickEventInfo) {
- var flag = ds_hidden_condition.getColumn(0, "selctedmode");
- fAddRow(flag);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 줄삭제
- ****************************************************************************************/
- function btn_delrow_onclick(obj:Button, e:ClickEventInfo) {
- var flag = ds_hidden_condition.getColumn(0, "selctedmode");
- fDelRow(flag);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 색인추가
- ****************************************************************************************/
- function button22_onclick(obj:Button, e:ClickEventInfo) {
- fAddIndx();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 색인선택
- ****************************************************************************************/
- function trv_dgindx_oncellclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row < 0) return;
- ds_hidden_condition.setColumn(0, "selectedIndx", ds_main_indxlist_item.getColumn(e.row, "indxcd"));
- fSelTreeIndx();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 마우스 우클릭 팝업메뉴 오픈
- ****************************************************************************************/
- function trv_dgindx_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1 && (ds_hidden_condition.getColumn(0, "selctedmode") == "D" || ds_hidden_condition.getColumn(0, "selctedmode") == "K")){
- var pmnMenu = fCallPopup("trv_dgindx");
- if(!utlf_isNull(pmnMenu)) {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- eval(pmnMenu).trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Radio
- * Description : 한글명 영문명 선택
- ****************************************************************************************/
- function radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
- fChngLangIndx();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 코드 입력 후 조회
- ****************************************************************************************/
- function input10_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) {
- fSrchDiagTerm();
- }
- /****************************************************************************************
- * 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;
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Description : ASIS선택
- ****************************************************************************************/
- function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo) {
- if(obj.value == false) ds_hidden_condition.setColumn(0, "indxuseflag", "");
- fChngLangIndx();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정
- ****************************************************************************************/
- function btn_modify_onclick(obj:Button, e:ClickEventInfo) {
- var flag = ds_hidden_condition.getColumn(0, "selctedmode");
- fEditRow(flag);
- }
- /****************************************************************************************
- * Components : Tab
- * Description : tab버튼 선택시 함수 실행
- ****************************************************************************************/
- function switch2_onlbuttonup(obj:Tab, e:TabMouseEventInfo)
- {
- if(e.fromreferenceobject.name == "switch2"){
- var sIdx = obj.getIndex(e.clientX, e.canvasY);
- if( sIdx != -1){
- lf_switch2_change();
- }
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 진단용어 우클릭 팝업
- ****************************************************************************************/
- function switch2_DiagTerm_grd_diagcd_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1) {
- var pmnMenu = fCallPopup("switch2.DiagTerm.grd_diagcd");
- if(!utlf_isNull(pmnMenu)) {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- eval(pmnMenu).trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 일자변경시 처리
- ****************************************************************************************/
- function ds_main_peprterminfo_info_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "termfromdd") {
- if(ds_hidden_condition.getColumn(0, "status") == "ETM"){
- var newfromdd = e.newvalue;
- var oldfromdd = obj.getColumn(0, "oldtermfromdd");
- if(parseInt(newfromdd) < parseInt(oldfromdd)){
- sysf_messageBox("이전 일자를 선택", "E001");
- return;
- }
- }
- obj.setColumn(0, "attrfromdd", e.newvalue);
- }
- if(e.columnid == "termtodd") {
- obj.setColumn(0, "attrtodd", e.newvalue);
- }
- if(e.columnid == "essntermflag") {
- var essntermflag = e.newvalue;
- if(essntermflag == "Y"){
- switch2.DiagTerm.chk_appinst.setCheckAll(true);
- }
- }
- if(e.columnid == "appinstcd") {
- switch2.DiagTerm.chk_appinst.setData(String(e.newvalue).split("▦"),null,false);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 탭버튼 선택
- ****************************************************************************************/
- function switch2_DiagTerm_grp_tabbtn_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- misfTabBtnChange(switch2.DiagTerm.grp_tabbtn, obj);
- fGetSynomList();
- }
- function switch2_DiagTerm_grp_tabbtn_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- misfTabBtnChange(switch2.DiagTerm.grp_tabbtn, obj);
- fGetDiagTermHistList();
- }
- function switch2_DiagTerm_grp_tabbtn_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- misfTabBtnChange(switch2.DiagTerm.grp_tabbtn, obj);
- fGetDiagInstTermHistList();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 과진단정보 스크롤 로 조회
- ****************************************************************************************/
- function switch2_case_DeptDiag_grd_deptdiag_onvtracklast(obj:Grid, e:ScrollEventInfo)
- {
- fSubmitOnScroll();
- }
- function ds_main_srcheddiagcdlist_srcheddiagcdinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="check") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function switch2_KCD4M_grd_kcd4minfo_onvtracklast(obj:Grid, e:ScrollEventInfo)
- {
- // fSubmitOnScroll();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 우클릭 팝업메뉴 오픈
- ****************************************************************************************/
- function switch2_KCD4M_grd_kcd4minfo_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1) {
- var pmnMenu = fCallPopup("switch2.KCD4M.grd_kcd4minfo");
- if(!utlf_isNull(pmnMenu)) {
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- eval(pmnMenu).trackPopup(e.screenX,e.screenY);
- }
- }
-
- return true;
- }
- ]]></Script>
- </Form>
- </FDL>
|